CN106570353A - WEB-based license verification method, apparatus and system - Google Patents

WEB-based license verification method, apparatus and system Download PDF

Info

Publication number
CN106570353A
CN106570353A CN201610867732.XA CN201610867732A CN106570353A CN 106570353 A CN106570353 A CN 106570353A CN 201610867732 A CN201610867732 A CN 201610867732A CN 106570353 A CN106570353 A CN 106570353A
Authority
CN
China
Prior art keywords
license
web
trust
current
files
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
CN201610867732.XA
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 Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System 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 Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201610867732.XA priority Critical patent/CN106570353A/en
Publication of CN106570353A publication Critical patent/CN106570353A/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a WEB-based license verification method, apparatus and system. The method comprises: verifying a license initialization file returned by a software product owner, storing a verification result into a trust library, and when the verification is passed, initializing target software to modify the license initialization file and a license verification module program in a WEB system; verifying a license authorization file returned by the software product owner, storing a verification result into the trust library, and authorizing the target software to modify the license authorization file and the license verification module program in the WEB system; and storing verification results of the current license authorization file during the running of the target software in each time to the trust library, and carrying out exception handling when the amount of trust of the trust library is insufficient. According to the method, apparatus and system provided by the present invention, the software is run based on the real-time verification module program and the amount of trust, so that the copyright protection effect of the software product can be improved.

Description

A kind of license verification methods, apparatus and system based on WEB
Technical field
The present invention relates to field of computer technology, it is more particularly to a kind of based on the license verification methods of WEB, device and System.
Background technology
The behavior such as arbitrarily distorted, cracked, being copied to prevent from existing software, each exclusive software product is generally to there is software Authorization function, user only just can legal use software product in the case of by software license.
At present, can be by letters such as checking authorization code, MAC (Media Access Control, media access control) addresses The validity of breath, to carry out soft ware authorization checking.
But, existing soft ware authorization verification mode is relatively simple so that the copy protection effect of software product is not good.
The content of the invention
The invention provides a kind of license (licensing) verification method, apparatus and system based on WEB, it is possible to increase The copy protection effect of software product.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
In a first aspect, the invention provides a kind of license verification methods based on WEB, including:
The environment configurations parameter of current WEB systems is submitted to into the software product owner of outside to ask initialized target Software, and receive the corresponding license initialization files of the environment configurations parameter of its return;
The license initialization files are verified, and corresponding check results are stored into the trust storehouse set up, and Verification is when passing through, using the license initialization files initializing the target software;
By initializing the target software, the license initialization files and the verification of WEB systems license are changed Modular program;
Current license initialization files are submitted to into the software product owner to ask to authorize the target soft Part, and receive the described current corresponding license authorities of license initialization files of its return;
The license authorities are verified, and corresponding check results are stored into the trust storehouse, and in verification By when, using the license authorities authorizing the target software;
By authorizing the target software, the license authorities and current WEB systems license school are changed Test modular program;
It is equal to the check results of current license authorities when each time WEB systems are run into the target software Store into the trust storehouse, and when the trust amount for monitoring the trust storehouse is unsatisfactory for given threshold, carry out exception Reason.
Further, the mandate includes:It is on probation to authorize, or, duly authorized;
It is described to authorize as during mandate on probation, the method also includes:Current license authorities on probation are submitted to into institute The software product owner is stated to ask target software described in duly authorized, and receives the described current license examinations of its return With the corresponding license duly authorized file of authority;Verify the license duly authorized file, and by corresponding school Test result to store into the trust storehouse, and when verification passes through, using the license duly authorized file with duly authorized The target software;By target software described in duly authorized, the license duly authorized file and current WEB are changed System license correction verification module program;
Wherein, the license initialization files, license authority on probation, the license are formally awarded The time factor that includes increases successively in power file, and for any instant of WEB systems, current license files and works as The conditional code included in front WEB system license correction verification module programs matches.
Further, the trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/ Or, the number of times of the verification failure accounts for the percentage of integrity checking number of times;
The abnormality processing that carries out includes:Secondary checking is performed, or, destroying current license authorities.
Further, the WEB systems license correction verification module program includes:WEB systems license verification class Class files;
The method also includes:During target software described in WEB system operations, the trust storehouse is periodically monitored Trust amount whether meet given threshold, if so, detect the authorization message of current license files, and according to detecting Authorization message change current class files.
Second aspect, the invention provides a kind of license based on WEB verifies device, including:
First communication unit, the software product for the environment configurations parameter of current WEB systems to be submitted to outside owns Person receives the corresponding license initialization files of the environment configurations parameter of its return to ask initialized target software;
Initialization unit, for verifying the license initialization files, and corresponding check results is stored to foundation Trust storehouse in, and when verification passes through, using the license initialization files initializing the target software;
First processing units, for by the initialization target software, change the license initialization files and WEB system license correction verification module programs;
Second communication unit, for by current license initialization files submit to the software product owner with Ask to authorize the target software, and receive described current corresponding license of license initialization files of its return and award Power file;
First granted unit, for verifying the license authorities, and corresponding check results is stored to described In trusting storehouse, and when verification passes through, using the license authorities authorizing the target software;
Second processing unit, for by authorizing the target software, changing license authorities and current WEB system license correction verification module programs;
Monitoring unit, during for each time WEB systems to be run into the target software, to current license text is authorized The check results of part are stored into the trust storehouse, and are unsatisfactory for given threshold in the trust amount for monitoring the trust storehouse When, carry out abnormality processing.
Further, the mandate includes:It is on probation to authorize, or, duly authorized;
The license checking devices authorized during mandate on probation, to be based on WEB also include:Third communication unit, uses Submit to the software product owner to ask target described in duly authorized soft in current license is tried out into authority Part, and receive the described current license corresponding license duly authorized files of authority on probation of its return;
Second granted unit, for verifying the license duly authorized file, and by corresponding check results store to It is soft with target described in duly authorized using the license duly authorized file in the trust storehouse, and when verification passes through Part;
3rd processing unit, for by target software described in duly authorized, changing the license duly authorized file With current WEB system license correction verification module programs;
Wherein, the license initialization files, license authority on probation, the license are formally awarded The time factor that includes increases successively in power file, and for any instant of WEB systems, current license files and works as The conditional code included in front WEB system license correction verification module programs matches.
Further, the trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/ Or, the number of times of the verification failure accounts for the percentage of integrity checking number of times;
The monitoring unit, during specifically for being unsatisfactory for given threshold in the trust amount for monitoring the trust storehouse, holds The secondary checking of row, or, destroying current license authorities.
Further, the WEB systems license correction verification module program includes:WEB systems license verification class Class files;
The monitoring unit, is additionally operable to during target software described in WEB system operations, periodically monitors described Whether the trust amount for trusting storehouse meets given threshold, if so, detects the authorization message of current license files, and according to The authorization message for detecting changes current class files.
The third aspect, the invention provides a kind of license checking systems based on WEB, including:
Any of the above-described described license checking devices, the software product owner, software product user based on WEB;
The software product user, for the license checking devices described in Jing based on WEB, to produce to the software The product owner asks initialized target software;License checking devices described in Jing based on WEB, with to the software product institute The person's of having request authorizes the target software;
The software product owner, for verifying the environment configurations that the license checking devices based on WEB are submitted to Parameter, and when being verified, to its corresponding license initialization files of return environment configurations parameter;Checking is described The license initialization files that license checking devices based on WEB are submitted to, and when being verified, it is described to its return The corresponding license authorities of license initialization files.
Further, the software product owner returns license initialization files and license authorities In, carry at least one in environment configurations parameter, conditional code, period of validity, credit line, time factor, IP address.
The invention provides a kind of license verification methods, apparatus and system based on WEB, verification software product owns The license initialization files that person returns, in storehouse is trusted, initialized target software is to change when verification passes through for storage check results License initialization files and WEB system license correction verification module programs;The license that the verification software product owner returns Authority, storage check results in trust storehouse, verify by when authorize target software with change license authorities and WEB system license correction verification module programs;The verification of current license authorities will be tied during each run target software Fruit is stored in trust storehouse, and carries out abnormality processing when trusting the trust amount deficiency in storehouse.Based on real-time correction verification module program and Amount is trusted with runs software, therefore the present invention can improve the copy protection effect of software product.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of license verification methods based on WEB that one embodiment of the invention is provided;
Fig. 2 is the flow chart of the license verification methods that the another kind that one embodiment of the invention is provided is based on WEB;
Fig. 3 is the schematic diagram that a kind of license based on WEB that one embodiment of the invention is provided verifies device;
Fig. 4 is the schematic diagram of the license checking devices that the another kind that one embodiment of the invention is provided is based on WEB;
Fig. 5 is a kind of schematic diagram of license checking systems based on WEB that one embodiment of the invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of license verification methods based on WEB, can include following Step:
Step 101:The environment configurations parameter of current WEB systems is submitted to into the software product owner of outside to ask just Beginningization target software, and receive the corresponding license initialization files of the environment configurations parameter of its return.
Step 102:The license initialization files are verified, and corresponding check results are stored to the trust set up In storehouse, and when verification passes through, using the license initialization files initializing the target software.
Step 103:By initializing the target software, the license initialization files and WEB systems are changed License correction verification module programs.
Step 104:Current license initialization files are submitted to into the software product owner to ask to authorize institute Target software is stated, and receives the described current corresponding license authorities of license initialization files of its return.
Step 105:The license authorities are verified, and corresponding check results are stored into the trust storehouse, And when verification passes through, using the license authorities authorizing the target software.
Step 106:By authorizing the target software, the license authorities and current WEB systems are changed License correction verification module programs.
Step 107:School when each time WEB systems are run into the target software, to current license authorities Test result to store into the trust storehouse, and when the trust amount for monitoring the trust storehouse is unsatisfactory for given threshold, enter Row abnormality processing.
A kind of license verification methods based on WEB are embodiments provided, the verification software product owner returns License initialization files, storage check results in trusting storehouse, verification when passing through initialized target software to change License initialization files and WEB system license correction verification module programs;The license that the verification software product owner returns Authority, storage check results in trust storehouse, verify by when authorize target software with change license authorities and WEB system license correction verification module programs;The verification of current license authorities will be tied during each run target software Fruit is stored in trust storehouse, and carries out abnormality processing when trusting the trust amount deficiency in storehouse.Based on real-time correction verification module program and Amount is trusted with runs software, therefore the embodiment of the present invention can improve the copy protection effect of software product.
In detail, WEB systems on startup, can verify current license initialization files, and set up local trust Storehouse, trusting storehouse is used to store the check results of license files.Wherein it is possible to check results encryption is stored.
In detail, when arbitrary license files are received, it is verified first, and no matter verifies successfully or lose Lose, check results are stored in trust storehouse.Then, if verifying successfully, current license file starts can be utilized Software, if verification failure, can again perform checking procedure, until verification passes through.
In detail, when WEB systems are authorized, can with the current license files of automatic detection and it is local trust storehouse, two Person can change current WEB system license correction verification module programs after checking, and change current license File, such as can be to license files write authorization date, IP address information.
In one embodiment of the invention, with step 107, before step 104, equally can be each by WEB systems During the secondary operation target software, the check results of current license initialization files are stored into the trust storehouse, And when the trust amount for monitoring the trust storehouse is unsatisfactory for given threshold, carry out abnormality processing.
In one embodiment of the invention, the mandate includes:It is on probation to authorize, or, duly authorized;
It is described to authorize as during mandate on probation, the method may further include:By current license authorities on probation Submit to the software product owner to ask target software described in duly authorized, and receive the described current of its return The license corresponding license duly authorized files of authority on probation;The license duly authorized file is verified, and will Corresponding check results are stored into the trust storehouse, and when verification passes through, using the license duly authorized file with Target software described in duly authorized;By target software described in duly authorized, change the license duly authorized file and work as Front WEB system license correction verification module programs;
Wherein, the license initialization files, license authority on probation, the license are formally awarded The time factor that includes increases successively in power file, and for any instant of WEB systems, current license files and works as The conditional code included in front WEB system license correction verification module programs matches.
In detail, license initialization files, license authority on probation, license duly authorized file can be with The license files of different growth periods are shown functionally in, therefore may be collectively referred to as license files.
In detail, the growth cycle of license files can at least have following several implementations:
Mode 1:When the mandate in above-described embodiment is authorized to try out, the growth cycle of license files can be first Beginningization, mandate on probation, file abnormality processing.I.e. on initialized basis, mandate on probation can be carried out, try out licensing process If in exist abnormal, carry out file abnormality processing, such as file is destroyed.Therefore the growth cycle of license files can be:Initially Change → mandate on probation → destroy.
Mode 2:When the mandate in above-described embodiment is duly authorized, the growth cycle of license files can be first Beginningization, duly authorized, file abnormality processing.I.e. on initialized basis, authorization stages on probation can be skipped, directly be carried out Duly authorized, and if exist abnormal during duly authorized, carry out file abnormality processing, such as file is destroyed.Therefore license is literary The growth cycle of part can be:Initialization → duly authorized → destruction.
Mode 3:According to aforesaid way 1, on the basis for authorizing on probation, duly authorized can be carried out.I.e. in initialization Basis on, mandate on probation can be carried out, and on the basis for authorizing on probation, can further carry out duly authorized.No Cross, during mandate on probation and duly authorized are arbitrary, if there is exception, carry out file abnormality processing, such as file is destroyed. Therefore the growth cycle of license files can be:Initialization → mandate → duly authorized → destruction on probation.
In detail, in order to the growth cycle for ensureing license files is irreversible, therefore license initialization files, License is tried out in authority, license duly authorized files and is included time factor, and the time factor for including is equal Increase successively.
Additionally, for any instant of WEB systems, current license files and current WEB systems license school Testing the conditional code included in modular program should match.For example, simply, using license initialization files initializing During target software, the conditional code in license initialization files and WEB system license correction verification module programs can be marked It is designated as 0;During using license authorities on probation with mandate target software on probation, conditional code is accordingly labeled as 1;Profit During with license duly authorized file with duly authorized target software, conditional code is accordingly labeled as 2.Thus, each During the current license files of secondary verification WEB systems, current license files and current WEB systems license verification The conditional code included in modular program should be consistent, otherwise, then authentication failed.
For example, the trial period in a certain user to target software, cause if the trust amount for trusting storehouse is too low License files are destroyed, therefore the conditional code included in current WEB system license correction verification module programs is 1, if the user Again a license initialization files are copied to attempt to reinitialize target software, license initialization files is being entered Row checking when, due to the conditional code of current license files and current WEB systems license correction verification module program it is inconsistent, then Checking does not pass through, therefore can prevent user from using the target software.
From the foregoing, it will be observed that not only can be according to the time factor of different phase license file, while can be according to current License files implementations consistent with the conditional code of current WEB system license correction verification module programs, and can basis The trust amount in the corresponding trust storehouse of WEB systems, with comprehensive from many aspects the irreversible of license file growth cycles is ensured Property, therefore the software of software product user's unauthorized use of software product owner offer is provided, such that it is able to effective protection software The copyright of product.
In an embodiment of the invention, the trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/ Or, the number of times of the verification failure accounts for the percentage of integrity checking number of times;
The abnormality processing that carries out includes:Secondary checking is performed, or, destroying current license authorities.
In detail, in the embodiment of the present invention, no matter license file verification success or not is stored in check results In trusting storehouse.Wherein, it is that the number of times for verifying failure may decide that the trust amount for trusting storehouse to trust the check results in storehouse.Cause This, authorizes and there is abnormal cause during duly authorized is arbitrary on probation, can be WEB system monitorings to trust storehouse Trust amount it is too low.
When trusting amount less than given threshold, abnormality processing can be carried out.According to different practical application requests, Ke Yixuan Select the secondary checking of execution or destroy current license files.Wherein, secondary checking can have various checking implementations, this No further details to be given herein for embodiment.
In an embodiment of the invention, the WEB systems license correction verification module program includes:WEB systems License verifies the class files of class;
The method may further include:During target software described in WEB system operations, institute is periodically monitored Whether the trust amount for stating trust storehouse meets given threshold, if so, detects the authorization message of current license files, and root Current class files are changed according to the authorization message for detecting.
In detail, when WEB systems correspond to Java language, WEB system license correction verification modules program can be WEB System license verifies the class files of class.
In detail, when WEB systems provide software service, can whether there is with periodic inspection license files and license The authorization message of file, and class files are changed according to the authorization message of the license files.
In an embodiment of the invention, before WEB systems each time operational objective software, trust storehouse can first be detected Trust amount, only trust amount when meeting given threshold, then current license files are verified.
As shown in Fig. 2 one embodiment of the invention provides another kind of license verification methods based on WEB, the method So that the corresponding WEB systems of Java language carry out license checkings as an example, following steps are specifically included:
Step 201:The environment configurations parameter of current WEB systems is submitted to into the software product owner to ask to initialize mesh Mark software, and receive the corresponding license initialization files of the environment configurations parameter of its return.
In detail, the software product owner can verify when environment configurations parameter is received to it, if verification is logical Cross, then corresponding license initialization files are generated based on the environment configurations parameter, if verification failure, can carry out exception Reason, such as feeds back abnormal factorses.
Step 202:The license initialization files that the verification software product owner returns, and by corresponding check results Store into the trust storehouse set up, and when verification passes through, using the license initialization files with initialized target software.
In detail, during WEB system checks license initialization files, local trust storehouse can be generated.Wherein, storehouse is trusted WEB system databases and operating system system directory can be included.Trust storehouse can be used for storage, and each time verification license is literary The check results of part, in order to the trust amount that can trust storehouse with real-time monitoring.
In detail, the trust amount for trusting storehouse can be to trust the number of times that the check results stored in storehouse are verification failure, And/or, the number of times for verifying failure accounts for the percentage of integrity checking number of times.The number of times of verification failure is fewer, and its percentage is lower, The trust amount for trusting storehouse is higher.
Step 203:By initialized target software, modification license initialization files and the verification of WEB systems license The class files of class.
In detail, after target software initialization, need to change current license files and class files, for example can be with Modification conditional code, time factor, licensing term etc..
Step 204:By WEB systems each time operational objective software when, the verification to current license initialization files As a result store into trust storehouse.
After target software successful initialization, WEB systems generally can normally use in a short time the target software.In this process In, WEB systems each time operational objective software when, be both needed to run checking routine to verify to current license files, And store check results.
During verification failure, verification is may be repeated, until verification is by with normal operational objective software, but can be in trust The information for verifying failure each time is recorded in storehouse, the trust amount for trusting storehouse can be caused to decrease when the frequency of failure is excessive, very To causing WEB systems to destroy current license files, so that user cannot use target software.
Step 205:Current license initialization files are submitted to into the software product owner to ask mandate mesh on probation Mark software, and receive the current corresponding license of license initialization files of its return authorities on probation.
In detail, mandate on probation should be set up on initialized basis, therefore request is tried out when authorizing target software, can So that current license files, i.e., current license initialization files submit to the software product owner.It is same as above, The software product owner verifies the license initialization files that it is received, when verification passes through, based on the license initialization File tries out authority to generate license.
Step 206:The license authorities on probation that the verification software product owner returns, and corresponding verification is tied Fruit is stored to trusting in storehouse, and when verification passes through, and target software is authorized with probation using license authorities on probation.
Step 207:Target software is authorized by probation, modification license authorities on probation and current class are literary Part.
Step 208:By WEB systems each time operational objective software when, the school to current license authorities on probation Test result to store into trust storehouse.
Step 209:Current license authorities on probation are submitted to the software product owner to ask duly authorized Target software, and receive the current license corresponding license duly authorized files of authority on probation of its return.
When duly authorized target software is asked during on probation mandate, need current license files, i.e., when Front license authorities on probation submit to the software product owner.Same as above, the software product owner can return phase The license duly authorized files answered.
Step 210:The license duly authorized files that the verification software product owner returns, and corresponding verification is tied Fruit is stored into trust storehouse, and when verification passes through, using the license duly authorized file with duly authorized target software.
Step 211:By duly authorized target software, change license duly authorized file and current class is literary Part.
Step 212:By WEB systems each time operational objective software when, the school to current license duly authorized files Test result to store into trust storehouse.
Step 213:During WEB system operation target softwares, whether the trust amount that periodic monitoring trusts storehouse is full Sufficient given threshold, if so, detects the authorization message of current license files, and is worked as according to the authorization message modification for detecting Front class files, otherwise, destroy current license files.
As shown in the above, the life cycle of license files can be followed successively by initialization, mandate on probation, formally award Power, destruction.To ensure the irreversibility of the life cycle, when can include in the license files of different life stages Between the factor, and time factor gradually increases with delaying for life cycle.
Simultaneously as in the different life stage runs softwares of license files, can with real time modifying class files, Its conditional code such as can be constantly changed, therefore when current license files are verified each time, can be required current License files match with current class files.
As shown in figure 3, one embodiment of the invention provides a kind of license based on WEB verifies device 30, including:
First communication unit 301, for the environment configurations parameter of current WEB systems to be submitted to the software product institute of outside The person of having receives the corresponding license initialization text of the environment configurations parameter of its return to ask initialized target software Part;
Initialization unit 302, for verifying the license initialization files, and by corresponding check results store to In the trust storehouse of foundation, and when verification passes through, using the license initialization files initializing the target software;
First processing units 303, for by the initialization target software, changing the license initialization files With WEB system license correction verification module programs;
Second communication unit 304, for current license initialization files to be submitted to into the software product owner To ask to authorize the target software, and receive the described current corresponding license of license initialization files of its return Authority;
First granted unit 305, for verifying the license authorities, and by corresponding check results store to In the trust storehouse, and when verification passes through, using the license authorities authorizing the target software;
Second processing unit 306, for by authorizing the target software, changing the license authorities and working as Front WEB system license correction verification module programs;
Monitoring unit 307, during for each time WEB systems to be run into the target software, authorizes to current license The check results of file are stored into the trust storehouse, and are unsatisfactory for setting threshold in the trust amount for monitoring the trust storehouse During value, abnormality processing is carried out.
In an embodiment of the invention, the mandate includes:It is on probation to authorize, or, duly authorized;
It is described to authorize the license checking devices that WEB was based on during mandate on probation, to refer to Fig. 4 to include: Third communication unit 401, for current license authorities on probation to be submitted to into the software product owner to ask Target software described in duly authorized, and receive the described current license corresponding license of authority on probation of its return Duly authorized file;
Second granted unit 402, for verifying the license duly authorized file, and corresponding check results is deposited Store up into the trust storehouse, and when verification passes through, using the license duly authorized file with target described in duly authorized Software;
3rd processing unit 403, for by target software described in duly authorized, changing the license duly authorized File and current WEB system license correction verification module programs;
Wherein, the license initialization files, license authority on probation, the license are formally awarded The time factor that includes increases successively in power file, and for any instant of WEB systems, current license files and works as The conditional code included in front WEB system license correction verification module programs matches.
In an embodiment of the invention, the first above-mentioned communication unit, the second communication unit, third communication unit may be used also Think same communication unit;Initialization unit, the first granted unit, the second granted unit can be same running software unit, First processing units, second processing unit, the 3rd processing unit can manage unit for same place.
In an embodiment of the invention, the trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/ Or, the number of times of the verification failure accounts for the percentage of integrity checking number of times;
The monitoring unit 307, during specifically for being unsatisfactory for given threshold in the trust amount for monitoring the trust storehouse, Secondary checking is performed, or, destroying current license authorities.
In an embodiment of the invention, the WEB systems license correction verification module program includes:WEB systems License verifies the class files of class;
The monitoring unit 307, is additionally operable to during target software described in WEB system operations, periodically monitor Whether the trust amount in the trust storehouse meets given threshold, if so, detects the authorization message of current license files, and Current class files are changed according to the authorization message for detecting.
As shown in figure 5, a kind of license checking systems based on WEB are embodiments provided, including:
Any of the above-described described license checking devices 30 based on WEB, the software product owner 50, software product make With side 60;
The software product user 60, for the license checking devices 30 described in Jing based on WEB, with to described soft The part product owner 50 asks initialized target software;License checking devices 30 described in Jing based on WEB, with to described soft The request of the part product owner 50 authorizes the target software;
The software product owner 50, for verifying the environment that the license checking devices 30 based on WEB are submitted to Configuration parameter, and when being verified, to its corresponding license initialization files of return environment configurations parameter;Checking The license initialization files that the license checking devices 30 based on WEB are submitted to, and when being verified, to its return The corresponding license authorities of the license initialization files.
In detail, the license checkings device based on WEB can utilize the WEB systems for arranging thereon, perform license Verification method, and this verification method goes for varying environment, such as go for internet environment, LAN environment With standalone version environment.
Wherein, when the software product owner generates license initialization files, can be according to the execution ring of verification method Border, selects suitable cipher mode, encryption key, authentication mechanism, parameter configuration etc..For example, the corresponding checking of internet environment Mechanism can verify that the corresponding authentication mechanism of LAN environment can be verified for local license, standalone version environment pair for networking The authentication mechanism answered can be file verification.
In an embodiment of the invention, the software product owner 50 returns license initialization files and In license authorities, environment configurations parameter, conditional code, period of validity, credit line, time factor, IP address are carried In at least one.
In detail, the license initialization of target software, it is on probation authorize, duly authorized has the software product owner to enter Row management, therefore it is when license initialization files and license authorities is generated, and it can be made to include environment configurations ginseng The information such as number, conditional code, period of validity, credit line, time factor, IP address.
In detail, license files can be generated by key certificate encryption, and be digitally signed, therefore license is literary The transmitting procedure of part is safe and reliable.Wherein, the software product owner can select suitable adding according to different actual demands Close mode.
In detail, when the software product owner carries out that license is on probation to be authorized, need to set up in license initialization texts Carry out on the basis of part, and verify the legitimacy and validity of license initialization files, then can be according to license The parameters such as initialization files, mandate period of validity on probation, credit line, to generate license authorities on probation.
Accordingly, when the software product owner carries out license duly authorized, need to set up in license initialization texts Carry out on the basis of part, or foundation is carried out on the basis of license authorities on probation.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In sum, each embodiment of the invention at least has the advantages that:
1st, in the embodiment of the present invention, the license initialization files that the verification software product owner returns, storage verification knot , in storehouse is trusted, initialized target software is to change license initialization files and WEB systems license school when verification passes through for fruit Test modular program;The license authorities that the verification software product owner returns, storage check results are verified in storehouse is trusted By when authorize target software changing license authorities and WEB system license correction verification module programs;To transport every time The check results of current license authorities are stored in during row target software trust storehouse, and trust the trust amount in storehouse not Abnormality processing is carried out when sufficient.Based on real-time correction verification module program and trust amount with runs software, therefore embodiment of the present invention energy Enough improve the copy protection effect of software product.
2nd, in the embodiment of the present invention, not only can be according to the time factor of different phase license file, while can be with root According to current license files implementations consistent with the conditional code of current WEB system license correction verification module programs, and Can be according to the trust amount in the corresponding trust storehouse of WEB systems, with comprehensive guarantee license file growth cycles from many aspects Irreversibility, therefore the software for avoiding software product user's unauthorized use of software product owner from providing, protect such that it is able to effective The copyright of shield software product.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including ", does not arrange Except also there is other identical factor in including the process of the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, the program Upon execution, the step of including said method embodiment is performed;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of licensing license verification methods based on WEB, it is characterised in that include:
The environment configurations parameter of current WEB systems is submitted to into the software product owner of outside to ask initialized target soft Part, and receive the corresponding license initialization files of the environment configurations parameter of its return;
The license initialization files are verified, and corresponding check results are stored into the trust storehouse set up, and in verification By when, using the license initialization files initializing the target software;
By initializing the target software, the license initialization files and WEB system license correction verification modules are changed Program;
Current license initialization files are submitted to into the software product owner to ask to authorize the target software, And receive its return the described current corresponding license authorities of license initialization files;
The license authorities are verified, and corresponding check results are stored into the trust storehouse, and passed through in verification When, using the license authorities authorizing the target software;
By authorizing the target software, the license authorities and current WEB system license calibration modes are changed Block program;
When each time WEB systems are run into the target software, the check results of current license authorities are stored Into the trust storehouse, and when the trust amount for monitoring the trust storehouse is unsatisfactory for given threshold, carry out abnormality processing.
2. method according to claim 1, it is characterised in that
The mandate includes:It is on probation to authorize, or, duly authorized;
It is described to authorize during mandate on probation, to further include:Current license authorities on probation are submitted to into the software The product owner receives the described current license of its return mandates on probation to ask target software described in duly authorized The corresponding license duly authorized file of file;Verify the license duly authorized file, and by corresponding check results Store into the trust storehouse, and when verification passes through, using the license duly authorized file with mesh described in duly authorized Mark software;By target software described in duly authorized, the license duly authorized file and current WEB systems are changed License correction verification module programs;
Wherein, the license initialization files, license authority on probation, license duly authorized text The time factor included in part increases successively, and for any instant of WEB systems, current license files and current The conditional code included in WEB system license correction verification module programs matches.
3. method according to claim 1, it is characterised in that
The trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/or, institute The number of times for stating verification failure accounts for the percentage of integrity checking number of times;
The abnormality processing that carries out includes:Secondary checking is performed, or, destroying current license authorities.
4. according to arbitrary described method in claims 1 to 3, it is characterised in that
The WEB systems license correction verification module program includes:WEB systems license verify the class files of class;
Further include:During target software described in WEB system operations, the trust in the trust storehouse is periodically monitored Whether amount meets given threshold, if so, detects the authorization message of current license files, and according to the mandate for detecting Information changes current class files.
5. a kind of licensing license based on WEB verifies device, it is characterised in that include:
First communication unit, for by the environment configurations parameter of current WEB systems submit to outside the software product owner with Request initialized target software, and receive the corresponding license initialization files of the environment configurations parameter of its return;
Initialization unit, for verifying the license initialization files, and corresponding check results is stored to the letter set up In appointing storehouse, and when verification passes through, using the license initialization files initializing the target software;
First processing units, for by the initialization target software, changing the license initialization files and WEB systems System license correction verification module programs;
Second communication unit, for current license initialization files to be submitted to into the software product owner to ask The target software is authorized, and receives the described current corresponding license of license initialization files of its return and authorize text Part;
First granted unit, for verifying the license authorities, and corresponding check results is stored to the trust In storehouse, and when verification passes through, using the license authorities authorizing the target software;
Second processing unit, for by authorizing the target software, changing the license authorities and current WEB System license correction verification module program;
Monitoring unit, during for each time WEB systems to be run into the target software, to current license authorities Check results are stored into the trust storehouse, and when the trust amount for monitoring the trust storehouse is unsatisfactory for given threshold, Carry out abnormality processing.
6. the license based on WEB according to claim 5 verifies device, it is characterised in that
The mandate includes:It is on probation to authorize, or, duly authorized;
It is described to authorize during mandate on probation, also to include:Third communication unit, for current license to be tried out into authority Submit to the software product owner to ask target software described in duly authorized, and receive the described current of its return The license corresponding license duly authorized files of authority on probation;
Second granted unit, for verifying the license duly authorized file, and corresponding check results is stored to described In trusting storehouse, and when verification passes through, using the license duly authorized file with target software described in duly authorized;
3rd processing unit, for by target software described in duly authorized, changing the license duly authorized file and working as Front WEB system license correction verification module programs;
Wherein, the license initialization files, license authority on probation, license duly authorized text The time factor included in part increases successively, and for any instant of WEB systems, current license files and current The conditional code included in WEB system license correction verification module programs matches.
7. the license based on WEB according to claim 5 verifies device, it is characterised in that
The trust storehouse includes:WEB system databases and operating system system directory;
The trust amount in the trust storehouse includes:It is the number of times for verifying failure to trust the check results stored in storehouse, and/or, institute The number of times for stating verification failure accounts for the percentage of integrity checking number of times;
The monitoring unit, during specifically for being unsatisfactory for given threshold in the trust amount for monitoring the trust storehouse, performs two Secondary checking, or, destroying current license authorities.
8. device is verified according to arbitrary described license based on WEB in claim 5 to 7, it is characterised in that
The WEB systems license correction verification module program includes:WEB systems license verify the class files of class;
The monitoring unit, is additionally operable to during target software described in WEB system operations, periodically monitor the trust Whether the trust amount in storehouse meets given threshold, if so, detects the authorization message of current license files, and according to detection The authorization message for arriving changes current class files.
9. a kind of licensing license checking systems based on WEB, it is characterised in that include:
The license checking devices based on WEB as described in arbitrary in claim 5 to 8, the software product owner, software are produced Product user;
The software product user, for the license checking devices described in Jing based on WEB, with to the software product institute The person of having asks initialized target software;License checking devices described in Jing based on WEB, with to the software product owner Request authorizes the target software;
The software product owner, for verifying the environment configurations ginseng that the license checking devices based on WEB are submitted to Number, and when being verified, to its corresponding license initialization files of return environment configurations parameter;Verify the base It is described to its return in the license initialization files that the license checking devices of WEB are submitted to, and when being verified The corresponding license authorities of license initialization files.
10. license checking systems based on WEB according to claim 9, it is characterised in that
In license initialization files and license authorities that the software product owner returns, carry environment and match somebody with somebody Put at least one in parameter, conditional code, period of validity, credit line, time factor, IP address.
CN201610867732.XA 2016-09-30 2016-09-30 WEB-based license verification method, apparatus and system Pending CN106570353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610867732.XA CN106570353A (en) 2016-09-30 2016-09-30 WEB-based license verification method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610867732.XA CN106570353A (en) 2016-09-30 2016-09-30 WEB-based license verification method, apparatus and system

