CN107885979A - A kind of method, apparatus of software free trial, equipment on probation and storage medium - Google Patents

A kind of method, apparatus of software free trial, equipment on probation and storage medium Download PDF

Info

Publication number
CN107885979A
CN107885979A CN201711090360.5A CN201711090360A CN107885979A CN 107885979 A CN107885979 A CN 107885979A CN 201711090360 A CN201711090360 A CN 201711090360A CN 107885979 A CN107885979 A CN 107885979A
Authority
CN
China
Prior art keywords
software
application software
service end
registration code
user profile
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
CN201711090360.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.)
Jiangsu Guotai Epoint Software Co Ltd
Original Assignee
Jiangsu Guotai Epoint Software 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 Jiangsu Guotai Epoint Software Co Ltd filed Critical Jiangsu Guotai Epoint Software Co Ltd
Priority to CN201711090360.5A priority Critical patent/CN107885979A/en
Publication of CN107885979A publication Critical patent/CN107885979A/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
    • G06F21/125Restricting unauthorised execution of programs by manipulating the program code, e.g. source code, compiled code, interpreted code, machine code

Abstract

The embodiment of the invention discloses a kind of method, apparatus of software free trial, equipment on probation and storage medium, wherein, method includes:Application software is if it is determined that the software open command received is open command first, then acquisition software installation environmental information is sent to service end interface;Application software is opened in the software registration code matched with software installation status information that application software storage service end interface returns, control;Application software then carries out local verification to the software registration code of storage and/or service end is verified if it is determined that the software open command received is open command once again;According to the result to software registration code, control opens application software or forbids opening application software, to realize the trial period for version application software of being charged by service end Interface limits, so as to when free version application software is switched to charge version application software on trial, avoid repacking installation kit, ensure that user data caused by different editions application software being capable of intercommunication.

Description

A kind of method, apparatus of software free trial, equipment on probation and storage medium
Technical field
The present embodiments relate to computer software application technical field, more particularly to a kind of side of software free trial Method, device, equipment on probation and storage medium.
Background technology
At present, various types of application software emerge in an endless stream, usual for protection intellectual property and commercial interest, software vendor To application software of its research and development can be set when packing installation kit the corresponding trial period, can not be after once the trial period expires software It is continuous to use.If being not provided with the trial period, by providing study version application software corresponding with charge version application software, learn version For application software although without the limitation of trial period, it is functional that it does not have the institute of legal application software.
Charge version application software for setting the trial period, can not quickly be changed, it is necessary to again after being expired in the trial period Packing installation kit.Although and learn version application software not by period of time for approval system, because study version application software and charge version should Installation kit species is different corresponding to software, and user data caused by different editions application software can not carry out intercommunication, Ye Jishou Expense version application software can not be opened, using user data caused by study version application software.
The content of the invention
The present invention provides a kind of method, apparatus of software free trial, equipment on probation and storage medium, passes through clothes to realize The trial period for end interface limitation charge version application software of being engaged in, so as to free version application software on trial is switched to charge version should During with software, avoid repacking installation kit, ensure that user data caused by different editions application software being capable of intercommunication.
In a first aspect, the embodiments of the invention provide a kind of method of software free trial, including:
Application software then obtains software installation environment if it is determined that the software open command received is open command first Information is sent to service end interface;
The software matched with the software installation status information that the application software storage service end interface returns Registration code, and control and open the application software;
The application software is if it is determined that the software open command received is open command once again, then to described in storage Software registration code carries out local verification and/or service end checking;
For the application software according to the result to the software registration code, the application software or taboo are opened in control Only open the application software.
Second aspect, the embodiment of the present invention additionally provide a kind of device of software free trial, applied to application software, bag Include:
First acquisition module, for if it is determined that the software open command received is open command first, then obtaining soft Part installation environment information is sent to service end interface;
First memory module, matched for store that the service end interface returns with the software installation status information Software registration code, and control and open the application software;
First authentication module, for if it is determined that the software open command received is open command once again, then to storage The software registration code carry out local verification and/or service end checking;
First opening module, for opening the application software according to the result to the software registration code, control Or forbid opening the application software.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment on probation, and the equipment on probation includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing The method that device realizes above-mentioned involved any described software free trial.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable storage medium, are stored thereon with computer program, The program realizes above-mentioned involved any described software free trial method when being executed by processor.
The embodiment of the present invention is by application software if it is determined that the software open command received is open command first, then Software installation environmental information is obtained to send to service end interface;Application software storage service end interface return with software installation shape The software registration code of state information matches, and control unlatching application software;Application software is if it is determined that the software unlatching received refers to Make as open command once again, then the software registration code progress local verification to storage and/or service end checking;Application software according to To the result of software registration code, control opens application software or forbids opening application software, in the prior art should solve The application software generation for having to repack installation kit and different editions can not be quickly changed after being expired with Software probation period User data can not intercommunication the problems such as, with realize by service end Interface limits charge version application software trial period, so as to When free version application software is switched to charge version application software on trial, avoids repacking installation kit, ensure different versions User data being capable of intercommunication caused by this application software.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for software free trial that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the method for software free trial that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic diagram of the device for software free trial that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural representation for equipment on probation that the embodiment of the present invention four provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It also should be noted that for the ease of description, illustrate only in accompanying drawing part related to the present invention rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail Into the processing or method described as flow chart.Although operations (or step) are described as the processing of order by flow chart, It is that many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be by again Arrange.The processing can be terminated when its operations are completed, it is also possible to the additional step being not included in accompanying drawing. The processing can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the method for software free trial that the embodiment of the present invention one provides, and the present embodiment can fit The method for providing free trial for charging version software during the trial period, this method can by the device of software free trial Lai Perform, the device can be realized by the mode of software and/or hardware, and can typically be integrated in equipment on probation, this method bag Include following operation:
S110, application software are if it is determined that the software open command received is open command first, then acquisition software is pacified Dress environmental information is sent to service end interface.
Wherein, application software provides free trial function during the trial period, and before the trial period expires, application software can determine When send the trial period i.e. by overdue prompting.For example, the trial period of an application software is 3 months, and used 2 Month, then send that " trial period also has 30 the previous moon being expired using three month of application software namely application software trial period My god ", send within 15 days before being expired in the trial period " trial period also has 15 days ", wherein will the expire interval of prompting of trial period can be 1 day or 2 days, the embodiment of the present invention was to this and is not limited.
In embodiments of the present invention, when application software receives software open command first, backstage obtains software installation Environmental information, and the software installation environmental information of acquisition is sent to service end interface by internet and swashed with carrying out application software Operation living.Wherein, service end is such as to provide resource for client service, the content of service to client, preserve client Data etc..Service end interface and service end and the various services of client interaction data offer are provided.
In an optional embodiment of the present invention, the software installation environmental information includes:It is soft that the application is installed The facility information of the terminal device of part, and receive the temporal information of the open command first;Wherein, the service termination Mouthful be used for the software installation environmental information is sent to service end so that the service end according to it is default activation account and The software installation environmental information generates the software registration code, and is returned the software registration code by the service end interface It is back to the application software.
Wherein, the facility information of terminal device includes user computer information, such as CPU (Central Processing Unit, central processing unit) sequence number and hard disk serial number etc..During application software activation manipulation, application software calls clothes The default activation account of business end interface storage, wherein, activation account can be fixed or revisable.Using Time that software opens the facility information of terminal device, application software first and default activation account while it is sent to clothes Business end interface, service end interface above- mentioned information are simultaneously sent to service end.Service end according to the facility information of terminal device, should Software registration code corresponding to the time opened first with software and default activation account generation.It should be noted that except The information such as time that the facility information of terminal device, application software are opened first and default activation account, software registration code Other kinds of information, such as cell-phone number can also be included.After the generation of software registration code, service end stores it in database In, and send it to application software by servicing end interface and be locally stored.
In an optional embodiment of the present invention, the service end interface is online service web service interfaces.
Wherein, Web service are a platform independence, lower coupling, self-contained, based on programmable web Application program API (the Application Programming Interface, using journey of (World Wide Web, WWW) Sequence DLL), it open XML (EXtensible Markup Language, extensible markup language) standard can be used These application programs are described, issue, find, coordinate and configure, for developing the application program of distributed interoperability.Web Service technologies, can cause the different application that operates on different machines need not by additional, special third party software or Hardware, which is realized, is exchanged with each other data or integrated.Between the application of foundation Web Service enforcement of regulations, not by used language The limitation of speech, platform or internal agreement, can be exchanged with each other data.
Specifically, can use Web service create three interfaces, respectively networking activation account number (RegsvrMyPC), Networking decryption file (VerifyMyPC) and networking territorial restrictions (DefinedMyPC), wherein, networking activation account number (RegsvrMyPC) it is used to preserve caused information during activation manipulation, and specifically performs the behaviour such as activation and service end checking Make.Networking decryption file (VerifyMyPC) is used to behaviour be decrypted in user data caused by the trial employment period to application software Make, corresponding, application software can use TEDS (Triple Data first in user data caused by the trial employment period Encryption Standard, triple DES) generation key is encrypted in algorithm, public key encryption is then used again Algorithm carries out further encryption to key caused by TEDS algorithms and is used for protecting key.Public key encryption algorithm can use RSA (Rivest-Shamir-Adleman, public key encryption algorithm), wherein the private key for RSA decryption oprerations can be stored in service In the database at end, RSA public keys can be stored in the terminal device that application software is installed.When application software receives payment After information, RSA private keys can be made to hardware or software enciphered lock for using, making for application software is controlled by encryption lock With the function that cancellation is controlled by Web Service interfaces to the trial period of application software.Wherein, user data can be with It is to use document caused by application software, such as the Word of office software Office generations, Excel document, or programming software Project project files etc. caused by Visual C++6.0.Territorial restrictions of networking (DefinedMyPC) are used for for different Geographic location area provides personalized software service according to the respective specified of locality, for example, being provided for Hebei province area Software interface color it is partially red, it is and partially blue for the software interface color that is provided of Henan Province area.Although The software service that application software provides personalization for different regions is different, but application software possessed function all phases Together.
For example, the realization of RegsvrMyPC and VerifyMyPC interfaces is completed by XML language:
RegsvrMyPC:
Input XML format:
PCInfo represents the set of active information and user profile, as application software by the facility information of terminal device, should The time opened first with software and default activation account etc..
Export XML format:
RegsvrResult represents to return to the set of active information.
VerifyMyPC:
Input XML format:
FileInfo represents to open the information aggregate of user data.
Export XML format:
VerifyResult represents to open the return information set of user data.
What S120, the application software storage service end interface returned matches with the software installation status information Software registration code, and control and open the application software.
In an embodiment of the present invention, when application software open first laggard line activating operation generation software registration code with Afterwards, software registration code can be stored in the temporary file of application software and be used for local verification, and according to the result of local verification come Decide whether to carry out service end checking.It should be noted that software registration code can also be stored in installation application software terminal In temporary file.
S130, the application software are if it is determined that the software open command received is open command once again, then to storage The software registration code carry out local verification and/or service end checking.
In an embodiment of the present invention, after application software is opened first completes activation manipulation, opened again in application software , it is necessary to carry out local verification or service end checking to the software registration code of storage when opening.Wherein, local verification is soft by installation application The terminal of part is completed, and service end checking is completed by service end.Registration code carries out local verification first, enters again after being verified Row service end is verified.
In an optional embodiment of the present invention, if the application software local verification determines the software registration Code symbol closes setting data configuration specification, then sends the software registration code to the service end interface, so that service end is to institute State software registration code and carry out service end checking;Wherein, the service end, which carries out service end checking to the software registration code, includes It is at least one of following:Whether checking exceedes predetermined threshold value and checking institute using the quantity of the terminal device of the application software State the trial period whether useful life of the application software in institute's installing terminal equipment exceedes the application software.
Specifically, carrying out local verification to software registration code mainly includes:Whether checking software registration code meets setting number According to construction specification.Wherein, setting data configuration specification does not have unified form, in the development process for carrying out application software, Can be self-defined according to real needs progress, for example, the form of software registration code can be:Default activation account-CPU sequences Number-hard disk serial number-opening time first.When carrying out local verification, the Hash table in hash algorithm can be used to software Whether registration code, which meets setting data configuration specification, is verified that Hash table is according to key value and the number that directly conducts interviews According to structure.Hash table is recorded by the way that key value is mapped to a position in table to access, to accelerate the speed searched.
Accordingly, service end checking is carried out to software registration code includes two contents:(1), checking is soft using the application Whether the quantity of the terminal device of part exceedes predetermined threshold value.Wherein, predetermined threshold value can be 2 or 3,4 etc., the present invention Embodiment is to this and is not limited.Whether service end is entered more than predetermined threshold value to the quantity of the terminal device using application software The purpose of row checking is to prevent application software from being used by multiple users.(2), verify that the application software is set in institute's installing terminal Whether standby upper useful life exceedes the trial period of the application software.Application software is freely to use on trial , and the partial function in application software can be restricted.But application software no longer opens for free after the trial period expires, only Receive just all-round opening again after payment information.So during the trial period, it is required for when application software is turned on again Whether expired by the trial period of the server authentication application software, so as to be expired for the trial period or not yet due offer differentiated Service.
S140, the application software open the application software according to the result to the software registration code, control Or forbid opening the application software.
Wherein, software registration code can all have corresponding the result when carrying out local verification and service end is verified.It is soft Part registration code local verification is by rear progress service end checking, can if the result of service end checking is by checking Application software is enough opened, otherwise forbids opening application software.
In an optional embodiment of the present invention, if the application software local verification determines the software registration Code does not meet setting data configuration specification, then reacquires software installation environmental information and send to the service end interface;According to It is described service end interface return the software registration code matched with the software installation status information, update be locally stored it is described Software registration code, and according to the software registration code of renewal, re-start local verification.
Specifically, when software registration code is carrying out local verification, examined to software registration code and be not inconsistent by hash algorithm Setting data configuration specification is closed, then application software needs to re-start activation manipulation.Specifically:Reacquire software installation environment Information, which is simultaneously sent, extremely services end interface, is back to application software by servicing end interface after service end generation software registration code, more The software registration code that is newly locally stored simultaneously re-starts local verification, until local verification result, which is software registration code symbol, closes setting Data configuration specification, then show local verification result to pass through checking.
In an optional embodiment of the present invention, the application software is if it is determined that the checking of the software registration code As a result the useful life for being the application software in institute's installing terminal equipment exceedes the trial period of the application software or made Exceed predetermined threshold value with the quantity of the terminal device of the application software, then forbid opening the application software.
Specifically, when software registration code carries out service end checking, including two kinds are verified the result not passed through:(1), apply Useful life of the software in institute's installing terminal equipment exceedes the trial period of application software, (2), is set using the terminal of application software Standby quantity exceedes predetermined threshold value.As long as there is above two the result extremely when software registration code carries out service end checking Few one of which, then show service end checking not by and forbidding opening application software.
The embodiment of the present invention is by application software if it is determined that the software open command received is open command first, then Software installation environmental information is obtained to send to service end interface;Application software storage service end interface return with software installation shape The software registration code of state information matches, and control unlatching application software;Application software is if it is determined that the software unlatching received refers to Make as open command once again, then the software registration code progress local verification to storage and/or service end checking;Application software according to To the result of software registration code, control opens application software or forbids opening application software, in the prior art should solve The application software generation for having to repack installation kit and different editions can not be quickly changed after being expired with Software probation period User data can not intercommunication the problems such as, with realize by service end Interface limits charge version application software trial period, so as to When free version application software is switched to charge version application software on trial, avoids repacking installation kit, ensure different versions User data being capable of intercommunication caused by this application software.
Embodiment two
Fig. 2 is a kind of flow chart of the method for software free trial that the embodiment of the present invention two provides, and this method is included such as Lower operation:
S210, application software are if it is determined that the software open command received is open command first, then acquisition software is pacified Dress environmental information and user profile, which are sent to service end interface, the user profile, includes user name and login password.
In an embodiment of the present invention, when being initially opened application software, except needing to complete activation manipulation, it is also necessary to set The user profile for logging in application software is put, equivalent to registration process.Wherein, user profile include but is not limited to user name and Login password.Wherein, user name and login password can be made up of letter, numeral and additional character, and user name and login are close The length of code can be 6 or 8, and the length of user name and login password can be with identical, can also be different, this hair Bright embodiment is to this and is not limited.
Accordingly, user profile is also required to send to service end interface, and is stored in the database of service end to supply Service end verification is carried out to the user profile of acquisition when being again turned on software.It should be noted that service end is in application software The user profile obtained when being initially opened is not revisable.When application software is again turned on, if receiving modification The instruction of user profile, the new user profile obtained by servicing end interface can be updated accordingly;It is soft in application When part is again turned on, if being not received by the instruction of modification user profile, without the use to being stored in service client database Family information is updated.
What S220, the application software storage service end interface returned matches with the software installation status information Software registration code, and control and open the application software.
S230, the application software are if it is determined that the software open command received is open command once again, then to storage The software registration code carry out local verification and/or service end checking, carrying out service end to the user profile of acquisition tests Card.
In an embodiment of the present invention, when application software is again turned on, except needing that the software registration code of storage is entered Row local verification and service end checking, it is also necessary to carry out service end checking to getting user profile, the purpose is to prevent non-note Volume side uses application software, to protect the interests of registration side.
In an optional embodiment of the present invention, service end checking is carried out to the user profile, including:It is described to answer The user profile is obtained with software to send to the service end interface, so that the service end verifies the user profile with depositing Whether the user profile of storage matches.
Specifically, when application software is again turned on, application software obtains user profile and sends it to service termination Mouthful, because service end has stored user profile corresponding with the application software software registration code-phase, so believing to user During breath progress service end checking, it is necessary to using the user profile of storage as foundation, user profile and the user of storage of acquisition are verified Whether information matches.For example, the user profile of storage is " user name:Zhang San, login password:123456”;User's letter of acquisition Cease for " user name:Zhang San, login password:123456 ", then the user profile for showing to obtain matches with the user profile stored, because This service end the result is to pass through checking.If application software is again turned on, the instruction of modification user profile is received, is repaiied The user profile changed is " user name:Zhang San, login password:12345678”;The user profile of modification is then updated to the use of storage Family information is " user name:Zhang San, login password:12345678 ", and when the later stage, application software was again turned on, with renewal User profile " user name:Zhang San, login password:12345678 " be to carry out service end checking according to the user profile to acquisition.
S240, the application software are opened according to the result to the software registration code and the user profile, control Open the application software or forbid opening the application software.
In an embodiment of the present invention, control is opened or forbids opening application software except needing to refer to software registration code The result, while also need to the result with reference to user profile.
In an optional embodiment of the present invention, the application software is if it is determined that the software registration code and described The result of user profile is to open the application software by checking, then control;
Specifically, working as, application software carries out local verification to software registration code and service end is verified, and to user profile When carrying out service end checking, both the results are just to open application software by verifying, as long as both have one of which Checking is not by forbidding then opening application software.It should be noted that the checking order of software registration code and user profile can be with It is synchronous to carry out, the checking of user profile is carried out again after can also first carrying out the checking of software registration code, or first carries out user's letter The checking of software registration code is carried out after the checking of breath again, the embodiment of the present invention is to this and is not limited.
In an optional embodiment of the present invention, the application software is if it is determined that the checking knot of the user profile Fruit is that the user profile and the user profile of service end storage mismatch, then prompts the user profile input wrong, And reacquire the user profile send to it is described service end interface re-start service end checking.
Specifically, when being verified to user profile, if the user profile of application software acquisition and the user of storage Information mismatches, then prompts user profile input wrong, such as " user name and login password are incorrect, please re-enter ", so Reacquire user profile again afterwards and carry out service end checking.If application software detects Individual information service end, checking number surpasses Setting number is crossed, then forbids carrying out the service end checking of user profile within the time of setting.Wherein, it can be 3 to set number Secondary or 5 times, the time of setting can be 1 minute or 5 minutes, and the embodiment of the present invention is to this and without limit System.
Embodiment three
Fig. 3 is a kind of schematic diagram of the device for software free trial that the embodiment of the present invention three provides, and can perform the present invention The method for the software free trial that any embodiment is provided, possess the corresponding functional module of execution method and beneficial effect, this Embodiment is applicable to the situation of software free trial.
Described device includes:
First acquisition module 310, for if it is determined that the software open command received is open command first, then obtaining Software installation environmental information is sent to service end interface.
First memory module 320, for store it is described service end interface return with the software installation status information The software registration code matched somebody with somebody, and control and open the application software.
First authentication module 330, for if it is determined that the software open command received is open command once again, then to depositing The software registration code of storage carries out local verification and/or service end checking.
First opening module 340, for according to the result to the software registration code, it is soft that the application is opened in control Part is forbidden opening the application software.
The embodiment of the present invention is by application software if it is determined that the software open command received is open command first, then Software installation environmental information is obtained to send to service end interface;Application software storage service end interface return with software installation shape The software registration code of state information matches, and control unlatching application software;Application software is if it is determined that the software unlatching received refers to Make as open command once again, then the software registration code progress local verification to storage and/or service end checking;Application software according to To the result of software registration code, control opens application software or forbids opening application software, in the prior art should solve The application software generation for having to repack installation kit and different editions can not be quickly changed after being expired with Software probation period User data can not intercommunication the problems such as, with realize by service end Interface limits charge version application software trial period, so as to When free version application software is switched to charge version application software on trial, avoid repacking installation kit, to ensure difference User data being capable of intercommunication caused by version application software.
Further, the software installation environmental information includes:The equipment letter of the terminal device of the application software is installed Breath, and receive the temporal information of the open command first;Wherein, the service end interface is used for the software installation Environmental information is sent to service end, so that the service end is according to default activation account and the software installation environmental information The software registration code is generated, and the software registration code is back to by the application software by the service end interface.
Further, described device also includes, the second acquisition module 350, is sent for obtaining user profile to the clothes Business end interface, the user profile include user name and login password.Second authentication module 360, for the use to acquisition Family information carries out service end checking.Second opening module 370, for according to the software registration code and the user profile The result, control open the application software or forbid opening the application software.
Further, the first authentication module 330, if determining that the software registration code symbol closes setting number for local verification According to construction specification, then the software registration code is sent to the service end interface, so that service end is to the software registration code Carry out service end checking;Wherein, the service end includes at least one of following to software registration code progress service end checking: Whether checking exceedes predetermined threshold value and the checking application software in institute using the quantity of the terminal device of the application software Whether the useful life in installing terminal equipment exceedes the trial period of the application software.Second authentication module 360, for obtaining The user profile is sent to the service end interface, so that the service end verifies the user profile and the use of storage Whether family information matches.
Further, described device also includes, the 3rd authentication module 380, if determining the software for local verification Registration code does not meet setting data configuration specification, then reacquires software installation environmental information and send to the service end interface; The software registration code matched with the software installation status information returned according to the service end interface, updates what is be locally stored The software registration code, and according to the software registration code of renewal, re-start local verification.
Further, the second control opening module 370, for if it is determined that the software registration code and the user profile The result be that the application software is opened by checking, then control;If it is determined that the result of the software registration code Exceed the trial period of the application software for useful life of the application software in institute's installing terminal equipment or use institute The quantity for stating the terminal device of application software exceedes predetermined threshold value, then forbids opening the application software;If it is determined that the use The result of family information is that the user profile and the user profile of service end storage mismatch, then prompts the user Information input it is wrong, and reacquire the user profile send to it is described service end interface re-start service end checking.
Further, the service end interface is web service interfaces.
The method that above-mentioned tester can perform the software free trial that any embodiment of the present invention is provided, possesses execution The corresponding functional module of method and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the present invention appoints The method for the software free trial that embodiment of anticipating provides.
Example IV
Fig. 4 is a kind of structural representation for equipment on probation that the embodiment of the present invention four provides.Fig. 4 shows real suitable for being used for The block diagram of the equipment on probation 412 of existing embodiment of the present invention.The equipment on probation 412 that Fig. 4 is shown is only an example, should not be right The function and use range of the embodiment of the present invention bring any restrictions.
As shown in figure 4, equipment 412 on probation is showed in the form of universal computing device.The component of equipment 412 on probation can wrap Include but be not limited to:One or more processor 416, storage device 428, connection different system component (including storage device 428 With processor 416) bus 418.
Bus 418 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Equipment 412 on probation typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that equipment 412 on probation accesses, including volatibility and non-volatile media, moveable and immovable medium.
Storage device 428 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 430 and/or cache memory 432.Equipment 412 on probation may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for read-write not Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 418.Storage device 428 can include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform this hair The function of bright each embodiment.
Program 436 with one group of (at least one) program module 426, it can be stored in such as storage device 428, this The program module 426 of sample includes but is not limited to operating system, one or more application program, other program modules and program Data, the realization of network environment may be included in each or certain combination in these examples.Program module 426 generally performs Function and/or method in embodiment described in the invention.
Equipment 412 on probation can also be (such as keyboard, sensing equipment, camera, aobvious with one or more external equipments 414 Show device 424 etc.) communication, it can also enable a user to the equipment communication tried out equipment 412 with this and interacted with one or more, and/ Or (such as network interface card is adjusted with enabling any equipment that the equipment 412 on probation communicated with one or more of the other computing device Modulator-demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 422.Also, equipment 412 on probation Network adapter 420 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As illustrated, other moulds of the network adapter 420 by bus 418 and equipment 412 on probation Block communicates.It should be understood that other hardware and/or software module are used although not shown in the drawings, can combine and try out equipment 412, Including but not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive Dynamic device and data backup storage system etc..
Processor 416 is stored in the program in storage device 428 by operation, so as to perform various function application and number According to processing, such as the method for realizing the software free trial that the above embodiment of the present invention is provided.
By the equipment on probation, in application software if it is determined that the software open command received refers to open first Order, then obtain software installation environmental information and send to service end interface;Application software storage service end interface returns and software The software registration code of installment state information matches, and control unlatching application software;Application software is if it is determined that the software received Open command is open command once again, then carries out local verification to the software registration code of storage and/or service end is verified;Using soft Part according to the result to software registration code, open application software or forbid opening application software, solves existing skill by control In art the application software trial period expire after can not quickly change and have to repack installation kit and the application of different editions is soft User data caused by part can not intercommunication the problems such as, charged the on probation of version application software by service end Interface limits with realizing Phase, so as to when free version application software is switched to charge version application software on trial, avoid repacking installation kit, ensure User data being capable of intercommunication caused by different editions application software.
Embodiment five
The embodiment of the present invention five also provides a kind of computer-readable storage medium for storing computer program, the computer program Method when being performed by computer processor for performing any described software free trial of the above embodiment of the present invention.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language --- such as " C " language or similar programming language.Program code can Fully to perform on the user computer, partly perform, performed as an independent software kit on the user computer, Part performs or performed completely on remote computer or server on the remote computer on the user computer for part. In the situation of remote computer is related to, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-subscriber computer is connected to, or, it may be connected to outer computer (such as utilize Internet service Provider passes through Internet connection).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. method of software free trial, it is characterised in that including:
    Application software then obtains software installation environmental information if it is determined that the software open command received is open command first Send to service end interface;
    The software registration matched with the software installation status information that the application software storage service end interface returns Code, and control and open the application software;
    The application software is if it is determined that the software open command received is open command once again, then to the software of storage Registration code carries out local verification and/or service end checking;
    The application software according to the result to the software registration code, open the application software or forbid out by control Open the application software.
  2. 2. according to the method for claim 1, it is characterised in that the software installation environmental information includes:
    The facility information of the terminal device of the application software is installed, and receives the time letter of the open command first Breath;
    Wherein, the service end interface is used to send the software installation environmental information to service end, so that the service end The software registration code is generated according to default activation account and the software installation environmental information, and passes through the service end The software registration code is back to the application software by interface.
  3. 3. according to the method for claim 1, it is characterised in that open and refer in the software that the application software determines to receive Make as after open command first, in addition to:
    Obtaining user profile and sending to the service end interface, the user profile includes user name and login password;
    After the software open command that the application software determines to receive is open command once again, in addition to:
    Service end checking is carried out to the user profile of acquisition;
    The application software according to the result to the software registration code, open the application software or forbid out by control The application software is opened, including:
    The application software opens the application according to the result to the software registration code and the user profile, control Software is forbidden opening the application software.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the application software passes through local verification and/or service The mode of checking is held, the software registration code of storage is verified, including:
    If the application software local verification determines that the software registration code symbol closes setting data configuration specification, will be described soft Part registration code is sent to the service end interface, so that service end carries out service end checking to the software registration code;
    Wherein, the service end includes at least one of following to software registration code progress service end checking:Checking uses institute Whether the quantity for stating the terminal device of application software exceedes predetermined threshold value and verifies that the application software is set in institute's installing terminal Whether standby upper useful life exceedes the trial period of the application software;
    Service end checking is carried out to the user profile, including:
    The application software obtains the user profile and sent to the service end interface, so that the service end verifies the use Whether family information matches with the user profile stored.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    If the application software local verification determines that the software registration code does not meet setting data configuration specification, obtain again Software installation environmental information is taken to send to the service end interface;
    The software registration code matched with the software installation status information returned according to the service end interface, renewal is local to deposit The software registration code of storage, and according to the software registration code of renewal, re-start local verification.
  6. 6. the method according to claim 4 or 5, it is characterised in that the application software is according to the software registration code With the result of the user profile, control opens the application software or forbids opening the application software, including:
    The application software is if it is determined that the software registration code and the result of the user profile are by verifying, then controlling System opens the application software;
    The application software is if it is determined that the result of the software registration code sets for the application software in institute's installing terminal Standby upper useful life is exceeded the trial period of the application software or surpassed using the quantity of the terminal device of the application software Predetermined threshold value is crossed, then forbids opening the application software;
    The application software is if it is determined that the result of the user profile is the user profile and the institute of service end storage User profile mismatch is stated, then prompts the user profile input wrong, and reacquire the user profile and send to described Service end interface re-starts service end checking.
  7. 7. according to the method for claim 1, it is characterised in that the service end interface is web service interfaces.
  8. A kind of 8. device of software free trial, applied to application software, it is characterised in that including:
    First acquisition module, for if it is determined that the software open command received is open command first, then acquisition software to be pacified Dress environmental information is sent to service end interface;
    First memory module, the software matched with the software installation status information returned for storing the service end interface Registration code, and control and open the application software;
    First authentication module, for if it is determined that the software open command received is open command once again, then to the institute of storage State software registration code and carry out local verification and/or service end checking;
    First opening module, for according to the result of the software registration code, control open the application software or Forbid opening the application software.
  9. 9. a kind of equipment on probation, it is characterised in that the equipment includes:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method of the software free trial as described in any in claim 1-7.
  10. 10. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the program is executed by processor The method of software free trials of the Shi Shixian as described in any in claim 1-7.
CN201711090360.5A 2017-11-08 2017-11-08 A kind of method, apparatus of software free trial, equipment on probation and storage medium Pending CN107885979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711090360.5A CN107885979A (en) 2017-11-08 2017-11-08 A kind of method, apparatus of software free trial, equipment on probation and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711090360.5A CN107885979A (en) 2017-11-08 2017-11-08 A kind of method, apparatus of software free trial, equipment on probation and storage medium

Publications (1)

Publication Number Publication Date
CN107885979A true CN107885979A (en) 2018-04-06

Family

ID=61779513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711090360.5A Pending CN107885979A (en) 2017-11-08 2017-11-08 A kind of method, apparatus of software free trial, equipment on probation and storage medium

Country Status (1)

Country Link
CN (1) CN107885979A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199030A (en) * 2018-11-20 2020-05-26 上海擎感智能科技有限公司 Vehicle, vehicle equipment and automatic activation method of vehicle-mounted third-party application software
CN111241455A (en) * 2020-01-22 2020-06-05 北京字节跳动网络技术有限公司 Data processing apparatus, computer device, and storage medium
CN113626770A (en) * 2021-08-04 2021-11-09 北京锐安科技有限公司 Authorization control method, device, equipment and storage medium for application program
CN114626067A (en) * 2021-06-25 2022-06-14 江苏航天龙梦信息技术有限公司 Temporary firmware control method
CN114861135A (en) * 2022-04-21 2022-08-05 常超 EDA tool marketing strategy processing method and system for integrated circuit design industry

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1519708A (en) * 2003-01-25 2004-08-11 阳 周 Centralized method for verifying and authorizing licences for using add on program typed software or information product
CN102479305A (en) * 2010-11-29 2012-05-30 金蝶软件(中国)有限公司 Software licensing verification method and system
CN103078858A (en) * 2012-12-31 2013-05-01 上海同岩土木工程科技有限公司 Web service and signature certificate-based software trial authorization method
CN103186725A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Software authorization method and device
CN103258151A (en) * 2012-10-30 2013-08-21 中国科学院沈阳自动化研究所 Real-time authorization software License control method
CN103995991A (en) * 2014-05-07 2014-08-20 华中师范大学 Method for binding hardware information and secret keys in software copyright protection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1519708A (en) * 2003-01-25 2004-08-11 阳 周 Centralized method for verifying and authorizing licences for using add on program typed software or information product
CN102479305A (en) * 2010-11-29 2012-05-30 金蝶软件(中国)有限公司 Software licensing verification method and system
CN103186725A (en) * 2011-12-31 2013-07-03 北大方正集团有限公司 Software authorization method and device
CN103258151A (en) * 2012-10-30 2013-08-21 中国科学院沈阳自动化研究所 Real-time authorization software License control method
CN103078858A (en) * 2012-12-31 2013-05-01 上海同岩土木工程科技有限公司 Web service and signature certificate-based software trial authorization method
CN103995991A (en) * 2014-05-07 2014-08-20 华中师范大学 Method for binding hardware information and secret keys in software copyright protection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199030A (en) * 2018-11-20 2020-05-26 上海擎感智能科技有限公司 Vehicle, vehicle equipment and automatic activation method of vehicle-mounted third-party application software
CN111241455A (en) * 2020-01-22 2020-06-05 北京字节跳动网络技术有限公司 Data processing apparatus, computer device, and storage medium
CN111241455B (en) * 2020-01-22 2023-08-25 抖音视界有限公司 Data processing apparatus, computer device, and storage medium
CN114626067A (en) * 2021-06-25 2022-06-14 江苏航天龙梦信息技术有限公司 Temporary firmware control method
CN113626770A (en) * 2021-08-04 2021-11-09 北京锐安科技有限公司 Authorization control method, device, equipment and storage medium for application program
CN114861135A (en) * 2022-04-21 2022-08-05 常超 EDA tool marketing strategy processing method and system for integrated circuit design industry

Similar Documents

Publication Publication Date Title
CN107885979A (en) A kind of method, apparatus of software free trial, equipment on probation and storage medium
US20230091605A1 (en) Accessing an internet of things device using blockchain metadata
TWI764971B (en) The internet of things
CN104838630B (en) Application program management based on strategy
CN101960464B (en) Information processing device
CN105408912B (en) Handle certification and resource grant
US10979550B2 (en) Mobile communication device
US9049194B2 (en) Methods and systems for internet security via virtual software
CN103460186B (en) Method for updating a data storage medium
CN103955648B (en) Method and device for verifying legality of system image
CN108595970A (en) Configuration method, device, terminal and the storage medium of processing component
CN107113302A (en) Security and licensing architecture in multi-tenant computing system
CN109074466A (en) Platform for server proves and registration
CN110060111A (en) Based on the invoice access method and device of block chain, electronic equipment
CN109074449A (en) Neatly supply proves key in Secure Enclave
CN109792386A (en) Method and apparatus for trust computing
EP1367843A1 (en) Secure interaction between downloaded application code and a smart card in a mobile communication apparatus
CN104516777A (en) User interface management method and system
CN109040133A (en) The method, apparatus and storage medium of intelligent contract are installed in block chain network
TW201512879A (en) Mobile communication device and method of operating thereof
CN103733663A (en) Method and apparatus for providing a secure virtual environment on a mobile device
US11190507B2 (en) Trusted device establishment
CN109255210A (en) The method, apparatus and storage medium of intelligent contract are provided in block chain network
CN107528830B (en) Account login method, system and storage medium
US11228580B2 (en) Two-factor device authentication

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

Application publication date: 20180406