Implementation method and system for software encryption authorization separation

Through the software encryption and authorization separation method, the unique identification and authorization period of the hard disk code and MAC address, combined with advanced encryption technology, solve the problem of insufficient security and inconvenient management of the software authorization system, achieving high security and flexible authorization management, preventing It prevents software piracy and illegal copying and protects the commercial interests and intellectual property rights of software developers.

CN118690388APending Publication Date: 2024-09-24DAQING ANRUIDA TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410784792.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing software authorization system has problems such as insufficient security, easy cracking and inconvenient authorization management. It cannot effectively prevent software piracy and illegal copying, causing software developers to be unable to effectively protect their intellectual property rights and commercial interests.

Method used

Adopt the implementation method of software encryption and authorization separation, through the separation design of authorized software end and commercial software end, use encryption and decryption algorithms to protect authorization information, use hard disk code and MAC address as unique identifiers, set the authorization period, and use advanced encryption Technology and intelligent authorization management enable security and convenience.

Benefits of technology

It effectively prevents illegal acquisition and piracy of authorized information, improves software security and commercial interest protection, provides flexible authorization management and monitoring functions, and ensures legal use of software and intellectual property protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690388A
    Figure CN118690388A
Patent Text Reader

Abstract

The invention discloses a method and a system for realizing software encryption and authorization separation, belongs to the field of technical security, and solves the problems that the existing software encryption authorization system is insufficient in security, easy to crack and inconvenient in authorization management, so that the requirements of software developers on a safe and reliable authorization system cannot be met. The system comprises an authorization software end and a commercial software end, and the commercial software end obtains local information and encrypts the local information to generate an encryption result; the authorization software end configures authorization information, identifies the encryption result, generates an encrypted authorization file and sends the encrypted authorization file to the commercial software end; and the commercial software end receives the encrypted authorization file, decrypts the encrypted authorization file, obtains authorization information, verifies and stores the authorization information, and authorizes the encrypted authorization file. The method is suitable for scenes of software development, software property right protection, software use environment maintenance and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of technical security, and in particular relates to a software encryption authorization method. Background Art

[0002] With the rapid development of the Internet and the widespread application of information technology, software, as one of the core products of the digital age, is becoming an indispensable tool for all walks of life. However, the problem of software piracy and illegal copying is becoming increasingly prominent, causing huge losses to software developers and seriously affecting the healthy development of the software industry.

[0003] Traditional software authorization systems are often vulnerable to cracking and piracy, which makes it impossible for software developers to effectively protect their intellectual property rights and commercial interests. Therefore, developing a secure and reliable software encryption authorization system is of great significance for protecting the legitimate rights and interests of software and preventing piracy.

[0004] At present, some software encryption authorization systems have appeared on the market, but they often have problems such as insufficient security, easy to be cracked, and inconvenient authorization management, and cannot meet the needs of software developers for a safe and reliable authorization system.

[0005] Traditional software licensing systems usually embed licensing information directly into the software code or store it on a local device, and the licensed software itself can be used independently. However, this licensing method has a serious problem: once the licensed software is illegally obtained or stolen, the licensing information will be exposed, leading to illegal acquisition of licensing information and bypassing licensing restrictions, which in turn leads to software piracy and illegal copying.

[0006] Therefore, protecting the security of authorization files has become one of the important challenges faced by software developers. Traditional authorization methods are difficult to effectively prevent the leakage and illegal acquisition of authorization information, and software developers are often helpless and unable to effectively protect their legitimate rights and interests.

[0007] Therefore, there is an urgent need for a new type of software encryption authorization system that can overcome the shortcomings of traditional systems and provide a higher level of security, flexibility and convenience, so as to better protect software intellectual property rights and safeguard the legitimate rights and interests of software developers. Summary of the invention

[0008] The present invention proposes a method and system for realizing software encryption and authorization separation, aiming to solve the problem that the existing software encryption authorization system is insufficient in security, easy to be cracked, and inconvenient in authorization management, so as to be unable to meet the needs of software developers for a safe and reliable authorization system.

[0009] The present invention proposes a system for implementing software encryption and authorization separation, the system comprising an authorization software end and a commercial software end, the commercial software end obtaining local information, encrypting it, and generating an encryption result; the authorization software end configuring the authorization information, identifying the encryption result, generating an encrypted authorization file and sending it to the commercial software end; the commercial software end receiving the encrypted authorization file, decrypting it, obtaining the authorization information, verifying and storing the authorization information, and performing authorization.

[0010] Furthermore, a preferred solution is provided: the local information includes a hard disk code and a MAC address.

[0011] Furthermore, a preferred solution is provided: the encryption result is in the form of: a QR code, a barcode, and a key.

[0012] Furthermore, a preferred solution is provided: the authorization information includes the authorization location and the authorization period.

[0013] Furthermore, a preferred solution is provided: the commercial software end is provided with an encryption interface and a decryption interface.

[0014] Furthermore, a preferred solution is provided: the generation of the encrypted authorization file is specifically as follows: the authorization software end assembles the local information and the authorization information into json, transmits it to the encrypted authorization interface of the commercial software end, replaces the private key 1 with the key: Authorize of the authorization period in json, and then encrypts the local information with MD5 first, and then encrypts the encrypted result and the json with the private key 1 replaced by AES, and then base64 encodes the encrypted result again, and replaces the '=='\'='\'4M' in the encoded content with the private key 2 / 3 / 4 respectively, and then returns it to the authorization software end through the interface, and the authorization software end stores its return value as the lisence.cyt authorization file.

[0015] Furthermore, a preferred solution is provided: the decryption step of the commercial software end includes: the authorization software end passes the content in the encrypted authorization file to the decryption interface of the commercial software end in json format, first reverses the content in the encrypted authorization file and replaces the 2 / 3 / 4 private keys with =='\'='\'4M', decodes the result with base64, and then performs AES decryption on the decoded result and the MD5 encrypted information together, and replaces the private key 1 with the authorization period key: Authorize in the decrypted result to obtain the original authorization information, and returns it to the authorization software end through the interface to echo the authorization period.

[0016] The present invention also proposes a method for implementing software encryption and authorization separation, wherein the method comprises:

[0017] Obtaining local information, identifying the encryption result, and generating an encrypted authorization file;

[0018] Configure authorization information, and generate an encrypted authorization file according to the encryption result;

[0019] The encrypted authorization file is decrypted to obtain authorization information, the authorization information is verified and stored, and authorization is performed.

[0020] The present invention also proposes a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the above-mentioned method for implementing software encryption and authorization separation.

[0021] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program executes the steps of the above-mentioned method for implementing software encryption and authorization separation.

[0022] Compared with the prior art, the advantages of the present invention are:

[0023] Traditional software licensing systems often face challenges from piracy and illegal copying, which brings serious business losses and security risks to software developers. Piracy and illegal copying result in software being unable to obtain legal licenses and use, which not only damages the business interests of software developers, but may also bring security risks and inconvenience to users.

[0024] The present invention provides an innovative software encryption authorization method and system, wherein the system adopts a strategy of separating the authorization software from the core encryption and decryption algorithm, deploys the core encryption and decryption algorithm on a secure server, and effectively isolates the authorization software from the algorithm. The authorization software itself cannot be used alone, and the authorization function can only be realized after being coordinated with the secure core algorithm, effectively preventing the authorization software from being illegally obtained or stolen.

[0025] Through this innovative authorization method, software developers can more effectively protect the security of their authorization information and prevent illegal access to authorization information, thereby protecting the intellectual property rights and commercial interests of the software and promoting the healthy development of the software industry.

[0026] Specifically, the present invention has the following advantages:

[0027] 1. Unique identification ensures security: The authorization system proposed in the present invention uses the hard disk code and MAC address as the unique machine code identification. The combination of the two is highly unique and secure, effectively preventing the theft and illegal copying of authorization information.

[0028] 2. The authorization period improves security: The authorization system proposed by the present invention sets an authorization period. Users need to complete the authorization operation within the specified time, otherwise the software will not be able to continue to be used normally. This effectively prevents illegal copying and piracy and protects the commercial interests of software developers.

[0029] 3. Convenient and flexible authorization management: Users can complete the authorization process through simple operations. The system will automatically generate unique authorization information based on the hard disk code and MAC address. The authorization period can also be flexibly adjusted according to user needs and usage, which improves the convenience and flexibility of authorization management.

