CN105138900A - Control method and system for validity period of standalone software - Google Patents

Control method and system for validity period of standalone software Download PDF

Info

Publication number
CN105138900A
CN105138900A CN201510466337.6A CN201510466337A CN105138900A CN 105138900 A CN105138900 A CN 105138900A CN 201510466337 A CN201510466337 A CN 201510466337A CN 105138900 A CN105138900 A CN 105138900A
Authority
CN
China
Prior art keywords
software
time
validity
state
registration
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
CN201510466337.6A
Other languages
Chinese (zh)
Other versions
CN105138900B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201510466337.6A priority Critical patent/CN105138900B/en
Publication of CN105138900A publication Critical patent/CN105138900A/en
Application granted granted Critical
Publication of CN105138900B publication Critical patent/CN105138900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Abstract

The invention provides a control method for the validity period of standalone software. The method comprises the following steps: when determination indicates that the software is not registered based on a judgment on whether or not to make a registration at software startup, executing registration in order to determine and preset the validity period of the software; when determination indicates that the software is registered based on a judgment on whether or not to make the registration at software startup, acquiring relevant information recorded by detection of the software at the moment of exit after last run; detecting the usage expiration state of the software based on the preset software validity period and the acquired relevant information; and giving a prompt based on a detection result indicating that the software is to be expired or already expired or overdue. The invention also provides a control system for the validity period of the standalone software.

Description

The control method of the stand-alone software term of validity and system
Technical field
The application relates to period of validity of software security fields, particularly relates to control method and the system of the stand-alone software term of validity.
Background technology
The large-sized unit dynamic password Core Generator of independent development, in production, debugging, after sale etc. occupy very important status, Given this situation is planted, for the software needing safety guarantee of important this kind of large-sized unit dynamic password Core Generator and other standalone versions, no matter be applied to and produce or after sale, be all need the software security measure that cracks of a set of very strict prevention.And common software often has the risk be cracked, or carried out operating system change by operation and cause extension of validity and can indefinite use.Therefore on this basis, need to set up a discernible control program, the safe class that not only constantly can promote software prevents from revealing, and the defense system simultaneously can setting up a set of software self is to make user can not this software of indefinite use.
Summary of the invention
The fundamental purpose of the application is the control method and the system that provide a kind of stand-alone software term of validity, to solve by for stand-alone software (comprising the softwares such as large-sized unit dynamic password Core Generator) is based on the term of validity, set up the problem of the Dynamic controlling security system of self, and then, can also solve and promote the safe class that ensures of period of validity of software with the problem preventing software from divulging a secret.
The application provides a kind of control method of the stand-alone software term of validity on the one hand, comprising: based on when determining that described software is unregistered to the judgement of whether registering during software startup, perform registration, to determine and the predetermined software term of validity; Based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information; Based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state; Based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provide prompting.
Preferably, based on when determining that described software is unregistered to the judgement of whether registering during software startup, perform registration, to determine and the predetermined software term of validity, also comprise: when performing registration, described running software also scans the information relevant to software that read storage device stores, and automatically generates globally unique sequence number, sends scrambler keeper to obtain the registration code returned; Based on described registration code, complete the registration of described software, determine and preset described period of validity of software; Record is to described software and register relevant information and time data.
Preferably, also comprise: the information that described sequence number comprises have passed through encryption; The registration completing described software comprises: the code carrying out described software is preset, to preset described period of validity of software by time surface; Record the information relevant to software and time data comprises: the period of validity of software preset, the typing of current hour of log-on, and the residing mac address running computer platform of binding.
Preferably, based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information, comprise: by recording to described software in scanning read storage device and registering relevant information and time data, judge to determine that described software has been registered on run computer, this runs is be in restart to run this registered software; Described software upper once run backed off after random time recorded after testing relevant information at this software startup time can be read directly; Described software upper once run backed off after random time relevant information recorded after testing be stored in memory storage, the described period of validity of software preset when comprising registration and other run relevant information to the described software last time.
Preferably, based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state, comprise: by the restore calculation time interval, available time, writing time, complete and restore calculation is done to the related algorithm of time, to judge that the use of described software expires state; Wherein, use the state of expiring comprise the state that expires, exceed the time limit state, be about to the state of expiring and not yet due and be non-ly about to the state of expiring.
Preferably, based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, providing prompting, comprising: providing prompting to being about to the state of expiring, terminate current detection operation to wait for automatic detection when software exits; To expiring, state or state of having exceeded the time limit provide prompting, and start and re-register.
Preferably, also comprise: automatically terminate current detection operation, to wait for automatic detection when software exits based on being detected as the not yet due and non-testing result being about to the state of expiring; And/or when described software terminates to run, the execution time is detected and completes respective record; Wherein, described respective record has comprised this relevant information recorded after testing when exiting of software.
Preferably, when described software terminates to run, the execution time is detected and completes respective record, comprising: detect that the software run performs end operation; Based on described end operation, whether the detection system time was modified; If modified, then recalculate service time, judge whether to exceed default period of validity of software, if do not exceed default period of validity of software, recording-related information also exits detection, if exceed default period of validity of software, starts and re-registers; If not modified, then exit detection.
The application provides a kind of control system of the stand-alone software term of validity on the other hand, comprise: term of validity setting device, for based on when determining that described software is unregistered to the judgement of whether registering during software startup, perform registration, to determine and the predetermined software term of validity; Acquisition device, for based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information; First pick-up unit, for based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state; Testing result treating apparatus, for based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provides prompting.
Preferably, term of validity setting device, also comprises: when performing registration, and described running software also scans the information relevant to software that read storage device stores, and automatically generates globally unique sequence number, sends the registration code that scrambler keeper returns with acquisition; Based on described registration code, complete the registration of described software, determine and preset described period of validity of software; Record is to described software and register relevant information and time data.
Preferably, term of validity setting device, also comprises: the information that described sequence number comprises have passed through encryption; The registration completing described software comprises: the code carrying out described software is preset, to preset described period of validity of software by time surface; Record the information relevant to software and time data comprises: the period of validity of software preset, the typing of current hour of log-on, and the residing mac address running computer platform of binding.
Preferably, acquisition device, also comprise: by recording to described software in scanning read storage device and registering relevant information and time data, judge to determine that described software has been registered on run computer, this runs is be in restart to run this registered software; Described software upper once run backed off after random time recorded after testing relevant information at this software startup time can be read directly; Described software upper once run backed off after random time relevant information recorded after testing be stored in memory storage, the described period of validity of software preset when comprising registration and other run relevant information to the described software last time.
Preferably, the first pick-up unit, also comprises: by the restore calculation time interval, available time, writing time, completes and does restore calculation to the related algorithm of time, to judge that the use of described software expires state; Wherein, use the state of expiring comprise the state that expires, exceed the time limit state, be about to the state of expiring and not yet due and be non-ly about to the state of expiring.
Preferably, testing result treating apparatus, also comprises: provide prompting to being about to the state of expiring, and terminates current detection operation to wait for automatic detection when software exits; To expiring, state or state of having exceeded the time limit provide prompting, and start and re-register.
Preferably, also comprise: testing result treating apparatus, for automatically terminating current detection operation, to wait for automatic detection when software exits based on being detected as the not yet due and non-testing result being about to the state of expiring; And/or, second detection device, when described software terminates to run, the execution time is detected and completes respective record; Wherein, described respective record has comprised this relevant information recorded after testing when exiting of software.
Preferably, second detection device, also comprises: detect that the software run performs end operation; Based on described end operation, whether the detection system time was modified; If modified, then recalculate service time, judge whether to exceed default period of validity of software, if do not exceed default period of validity of software, recording-related information also exits detection, if exceed default period of validity of software, starts and re-registers; If not modified, then exit detection.
According to the scheme of the application, user can prevent from artificially revising the leak of system time to the time reduction that stand-alone software (comprising company's large-sized unit dynamic password Core Generator etc.) arranges the term of validity on demand, dynamic scan reads this its situation of term of validity identification, operation is required after changing the term of validity automatically of its research and development and provide the prompt facility that expires.Thus, should, for the safety identification control mode of the stand-alone software term of validity, for software establishes a set of autoprotcrtive system, avoid software by indefinite use, improve software saferank by the secret of term of validity restricted software changed at any time.Further, the scheme of the application is simple to operate, safety coefficient is high, is not only applicable to company's large-sized unit dynamic password Core Generator, the stand-alone software of more applicable term of validity demand.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the process flow diagram of an embodiment of the control method of the stand-alone software term of validity of the application;
Fig. 2 carries out an embodiment schematic diagram of software registration when being running first of the application;
Fig. 3 performs the embodiment process flow diagram detected when software startup runs in the method for the application;
Fig. 4 is the process flow diagram performing the embodiment detected in the method for the application when software exits;
Fig. 5 is the structured flowchart of an embodiment of the control system of the stand-alone software term of validity of the application;
Fig. 6 is an embodiment schematic diagram of the control system of the stand-alone software term of validity of the application.
Embodiment
For making the object of the application, technical scheme and advantage clearly, below in conjunction with the application's specific embodiment and corresponding accompanying drawing, technical scheme is clearly and completely described.Obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
According to the embodiment of the application, provide a kind of control method of the stand-alone software term of validity.
It is the process flow diagram of an embodiment of the control method of the stand-alone software term of validity of the application with reference to figure 1, Fig. 1.
In step S110, determine that described software is as time unregistered based on to judging of whether registering during software startup, perform registration, to determine and the predetermined software term of validity.
In one embodiment, software runs in computing machine/computer platform, system, needs first to judge whether it registers.Unregistered software, the especially fail-safe software of large-sized unit dynamic password Core Generator class or the software of standalone version class, can not continue to run.This is also that stand-alone software prevents from revealing, uses arbitrarily, avoids the security means that is cracked.
Further, according to this judgement, such as scan registration table etc., find if registered software, then can its term of validity of direct-detection (see step S120), and if unregistered software, then first perform the registration of this software, when namely running this software first, need the process that this software is registered first.
In one embodiment, when running first, software is in loading procedure, and whether can detection computations machine/computer be register first, automatically generate a string sequence number, this sequence number be globally unique simultaneously.Wherein, this sequence number of generation comprises a lot of information, comprise software relevant information and times of registration etc., and these information is all have passed through encryption, after by the time obtaining key and registration code, just can carry out software registration.
Further, if this registration code is effective, then once succeed in registration, so, first operation start carrying out software security detection control, the time point (registration this moment) etc. that software code pre-sets, recording-related information comprises current registration.An example can be particularly, start the term of validity set handling in this software, carry out software code to pre-set, complete the typing of the information such as hour of log-on first, such as: after succeeding in registration, can by predetermined software terms of validity such as the set of time interfaces of computer, this term of validity supports the date, even can be as accurate as Hour Minute Second.In this example, the term of validity can also with reference to the software developer that detects when registration to software service time length restriction (such as: this software all is 1 year time limit from running first all) or the clause of arranging when buying this software in service time length restriction etc. preset.
Further, typing/record various with software relevant information while, the unique fixed address of registration place computer installed by mac address and the software that can also bundle computer, this is the vital step further strengthening security, its binding can stop nonpermissive mac address embezzlement network and software further, can ensure the safety of stand-alone software further and avoid divulging a secret.
Further, in the operation of having registered backed off after random this software registration process, operation can also be restarted.
For this registration and recording process, when the software of the application shown in Figure 2 runs first, carry out the schematic diagram of an embodiment of software registration.Wherein, the example that software runs on computer registration has first been showed:
User 201 insertion storage critical data (the various data of record or software registration typing during running software as last in stand-alone software, etc.Particularly, at least can comprise: the computerized information, configuration information, registration code information, date and time information, times of registration, version information etc. of corresponding this software legitimate user) device.This kind of device comprises the moveable small-sized memory storage of USB interface, or removable or fixing memory storage such as hard disk, CD etc.
User 201 insertion apparatus also activates this stand-alone software and runs on computer 202, and the critical data scanned in this device judges whether to run first.
If judge it is run first, then software has needed registration to operate.The software run reads native codes, the password generator 203 that mounting software developer (as: producer) provides on computer 202, generate global unique sequence numbers coding (containing this software relevant information various) simultaneously, be sent to scrambler keeper 204 (the Password Management computer of the legitimate secure connected as another network or registrar etc.), by this scrambler keeper side 205 according to the generation of this sequence number legitimacy or the registration code extracting correspondence, and return this corresponding registration code 206.
If this registration code is effective, then can succeeds in registration, and relevant information typing will be registered, comprise some relevant informations of software, the time etc. this moment of this software registration.Such as: this is for register first, hour of log-on is January 1 calendar year 2001 first, and the term of life (licensed software length service time) of arranging when buying software is 3 years, etc.And then user 201 can preset corresponding period of validity of software, as on January 1st, 2004, on October 1st, 2003 etc. according to this on the set of time interface that software registration is successfully ejected.Here, user can preset the term of validity being less than or equal to this time span, and the longest time limit can not exceed the software developer that arranges when buying software to the requirement of its time span.
In the above example, further, if software startup, then can store the device of the critical data relevant to this software by autoscan by computer bottom communication program, if this device is extracted or damaged, corresponding software cannot use.So also can ensure the safety of software further, prevent from revealing arbitrarily and being cracked.Thus, this device can ensure the security of software and the dirigibility of use further in the scheme of the application, such as: 1, prevent registration code repeated registration, only preserve a unique registration code in the apparatus and corresponding registration once; 2, critical data stores in the apparatus, and prevention software is cracked, and risk is controlled; 3, this device can be extracted, and makes information transportable; 4, the information such as times of registration, version, date stores in the apparatus, can guarantee that the term of validity can be arranged; Etc..
In step S120, based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information.
Wherein, the described period of validity of software preset when relevant information comprises registration and other information (information of time correlation as various in other, with register relevant information as software version, etc.).In one embodiment, when exiting after this software once runs, the various information relevant to time etc. (period of validity of software, number of run, system time etc. preset when comprising date and time information or various daily record, login time, registration) recording this running software and exit, can directly read during to guarantee this software of startup next time.Certain description can be done by composition graphs 4 below to detection when exiting running software.
Further, determine that when judgement software has been registered on run computer, be in restart operation, then when this runs this registered software, by the mode about the registration table of this software in scanning reading computer hard disc or other memory storages, these and the last relevant information such as post-set time, daily record, especially this period of validity of software can be obtained.Such as: the device etc. storing critical data in scanning previous example.
In step S130, based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state.
In one embodiment, based on its default period of validity of software (as described in step S110) when running registration first, and this software obtaining (as: scanning read) upper once run backed off after random time the login time that records, post-set time, login time this moment, period of validity of software that during registration, it is preset etc., determine especially service time, whether state was in for the rights of using state of software: not yet due and non-being about to expires, be about to expire, expire or states such as (exceeding term of life) of exceeding the time limit, namely the use of inspection software expires state.
Such as: simple way of contrast can be adopted, the comparison software actual date using date and the period of validity of software arrived, the January 1 2004 date having exceeded this period of validity of software January 5 2004 date arrived is used if actual, namely software application has expired or has exceeded the time limit, can not continue to use, otherwise can also continue to use.
In addition, in another embodiment, detect this use and to expire state, can also first restore calculation time interval, the validity of time, recording-related information, to the related algorithm restore calculation of time, thus judges that whether this period of validity of software is expired again.Such restore calculation mode makes to detect more accurate, improves period of validity of software security.Here restore calculation can be adopted in a known manner as required, does not repeat them here.
In step S140, based on being detected as the not yet due and non-testing result detection of end operation being about to the state of expiring, wait for the detection that software exits; Or based on being detected as the testing result of the state that is about to expire or expired or exceeded the time limit, provide prompting.
In one embodiment, can being pre-set by check processing by overdue state, such as, being arranged on time state that the software application in last three days of period of validity of software arrives for being about to the state of expiring.The time that software application can also be set the to arrive time state identical with the period of validity of software time is greater than the time state of period of validity of software time for state of having exceeded the time limit as the time that the state that expires, software application arrive.And not yet due and non-being about to expires, the time state that the software application outside last three days of period of validity of software reaches can be set to.Etc..
In one embodiment, be detected as the not yet due and non-testing result being about to the state of expiring, then terminate testing process when this software startup runs, such as be in waiting status, when waiting for that the closedown of this software is exited, run situation about exiting to it to detect, the software as composition graphs 4 describes below exits testing process.
In one embodiment, be detected as the testing result being about to the state of expiring, can be about to expire to software user prompting, such as: the period of validity of software preset when registering was as on January 1st, 2004, it is before default period of validity of software three days that this detection is provided with by overdue prompt time, if find when namely detecting, Current software logs in the time run is on Dec 30th, 2003, then send prompting, as ejected the time window etc. of yellow highlighted display.
Further, if be about to expire or not yet due and non-by overdue state, so will when software exit, record current time, when guaranteeing that next time starts software, can directly read (see Fig. 4).
In one embodiment, be detected as the state that expires or the testing result of state of having exceeded the time limit, can expire to software user prompting or exceed the time limit, need to re-register.Such as: the period of validity of software preset when registering was as on January 1st, 2004, detect that Current software employs 3 years, is on January 5th, 2004 at present, its use has exceeded the term of validity, then send prompting, require that user registers again as ejected red time window etc. or ejecting the interactive window re-registered.
In step S150, described software terminates to run, and the execution time is detected and completes respective record.
In one embodiment, when exiting after this software once runs, the various information (period of validity of software, number of run, system time etc. when comprising daily record, login time, registration preset) relevant to time etc. recording this running software and exit, can directly read during to guarantee this software of startup next time.Such as: record and this running software and exit with the various information of time correlation, comprise current time (example: the real system current time determined after recalculating service time, Current software used time etc.), guarantee to start software energy directly reading software next time, be namely convenient to continue next time to use this software.
Particularly, when turning off after running software is complete, the time (such as: the date etc.) of exiting can be recorded, specifically see the example of Fig. 4, had this time, when just guaranteeing that next time logs in, detect a whether expired important step.In addition, the device as critical data when storing various exiting in previous example can be USB device, and hard disk etc. can memory device.
Below in conjunction with performing the embodiment process flow diagram detected in the method for the application shown in Fig. 3 when software startup runs, further describe the process of the registration of running software, detection, recording process.
Step S310, starts running software.Such as, click software executable and start this software, bottom communication program scanning has the device (portable memory etc. of Fixed disk, insertion) of critical data, obtains critical data.
Step S320, judges whether this software is registered, and is, enters step S330, noly enters step S340.
Such as, the critical data obtained according to scanning and the registration table of platform of operating software or the self-contained registration table etc. of software, make a decision.
Step S330, if registered, then main load interface, mechanical check relevant information, records login time and execution associative operation this moment, enters step S360.
Such as, can be judged as registered by the data message etc. scanned, thus main load interface is so that user's operation, now can also the relevant information such as dynamically recording login time this moment and other relevant operations (such as: show last login time, daily record etc.) voluntarily.
Step S340, if unregistered, then obtain registration code and registers, enter step S350.
Such as, by the data message etc. of its scanning, be judged as unregistered, according to software, the password generator etc. that its producer provides can be installed, generate global unique sequence numbers coding (comprising software relevant information), be sent to scrambler keeper, request generates registration code, receive the registration code returned by scrambler keeper, complete software registration.Comprise presetting of period of validity of software.
Step S350, recording-related information, typing hour of log-on, terminates this detection.
Such as, the typing/record of relevant information, time, the binding etc. of mac address.Terminating is then that detection of end this detection is in other words in waiting status, and running software dynamically starts to carry out when it exits after completing again automatically in other words by the time.
Step S360, whether detect in the in the end three days terms of validity according to the period of validity of software preset, be enter step S370, otherwise detection of end.
Detect, such as: judge after calculating in its in the end three days terms of validity.Detection of end, such as waits for that running software detects when exiting again.
Whether step S370, detect according to the period of validity of software preset and expired or exceeded the time limit, be enter step S380, otherwise enter step S390.
Step S380, prompting software expired (expire or exceed the time limit).Then enter step S320 to rejudge and whether register, and then re-register.
Step S390, prompting and software are about to expire, detection of end.
Detection of end, such as waits for that running software detects when exiting again.
Below in conjunction with performing the process flow diagram of an embodiment detected in the method for the application shown in Fig. 4 when software exits, further describe detection when exiting running software, process that recording-related information is convenient to next software startup.
Step S410, detects that the software run performs end operation.
Such as, software application is complete, exits this software, out of service or shutdown etc., this kind of end operation detected.
Step S420, based on described end operation, whether the detection system time was modified.
Such as, when finding that running software is switched off, the system time of computer being checked, determining whether to think and revising and the situation of intention prolongation period of validity of software.
Step S430, if modified, then recalculates service time, if not modified, then exits detection.
Recalculate service time, such as: can by the time span (suppose run 30 hour or 1 day etc.) of login time to actual motion/use, the certainty annuity time is actual should be how many (as: determine this system time should be to when, which hour etc. date or time point).In addition, do not change, exit this testing process, terminate whole running software and detection.
Step S440, recalculates based on described, judges whether to exceed default period of validity of software.
Such as, the date of actually determined system time and the date of this period of validity of software are contrasted, determine whether to exceed this term of validity.
Step S450, if do not exceed default period of validity of software, then recording-related information, to continue next time to use described software, and then exits detection.
As: record and this running software and exit with the various information of time correlation, comprise current time (example: the real system current time determined after recalculating service time, Current software used time etc.), guarantee to start software energy directly reading software next time, be namely convenient to continue next time to use this software.
Step S460, if exceed default period of validity of software, then re-registers this software, to obtain the right to use of this software, and then exits detection.
Fig. 5 schematically shows the structured flowchart of an embodiment of the control system of the stand-alone software term of validity according to the application.According to an embodiment of the application, shown in composition graphs 5, the schematic diagram of an embodiment of the system of the application shown in structured flowchart and Fig. 6, is described further the system of the application.
The scheme of the application provides as needing that the software of Prevention-Security provides the term of validity to arrange 601, the term of validity reads 602, term of validity self-operating 603 and the term of validity remind 604 four main process means.A kind of mode, in the code that these four means can be incorporated into this software or related data, running in the lump, is the operation such as Secure execution setting, reading, detection, prompting of software automatically.Such as: dispatch from the factory for software and register, provide user arranges interface predetermined software term of validity process 601 by practice, this term of validity supports the date, even can be accurate to Hour Minute Second; To stand-alone software and relevant data (comprising the device to storing this software and/or critical data) thereof, scanning can be carried out and read, and then the process 602 of reading this period of validity of software can be scanned; Dynamically carry out term of validity self-operating process 603, in software startup operational process and software exit in process the automatic detection that can start this software; When being about to the process 604 reminding the user using software when expiring or expired and even exceed the time limit, namely point out.
Shown in Figure 5, this system can comprise: term of validity setting device 510, for determining that described software is as time unregistered based on to judging of whether registering during software startup, performs registration, to determine and the predetermined software term of validity.The concrete function of this device and process are see step S110.It embodies the application for the term of validity that software security provides and arranges means 601.
Acquisition device 520, for based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information.The concrete function of this device and process are see step S120.It embodies the term of validity read means 602 that the application provides for software security.
First pick-up unit 530, for based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state.This device concrete function and process are see step S130.It embodies the term of validity self-operating means 603 that the application provides for software security.
Testing result treating apparatus 540, for based on being detected as the not yet due and non-testing result detection of end operation being about to the state of expiring, waits for the detection that software exits; And for based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provide prompting.This device concrete function and process are see step S140.It embodies term of validity self-operating means 603 that the application provides for software security and the term of validity reminds means 604.
Second detection device 550, terminate to run for software, the execution time is detected and completes respective record.This device concrete function and process are see step S150.It embodies the term of validity self-operating means 603 that the application provides for software security.
Further, this system realizes the concrete control treatment to period of validity of software, and detection when comprising as Fig. 3,4 software startups operations and exit also is the process and function that complete under each device of this system coordinates.
The process realized due to the system of the present embodiment and function are substantially corresponding to the embodiment of the method shown in earlier figures 1 ~ Fig. 4, therefore not detailed part in the description of the present embodiment, see the related description in previous embodiment, can not repeat at this.
The scheme of the application is by the identification of period of validity of software and detection, effectively arrange, read, self-operating (detection), the annoyware term of validity, a set of software autoprotcrtive system is built in autonomous stand-alone software, improve safe class voluntarily, preventing from divulging a secret and user can be authorized indefinite duration just uses software.Further, it is simple to operate, safety coefficient is high, is not only applicable to company's large-sized unit dynamic password Core Generator, the stand-alone software of more applicable term of validity demand.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise non-temporary computer readable media (transitorymedia), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the embodiment of the application, be not limited to the application, for a person skilled in the art, the application can have various modifications and variations.Within all spirit in the application and principle, any amendment done, equivalent replacement, improvement etc., within the right that all should be included in the application.

Claims (16)

1. a control method for the stand-alone software term of validity, is characterized in that, comprising:
Determine that described software is as time unregistered based on to judging of whether registering during software startup, perform registration, to determine and the predetermined software term of validity;
Based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information;
Based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state;
Based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provide prompting.
2. the method for claim 1, is characterized in that, determines that described software is as time unregistered, perform registration based on to judging of whether registering during software startup, to determine and the predetermined software term of validity, also comprises:
When performing registration, described running software also scans the information relevant to software that read storage device stores, and automatically generates globally unique sequence number, sends the registration code that scrambler keeper returns with acquisition;
Based on described registration code, complete the registration of described software, determine and preset described period of validity of software;
Record is to described software and register relevant information and time data.
3. method as claimed in claim 2, is characterized in that, also comprise:
The information that described sequence number comprises have passed through encryption;
The registration completing described software comprises: the code carrying out described software is preset, to preset described period of validity of software by time surface;
Record the information relevant to software and time data comprises: the period of validity of software preset, the typing of current hour of log-on, and the residing mac address running computer platform of binding.
4. the method as described in one of claim 1-3, is characterized in that, based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information, comprising:
By recording to described software in scanning read storage device and registering relevant information and time data, judge to determine that described software has been registered on run computer, this runs is be in restart to run this registered software;
Described software upper once run backed off after random time recorded after testing relevant information at this software startup time can be read directly;
Described software upper once run backed off after random time relevant information recorded after testing be stored in memory storage, the described period of validity of software preset when comprising registration and other run relevant information to the described software last time.
5. the method as described in one of claim 1-4, is characterized in that, based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state, comprising:
By the restore calculation time interval, available time, writing time, complete the restore calculation of the related algorithm to the time, to judge that the use of described software expires state; Wherein,
The use state of expiring comprise the state that expires, exceed the time limit state, be about to the state of expiring and not yet due and be non-ly about to the state of expiring.
6. the method as described in one of claim 1-5, is characterized in that, based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provides prompting, comprising:
Providing prompting to being about to the state of expiring, terminating current detection operation to wait for automatic detection when software exits;
To expiring, state or state of having exceeded the time limit provide prompting, and start and re-register.
7. the method as described in one of claim 1-6, is characterized in that, also comprises:
Automatically current detection operation is terminated, to wait for automatic detection when software exits based on being detected as the not yet due and non-testing result being about to the state of expiring; And/or,
When described software terminates to run, the execution time is detected and completes respective record; Wherein, described respective record has comprised this relevant information recorded after testing when exiting of software.
8. method as claimed in claim 7, is characterized in that, when described software terminates to run, the execution time is detected and completes respective record, comprising:
Detect that the software run performs end operation;
Based on described end operation, whether the detection system time was modified;
If modified, then recalculate service time, judge whether to exceed default period of validity of software, if do not exceed default period of validity of software, recording-related information also exits detection, if exceed default period of validity of software, starts and re-registers;
If not modified, then exit detection.
9. a control system for the stand-alone software term of validity, is characterized in that, comprising:
Term of validity setting device, for determining that described software is as time unregistered based on to judging of whether registering during software startup, performs registration, to determine and the predetermined software term of validity;
Acquisition device, for based on when determining that described software is registered to the judgement of whether registering during software startup, obtain described software upper once run backed off after random time recorded after testing relevant information;
First pick-up unit, for based on the described period of validity of software preset and the described relevant information of acquisition, the use detecting described software expires state;
Testing result treating apparatus, for based on the testing result being detected as the state that is about to expire or expired or exceeded the time limit, provides prompting.
10. system as claimed in claim 9, it is characterized in that, it is characterized in that, term of validity setting device, also comprises:
When performing registration, described running software also scans the information relevant to software that read storage device stores, and automatically generates globally unique sequence number, sends the registration code that scrambler keeper returns with acquisition;
Based on described registration code, complete the registration of described software, determine and preset described period of validity of software;
Record is to described software and register relevant information and time data.
11. systems as claimed in claim 10, it is characterized in that, term of validity setting device, also comprises:
The information that described sequence number comprises have passed through encryption;
The registration completing described software comprises: the code carrying out described software is preset, to preset described period of validity of software by time surface;
Record the information relevant to software and time data comprises: the period of validity of software preset, the typing of current hour of log-on, and the residing mac address running computer platform of binding.
12. systems as described in one of claim 9-11, is characterized in that acquisition device also comprises:
By recording to described software in scanning read storage device and registering relevant information and time data, judge to determine that described software has been registered on run computer, this runs is be in restart to run this registered software;
Described software upper once run backed off after random time recorded after testing relevant information at this software startup time can be read directly;
Described software upper once run backed off after random time relevant information recorded after testing be stored in memory storage, the described period of validity of software preset when comprising registration and other run relevant information to the described software last time.
13. systems as described in one of claim 9-12, it is characterized in that, the first pick-up unit, also comprises:
By the restore calculation time interval, available time, writing time, complete the restore calculation of the related algorithm to the time, to judge that the use of described software expires state; Wherein,
The use state of expiring comprise the state that expires, exceed the time limit state, be about to the state of expiring and not yet due and be non-ly about to the state of expiring.
14. systems as described in one of claim 9-13, it is characterized in that, testing result treating apparatus, also comprises:
Providing prompting to being about to the state of expiring, terminating current detection operation to wait for automatic detection when software exits;
To expiring, state or state of having exceeded the time limit provide prompting, and start and re-register.
15. systems as described in one of claim 9-14, is characterized in that, also comprise:
Testing result treating apparatus, for automatically terminating current detection operation, to wait for automatic detection when software exits based on being detected as the not yet due and non-testing result being about to the state of expiring; And/or,
Second detection device, when described software terminates to run, the execution time is detected and completes respective record; Wherein, described respective record has comprised this relevant information recorded after testing when exiting of software.
16. systems as claimed in claim 15, is characterized in that second detection device also comprises:
Detect that the software run performs end operation;
Based on described end operation, whether the detection system time was modified;
If modified, then recalculate service time, judge whether to exceed default period of validity of software, if do not exceed default period of validity of software, recording-related information also exits detection, if exceed default period of validity of software, starts and re-registers;
If not modified, then exit detection.
CN201510466337.6A 2015-07-30 2015-07-30 The control method and system of the LAN-ignorant program term of validity Active CN105138900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510466337.6A CN105138900B (en) 2015-07-30 2015-07-30 The control method and system of the LAN-ignorant program term of validity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510466337.6A CN105138900B (en) 2015-07-30 2015-07-30 The control method and system of the LAN-ignorant program term of validity

Publications (2)

Publication Number Publication Date
CN105138900A true CN105138900A (en) 2015-12-09
CN105138900B CN105138900B (en) 2018-09-25

Family

ID=54724245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510466337.6A Active CN105138900B (en) 2015-07-30 2015-07-30 The control method and system of the LAN-ignorant program term of validity

Country Status (1)

Country Link
CN (1) CN105138900B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808980A (en) * 2016-03-07 2016-07-27 深圳市新产业生物医学工程股份有限公司 Detection method and device of illegal use of software
CN106096390A (en) * 2016-06-08 2016-11-09 合肥联宝信息技术有限公司 A kind of start-up control method and the electronic equipment of application the method
CN106598661A (en) * 2016-12-08 2017-04-26 上海众人网络安全技术有限公司 Method and system for dynamically updating plug-in
CN106650329A (en) * 2016-12-16 2017-05-10 中国人民解放军空军装备研究院雷达与电子对抗研究所 Individual authorization method of data export equipment
CN106971097A (en) * 2017-04-13 2017-07-21 北京深思数盾科技股份有限公司 Software license method
CN106971095A (en) * 2017-03-24 2017-07-21 北京深思数盾科技股份有限公司 Software digital license management method and system
CN110245058A (en) * 2019-05-10 2019-09-17 珠海格力电器股份有限公司 Time changes processing method, device, storage medium, terminal and monitoring system
CN110363005A (en) * 2019-06-21 2019-10-22 绿漫科技有限公司 A kind of expired detection method of iOS enterprise version APP
CN112257034A (en) * 2020-10-30 2021-01-22 北京华维国创电子科技有限公司 Encryption and authorization algorithm and management system for chip mounter

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067241A1 (en) * 2005-09-19 2007-03-22 Bellsouth Intellectual Property Corporation Trial access terms for media files
CN101770557A (en) * 2008-12-30 2010-07-07 上海茂碧信息科技有限公司 Method for calculating service time of software in system
CN102208003A (en) * 2010-03-31 2011-10-05 鸿富锦精密工业(深圳)有限公司 Software program protection system and method
CN103167497A (en) * 2011-12-19 2013-06-19 卓望数码技术(深圳)有限公司 Authentication processing method and authentication processing system
CN103294591A (en) * 2012-03-05 2013-09-11 中国人民解放军91655部队 Method for detecting crossing use of mobile storage equipment
CN103310131A (en) * 2012-03-13 2013-09-18 纬创资通股份有限公司 Method and system for protecting software authorization
CN103577727A (en) * 2013-11-13 2014-02-12 深圳市创维群欣安防科技有限公司 Software deadline verifying method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067241A1 (en) * 2005-09-19 2007-03-22 Bellsouth Intellectual Property Corporation Trial access terms for media files
CN101770557A (en) * 2008-12-30 2010-07-07 上海茂碧信息科技有限公司 Method for calculating service time of software in system
CN102208003A (en) * 2010-03-31 2011-10-05 鸿富锦精密工业(深圳)有限公司 Software program protection system and method
CN103167497A (en) * 2011-12-19 2013-06-19 卓望数码技术(深圳)有限公司 Authentication processing method and authentication processing system
CN103294591A (en) * 2012-03-05 2013-09-11 中国人民解放军91655部队 Method for detecting crossing use of mobile storage equipment
CN103310131A (en) * 2012-03-13 2013-09-18 纬创资通股份有限公司 Method and system for protecting software authorization
CN103577727A (en) * 2013-11-13 2014-02-12 深圳市创维群欣安防科技有限公司 Software deadline verifying method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808980A (en) * 2016-03-07 2016-07-27 深圳市新产业生物医学工程股份有限公司 Detection method and device of illegal use of software
CN105808980B (en) * 2016-03-07 2019-06-11 深圳市新产业生物医学工程股份有限公司 The detection method and device of unauthorized use of software
CN106096390A (en) * 2016-06-08 2016-11-09 合肥联宝信息技术有限公司 A kind of start-up control method and the electronic equipment of application the method
CN106598661A (en) * 2016-12-08 2017-04-26 上海众人网络安全技术有限公司 Method and system for dynamically updating plug-in
CN106598661B (en) * 2016-12-08 2020-10-30 上海众人网络安全技术有限公司 Method and system for dynamically updating plug-in
CN106650329A (en) * 2016-12-16 2017-05-10 中国人民解放军空军装备研究院雷达与电子对抗研究所 Individual authorization method of data export equipment
CN106971095A (en) * 2017-03-24 2017-07-21 北京深思数盾科技股份有限公司 Software digital license management method and system
CN106971097A (en) * 2017-04-13 2017-07-21 北京深思数盾科技股份有限公司 Software license method
CN110245058A (en) * 2019-05-10 2019-09-17 珠海格力电器股份有限公司 Time changes processing method, device, storage medium, terminal and monitoring system
CN110363005A (en) * 2019-06-21 2019-10-22 绿漫科技有限公司 A kind of expired detection method of iOS enterprise version APP
CN112257034A (en) * 2020-10-30 2021-01-22 北京华维国创电子科技有限公司 Encryption and authorization algorithm and management system for chip mounter

Also Published As

Publication number Publication date
CN105138900B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN105138900A (en) Control method and system for validity period of standalone software
US7584386B2 (en) Microprocessor comprising error detection means protected against an attack by error injection
US9032507B2 (en) Access request authentication and authorization information generation
US9294464B2 (en) Automatic authorization of users and configuration of software development environment
CN109471697A (en) The method, apparatus and storage medium that system is called in a kind of monitoring virtual machine
RU2007143380A (en) UNIFORM AUTHORIZATION FOR HETEROGENEOUS APPLICATIONS
JP4822231B2 (en) Fault detection due to long perturbations
CN109271789A (en) Malicious process detection method, device, electronic equipment and storage medium
CN111309506A (en) Method, equipment, server and readable storage medium for positioning compiling errors
CN106919859A (en) Basic input output system guard method and device
KR20190015327A (en) Methods and Devices to Prevent Servers from Attacking
US20120030543A1 (en) Protection of application in memory
US20140344947A1 (en) Method and apparatus for handling storage of context information
CN115827610A (en) Method and device for detecting effective load
CN116663071B (en) Enterprise secret-related data access management method and device, electronic equipment and medium
KR20150094178A (en) Security device and controlling method for security device
CN107133503A (en) A kind of anti-debug method and apparatus detected based on process status
US7593258B2 (en) Protection of the flow of a program executed by an integrated circuit or of data contained in this circuit
CN110399719A (en) BIT file loading method, device, equipment and computer readable storage medium
Liu et al. Control-Flow Checking Using Branch Sequence Signatures
CN115391230A (en) Test script generation method, test script penetration method, test script generation device, test penetration device, test equipment and test medium
US11362821B2 (en) Secure selective rules driven token invalidation
CN114422175A (en) Network security supervision and inspection behavior auditing method and device
CN116775147B (en) Executable file processing method, device, equipment and storage medium
JP2010128510A (en) Biological information authentication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant