CN106778085A - A kind of software encryption and protection and the method for automatically renewed - Google Patents

A kind of software encryption and protection and the method for automatically renewed Download PDF

Info

Publication number
CN106778085A
CN106778085A CN201611036219.2A CN201611036219A CN106778085A CN 106778085 A CN106778085 A CN 106778085A CN 201611036219 A CN201611036219 A CN 201611036219A CN 106778085 A CN106778085 A CN 106778085A
Authority
CN
China
Prior art keywords
software
information
user
registration
encryption
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
CN201611036219.2A
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.)
China Railway Fifth Survey and Design Institute Group Co Ltd
Original Assignee
China Railway Fifth Survey and Design Institute Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Fifth Survey and Design Institute Group Co Ltd filed Critical China Railway Fifth Survey and Design Institute Group Co Ltd
Priority to CN201611036219.2A priority Critical patent/CN106778085A/en
Publication of CN106778085A publication Critical patent/CN106778085A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2117User registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of software encryption and protection and the method for automatically renewed; user is when software is loaded; register machine is first carried out; generation application code; application code is saved in POS1, POS2 and/or POS3 position of user computer; system manager is according to application code; generation registration code; it is sent to user; user completes registration; registration code and registration machine information, software load successfully date, software and load date of failure recently and is also saved to POS1, POS2 and/or POS3 position recently, and information is all by encryption during preservation.By the way of application code and registration code checking, user is authorized, and licensing term is delayed by way of updating register machine, solve for computer hardware it is diversified in the case of, realize general computer soft encryption mode, the uncurrent problem of cipher mode will not be caused because of computer hardware different model, and after licensing term expires, the problem of automatically renewed.

Description

