Business cloud platform distributed security protection optimization method and device, equipment and medium
By utilizing the computing power resources of edge service terminals in the power system, the security protection pressure of the business cloud platform is optimized, the problem of excessive security protection pressure on the cloud platform is solved, and the security of the power information communication network is improved.
Patent Information
- Application Number
- CN202411058684.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-29
AI Technical Summary
The security protection pressure of information and communication networks in the power system is too great. Especially after the distributed power system is integrated into the power grid, the operating pressure of the cloud platform increases, affecting network security.
By exploring computing power resources on the edge side, the security protection pressure of the business cloud platform is optimized, and the CPU computing frequency allocation of the edge service terminal is used to reduce the security protection pressure of the cloud platform. The security protection pressure is defined as the ratio of the working frequency to the maximum working frequency. And allocate CPU frequencies through linear programming problem solving.
It effectively reduces the security protection pressure of the cloud platform, maximizes the use of computing power resources of edge service terminals, reduces the consumption of computing power resources of the cloud platform, and improves the security of the power information communication network.
Smart Images

Figure CN118870366A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication system security technology, and specifically relates to a distributed security protection optimization method, device, equipment and medium for a business cloud platform. Background Art
[0002] The application of digital information technology in power systems, on the one hand, can achieve more flexible and powerful functions, improve the coordinated operation of sources, grids, loads and storage, as well as the ability of accurate perception and regulation; on the other hand, it also brings new challenges to achieving the all-round security of future power grids. With the continuous emergence of new technologies and applications such as Internet+ and smart grids, information security has become one of the important threats to power systems. At present, new information and communication technologies represented by 5G communication technology are developing rapidly, the development of power systems is gradually modernizing and informatizing, and the security issues of power information and communication networks have become more prominent and important. Therefore, strengthening the security protection of power information and communication networks has become one of the key links in improving the operation quality and efficiency of power systems. Foreign developed countries have invested a lot of manpower and funds in the network security protection of information and communication systems in the power industry, and have taken a series of specific security measures. For example, the United States issued the "Cyber Attack Prevention Plan" in 2009, requiring all information and communication systems to comply with the standards stipulated by the National Computer Network Security Protection Regulations (CISA); Canada divides the security protection system of information and communication systems into two stages, the first stage is the infrastructure security protection stage, and the second stage is the key business security protection stage; Australia adopts a double prevention system (Double-prevention System), which divides the security protection of information and communication systems into four parts: infrastructure security protection, vulnerability scanning, emergency response and intrusion detection. At present, there are still many problems and deficiencies in the network security protection of information and communication systems in the domestic power industry. Therefore, power companies need to promptly discover the threats to the network security of power information and communication systems, and take corresponding protective measures to solve them in a timely manner to ensure the normal operation of the power grid information system.
[0003] In traditional WSNs, data security protection is generally based on cloud platforms. However, as more and more distributed power systems are connected to the power grid, the amount of data increases dramatically, causing excessive pressure on the cloud platform operation, which in turn affects network security. Summary of the invention
[0004] In order to solve the problem of excessive pressure on cloud platform security protection, the present invention proposes a distributed security protection optimization method for a business cloud platform, which explores the existing edge computing resources in the network to alleviate the pressure on cloud platform security protection.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] In a first aspect, the present invention provides a distributed security protection optimization method for a business cloud platform, comprising the following steps:
[0007] Determine the composition of the distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal;
[0008] Determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function;
[0009] The objective function is solved based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
[0010] Furthermore, the protection pressure of the business cloud platform is determined, including:
[0011] Reduce the security pressure of the business cloud platform It is defined as the ratio of the operating frequency of each business cloud platform when completing all data security work while meeting the latency constraints to the maximum operating frequency.
[0012] Furthermore, an objective function is constructed with the goal of minimizing the maximum business cloud platform security protection pressure, and the constraints of the objective function are determined, including:
[0013] The objective function and constraints are expressed as follows:
[0014]
[0015] in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at the edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform, where represents the security protection delay of business i for the corresponding cloud platform, which can be calculated based on Calculate the CPU computing frequency f required by the business cloud platform i c ; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
[0016] Furthermore, business i corresponds to the security protection pressure of the business cloud platform It is expressed as follows:
[0017]
[0018] in, is the CPU frequency occupied by other functions except security protection in the cloud platform corresponding to business i at time t; is the maximum computing frequency of the cloud platform corresponding to business i; f i c The security protection CPU frequency of the cloud platform corresponding to business i;
[0019]
[0020] Where m is the total number of edge service terminals; The CPU frequency required for security protection of data sent from edge service terminal j to the cloud platform corresponding to business i is expressed as follows:
[0021]
[0022] Among them, k represents the current security protection stage; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; D i The data volume corresponding to business i; Indicates the security protection delay left by business i to the corresponding cloud platform.
[0023] 5. The distributed security protection optimization method for the business cloud platform according to claim 3 is characterized in that the delay T of the business i at the edge service terminal i,e It is expressed as follows:
[0024]
[0025] Among them, T i,p is the sum of encryption and decryption delays of service i, The delay in completing data security protection for service i at the edge service terminal;
[0026]
[0027] Among them, ξ corresponds to the first ξ security protection stage that business i needs to complete at the edge service terminal; The time it takes for business i to complete data security protection phase k;
[0028]
[0029] Among them, D i The data volume corresponding to business i; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; Calculate the CPU frequency allocated to service i by the edge service terminal at time t.
[0030] In a second aspect, the present invention provides a distributed security protection optimization device for a business cloud platform, comprising:
[0031] A first determination module is used to determine the composition of a distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal;
[0032] The second determination module is used to determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function;
[0033] The model solving module is used to solve the objective function based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
[0034] Furthermore, in the second determination module, the security protection pressure of the business cloud platform is It is defined as the ratio of the operating frequency of each business cloud platform when completing all data security work while meeting the latency constraints to its maximum operating frequency.
[0035] Furthermore, in the second determination module, the objective function and constraint conditions are expressed as follows:
[0036]
[0037] in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at the edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
[0038] According to a third aspect of the present invention, there is provided an electronic device comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the distributed security protection optimization method for the business cloud platform as described above.
[0039] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the distributed security protection optimization method for the business cloud platform as described above is implemented.
[0040] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0041] In order to solve the problems in the prior art, the method of the present invention constructs an objective function with the goal of minimizing the maximum business cloud platform security protection pressure, and determines the constraints of the objective function; the objective function is solved based on the constraints to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the business cloud platform protection pressure is minimized. This scheme uses mobile edge computing, and defines the ratio of the computing frequency when the cloud platform completes all data security work to its maximum computing frequency as the cloud platform security protection pressure, and reduces the cloud platform security protection pressure by exploring the computing power resources of edge service terminals. A distributed security protection optimization device, electronic device and computer-readable storage medium for a business cloud platform provided by the present invention also solve the problems raised in the background technology section. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0043] Figure 1 A schematic diagram of a process flow of a distributed security protection optimization method for a business cloud platform according to an embodiment of the present invention;
[0044] Figure 2A diagram of a distributed security protection strategy for a single service in an embodiment of the present invention;
[0045] Figure 3 This is a flow chart of a distributed security protection optimization method for a business cloud platform according to another embodiment of the present invention;
[0046] Figure 4 is a comparison diagram of simulation results in an embodiment of the present invention;
[0047] Figure 5 This is a structural block diagram of a distributed security protection optimization device for a business cloud platform according to an embodiment of the present invention;
[0048] Figure 6 The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0050] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.
[0051] Example 1
[0052] MEC (Mobile Edge Computing, MEC) is a concept of deploying cloud computing servers at the edge of any network. It can bring computing services closer to users, thereby eliminating network congestion and reducing end-to-end latency. It is more friendly to time-sensitive and computing-intensive applications.
[0053] like Figure 1 As shown, a distributed security protection optimization method for a business cloud platform includes the following steps:
[0054] S1. Determine the composition of a distribution network model; wherein the distribution network model includes various business cloud platforms and various edge service terminals;
[0055] In one optional solution, the network distribution model includes n business cloud platforms and m edge service terminals, and the security protection pressure of the cloud platform is reduced by utilizing the computing power resources of the edge service terminals.
[0056] S2. Determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum cloud platform security protection pressure, and determine the constraints of the objective function;
[0057] In one optional solution, the security pressure of the business cloud platform is determined, including: It is defined as the ratio of the operating frequency required for each business cloud platform to complete all data security work while meeting the latency constraints to the maximum operating frequency.
[0058] S3. Solve the objective function based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the business cloud platform is minimized.
[0059] In one optional solution, an objective function is constructed with the goal of minimizing the maximum business cloud platform security protection pressure, and the constraints of the objective function are determined, including:
[0060] The objective function and constraints are expressed as follows:
[0061]
[0062] in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at the edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform, where T si,c represents the security protection delay of business i for the corresponding cloud platform, which can be calculated based on Calculate the CPU computing frequency f required by the business cloud platform i c ; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
[0063] In an optional solution, business i corresponds to the security protection pressure of the business cloud platform It is expressed as follows:
[0064]
[0065] in, is the CPU frequency occupied by other functions except security protection in the cloud platform corresponding to business i at time t; is the maximum operating frequency of the cloud platform corresponding to business i; f i c The security protection CPU frequency of the cloud platform corresponding to business i;
[0066]
[0067] Where m is the total number of edge service terminals; The CPU frequency required for security protection of data sent from edge service terminal j to the cloud platform corresponding to business i is expressed as follows:
[0068]
[0069] Among them, k represents the current security protection stage; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; D i The data volume corresponding to business i; Indicates the security protection delay left by business i to the corresponding cloud platform.
[0070] In an alternative solution, the delay T of service i at the edge service terminal is i,e It is expressed as follows:
[0071]
[0072] Among them, T i,p is the sum of encryption and decryption delays of service i, The delay in completing data security protection for service i at the edge service terminal;
[0073]
[0074] Among them, ξ corresponds to the first ξ security protection stage that business i needs to complete at the edge service terminal; The time it takes for business i to complete data security protection phase k;
[0075]
[0076] Among them, D i The data volume corresponding to business i; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; Calculate the CPU frequency allocated to service i by the edge service terminal at time t.
[0077] like Figure 3 As shown, in a more specific embodiment of the present invention, a distributed security protection optimization method for a business cloud platform is also provided, and the method includes the following steps:
[0078] Step 1: Allocate the limited CPU computing frequency of each edge service terminal to each service;
[0079] Step 2: Determine the security protection stages that each service needs to complete at each edge service terminal based on latency requirements;
[0080] Step 3: Determine whether each business still needs to continue security protection on the corresponding business cloud platform;
[0081] Step 4: Calculate the CPU computing frequency required for each business cloud platform to complete all data security protection according to step 3;
[0082] Step 5: Calculate the security protection pressure of each business cloud platform;
[0083] Step 6: Establish a linear programming problem according to the above steps;
[0084] Step 7: Based on the linear programming problem in step 6, use KKT to solve it and give a distributed security protection optimization solution.
[0085] A distributed security protection optimization method for a business cloud platform provided by the present invention can enable each edge service terminal to allocate corresponding CPU frequencies for different business needs, and maximize the computing power resources of the edge service terminal while ensuring that the business delay meets the corresponding delay requirements, which has important guiding significance for the subsequent effective reduction of the security protection pressure of the cloud platform.
[0086] In step 1, the CPU computing frequency that the edge service terminal can use for data security protection changes all the time, so the limited CPU computing frequency needs to be reasonably allocated to each business. Taking a single edge service terminal as an example, the CPU computing frequency allocated to each business must meet the following requirements:
[0087]
[0088] Wherein, n is the total number of service types included in each edge service terminal; The CPU calculation frequency allocated to service i by the edge service terminal at time t; It is the total CPU computing frequency used by the edge service terminal for data security at time t.
[0089] In step 2, the QoS constraints of each service transmission and the computing resource constraints of the edge service terminal and the cloud platform in step 1 are considered to determine the number of security protection stages that each service needs to complete at the edge service terminal level. The specific security protection strategy for a single service at a single edge service terminal is as follows: Figure 2 As shown;
[0090] Taking service i as an example, its delay constraint is expressed as follows:
[0091] T i,e +T i,tr +T i,c ≤T i,tot
[0092] Among them, T i,e represents the delay of service i at the edge service terminal, where T i,p is the sum of encryption and decryption delays of service i, The delay incurred by service i completing data security protection at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform, represents the security protection delay of business i for the corresponding cloud platform, which can be calculated based on Calculate the CPU computing frequency f required by the business cloud platform i c ; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
[0093] Security protection delay The calculation method is as follows:
[0094]
[0095] Among them, ξ corresponds to the first ξ security protection stage that business i needs to complete at the edge service terminal; The time consumed by business i to complete data security protection stage k is calculated as follows:
[0096]
[0097] Among them, D i The data volume corresponding to business i; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; Calculate the CPU frequency allocated to service i by the converged terminal at time t in step 1.
[0098] In step 3, it is determined whether business i needs to continue to be protected at the corresponding business cloud platform according to step 2. The corresponding judgment is as follows:
[0099]
[0100] If λ=0, it means that business i has completed all data security at the edge service terminal, and there is no need to continue security on the cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. Otherwise, business i needs to complete the remaining security stages on the corresponding cloud platform.
[0101] In step 4, the security protection CPU frequency f of the cloud platform corresponding to business i is calculated according to step 3. i c ,
[0102] When λ=1, the security protection CPU frequency f of the cloud platform corresponding to business i i c The calculation method is as follows:
[0103]
[0104] Where m is the total number of edge service terminals; The CPU frequency required for security protection of data sent from edge service terminal j to the cloud platform corresponding to business i is calculated as follows:
[0105]
[0106] In step 5, calculate the security protection pressure of each business cloud platform. It is defined as the ratio of the working frequency required by each business cloud platform to complete all data security work under the condition of meeting the delay constraint to its maximum working frequency. Taking business i as an example, its corresponding cloud platform security protection pressure is The calculation method is as follows:
[0107]
[0108] in, is the CPU frequency occupied by other functions except security protection in the cloud platform corresponding to business i at time t; is the maximum operating frequency of the cloud platform corresponding to business i.
[0109] Step 6: Establish a linear programming problem based on the above steps. In a network distribution model that includes n business cloud platforms and m edge service terminals, a linear programming problem is formed to reduce the security protection pressure of the cloud platform by making full use of the computing power resources of the edge service terminals. The optimization goal is to minimize the maximum security protection pressure of each business cloud platform, which is expressed as follows:
[0110]
[0111] Step 7: Based on step 6, use KKT to solve the problem, select the frequency allocation scheme that minimizes the security protection pressure of the largest business cloud platform, and complete the distributed security protection of each business.
[0112] In order to test the performance of the method of the present invention, the security protection pressure of each business cloud platform is first calculated when the computing power resources of the edge service terminal are not exploited. Then, under the same network environment, the adaptive frequency allocation method in this example is simulated and compared with other existing frequency allocation methods, such as average allocation. The simulation environment is a network containing 3 business cloud platforms and 5 edge service terminals, in which the types of services included in each edge service terminal are not the same, and each business must complete 5 security protection stages. The specific simulation process is as follows:
[0113] First, since the remaining computing power resources of the edge service terminal are constantly changing, it is necessary to allocate limited computing power resources to each business. During the allocation process, KKT is used to find an allocation plan that can enable each business to complete as many security protection stages as possible at the edge service terminal.
[0114] Secondly, considering the business delay constraints, we solve the computing power resources required to complete all security protection after each business is transmitted from the edge service terminal to the corresponding cloud platform, and calculate the security protection pressure of each business cloud platform.
[0115] Finally, MATLAB is used as the simulation tool, and the system simulation environment parameters are set as follows:
[0116] 1) Total frequency of edge service terminal 2GHz
[0117] 2) The total number of protection stages is 5
[0118] 3) The total data volume transmitted by each edge service terminal is 80Mb
[0119] 4) The number of edge service terminals is 5, and the number of business cloud platforms is 3
[0120] 5) Total frequency of business cloud platform is 4GHz
[0121] 6) The number of business types included in each edge service terminal is 2, 2, 3, 3, 3 respectively
[0122] 7) The data volume of each business at the edge service terminal accounts for 40%, 30%, and 30% respectively
[0123] 8) The latency requirements for each service are 90000ms, 160000ms, and 200000ms respectively
[0124] 9) Transmission bandwidth for each service: 1000MB / s
[0125] 10) The CPU frequency cycles required for processing each service per unit bit are 420 cycles / bit, 1000 cycles / bit, and 2200 cycles / bit respectively.
[0126] It should be noted that the above parameters are not constant. Some parameters can be changed as needed for different simulation contents. The above parameters are only parameter values in one embodiment. In other embodiments, they can also be other parameter values. The present invention is not limited to the above parameter values.
[0127] According to the above simulation process, the simulation results are as follows: Figure 4 shown.
[0128] Figure 4 This is the comparison result of the security protection pressure of each business cloud platform in the same network environment by the distributed security protection optimization method of exploring the computing power resources of the edge service terminal described in the embodiment of the present invention.
[0129] It can be seen that the distributed security protection optimization method proposed in the present invention by mining the computing power resources of edge service terminals can significantly reduce the security protection pressure of the business cloud platform, and the security protection method of adaptively allocating computing power resources of edge service terminals is basically better than the security protection method of evenly allocating computing power resources of edge service terminals.
[0130] Therefore, it can be seen from the above simulation results that the distributed security protection optimization method proposed in the present invention optimizes the system performance, greatly reduces the security protection pressure of the business cloud platform, and reduces the computing power resource consumption of the cloud platform.
[0131] Technical effects of the present invention:
[0132] (1) The method of the present invention maximizes the use of the remaining computing power resources of the edge service terminal, first performs the corresponding security protection stage at the edge service terminal, and then completes the remaining security protection at each business cloud platform according to the specific situation. Compared with not using the remaining resources of the edge service terminal, the method proposed by the present invention can greatly reduce the security protection pressure of the business cloud platform.
[0133] (2) The method of the present invention adaptively distributes the working frequency of each service at the edge service terminal. Compared with the average distribution method, it can effectively reduce the consumption of cloud platform computing resources and reduce the security protection pressure of the business cloud platform, while achieving the purpose of minimizing the maximum security protection pressure of the business cloud platform.
[0134] 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 in the embodiments of the present invention 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 the present invention.
[0135] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the KKT used in the calculation frequency allocation is only a method for allocating security protection pressures of various business cloud platforms. There may be other allocation methods in actual implementation.
[0136] 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.
[0137] In addition, each functional unit in each embodiment of the present invention 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.
[0138] 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 invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0139] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0140] Example 2
[0141] like Figure 5 As shown, based on the same inventive concept as the above embodiment, the present invention also provides a distributed security protection optimization device for a business cloud platform, including:
[0142] A first determination module is used to determine the composition of a distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal;
[0143] The second determination module is used to determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function;
[0144] The model solving module is used to solve the objective function based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
[0145] In the second determination module, the security protection pressure of the business cloud platform is It is defined as the ratio of the operating frequency required for each business cloud platform to complete all data security work while meeting the latency constraints to the maximum operating frequency.
[0146] In the second determination module, the objective function and constraints are expressed as follows:
[0147]
[0148]
[0149] in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at the edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform; T i,totIt is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
[0150] Example 3
[0151] like Figure 6 As shown, the present invention also provides an electronic device 100 for implementing a distributed security protection optimization method for a business cloud platform;
[0152] The electronic device 100 includes a memory 101 , at least one processor 102 , a computer program 103 stored in the memory 101 and executable on the at least one processor 102 , and at least one communication bus 104 .
[0153] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the distributed security protection optimization method of the business cloud platform in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.
[0154] The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0155] At least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
[0156] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a distributed security protection optimization method for a business cloud platform, and the processor 102 can execute the plurality of instructions to implement:
[0157] Determine the composition of the distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal;
[0158] Determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function;
[0159] The objective function is solved based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
[0160] Example 4
[0161] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).
[0162] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention 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.
[0163] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as 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 1 A device that provides the functions specified in a block or multiple blocks.
[0164] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0165] 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.
[0166] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0167] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A distributed security protection optimization method for a business cloud platform, characterized in that: The steps include: Determine the composition of the distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal; Determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function; The objective function is solved based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
2. The distributed security protection optimization method for the business cloud platform according to claim 1 is characterized in that: Determine the protection pressure of the business cloud platform, including: Reduce the security pressure of the business cloud platform It is defined as the ratio of the operating frequency of each business cloud platform when completing all data security work while meeting the latency constraints to its maximum operating frequency.
3. The distributed security protection optimization method for the business cloud platform according to claim 1 is characterized in that: The objective function is constructed with the goal of minimizing the maximum business cloud platform security protection pressure, and the constraints of the objective function are determined, including: The objective function and constraints are expressed as follows: in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at this edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the corresponding cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform, where represents the security protection delay of business i for the corresponding cloud platform, according to Calculate the CPU computing frequency f required by the business cloud platform i c ; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
4. The distributed security protection optimization method for the business cloud platform according to claim 3 is characterized in that: Security protection pressure of business cloud platform corresponding to business i It is expressed as follows: in, is the CPU frequency occupied by other functions except security protection in the cloud platform corresponding to business i at time t; is the maximum computing frequency of the cloud platform corresponding to business i; f i c The CPU frequency of the cloud platform security protection required by business i; Where m is the total number of edge service terminals; The CPU frequency required for security protection of data sent from edge service terminal j to the cloud platform corresponding to business i is expressed as follows: Among them, k represents the current security protection stage; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; D i The data volume corresponding to business i; Indicates the security protection delay left by business i to the corresponding cloud platform.
5. The distributed security protection optimization method for the business cloud platform according to claim 3 is characterized in that: The delay T of service i at the edge service terminal i,e It is expressed as follows: Among them, T i,p is the sum of the encryption and decryption delays of service i, The delay in completing data security protection for service i at the edge service terminal; Among them, ξ corresponds to the first ξ security protection stage that business i needs to complete at the edge service terminal; The time it takes for business i to complete data security protection phase k; Among them, D i The data volume corresponding to business i; ε i,k The number of CPU cycles required to process unit bit data in the corresponding security protection stage k; Calculate the CPU frequency allocated to service i by the edge service terminal at time t.
6. A distributed security protection optimization device for a business cloud platform, characterized in that: include: A first determination module is used to determine the composition of a distribution network model; wherein the distribution network model includes each business cloud platform and each edge service terminal; The second determination module is used to determine the protection pressure of the business cloud platform, construct an objective function with the goal of minimizing the maximum security protection pressure of the business cloud platform, and determine the constraints of the objective function; The model solving module is used to solve the objective function based on the constraint conditions to obtain the CPU computing frequency corresponding to the business allocated to each edge service terminal when the protection pressure of the maximum business cloud platform is minimized.
7. The distributed security protection optimization device for a business cloud platform according to claim 6 is characterized in that: In the second determination module, the security protection pressure of the business cloud platform is It is defined as the ratio of the operating frequency of each business cloud platform when completing all data security work while meeting the latency constraints to its maximum operating frequency.
8. The distributed security protection optimization device for a business cloud platform according to claim 6 is characterized in that: In the second determination module, the objective function and constraints are expressed as follows: in, is the security protection pressure of the business cloud platform corresponding to business i, n represents the number of business cloud platforms; η is the total number of business types included in each edge service terminal, The CPU calculation frequency allocated to service i by the edge service terminal at time t; is the total CPU computing frequency used by the edge service terminal for data security at time t; ξ corresponds to the first ξ security protection stage that service i needs to complete at the edge service terminal, κ represents the total number of security protection stages for service i, If λ=0, it means that business i has completed all data security at the edge service terminal and does not need to continue security at the business cloud platform. At this time, the CPU frequency required for data security protection on the cloud platform is recorded as 0. If λ=1, business i needs to complete the remaining security stages at the corresponding cloud platform; T i,e represents the delay of service i at the edge service terminal; T i,tr represents the transmission delay of service i between the edge service terminal and the corresponding service cloud platform; T i,c represents the latency of service i at the corresponding cloud platform, where represents the security protection delay of business i for the corresponding cloud platform, according to Calculate the CPU computing frequency f required by the business cloud platform i c ; T i,tot It is the total delay for service i to be transmitted from the edge service terminal to the corresponding service cloud platform and complete security protection.
9. An electronic device, characterized in that: It includes a processor and a memory, and the processor is used to execute a computer program stored in the memory to implement the distributed security protection optimization method for the business cloud platform as described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, it implements the distributed security protection optimization method for the business cloud platform as described in any one of claims 1 to 5.
