A computer software protection method and system

By monitoring and analyzing software data in real time on the server, calculating the evaluation value CP, and performing current limiting and stopping commands based on this value, the problem of insufficient protection of computer software is solved, and system security and operation efficiency are improved.

CN116796318BActive Publication Date: 2024-11-15CHENGDU HAIHUYAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310295979.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-11-15
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

The lack of effective protection of computer software has led to adverse software affecting normal software operation, resulting in slow startup loading, lag in operation, and occupies a large amount of computer resources, affecting system security.

Method used

By setting up storage modules, monitoring modules and processing modules on the server, collecting and monitoring software data in real time, calculating the evaluation value CP, and comparing the value with the threshold in the protection module, performing current limiting, intercepting and closing corresponding commands, so as to Improve system protection and security.

Benefits of technology

It effectively reduces the impact of bad software on the system, improves the protection and security of computer software, reduces the operating load and error probability, and improves the evaluation accuracy of software programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116796318B_ABST
    Figure CN116796318B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of computer software protection, and discloses a computer software protection method and system, which is applicable to a server, and the server includes a storage module, a monitoring module and a processing module. In the process of service and startup to operation, the present invention uses a detection module to collect and monitor the program startup, operation, and content of the computer software in real time, receives data from all software data sources, and identifies and calculates the flow data for final evaluation. After obtaining the evaluation value CP, it is compared with the threshold in the protection module to match the level of the corresponding level of protection to limit the flow, stop and close the corresponding command, thereby improving the quality of system protection. The evaluation value CP is calculated by formula and average value, which reduces the probability of errors in the object under test and is proportional to the number of errors found, improves the accuracy of the software program evaluation value, and is convenient for reducing the risk of software use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer software protection, and in particular to a computer software protection method and system. Background Art

[0002] Computer software is the computer programs, procedures, rules, and possible files, documents, and data related to the operation of a computer system. Software is the interface between the user and the hardware. Users mainly communicate with computers through software. Software is an important basis for the design of computer systems. Software is a collection of computer data and instructions organized in a specific order. Generally speaking, software is divided into system software, application software, and middleware between the two. Software does not only include computer programs that can be run on computers, but also documents related to these computer programs are generally considered to be part of the software. Simply put, software is a combination of programs and documents.

[0003] When software is deployed and run on a computer, it generally lacks effective protection. When there are some bad software in the computer, these software processes will call the data generated by the normal software operation and obtain the user's personal privacy by analyzing this data, which may affect the normal operation of the software. Some bad software processes are started based on normal software, which will cause the software to start and load slowly, and run stuck, which may seriously crash normal software programs and cause normal software statements to consume a lot of computer resources, increasing the operating load of the entire computer. Summary of the invention

[0004] The present invention provides a computer software protection method and system, which can store, identify, analyze and calculate the risk of software program startup, operation and content through multiple dimensions, so that the evaluation value CP is more accurate and the deviation is smaller, which is convenient for fine analysis of the data generated by the software program. After the evaluation value CP is obtained, it is compared with the threshold in the protection module to match the level of the corresponding level of protection to limit the flow, stop and close the issuance of corresponding commands, thereby improving the beneficial effect of system protection security, and solving the problem mentioned in the above background technology that bad software starts up slowly and loads slowly, runs stuck, and seriously crashes normal software programs.

[0005] The present invention provides the following technical solutions: a computer software protection method, applicable to a server, the server comprising a storage module, a monitoring module and a processing module;

[0006] The following steps are involved:

[0007] S1, start the server and execute the boot action;

[0008] S2. Real-time collection and monitoring of the program software startup, program software operation, and program content of the computer software, receiving data from all software data sources, retrieving and analyzing the data from the data sources, and determining the amount and format of the software data sources;

[0009] S3. Identify the subject of the software data volume, calculate the formula C=cL / TC, determine whether the program content is compliant, evaluate the subject of the software data volume, and obtain the evaluation value CP;

[0010] S4. After comparing the evaluation value CP with the standard value in the protection module, the actual evaluation level PGj is obtained, which matches the level of the corresponding level of protection;

[0011] S5. According to the corresponding protection level, write current limiting, interception and closing commands are generated.

[0012] As an optional solution of the computer software protection method described in the present invention, wherein: the buffer value M1, the plug-in value Cj, the information flow coefficient β, the path access value L, the software category R and the risk code frequency value Fxk generated by the software program are obtained, and the evaluation value CP is calculated and formed;

[0013]

[0014] Among them, the information flow coefficient β is a changeable constant parameter, 5.53≤β≤8.98.

[0015] As an optional solution of the computer software protection method of the present invention, wherein: generating the buffer value M1 is obtained by collecting the physical memory cached during the software running process in the task manager;

[0016] The plug-in value Cj is obtained to detect the size of the bundled plug-in program in the software during the operation of the acquisition software;

[0017] The information flow coefficient β is used to form the data source of the morphological flow and to monitor the information flow coefficient within minutes;

[0018] The path access value L monitors URL access control by filtering content on the router, enables the URL access log recording function, and records and monitors the number of access intervention logs through the system log Syslog;

[0019] Software category R is used to record the file category during the running of the software program;

[0020] The risk code frequency value Fxk is used to detect malicious codes in computer software and the frequency value of the occurrence of malicious codes in the terminal system.

[0021] As an optional solution of the computer software protection method of the present invention, wherein: the information flow coefficient β is a coefficient β obtained by comprehensively calculating the computer data flow S and control flow K;

[0022] The data stream S is used to monitor the data continuously transmitted during the operation of the software, and to calculate, store and transmit the data;

[0023] The control flow K is the control flow domain data in the software running according to the specific sequence of instructions in the program;

[0024] The information flow coefficient β can be calculated by the following formula:

[0025]

[0026] As an optional solution of the computer software protection method of the present invention, wherein: the monitoring module includes a software startup monitoring module and a software operation monitoring module;

[0027] The software startup monitoring module is used to obtain, collect and identify files from multiple source databases during the software startup process, and obtain the evaluation value CP1 when plug-in files and abnormal parameters are identified;

[0028] The software operation monitoring module is used to obtain, collect and identify files from multiple source databases during the software startup process, and obtain an evaluation value CP2 when plug-in files and abnormal parameters are identified.

[0029] As an optional solution of the computer software protection method of the present invention, wherein: the processing module includes a software current limiting module and a software closing module;

[0030] The software current limiting module calculates the evaluation value CP1 and the evaluation value CP2 by

[0031]

[0032] After obtaining the average CP value and comparing it with the standard value in the protection module, the actual evaluation level PGj is obtained, and current limiting is performed according to the level of the corresponding level of protection;

[0033] The software shuts down the module by

[0034] After obtaining the CP average value and comparing it with the standard value in the protection module, the actual evaluation level PGj is obtained, and the interception and closing commands are issued according to the level of the corresponding level of protection.

[0035] As an optional scheme of the computer software protection method described in the present invention, the actual evaluation level PGj level includes first-level independent protection, second-level guidance protection, third-level supervisory protection, fourth-level mandatory protection and fifth-level control protection.

[0036] As an optional solution of the computer software protection method of the present invention, wherein: the first-level independent protection is set to a risk matrix of 1-2;

[0037] The secondary guidance protection is set to a risk matrix of 3-6;

[0038] The three-level supervisory protection is set to a risk matrix of 7-9;

[0039] The four-level mandatory protection is set to a risk matrix of 10-12;

[0040] The five-level control protection is set as a risk matrix of 13-15.

[0041] As an optional scheme of the computer software protection method described in the present invention, the risk matrix is ​​obtained by obtaining the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L, software category R and risk code frequency value Fxk generated by the software program, and the evaluation value CP is calculated and compared with the threshold of the evaluation level PGj, where CP≥1-2, CP≥3-6; CP≥7-9; CP≥10-12; CP≥13-15.

[0042] A computer software protection system includes an early warning module, wherein the early warning module is used to issue an alarm reminder message after identifying a threshold value of an evaluation level PGj.

[0043] The present invention has the following beneficial effects:

[0044] 1. This computer software protection method and system, during the service and startup to operation process, collects and monitors the program startup, operation, and content of the computer software in real time through the detection module, receives data from all software data sources, and identifies and calculates the flow data for final evaluation. After obtaining the evaluation value CP, it is compared with the threshold in the protection module to match the level of the corresponding level of protection to limit the flow, stop and close the corresponding command, thereby improving the quality of system protection. By limiting the flow, stopping and closing some risky software, the situation where the software occupies the main system and causes the operation to be stuck and the normal software program to collapse is reduced, the operation load of the computer system is reduced, and the security performance of the computer system is improved.

[0045] 2. The computer software protection method and system use the calculation formula C=cL / TC to calculate the peak number of data and then collect the evaluation value CP value. The evaluation value CP value is obtained by the buffer value M1, the plug-in value Cj, the information flow coefficient β, the path access value L, the software category R and the risk code frequency value Fxk through the above formula. By classifying the specific values ​​and then calculating them, the evaluation value CP is more accurate and has a smaller deviation, which is convenient for detailed analysis of the data generated by the software program, reducing the probability of errors in the tested object and the number of errors found, improving the accuracy of the software program evaluation value, and facilitating reducing the risk of software use and improving the security of computer software protection.

[0046] 3. This computer software protection method and system is used to calculate the average value after identifying the CP evaluation values ​​CP1 and CP2. Because the data generation timeliness occurs during the evaluation, the identification of a certain type of file may not be comprehensive. By acquiring and collecting and identifying the file, when the plug-in file and abnormal parameters are identified, the two evaluation values ​​CP1 and CP2 are obtained and the average value is calculated. Compared with the calculation of single collected data, this has a wider range and reduces the probability of error. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is also a schematic diagram of the system process of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Example 1

[0050] When software is deployed and run on a computer, it generally lacks effective protection. When there are some bad software in the computer, these software processes will call the data generated by the normal software operation and obtain the user's personal privacy by analyzing this data, which may affect the normal operation of the software. Some bad software processes are started based on normal software, which will cause the software to start and load slowly, and run stuck, which may seriously crash normal software programs and cause normal software statements to consume a lot of computer resources, increasing the operating load of the entire computer.

[0051] The present invention provides the following technical solution: A computer software protection method, see Figure 1, applicable to a server, the server comprising a storage module, a monitoring module and a processing module;

[0052] The following steps are involved:

[0053] S1, start the server and execute the boot action;

[0054] S2. Real-time collection and monitoring of the program software startup, program software operation, and program content of the computer software, receiving data from all software data sources, retrieving and analyzing the data from the data sources, and determining the amount and format of the software data sources;

[0055] S3. Identify the topic of software data volume, calculate the formula C = cL / TC, and calculate the average number of concurrent users: C = nL / T;

[0056] C is the average number of concurrent users; n is the number of login sessions; L is the average length of an online session; and T is the length of the time period under consideration. Peak value of concurrent users: C'≈C+3 square root of C, where C' refers to the peak value of concurrent users and C is the average number of concurrent users obtained in the formula. This formula is derived by assuming that the user's login sessions are generated in accordance with the Poisson distribution.

[0057] Determine whether the program content is compliant, evaluate the subject of the software data volume, and obtain the evaluation value CP;

[0058] Among them, the subject evaluation method for software data volume is to evaluate the format of data volume, such as the consistency, accuracy, and repeatability of evaluation data, including throughput QPS, number of queries per second, number of transactions per second, number of connections, time-consuming data, and TPS curve, and to evaluate the data of software data volume through the above specific indicator themes;

[0059] S4. Compare the evaluation value CP with the standard value in the protection module, which is actually the threshold, to obtain the actual evaluation level PGj, matching the level of the corresponding level protection;

[0060] S5. According to the corresponding protection level, write current limiting, interception and closing commands are generated.

[0061] In this embodiment, during the service and startup, the program startup, operation, and content of the computer software are collected and monitored in real time through the detection module, the data of all software data sources are received, and the flow data is identified, calculated, and finally evaluated. After the evaluation value CP is obtained, it is compared with the threshold in the protection module to match the level of the corresponding level of protection to limit the flow, stop, and close the corresponding command, thereby improving the quality of system protection, and reducing the software occupying the main system and causing the operation to be stuck by limiting the flow, stopping, and closing some risky software. The situation of crashing normal software programs, reducing the running load of the computer system, and improving the security performance of the computer system.

[0062] Example 2

[0063] This embodiment is an explanation based on the embodiment 1. For details, please refer to Figure 1 Among them: the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L, software category R and risk code frequency value Fxk generated by the software program are obtained, and the evaluation value CP is calculated.

[0064]

[0065] Among them, the information flow coefficient β is a changeable constant parameter, 5.53≤β≤8.98.

[0066] In this embodiment, whether the program content is compliant is determined by calculating the peak number of data using the calculation formula C=cL / TC, and then collecting the evaluation value CP value. The evaluation value CP value is obtained by the buffer value M1, the plug-in value Cj, the information flow coefficient β, the path access value L, the software category R and the risk code frequency value Fxk through the above formula. By classifying the specific values ​​and then calculating them, the evaluation value CP is more accurate and has a smaller deviation, which facilitates a detailed analysis of the data generated by the software program, reduces the probability of errors in the tested object and is proportional to the number of errors found, improves the scenic spot of the software program evaluation value, and is convenient for reducing the risk of software use and improving the security of computer software protection.

[0067] Example 3

[0068] This embodiment is an explanation based on the embodiment 2. For details, please refer to Figure 1 , wherein: generating the buffer value M1 is obtained by collecting the physical memory cached during the software running process in the task manager;

[0069] The plug-in value Cj is obtained to detect the size of the bundled plug-in program in the software during the operation of the acquisition software;

[0070] The information flow coefficient β is used to form the data source of the morphological flow and to monitor the information flow coefficient within minutes;

[0071] The path access value L monitors URL access control by filtering content on the router, enables the URL access log recording function, and records and monitors the number of access intervention logs through the system log Syslog;

[0072] Software category R is used to record the file category during the running of the software program;

[0073] The risk code frequency value Fxk is used to detect malicious codes in computer software and the frequency value of the occurrence of malicious codes in the terminal system.

[0074] Wherein: the information flow coefficient β is obtained by comprehensively calculating the data flow S and control flow K of the computer;

[0075] The data stream S is used to monitor the data continuously transmitted during the operation of the software, and to calculate, store and transmit the data;

[0076] The control flow K is the control flow domain data in the software running according to the specific sequence of instructions in the program;

[0077] The information flow coefficient β can be calculated by the following formula:

[0078]

[0079] In this embodiment, the clearance evaluation value CP value is obtained by monitoring and recording the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L, software category R and risk code frequency value Fxk through routers, task managers, etc., and then calculating these specific values ​​to improve the accuracy of the evaluation.

[0080] Example 4

[0081] This embodiment is an explanation based on the embodiment 1. For details, please refer to Figure 1 Wherein: the monitoring module includes a software startup monitoring module and a software operation monitoring module;

[0082] The software startup monitoring module is used to obtain, collect and identify files from multiple source databases during the software startup process, and obtain the evaluation value CP1 when plug-in files and abnormal parameters are identified;

[0083] The software operation monitoring module is used to obtain, collect and identify files from multiple source databases during the software startup process, and obtain an evaluation value CP2 when plug-in files and abnormal parameters are identified.

[0084] Wherein: the processing module includes a software current limiting module and a software closing module;

[0085] The software current limiting module calculates the evaluation value CP1 and the evaluation value CP2 by

[0086]

[0087] After obtaining the average CP value and comparing it with the standard value in the protection module, the actual evaluation level PGj is obtained, and current limiting is performed according to the level of the corresponding level of protection;

[0088] The software shuts down the module by

[0089] After obtaining the CP average value and comparing it with the standard value in the protection module, the actual evaluation level PGj is obtained, and the interception and closing commands are issued according to the level of the corresponding protection level. It is used to calculate the average value after identifying the CP evaluation values ​​CP1 and CP2. Because the evaluation may encounter data generation timeliness, it may not be comprehensive to identify a certain type of file. By acquiring and collecting and identifying the file, identifying the plug-in file and abnormal parameters, the two evaluation values ​​CP1 and CP2 are obtained, and the average value is calculated. Compared with the calculation of single collected data, this has a wider range and reduces the probability of error.

[0090] In this embodiment,

[0091] During the calculation process, the system's processing module compares the evaluation level PGj with the standard value in the protection module, and then issues interception and closing commands according to the corresponding level of protection.

[0092] Example 5

[0093] This embodiment is an explanation based on the embodiment 1. For details, please refer to Figure 1 , where: the actual assessment level PGj level includes first-level independent protection, second-level guidance protection, third-level supervision protection, fourth-level mandatory protection and fifth-level control protection.

[0094] Wherein: the first level independent protection is set as a risk matrix of 1-2;

[0095] The secondary guidance protection is set to a risk matrix of 3-6;

[0096] The three-level supervisory protection is set to a risk matrix of 7-9;

[0097] The four-level mandatory protection is set to a risk matrix of 10-12;

[0098] The five-level control protection is set as a risk matrix of 13-15.

[0099] Among them: the risk matrix is ​​obtained by obtaining the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L, software category R and risk code frequency value Fxk generated by the software program, and the evaluation value CP is calculated and compared with the threshold of the evaluation level PGj, where CP≥1-2, CP≥3-6; CP≥7-9; CP≥10-12; CP≥13-15.

[0100] In this embodiment, a specific description of the actual evaluation level PGj and a protection range of level one to level five are used to facilitate protection by performing corresponding current limiting, interception, closing and other actions according to the level threshold in the process of protecting computer software.

[0101] A computer software protection system includes an early warning module, wherein the early warning module is used to issue an alarm reminder message after identifying a threshold value of an evaluation level PGj.

[0102] In this embodiment, an early warning module is added to the system to send alarm reminders, which is convenient for real-time display of the operating software, plays a quick and convenient role, and is convenient for operators to distinguish, understand and handle in time.

[0103] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0104] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0106] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0109] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0110] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0111] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0112] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for protecting computer software, characterized in that: Applicable to a server, the server comprising a storage module, a monitoring module and a processing module; The following steps are involved: S1, start the server and execute the boot action; S2. Real-time collection and monitoring of the program software startup, program software operation, and program content of the computer software, receiving data from all software data sources, retrieving and analyzing the data from the data sources, and determining the amount and format of the software data sources; S3, determine whether the program content is compliant, calculate the peak data of the data and then collect the evaluation value CP; S4. After comparing the evaluation value CP with the standard value in the protection module, the actual evaluation level PGj is obtained, which matches the level of the corresponding level of protection; S5. According to the corresponding protection level, write current limiting, blocking and closing commands are generated; Obtain the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L and risk code frequency value Fxk generated by the software program, and calculate and form the evaluation value CP; ; Among them, the information flow coefficient β is a changeable constant parameter, 5.53≤β≤8.98; The information flow coefficient β is obtained by comprehensively calculating the data flow S and control flow K of the computer; The data stream S is used to monitor the data continuously transmitted during the operation of the software, and to calculate, store and transmit the data; The control flow K is the control flow domain data in the software running according to the specific sequence of instructions in the program; The information flow coefficient β is calculated by the following formula: ; The buffer value M1 is generated by collecting the physical memory cached during the software running process in the task manager; The plug-in value Cj is obtained to detect the size of the bundled plug-in program in the software during the operation of the acquisition software; The information flow coefficient β is used to form the data source of the morphological flow and to monitor the information flow coefficient within minutes; The path access value L monitors URL access control by filtering content on the router, enables the URL access log recording function, and records and monitors the number of access intervention logs through the system log Syslog; The risk code frequency value Fxk is used to detect malicious codes in computer software and the frequency value of the occurrence of malicious codes in the terminal system.

2. A computer software protection method according to claim 1, characterized in that: The actual assessment level PGj level includes level one independent protection, level two guidance protection, level three supervision protection, level four mandatory protection and level five control protection, and the level one independent protection is set as a risk matrix of 1-2; The secondary guidance protection is set to a risk matrix of 3-6; The three-level supervisory protection is set to a risk matrix of 7-9; The four-level mandatory protection is set to a risk matrix of 10-12; The five-level control protection is set as a risk matrix of 13-15.

3. A computer software protection method according to claim 2, characterized in that: The risk matrix is ​​obtained by obtaining the buffer value M1, plug-in value Cj, information flow coefficient β, path access value L, software category R and risk code frequency value Fxk generated by the software program. After calculation, it constitutes the evaluation value CP and is compared with the threshold of the evaluation level PGj, where CP≥1-2, CP≥3-6; CP≥7-9; CP≥10-12; CP≥13-15.

4. A computer software protection system, the system executing the method according to any one of claims 1 to 3, characterized in that: The system comprises an early warning module, and the early warning module is used to issue an alarm reminder message after identifying the threshold of the evaluation level PGj.