A kind of software encryption and protection and the method for automatically renewed
Technical field
Protected the present invention relates to the soft encryption mode and treatment mechanism of a kind of PC software products, more particularly to a kind of software cryptography Shield and the method for automatically renewed.
Background technology
The conventional cipher mode of current software is divided into soft encryption and hardware encryption two ways.Soft encryption does not need additional hardware Software protection mode, typically take the authorization of sequence number or license file.Usual soft encryption scheme is used and calculating The mode of machine software and hardware feature binding, such as CPU, BIOS, hard disk, MAC, computer name, user name.
The defect of above-mentioned prior art is:
In the case of computer hardware is diversified, cause cipher mode obstructed because of computer hardware different model With, and after licensing term expires, it is impossible to realize automatically renewed.
The content of the invention
It is an object of the invention to provide a kind of method of the software encryption and protection and automatically renewed of highly versatile.
The purpose of the present invention is achieved through the following technical solutions:
Software encryption and protection of the invention and the method for automatically renewed, including step:
User is first carried out register machine when software is loaded, and generates application code, and application code is saved in user computer POS1, POS2 and/or POS3 position, system manager generate registration code according to application code, are sent to user, and user completes note Volume, registration code and registration machine information, software load successfully date, software and load date of failure recently and is also saved to institute recently POS1, POS2 and/or POS3 position are stated, information is all by encryption during preservation;
In the startup code position of software, the entrance function of encrypting module is added, so, when software is loaded, the very first time Into the judgement for authorizing;
During into encrypting module, first determine whether whether the information of POS1, POS2, POS3 position is consistent, if unanimously, explanation Encryption information is normal, otherwise, illustrates that encryption information is destroyed, and authorization failure prohibits the use of software;
Then carry out judging whether register machine is expired according to registration machine information and date and time information;
If register machine is expired, user asks for the register machine of redaction to system manager;
After obtaining redaction register machine, user performs new registration machine, and the information of new registration machine highest version can override old edition This information, after information can be caused to cover, authorization date also just have updated.
As seen from the above technical solution provided by the invention, software encryption and protection provided in an embodiment of the present invention and from The dynamic method delayed, due to by the way of application code and registration code checking, being authorized to user, and by updating register machine Mode is delayed to licensing term, solve for computer hardware it is diversified in the case of, realize general computer Soft encryption mode, will not cause the uncurrent problem of cipher mode because of computer hardware different model, and licensing term After expiring, the problem of automatically renewed.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the method for software encryption and protection provided in an embodiment of the present invention and automatically renewed.
Specific embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Inventive embodiment, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to protection scope of the present invention.
Software encryption and protection of the invention and the method for automatically renewed, its preferably specific embodiment is:
Including step:
User is first carried out register machine when software is loaded, and generates application code, and application code is saved in user computer POS1, POS2 and/or POS3 position, system manager generate registration code according to application code, are sent to user, and user completes note Volume, registration code and registration machine information, software load successfully date, software and load date of failure recently and is also saved to institute recently POS1, POS2 and/or POS3 position are stated, information is all by encryption during preservation;
In the startup code position of software, the entrance function of encrypting module is added, so, when software is loaded, the very first time Into the judgement for authorizing;
During into encrypting module, first determine whether whether the information of POS1, POS2, POS3 position is consistent, if unanimously, explanation Encryption information is normal, otherwise, illustrates that encryption information is destroyed, and authorization failure prohibits the use of software;
Then carry out judging whether register machine is expired according to registration machine information and date and time information;
If register machine is expired, user asks for the register machine of redaction to system manager;
After obtaining redaction register machine, user performs new registration machine, and the information of new registration machine highest version can override old edition This information, after information can be caused to cover, authorization date also just have updated.
The register machine information includes version number, licenses the date.
The present invention generates an application code in the PC computers of user, and this application code is saved in certain position of PC systems. After application code generation, will not change until user reinstalls operating system.
Application code is submitted to system manager by user, and a registration code is generated according to application code by system manager, and It is sent to user.When application code and registration code are matched, user authorizes using for software is obtained, and the mandate is that have time restriction 's.This method will be when the match is successful for application code and registration code, by application code, registration code, the useful life of register machine, installation day Phase, be encrypted using the date and these protection informations of the version number of register machine of software for the last time after, be saved in operation Multiple positions of system, are defined as POS1, POS2, POS3.Protected software on startup, first check for POS1, POS2, Whether the information in POS3 is consistent, if it is inconsistent, explanation protection information is destroyed, user cannot authorize;If Unanimously, whether current date is will determine that in authorization date, if it was not then software cannot be used, can otherwise use software.
In order to prevent user from adjusting system data, the problem of protection mechanism is cheated, this method not only judges that current date is It is no in authorization date, also judge that current date must be after date for using of last time.
After user's useful life expires, if it is desired to the software is continuing with, without applying for soft ware authorization again, it is only necessary to Update authorization date.User asks for the register machine of latest edition to system manager.Register machine with version number, The register machine specific licensing term of correspondence of each version number, when licensing term expires, system manager need to only distribute registration Machine.
The beneficial effects of the invention are as follows:
Solve for computer hardware it is diversified in the case of, realize general computer soft encryption mode, will not Cause the uncurrent problem of cipher mode because of computer hardware different model, and after licensing term expires, automatically renewed Problem.
Specific embodiment:
As shown in figure 1, user is when software is loaded, register machine is first carried out, generates application code.Application code is saved in user The multiple such as POS1, POS2, POS3 of computer position.
System manager generates registration code according to application code, is sent to user.
User completes registration.
Application code, registration code, registration machine information (version number, license the date), software load successfully date, soft recently The date that part loads failure recently is also saved to the positions such as POS1, POS2, POS3.During preservation, information is all by encryption.
In the startup code position of software, the entrance function of encrypting module is added.So, when software is loaded, the very first time Into the judgement for authorizing.
During into encrypting module, first determine whether whether the information of POS1, POS2, POS3 position is consistent;If consistent, explanation Encryption information is normal;Otherwise, illustrate that encryption information is destroyed, authorization failure prohibits the use of software.Then according to registration machine information Judged with date and time information.
If register machine is expired, user asks for the register machine of redaction to system manager.
After obtaining redaction register machine, user performs new registration machine, and the information of new registration machine highest version can override old edition This information.After information can be caused to cover, authorization date also just have updated.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any one skilled in the art in the technical scope of present disclosure, the change or replacement that can be readily occurred in, Should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claims Enclose and be defined.

Claims (2)

1. a kind of software encryption and protection and the method for automatically renewed, it is characterised in that including step:
User is first carried out register machine when software is loaded, and generates application code, application code be saved in user computer POS1, POS2 and/or POS3 positions, system manager generates registration code according to application code, is sent to user, and user completes registration, note Volume code and registration machine information, software load successfully recently date, software load recently failure date be also saved to it is described POS1, POS2 and/or POS3 position, information is all by encryption during preservation;
In the startup code position of software, the entrance function of encrypting module is added, so, when software is loaded, the very first time enters The judgement of mandate;
During into encrypting module, first determine whether whether the information of POS1, POS2, POS3 position is consistent, if unanimously, illustrating encryption Information is normal, otherwise, illustrates that encryption information is destroyed, and authorization failure prohibits the use of software;
Then carry out judging whether register machine is expired according to registration machine information and date and time information;
If register machine is expired, user asks for the register machine of redaction to system manager;
After obtaining redaction register machine, user performs new registration machine, and the information of new registration machine highest version can override legacy version Information, after information can be caused to cover, authorization date also just have updated.
2. software encryption and protection according to claim 1 and the method for automatically renewed, it is characterised in that the register machine letter Breath includes version number, licenses the date.
CN201611036219.2A 2016-11-22 2016-11-22 A kind of software encryption and protection and the method for automatically renewed Pending CN106778085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611036219.2A CN106778085A (en) 2016-11-22 2016-11-22 A kind of software encryption and protection and the method for automatically renewed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611036219.2A CN106778085A (en) 2016-11-22 2016-11-22 A kind of software encryption and protection and the method for automatically renewed

Publications (1)

Publication Number Publication Date
CN106778085A true CN106778085A (en) 2017-05-31

Family

ID=58971812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611036219.2A Pending CN106778085A (en) 2016-11-22 2016-11-22 A kind of software encryption and protection and the method for automatically renewed

Country Status (1)

Country Link
CN (1) CN106778085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712883A (en) * 2018-02-09 2020-09-25 费森尤斯维尔公司 Method for registering a user in a medical software application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000646A (en) * 2007-01-17 2007-07-18 北京大学 Copyright protection method and system for digital contents controlled by time
CN101082950A (en) * 2007-07-10 2007-12-05 侯同济 Software encrypting registration piracy-preventing method
CN102110199A (en) * 2009-12-28 2011-06-29 北京安码科技有限公司 Method for utilizing Elagamal public key algorithm to generate software license code
CN102810141A (en) * 2011-06-01 2012-12-05 哈尔滨市和协岛数码科技有限公司 Software lease authorization method based on attribute encryption
CN103326879A (en) * 2013-04-01 2013-09-25 山东鲁能软件技术有限公司 Registration code management system and method for managing same
CN103914635A (en) * 2012-12-29 2014-07-09 中国航空工业集团公司第六三一研究所 Eclipse software product authorization permission management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000646A (en) * 2007-01-17 2007-07-18 北京大学 Copyright protection method and system for digital contents controlled by time
CN101082950A (en) * 2007-07-10 2007-12-05 侯同济 Software encrypting registration piracy-preventing method
CN102110199A (en) * 2009-12-28 2011-06-29 北京安码科技有限公司 Method for utilizing Elagamal public key algorithm to generate software license code
CN102810141A (en) * 2011-06-01 2012-12-05 哈尔滨市和协岛数码科技有限公司 Software lease authorization method based on attribute encryption
CN103914635A (en) * 2012-12-29 2014-07-09 中国航空工业集团公司第六三一研究所 Eclipse software product authorization permission management method
CN103326879A (en) * 2013-04-01 2013-09-25 山东鲁能软件技术有限公司 Registration code management system and method for managing same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111712883A (en) * 2018-02-09 2020-09-25 费森尤斯维尔公司 Method for registering a user in a medical software application

Similar Documents

Publication Publication Date Title
US10019601B2 (en) Method and apparatus for securely saving and restoring the state of a computing platform
CN109416720B (en) Maintaining operating system secrets across resets
US10846374B2 (en) Availability of permission models in roaming environments
US11012241B2 (en) Information handling system entitlement validation
US6625729B1 (en) Computer system having security features for authenticating different components
US6625730B1 (en) System for validating a bios program and memory coupled therewith by using a boot block program having a validation routine
US8332631B2 (en) Secure software licensing and provisioning using hardware based security engine
US8375369B2 (en) Run-time code injection to perform checks
TWI476683B (en) Secure firmware update
US8839236B2 (en) Virtual machine support for metered computer usage
US7073064B1 (en) Method and apparatus to provide enhanced computer protection
WO2018229640A1 (en) Securing operating system configuration using hardware
US20130254906A1 (en) Hardware and Software Association and Authentication
US9336369B2 (en) Methods of licensing software programs and protecting them from unauthorized use
CN103329095B (en) Authenticate a hypervisor with encoded information
US11048551B2 (en) Secure delivery and deployment of a virtual environment
CN107003866A (en) The safety establishment of encrypted virtual machine from encrypted template
CN107466455B (en) POS machine security verification method and device
CN110018841A (en) A kind of UEFI BIOS upgrade method, system and relevant apparatus
US11659005B2 (en) Systems and methods for self-protecting and self-refreshing workspaces
TW202001651A (en) Automatic verification method and system thereof
CN106778085A (en) A kind of software encryption and protection and the method for automatically renewed
US11715079B2 (en) Maintaining secure access to a self-service terminal (SST)
JP2019057044A (en) Bios management device, bios management system, bios management method, and bios management program
CN110781459A (en) Authorization permission management and control method, system and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication