A method, device, electronic device and storage medium for processing protected business data

By dynamically allocating computing resources between protection control components and optimizing data processing paths, the problem of transmission delay in the prior art is solved, and the real-time and accuracy of service data processing is improved.

CN115426362BActive Publication Date: 2025-01-14GUANGDONG POWER GRID CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211057604.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2025-01-14
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

When the existing service processing method of protection control components is connected to the network environment, the transmission delay is large and cannot meet the real-time and accuracy requirements of protection services.

Method used

By dynamically allocating computing resources between protection control components, identify available components and optimize data processing paths, reduce communication paths, and improve service data processing speed and accuracy.

Benefits of technology

The communication path of data processing is shortened, the probability of processing errors is reduced, and the real-time and accuracy of service data processing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426362B_ABST
    Figure CN115426362B_ABST
Patent Text Reader

Abstract

The present invention discloses a protection service data processing method, device, electronic device and storage medium, which are used to solve the technical problems of low real-time performance and accuracy of existing service processing methods. The present invention includes: when the current protection control component receives service data sent by a preset terminal device, obtaining the computing resource amount of the service data; obtaining the available computing resource amount of each protection control component; determining the available protection control component according to the computing resource amount and the available computing resource amount; obtaining the total delay of each available protection control component in processing the service data; determining the target protection control component among the available protection control components according to the total delay; sending the service data to the target protection control component, and receiving the processing result returned by the target protection control component based on the service data; sending the processing result to the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for processing protection business data. Background Art

[0002] In the context of new power systems, the massive access of protection and control equipment has brought challenges in terms of real-time performance, reliability, and safety, thus placing higher demands on relay protection systems. With the increase in distributed protection and control components, the pressure on the centralized protection control center is increasing, which will lead to delayed processing time, increase the complexity of task processing, and place higher demands on the computing resource configuration and data processing capabilities of the power automation system.

[0003] The existing protection and control component business processing method often adopts the method of uniformly transmitting the data and business information collected from various devices of the on-site terminals (such as transformers, feeders, etc.) to the centralized processing center for business processing. Faced with the situation where a large number of terminal devices are constantly connected to the network environment, it is necessary to provide timely processing feedback for the continuously generated protection and control services. The centralized processing center is usually far away from the local protection terminal equipment. The data generated on the protection device is directly transmitted to the centralized processing center, which brings a large transmission delay and the capacity should increase with the increase of equipment, which cannot meet the real-time and accuracy of the protection business. Summary of the invention

[0004] The present invention provides a protection service data processing method, device, electronic device and storage medium, which are used to solve the technical problems of low real-time performance and low accuracy of existing service processing methods.

[0005] The present invention provides a protection service data processing method, involving a plurality of interconnected protection control components, the method comprising:

[0006] When the current protection control component receives the service data sent by the preset terminal device, the computing resource amount of the service data is obtained;

[0007] Obtain the available computing resources of each protection control component;

[0008] Determining an available protection control component according to the amount of computing resources and the amount of available computing resources;

[0009] Obtaining a total delay of each of the available protection control components in processing the service data;

[0010] Determine a target protection control component among the available protection control components according to the total delay;

[0011] Sending the service data to the target protection control component, and receiving a processing result returned by the target protection control component based on the service data;

[0012] The processing result is sent to the terminal device.

[0013] Optionally, the protection control component has a software defined network SDN management and control layer; the step of calculating the amount of available computing resources of the protection control component includes:

[0014] Calculate the expected value of computing resources of the corresponding protection control component within a preset time period through the SDN management and control layer;

[0015] Obtaining the total amount of computing resources of the protection control component;

[0016] The available computing resources are calculated according to the total computing resources and the expected value of the computing resources.

[0017] Optionally, the step of calculating the expected value of computing resources of the corresponding protection control component within a preset time period through the SDN management and control layer includes:

[0018] Obtaining a distribution density function of the protection control component; the distribution density function is obtained by training the historical data of the stock business of the protection control component;

[0019] The expected value of computing resources of the corresponding protection control component within a preset time period is calculated using the distribution density function.

[0020] Optionally, the step of determining an available protection control component according to the computing resource amount and the available computing resource amount includes:

[0021] Determining in turn whether the available computing resources of each of the protection control components are greater than the computing resources;

[0022] If so, the protection control component is determined as an available protection control component.

[0023] Optionally, the step of calculating the total delay of the available protection control component in processing the service data includes:

[0024] Acquiring the business volume and computing load of the business data;

[0025] Acquire the optical fiber transmission rate between the available protection control component and the current protection control component;

[0026] Get the computational intensity;

[0027] Calculate the communication delay of the available protection control component according to the traffic volume, the computing load, the optical fiber transmission rate and the computing intensity;

[0028] Calculating the computing delay of the available protection control component by using the computing resource amount of the service data and the available computing resource amount of the available protection control component;

[0029] The communication delay and the calculation delay are added together to obtain a total delay of the available protection control component.

[0030] Optionally, the step of determining a target protection control component from among the available protection control components according to the total delay includes:

[0031] An available protection control component with the smallest total delay is determined as a target protection control component.

[0032] Optionally, the step of sending the service data to the target protection control component and receiving a processing result returned by the target protection control component based on the service data includes:

[0033] When the target protection control component is not the current protection control component, sending the service data to the target protection control component, and receiving a processing result returned by the target protection control component based on the service data;

[0034] When the target protection control component is the current protection control component, a processing result of the business data is generated.

[0035] The present invention also provides a protection service data processing device, involving a plurality of interconnected protection control components, the device comprising:

[0036] A computing resource amount acquisition module, used for acquiring the computing resource amount of the business data when the current protection control component receives the business data sent by the preset terminal device;

[0037] An available computing resource acquisition module is used to acquire the available computing resources of each protection control component;

[0038] An available protection control component determination module, used to determine an available protection control component according to the computing resource amount and the available computing resource amount;

[0039] A total delay acquisition module, used to acquire the total delay of each of the available protection control components in processing the service data;

[0040] a target protection control component determination module, configured to determine a target protection control component from among the available protection control components according to the total delay;

[0041] A processing result returning module, used for sending the service data to the target protection control component, and receiving the processing result returned by the target protection control component based on the service data;

[0042] The processing result sending module is used to send the processing result to the terminal device.

[0043] The present invention also provides an electronic device, the device comprising a processor and a memory:

[0044] The memory is used to store program code and transmit the program code to the processor;

[0045] The processor is used to execute any of the above-mentioned methods for processing protected service data according to the instructions in the program code.

[0046] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the protection service data processing method as described in any one of the above items.

[0047] It can be seen from the above technical scheme that the present invention has the following advantages: The present invention discloses a method for processing protection business data, including: when the current protection control component receives business data sent by a preset terminal device, obtaining the computing resource amount of the business data; calculating the available computing resource amount of each protection control component; determining the available protection control component according to the computing resource amount and the available computing resource amount; calculating the total delay of each available protection control component; determining the target protection control component among the available protection control components according to the total delay; sending the business data to the target protection control component, and receiving the processing result returned by the target protection control component based on the business data; and sending the processing result to the terminal device.

[0048] The present invention does not need to send all business data to a centralized processing center for processing, but processes the data in a protection control component close to the terminal device, thereby shortening the communication path for data processing and reducing time costs; in addition, by analyzing the available computing resources of multiple protection control components, targets for processing business data are allocated, including control components, thereby improving the speed of business data processing; at the same time, since multiple terminal devices corresponding to the centralized processing center are allocated to multiple protection control components for data processing, the processing pressure of each protection control component is much less than that of the centralized processing center, thereby reducing the probability of processing errors and improving the accuracy of business data processing. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0050] Figure 1 A business processing architecture based on a software-defined distributed protection control component provided in an embodiment of the present invention;

[0051] Figure 2 A flowchart of a method for processing protected service data provided by an embodiment of the present invention;

[0052] Figure 3 A flowchart of a method for processing protected service data provided by another embodiment of the present invention;

[0053] Figure 4 A structural block diagram of a protection service data processing device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The embodiments of the present invention provide a method, device, electronic device and storage medium for processing protected business data, which are used to solve the technical problems of low real-time performance and low accuracy of existing business processing methods.

[0055] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.

[0056] The existing protection and control component business processing method often adopts the method of uniformly transmitting the data and business information collected from various devices of the on-site terminals (such as transformers, feeders, etc.) to the centralized processing center for business processing. Faced with the situation where a large number of terminal devices are constantly connected to the network environment, it is necessary to provide timely processing feedback for the continuously generated protection and control services. The centralized processing center is usually far away from the local protection terminal equipment. The data generated on the protection device is directly transmitted to the centralized processing center, which brings a large transmission delay and the capacity should increase with the increase of equipment, which cannot meet the real-time and accuracy of the protection business.

[0057] In view of this, please refer to Figure 1The embodiment of the present invention provides a business processing architecture based on software-defined distributed protection control components. The architecture mainly consists of a terminal device layer, a protection control component layer, an SDN management and control layer, and a centralized processing center.

[0058] The terminal equipment layer includes transformers, feeders, distributed power sources, circuit breakers and other power equipment, which are of many types and diverse. They can store and transmit real-time collected data and tasks to the protection and control component layer of the responsible area, and can also perform simple protection processing, providing a variety of refined information to support upper-level protection processing decisions and analysis.

[0059] The protection control component layer is composed of countless protection control components. Each protection control component is responsible for the terminal equipment in a region, and aggregates the real-time data uploaded by the terminal equipment and the historical data of the uploaded real-time data and existing services to the SDN (Software Defined Network) management layer, and is also controlled by the SDN management layer. The protection control component layers are connected by optical fibers and can transmit data and services to each other. It supports small real-time local data services, and can issue instructions to the terminal device layer in real time, reducing computing delays, alleviating the communication and processing pressure of the cloud center, and realizing fast user-side scheduling and processing.

[0060] Each SDN management and control layer is deployed in a protection control component. It can isolate the control and data planes so that demand-based service orchestration and network resource allocation can be better applied to protection service processing. It collects regularly through OpenFlow messages to provide a central view for each protection control device. SDNs also share resources to achieve local and global resource management and scheduling. SDN can obtain the available computing resources of each protection control component by processing the existing historical data uploaded to the protection control device and its own compiled model. It makes the best decision arrangement for the uploaded protection control processing service based on the communication delay and computing delay, so that the service can quickly reach the designated protection control device for calculation and processing, alleviating the delay and communication pressure, and improving real-time performance and accuracy.

[0061] The centralized processing center can receive the services that cannot be processed from the protection control component layer, and can meet the service needs of services with large computing volume and low real-time requirements.

[0062] Based on the above-mentioned business processing architecture based on software-defined distributed protection control components, an embodiment of the present invention provides a protection business data processing method for solving the technical problems of low real-time performance and low accuracy of existing business processing methods.

[0063] See also Figure 2 , Figure 2A flowchart of a method for processing protected business data provided by an embodiment of the present invention.

[0064] A protection service data processing method provided by the present invention involves a plurality of interconnected protection control components, which may specifically include the following steps:

[0065] Step 201, when the current protection control component receives service data sent by a preset terminal device, the computing resource amount of the service data is obtained;

[0066] In the embodiment of the present invention, when a terminal device sends service data to a corresponding protection control component, the protection control component is determined as the current protection control component, and the computing resource amount of the service data is obtained.

[0067] In the embodiment of the present invention, the service data may be protection service request data.

[0068] Step 202, obtaining the available computing resources of each protection control component;

[0069] In the embodiment of the present invention, when the current protection control component receives the service data, it can inform each protection control component to calculate its own available computing resource amount; and receive the available computing resource amount of each protection control component.

[0070] Among them, each protection control component can calculate its own available computing resources through the built-in SDN management and control layer.

[0071] Step 203, determining available protection control components according to the amount of computing resources and the amount of available computing resources;

[0072] After the available computing resources of each protection control component are obtained, the available protection control components may be determined among all the protection control components according to the available computing resources of each protection control component.

[0073] The available protection control component refers to a protection control component that can process business data.

[0074] Step 204, obtaining the total delay of each available protection control component in processing service data;

[0075] Step 205, determining a target protection control component from available protection control components according to the total delay;

[0076] In a specific implementation, after the available protection control components are determined, in order to ensure the real-time processing of business data, the total delay of each protection control component in processing business data can be obtained to determine the target protection control component for business data processing based on the total delay.

[0077] Step 206, sending the service data to the target protection control component, and receiving the processing result returned by the target protection control component based on the service data;

[0078] Step 207: Send the processing result to the terminal device.

[0079] In the embodiment of the present invention, after the target protection control component is determined, the service data can be sent to the target protection control component for processing to obtain a processing result, and the processing result is returned to the terminal device.

[0080] It should be noted that the target protection control component may be the current protection control component or another protection control component connected to the current protection control component.

[0081] The present invention does not need to send all business data to a centralized processing center for processing, but processes the data in a protection control component close to the terminal device, thereby shortening the communication path for data processing and reducing time costs; in addition, by analyzing the available computing resources of multiple protection control components, targets for processing business data are allocated, including control components, thereby improving the speed of business data processing; at the same time, since multiple terminal devices corresponding to the centralized processing center are allocated to multiple protection control components for data processing, the processing pressure of each protection control component is much less than that of the centralized processing center, thereby reducing the probability of processing errors and improving the accuracy of business data processing.

[0082] See also Figure 3 , Figure 3 A flowchart of a method for processing protected service data provided by another embodiment of the present invention. Specifically, the following steps may be included:

[0083] Step 301, when the current protection control component receives service data sent by a preset terminal device, the computing resource amount of the service data is obtained;

[0084] In the embodiment of the present invention, when a terminal device sends service data to a corresponding protection control component, the protection control component is determined as the current protection control component, and the computing resource amount of the service data is obtained.

[0085] Step 302, obtaining the available computing resources of each protection control component;

[0086] In the embodiment of the present invention, when the current protection control component receives the service data, it can inform each protection control component to calculate its own available computing resource amount; and receive the available computing resource amount of each protection control component.

[0087] In one example, the step of calculating the available computing resources of the protection control component includes:

[0088] S11, obtaining a distribution density function of the protection control component; the distribution density function is obtained by training the historical data of the stock business of the protection control component;

[0089] S12, calculating the expected value of computing resources of the corresponding protection control component within a preset time period through a distribution density function;

[0090] In the embodiment of the present invention, each SDN management layer can collect and analyze the historical data of the existing services. If the expected time to process a service data is T (unit: s), its computing load is Q (unit: cycle). Assuming that at time T0, the SDN receives L computing load tasks, the expected time is T q =LT, the total computing load is LQ, the amount of computing resources occupied needs to be U (in Hz), in T q =LT(s) is used as a unit to divide the collected historical resource usage data into sections, and the distribution density function of computing resources can be obtained through custom model analysis.

[0091] The distribution density function can be calculated by the following steps:

[0092] a. Collect historical computing resource usage data;

[0093] b. T q =LT(s) The unit length divides the time into different time periods;

[0094] c. Calculate the historical resource occupancy density in each time period;

[0095] d. Calculate the resource distribution density function based on the historical resource occupancy density in each time period.

[0096] Through the distribution density function, we can predict the expected value of computing resources of each protection control component to process the original business in the next Tq = 10T. (Unit: Hz, n is the nth protection control component, n∈m) respectively establish T0~T0+T q The expected value of computing resources required by each protection control component to process the original business within a certain period of time The expected value model is as follows:

[0097]

[0098] in, It is the distribution density function obtained based on the historical data of the stock business of the protection control component. It is the computing resource of the nth protection control component service.

[0099] S13, obtaining the total amount of computing resources of the protection control component;

[0100] S14, calculating the available computing resources according to the total computing resources and the expected value of computing resources.

[0101] In actual scenarios, the total amount of computing resources for each protection control component Generally, it is not fully utilized, and at most 80% is utilized. Therefore, in the embodiment of the present invention, the available computing resources of the protection control component can be calculated by the following formula:

[0102]

[0103] Step 303, determining available protection control components according to the amount of computing resources and the amount of available computing resources;

[0104] After the available computing resources of each protection control component are obtained, the available protection control components may be determined among all the protection control components according to the available computing resources of each protection control component.

[0105] In one example, the step of determining the available protection control component according to the amount of computing resources and the amount of available computing resources may include the following sub-steps:

[0106] S21, determining in turn whether the available computing resources of each protection control component are greater than the computing resources;

[0107] S22: If yes, determine the protection control component as an available protection control component.

[0108] In a specific implementation, the available computing resources of each protection control component can be compared with the computing resources of the business data, and the protection control components whose available computing resources are greater than the computing resources of the business data can be selected as available protection control components.

[0109] It should be noted that when the available computing resources of all protection control components are not greater than the computing resources of the business data, the business data is sent to the centralized processing center for data processing. The centralized processing center can be a server or server cluster with computing resources greater than the protection control components.

[0110] Step 304, obtaining the total delay of each available protection control component in processing service data;

[0111] In a specific implementation, after the available protection control components are determined, in order to ensure the real-time processing of business data, the total delay of each protection control component in processing business data can be obtained to determine the target protection control component for business data processing based on the total delay.

[0112] In one example, the steps for calculating the total delay of processing service data by the available protection control component include:

[0113] S31, obtaining the business volume and computing load of business data;

[0114] S32, obtaining the optical fiber transmission rate between the available protection control component and the current protection control component;

[0115] S33, obtaining calculation intensity;

[0116] S34, calculating the communication delay of the available protection control component according to the business volume, computing load, optical fiber transmission rate and computing intensity;

[0117] S35, using the computing resource amount of the service data and the available computing resource amount of the available protection control component, calculating the computing delay of the available protection control component;

[0118] S36, adding the communication delay and the calculation delay to obtain the total delay of the available protection control component.

[0119] In a specific implementation, each protection control component needs to consider delay issues when processing business data, which may include communication delay and calculation delay.

[0120] Communication delay refers to the delay from the transmission of business data from the current protection and control component to the protection and control component that actually processes the business data, and then from the protection and control component that actually processes the business data to return the processing result to the current protection and control component. Since the protection and control components are transmitted through optical fibers, the communication delay can be calculated by the following formula:

[0121] q=Q / k / 1024 2

[0122]

[0123] Where, k is the average computing intensity of all protection services, q is the traffic volume of service data (unit: Mbit); Q is the computing load of service data (unit: cycle); The communication delay when the service data is processed on the nth protection control component other than the current protection control component; It is the optical fiber transmission rate (unit: Mbit / s).

[0124] It should be noted that if the current protection control component processes the service data, there will be no communication delay.

[0125] Computation delay refers to the time it takes for the protection control component to process business data.

[0126] In practical applications, the calculation delay is related to the available computing resources of the remaining protection control component. For example, the larger the available computing resources, the smaller the calculation delay; the smaller the available computing resources, the larger the calculation delay. Therefore, in an embodiment of the present invention, the calculation delay can be calculated by the following formula:

[0127]

[0128] Where U is the computing resource amount of business data; The computational delay for the nth protection control component to process service data.

[0129] After calculating the communication delay and calculation delay of each protection control component, the total delay of each protection control component can be calculated by the following formula:

[0130]

[0131] Step 305, determining a target protection control component from available protection control components according to the total delay;

[0132] After the total delay of each protection control component is calculated, the target protection control component can be determined from the available protection control components according to the total delay of each protection control component.

[0133] In one example, the step of determining a target protection control component among available protection control components according to the total delay includes: determining an available protection control component with the smallest total delay as the target protection control component.

[0134] In practical applications, in order to ensure the real-time processing of business data, it is necessary to ensure that the total delay of processing business data is as small as possible. Therefore, in an embodiment of the present invention, the available protection control component with the smallest total delay can be determined as the target protection control component, so that the business data can be processed by the target protection control component.

[0135] Step 306, when the target protection control component is not the current protection control component, the service data is sent to the target protection control component, and a processing result returned by the target protection control component based on the service data is received;

[0136] Step 307, when the target protection control component is the current protection control component, generating a processing result of the business data;

[0137] Step 308: Send the processing result to the terminal device.

[0138] In an embodiment of the present invention, when the target protection control component is not the current protection control component, the business data can be sent to the target protection control component for data processing, and then the processing result returned by the target protection control component is received; and then the processing result is fed back to the terminal device.

[0139] When the target protection control component is the current protection control component, the current protection control component may directly process the service data to obtain a processing result, and return the processing result to the terminal device.

[0140] It should be noted that the amount of computing resources actually required by the target protection control component for business data may differ from the computing resources obtained in the early stage. When the target protection control component obtains business data, it needs to determine whether its available computing resources are greater than the computing resources of the business data. If not, the part of the business data that the target protection control component cannot digest will be sent back to the SDN management and control layer for priority processing in the next stage.

[0141] The present invention does not need to send all business data to a centralized processing center for processing, but processes the data in a protection control component close to the terminal device, thereby shortening the communication path for data processing and reducing time costs; in addition, by analyzing the available computing resources of multiple protection control components, targets for processing business data are allocated, including control components, thereby improving the speed of business data processing; at the same time, since multiple terminal devices corresponding to the centralized processing center are allocated to multiple protection control components for data processing, the processing pressure of each protection control component is much less than that of the centralized processing center, thereby reducing the probability of processing errors and improving the accuracy of business data processing.

[0142] See also Figure 4 , Figure 4 A structural block diagram of a protection service data processing device provided in an embodiment of the present invention.

[0143] The embodiment of the present invention provides a protection service data processing device, which involves a plurality of interconnected protection control components, wherein the protection control components have a software defined network (SDN) management and control layer; the device includes:

[0144] The computing resource amount acquisition module 401 is used to acquire the computing resource amount of the service data when the current protection control component receives the service data sent by the preset terminal device;

[0145] An available computing resource amount acquisition module 402 is used to acquire the available computing resource amount of each protection control component;

[0146] An available protection control component determination module 403, used to determine an available protection control component according to the amount of computing resources and the amount of available computing resources;

[0147] A total delay acquisition module 404 is used to obtain the total delay of each available protection control component in processing service data;

[0148] A target protection control component determination module 405 is used to determine a target protection control component from among the available protection control components according to the total delay;

[0149] The processing result returning module 406 is used to send the service data to the target protection control component and receive the processing result returned by the target protection control component based on the service data;

[0150] The processing result sending module 407 is used to send the processing result to the terminal device.

[0151] In an embodiment of the present invention, the protection control component has a software defined network SDN management and control layer; the protection control component includes:

[0152] A computing resource expected value calculation module is used to calculate the computing resource expected value of the corresponding protection control component within a preset time period through the SDN management and control layer;

[0153] A computing resource total amount acquisition module is used to acquire the computing resource total amount of the protection control component;

[0154] The available computing resource amount calculation module is used to calculate the available computing resource amount according to the total computing resource amount and the expected value of computing resource.

[0155] In an embodiment of the present invention, a computing resource expected value computing module includes:

[0156] The distribution density function acquisition submodule is used to acquire the distribution density function of the protection control component; the distribution density function is obtained by training the historical data of the stock business of the protection control component;

[0157] The computing resource expected value calculation submodule is used to calculate the computing resource expected value of the corresponding protection control component within a preset time period through a distribution density function.

[0158] In the embodiment of the present invention, the available protection control component determination module 403 includes:

[0159] A judgment submodule, used to judge in turn whether the available computing resources of each protection control component are greater than the computing resources;

[0160] The available protection control component determination submodule is used to, if yes, determine the protection control component as an available protection control component.

[0161] In the embodiment of the present invention, the protection control component may include:

[0162] A business volume and computing load acquisition module, used to acquire the business volume and computing load of business data;

[0163] An optical fiber transmission rate acquisition module is used to acquire the optical fiber transmission rate between the available protection control component and the current protection control component;

[0164] A computing intensity acquisition module, used for acquiring computing intensity;

[0165] A communication delay calculation module, used to calculate the communication delay of the available protection control components according to the business volume, computing load, optical fiber transmission rate and computing intensity;

[0166] A calculation delay calculation module, used to calculate the calculation delay of the available protection control component by using the calculation resource amount of the business data and the available calculation resource amount of the available protection control component;

[0167] The total delay calculation module is used to add the communication delay and the calculation delay to obtain the total delay of the available protection control component.

[0168] In the embodiment of the present invention, the target protection control component determination module 405 includes:

[0169] The target protection control component determination submodule is used to determine the available protection control component with the smallest total delay as the target protection control component.

[0170] In the embodiment of the present invention, the processing result returning module 406 includes:

[0171] A first return submodule, used for sending the service data to the target protection control component when the target protection control component is not the current protection control component, and receiving a processing result returned by the target protection control component based on the service data;

[0172] The second return submodule is used to generate a processing result of the business data when the target protection control component is the current protection control component.

[0173] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:

[0174] The memory is used to store the program code and transmit the program code to the processor;

[0175] The processor is used to execute the protection service data processing method of the embodiment of the present invention according to the instructions in the program code.

[0176] The embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the protection service data processing method of the embodiment of the present invention.

[0177] 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.

[0178] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0179] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of 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 embodiments of 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 codes.

[0180] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the 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 the 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 terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal 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.

[0181] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including 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.

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

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

[0184] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0185] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for processing protection service data, characterized in that: Involving a plurality of interconnected protection control components, the method comprises: When the current protection control component receives the service data sent by the preset terminal device, the computing resource amount of the service data is obtained; Obtain the available computing resources of each protection control component; Determining an available protection control component according to the amount of computing resources and the amount of available computing resources; Obtaining a total delay of each of the available protection control components in processing the service data; Determine a target protection control component among the available protection control components according to the total delay; Sending the service data to the target protection control component, and receiving a processing result returned by the target protection control component based on the service data; Sending the processing result to the terminal device; The protection control component has a software defined network SDN management and control layer; the calculation step of the available computing resources of the protection control component includes: Calculate the expected value of computing resources of the corresponding protection control component within a preset time period through the SDN management and control layer; Obtaining the total amount of computing resources of the protection control component; Calculate the available computing resources according to the total computing resources and the expected value of the computing resources; Among them, the expected value of computing resources for each protection control component to process the original business The model is as follows: in, It is the distribution density function obtained based on the historical data of the stock business of the protection control component. is the computing resource of the nth protection control component service, T0 is the time when SDN receives the computing load task, T q The expected time to process business data.

2. The method according to claim 1, characterized in that: The step of calculating the expected value of computing resources of the corresponding protection control component within a preset time period through the SDN management and control layer includes: Obtaining a distribution density function of the protection control component; the distribution density function is obtained by training the historical data of the stock business of the protection control component; The expected value of computing resources of the corresponding protection control component within a preset time period is calculated using the distribution density function.

3. The method according to claim 1, characterized in that The step of determining the available protection control component according to the computing resource amount and the available computing resource amount comprises: Determining in turn whether the available computing resources of each of the protection control components are greater than the computing resources; If so, the protection control component is determined as an available protection control component.

4. The method according to claim 1, characterized in that: The step of calculating the total delay of the available protection control component in processing the service data comprises: Acquiring the business volume and computing load of the business data; Acquire the optical fiber transmission rate between the available protection control component and the current protection control component; Get the computational intensity; Calculate the communication delay of the available protection control component according to the traffic volume, the computing load, the optical fiber transmission rate and the computing intensity; Calculating the computing delay of the available protection control component by using the computing resource amount of the service data and the available computing resource amount of the available protection control component; The communication delay and the calculation delay are added together to obtain a total delay of the available protection control component.

5. The method according to claim 4, characterized in that The step of determining a target protection control component from among the available protection control components according to the total delay comprises: An available protection control component with the smallest total delay is determined as a target protection control component.

6. The method according to claim 1, characterized in that The step of sending the service data to the target protection control component and receiving the processing result returned by the target protection control component based on the service data includes: When the target protection control component is not the current protection control component, sending the service data to the target protection control component, and receiving a processing result returned by the target protection control component based on the service data; When the target protection control component is the current protection control component, a processing result of the business data is generated.

7. A protection service data processing device, characterized in that: Involving a plurality of interconnected protection and control components, the device comprises: A computing resource amount acquisition module, used for acquiring the computing resource amount of the business data when the current protection control component receives the business data sent by the preset terminal device; An available computing resource acquisition module is used to acquire the available computing resources of each protection control component; An available protection control component determination module, used to determine an available protection control component according to the computing resource amount and the available computing resource amount; A total delay acquisition module, used to acquire the total delay of each of the available protection control components in processing the service data; a target protection control component determination module, configured to determine a target protection control component from among the available protection control components according to the total delay; A processing result returning module, used for sending the service data to the target protection control component, and receiving the processing result returned by the target protection control component based on the service data; A processing result sending module, used for sending the processing result to the terminal device; The protection control component has a software defined network (SDN) management and control layer; the protection control component includes: A computing resource expected value calculation module is used to calculate the computing resource expected value of the corresponding protection control component within a preset time period through the SDN management and control layer; A computing resource total amount acquisition module is used to acquire the computing resource total amount of the protection control component; An available computing resource amount calculation module is used to calculate the available computing resource amount according to the total amount of computing resources and the expected value of computing resources; Among them, the expected value of computing resources for each protection control component to process the original business The model is as follows: in, It is the distribution density function obtained based on the historical data of the stock business of the protection control component. is the computing resource of the nth protection control component service, T0 is the time when SDN receives the computing load task, T q The expected time to process business data.

8. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the protection service data processing method according to any one of claims 1 to 6 according to the instructions in the program code.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the protection service data processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Cloud side-end collaborative resource management method and system

    CN113452566A