Search

CN-121980546-A - Segmented software authorization method based on preassigned service serial number

CN121980546ACN 121980546 ACN121980546 ACN 121980546ACN-121980546-A

Abstract

The invention relates to the field of software activation, in particular to a segmented software authorization method based on a pre-allocation service serial number, which comprises the steps of generating a service serial number and a complete activation key for each piece of software to be authorized, and splitting the complete activation key into a first key segment and a second key segment; the method comprises the steps of writing a service serial number and a first key segment into a designated path of a target computer operating system in advance, enabling an activation client on the target computer operating system to read the locally stored service serial number and the first key segment, responding to user input to obtain a second key segment, enabling the activation client to restore a complete activation key based on the combination of the first key segment and the second key segment, and checking based on the complete activation key and the service serial number. Through the scheme, the software authorization advanced fine management is realized, the key leakage risk is reduced, and the convenient activation experience is provided on the premise of ensuring the safety.

Inventors

  • CHEN YUFENG
  • MAO ZHOU
  • XIE WEI
  • CHEN DEJUN

Assignees

  • 麒麟软件有限公司

Dates

Publication Date
20260505
Application Date
20260408

Claims (10)

  1. 1. The segmented software authorization method based on the pre-allocation service serial number is characterized by comprising the following steps: s1, generating a service serial number and a complete activation key for each piece of software to be authorized, and splitting the complete activation key into a first key segment and a second key segment; s2, the service serial number and the first key segment are written into a designated path of the target computer operating system in advance; s3, an activation client on the target computer operating system reads the locally stored service serial number and the first key segment; s4, responding to user input, and acquiring the second key segment; S5, the activation client restores the complete activation key based on the combination of the first key segment and the second key segment; And S6, checking based on the complete activation key and the service serial number.
  2. 2. The method for segmented software authorization based on pre-assigned service serial numbers according to claim 1, wherein in S1, a unique and traceable service serial number is generated for each piece of software to be authorized by an activation background, and a complete activation key having a strong binding relation with the service serial number is generated according to the service serial number.
  3. 3. The method for authorizing segmented software based on pre-assigned service sequence numbers as set forth in claim 1, wherein the activation client is preset in an operating system and has access to a preset designated path.
  4. 4. The method for segmented software authorization based on pre-assigned service sequence numbers according to claim 1, wherein in S4, the first key segment is automatically displayed back for guiding the user to input the second key segment in response to the user opening the activation client.
  5. 5. The method for authorizing segmented software based on pre-assigned service serial numbers according to claim 1, wherein S6 includes a preliminary check and a remote check, wherein the activation client parses the second key segment, extracts the implicit service serial number information, compares the extracted service serial number information with the locally read service serial number to realize a local check, and if the extracted service serial number information is consistent with the locally read service serial number, the preliminary check passes.
  6. 6. The method for segmented software authorization based on pre-assigned service sequence numbers according to claim 5, wherein the activation client submits the combined complete activation key to the activation server for remote verification along with the service sequence numbers after the preliminary verification is passed.
  7. 7. The method of claim 6, wherein the remote verification includes submitting the complete activation key and the service serial number directly to the activation server, the activation server verifies the validity of the complete activation key, the binding relation with the service serial number and whether the complete activation key is used, and if both the complete activation key and the service serial number are legal, the activation server returns activation success information to the activation client to complete the authorization.
  8. 8. The method for authorizing segmented software based on pre-assigned service serial number as recited in claim 6, wherein performing remote verification includes generating two-dimensional codes from the complete activation key and service serial number information, submitting the two-dimensional codes to an activation server by a proxy after code scanning by a mobile device, the activation server verifying validity of the complete activation key, binding relation with the service serial number and whether the complete activation key has been used, and if the complete activation key has been used, returning an offline activation code to the mobile device by the activation server, wherein the offline activation code is used for completing activation after input by an activation client.
  9. 9. A control device comprising a processor and a storage device, said storage device being adapted to store a plurality of program codes, characterized in that said program codes are adapted to be loaded and executed by said processor to perform a segmented software authorization method based on pre-assigned service sequence numbers according to any of claims 1 to 8.
  10. 10. A computer readable storage medium having stored therein a plurality of program codes, wherein the program codes are adapted to be loaded and executed by a processor to perform a method of segmented software authorization based on pre-assigned service sequence numbers as claimed in any one of claims 1 to 8.

Description

Segmented software authorization method based on preassigned service serial number Technical Field The invention relates to the field of software activation, and particularly provides a segmented software authorization method based on a pre-allocation service serial number. Background With the development of software industry, and in particular toB operating system business, software vendors commonly employ a multi-level distribution system to deliver products to end enterprise users. In the process, how to effectively and safely manage the software authorization, prevent the secret key from being abused by piracy due to leakage, and simultaneously consider the flexibility of off-line complex sales scenes, thereby becoming a technical problem to be solved urgently. The traditional distribution mode of 'one key general' has natural defects in safety and controllability, and cannot meet the requirements of modern software distribution management. The main disadvantages of the currently mainstream software authorization activation scheme are as follows: 1. Key management is disjointed from the equipment, namely after a manufacturer generates and distributes a complete key, whether the key is used or not and on which equipment the key is used are tracked and verified without effective technical means, and the management is rough. 2. The offline activation experience is poor, and aiming at the enterprise intranet environment incapable of being networked, the traditional offline activation process generally requires users to manually submit a long string of machine codes, serial numbers and other information, so that the steps are complicated, errors are easy to occur, and the user experience is quite unfriendly. 3. The security and convenience are difficult to be combined, if a hardware binding (such as binding with a CPU and a serial number of a main board) strategy is adopted, the key diffusion can be effectively prevented, but the flexibility of authorization is greatly reduced, the authorization is invalid after the hardware of the equipment is changed, and the after-sale support pressure is high. If not, the key can be copied infinitely, and the security cannot be ensured. 4. The risk of channel key leakage is high, namely the complete activation key is usually delivered to a total manager at the top end of a distribution chain, once the channel key is leaked, the risk of large-area piracy is caused, and the manufacturer is difficult to trace and restrain. Disclosure of Invention In order to overcome the defects, the invention provides the method for realizing the advanced fine management of software authorization, reducing the risk of key leakage and providing convenient activation experience on the premise of ensuring the safety. In a first aspect, the present invention provides a segmented software authorization method based on pre-assigned service sequence numbers, comprising the steps of: s1, generating a service serial number and a complete activation key for each piece of software to be authorized, and splitting the complete activation key into a first key segment and a second key segment; s2, the service serial number and the first key segment are written into a designated path of the target computer operating system in advance; s3, an activation client on the target computer operating system reads the locally stored service serial number and the first key segment; s4, responding to user input, and acquiring the second key segment; S5, the activation client restores the complete activation key based on the combination of the first key segment and the second key segment; And S6, checking based on the complete activation key and the service serial number. Further, in the step S1, a unique and traceable service serial number is generated for each piece of software to be authorized by the activation background, and a complete activation key with a strong binding relation is generated according to the service serial number. Further, the activation client is preset in the operating system and can access a preset designated path. Further, in S4, the first key segment is automatically displayed back for guiding the user to input the second key segment in response to the user opening the activation client. Further, the step S6 includes a preliminary verification and a remote verification, where the activation client parses the second key segment, extracts the service serial number information implied therein, compares the service serial number information with the service serial number read locally to implement the local verification, and if the service serial number is consistent with the service serial number, the preliminary verification passes. And further, after the preliminary verification is passed, the activation client submits the combined complete activation key and the service serial number to the activation server for remote verification. Further, the remote verification includes submitting the c