CN102982260A - Linux operation system and verification method for installing serial number thereof - Google Patents

Linux operation system and verification method for installing serial number thereof Download PDF

Info

Publication number
CN102982260A
CN102982260A CN201210451296XA CN201210451296A CN102982260A CN 102982260 A CN102982260 A CN 102982260A CN 201210451296X A CN201210451296X A CN 201210451296XA CN 201210451296 A CN201210451296 A CN 201210451296A CN 102982260 A CN102982260 A CN 102982260A
Authority
CN
China
Prior art keywords
user
operating system
firstboot
time
sequence number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210451296XA
Other languages
Chinese (zh)
Other versions
CN102982260B (en
Inventor
吴海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Standard Software Co Ltd
Original Assignee
China Standard Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Standard Software Co Ltd filed Critical China Standard Software Co Ltd
Priority to CN201210451296.XA priority Critical patent/CN102982260B/en
Publication of CN102982260A publication Critical patent/CN102982260A/en
Application granted granted Critical
Publication of CN102982260B publication Critical patent/CN102982260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a Linux operation system and a verification method for installing serial numbers of the Linux operation system. The verification method comprises a first processing and a second processing. In the first processing, trial duration is confirmed and the operation system is detected to be beyond the trial duration or not when a user starts the operation system. If the operation system is beyond the trail duration, the second processing is carried out when the user starts again the operation system next time. In the second processing, the user is prompted with information that the operation system is beyond the trail duration through a firstboot interface and guided to decide to continue to try out the operation system or formally register the serial numbers. The verification method fully utilizes the firstboot interface to guide the user to continuously try out the operation system or formally register the serial numbers. A special application interface is not necessary, a use ratio of program code is improved, window code development which is used for hinting the user to input the serial numbers (and/or registered codes, secret codes and the like) or hinting the user that the operation system is disused because of expiration and the like is reduced.

Description

A kind of (SuSE) Linux OS and installation series number verification method thereof
Technical field
The present invention relates to (SuSE) Linux OS, relate in particular to a kind of (SuSE) Linux OS installation series number verification method.
Background technology
Software supplier realizes the copyright discriminating and maintenance of software usually with software sequence number, its Main Function is to be usurped by other people for the software that prevents oneself, protects the intellectual property.Operating system is because it plays the special role of other application software in the bearing system, and its copyright protection seems even more important.
Usually, operating system provider usually issues the trial edition of operating system, and in the setup and use time limit in trial edition, when exceeding term of life, reminding user need to be inputted order software row number.
Yet, in the operating system trial edition of the prior art, the window that needs the Input Software sequence number in order to jump out reminding user, need a large amount of program code by editor, these program codes had both comprised the code of judging whether described operating system exceeds the time limit, also comprise for the code of describing the window that is used for the Input Software sequence number, thereby brought larger workload for the program research staff.
Summary of the invention
One of technical matters to be solved by this invention is that a kind of (SuSE) Linux OS and installation series number verification method thereof that can reduce program code exploitation amount need to be provided.
In order to solve the problems of the technologies described above, the invention provides a kind of installation series number verification method of (SuSE) Linux OS.The method comprises that first processes and the second processing:
Described first processes, and determining the period of time for approval and detect when the user starts described operating system whether described operating system exceeded should the period of time for approval, if exceeded the time limit, then so that carry out described second process when restarting described operating system next time;
In described the second processing, coming prompting user to exceed the information of period of time for approval about described operating system and guide the user by the firstboot interface is the on probation or official registration sequence number of continuation.
Further, can realize that described second processes by the shell script.
Further, described so that when restarting described operating system next time, carry out the described second step of processing and comprise: by/state of etc/sysconfig/firstboot is set to " YES " to be come so that carry out described the second processing when restarting described operating system next time.
Further, it is described by coming prompting user to exceed the information of period of time for approval about described operating system and guide the user to continue on probation or the processing of official registration sequence number further comprises in the firstboot interface: so prompting user closes on probation or the information of official registration sequence number of continuing; When user selection official registration sequence number input operation system sequence number, whether the operating system sequence number that authentication of users is inputted is correct, if it is correct that checking obtains the sequence number of user's input, then so that the user has the formal right to use, in that the user is follow-up when starting the operating system, no longer eject the firstboot interface; When user selection continues when on probation, receive in the firstboot interface that the user arranges by the firstboot interface after every content, continue so that when restarting described operating system next time, carry out described second and process, and start described operating system.
Further, described so that the user has the formal right to use, in that the user is follow-up when starting the operating system, the step that no longer ejects the firstboot interface further comprises: the state of/etc/sysconfig/firstboot is set to " NO "; Remove described first and process, process so that no longer carry out above-mentioned first when starting the operating system later on.
Further, described method also comprises: correct if checking obtains the sequence number of user input, and then remove described first and process, process so that no longer carry out above-mentioned first when starting the operating system later on.
Further, described definite period of time for approval and when the user starts described operating system, detect described operating system whether exceeded should the period of time for approval step comprise: utilize default expiration time and current time to compare to judge whether this operating system has exceeded the period of time for approval.
In addition, the present invention also provides a kind of operating system, and when starting this (SuSE) Linux OS, operation is according to above-mentioned installation series number verification method.
Compared with prior art, one or more embodiment of the present invention can have following advantage:
The present invention takes full advantage of the firstboot interface and guides the user to continue on probation or official registration sequence number, and need not to develop special application interface, improve like this program code utilization factor, reduced the code development that is used for the window that prompting user list entries number (and/or registration code, password etc.) or prompting user stop using because exceeding the time limit etc.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in instructions, claims and accompanying drawing.
Although describe the present invention in connection with some exemplary enforcements and using method hereinafter, it will be appreciated by those skilled in the art that as not being intended to the present invention is limited to these embodiment.Otherwise, be intended to cover all substitutes, correction and the equivalent that are included in the defined spirit of the present invention of appending claims and the scope.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of instructions, jointly is used for explaining the present invention with embodiments of the invention, is not construed as limiting the invention.In the accompanying drawings:
The processing flow chart of performed checking installation series number when Fig. 1 is the operating system that starts after the installation.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, how the application technology means solve technical matters to the present invention whereby, and the implementation procedure of reaching technique effect can fully understand and implements according to this.Need to prove that only otherwise consist of conflict, each embodiment among the present invention and each feature among each embodiment can mutually combine, formed technical scheme is all within protection scope of the present invention.
In addition, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
The user can occurrence sequence number activates the interface when installing and using operating system according to the embodiment of the invention.Activating in the interface generally has " activation " and " trying out " two options, and these two options are can't be simultaneously selecteed, can only alternative.
If being " trying out " option and clicking the Next button of user selection, the then background process on probation of the executive basis embodiment of the invention (hereinafter will describe in detail).If user selection is " activation " option, the user must be in the input text frame list entries number, then click the Next button, then the activation background process of the executive basis embodiment of the invention, with calling sequence number checking interface, the character string of inputting is committed to backstage sequence number checking interface compares.If the match is successful, then the user will obtain the official use of operating system, on the contrary the then relevant error message of prompting.
Given this, the purpose of this invention is to provide a kind of method of (SuSE) Linux OS installation series number checking, the first processing and second that is included in running background is processed.The method adopts small and exquisite, flexibly on probation the and sequence number checking activation of method complete operation system.
Below to be elaborated according to processing in the time limit of the embodiment of the invention.In first processes, determine the period of time for approval and detect whether this operating system exceeded when starting the operating system should the period of time for approval, and if exceeded the time limit, then so that when restarting this operating system next time ejection firstboot interface.The firstboot interface here is the visualization interface that is provided by the firstboot service, this firstboot service is the service that starts when restarting system for the first time after system's installation, can dispose some important system's configuration informations by the firstboot interface prompt that this firstboot service provides, as add the account etc. of a domestic consumer.
More specifically, when logging in system by user, can very important period of time for approval of operation detect son and process, this son is processed and can be utilized default expiration time and current time to compare to judge whether this operating system has exceeded the period of time for approval (step S120).When the user tries out this system for the first time, first process can be with time of this system for the first time on probation with YYYY-MM-DD(such as 2012-07-01) etc. form write in the file, for example be written in the hidden file that is named as .trydate.txt, with default expiration time.In addition, term of validity duration on probation (for example 30 days) or expiration time (such as XXXX XX month XX day) can be written in the file.For example being written to one is named as in the .outdate.txt file.This expiration time be based on this system on probation for the first time time get, can in source program, specify.
Need to prove, also can utilize the information such as login times to judge whether this operating system has exceeded the period of time for approval.That is the mode whether the decision operation system exceeds the period of time for approval can be various.
If comparative result represents that operating system still within valid period trial period, then is left intact, continue start-up system (step S140).If the term of validity is expired, then/state of etc/sysconfig/firstboot is set to " YES " (step S130), and then enters step S140.Like this, when restarting computing machine next time, operating system meeting re invocation firstboot interface, the sequence number that the reminding user input is correct is also finished relevant the setting.
In addition, before the step S120 that time limit detection is processed on probation, also can comprise step S110, state with judgement/etc/sysconfig/firstboot is " NO " or " YES ", if " NO " then enters step S120, otherwise, enter the step S150 that hereinafter will know clearly in detail and reach.
Preferably, this first is processed and to be arranged on one and to run in the application program on operating system backstage.This executable program is placed on/etc/rc.local under.
Below be elaborated to processing according to second of the embodiment of the invention.In second processed, coming prompting user by the firstboot interface was that the user continues on probation or official registration sequence number about information and the guiding that this operating system has exceeded the period of time for approval.Specifically comprise following step S150 to S170.
Step S150 shows the firstboot interface, and is on probation if the user selects to continue by the firstboot interface, then enters step S160, otherwise, enter step S170.
Step S160, when the user selects to continue this operating system on probation by clicking buttons such as " continuing on probation ", receive in the firstboot interface that the user arranges by the firstboot interface after every content, the state of maintenance/etc/sysconfig/firstboot is " YES ", enters step S140 and starts the operating system continuing; Like this, when user's restarting operating systems next time, still can jump out this firstboot the interface is set.
Step S170, when user selection official registration sequence number, whether the operating system sequence number of authentication of users input is correct, if it is correct that checking obtains the sequence number of user's input, then/state of etc/sysconfig/firstboot is set to " NO ", like this so that the user has the formal right to use, and in that the user is follow-up when starting the operating system, all no longer eject firstboot the interface is set.In addition, also can in step S170, will delete or close the processing of step S120 so that the next time of no longer processing of execution in step S120 when starting the operating system.For example, can be used for carry out the first application program of processing or can remove described first by parameters by deletion and process, process so that no longer carry out above-mentioned first when starting the operating system later on.Need to prove, also can in step S140, remove described first and process.
More specifically, when user by selecting " activation " (being the official registration sequence number) when coming input operation system sequence number, system can calling sequence number checking interface.Can verify the multiple result that may input this moment.If there is not list entries number, when namely input frame is empty, when clicking " next step ", can eject wrong window, show that " activation sequence number can not be sky, please input in error message.”。If the sequence numbers of input when clicking " next step ", can eject wrong window, show error message " activation sequence number incorrect, please try again ".If the sequence numbers match of input when clicking " next step ", can normally enter next the installation page is set, after the correct input residue page setup, system can normally login and start.
If it is correct that checking obtains the sequence number of user's input, show that the user has taken sequence number that correct operating system provider provides and by after successfully having activated operating system on the firstboot interface, can move a script that for example is named as validate.sh, the state that this script can be deleted period of time for approval trace routine and general/etc/sysconfig/firstboot is " NO ".
Like this, by judging when operating system restarts if whether the trial period exceed the time limit then to eject the firstboot interface, can take full advantage of the firstboot interface guides the user to continue on probation or official registration sequence number, and need not to develop special application interface, improve like this program code utilization factor, reduced the code development that is used for the window that prompting user list entries number (and/or registration code, password etc.) or prompting user stop using because exceeding the time limit etc.According to embodiments of the invention, as long as by less program code, just can play not only constantly reminding user purchase sequence number effect, but also can avoid the user because again can't the register system causing the effect of heavy losses.In addition, owing to can realize the second above-mentioned processing by the shell script, it is very convenient therefore to implement.
In addition, the present invention also provides a kind of (SuSE) Linux OS, when starting this (SuSE) Linux OS, moves above-mentioned installation series number verification method.
Although the disclosed embodiment of the present invention as above, the embodiment that described content just adopts for the ease of understanding the present invention is not to limit the present invention.Technician in any the technical field of the invention; under the prerequisite that does not break away from the disclosed spirit and scope of the present invention; can do any modification and variation in the details that reaches of implementing in form; but scope of patent protection of the present invention still must be as the criterion with the scope that appending claims was defined.

Claims (8)

1. the installation series number verification method of a (SuSE) Linux OS is characterized in that, comprises that first processes and the second processing:
Described first processes, and determining the period of time for approval and detect when the user starts described operating system whether described operating system exceeded should the period of time for approval, if exceeded the time limit, then so that carry out described second process when restarting described operating system next time;
In described the second processing, coming prompting user to exceed the information of period of time for approval about described operating system and guide the user by the firstboot interface is the on probation or official registration sequence number of continuation.
2. method according to claim 1 is characterized in that, realizes that by the shell script described second processes.
3. method according to claim 1 is characterized in that, and is described so that carry out the described second step of processing comprise when restarting described operating system next time:
By/state of etc/sysconfig/firstboot is set to " YES " to be come so that carry out described the second processing when restarting described operating system next time.
4. each described method in 3 according to claim 1, it is characterized in that, described by coming prompting user to exceed the information of period of time for approval about described operating system and guide the user to continue on probation or the processing of official registration sequence number further comprises in the firstboot interface:
Continue on probation or the information of official registration sequence number so prompting user closes;
When user selection official registration sequence number input operation system sequence number, whether the operating system sequence number that authentication of users is inputted is correct, if it is correct that checking obtains the sequence number of user's input, then so that the user has the formal right to use, in that the user is follow-up when starting the operating system, no longer eject the firstboot interface;
When user selection continues when on probation, receive in the firstboot interface that the user arranges by the firstboot interface after every content, continue so that when restarting described operating system next time, carry out described second and process, and start described operating system.
According to claim 4 in each described method, it is characterized in that described so that the user has the formal right to use, in that the user is follow-up when starting the operating system, the step that no longer ejects the firstboot interface further comprises:
The state of/etc/sysconfig/firstboot is set to " NO ";
Remove described first and process, process so that no longer carry out above-mentioned first when starting the operating system later on.
According to claim 4 in each described method, it is characterized in that, also comprise:
If it is correct that checking obtains the sequence number of user input, then remove described first and process, process so that no longer carry out above-mentioned first when starting the operating system later on.
7. each described method in 3 according to claim 1, it is characterized in that, described definite period of time for approval and when the user starts described operating system, detect described operating system whether exceeded should the period of time for approval step comprise: utilize default expiration time and current time to compare to judge whether this operating system has exceeded the period of time for approval.
8. a (SuSE) Linux OS is characterized in that, when starting this (SuSE) Linux OS, operation is each described installation series number verification method in 7 according to claim 1.
CN201210451296.XA 2012-11-12 2012-11-12 A kind of (SuSE) Linux OS and installation series number verification method thereof Active CN102982260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210451296.XA CN102982260B (en) 2012-11-12 2012-11-12 A kind of (SuSE) Linux OS and installation series number verification method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210451296.XA CN102982260B (en) 2012-11-12 2012-11-12 A kind of (SuSE) Linux OS and installation series number verification method thereof

Publications (2)

Publication Number Publication Date
CN102982260A true CN102982260A (en) 2013-03-20
CN102982260B CN102982260B (en) 2015-09-02

Family

ID=47856268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210451296.XA Active CN102982260B (en) 2012-11-12 2012-11-12 A kind of (SuSE) Linux OS and installation series number verification method thereof

Country Status (1)

Country Link
CN (1) CN102982260B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426960A (en) * 2013-08-29 2015-03-18 腾讯科技(深圳)有限公司 Paid application trying method and device thereof
CN106557682A (en) * 2016-10-28 2017-04-05 无锡海斯凯尔医学技术有限公司 The authority checking method and device of softdog
CN108073792A (en) * 2016-11-10 2018-05-25 中标软件有限公司 A kind of version authorization control system and method under (SuSE) Linux OS
CN109032782A (en) * 2018-07-18 2018-12-18 深圳市创凯智能股份有限公司 Pot life control method, device and the readable storage medium storing program for executing of one interaction machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579479A (en) * 1994-10-03 1996-11-26 Plum Hall Inc. Computer software licensing authentication method and apparatus
CN101382898A (en) * 2007-09-04 2009-03-11 英特尔公司 PRE-OS application program upgrade and permission control
US20090300609A1 (en) * 2008-05-30 2009-12-03 Matt Hicks Combining system blueprints, functional layer, and software bits in parallel development of machines
CN102456111A (en) * 2011-07-12 2012-05-16 中标软件有限公司 Method and system for license control of Linux operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579479A (en) * 1994-10-03 1996-11-26 Plum Hall Inc. Computer software licensing authentication method and apparatus
CN101382898A (en) * 2007-09-04 2009-03-11 英特尔公司 PRE-OS application program upgrade and permission control
US20090300609A1 (en) * 2008-05-30 2009-12-03 Matt Hicks Combining system blueprints, functional layer, and software bits in parallel development of machines
CN102456111A (en) * 2011-07-12 2012-05-16 中标软件有限公司 Method and system for license control of Linux operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FENGBA250: "《百度文库http://wenku.baidu.com/view/8c46afea102de2bd9605887f.html》", 19 June 2012 *
索贝尔: "《Red Hat Linux指南 基础与系统管理篇》", 31 October 2008, 人民邮电出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426960A (en) * 2013-08-29 2015-03-18 腾讯科技(深圳)有限公司 Paid application trying method and device thereof
CN106557682A (en) * 2016-10-28 2017-04-05 无锡海斯凯尔医学技术有限公司 The authority checking method and device of softdog
CN106557682B (en) * 2016-10-28 2019-08-16 无锡海斯凯尔医学技术有限公司 The authority checking method and device of softdog
CN108073792A (en) * 2016-11-10 2018-05-25 中标软件有限公司 A kind of version authorization control system and method under (SuSE) Linux OS
CN108073792B (en) * 2016-11-10 2021-05-28 中标软件有限公司 Version authorization control system and method under Linux operating system
CN109032782A (en) * 2018-07-18 2018-12-18 深圳市创凯智能股份有限公司 Pot life control method, device and the readable storage medium storing program for executing of one interaction machine

Also Published As

Publication number Publication date
CN102982260B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
US10681050B2 (en) Ephemeral applications
CN106156619B (en) Application security protection method and device
CN102281539B (en) Mobile terminal and application program login method thereof
CN106371752B (en) A kind of the virtual key implementation method and device of Android system intelligent terminal
US20070198933A1 (en) Permitting Multiple Tasks Requiring Elevated Rights
CN105573778B (en) Application program starting method and terminal
CN103019687B (en) Methods of exhibiting and device for pop window information
CN102982260A (en) Linux operation system and verification method for installing serial number thereof
CN103336924A (en) Starting lock for mobile terminal application program
US20180004940A1 (en) Method and apparatus for generating dynamic security module
CN103761114A (en) Method and device for loading extensions and/or plugins on browser side
CN102750477B (en) Method and system for controlling closing of terminal
CN103139391A (en) Method and device of permission validating installation or unloading of application program in mobile phone
CN105956191B (en) Data migration method and system
CN110222243B (en) Method, device and storage medium for determining abnormal behavior
US11483304B2 (en) Method for setting password for electronic cigarette, system, storage medium, and electronic cigarette
CN105450666A (en) Login verification method and device
CN105005726A (en) Control method and device for menu item
CN111581630A (en) Computer unlocking method, device, equipment and medium
CN103383719A (en) Method and equipment for uninstalling program
CN109587529B (en) Authorization method and authorization device for television function items
EP3467693B1 (en) Identity verification method and apparatus
CN102005001B (en) Login method, device and system of internet bank
CN102214134A (en) System and method for terminating computer process
CN106156646A (en) A kind of information call method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant