CN109271757B - Off-line activation method and system for software - Google Patents
Off-line activation method and system for software Download PDFInfo
- Publication number
- CN109271757B CN109271757B CN201810908677.3A CN201810908677A CN109271757B CN 109271757 B CN109271757 B CN 109271757B CN 201810908677 A CN201810908677 A CN 201810908677A CN 109271757 B CN109271757 B CN 109271757B
- Authority
- CN
- China
- Prior art keywords
- activation
- software
- offline
- information
- client
- 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.)
- Active
Links
- 230000004913 activation Effects 0.000 title claims abstract description 773
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000003213 activating effect Effects 0.000 claims description 21
- 238000000605 extraction Methods 0.000 claims description 13
- 238000012795 verification Methods 0.000 claims description 7
- 238000001994 activation Methods 0.000 abstract description 618
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000001815 facial effect Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an off-line activation method and system of software. In the technology, the software outputs an offline activation request for the activation client to read; after reading the off-line activation request, the activation client sends the off-line activation request to the activation server through the network connection between the activation client and the activation server; the activation server sends the corresponding offline activation information to the activation client; the activation client outputs the off-line activation information for software to read; and after reading the offline activation information, the software performs offline activation operation. The technology enables the activation server to know the bottom layer system where the software requests off-line activation each time according to the off-line activation request, can count how many times the software has been off-line activated, and is convenient for a software operator to know whether the software has pirate and abuse phenomena; in addition, in the whole off-line activation process, the operation of manually inputting information by a user is less, the operation of the user is facilitated, and the activation speed is increased.
Description
Technical Field
The invention relates to the technical field of software, in particular to an off-line activation method and system of software.
Background
Currently, software product activation is typically either online connection activation server activation or direct activation using an offline activation code.
Among them, the online activation method cannot be used in an isolated network. The existing off-line activation method usually does not bind to a bottom system, the number of software activated specifically cannot be determined, and the abuse and piracy of the activation code are easy to occur; some off-line activation methods can be bound with a bottom layer system, but a user needs to input a large amount of information during activation, and the use is complicated.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a method and a system for offline activating software.
The invention provides an off-line activation method of software, which is used for the software and comprises the following steps:
generating an offline activation request of the software according to preset information of the software, wherein the preset information comprises identification information of the software and identification information of a current operating environment of the software;
outputting the offline activation request to an activation client for reading, sending the read offline activation request to an activation server by the activation client, and acquiring offline activation information returned by the activation server according to the offline activation request by the activation client, wherein the equipment where the activation client is located is not the same equipment as the equipment where the software is located;
acquiring the offline activation information acquired by the activation client;
and verifying the offline activation information, and activating the software when the offline activation information passes the verification.
In one embodiment, the identification information of the software includes: any one or more items of information of a serial number and a product key of the software;
the identification information of the current running environment of the software comprises: the identification information of a preset program built in the equipment where the software is located and/or the identification information of parts in the equipment where the software is located.
In one embodiment, the identification information of the preset program built in the device where the software is located includes a version number of the operating system; or
The identification information of the part in the device where the software is located comprises the product model of the part which can be used by the software after being started.
In one embodiment, the outputting the offline activation request for an activation client to read; after the off-line activation request is read by the activation client, sending the read off-line activation request to the activation server, including:
outputting an offline activation request for reading by an activation client;
after the activation client reads the offline activation request, outputting a network address corresponding to the activation server for the activation client to obtain;
and after the activation client reads the network address corresponding to the activation server, the activation client sends the offline activation request to the activation server according to the network address.
In one embodiment, the outputting the offline activation request for reading by an activation client, and the sending, by the activation client, the read offline activation request to an activation server includes:
displaying the offline activation request in an identifier format or a graphic format for scanning by an activation client, and sending a scanning result to the activation server by the activation client;
or
Displaying the offline activation request in an identifier format or a graphic format for an activation client to shoot, sending the shot picture to an activation server by the activation client, and analyzing the offline activation request from the picture by the activation server;
or
Playing the off-line activation request in an audio form, carrying out voice recognition on the played content by the activation client, and sending a voice recognition result to the activation server;
or
And playing the off-line activation request in an audio form, recording the played audio by the activation client, sending a recording result to the activation server, and acquiring the off-line activation request from the recording result by the activation server.
In an embodiment, the obtaining of the offline activation information obtained by the activation client includes:
when the offline activation information is displayed on the activation client in a character format, receiving the offline activation information input by a user through a keyboard; or
When the offline activation information is displayed on the activation client in a character format, receiving audio which is input by a user through a microphone and contains offline activation information voice information, and performing voice recognition on the audio to obtain offline activation information;
when the offline activation information is displayed on the activation client in an identifier format, an identifier recognition module is used for recognizing the identifier displayed on the activation client, and the offline activation information is obtained according to a recognition result; or
When the offline activation information is displayed on the activation client in a picture format, a character extraction module is used for extracting characters of the picture displayed on the activation client, and the offline activation information is obtained according to a character extraction result; or
And when the off-line activation information is played by the activation client in an audio format, performing voice recognition on the audio played by the activation client by using a voice recognition module, and acquiring the off-line activation information according to a voice recognition result.
In one embodiment, the offline activation information is the offline activation code itself.
In one embodiment, when the offline activation code is generated by the activation server based on the identification information of the software and the identification information of the environment in which the software is currently located,
the checking the offline activation information includes:
analyzing the offline activation code to obtain software identification information and current environment identification information of the software according to the offline activation code;
judging whether the analyzed software identification information is matched with the identification information of the software or not, and judging whether the analyzed environment identification information of the software is matched with the identification information of the current operating environment of the software or not;
when the analyzed software identification information is matched with the identification information of the software and the analyzed environment identification information of the current software is matched with the identification information of the current operating environment of the software, judging that the offline activation code passes the verification;
and when the analyzed software identification information is not matched with the identification information of the software and/or the analyzed environment identification information of the software at present is not matched with the identification information of the operating environment of the software at present, judging that the offline activation code is not verified.
The embodiment of the present invention further provides an offline activation method of software, configured to activate a client, where a device where the activated client is located and a device where the software is located are not the same device, and the method includes:
reading an offline activation request output by software, wherein the offline activation request is generated by the software according to preset information of the software, and the preset information comprises identification information of the software and identification information of a current operating environment in which the software is located;
sending the offline activation request to an activation server;
acquiring offline activation information returned by the activation server according to the offline activation request;
and outputting the offline activation information for the software to obtain.
In one embodiment, the sending the offline activation request to an activation server includes:
acquiring a network address corresponding to an activation server output by the software;
and sending the offline activation request to an activation server according to the network address.
In one embodiment, when the software displays the offline activation request in an identifier format or a graphical format,
the reading of the off-line activation request output by the software and the sending of the off-line activation request to the activation server comprise:
scanning an offline activation request in an identifier format or a graphic format displayed by software, and sending a scanning result to the activation server;
or
Shooting an offline activation request in an identifier format or a graphic format displayed by software, sending a shot picture to an activation server, and analyzing the offline activation request from the picture by the activation server.
In one embodiment, when the software plays the offline activation request in audio format,
the reading of the off-line activation request output by the software and the sending of the off-line activation request to the activation server comprise:
performing voice recognition on the offline activation request of the audio format played by the software, and sending a voice recognition result to an activation server;
or
And recording the offline activation request in the audio format played by the software, sending a recording result to an activation server, and acquiring the offline activation request from the recording result by the activation server.
In one embodiment, the outputting the offline activation information for acquisition by the software includes:
displaying the off-line activation information in a character format for a user to read, and inputting the off-line activation information to the software through a keyboard or a microphone after the off-line activation information is read by the user; or
Displaying the off-line activation information in an identifier format, identifying the displayed identifier by the software by using an identifier identification module, and acquiring the off-line activation information according to an identification result; or
Displaying the off-line activation information in a picture format, extracting characters of the displayed picture by the software by using a character extraction module, and acquiring the off-line activation information according to a character extraction result; or
And playing the off-line activation information in an audio format, carrying out voice recognition on the played audio by the software by using a voice recognition module, and acquiring the off-line activation information according to a voice recognition result.
The embodiment of the invention provides an off-line activation method of software, which is used for activating a server and comprises the following steps:
acquiring an offline activation request sent by an activation client, wherein the offline activation request is generated by the software according to preset information of the software, and the preset information comprises identification information of the software and identification information of a current operating environment in which the software is located;
generating offline activation information according to the offline activation request;
and sending the offline activation information to the activation client.
In one embodiment, further comprising:
after each off-line activation request sent by the activation client is obtained, the identification information of the software and the identification information of the current operating environment of the software included in the off-line activation request are analyzed from the off-line activation request, and the two items of information, including the identification information of the software and the identification information of the current operating environment of the software, are correspondingly stored to form an activation request record corresponding to the software included in the activation request record.
The embodiment of the invention also provides an offline activation system of software, which comprises the software for executing any one of the offline activation methods for the software, an activation client for executing any one of the offline activation methods for the activation client, and an activation server for executing any one of the offline activation methods for the activation server.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a block diagram of an offline activation system for software according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for offline activation of software in an embodiment of the present invention;
FIG. 3 is a flowchart of an offline activation method for activating a client according to an embodiment of the present invention;
fig. 4 is a flowchart of an offline activation method for activating a server according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
An embodiment of the present invention provides an offline activation technology for software, as shown in fig. 1, where the technology relates to software, an activation client, and an activation server. The software can be any software which needs to activate a program; the active client may be a specially developed application installed on a terminal device with network connection function, preferably, a mobile communication device such as a mobile phone or a tablet computer.
In the above technology, the software outputs (for example, displays or plays) the offline activation request for the activation client to read; after reading the off-line activation request, the activation client sends the off-line activation request to the activation server through the network connection between the activation client and the activation server; the activation server sends the corresponding offline activation information to the activation client; the activation client outputs (for example, displays or plays) the offline activation information for the software to read; and after reading the offline activation information, the software performs offline activation operation. The technology realizes that the software can still be activated when the software does not have network connection; the off-line activation request is generated by the software according to the identification information of the software and the identification information of the current operating environment of the software, so that the activation server can know the bottom system where the software is positioned when requesting off-line activation each time according to the off-line activation request, a software operator can conveniently know when and on which bottom system the software has been subjected to off-line activation, the number of times of off-line activation of the software can be counted, and the software operator can conveniently master whether piracy and abuse phenomena exist in the software; in the whole off-line activation process, the operation of manually inputting information by a user is less, the operation of the user is facilitated, and the activation speed is increased; the problem that the software product cannot interact with the activation server during off-line activation is solved, the activation safety is improved, and software product piracy can be effectively prevented.
The embodiment of the invention provides an offline activation method of software, which is used for the software, and as shown in fig. 2, the method comprises the following steps of S21-S25:
step S21, generating an offline activation request of the software according to preset information of the software, where the preset information includes identification information of the software and identification information of an operating environment where the software is currently located.
The identification information of the software may be: the serial number, product key, etc. of the software are used for uniquely identifying the information of the software; may be any one or more of these pieces of information;
the identification information of the current operating environment of the software may be: any one or more items of information of identification information of a preset program built in the equipment where the software is located and identification information of parts in the equipment where the software is located. Preferably, the preset program built in the device where the software is located may be an operating system, and at this time, the identification information of the current operating environment where the software is located may include a version number of the operating system of the device where the software is located; the parts in the device where the software is located are parts that the software can use after being started, for example, a main board, a processor, a memory, a hard disk, a display, a network card and the like of the device where the software is located, and at this time, the identification information of the current running environment of the software may include model information of the parts that the software can use after being started.
The off-line activation request comprises preset information of the software.
And step S22, outputting the offline activation request for the activation client to read, sending the read offline activation request to the activation server by the activation client, and acquiring the offline activation information returned by the activation server according to the offline activation request by the activation client, wherein the device where the activation client is located is not the same device as the device where the software is located.
The step of outputting the offline activation request to the activation client for reading, and sending the read offline activation request to the activation server by the activation client may have different implementation manners according to different output manners, specifically as follows:
for example, the offline activation request is displayed in an identifier format or a graphic format for scanning by the activation client, and the scanning result is sent to the activation server by the activation client. Or, for example, the offline activation request is displayed in an identifier format or a graphic format for the activation client to take, the activation client sends the taken picture to the activation server, and the activation server parses the offline activation request from the picture. For another example, the offline activation request is played in an audio form, the activation client performs voice recognition on the played content, and the voice recognition result is sent to the activation server. For another example, the offline activation request is played in an audio form, the activation client records the played audio, the recording result is sent to the activation server, and the activation server obtains the offline activation request from the recording result.
In the above various embodiments, the activation client can read the offline activation request containing the preset information of the software, and the user does not need to manually input information to the activation client, so that the activation speed is increased.
In addition, the activation client may be specially designed for a software type, in this case, the activation client may only have a data communication connection with the activation server of the software type, and whenever the activation client obtains an offline activation request of the software type, the activation client may directly send the request to the activation server having the data communication connection therewith. Of course, the activation client may also be designed for multiple types of software, and different activation servers are provided for different developers of each type of software, and in order to smoothly send the offline activation request to the activation server corresponding to the software, in the embodiment of the present invention, the step of "sending the offline activation request to the activation server by the activation client" is implemented in the following form: after the activation client reads the off-line activation request, outputting a network address corresponding to the activation server for the activation client to obtain; and after the activation client acquires the network address corresponding to the activation server, the activation client sends an offline activation request to the activation server according to the network address. A preferred embodiment is as follows: after the activation client reads the off-line activation request, the software generates an identifier, such as a two-dimensional code, comprising a network address corresponding to the activation server, and outputs the identifier of the network address to be acquired by the activation client; and after acquiring the identifier of the network address, the activation client acquires the network address of the activation server, so that the offline activation request is sent to the activation server corresponding to the network address. By the technical scheme, the offline activation request of the activation client can be sent to the correct activation server, a user does not need to manually input the network address of the activation server to the activation client, the activation client only needs to perform the operation of reading the identifier, convenience and rapidness are realized, and the activation speed is accelerated. Another preferred embodiment is as follows: after the activation client reads the off-line activation request, the software generates a network address corresponding to the activation server; short-distance communication connection such as Bluetooth connection is established between the equipment where the software is located and the activation client, so that the software can output the network address to the activation client through Bluetooth; and after acquiring the identifier of the network address, the activation client acquires the network address of the activation server, so that the offline activation request is sent to the activation server corresponding to the network address. By the technical scheme, the off-line activation request of the activation client can be sent to the correct activation server, a user does not need to manually input the network address of the activation server to the activation client, and only short-distance communication connection between the activation client and the equipment where the software is located needs to be established, so that the method and the device are convenient and fast, and the activation speed is increased.
Furthermore, after each off-line activation request is obtained by the activation server, the identification information of the software and the identification information of the current operating environment of the software included in the off-line activation request are analyzed from the off-line activation request, and the two items of information, including the identification information of the software and the identification information of the current operating environment of the software, are correspondingly stored to form an activation request record corresponding to the software, so that the activation server can store an activation request history record corresponding to the software. The identification information of the current operating environment of the software is the identification information of the bottom system in which the software operates, so that a software operator can know which bottom system the software has been subjected to offline activation according to the activation request history record stored by the activation server, can count how many times the software has been subjected to offline activation, and is convenient for the software operator to master whether the software has pirate or abuse phenomena.
Or after acquiring an offline activation request, the activation server parses the identification information of the software and the identification information of the current operating environment of the software from the offline activation request, and correspondingly stores the three items of information, namely the identification information of the software, the identification information of the current operating environment of the software, and the time of receiving the offline activation request, to form an activation request record corresponding to the software, so that the activation server can store an activation request history record corresponding to the software. The identification information of the current operating environment of the software is the identification information of the bottom system where the software operates, so that a software operator can know when and on which bottom system the software has been subjected to offline activation according to the activation request history stored by the activation server, can count how many times the software has been subjected to offline activation, and is convenient for the software operator to know whether the software has pirate or abuse phenomena.
And step S23, acquiring the offline activation information acquired by the activation client.
After the activation server returns the offline activation information to the activation client, the activation client may convert the offline activation information into any suitable format such as a corresponding identifier (e.g., a two-dimensional code, a barcode, etc.), a graphic, an audio format, etc., and display the information in the corresponding format for the software to acquire.
At this time, according to the different presentation formats of the offline activation information by the activation client, the step S23 can be implemented in the following ways:
and when the offline activation information is displayed on the activation client in a character format, receiving the offline activation information input by a user through a keyboard. Or when the offline activation information is displayed on the activation client in a character format, receiving audio which is input by a user through a microphone and contains offline activation information voice information, and performing voice recognition on the audio to obtain offline activation information; in this way, the user does not need to manually input the offline activation information to the software, and the activation speed is improved. Or when the offline activation information is displayed on the activation client in an identifier format, the software identifies the identifier displayed on the activation client by using an identifier identification module (the software can directly call the identifier identification module on the equipment where the software is located), and acquires the offline activation information according to the identification result; in this way, the user does not need to manually input the offline activation information to the software, and the activation speed is improved. Or when the offline activation information is displayed on the activation client in a picture format, the software extracts the characters of the picture displayed on the activation client by using a character extraction module (the software can directly call the character extraction module on the equipment where the software is located), and acquires the offline activation information according to the character extraction result; in this way, the user does not need to manually input the offline activation information to the software, and the activation speed is improved. Or when the off-line activation information is played by the activation client in an audio format, the software performs voice recognition on the audio played by the activation client by using a voice recognition module (the software can directly call the voice recognition module on the equipment where the software is located), and acquires the off-line activation information according to a voice recognition result; in this way, the user does not need to manually input the offline activation information to the software, and the activation speed is improved.
And step S24, checking the offline activation information.
And step S25, when the offline activation information passes the verification, activating the software.
When the offline activation information is the offline activation code itself, step S24 may be to check the offline activation code, and the existing method may be referred to as the checking method.
In addition, in order to further improve the security, the activation server can generate an offline activation code according to the identification information of the software and the identification information of the current environment in which the software is positioned,
at this time, the aforementioned step S24 "checking the offline activation information" may be implemented as:
analyzing the offline activation code to obtain software identification information and current environment identification information of the software according to the offline activation code generation;
judging whether the analyzed software identification information is matched with the identification information of the software or not, and judging whether the analyzed environment identification information of the software currently located is matched with the identification information of the operating environment where the software currently located;
when the analyzed software identification information is matched with the identification information of the software and the analyzed environment identification information of the software at present is matched with the identification information of the operating environment of the software at present, judging that the offline activation code passes the verification;
and when the analyzed software identification information is not matched with the identification information of the software and/or the analyzed environment identification information of the software currently located is not matched with the identification information of the operating environment where the software currently located, judging that the offline activation code is not verified.
Corresponding to the foregoing offline activation method for software, an embodiment of the present invention further provides an offline activation method for software, where the offline activation method is used to activate a client, and a device where the activated client is located is not the same device as a device where the software is located, as shown in fig. 3, the method includes steps S31 to S34:
and step S31, reading an offline activation request output by the software, wherein the offline activation request is generated by the software according to preset information of the software, and the preset information comprises identification information of the software and identification information of the current operating environment of the software.
Step S32, sending the offline activation request to the activation server.
Wherein, the step S32 can be implemented as: acquiring a network address corresponding to an activation server output by software;
and sending the offline activation request to the activation server according to the network address.
And step S33, acquiring the off-line activation information returned by the activation server according to the off-line activation request.
And step S34, outputting the offline activation information for software to obtain.
When the software displays the offline activation request in the identifier format or the graphic format, the foregoing steps S31 to S32 "read the offline activation request output by the software, and send the offline activation request to the activation server" may be implemented as: and scanning the offline activation request in the identifier format or the graphic format displayed by the software, and sending the scanning result to the activation server. Or shooting an offline activation request in an identifier format or a graphic format displayed by the software, sending the shot picture to an activation server, and analyzing the offline activation request from the picture by the activation server.
In addition, when the software plays the offline activation request in the audio format, the aforementioned steps S31 to S32 "read the offline activation request output by the software, and send the offline activation request to the activation server" may be implemented as: and performing voice recognition on the offline activation request in the audio format played by the software, and sending a voice recognition result to the activation server. Or recording the off-line activation request in the audio format played by the software, sending the recording result to the activation server, and acquiring the off-line activation request from the recording result by the activation server.
In addition, the aforementioned step S34 "outputting offline activation information for software to obtain" may be implemented as: displaying the off-line activation information in a character format for a user to read, and inputting the off-line activation information to software through a keyboard or a microphone after the off-line activation information is read by the user; or displaying the offline activation information in an identifier format, identifying the displayed identifier by software by using an identifier identification module, and acquiring the offline activation information according to an identification result; or displaying the offline activation information in a picture format, extracting characters of the displayed picture by using a character extraction module through software, and acquiring the offline activation information according to the character extraction result; or off-line activation information is played in an audio format, the software performs voice recognition on the played audio by using a voice recognition module, and the off-line activation information is obtained according to a voice recognition result.
Corresponding to the foregoing offline activation method for software and for activating a client, an embodiment of the present invention further provides an offline activation method for software, which is used for activating a server, and as shown in fig. 4, the method includes steps S41 to S43:
step S41, acquiring an offline activation request sent by an activation client, wherein the offline activation request is generated by software according to preset information of the software, and the preset information comprises identification information of the software and identification information of the current operating environment of the software;
step S42, generating off-line activation information according to the off-line activation request;
and step S43, sending the offline activation information to the activation client.
In one embodiment, the method may further include:
after each off-line activation request sent by the activation client is obtained, the identification information of the software and the identification information of the current operating environment of the software included in the off-line activation request are analyzed from the off-line activation request, and the two items of information, including the identification information of the software and the identification information of the current operating environment of the software, are correspondingly stored to form an activation request record corresponding to the software included in the activation request record. Or after acquiring an offline activation request sent by the activation client, analyzing the identification information of the software and the identification information of the current operating environment of the software from the offline activation request, and correspondingly storing the identification information of the software, the identification information of the current operating environment of the software and the time of receiving the offline activation request to form an activation request record corresponding to the software.
In one embodiment, the above offline activation method for software, or for activating a client, or for activating a server may further include the following operations:
when the activation client reads an offline activation request output by software, shooting the face of a current user of the activation client to obtain a face image of the current user; the method comprises the steps that an activation client sends an offline activation request to an activation server, and simultaneously sends a face image of a current user and time for sending the offline activation request to the activation server;
at this time, the step S42 "generating offline activation information according to the offline activation request" may be implemented as follows:
the activation client generates an offline activation code according to the identification information of the software and the identification information of the current operating environment of the software;
activating a client to obtain a face image of a legal user corresponding to prestored identification information of software;
the activation client sequentially divides the generated offline activation codes into N groups to form N groups of sequentially arranged offline activation code subsections, wherein each group of offline activation code subsection comprises one or more complete characters;
the activation client acquires a preset activation video frame number corresponding to the time, wherein the activation video frame number is as follows: the number of frame of each frame of N frames for activation in a video segment for carrying N groups of offline activation code subsections in the video segment is equal to or more than 2;
the activation client determines the arrangement sequence of each group of offline activation code subsections in the N groups of offline activation code subsections;
the method comprises the steps that an activation client determines the arrangement sequence of each frame of video frames for activation in the first N frames of video frames for activation;
the activation client establishes a one-to-one correspondence between the offline activation code subsections with the same arrangement sequence and the video frames for activation;
the activation client inserts the content of each offline activation code part in the N groups of offline activation code parts into corresponding video frames for activation according to a one-to-one correspondence relationship to form N effective video frames for activation;
the activation client inserts interference characters into the non-activation video frames of the section of video to finally form activation video;
the activation client generates offline activation information according to the activation video and the face image of the legal user;
at this time, after the step S43 "sending the offline activation information to the activation client" is executed, the activation client obtains the face image and the activation video of the legitimate user from the offline activation information; the method comprises the steps that an activation client shoots a first face image of a current user of the activation client;
the activation client compares the first face image of the current user with the face image of the legal user in the offline activation information, and when the first face image of the current user is matched with the face image of the legal user in the offline activation information, the activation client acquires N groups of offline activation code subsections from the activation video according to the number of the video frame for activation corresponding to the time, and acquires the offline activation codes according to the acquired N groups of offline activation code subsections; the activation client outputs the offline activation code for software to read;
when the first face image is not matched with the face image of the legal user in the offline activation information, activating the client to output a prompt of re-photographing within a preset time length;
when the face image obtained by re-photographing within the preset time length is not matched with the face image of the legal user all the time, the activation client outputs an activation failure prompt and sends an activation failure notification and a first face image to the activation server, and the activation server stores the first face image as the face image of the suspicious software embezzlement user after receiving the activation failure notification;
when a second face image obtained by retaking within a preset time length is matched with a face image of a legal user, the activation client acquires N groups of offline activation code subsections from the activation video according to the number of the activation video frames corresponding to the time, and acquires offline activation codes according to the acquired N groups of offline activation code subsections; the method comprises the steps that an activation client outputs an offline activation code for software to read, the activation client outputs an inquiry whether a first face image is used as a face image of a legal user, and when the activation client receives a response confirming that the first face image is used as the face image of the legal user, the activation client sends the first face image to an activation server; the activation server stores the first face image as a face image of a legitimate user of the software. There may be two reasons for this to happen, the first: before outputting the prompt of re-photographing within the preset time length, not the legal user (called user A for short) is using the activation client, but the legal user is using the activation client within the preset time length after outputting the prompt, which indicates that the user A may call the legal user to use the activation client when finding that the face image of the user A cannot be compared, indicates that the user A and the legal user are possibly more familiar, and the legal user wants that the user A can use the software, therefore, under the premise that the legal user agrees to use the first face image as the face image of the legal user, the activation server can store the face image (namely the first face image) of the user A as the face image of the legal user of the software, so that when the user A activates the software again next time, the face image of the user A can be activated without assistance of a legal user, and the technical scheme fully considers the authorization of the legal user to the relatives and friends of the user A and is more humanized. The second reason is that: the matching degree of the face image of the legal user stored in the activation server and the current face image of the legal user is not high, and the face image of the legal user can pass the verification only by comparing for many times.
The technical scheme has the following beneficial effects: the activation server scrambles the offline activation code in the offline activation information and matches the offline activation code with the interference information, so that even if lawbreakers intercept the offline activation information sent to the activation client by the activation server, the offline activation code is not easy to obtain, and the probability of stealing the offline activation code is reduced. And if the current user of the activation client is not a legal user, the activation cannot be carried out, and only the legal user can be ensured to activate the software. Other advantages are described in the foregoing, and are not described in detail herein.
In another embodiment, the offline activation method for software or for activating a client or for activating a server may further include the following operations:
when reading an offline activation request output by software, an activation client shoots the face of a current user of the activation client to obtain a face image of the current user; the method comprises the steps that an activation client sends an offline activation request to an activation server, and simultaneously sends a face image of a current user to the activation server;
at this time, the step S42 "generating offline activation information according to the offline activation request" may be implemented as follows:
the activation client generates an offline activation code according to the identification information of the software and the identification information of the current operating environment of the software;
activating a client to obtain a face photo of a legal user corresponding to the prestored identification information of the software;
activating a client to averagely divide the face photo of the legal user into four sub-photos according to the area size of the photo, wherein the sub-photo positioned at the upper left position of the face photo of the legal user is taken as a first sub-photo, the sub-photo positioned at the upper right position of the face photo of the legal user is taken as a second sub-photo, the sub-photo positioned at the lower left position of the face photo of the legal user is taken as a third sub-photo, and the sub-photo positioned at the lower right position of the face photo of the legal user is taken as a fourth sub-photo;
the activation client divides the generated offline activation code into four parts, each part has a plurality of complete characters, four groups of offline activation code subsections which are arranged in sequence are formed, and the four groups of offline activation code subsections are a first group of offline activation code subsection, a second group of offline activation code subsection, a third group of offline activation code subsection and a fourth group of offline activation code subsection in sequence;
the activation client side puts the first group of offline activation codes into the first sub-photos to form first photos for activation; placing the second group of offline activation codes into a second sub-photo to form a second activation photo; putting a third group of offline activation codes into a third sub-photo to form a third activation photo; putting the fourth group of offline activation codes into a fourth sub-photo to form a fourth activation photo;
the activation client packs the first activation photo, the second activation photo, the third activation photo, the fourth activation photo and at least four interference photos to form an activation photo package; each interference photo is inserted with interference characters and interference face local images;
the activation client generates offline activation information according to the activation picture package;
at this time, after executing the step S43 "sending the offline activation information to the activation client", the activation client obtains the photo package for activation from the offline activation information; the method comprises the steps that an activation client side shoots a first face photo of a current user of the activation client side;
the method comprises the steps that an activation client side splices every four photos in an activation photo package, and when four photos exist, and facial image features formed by splicing the four photos are matched with facial image features in a first facial photo, an offline activation code is determined according to offline activation code portions included in the four photos; outputting the off-line activation code for software to read;
when the facial image features formed by splicing any four photos are not matched with the facial image features in the first facial photo, the fact that the current user of the activation client is probably not a legal user is indicated, the activation client outputs an activation failure prompt at the moment, an activation failure notice and the first facial photo are sent to the activation server, and the activation server stores the first facial image as a face image of a suspected embezzled user of software after receiving the activation failure notice.
The technical scheme has the following beneficial effects: the activation server scrambles the offline activation code in the offline activation information and matches the offline activation code with the interference information, so that even if lawbreakers intercept the offline activation information sent to the activation client by the activation server, the offline activation code is not easy to obtain, and the probability of stealing the offline activation code is reduced. If the current user of the activated client is not a legal user, the software cannot be activated, and only the legal user can be ensured to activate the software; and the face image of the suspicious stealer can be stored in the activation server, so that a software operator can conveniently master the situation of the stealer.
Corresponding to the foregoing offline activation method for software, an activation client and an activation server, an embodiment of the present invention further provides an offline activation system for software, including software for executing any one of the foregoing offline activation methods for software, an activation client for executing any one of the foregoing offline activation methods for activating a client, and an activation server for executing any one of the foregoing offline activation methods for activating a server.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (15)
1. An off-line activation method for software, comprising:
generating an offline activation request of the software according to preset information of the software, wherein the preset information comprises identification information of the software and identification information of a current operating environment of the software;
outputting the offline activation request to an activation client for reading, sending the read offline activation request to an activation server by the activation client, and acquiring offline activation information returned by the activation server according to the offline activation request by the activation client, wherein the equipment where the activation client is located is not the same equipment as the equipment where the software is located; the activation server acquires a bottom layer system where the software requests offline activation each time according to the offline activation request, and counts how many times the software is offline activated;
acquiring the offline activation information acquired by the activation client;
verifying the offline activation information, and activating the software when the offline activation information passes the verification;
the identification information of the software includes: any one or more items of information of a serial number and a product key of the software;
the identification information of the current running environment of the software comprises: the identification information of a preset program built in the equipment where the software is located and/or the identification information of parts in the equipment where the software is located.
2. The method of claim 1,
the identification information of a preset program built in the equipment where the software is located comprises the version number of an operating system; or
The identification information of the part in the device where the software is located comprises the product model of the part which can be used by the software after being started.
3. The method of any of claims 1 to 2,
the offline activation request is output for an activation client to read; after the off-line activation request is read by the activation client, sending the read off-line activation request to the activation server, including:
outputting an offline activation request for reading by an activation client;
after the activation client reads the offline activation request, outputting a network address corresponding to the activation server for the activation client to obtain;
and after the activation client reads the network address corresponding to the activation server, the activation client sends the offline activation request to the activation server according to the network address.
4. The method of any of claims 1 to 2,
the outputting the offline activation request for an activation client to read, and sending, by the activation client, the read offline activation request to an activation server includes:
displaying the offline activation request in an identifier format or a graphic format for scanning by an activation client, and sending a scanning result to the activation server by the activation client;
or
Displaying the offline activation request in an identifier format or a graphic format for an activation client to shoot, sending the shot picture to an activation server by the activation client, and analyzing the offline activation request from the picture by the activation server;
or
Playing the off-line activation request in an audio form, carrying out voice recognition on the played content by the activation client, and sending a voice recognition result to the activation server;
or
And playing the off-line activation request in an audio form, recording the played audio by the activation client, sending a recording result to the activation server, and acquiring the off-line activation request from the recording result by the activation server.
5. The method of claim 1,
the acquiring of the offline activation information acquired by the activation client includes:
when the offline activation information is displayed on the activation client in a character format, receiving the offline activation information input by a user through a keyboard; or
When the offline activation information is displayed on the activation client in a character format, receiving audio which is input by a user through a microphone and contains offline activation information voice information, and performing voice recognition on the audio to obtain offline activation information;
when the offline activation information is displayed on the activation client in an identifier format, an identifier recognition module is used for recognizing the identifier displayed on the activation client, and the offline activation information is obtained according to a recognition result; or
When the offline activation information is displayed on the activation client in a picture format, a character extraction module is used for extracting characters of the picture displayed on the activation client, and the offline activation information is obtained according to a character extraction result; or
And when the off-line activation information is played by the activation client in an audio format, performing voice recognition on the audio played by the activation client by using a voice recognition module, and acquiring the off-line activation information according to a voice recognition result.
6. The method of claim 1 or 5,
the offline activation information is the offline activation code itself.
7. The method of claim 6,
when the offline activation code is generated by the activation server according to the identification information of the software and the identification information of the current environment in which the software is positioned,
the checking the offline activation information includes:
analyzing the offline activation code to obtain software identification information and current environment identification information of the software according to the offline activation code;
judging whether the analyzed software identification information is matched with the identification information of the software or not, and judging whether the analyzed environment identification information of the software is matched with the identification information of the current operating environment of the software or not;
when the analyzed software identification information is matched with the identification information of the software and the analyzed environment identification information of the current software is matched with the identification information of the current operating environment of the software, judging that the offline activation code passes the verification;
and when the analyzed software identification information is not matched with the identification information of the software and/or the analyzed environment identification information of the software at present is not matched with the identification information of the operating environment of the software at present, judging that the offline activation code is not verified.
8. An off-line activation method of software is used for activating a client, and is characterized in that equipment where the client is activated and equipment where the software is activated are not the same equipment, and comprises the following steps:
reading an offline activation request output by software, wherein the offline activation request is generated by the software according to preset information of the software, and the preset information comprises identification information of the software and identification information of a current operating environment in which the software is located; the identification information of the software includes: any one or more items of information of a serial number and a product key of the software; the identification information of the current running environment of the software comprises: the identification information of a preset program built in the equipment where the software is located and/or the identification information of parts in the equipment where the software is located;
sending the offline activation request to an activation server;
acquiring offline activation information returned by the activation server according to the offline activation request; the activation server acquires a bottom layer system where the software requests offline activation each time according to the offline activation request, and counts how many times the software is offline activated;
and outputting the offline activation information for the software to obtain.
9. The method of claim 8,
the sending the offline activation request to an activation server includes:
acquiring a network address corresponding to an activation server output by the software;
and sending the offline activation request to an activation server according to the network address.
10. The method of claim 8,
when the software displays the offline activation request in an identifier format or a graphical format,
the reading of the off-line activation request output by the software and the sending of the off-line activation request to the activation server comprise:
scanning an offline activation request in an identifier format or a graphic format displayed by software, and sending a scanning result to the activation server;
or
Shooting an offline activation request in an identifier format or a graphic format displayed by software, sending a shot picture to an activation server, and analyzing the offline activation request from the picture by the activation server.
11. The method of claim 8,
when the software plays the offline activation request in audio format,
the reading of the off-line activation request output by the software and the sending of the off-line activation request to the activation server comprise:
performing voice recognition on the offline activation request of the audio format played by the software, and sending a voice recognition result to an activation server;
or
And recording the offline activation request in the audio format played by the software, sending a recording result to an activation server, and acquiring the offline activation request from the recording result by the activation server.
12. The method of claim 8,
the outputting the offline activation information for the software to obtain includes:
displaying the off-line activation information in a character format for a user to read, and inputting the off-line activation information to the software through a keyboard or a microphone after the off-line activation information is read by the user; or
Displaying the off-line activation information in an identifier format, identifying the displayed identifier by the software by using an identifier identification module, and acquiring the off-line activation information according to an identification result; or
Displaying the off-line activation information in a picture format, extracting characters of the displayed picture by the software by using a character extraction module, and acquiring the off-line activation information according to a character extraction result; or
And playing the off-line activation information in an audio format, carrying out voice recognition on the played audio by the software by using a voice recognition module, and acquiring the off-line activation information according to a voice recognition result.
13. An offline activation method of software, which is used for activating a server, and is characterized by comprising the following steps:
acquiring an offline activation request sent by an activation client, wherein the offline activation request is generated by the software according to preset information of the software, and the preset information comprises identification information of the software and identification information of a current operating environment in which the software is located; the activation server acquires a bottom layer system where the software requests offline activation each time according to the offline activation request, and counts how many times the software is offline activated; the identification information of the software includes: any one or more items of information of a serial number and a product key of the software; the identification information of the current running environment of the software comprises: the identification information of a preset program built in the equipment where the software is located and/or the identification information of parts in the equipment where the software is located;
generating offline activation information according to the offline activation request;
and sending the offline activation information to the activation client.
14. The method of claim 13, further comprising:
after each off-line activation request sent by the activation client is obtained, the identification information of the software and the identification information of the current operating environment of the software included in the off-line activation request are analyzed from the off-line activation request, and the two items of information, including the identification information of the software and the identification information of the current operating environment of the software, are correspondingly stored to form an activation request record corresponding to the software included in the activation request record.
15. An offline activation system for software, comprising software for performing the method of any of the preceding claims 1 to 7, an activation client for performing the method of any of the preceding claims 8 to 12, and an activation server for performing the method of any of the preceding claims 13 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810908677.3A CN109271757B (en) | 2018-08-10 | 2018-08-10 | Off-line activation method and system for software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810908677.3A CN109271757B (en) | 2018-08-10 | 2018-08-10 | Off-line activation method and system for software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109271757A CN109271757A (en) | 2019-01-25 |
CN109271757B true CN109271757B (en) | 2022-03-18 |
Family
ID=65153345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810908677.3A Active CN109271757B (en) | 2018-08-10 | 2018-08-10 | Off-line activation method and system for software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109271757B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625829B (en) * | 2019-02-27 | 2025-05-27 | 阿里巴巴集团控股有限公司 | Application activation method and device based on trusted execution environment |
CN110704831A (en) * | 2019-09-12 | 2020-01-17 | 浪潮电子信息产业股份有限公司 | A compliance check method, device, electronic device and medium for a server |
CN111695113B (en) * | 2020-06-01 | 2023-12-05 | 南方电网数字平台科技(广东)有限公司 | Terminal software installation compliance detection method and device and computer equipment |
DE102020117287A1 (en) * | 2020-07-01 | 2022-01-05 | Sphinx Electronics Gmbh & Co Kg | Method and system for commissioning or managing an offline control device |
CN112866419B (en) * | 2021-03-11 | 2023-05-02 | 统信软件技术有限公司 | Activation control method, system and computing device |
CN113282888B (en) * | 2021-04-02 | 2024-02-06 | 北京千方科技股份有限公司 | Offline activation method, system and storage medium of application program |
CN119416201A (en) * | 2025-01-07 | 2025-02-11 | 阿里云计算有限公司 | Software activation method, system, electronic device, storage medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101601045A (en) * | 2007-02-01 | 2009-12-09 | 微软公司 | Secure serial number |
CN102737200A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Software activation using digital licenses |
CN104519066A (en) * | 2014-12-23 | 2015-04-15 | 飞天诚信科技股份有限公司 | Method for activating token of mobile terminal |
CN106657114A (en) * | 2016-12-30 | 2017-05-10 | 金蝶软件(中国)有限公司 | Method and system for implementing activation of product user |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050289072A1 (en) * | 2004-06-29 | 2005-12-29 | Vinay Sabharwal | System for automatic, secure and large scale software license management over any computer network |
CN104680040A (en) * | 2013-12-03 | 2015-06-03 | 方正国际软件(北京)有限公司 | Software loading number and activation control method and system |
US8997249B1 (en) * | 2014-06-18 | 2015-03-31 | Storagecraft Technology Corporation | Software activation and revalidation |
CN106971097A (en) * | 2017-04-13 | 2017-07-21 | 北京深思数盾科技股份有限公司 | Software license method |
CN107493264B (en) * | 2017-07-17 | 2021-01-05 | 深圳市文鼎创数据科技有限公司 | OTP activation method, mobile terminal, server, storage medium and system |
-
2018
- 2018-08-10 CN CN201810908677.3A patent/CN109271757B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101601045A (en) * | 2007-02-01 | 2009-12-09 | 微软公司 | Secure serial number |
CN102737200A (en) * | 2010-12-14 | 2012-10-17 | 微软公司 | Software activation using digital licenses |
CN104519066A (en) * | 2014-12-23 | 2015-04-15 | 飞天诚信科技股份有限公司 | Method for activating token of mobile terminal |
CN106657114A (en) * | 2016-12-30 | 2017-05-10 | 金蝶软件(中国)有限公司 | Method and system for implementing activation of product user |
Also Published As
Publication number | Publication date |
---|---|
CN109271757A (en) | 2019-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271757B (en) | Off-line activation method and system for software | |
EP3370384B1 (en) | Two-dimensional code processing method and apparatus | |
CN110380864B (en) | Method, device and system for acquiring and verifying face data | |
JP6880055B2 (en) | Message anti-counterfeiting implementation method and device | |
CN110659569B (en) | Electronic signature method, device, storage medium and electronic equipment | |
CN109816521A (en) | A kind of banking processing method, apparatus and system | |
CN108391141B (en) | Method and apparatus for outputting information | |
US20210174331A1 (en) | Transferring a customer from an atm transaction to a device-based transaction during an error state, and applications thereof | |
EP3176719A1 (en) | Methods and devices for acquiring certification document | |
EP3528152A1 (en) | Method and apparatus for user authentication | |
CN113162770A (en) | Online signature method and system | |
CN112732140A (en) | Resource processing method and device, electronic equipment and storage medium | |
US20210099772A1 (en) | System and method for verification of video integrity based on blockchain | |
CN114943064A (en) | Multimedia security processing method, system, device and storage medium | |
JP7610684B2 (en) | Insurance consultation system, insurance consultation terminal, and recording program | |
KR20170054848A (en) | Method of storing external information of electronic communcation device and method of certification of external information of electronic communcation device by using the same | |
CN115688059B (en) | Image data processing method and device, electronic equipment and storage medium | |
CN116828018A (en) | Game video processing method, device and equipment for cloud game and storage medium | |
CN115993918A (en) | Menu processing method, device, electronic device and readable storage medium | |
CN116916257B (en) | 5G message display method, device, 5G message system and electronic device | |
CN112837690B (en) | Audio data generation method, audio data transfer method and device | |
US20240211614A1 (en) | Verification system, verification method, and verification program | |
CN112202748B (en) | Security verification system, method, device, equipment and medium | |
HK40045371A (en) | Resource processing method, device, electronic equipment and storage medium | |
CN115906050A (en) | User group identity authentication method and device, electronic equipment and readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |