CN102982260B - A kind of (SuSE) Linux OS and installation series number verification method thereof - Google Patents
A kind of (SuSE) Linux OS and installation series number verification method thereof Download PDFInfo
- Publication number
- CN102982260B CN102982260B CN201210451296.XA CN201210451296A CN102982260B CN 102982260 B CN102982260 B CN 102982260B CN 201210451296 A CN201210451296 A CN 201210451296A CN 102982260 B CN102982260 B CN 102982260B
- Authority
- CN
- China
- Prior art keywords
- operating system
- user
- time
- firstboot
- 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.)
- Active
Links
Abstract
The invention discloses a kind of (SuSE) Linux OS and installation series number verification method thereof.The method comprises the first process and the second process.In first process, determine the period of time for approval and detect described operating system when user starts described operating system whether beyond this period of time for approval, if beyond the time limit, then making to perform described second process when next time restarts described operating system; In second process, by firstboot interface point out user about described operating system beyond the period of time for approval information and guide user to continue on probation or official registration sequence number.The present invention makes full use of firstboot interface and continues on probation or official registration sequence number to guide user, and without the need to developing special application interface, improve program code utilization factor, decreasing the code development for the window of pointing out user input sequence number (and/or registration code, password etc.) or prompting user to stop using because exceeding the time limit etc.
Description
Technical field
The present invention relates to (SuSE) Linux OS, particularly relate to a kind of (SuSE) Linux OS installation series number verification method.
Background technology
Software supplier uses software sequence number differentiate to the copyright realizing software and safeguard usually, and its Main Function is to prevent the software of oneself from being usurped by other people, protecting the intellectual property.Operating system plays the special role of other application software in bearing system due to it, and its copyright protection seems even more important.
Usually, operating system provider usually issues the trial edition of operating system, in trial edition, be set using the time limit, and when exceeding term of life, reminding user needs Input Software sequence number.
But, in operating system trial edition of the prior art, the window of Input Software sequence number is needed in order to jump out reminding user, need by editing a large amount of program codes, these program codes had both comprised the code judging whether described operating system exceeds the time limit, also comprise the code for describing the window for Input Software sequence number, thus bring larger workload to program research staff.
Summary of the invention
One of technical matters to be solved by this invention needs to provide a kind of (SuSE) Linux OS and the installation series number verification method thereof that can reduce program code exploitation amount.
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 the first process and the second process:
In described first process, determine the period of time for approval and detect described operating system when user starts described operating system whether beyond this period of time for approval, if beyond the time limit, then making to perform described second process when next time restarts described operating system;
In described second process, by firstboot interface point out user about described operating system beyond the period of time for approval information and guide user to continue on probation or official registration sequence number.
Further, described second process is realized by shell script.
Further, the step making to perform when next time restarts described operating system described second process described in comprises: by will/state of etc/sysconfig/firstboot is set to " YES " make to perform described second when next time restarts described operating system and processes.
Further, described by firstboot interface point out user about described operating system beyond the period of time for approval information and guide user to continue on probation or the process of official registration sequence number comprises further: so prompting user is closed continue on probation or the information of official registration sequence number; When user selects official registration serial number entry operation system serial number, whether the operating system sequence number that authentication of users inputs is correct, if the sequence number that checking obtains user's input is correct, user is then made to have the formal right to use, user is follow-up start the operating system time, no longer eject firstboot interface; When user selects to continue on probation, to receive in the firstboot interface that user arranged by firstboot interface after every content, continue to make to perform described second process when next time restarts described operating system, and start described operating system.
Further, described in make user have the formal right to use, user is follow-up start the operating system time, no longer eject the step at firstboot interface and comprise further: the state of/etc/sysconfig/firstboot is set to " NO "; Remove described first process, when starting the operating system after making, no longer perform above-mentioned first process.
Further, described method also comprises: if the sequence number that checking obtains user's input is correct, then remove described first process, no longer performs above-mentioned first process when starting the operating system after making.
Further, describedly determine the period of time for approval and detect described operating system when user starts described operating system whether to comprise beyond the step of this period of time for approval: utilize the expiration time preset and current time to compare to judge that whether this operating system is beyond the period of time for approval.
In addition, the present invention also provides a kind of operating system, when starting this (SuSE) Linux OS, runs according to above-mentioned installation series number verification method.
Compared with prior art, one or more embodiment of the present invention can have the following advantages by tool:
The present invention makes full use of firstboot interface and continues on probation or official registration sequence number to guide user, and without the need to developing special application interface, which enhancing program code utilization factor, decreasing the code development for the window of pointing out user input sequence number (and/or registration code, password etc.) or prompting user to 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 become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Although the present invention will be described in conjunction with some exemplary enforcements and using method hereinafter, it will be appreciated by those skilled in the art that, for not being intended to, the present invention will be limited to these embodiments.Otherwise, be intended to cover all substitutes be included in spirit of the present invention and scope that appending claims defines, correction and equivalent.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, with embodiments of the invention jointly for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
The processing flow chart of checking installation series number performed when Fig. 1 is the operating system after starting installation.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.It should be noted that, only otherwise form conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
In addition, can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
User, when installing and use the operating system according to the embodiment of the present invention, there will be sequence number and activates interface.Activate in interface and generally have " activation " and " trying out " two options, these two options cannot be selected simultaneously, can only alternative.
If what user selected is " trying out " option and clicks the Next button, then perform the background process on probation (hereinafter will describe in detail) according to the embodiment of the present invention.If what user selected is " activation " option, user must in input text frame list entries number, then the Next button is clicked, then the activation background process according to the embodiment of the present invention is performed, with calling sequence number checking interface, the character string of input is committed to backstage sequence number checking interface and compares.If the match is successful, then user will obtain the official use of operating system, otherwise then points out relevant error message.
Given this, the object of this invention is to provide a kind of method of (SuSE) Linux OS installation series number checking, be included in the first process and second process of running background.The method adopts small and exquisite, flexibly on probation the and sequence number checking activation of method complete operation system.
Be described in detail to according to process in the time limit of the embodiment of the present invention below.In the first process, determine the period of time for approval and with whether detecting this operating system when starting the operating system beyond this period of time for approval, and if beyond the time limit, then make to eject firstboot interface when next time restarts this operating system.Here firstboot interface serves provided visualization interface by firstboot, this firstboot service is the service started when first time restarts system after system installation, serve by this firstboot the firstboot interface prompt provided and can configure some important system set-up information, as added the account etc. of a domestic consumer.
More specifically, when logging in system by user, can run very important period of time for approval and detect son process, this son processes and default expiration time and current time can be utilized to compare to judge that whether this operating system is beyond period of time for approval (step S120).When user tries out this system first time, the time of this system on probation for first time can write in a file with forms such as YYYY-MM-DD (such as 2012-07-01) by the first process, such as being written to one is named as in the hidden file of .trydate.txt, with default expiration time.In addition, term of validity duration (such as 30 days) on probation or expiration time (as XXXX XX month XX day) can be written in file.Such as be written to one to be named as in .outdate.txt file.This expiration time be based on first time this system on probation time get, can specify in source program.
It should be noted that, the information such as login times also can be utilized to judge that whether this operating system is beyond the period of time for approval.That is it can be various for judging whether operating system exceeds the mode of period of time for approval.
If comparative result represents operating system still within valid period trial period, be then left intact, continue start up system (step S140).If the term of validity is expired, then the state of/etc/sysconfig/firstboot is set to " YES " (step S130), and then enters step S140.Like this, upper once restart computing machine in, operating system can re invocation firstboot interface, and reminding user inputs correct sequence number and completes relevant setting.
In addition, before the step S120 detecting son process as the period of time for approval, also step S110 can be comprised, be " NO " or " YES " with the state of judgement/etc/sysconfig/firstboot, if " NO ", then enter step S120, otherwise, enter hereafter by detail in detail and step S150.
Preferably, this first process is arranged on one and runs in the application program on operating system backstage.This executable program is placed on/etc/rc.local under.
Below the second process according to the embodiment of the present invention is described in detail.In the second process, by firstboot interface point out user about this operating system beyond the period of time for approval information and to guide be that user continues on probation or official registration sequence number.Specifically comprise following step S150 to S170.
Step S150, display firstboot interface, if user selects to continue to try out by firstboot interface, then enters step S160, otherwise, enter step S170.
Step S160, when user selects to continue this operating system on probation by clicking buttons such as " continuing on probation ", to receive in the firstboot interface that user arranged by firstboot interface after every content, the state of maintenance/etc/sysconfig/firstboot is " YES ", enters step S140 to continue to start the operating system; Like this, when user's restarting operating systems next time, still can jump out this firstboot and interface is set.
Step S170, when user selects official registration sequence number, whether the operating system sequence number of authentication of users input is correct, if the sequence number that checking obtains user's input is correct, then the state of/etc/sysconfig/firstboot is set to " NO ", make user have the formal right to use like this, and user is follow-up start the operating system time, all no longer eject firstboot interface is set.In addition, also the process of step S120 will can no longer be performed when deleting or close the process of step S120 to make start the operating system next time in step S170.Such as, by deletion for performing the application program of the first process or removing described first process by parameters, above-mentioned first process when starting the operating system after making, is no longer performed.It should be noted that, also can remove described first process in step S140.
More specifically, when user by selecting " activation " (i.e. official registration sequence number) carrys out input operation system serial number, system can calling sequence number checking interface.Now can verify the multiple result that may input.If there is no list entries number, when namely input frame is empty, when clicking " next step ", wrong window can be ejected, display error message " activation sequence number can not be empty, please input ".If the sequence numbers of input, when clicking " next step ", wrong window can be ejected, display error message " activation sequence number incorrect, please try again ".If the sequence numbers match of input, when clicking " next step ", normally can enter next installation and arrange the page, after correct input residue page setup, system can normally log in and start.
If the sequence number that checking obtains user's input is correct, show that user has taken sequence number that correct operating system provider provides and by successful activation on firstboot interface after operating system, can run the script that is such as named as validate.sh, this script can delete period of time for approval trace routine and the state of general/etc/sysconfig/firstboot is " NO ".
Like this, if by judging when operating system restarts whether the trial period exceeds the time limit, eject firstboot interface, firstboot interface can be made full use of and continue on probation or official registration sequence number to guide user, and without the need to developing special application interface, which enhancing program code utilization factor, decreasing the code development for the window of pointing out user input sequence number (and/or registration code, password etc.) or prompting user to 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 can constantly reminding user purchase sequence number effect, but also user can be avoided because of again cannot register system and cause the effect of heavy losses.In addition, owing to can realize the second above-mentioned process by 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, runs above-mentioned installation series number verification method.
Although the embodiment disclosed by the present invention is as above, the embodiment that described content just adopts for the ease of understanding the present invention, and be not used to limit the present invention.Technician in any the technical field of the invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.
Claims (7)
1. an installation series number verification method for (SuSE) Linux OS, is characterized in that, comprises the first process and the second process:
In described first process, determine the period of time for approval and detect described operating system when user starts described operating system whether beyond this period of time for approval, if beyond the time limit, then making to perform described second process when next time restarts described operating system;
In described second process, by firstboot interface point out user about described operating system beyond the period of time for approval information and guide user to continue on probation or official registration sequence number.
2. method according to claim 1, is characterized in that, realizes described second process by shell script.
3. method according to claim 1, is characterized in that, described in make to perform when next time restarts described operating system described second process step comprise:
Described second process is performed when next time restarts described operating system by the state of/etc/sysconfig/firstboot is set to " YES " make.
4. according to the method in any one of claims 1 to 3, it is characterized in that, described by firstboot interface point out user about described operating system beyond the period of time for approval information and guide user to continue on probation or the process of official registration sequence number comprises further:
So prompting user closes the information continuing on probation or official registration sequence number;
When user selects official registration serial number entry operation system serial number, whether the operating system sequence number that authentication of users inputs is correct, if the sequence number that checking obtains user's input is correct, user is then made to have the formal right to use, user is follow-up start the operating system time, no longer eject firstboot interface;
When user selects to continue on probation, to receive in the firstboot interface that user arranged by firstboot interface after every content, continue to make to perform described second process when next time restarts described operating system, and start described operating system.
5. method according to claim 4, is characterized in that, described in make user have the formal right to use, user is follow-up start the operating system time, no longer eject the step at firstboot interface and comprise further:
The state of/etc/sysconfig/firstboot is set to " NO ";
Remove described first process, when starting the operating system after making, no longer perform above-mentioned first process.
6. method according to claim 4, is characterized in that, also comprises:
If the sequence number that checking obtains user's input is correct, then remove described first process, when starting the operating system after making, no longer perform above-mentioned first process.
7. according to the method in any one of claims 1 to 3, it is characterized in that, describedly determine the period of time for approval and detect described operating system when user starts described operating system whether to comprise beyond the step of this period of time for approval: utilize the expiration time preset and current time to compare to judge this behaviour
whether system is beyond the period of time for approval.
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 CN102982260A (en) | 2013-03-20 |
CN102982260B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426960B (en) * | 2013-08-29 | 2019-11-26 | 腾讯科技(深圳)有限公司 | A kind of trial method and device of payment applications |
CN106557682B (en) * | 2016-10-28 | 2019-08-16 | 无锡海斯凯尔医学技术有限公司 | The authority checking method and device of softdog |
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 |
Citations (3)
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 |
CN102456111A (en) * | 2011-07-12 | 2012-05-16 | 中标软件有限公司 | Method and system for license control of Linux operating system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8615758B2 (en) * | 2008-05-30 | 2013-12-24 | Red Hat, Inc. | Combining system blueprints, functional layer, and software bits in parallel development of machines |
-
2012
- 2012-11-12 CN CN201210451296.XA patent/CN102982260B/en active Active
Patent Citations (3)
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 |
CN102456111A (en) * | 2011-07-12 | 2012-05-16 | 中标软件有限公司 | Method and system for license control of Linux operating system |
Non-Patent Citations (2)
Title |
---|
fengba250.RedHat Linux操作系统下常用服务介绍.《百度文库http://wenku.baidu.com/view/8c46afea102de2bd9605887f.html》.2012,全文. * |
索贝尔.3.1 安装Red Hat Linux.《Red Hat Linux指南 基础与系统管理篇》.人民邮电出版社,2008,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN102982260A (en) | 2013-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10681050B2 (en) | Ephemeral applications | |
CN102946599B (en) | Realize method and mobile terminal that application program for mobile terminal is downloaded | |
CN110851114A (en) | Business system development method and device, electronic equipment and storage medium | |
CN102982260B (en) | A kind of (SuSE) Linux OS and installation series number verification method thereof | |
CN105825131B (en) | A kind of computer safety start means of defence based on UEFI | |
US20070016954A1 (en) | Browser security notification | |
US11762979B2 (en) | Management of login information affected by a data breach | |
US9306940B2 (en) | Mitigating risk of account enumeration | |
CN103390130A (en) | Rogue program searching and killing method and device based on cloud security as well as server | |
CN109634659A (en) | Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled | |
CN107766068B (en) | Application system patch installation method and device, computer equipment and storage medium | |
US20210117174A1 (en) | Providing context-based application suggestions | |
CN111581630B (en) | Computer unlocking method, device, equipment and medium | |
CN110837377A (en) | Application program updating method and device, storage medium and electronic equipment | |
CN206133573U (en) | Credible execution systems of software based on ARM framework | |
WO2016180234A1 (en) | Method and apparatus for building secure environment | |
CN110909344B (en) | Control method and device | |
US20180373603A1 (en) | Web Application System and Database Utilization Method Therefor | |
US20210081533A1 (en) | Detection system, detection method, and an update verification method performed by using the detection method | |
KR20150117336A (en) | System and Method for Validating and Installing Application in Android Environment | |
CN110659477A (en) | Anti-flash protection method and system for android device, android device and storage medium | |
CN110472405A (en) | One kind exempting from input type dynamic verification code implementation method | |
CN110688663A (en) | Execution command protection method and device, android device and storage medium | |
US9159086B1 (en) | System and method to install mobile applications from a desktop | |
CN112149106B (en) | Login method, device, equipment and medium of enterprise private applet |
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 |