[0030] 4. Monitor and track authorization status: The authorization system proposed in the present invention has a complete monitoring and tracking function, which can record the detailed information of each authorization operation in real time, including authorization time, authorization method, authorization period, etc., so that software developers can monitor and track authorization status at any time and discover and handle abnormal situations in time.

[0031] This invention integrates advanced encryption algorithms, intelligent authorization management and secure communication technologies to achieve effective encryption protection and flexible authorization management of software, providing software developers with a safer and more reliable software authorization solution, promoting the healthy development of the software industry, effectively solving the problems of piracy and illegal copying, protecting software intellectual property rights and commercial interests, and providing users with a safe and reliable software usage environment.

[0032] The present invention is applicable to scenarios such as software development, software property protection, and software usage environment maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 It is a flowchart of a method for implementing software encryption and authorization separation according to a specific embodiment of the present invention;

[0035] Figure 2 This is a diagram of the authorization software interface described in a specific implementation manner of the present invention. DETAILED DESCRIPTION

[0036] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0037] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0038] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this application specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0039] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific implementation methods disclosed below.

[0041] Implementation method 1:

[0042] Reference Figure 1 , Figure 2 This embodiment will be described.

[0043] A system for implementing software encryption and authorization separation includes: an authorization software end and a commercial software end, wherein the commercial software end obtains local information, encrypts it, and generates an encryption result; the authorization software end configures the authorization information, identifies the encryption result, generates an encrypted authorization file, and sends it to the commercial software end; the commercial software end receives the encrypted authorization file, decrypts it, obtains the authorization information, verifies and stores the authorization information, and performs authorization.

[0044] The system described in this embodiment is divided into two parts, namely an authorized software part and a commercial software part.

[0045] The following is the authorized software part, that is, the authorized software end:

[0046] The Licensed Software is used in part to:

[0047] (1) Configure authorization information, including authorization location and authorization period.

[0048] The authorized software section allows administrators to configure the authorized location and authorization period to meet the needs of different users and scenarios. Administrators can flexibly set the authorized effective location and time range to ensure that the software can be used normally at the specified location and time.

[0049] (2) Identify the encryption result and obtain the machine code.

[0050] The authorization software part has the function of identifying the encryption result. The encryption result can be in the form of a QR code, barcode, key, etc. The user can obtain the machine code information by scanning the encryption result. The machine code information includes unique identifiers such as the hard disk code and MAC address, which are used to generate an encrypted authorization file. The plain text transmission of the machine code is prohibited to improve its security.

[0051] (3) Generate an encrypted authorization file.

[0052] According to the authorization location and authorization period configured by the user, the authorized software part will generate a corresponding encrypted authorization file, which contains information such as the authorization location, authorization period, machine code, etc., and is used for verification and control of the commercial software part.

[0053] The commercial software is used in part for:

[0054] (1) Obtaining the unique machine code of the local machine and generating an encryption result: The commercial software part is responsible for obtaining the unique machine code information of the local machine, including the hard disk code and MAC address, etc., and then encrypting this information and generating an encryption result. The encryption result can be in the form of a QR code, barcode, key, etc., for the user to identify and obtain in the authorized software part.

[0055] (2) Upload, decrypt, verify and store: The commercial software part receives and decrypts the encrypted authorization file generated by the authorization software part, and then verifies the validity of the authorization information in the encrypted authorization file, including the authorization location and authorization period. After the verification is passed, the commercial software part stores the authorization information in a secure database for subsequent authorization verification and usage records.

[0056] The commercial software part includes an encryption module and a decryption module. The encryption module includes an encryption core algorithm, and the decryption module includes a decryption core algorithm, which are used to encrypt and protect the commercial software and decrypt and verify the commercial software. The algorithm uses advanced encryption technology to ensure the security and reliability of the commercial software.

[0057] Specifically: the encryption algorithm is:

[0058] First set up 4 private keys, namely private key 1 / 2 / 3 / 4.

[0059] The authorization software assembles the authorization date and machine code into json and transmits it to the commercial software encryption authorization interface. The key of the authorization date in json: Authorize replaces the private key 1, and then encrypts the machine code with MD5 first, and then encrypts the encrypted result and the json with replaced private key 1 with AES. The encrypted result is then base64 encoded again, and the '=='\'='\'4M' in the encoded content is replaced with private key 2 / 3 / 4 respectively, and then returned to the authorization software through the interface. The authorization software stores its return value as the lisence.cyt authorization file.

[0060] The decryption algorithm is:

[0061] The authorization software part passes the content and machine code in the authorization file to the decryption interface of the commercial software in json format. First, the authorization content is reversed to replace the 2 / 3 / 4 private key with =='\'='\'4M', the result is base64 decoded, and then the result and the MD5 encrypted machine are decrypted by AES. After the decryption, the private key 1 is replaced with the key of the authorization date: Authorize, and the original authorization information is obtained. It is returned to the authorization software through the interface to echo the authorization date.

[0062] When receiving the uploaded encrypted authorization file, the commercial software part also decrypts it using the same decryption algorithm, thereby controlling the use and disabling of the software.

[0063] (3) Providing private encryption and decryption interfaces: The commercial software part provides encryption and decryption interfaces. Other systems or applications can implement encryption protection and decryption verification of the commercial software by calling these interfaces. The commercial software must be deployed first and then authorized for encryption, thereby ensuring that the software can operate normally at the authorized location and within the authorized period.

[0064] Those skilled in the art will appreciate that the above are only preferred embodiments of the present invention, and the various embodiments of the present disclosure and / or the features described in the claims may be combined or combined in various ways, even if such combinations or combinations are not explicitly described in the present disclosure. It is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art may still modify the technical solutions described in the aforementioned embodiments, or perform equivalent substitutions on some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.

[0065] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0066] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these 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 these modifications and variations.

[0067] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0068] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0069] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure rather than to limit its protection scope. Although the present disclosure has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present disclosure, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the disclosed claims to be approved.

Claims

1. A system for implementing software encryption and authorization separation, characterized in that: The system includes an authorization software end and a commercial software end. The commercial software end obtains local information, encrypts it, and generates an encryption result. The authorization software end configures authorization information, identifies the encryption result, generates an encrypted authorization file, and sends it to the commercial software end. The commercial software terminal receives the encrypted authorization file, decrypts it, obtains the authorization information, verifies and stores the authorization information, and performs authorization.

2. A system for implementing software encryption and authorization separation according to claim 1, characterized in that: The local information includes the hard disk code and MAC address.

3. A system for implementing software encryption and authorization separation according to claim 1, characterized in that: The encryption result may be in the form of a QR code, a barcode, or a key.

4. A system for implementing software encryption and authorization separation according to claim 1, characterized in that: The authorization information includes the authorization location and authorization period.

5. A system for implementing software encryption and authorization separation according to claim 1, characterized in that: The commercial software end is provided with an encryption interface and a decryption interface.

6. A system for implementing software encryption and authorization separation according to claim 5, characterized in that: The generation of the encrypted authorization file is specifically as follows: the authorization software end assembles the local information and authorization information into json, transmits it to the encrypted authorization interface of the commercial software end, replaces the private key 1 with the key: Authorize of the authorization period in json, and then encrypts the local information with MD5 first, and then encrypts the encrypted result and the json with replaced private key 1 with AES, and then base64 encodes the encrypted result again, and replaces the '=='\'='\'4M' in the encoded content with private keys 2 / 3 / 4 respectively, and then returns it to the authorization software end through the interface, and the authorization software end stores its return value as the lisence.cyt authorization file.

7. A system for implementing software encryption and authorization separation according to claim 6, characterized in that: The steps for decryption at the commercial software end include: the authorization software end passes the content in the encrypted authorization file to the decryption interface of the commercial software end in json format, first reverses the content in the encrypted authorization file and replaces the 2 / 3 / 4 private keys with =='\'='\'4M', decodes the result with base64, and then performs AES decryption on the decoded result and the MD5 encrypted information together, and replaces the private key 1 with the authorization period key: Authorize in the decrypted result to obtain the original authorization information, and returns it to the authorization software end through the interface to echo the authorization period.

8. A method for implementing software encryption and authorization separation, characterized in that: The method comprises: Obtaining local information, identifying the encryption result, and generating an encrypted authorization file; Configure authorization information, and generate an encrypted authorization file according to the encryption result; The encrypted authorization file is decrypted to obtain authorization information, the authorization information is verified and stored, and authorization is performed.

9. Computer device, characterized in that The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the method according to claim 8.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program executes the steps of the method according to claim 8.