Publications (1)

Publication Number Publication Date
CN106570353A true CN106570353A (en) 2017-04-19

Family

ID=58532578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610867732.XA Pending CN106570353A (en) 2016-09-30 2016-09-30 WEB-based license verification method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106570353A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769027A (en) * 2018-05-31 2018-11-06 深圳壹账通智能科技有限公司 Safety communicating method, device, mobile terminal and storage medium
CN108985012A (en) * 2018-06-15 2018-12-11 中国建设银行股份有限公司 The method and system of authorization protection are carried out to JAVA software
CN113326480A (en) * 2021-06-01 2021-08-31 北京联创新天科技有限公司 Authorization verification method, device, medium and equipment for application program
CN113656101A (en) * 2021-08-17 2021-11-16 成都长城开发科技有限公司 Authorization management method, system, server and user side
CN114629705A (en) * 2022-03-15 2022-06-14 河南信大网御科技有限公司 License authorization configuration method and system for mimicry system
CN117574333A (en) * 2024-01-16 2024-02-20 四川精容数安科技有限公司 Verification method for License validity period of backup software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289003A1 (en) * 2010-05-19 2011-11-24 Google Inc. Electronic License Management
CN103078858A (en) * 2012-12-31 2013-05-01 上海同岩土木工程科技有限公司 Web service and signature certificate-based software trial authorization method
CN104751025A (en) * 2013-12-30 2015-07-01 杭州华三通信技术有限公司 License control method and License control device
CN105912891A (en) * 2015-02-25 2016-08-31 西门子公司 Licensing of software products

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289003A1 (en) * 2010-05-19 2011-11-24 Google Inc. Electronic License Management
CN103078858A (en) * 2012-12-31 2013-05-01 上海同岩土木工程科技有限公司 Web service and signature certificate-based software trial authorization method
CN104751025A (en) * 2013-12-30 2015-07-01 杭州华三通信技术有限公司 License control method and License control device
CN105912891A (en) * 2015-02-25 2016-08-31 西门子公司 Licensing of software products

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈刚等: "虚拟专用网License管理的一种改进方案", 《信息通信》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769027A (en) * 2018-05-31 2018-11-06 深圳壹账通智能科技有限公司 Safety communicating method, device, mobile terminal and storage medium
CN108985012A (en) * 2018-06-15 2018-12-11 中国建设银行股份有限公司 The method and system of authorization protection are carried out to JAVA software
CN113326480A (en) * 2021-06-01 2021-08-31 北京联创新天科技有限公司 Authorization verification method, device, medium and equipment for application program
CN113326480B (en) * 2021-06-01 2024-02-20 北京联创新天科技有限公司 Authorization verification method, device, medium and equipment for application program
CN113656101A (en) * 2021-08-17 2021-11-16 成都长城开发科技有限公司 Authorization management method, system, server and user side
CN114629705A (en) * 2022-03-15 2022-06-14 河南信大网御科技有限公司 License authorization configuration method and system for mimicry system
CN114629705B (en) * 2022-03-15 2023-09-08 河南信大网御科技有限公司 Method and system for license authorization configuration of mimicry system
CN117574333A (en) * 2024-01-16 2024-02-20 四川精容数安科技有限公司 Verification method for License validity period of backup software

Similar Documents

Publication Publication Date Title
CN106570353A (en) WEB-based license verification method, apparatus and system
Hohl A framework to protect mobile agents by using reference states
US8732844B2 (en) Secure serial number
DE60007724T2 (en) CHIP CARD USER INTERFACE FOR A TRUSTED COMPUTER PLATFORM
CN104778141B (en) A kind of TPCM modules based on control system trusted infrastructure and credible detection method
CN108183907A (en) A kind of authentication method, server and Verification System
CN106790272A (en) A kind of system and method for single-sign-on, a kind of application server
US20040073846A1 (en) Memory device, terminal apparatus, and data repair system
Islam et al. Measuring security requirements for software security
CN104160405A (en) Securing device environment for trust provisioning
WO2007052021A2 (en) Secure computer use system
WO2022205963A1 (en) Cross-chain access control method, and apparatus
Meridji et al. System security requirements: A framework for early identification, specification and measurement of related software requirements
CN103970540B (en) Key Functions secure calling method and device
EP1430680B1 (en) Server with file verification
CN106354550A (en) Method, device and system for protecting security of virtual machine
CN116361807A (en) Risk management and control method and device, storage medium and electronic equipment
Merkow et al. Secure and resilient software: Requirements, test cases, and testing methods
CN106997435A (en) A kind of method of operating system security prevention and control, apparatus and system
CN106557682B (en) The authority checking method and device of softdog
CN106886473A (en) A kind of startup method of server, device and server
CN116738392A (en) Software and hardware verification method for main control system of wind generating set
CN109388915A (en) A kind of software authorization method, apparatus and system
CN110781459A (en) Authorization permission management and control method, system and electronic equipment
CN110502380A (en) A kind of method of hash algorithm coprocessor self-test

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: 20170419

RJ01 Rejection of invention patent application after publication