Offline activation authorization method and device, electronic equipment and storage medium

By detecting and verifying offline activation devices, the offline activation process is simplified, the problem of cumbersome activation process in the existing technology is solved, and efficient authorization of offline activation software is achieved.

CN119203074APending Publication Date: 2024-12-27XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411156533.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, the process of activating the software to be authorized offline is quite cumbersome, especially when there are many devices, it is difficult to achieve convenient offline activation.

Method used

By detecting whether the offline activation device that has been authorized is plugged into the target device, start the activation session authentication page, verify the authorization password, and obtain the verification information of the target device after the authorization password is passed, and submit it to the offline activation device that has been authorized. Activate the software to be authorized to ensure that the signature license is returned when the number of authorizations is not 0.

Benefits of technology

It simplifies the offline activation process, improves the convenience of many devices, and realizes efficient authorization of offline activation software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203074A_ABST
    Figure CN119203074A_ABST
Patent Text Reader

Abstract

The invention provides an offline activation authorization method and device, electronic equipment and a storage medium. The method comprises the following steps: detecting whether authorized offline activation equipment is inserted into target equipment or not, wherein the target equipment refers to equipment operated by to-be-authorized software; if the authorized offline activation device is inserted into the target device, starting an activation session authentication page which is used for inputting and verifying an authorization password; after verification of the authorization password is passed, verification information of the target device is obtained, the verification information is submitted to the authorized offline activation device, and the verification information is used for requesting the authorized offline activation device to activate the to-be-authorized software; and when it is determined that the authorization number of the authorized offline activation device is not 0, returning a signature to the to-be-authorized software, and activating the to-be-authorized software. According to the offline activation authorization method provided by the invention, the problem that the process of offline activation of the to-be-authorized software in the prior art is relatively tedious can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of software authorization, and in particular to an offline activation authorization method and device, an electronic device, and a storage medium. Background Art

[0002] Closed-source software manufacturers often protect their own interests through license files. The license file is bound to the user's device (device fingerprint), making it impossible to illegally use it by copying the license file. At the same time, the license contains the manufacturer's signature (using a non-public private key) to prevent the license from being tampered with. In order to use the software, users need to generate a unique license file for the device through the activation process so that they can use the software normally.

[0003] The activation process can be done online or by importing the license offline. The offline process includes:

[0004] 1. Get fingerprint from the device

[0005] 2. Send the fingerprint to the manufacturer

[0006] 3. The manufacturer generates a license file based on the fingerprint and related permissions

[0007] 4. Import the license file into the device

[0008] Since the device where the software is installed cannot connect to the Internet in some scenarios, online activation is not possible. The offline activation process is cumbersome and not very convenient when there are many devices. Summary of the invention

[0009] The purpose of the present disclosure is to overcome the deficiencies of the prior art and to provide an offline activation authorization method and device, an electronic device and a storage medium. The offline activation authorization method can solve the problem that the offline activation process of software to be authorized in the prior art is relatively cumbersome.

[0010] According to a first aspect of an embodiment of the present disclosure, there is provided an offline activation authorization method, the method comprising:

[0011] Detect whether the offline activation device that has completed authorization is plugged into the target device, where the target device refers to the device on which the software to be authorized is running;

[0012] If the authorized offline activation device is plugged into the target device, an activation session authentication page is started, and the activation session authentication page is used to enter and verify the authorization password;

[0013] After the authorization password is verified, the verification information of the target device is obtained, and the verification information is submitted to the offline activation device that has completed the authorization, and the verification information is used to request the offline activation device that has completed the authorization to activate the software to be authorized;

[0014] When it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0, a signed license is returned to the software to be authorized, and the software to be authorized is activated.

[0015] In one embodiment, before detecting whether the authorized offline activation device is plugged into the target device, the method further includes:

[0016] Use the private key to open the authorization session page, where the private key is stored on the license issuance server;

[0017] The authorization number and authorization password of the offline activation device are set on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

[0018] In one embodiment, the method further comprises:

[0019] The authorization number of the offline activated device that has completed authorization is reduced by 1.

[0020] In one embodiment, the method comprises:

[0021] When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

[0022] In one embodiment, using the private key to open the authorization session page includes:

[0023] The offline activation device is plugged into the license issuing server, and the authorization session page is opened through the private key stored in the license issuing server.

[0024] According to a second aspect of an embodiment of the present disclosure, an offline activation authorization device is provided, the device comprising a detection module, a start module, a processing module and a return module; wherein:

[0025] The detection module is used to detect whether the offline activation device that has completed authorization is plugged into the target device, and the target device refers to the device on which the software to be authorized runs;

[0026] The startup module is used to start the activation session authentication page when the authorized offline activation device is plugged into the target device, and the activation session authentication page is used to input and verify the authorization password;

[0027] The processing module is used to obtain the verification information of the target device after the authorization password is verified, and submit the verification information to the offline activation device that has completed the authorization, and the verification information is used to request the offline activation device that has completed the authorization to activate the software to be authorized;

[0028] The return module is used to return a signed license for the software to be authorized and activate the software to be authorized when it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0.

[0029] In one embodiment, the device comprises an opening module and a setting module; wherein,

[0030] The opening module is used to open the authorization session page using a private key, and the private key is stored on the license issuing server;

[0031] The setting module is used to set the authorization number and authorization password of the offline activation device on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

[0032] In one embodiment, the return module is further used to:

[0033] When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

[0034] According to a third aspect of an embodiment of the present application, an electronic device is provided, including: a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0035] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0036] The embodiments of the present disclosure provide an offline activation authorization method and apparatus, an electronic device, and a storage medium. When a detection is performed to determine that an authorized offline activation device is plugged into a target device, an activation session authentication page is started to input and verify an authorization password. After the authorization password is verified, verification information of the target device is obtained, and the verification information is submitted to the authorized offline activation device, so as to request the authorized offline activation device to activate the software to be authorized through the verification information. When it is determined that the number of authorizations of the authorized offline activation device is not 0, a signed license is returned for the software to be authorized, and the software to be authorized is activated, so as to solve the problem that the offline activation process of the software to be authorized in the prior art is relatively cumbersome. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0038] Figure 1 The structure and implementation principle diagram of the offline activation device in the embodiment of the present disclosure.

[0039] Figure 2 The present invention is a flowchart of an offline activation authorization method in an implementation manner of the present invention.

[0040] Figure 3 An architectural diagram of an offline activation authorization device provided in an embodiment of the present disclosure.

[0041] Figure 4 An architectural diagram of an offline activation authorization device provided in an embodiment of the present disclosure.

[0042] Figure 5 An internal structure diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0044] In this disclosure, in order to implement the offline activation authorization method, it is necessary to design a portable medium, which is generally a USB interface device, such as UKEY, which is called an offline activation device in this disclosure. The structure and implementation principle of the offline activation device are as follows: Figure 1 shown.

[0045] It should be noted that the offline activation device includes at least variables such as private key, authorization number and activation password. At the same time, the offline activation device provides two types of interfaces to the outside world, one is the authorization interface for device authorization; the other is the activation interface for activating the software.

[0046] Figure 2 The following is a flow chart of an offline activation authorization method provided by an embodiment of the present disclosure. Figure 2 As shown, the method includes:

[0047] Step 201: Detect whether the offline activation device that has completed authorization is plugged into the target device, where the target device refers to the device on which the software to be authorized runs;

[0048] In this step, it is necessary to first detect whether the offline activation device that has completed authorization is plugged into the device where the software to be authorized is running.

[0049] In one embodiment, before detecting whether the authorized offline activation device is plugged into the target device, the method further includes:

[0050] Use the private key to open the authorization session page, where the private key is stored on the license issuance server;

[0051] In one embodiment, using the private key to open the authorization session page includes:

[0052] Inserting the offline activation device into the license issuing server, and opening the authorization session page through the private key stored in the license issuing server;

[0053] In this embodiment, the staff of the software licensing manufacturer plugs the offline activation device into the license issuing server and opens the authorization session page through the private key stored in the license issuing server. The private key is usually a unique private key issued by the license issuing server.

[0054] The authorization number and authorization password of the offline activation device are set on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

[0055] In this embodiment, the authorization number and authorization password of the offline activation device are set on the authorization session page according to the preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization. For example, if the user pre-purchases software authorization for 40 devices, the authorization number is set to 40. After setting the authorization number and authorization password of the offline activation device, the authorization session page is closed.

[0056] Step 202: If the authorized offline activation device is plugged into the target device, an activation session authentication page is started, where the activation session authentication page is used to input and verify the authorization password.

[0057] In this step, if it is determined that the authorized offline activation device is plugged into the target device, the activation session authentication page is started to enter and verify the authorization password through the activation session authentication page. If the entered authorization password is correct, proceed to the next step. If the entered authorization password is incorrect, close the activation session authentication page.

[0058] Specifically, the user (usually a staff member of the software licensing manufacturer, but can also be handed over to the user's staff to complete) plugs the authorized offline activation device into the device where the software to be authorized is running. After that, the system starts the authentication page of the activation session, and the user enters the activation session by entering the password.

[0059] Step 203: After the authorization password is verified, the verification information of the target device is obtained and submitted to the offline activation device that has completed the authorization, and the verification information is used to request the offline activation device that has completed the authorization to activate the software to be authorized; wherein the verification information of the target device can be a fingerprint of the target device.

[0060] In this step, after the authorization password is verified, the obtained verification information of the target device is submitted to the offline activation device that has completed the authorization, that is, the USB interface device, to request activation of the software to be authorized.

[0061] Step 204: When it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0, a signed license is returned to the software to be authorized, and the software to be authorized is activated.

[0062] In this step, the activation process is judged based on the number of authorizations. If it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0, the signature license is returned, the activated signature license is used to activate the software to be authorized, and the activation session page is closed.

[0063] In one embodiment, the method further comprises:

[0064] The authorization number of the offline activated device that has completed authorization is reduced by 1.

[0065] In this embodiment, when it is determined that the authorization number of the offline activation device that has completed authorization is not 0, a signature license is returned for the software to be authorized, and the authorization number of the offline activation device that has completed authorization is reduced by 1.

[0066] In one embodiment, the method comprises:

[0067] When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

[0068] It can be understood that the authorization program in this embodiment is used to activate the software, that is, to generate a license, and is executed in the software running system, that is, the device where the software to be authorized runs. After the staff completes the authorization of the offline activation device in the license issuance server, they bring the offline activation device to the user's location to execute the software activation process.

[0069] In an offline activation authorization method provided by an embodiment of the present disclosure, when it is determined by detection that an authorized offline activation device is plugged into a target device, an activation session authentication page is started to input and verify the authorization password, and after the authorization password is verified, the verification information of the target device is obtained, and the verification information is submitted to the authorized offline activation device, so as to request the authorized offline activation device to activate the software to be authorized through the verification information, and when it is determined that the number of authorizations of the authorized offline activation device is not 0, a signed license is returned for the software to be authorized, and the software to be authorized is activated, so as to solve the problem that the offline activation process of the software to be authorized in the prior art is relatively cumbersome.

[0070] Figure 3 This is a schematic diagram of an offline activation authorization device provided by an embodiment of the present disclosure. Figure 3 As shown, the offline activation authorization device includes a detection module 301, a startup module 302, a processing module 303 and a return module 304; wherein the detection module 301 is used to detect whether the offline activation device that has completed authorization is plugged into the target device, and the target device refers to the device on which the software to be authorized runs; the startup module 302 is used to start the activation session authentication page when the offline activation device that has completed authorization is plugged into the target device, and the activation session authentication page is used to enter and verify the authorization password; the processing module 303 is used to obtain the verification information of the target device after the authorization password is verified, and submit the verification information to the offline activation device that has completed authorization, and the verification information is used to request the offline activation device that has completed authorization to activate the software to be authorized; the return module 304 is used to return a signed license for the software to be authorized and activate the software to be authorized when it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0.

[0071] Figure 4 This is a schematic diagram of an offline activation authorization device provided by an embodiment of the present disclosure. Figure 4 As shown, the offline activation authorization device includes an opening module 401, a setting module 402, a detection module 403, a startup module 404, a processing module 405 and a return module 406; wherein, the opening module 404 is used to use a private key to open an authorization session page, and the private key is stored on a license issuance server; the setting module 402 is used to set the authorization number and authorization password of the offline activation device on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

[0072] In one embodiment, the return module is further used to:

[0073] When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

[0074] The present disclosure also provides an electronic device, the internal structure diagram of the electronic device can be as follows Figure 5 As shown. The electronic device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, it is implemented as in the above-mentioned offline activation authorization method. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements any step in the above-mentioned offline activation authorization method.

[0075] The present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any step in the above-mentioned offline activation authorization method can be implemented.

[0076] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0077] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An offline activation authorization method, characterized in that: The method comprises: Detect whether the offline activation device that has completed authorization is plugged into the target device, where the target device refers to the device on which the software to be authorized is running; If the authorized offline activation device is plugged into the target device, an activation session authentication page is started, and the activation session authentication page is used to enter and verify the authorization password; After the authorization password is verified, the verification information of the target device is obtained, and the verification information is submitted to the offline activation device that has completed the authorization, and the verification information is used to request the offline activation device that has completed the authorization to activate the software to be authorized; When it is determined that the number of authorizations of the offline activation device that has completed authorization is not 0, a signed license is returned to the software to be authorized, and the software to be authorized is activated.

2. The offline activation authorization method according to claim 1, characterized in that: Before detecting whether the authorized offline activation device is plugged into the target device, the method further includes: Use the private key to open the authorization session page, where the private key is stored on the license issuance server; The authorization number and authorization password of the offline activation device are set on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

3. The offline activation authorization method according to claim 1 or 2, characterized in that: The method further comprises: The authorization number of the offline activated device that has completed authorization is reduced by 1.

4. The method according to claim 1 or 2, characterized in that: The method comprises: When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

5. The offline activation authorization method according to claim 2, characterized in that: The method of using a private key to open the authorization session page includes: The offline activation device is plugged into the license issuing server, and the authorization session page is opened through the private key stored in the license issuing server.

6. An offline activation authorization device, characterized in that: The device includes a detection module, a start module, a processing module and a return module; wherein, The detection module detects whether the offline activation device that has completed authorization is plugged into the target device, and the target device refers to the device on which the software to be authorized runs; The startup module starts an activation session authentication page if the authorized offline activation device is plugged into the target device, and the activation session authentication page is used to input and verify the authorization password; The processing module obtains the verification information of the target device after the authorization password is verified, and submits the verification information to the offline activation device that has completed the authorization, wherein the verification information is used to request the offline activation device that has completed the authorization to activate the software to be authorized; The return module returns a signed license for the software to be authorized and activates the software to be authorized when determining that the number of authorizations of the offline activation device that has completed authorization is not 0.

7. The offline activation authorization device according to claim 6, characterized in that: The device also includes an opening module and a setting module: The opening module uses a private key to open the authorization session page, and the private key is stored on the license issuance server; The setting module sets the authorization number and authorization password of the offline activation device on the authorization session page according to preset requirements, so that the offline activation device becomes an offline activation device that has completed authorization.

8. The offline activation authorization device according to claim 7, characterized in that: The return module is also used for: When it is determined that the number of authorizations for the offline activated device that has completed authorization is 0, an error message is returned to the software to be authorized.

9. An electronic device, comprising: A memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Software activation method and system, electronic equipment, storage medium and program product

    CN119416201A