CN106934261A - A kind of storage of license information and extracting method based on database - Google Patents

A kind of storage of license information and extracting method based on database Download PDF

Info

Publication number
CN106934261A
CN106934261A CN201710206611.5A CN201710206611A CN106934261A CN 106934261 A CN106934261 A CN 106934261A CN 201710206611 A CN201710206611 A CN 201710206611A CN 106934261 A CN106934261 A CN 106934261A
Authority
CN
China
Prior art keywords
activation
information
file
document data
data bank
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.)
Pending
Application number
CN201710206611.5A
Other languages
Chinese (zh)
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201710206611.5A priority Critical patent/CN106934261A/en
Publication of CN106934261A publication Critical patent/CN106934261A/en
Pending legal-status Critical Current

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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs

Abstract

A kind of storage of license information and extracting method based on database, it is characterised in that during deployment software product, storage activation document data bank is safeguarded on a user device.The specific steps for safeguarding storage activation document data bank are as follows:After each software product is activated, by activation file insertion activation document data bank, newest activation file is inserted in the foot in activation document data bank table;When extracting information from the activation document data bank, the active information in the activation file being newly inserted is extracted first;State of activation to software product is verified.In present invention can apply to software product activation state verification mechanism, prevent from needing to integrate the effective information in all activated file during extraction information, it is to avoid complex situations, improve verification efficiency.

Description

A kind of storage of license information and extracting method based on database
Technical field
The present invention relates to a kind of license information storage based on database and extracting method, belong to software product activation Technical field.
Background technology
In order to ensure the copyright interest of software product, way general at present is for software product introduces activation verification machine System, introduces the activation file (license) comprising machine hardware information in this mechanism, only activated by license Product could be used normally, so be bound by by software product and machine, and preferably solve that software product is abused asks Topic, farthest maintains the copyright of software product and the interests of software company.
However, above-mentioned activation only just occurs when software product is disposed on a user device first, can not prevent Only deployed good software is repeated to be arranged in other equipment by user, therefore, also needed in software product running The constantly state of activation of monitoring of software product, this can in software run an extra process to realize, this process exists Constantly whether the hardware information of the equipment that verification software is disposed is consistent with the content in activation file in software running process, If it was found that stopping the operation of software if the two is inconsistent.So, user is just solved in this way on different machines The problem of same money software is disposed in repetition.The mechanism of this continuous inspection software state of activation is called software activation state verification machine System.
Due to needing constantly to extract the information for activating file in software activation state verification mechanism, therefore design one The mechanism that effective storage activates file and active information is extracted from activation file just seems particularly critical.This problem is seemed Simply, actually needing the problem for considering has a lot, and it is multiple sharp when existing on user equipment that one of them is relatively more scabrous The problem triggered during file living, firstly the need of extraction is determined, which activates the information of file in this case, and swashs when one When file living fails, need to judge whether whether other activation files effectively out of service to determine software again.Some softwares are produced Product (such as cluster management software etc.) are relevant with the CPU core number and node number of equipment, at this moment can include and set in activation file The standby CPU core number information related to nodes, the check figure or nodes of only actually used equipment are less than rule in activation file During fixed quantity, software product could be used, and user can buy the right to use of the software product by way of adding.It is this In the case of, the activation file of multiple buying on scale is there may be in equipment, needed when extracting information in these activation files Effective information integrated, this makes situation become more complicated.
The content of the invention
In view of the shortcomings of the prior art, the present invention provides a kind of license information storage based on database and extraction side Method.The present invention is proposed a kind of storage using database and activates fileinfo and more conveniently information can be carried out when in use The method of extraction, this method can be applied in software product activation state verification mechanism.
Technical scheme is as follows:
A kind of storage of license information and extracting method based on database, it is characterised in that during deployment software product, Storage activation document data bank is safeguarded on a user device.
It is as follows according to currently preferred, the specific steps for safeguarding storage activation document data bank:
1) after software product is activated every time, will be in activation file insertion activation document data bank, newest activation file It is inserted in the foot in activation document data bank table;
2) when extracting information from the activation document data bank, the activation in the activation file being newly inserted is extracted first Information;
3) state of activation to software product is verified:
If being verified, repeat step 2) -3);
If authentication failed, repeat step 1) -3);
If due to causing authentication failed beyond Software probation period, then deleting the activation file being newly inserted;Otherwise, delete Except all of activation file.
According to currently preferred, the step 2) in, if the activation file being newly inserted is trial edition, terminate whole Information extraction process, the active information extracted from newest activation file is last effective active information;
If the activation file being newly inserted is formal version, since the first data in activating document data bank, according to It is secondary to extract active information therein, trial edition activation file and active information therein are deleted, until extracting all of activation Information, and merged, returned.
Advantage of the invention is that:
A kind of storage of license information and extracting method based on database of the present invention, can be applied to software product In product state of activation authentication mechanism, prevent from needing to integrate the effective information in all activated file during extraction information, keep away Exempt from complex situations, improve verification efficiency.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the invention.
Specific embodiment
The present invention is described in detail with reference to embodiment and Figure of description, but not limited to this.
Embodiment 1,
A kind of storage of license information and extracting method based on database, during deployment software product, on a user device Safeguard storage activation document data bank.
The specific steps for safeguarding storage activation document data bank are as follows:
1) after software product is activated every time, will be in activation file insertion activation document data bank, newest activation file It is inserted in the foot in activation document data bank table;
2) when extracting information from the activation document data bank, the activation in the activation file being newly inserted is extracted first Information;
3) state of activation to software product is verified:
If being verified, repeat step 2) -3);
If authentication failed, repeat step 1) -3);
If due to causing authentication failed beyond Software probation period, then deleting the activation file being newly inserted;Otherwise, delete Except all of activation file.
Embodiment 2,
A kind of storage of license information and extracting method based on database as described in Example 1, its difference is, The step 2) in, if the activation file being newly inserted is trial edition, terminate whole information extraction process, from newest activation text The active information extracted in part is last effective active information;
If the activation file being newly inserted is formal version, since the first data in activating document data bank, according to It is secondary to extract active information therein, trial edition activation file and active information therein are deleted, until extracting all of activation Information, and merged, returned.

Claims (3)

1. a kind of storage of license information and extracting method based on database, it is characterised in that during deployment software product, Storage activation document data bank is safeguarded on user equipment.
2. a kind of storage of license information and extracting method based on database according to claim 1, its feature exists In the specific steps for safeguarding storage activation document data bank are as follows:
1) after software product is activated every time, by activation file insertion activation document data bank, newest activation file is inserted in Foot in activation document data bank table;
2) when extracting information from the activation document data bank, the activation letter in the activation file being newly inserted is extracted first Breath;
3) state of activation to software product is verified:
If being verified, repeat step 2) -3);
If authentication failed, repeat step 1) -3);
If due to causing authentication failed beyond Software probation period, then deleting the activation file being newly inserted;Otherwise, institute is deleted Some activation files.
3. a kind of storage of license information and extracting method based on database according to claim 2, its feature exists In the step 2) in, if the activation file being newly inserted is trial edition, terminate whole information extraction process, swash from newest The active information extracted in file living is last effective active information;
If the activation file being newly inserted is formal version, since the first data in activating document data bank, carry successively Active information therein is taken, trial edition activation file and active information therein is deleted, until extracting all of active information, And merged, returned.
CN201710206611.5A 2017-03-31 2017-03-31 A kind of storage of license information and extracting method based on database Pending CN106934261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710206611.5A CN106934261A (en) 2017-03-31 2017-03-31 A kind of storage of license information and extracting method based on database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710206611.5A CN106934261A (en) 2017-03-31 2017-03-31 A kind of storage of license information and extracting method based on database

Publications (1)

Publication Number Publication Date
CN106934261A true CN106934261A (en) 2017-07-07

Family

ID=59425316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710206611.5A Pending CN106934261A (en) 2017-03-31 2017-03-31 A kind of storage of license information and extracting method based on database

Country Status (1)

Country Link
CN (1) CN106934261A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944230A (en) * 2017-11-20 2018-04-20 山东超越数控电子股份有限公司 A kind of universal method of software activation verification

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1608263A (en) * 2001-05-29 2005-04-20 松下电器产业株式会社 Rights management unit
CN1713103A (en) * 2004-06-21 2005-12-28 佳能株式会社 Image forming apparatus, license managing method for applications program
CN101689237A (en) * 2007-06-25 2010-03-31 微软公司 Activation system architecture
CN102509051A (en) * 2011-11-22 2012-06-20 康佳集团股份有限公司 Method and system preventing software from copying
CN103279696A (en) * 2013-06-03 2013-09-04 中国科学院微电子研究所 License monitoring method and system for EDA (electronic design automation) software
CN103838987A (en) * 2013-06-24 2014-06-04 电子科技大学 Software license dynamic authorization management method based on local area network
CN106355047A (en) * 2015-07-13 2017-01-25 京瓷办公信息系统株式会社 License management system and license management method
CN106529216A (en) * 2016-10-27 2017-03-22 西安交通大学 Software authorization system based on public storage platforms and software authorization method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1608263A (en) * 2001-05-29 2005-04-20 松下电器产业株式会社 Rights management unit
CN1713103A (en) * 2004-06-21 2005-12-28 佳能株式会社 Image forming apparatus, license managing method for applications program
CN101689237A (en) * 2007-06-25 2010-03-31 微软公司 Activation system architecture
CN102509051A (en) * 2011-11-22 2012-06-20 康佳集团股份有限公司 Method and system preventing software from copying
CN103279696A (en) * 2013-06-03 2013-09-04 中国科学院微电子研究所 License monitoring method and system for EDA (electronic design automation) software
CN103838987A (en) * 2013-06-24 2014-06-04 电子科技大学 Software license dynamic authorization management method based on local area network
CN106355047A (en) * 2015-07-13 2017-01-25 京瓷办公信息系统株式会社 License management system and license management method
CN106529216A (en) * 2016-10-27 2017-03-22 西安交通大学 Software authorization system based on public storage platforms and software authorization method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107944230A (en) * 2017-11-20 2018-04-20 山东超越数控电子股份有限公司 A kind of universal method of software activation verification

Similar Documents

Publication Publication Date Title
US8245080B2 (en) Model-based testing of an application program under test
CN104182340B (en) Database compatibility method of testing and system
US20140122932A1 (en) Analysis system and method for intelligent customer service based on common sequence pattern
RU2017134532A (en) SYSTEM AND METHOD FOR EXTRACTING AND JOINT USE OF CUSTOMIZED DATA ASSOCIATED WITH THE APPLICATION
CN107688531A (en) Geo-database integration method of testing, device, computer equipment and storage medium
JP6301256B2 (en) Processing method, computer program, and metadata support server
CN105630682A (en) System and method for automatically collecting and analyzing collapse of mobile terminal
WO2006095506B1 (en) Information system management device
US8554727B2 (en) Method and system of tiered quiescing
CN109241014B (en) Data processing method and device and server
US10657028B2 (en) Method for replicating production behaviours in a development environment
CN113568841A (en) Risk detection method, device and equipment for applet
CN105024987A (en) Web service log monitoring method and apparatus
JP2009199321A (en) Relevancy inspection apparatus, relevancy inspection method, and relevancy inspection program
CN107357908A (en) A kind of detection method and device of dummy machine system file
CN110929110B (en) Electronic document detection method, device, equipment and storage medium
CN111913878A (en) Program analysis result-based bytecode instrumentation method, device and storage medium
CN106934261A (en) A kind of storage of license information and extracting method based on database
EP3514680B1 (en) Identification of changes in functional behavior and runtime behavior of a system during maintenance cycles
CN105490813A (en) Method and apparatus for safe access to web by user
CN112256532A (en) Test interface generation method and device, computer equipment and readable storage medium
CN112990308A (en) Method, device and equipment for monitoring printing content
CN104539449A (en) Handling method and related device for fault information
Ortiz et al. Exploratory analysis of an operational iris recognition dataset from a CBSA border-crossing application
CN113031944A (en) Template-based service opening device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170707

WD01 Invention patent application deemed withdrawn after publication