A Method and System for Managing Cloud Services of a Distribution Edge Gateway
By accurately analyzing the power data capacity and distance level of the power terminal equipment, determining the processing sequence and equipment object, the problem of low communication efficiency of the distribution edge gateway is solved, and efficient data processing and management is achieved.
Patent Information
- Application Number
- CN202410751440.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2044-06-12
AI Technical Summary
When the existing distribution edge gateway processes the power data collected by the power terminal equipment, it cannot flexibly adjust the processing order and device objects according to the distance between the device and the gateway and the data capacity, resulting in inefficient communication.
By collecting power characteristic data of power terminal equipment, counting its capacity and distance levels, comparing and combining using data search algorithms, determining the processing order and device objects, and realizing accurate data processing.
The communication data processing stability and efficiency of the distribution edge gateway are improved, and intelligent management based on data capacity and transmission distance is realized.
Smart Images

Figure CN118764501B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data information transmission, and particularly to a management method and system for cloud services of a distribution edge gateway. Background Technique
[0002] Distribution edge gateways are widely used in the communication of the power Internet of Things. An edge gateway is a gateway deployed on the edge side of a network. Through functions such as network connection and protocol conversion, it connects the physical and digital worlds, providing lightweight connection management, real-time data analysis, and application management functions. An edge gateway is a device between a terminal device and a cloud server and plays a crucial role in the Internet of Things system. It acts as an intermediate layer between the terminal device and the cloud server and is responsible for collecting data from the terminal device, processing and storing it, and sending the processed and encapsulated data to the cloud server. By connecting to Internet of Things devices, an edge gateway can achieve real-time control and monitoring of the devices and analyze and make decisions on the data. At the same time, the edge gateway can also coordinate the communication between terminal devices, thereby realizing the effective management and control of the entire Internet of Things environment. The edge gateway has the following advantages: 1. Local processing: The edge gateway can process data locally, reduce the amount of data transmission, improve the response speed, and reduce the transmission cost; 2. Store data: The edge gateway can store data locally, protect data privacy, and improve data security; Analyze data: The edge gateway can analyze local data, extract valuable information, and support real-time decision-making; 3. Control devices: The edge gateway can control devices locally to achieve functions such as automated control and intelligent management; 4. Cloud services: The edge gateway can achieve functions such as remote control, data sharing, and collaborative decision-making through cloud services. The edge gateway includes various protocols as follows: 1. Communication protocol: The edge gateway protocol needs to define the communication protocol between edge devices, including data format, transmission protocol, communication interface, etc.; 2. Security protocol: The edge gateway protocol needs to define the security protocol to protect data privacy and prevent data leakage, tampering, hijacking, etc.; 3. Application protocol: The edge gateway protocol needs to define the application protocol to support the requirements of various application scenarios, such as smart home, smart factory, smart city, etc.; 4. Management protocol: The edge gateway protocol needs to define the management protocol to support functions such as device registration, configuration, monitoring, and maintenance. Existing distribution edge gateways cannot flexibly adjust the processing order and processing device objects of power data according to the distance between the power terminal device and the distribution edge gateway and the size of the power data volume during the process of processing power data collected by the power terminal device, resulting in low communication efficiency of the distribution edge gateway and reducing the communication quality of the distribution edge gateway.
[0003] A Chinese invention patent application with the publication number CN114430357A discloses a management method for an intelligent gateway system based on cloud management, including the following steps: S1. Receive data from the internal network and the external network; S2. Mark the data according to the source and type of the data in step S1; S3. Classify the marked data in step S2; S4. Encrypt the classified data in step S3; S5. Send the encrypted data in step S4 to the user account and the cloud server through the internal network or the external network; S6. Locally save the encrypted data in step S4 through the storage module. Marking the data according to the source and type of the data facilitates the identification, classification, and management of the data. Storing the data through the cloud server and the local storage module can effectively relieve the storage pressure on the user's mobile terminal. Encrypting the data ensures the security of the data. It can uniformly process and store the user's data. However, the above technical solutions cannot intelligently adjust the processing order and processing device objects of the data according to the distance between the data collection device and the gateway and the size of the collected data volume. Summary of the Invention
[0004] (1) Technical Problems to be Solved
[0005] To solve the problem that the existing distribution edge gateway cannot flexibly adjust the processing order and processing device objects of the power data collected by the power terminal device according to the distance between the power terminal device and the distribution edge gateway and the size of the power data volume during the process of processing the power data, resulting in low communication efficiency of the distribution edge gateway and reduced communication quality of the distribution edge gateway, and to achieve the purpose of accurately measuring and collecting the size of the power data volume, analyzing the data volume level, accurately measuring and collecting the distance between the power terminal device of the power data and the distribution edge gateway, independently analyzing the distance level between the power terminal device and the distribution edge gateway, and accurately analyzing the processing order and processing device objects of the power data of power terminal devices with different capacity-distance levels.
[0006] (2) Technical Solutions
[0007] The present invention is achieved through the following technical solutions: A management method for a distribution edge gateway cloud service, the method includes the following steps:
[0008] S1. Collect power characteristic data of power terminal devices;
[0009] S2. Statistically calculate the size of the data volume of the power characteristic data of the power terminal device, and measure the data volume of the power characteristic data of the power terminal device; Use a data search algorithm to compare the data volume of the power characteristic data of the power terminal device with the standard data volume of the power data of the power terminal device, and analyze according to the result of the numerical comparison to generate data on the data volume level of the power data of the power terminal device;
[0010] S3. When the power data capacity level data of the power terminal device is generated, collect the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway respectively;
[0011] S4. Measure the distances from the distribution edge gateway to different power terminal devices respectively according to the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway, and generate the distance data from the distribution edge gateway to the power terminal device;
[0012] S5. Use a data search algorithm to compare the distance data from the distribution edge gateway to the power terminal device with the standard distance data from the distribution edge gateway to the power terminal device numerically. Analyze according to the numerical comparison result and generate the distance level data from the distribution edge gateway to the power terminal device;
[0013] S6. Combine the power data capacity level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device to generate the combined data of the power data capacity and distance level of the power terminal device;
[0014] S7. Use a data recognition algorithm to perform character matching of the power data capacity and distance level on the combined data of the power data capacity and distance level of the power terminal device and the corresponding power data processing sequence and processing device object data of different power data capacities and distance levels. Search for the power data processing sequence and processing device object data corresponding to the combined data of the power data capacity and distance level of the power terminal device, and construct the power data processing sequence and processing device object data of the power terminal device. Perform the power data processing operation of the power terminal device according to the power data processing sequence and processing device object data of the power terminal device.
[0015] Preferably, the operation steps for collecting the power characteristic data of the power terminal device are as follows:
[0016] S11. Receive the power characteristic data collected by different power terminal devices in real time through the distribution edge gateway and generate the power terminal device power characteristic data set A=(a1,…,a m ,…,a σ ), m = 1, 2, 3, …, σ, where a m represents the mth power terminal device power characteristic data collected, and σ represents the maximum value of the number of power terminal devices. The power terminal device power characteristic data includes any one or more of the voltage characteristic data, current characteristic data, power characteristic data, frequency characteristic data, and power consumption characteristic data of the power terminal device.
[0017] Preferably, the data capacity of the power characteristic data of the power terminal device is statistically counted to measure the data capacity of the power characteristic data of the power terminal device; the data search algorithm is used to compare the data capacity of the power characteristic data of the power terminal device with the standard data capacity of the power data of the power terminal device, and based on the analysis of the numerical comparison result, the operation steps for generating the power data capacity level data of the power terminal device are as follows:
[0018] S21. Use data monitoring software to perform data capacity size statistics on the power characteristic data a of the power terminal device in the power characteristic data A of the power terminal device m Statistically count the data capacity size in an orderly manner according to the power terminal device number m, and measure and generate a set A'=(a'1,...,a' m ,...,a' σ ) of the power characteristic data capacity of the power terminal device, where a' m represents the power characteristic data capacity of the power terminal device corresponding to the power characteristic data a m of the power terminal device, and the data monitoring software includes any one of network speed measurement, accurate speed measurement, and speed master;
[0019] S22. Establish the standard power data capacity a' of the power terminal device S , and the standard power data capacity of the power terminal device represents the maximum data capacity for processing the power characteristic data a m of the power terminal device in the normal operation state of the distribution edge gateway;
[0020] S22. Use the K-D tree nearest neighbor search algorithm to numerically compare the power characteristic data capacity a' in the power characteristic data capacity set A' of the power terminal device with the standard power data capacity a' of the power terminal device in an orderly manner according to the power terminal device number m m , and based on the analysis of the numerical comparison result, generate a set A''=(a''1,...,a'' S ,...,a'' m ) of the power data capacity level data of the power terminal device, where a'' σ represents the power data capacity level data corresponding to the power characteristic data capacity a' m of the power terminal device; m When a'
[0021] >a' m , it means that the data capacity of the collected power characteristic data a S of the power terminal device is greater than the maximum data capacity for processing the power characteristic data a m of the power terminal device in the normal operation state of the distribution edge gateway, then output the power data capacity level data a'' m of the power terminal device mFor large capacity;
[0022] When a' m ≤ a' S , it means that the data capacity of the power characteristic data a of the collected power terminal device m is not greater than the maximum value of the data capacity for processing the power characteristic data a of the power terminal device in the normal operation state of the distribution edge gateway, and then the power data capacity level data a″ of the power terminal device is output m For small capacity. m Preferably, when the generation of the power data capacity level data of the power terminal device is completed, the operation steps for respectively collecting the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway are as follows:
[0023] S31. When the set A″ of the power data capacity level data of the power terminal device is generated, the spatial coordinate data where the power terminal device is located is collected through a position sensor and the set B = (b1,..., b
[0024] ,..., b m ,..., b σ ) of the spatial coordinate data of the power terminal device is generated, where b m represents the spatial coordinate data of the power terminal device corresponding to the m-th power terminal device, and b m = (x m , y m , z m ), where x m represents the abscissa corresponding to the spatial coordinate data of the m-th power terminal device, y m represents the ordinate corresponding to the spatial coordinate data of the m-th power terminal device, and z m represents the vertical coordinate corresponding to the spatial coordinate data of the m-th power terminal device;
[0025] The spatial coordinate data where the distribution edge gateway is located is collected through a position sensor and the spatial coordinate data P of the distribution edge gateway is generated, P = (x p , y p , z p ), where x p represents the abscissa corresponding to the spatial coordinate data of the distribution edge gateway, y p represents the ordinate corresponding to the spatial coordinate data of the distribution edge gateway, and z p represents the vertical coordinate corresponding to the spatial coordinate data of the distribution edge gateway.
[0026] Preferably, the distances from the distribution edge gateway to different power terminal devices are respectively measured based on the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway, and the operation steps for generating the distance data from the distribution edge gateway to the power terminal device are as follows:
[0027] S41. Obtain the set B of spatial coordinate data of the power terminal device and the spatial coordinate data P of the distribution edge gateway;
[0028] S42. According to the set B of spatial coordinate data of the power terminal device and the spatial coordinate data P of the distribution edge gateway, use the distance formula to measure the distances from the distribution edge gateway to different power terminal devices respectively, and generate a set B'=(b'1,…,b' m ,…,b' σ ) of the distances from the distribution edge gateway to the power terminal devices, where b' m represents the distance data from the distribution edge gateway to the power terminal device corresponding to the coordinate point of the spatial coordinate data P of the distribution edge gateway to the coordinate point of the spatial coordinate data b m of the power terminal device.
[0029] Preferably, the operation steps of using the data search algorithm to numerically compare the distances from the distribution edge gateway to the power terminal devices with the standard distance data from the distribution edge gateway to the power terminal devices, and analyzing according to the numerical comparison results to generate the distance level data from the distribution edge gateway to the power terminal devices are as follows:
[0030] S51. Establish the standard distance data b' S from the distribution edge gateway to the power terminal device, and the standard distance data from the distribution edge gateway to the power terminal device represents the maximum distance from the distribution edge gateway to the power terminal device for ensuring that the data transmission time differences received by the distribution edge gateway from different power terminal devices are within the same range;
[0031] S52. Use the data search algorithm to numerically compare the distance data b' m from the distribution edge gateway to the power terminal device in the set B' of the distances from the distribution edge gateway to the power terminal devices with the standard distance data b' S from the distribution edge gateway to the power terminal device in an orderly manner according to the number m of the power terminal devices, and analyze according to the numerical comparison results to generate a set B''=(b''1,…,b'' m ,…,b'' σ ) of the distance level data from the distribution edge gateway to the power terminal devices, where b'' m represents the distance level data from the distribution edge gateway to the power terminal device corresponding to the distance data b' m from the distribution edge gateway to the power terminal device;
[0032] When b' m >b' S , it means that the coordinate point of the spatial coordinate data P of the distribution edge gateway to the spatial coordinate data b mThe distance data of the corresponding coordinate points is greater than the standard distance data b' from the distribution edge gateway to the power terminal device S , then output the power data capacity level data b″ of the power terminal device m as long distance;
[0033] When b′ m ≤b′ S , it means that the distance data from the corresponding coordinate point of the spatial coordinate data P of the distribution edge gateway to the spatial coordinate data b of the power terminal device m is not greater than the standard distance data b' from the distribution edge gateway to the power terminal device S , then output the power data capacity level data b″ of the power terminal device m as short distance.
[0034] Preferably, the operation steps of generating the power data capacity and distance level combination data of the power terminal device by combining the power data capacity level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device are as follows:
[0035] S61. Obtain the power data capacity level data set A″ of the power terminal device and the distance level data set B″ from the distribution edge gateway to the power terminal device;
[0036] S62. For the power data capacity level data a″ of the power terminal device in the power data capacity level data set A″ of the power terminal device m and the distance level data b″ from the distribution edge gateway to the power terminal device in the distance level data set B″ from the distribution edge gateway to the power terminal device m perform data combination in an orderly manner according to the power terminal device number m, and generate a power data capacity and distance level combination data set C=(c1,…,c m ,…,c σ ), where c m represents the power data capacity and distance level combination data corresponding to the power characteristic data a m of the power terminal device; the power data capacity and distance level combination data of the power terminal device consists of four types: large capacity long distance, large capacity short distance, small capacity long distance, and small capacity short distance.
[0037] Preferably, the following steps are performed for the operation of using the data recognition algorithm to perform character matching on the power data capacity and distance level combined data of the power terminal device with the corresponding power data processing order and processing device object data of different power data capacities and distance levels, searching for the corresponding power data processing order and processing device object data of the power data capacity and distance level combined data of the power terminal device, constructing the power data processing order and processing device object data of the power terminal device, and performing the power data processing operation of the power terminal device according to the power data processing order and processing device object data of the power terminal device:
[0038] S71. Establish a set of power data processing orders and processing device object data corresponding to different power data capacities and distance levels Among them represents the power characteristic data a of the power terminal device collected m The power data capacity and distance level combined data c of the power terminal device m When it is a large capacity and long distance, the corresponding power data processing order and processing device object data of the power characteristic data a of the power terminal device m The power data processing order and processing device object data are to use the cloud server for the first batch of data processing;
[0039] represents the power characteristic data a of the power terminal device collected m The power data capacity and distance level combined data c of the power terminal device m When it is a large capacity and short distance, the corresponding power data processing order and processing device object data of the power characteristic data a of the power terminal device m The power data processing order and processing device object data are to use the cloud server for the second batch of data processing;
[0040] d3 配电边缘网关 represents the power characteristic data a of the power terminal device collected m The power data capacity and distance level combined data c of the power terminal device m When it is a small capacity and long distance, the corresponding power data processing order and processing device object data of the power characteristic data a of the power terminal device m The power data processing order and processing device object data are to use the distribution edge gateway for the third batch of data processing;
[0041] d4 配电边缘网关 represents the power characteristic data a of the power terminal device collected m The power data capacity and distance level combined data c of the power terminal device m When it is a small capacity and short distance, the corresponding power data processing order and processing device object data of the power characteristic data a of the power terminal device mThe power data processing sequence and the processed device object data are to process the data using the fourth batch of distribution edge gateways;
[0042] Among them, → represents the combined data c of the power data capacity and distance level of the power terminal device m The corresponding relationship with the power data processing sequence and the processed device object data;
[0043] S72. Use a data recognition algorithm to match the power data capacity and distance level combination data c in the set C of the power data capacity and distance level combination data of the power terminal device m With the power data processing sequence and the processed device object data in the set D of the power data processing sequence and processed device object data corresponding to different power data capacities and distance levels, perform character matching of the power data capacity and distance level, and search for the power data processing sequence and the processed device object data corresponding to the power data capacity and distance level combination data c of the power terminal device m The corresponding power data processing sequence and the processed device object data, and execute the specific operation steps of the power data processing sequence and the processed device object data corresponding to the searched power data capacity and distance level combination data c of the power terminal device m The specific operation steps of the corresponding power data processing sequence and the processed device object data are as follows:
[0044] S721. Initialization, randomly update the data processing sequence and the position of the processed device object search badger population in the search space of the set C of the power data capacity and distance level combination data of the power terminal device. The data processing sequence and the processed device object search badger position update formula are as follows:
[0045] Among them, K i,j Represents the position of the data processing sequence and the processed device object search badger individual i in the j-dimensional search space, that is, the position of the data processing sequence and the processed device object search badger individual i in the search space of the set C of the power data capacity and distance level combination data of the power terminal device with a spatial dimension of σ, Respectively represent the lower and upper boundaries of the search space of the set C of the power data capacity and distance level combination data of the power terminal device, and r is a random number between [0,1];
[0046] S722, exploration phase, the data processing sequence and processing device object search Tasmanian devils tend to feed on carrion rather than hunting in the search space of power terminal equipment power data capacity and distance level combination data set C. There are other carnivores living around the Tasmanian devils. Other carnivores prey on large prey and cannot eat all of the large prey. Before the arrival of the Tasmanian devils, other carnivores cannot fully eat from the prey. In this case, the data processing sequence and processing device object search Tasmanian devils tend to feed on these carrion. The behavior of the data processing sequence and processing device object search Tasmanian devils when scanning the habitat area to identify carrion is similar to the algorithm search process in the problem solving space, that is, the data processing sequence and processing device object search Tasmanian devil individuals search for the power terminal equipment power data capacity, distance level combination data set C in the search space. m The matching power data processing sequence and processing device object data; the data processing sequence and processing device object search behavior simulation formula of the Tasmanian devil identifying the selected carrion is as follows:
[0047] Γ i =K Π , where Γ i Represents the data processing order and processing equipment object search Tasmanian devil individual i searches for the selected target carrion position in the power terminal equipment power data capacity, distance level combination data set C search space, K Π It represents that the data processing sequence and the processing device object search for the position of the target carrion Π selected by the Tasmanian devil individual in the search space of the power terminal equipment power data capacity and the distance level combination data set C, Π=1,…,N, where N represents the maximum number of carrions searched by the data processing sequence and the processing device object search for the Tasmanian devil individual i; based on the selected target carrion, the data processing sequence and the processing device object search for the new position of the Tasmanian devil in the search space of the power terminal equipment power data capacity and the distance level combination data set C is calculated, and the data processing sequence and the processing device object search for the new position of the Tasmanian devil calculation formula is as follows:
[0048] Where K i Represents the data processing order and the processing device object to search for the position of Tasmanian devil individual i before updating in the search space of power terminal equipment power data capacity, distance level combination data set C; Ψ represents the updated position of the Tasmanian devil individual i in the search space of the power data capacity and distance level combination data set C of the power terminal equipment in the order of data processing and the processing device object; i and i newrespectively represent the carrion quality parameters indicating the data processing order in the search space of the power data capacity and distance level combination data set C of the power terminal device and the position coordinates of the search badger individual of the processing device object before and after position update;
[0049] S723. In the development stage, the development stage of the data processing order and the processing device object search badger is to prey on prey. The behavior of the data processing order and the processing device object search badger during the process of attacking prey has two stages. In the first stage, the data processing order and the processing device object search badger scans for prey in the search space of the power data capacity and distance level combination data set C of the power terminal device, selects the prey and attacks the prey; in the second stage, after approaching the prey, the data processing order and the processing device object search badger chases the prey and preys on the prey; that is, the data processing order and the processing device object search badger scans out the power data processing order and the processing device object data that match the power data capacity and distance level combination data c m of the power terminal device in the search space of the power data capacity and distance level combination data set C; The behavior simulation formula for the data processing order and the processing device object search badger to identify the selected prey is as follows:
[0050] Θ i = K′ L where Θ i represents the position of the search badger individual i of the data processing order and the processing device object in the search space of the power data capacity and distance level combination data set C to search for the selected target prey, and K′ L represents the position of the target prey L selected by the search badger individual of the data processing order and the processing device object in the search space of the power data capacity and distance level combination data set C, L = 1,..., Λ, where Λ represents the maximum value of the number of prey searched by the search badger individual i;
[0051] Based on the selected target prey, the new position of the data processing order and the processing device object search badger in the search space of the power data capacity and distance level combination data set C of the power terminal device is calculated. The formula for the new position of the data processing order and the processing device object search badger is as follows:
[0052] where represents the position of the search badger individual i of the data processing order and the processing device object before update in the search space of the power data capacity and distance level combination data set C; represents the position of the search badger individual i of the data processing order and the processing device object after update in the search space of the power data capacity and distance level combination data set C; and They respectively represent the prey quality parameters of the position coordinates of the Tasmanian devil individual before and after the position update in the power data capacity of the power terminal equipment, the data processing order in the search space of the distance level combination data set C, and the processing device object;
[0053] S724. When the algorithm meets the maximum number of iterations, the combined data c of the power data capacity and distance level of the power terminal equipment is output. m The matching power data processing sequence and processing device object data are constructed to construct the power data processing sequence and processing device object data set E = (e1, ..., e m ,…,e σ ), where e m Indicates the power data capacity and distance level combination data of power terminal equipment c m The corresponding power terminal equipment power data processing sequence and processing equipment object data.
[0054] S73, according to the power data processing sequence of the power terminal equipment, the power data processing sequence of the power terminal equipment in the processing equipment object data set E, and the processing equipment object data set E. m The power terminal equipment power characteristic data a in the power terminal equipment power characteristic data set A are sorted in order according to the power terminal equipment quantity m. m Perform power data processing tasks for power terminal equipment.
[0055] A power distribution edge gateway cloud service management system is used to implement the power distribution edge gateway cloud service management method, the system includes a power distribution edge gateway collection data capacity analysis module, a power distribution edge gateway collection data distance analysis module, and a power distribution edge gateway collection data processing and adjustment module;
[0056] The power distribution edge gateway data collection capacity analysis module includes a power terminal equipment power data collection unit, a power terminal equipment power data capacity metering unit, a power terminal equipment power data standard capacity storage unit, and a power terminal equipment power data capacity level analysis unit;
[0057] The power data acquisition unit of the power terminal device collects the power characteristic data of the power terminal device through the distribution edge gateway; the power data capacity measurement unit of the power terminal device statistically calculates the data capacity size of the power characteristic data of the power terminal device, and measures the power data capacity of the power characteristic data of the power terminal device; the power data standard capacity storage unit of the power terminal device is used to store the power data standard capacity of the power terminal device; the power data capacity level analysis unit of the power terminal device uses a data search algorithm to compare the power data capacity of the power terminal device with the power data standard capacity of the power terminal device numerically, and analyzes according to the numerical comparison result to generate the power data capacity level data of the power terminal device;
[0058] The data acquisition distance analysis module of the distribution edge gateway includes a power terminal device spatial coordinate acquisition unit, a distribution edge gateway spatial coordinate acquisition unit, a distance measurement unit from the distribution edge gateway to the power terminal device, a standard distance storage unit from the distribution edge gateway to the power terminal device, a distance level analysis unit from the distribution edge gateway to the power terminal device, and a power data capacity and distance level combination unit of the power terminal device;
[0059] The power terminal device spatial coordinate acquisition unit collects the spatial coordinate data of the power terminal device through a position sensor; the distribution edge gateway spatial coordinate acquisition unit collects the spatial coordinate data of the distribution edge gateway through a position sensor; the distance measurement unit from the distribution edge gateway to the power terminal device measures the distances from the distribution edge gateway to different power terminal devices respectively according to the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway, and generates the distance data from the distribution edge gateway to the power terminal device; the standard distance storage unit from the distribution edge gateway to the power terminal device is used to store the standard distance data from the distribution edge gateway to the power terminal device; the distance level analysis unit from the distribution edge gateway to the power terminal device uses a data search algorithm to compare the distance data from the distribution edge gateway to the power terminal device with the standard distance data from the distribution edge gateway to the power terminal device numerically, and analyzes according to the numerical comparison result to generate the distance level data from the distribution edge gateway to the power terminal device; the power data capacity and distance level combination unit of the power terminal device combines the power data capacity level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device to generate the power data capacity and distance level combination data of the power terminal device;
[0060] The data processing and adjustment module of the distribution edge gateway includes a storage unit for the processing sequence and processing device object corresponding to different power data capacities and distance levels, an analysis unit for the processing sequence and processing device object corresponding to different power data capacities and distance levels, and a power terminal device power data processing operation execution unit;
[0061] The storage unit for the corresponding power data processing sequence and processing device object of different power data capacities and distance levels is used to store the corresponding power data processing sequence and processing device object data of different power data capacities and distance levels; the analysis unit for the corresponding data processing sequence and processing device object of different power data capacities and distance levels uses a data recognition algorithm to perform character matching of the power data capacity and distance level combination data of the power terminal device with the corresponding power data processing sequence and processing device object data of different power data capacities and distance levels, and searches for the corresponding power data processing sequence and processing device object data of the power data capacity and distance level combination data of the power terminal device; the power data processing operation execution unit of the power terminal device executes the power data processing operation of the power terminal device according to the power data processing sequence and processing device object data of the power terminal device.
[0062] (III) Beneficial effects
[0063] The present invention provides a method and system for managing a distribution edge gateway cloud service. It has the following beneficial effects:
[0064] First, through the power data acquisition unit of the power terminal device, the power distribution edge gateway accurately acquires the power characteristic parameters of the power terminal device, providing data support for accurately counting the size of the power characteristic data capacity; the power data capacity measurement unit of the power terminal device and the power data capacity level analysis unit of the power terminal device cooperate with each other to accurately count the power characteristic data capacity parameters received by the power distribution edge gateway and compare them with the standard power data capacity of the power terminal device, and accurately analyze the power characteristic data capacity level of the power terminal device, realizing the refined management of the communication data of the power distribution edge gateway based on the data capacity parameters.
[0065] II. By the mutual cooperation among the spatial coordinate acquisition unit of the power terminal device, the spatial coordinate acquisition unit of the distribution edge gateway, and the distance measurement unit from the distribution edge gateway to the power terminal device, the parameters of the distribution edge gateway and different power terminal devices are accurately acquired, and the distance parameters from different power terminal devices to the distribution edge gateway are efficiently counted, realizing the refined management of the communication data of the distribution edge gateway based on the acquired data transmission distance parameters; the distance level analysis unit from the distribution edge gateway to the power terminal device and the power data capacity and distance level combination unit of the power terminal device cooperate with each other to accurately analyze the distance level parameters from different power terminal devices to the distribution edge gateway, realizing the refined management of the communication data of the distribution edge gateway based on the acquired data transmission distance parameters; scientifically analyze the power data capacity level and distance level parameters of the distribution edge gateway receiving different power terminal devices, realizing the intelligent management of the communication of the distribution edge gateway based on the data capacity and data transmission distance parameters, and improving the communication quality of the distribution edge gateway.
[0066] III. By the mutual cooperation between the power data processing sequence and processing device object storage unit corresponding to different power data capacities and distance levels and the data processing sequence and processing device object analysis unit corresponding to different power data capacities and distance levels, the power data processing sequence and processing device object corresponding to the capacity level and distance level parameters of the power data of different power terminal devices are accurately analyzed by using an intelligent recognition algorithm, realizing the accurate processing of the power data of power terminal devices with different capacity levels and data transmission distance levels by the distribution edge gateway, and improving the stability of the communication data processing of the distribution edge gateway; the power data processing operation execution unit of the power terminal device independently executes the power data processing of the power terminal device according to the processing sequence and processing device object parameters, improving the efficiency of the communication data processing of the distribution edge gateway. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 is a schematic diagram of the modules of a distribution edge gateway cloud service management system provided by the present invention;
[0068] Figure 2 is a flowchart of a distribution edge gateway cloud service management method provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0069] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0070] The embodiments of the distribution edge gateway cloud service management method and system are as follows:
[0071] Please refer to Figure 1 - Figure 2 , a method for managing a cloud service of a distribution edge gateway, the method comprising the following steps:
[0072] S1. Collect power characteristic data of power terminal devices;
[0073] S2. Statistically analyze the data volume of the power characteristic data of the power terminal devices to measure the data volume of the power characteristic data of the power terminal devices; use a data search algorithm to compare the data volume of the power characteristic data of the power terminal devices with the standard data volume of the power data of the power terminal devices, and generate data on the data volume level of the power data of the power terminal devices based on the analysis of the comparison results;
[0074] S3. When the data on the data volume level of the power data of the power terminal devices is generated, collect the spatial coordinate data of the power terminal devices and the spatial coordinate data of the distribution edge gateway respectively;
[0075] S4. Measure the distances from the distribution edge gateway to different power terminal devices based on the spatial coordinate data of the power terminal devices and the spatial coordinate data of the distribution edge gateway respectively, and generate data on the distances from the distribution edge gateway to the power terminal devices;
[0076] S5. Use a data search algorithm to compare the data on the distances from the distribution edge gateway to the power terminal devices with the standard distance data from the distribution edge gateway to the power terminal devices, and generate data on the distance level from the distribution edge gateway to the power terminal devices based on the analysis of the comparison results;
[0077] S6. Combine the data on the data volume level of the power data of the power terminal devices and the data on the distance level from the distribution edge gateway to the power terminal devices to generate combined data on the data volume and distance level of the power data of the power terminal devices;
[0078] S7. Use a data recognition algorithm to perform character matching on the combined data on the data volume and distance level of the power data of the power terminal devices with the corresponding power data processing sequences and processing device object data for different data volumes and distance levels of power data, search for the corresponding power data processing sequences and processing device object data for the combined data on the data volume and distance level of the power data of the power terminal devices, and construct the power data processing sequences and processing device object data of the power terminal devices, and perform power data processing operations on the power terminal devices according to the power data processing sequences and processing device object data of the power terminal devices.
[0079] Further, please refer to Figure 1 - Figure 2 , the operation steps for collecting power characteristic data of power terminal devices are as follows:
[0080] S11. Receive the power characteristic data collected by different power terminal devices in real time through the distribution edge gateway and generate a set A of power characteristic data of power terminal devices A = (a1, …, a m , …, a σ ), where m = 1, 2, 3, …, σ, and a m represents the power characteristic data of the m-th power terminal device collected, and σ represents the maximum value of the number of power terminal devices. The power characteristic data of power terminal devices includes any one or more of the voltage characteristic data, current characteristic data, power characteristic data, frequency characteristic data, and power consumption characteristic data of the power terminal devices.
[0081] The steps for statistically calculating the data capacity size of the power characteristic data of power terminal devices, measuring the data capacity of the power characteristic data of power terminal devices, and using a data search algorithm to numerically compare the data capacity of the power characteristic data of power terminal devices with the standard data capacity of power terminal device power data and analyzing based on the numerical comparison results to generate the power data capacity level data of power terminal devices are as follows:
[0082] S21. Use data monitoring software to statistically calculate the data capacity size of the power characteristic data a m of the power terminal devices in the power characteristic data A of the power terminal devices in an orderly manner according to the power terminal device number m, and measure and generate a set A′ of the power characteristic data capacity of the power terminal devices A′ = (a′1, …, a′ m , …, a′ σ ), where a′ m represents the power characteristic data capacity corresponding to the power characteristic data a m of the power terminal device. The data monitoring software includes any one of network speed measurement, accurate speed measurement, and speed master.
[0083] S22. Establish the standard data capacity a′ S of the power terminal device power data. The standard data capacity of the power terminal device power data represents the maximum data capacity for processing the power characteristic data a m of the power terminal device in the normal operation state of the distribution edge gateway.
[0084] S22. Use the K-D tree nearest neighbor search algorithm to numerically compare the power characteristic data capacity a′ m in the set A′ of the power characteristic data capacity of the power terminal devices with the standard data capacity a′ S of the power terminal device power data in an orderly manner according to the power terminal device number m, and analyze based on the numerical comparison results to generate a set A″ of the power data capacity level data of the power terminal devices A″ = (a″1, …, a″ m , …, a″ σ ), where a″ mIndicates the power characteristic data capacity a' of the power terminal device m The corresponding power data capacity level data of the power terminal device;
[0085] When a' m > a' S , it indicates that the data capacity of the power characteristic data a of the collected power terminal device m is greater than the maximum value of the data capacity of the power characteristic data a of the power terminal device processed by the distribution edge gateway in the normal operation state, then the power data capacity level data a'' of the power terminal device is output m is a large capacity; m For large capacity;
[0086] When a' m ≤ a' S , it indicates that the data capacity of the power characteristic data a of the collected power terminal device m is not greater than the maximum value of the data capacity of the power characteristic data a of the power terminal device processed by the distribution edge gateway in the normal operation state, then the power data capacity level data a'' of the power terminal device is output m is a small capacity. m For small capacity.
[0087] Through the power data acquisition unit of the power terminal device, the power characteristic parameters of the power terminal device are accurately collected by using the distribution edge gateway, providing data support for accurately counting the size of the power characteristic data capacity; the power data capacity measurement unit and the power data capacity level analysis unit of the power terminal device cooperate with each other to accurately count the power characteristic data capacity parameters received by the distribution edge gateway and compare them with the standard power data capacity of the power terminal device, and accurately analyze the power characteristic data capacity level of the power terminal device, realizing the refined management of the communication data of the distribution edge gateway based on the data capacity parameters.
[0088] Furthermore, please refer to Figure 1 - Figure 2 , when the power data capacity level data of the power terminal device is generated, the operation steps for respectively collecting the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway are as follows:
[0089] S31. When the power data capacity level data set A'' of the power terminal device is generated, the spatial coordinate data where the power terminal device is located is collected through the position sensor and the power terminal device spatial coordinate data set B = (b1,..., b m ,..., b σ ) is generated, where b m represents the power terminal device spatial coordinate data corresponding to the mth power terminal device, and b m = (x m , y m , zm ), where x m represents the abscissa corresponding to the spatial coordinate data of the m-th power terminal device, and y m represents the ordinate corresponding to the spatial coordinate data of the m-th power terminal device, and z m represents the vertical coordinate corresponding to the spatial coordinate data of the m-th power terminal device;
[0090] Collect the spatial coordinate data where the distribution edge gateway is located through a position sensor and generate the distribution edge gateway spatial coordinate data P, P = (x p , y p , z p ), where x p represents the abscissa corresponding to the distribution edge gateway spatial coordinate data, and y p represents the ordinate corresponding to the distribution edge gateway spatial coordinate data, and z p represents the vertical coordinate corresponding to the distribution edge gateway spatial coordinate data.
[0091] The operation steps of measuring the distances from the distribution edge gateway to different power terminal devices based on the power terminal device spatial coordinate data and the distribution edge gateway spatial coordinate data respectively and generating the distance data from the distribution edge gateway to the power terminal device are as follows:
[0092] S41. Obtain the power terminal device spatial coordinate data set B and the distribution edge gateway spatial coordinate data P;
[0093] S42. Measure the distances from the distribution edge gateway to different power terminal devices respectively according to the power terminal device spatial coordinate data set B and the distribution edge gateway spatial coordinate data P using the distance formula, and generate the distance data set B' = (b'1,..., b' m ,..., b' σ ), where b' m represents the distance data from the distribution edge gateway to the power terminal device corresponding to the coordinate point of the distribution edge gateway spatial coordinate data P to the coordinate point of the power terminal device spatial coordinate data b m .
[0094] The operation steps of using a data search algorithm to numerically compare the distance data from the distribution edge gateway to the power terminal device with the standard distance data from the distribution edge gateway to the power terminal device and generating the distance level data from the distribution edge gateway to the power terminal device according to the numerical comparison result analysis are as follows:
[0095] S51. Establish the standard distance data b' from the distribution edge gateway to the power terminal device S, the standard distance data from the distribution edge gateway to the power terminal device represents the maximum distance from the distribution edge gateway to the power terminal device that ensures the time difference of data transmission received by the distribution edge gateway from different power terminal devices is within the same range;
[0096] S52. Use the data search algorithm to order the distance data b' from the distribution edge gateway to the power terminal device in the set B' of the distance data from the distribution edge gateway to the power terminal device m in an orderly manner according to the number m of the power terminal devices and compare it numerically with the standard distance data b' from the distribution edge gateway to the power terminal device S . Analyze based on the numerical comparison result to generate the set B″=(b″1,…,b″ m ,…,b″ σ ) of the distance level data from the distribution edge gateway to the power terminal device, where b″ m represents the distance level data from the distribution edge gateway to the power terminal device corresponding to the distance data b' from the distribution edge gateway to the power terminal device m ;
[0097] When b' m >b' S , it means that the distance data from the coordinate point corresponding to the spatial coordinate data P of the distribution edge gateway to the coordinate point corresponding to the spatial coordinate data b of the power terminal device is greater than the standard distance data b' from the distribution edge gateway to the power terminal device m . Then output the power data capacity level data b″ S of the power terminal device as long distance; m
[0098] When b' m ≤b' S , it means that the distance data from the coordinate point corresponding to the spatial coordinate data P of the distribution edge gateway to the coordinate point corresponding to the spatial coordinate data b of the power terminal device is not greater than the standard distance data b' from the distribution edge gateway to the power terminal device m . Then output the power data capacity level data b″ S of the power terminal device as short distance. m
[0099] The operating steps for generating the combined data of the power data capacity and distance level of the power terminal device by combining the power data capacity level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device are as follows:
[0100] S61. Obtain the set A″ of the power data capacity level data of the power terminal device and the set B″ of the distance level data from the distribution edge gateway to the power terminal device;
[0101] S62. For the power data capacity level data a″ of the power terminal equipment in the power data capacity level data set A″ of the power terminal equipment m and the distance level data b″ from the distribution edge gateway to the power terminal equipment in the distance level data set B″ from the distribution edge gateway to the power terminal equipment m Perform data combination in an orderly manner according to the power terminal equipment quantity number m to generate a power terminal equipment power data capacity and distance level combination data set C = (c1, …, c m , …, c σ ), where c m represents the power terminal equipment power data capacity and distance level combination data corresponding to the power terminal equipment power characteristic data a m ; the power terminal equipment power data capacity and distance level combination data consists of four types: large capacity long distance, large capacity short distance, small capacity long distance, and small capacity short distance.
[0102] Through the mutual cooperation among the power terminal equipment space coordinate acquisition unit, the distribution edge gateway space coordinate acquisition unit, and the distance measurement unit from the distribution edge gateway to the power terminal equipment, accurately acquire the parameters of the distribution edge gateway and different power terminal equipment, efficiently count the distance parameters from different power terminal equipment to the distribution edge gateway, and realize the refined management of the distribution edge gateway communication data based on the acquired data transmission distance parameters; through the mutual cooperation between the distance level analysis unit from the distribution edge gateway to the power terminal equipment and the power terminal equipment power data capacity and distance level combination unit, accurately analyze the distance level parameters from different power terminal equipment to the distribution edge gateway, and realize the refined management of the distribution edge gateway communication data based on the acquired data transmission distance parameters; scientifically analyze the power data capacity level and distance level parameters of the distribution edge gateway receiving different power terminal equipment, realize the intelligent management of the distribution edge gateway communication based on the data capacity and data transmission distance parameters, and improve the communication quality of the distribution edge gateway.
[0103] Furthermore, please refer to Figure 1 - Figure 2 , and adopt a data recognition algorithm to perform power data capacity and distance level character matching between the power terminal equipment power data capacity and distance level combination data and the power data processing sequence and processing equipment object data corresponding to different power data capacities and distance levels, search for the power data processing sequence and processing equipment object data corresponding to the power terminal equipment power data capacity and distance level combination data, and construct the power terminal equipment power data processing sequence and processing equipment object data. The operation steps for performing the power terminal equipment power data processing operation according to the power terminal equipment power data processing sequence and processing equipment object data are as follows:
[0104] S71. Establish a set of power data processing sequences and processing device object data corresponding to different power data capacities and distance levels Among them represents the power characteristic data a of the power terminal equipment collected m The combined data c of the power data capacity and distance level of the power terminal equipment m When it is large capacity and long distance, for the power characteristic data a of the power terminal equipment m The power data processing sequence and the processing device object data are to use the cloud server for the first batch of data processing;
[0105] represents the power characteristic data a of the power terminal equipment collected m The combined data c of the power data capacity and distance level of the power terminal equipment m When it is large capacity and short distance, for the power characteristic data a of the power terminal equipment m The power data processing sequence and the processing device object data are to use the cloud server for the second batch of data processing;
[0106] represents the power characteristic data a of the power terminal equipment collected m The combined data c of the power data capacity and distance level of the power terminal equipment m When it is small capacity and long distance, for the power characteristic data a of the power terminal equipment m The power data processing sequence and the processing device object data are to use the distribution edge gateway for the third batch of data processing;
[0107] represents the power characteristic data a of the power terminal equipment collected m The combined data c of the power data capacity and distance level of the power terminal equipment m When it is small capacity and short distance, for the power characteristic data a of the power terminal equipment m The power data processing sequence and the processing device object data are to use the distribution edge gateway for the fourth batch of data processing;
[0108] Among them, → represents the corresponding relationship between the combined data c of the power data capacity and distance level of the power terminal equipment m and the power data processing sequence and the processing device object data;
[0109] S72. Use a data recognition algorithm to process the combined data c of the power data capacity and distance level in the set C of the combined data of the power data capacity and distance level of the power terminal equipment mThe power data processing sequence corresponding to different power data capacities and distance levels, the power data processing sequence in the processing device object data set D, and the processing device object data are matched with the power data capacity and distance level characters to search for the power terminal equipment power data capacity and distance level combination data c m The corresponding power data processing sequence and processing equipment object data are executed to search out the power data capacity and distance level combination data of the power terminal equipment c m The corresponding power data processing sequence and specific operation steps for processing equipment object data are as follows:
[0110] S721, initialization, randomly updating the data processing sequence and the processing device object to search for the location of the Tasmanian devil population in the search space of the power data capacity and distance level combination data set C of the power terminal equipment, and the data processing sequence and the processing device object to search for the location of the Tasmanian devil are updated as follows:
[0111] Where K i,j It represents the position of the Tasmanian devil individual i in the j-dimensional search space in the order of data processing and the processing device object search, that is, the position of the Tasmanian devil individual i in the search space of the power data capacity and distance level combination data set C of the power terminal equipment with a spatial dimension of σ. They represent the lower and upper boundaries of the search space of the power data capacity of the power terminal equipment and the distance level combination data set C, respectively, and r is a random number between [0,1];
[0112] S722, exploration phase, the data processing sequence and processing device object search Tasmanian devils tend to feed on carrion rather than hunting in the search space of power terminal equipment power data capacity and distance level combination data set C. There are other carnivores living around the Tasmanian devils. Other carnivores prey on large prey and cannot eat all of the large prey. Before the arrival of the Tasmanian devils, other carnivores cannot fully eat from the prey. In this case, the data processing sequence and processing device object search Tasmanian devils tend to feed on these carrion. The behavior of the data processing sequence and processing device object search Tasmanian devils when scanning the habitat area to identify carrion is similar to the algorithm search process in the problem solving space, that is, the data processing sequence and processing device object search Tasmanian devil individuals search for the power terminal equipment power data capacity, distance level combination data set C in the search space. m The matching power data processing sequence and processing device object data; the data processing sequence and processing device object search behavior simulation formula of the Tasmanian devil identifying the selected carrion is as follows:
[0113] Γ i= K Π , where Γ i represents the position of the target carrion selected by the data processing sequence and processing device object search badger individual i in the search space of the power data capacity and distance level combination data set C of the power terminal device. K Π represents the position of the target carrion Π selected by the data processing sequence and processing device object search badger individual in the search space of the power data capacity and distance level combination data set C of the power terminal device. Π = 1, …, N, where N represents the maximum number of carrions searched by the data processing sequence and processing device object search badger individual i; Based on the selected target carrion, the new position of the data processing sequence and processing device object search badger in the search space of the power data capacity and distance level combination data set C of the power terminal device is calculated. The formula for calculating the new position of the data processing sequence and processing device object search badger is as follows:
[0114] where K i represents the position of the data processing sequence and processing device object search badger individual i before update in the search space of the power data capacity and distance level combination data set C of the power terminal device; represents the position of the data processing sequence and processing device object search badger individual i after update in the search space of the power data capacity and distance level combination data set C of the power terminal device; Ψ i and Ψ i new respectively represent the carrion mass parameters of the position coordinates of the data processing sequence and processing device object search badger individual before and after position update in the search space of the power data capacity and distance level combination data set C of the power terminal device;
[0115] S723. Development stage. The development stage of the data processing sequence and processing device object search badger is to prey on prey. The behavior of the data processing sequence and processing device object search badger in the process of attacking prey has two stages. In the first stage, the data processing sequence and processing device object search badger scans for prey in the search space of the power data capacity and distance level combination data set C of the power terminal device, selects the prey and attacks the prey; In the second stage, after approaching the prey, the data processing sequence and processing device object search badger chases and preys on the prey; That is, the data processing sequence and processing device object search badger scans out the power data processing sequence and processing device object data that matches the power data capacity and distance level combination c m of the power terminal device in the search space of the power data capacity and distance level combination data set C of the power terminal device. The formula for simulating the behavior of the data processing sequence and processing device object search badger to identify the selected prey is as follows:
[0116] Θi = K' L , where Θ i represents the position of the target prey selected by the data processing sequence and the processing device object search badger individual i in the search space of the power data capacity and distance level combination data set C of the power terminal device. K' L represents the position of the target prey L selected by the data processing sequence and the processing device object search badger individual in the search space of the power data capacity and distance level combination data set C of the power terminal device. L = 1, …, Λ, where Λ represents the maximum value of the number of preys searched by the data processing sequence and the processing device object search badger individual i;
[0117] Based on the selected target prey, the new position of the data processing sequence and the processing device object search badger in the search space of the power data capacity and distance level combination data set C of the power terminal device is calculated. The calculation formula for the new position of the data processing sequence and the processing device object search badger is as follows:
[0118] where represents the position of the data processing sequence and the processing device object search badger individual i before update in the search space of the power data capacity and distance level combination data set C of the power terminal device; represents the position of the data processing sequence and the processing device object search badger individual i after update in the search space of the power data capacity and distance level combination data set C of the power terminal device; and respectively represent the prey quality parameters of the position coordinates of the data processing sequence and the processing device object search badger individual before and after position update in the search space of the power data capacity and distance level combination data set C of the power terminal device;
[0119] S724. When the algorithm meets the maximum number of iterations, output the power data processing sequence and the processing device object data that match the power data capacity and distance level combination data c m of the power terminal device, and construct a power terminal device power data processing sequence and processing device object data set E = (e1, …, e m , …, e σ ), where e m represents the power terminal device power data processing sequence and processing device object data corresponding to the power data capacity and distance level combination data c m of the power terminal device.
[0120] S73. According to the power terminal device power data processing sequence and processing device object data e in the power terminal device power data processing sequence and processing device object data set E mAnd the electrical feature data a of the power terminal devices in the set A of the power terminal device electrical feature data is sorted in order according to the number m of the power terminal devices. m Execute the power data processing operation of the power terminal devices.
[0121] Through the mutual cooperation of the power data processing sequence and the processing device object storage unit corresponding to different power data capacities and distance levels and the data processing sequence and the processing device object analysis unit corresponding to different power data capacities and distance levels, and by using an intelligent recognition algorithm, accurately analyze the power data processing sequence and the processing device object corresponding to the capacity level and distance level parameters of the power data of different power terminal devices, so as to realize the accurate processing of the power data of power terminal devices with different capacity levels and data transmission distance levels by the distribution edge gateway, and improve the communication data processing stability of the distribution edge gateway; the power terminal device power data processing operation execution unit autonomously executes the power data processing of the power terminal devices according to the processing sequence and the processing device object parameters, so as to improve the communication data processing efficiency of the distribution edge gateway.
[0122] A distribution edge gateway cloud service management system is used to implement a distribution edge gateway cloud service management method. The system includes a distribution edge gateway collected data capacity analysis module, a distribution edge gateway collected data distance analysis module, and a distribution edge gateway collected data processing adjustment module.
[0123] The distribution edge gateway collected data capacity analysis module includes a power terminal device power data collection unit, a power terminal device power data capacity measurement unit, a power terminal device power data standard capacity storage unit, and a power terminal device power data capacity level analysis unit.
[0124] The power terminal device power data collection unit collects the power terminal device power feature data through the distribution edge gateway; the power terminal device power data capacity measurement unit statistically analyzes the data capacity size of the power terminal device power feature data and measures the power terminal device power feature data capacity; the power terminal device power data standard capacity storage unit is used to store the power terminal device power data standard capacity; the power terminal device power data capacity level analysis unit uses a data search algorithm to compare the power terminal device power feature data capacity with the power terminal device power data standard capacity numerically, and analyzes according to the numerical comparison result to generate the power terminal device power data capacity level data.
[0125] The data acquisition distance analysis module of the distribution edge gateway includes a power terminal device spatial coordinate acquisition unit, a distribution edge gateway spatial coordinate acquisition unit, a distance measurement unit from the distribution edge gateway to the power terminal device, a standard distance storage unit from the distribution edge gateway to the power terminal device, a distance level analysis unit from the distribution edge gateway to the power terminal device, and a power data capacity and distance level combination unit for the power terminal device;
[0126] The power terminal device spatial coordinate acquisition unit acquires the spatial coordinate data of the power terminal device through a position sensor; the distribution edge gateway spatial coordinate acquisition unit acquires the spatial coordinate data of the distribution edge gateway through a position sensor; the distance measurement unit from the distribution edge gateway to the power terminal device measures the distances from the distribution edge gateway to different power terminal devices respectively based on the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway, and generates distance data from the distribution edge gateway to the power terminal device; the standard distance storage unit from the distribution edge gateway to the power terminal device is used to store the standard distance data from the distribution edge gateway to the power terminal device; the distance level analysis unit from the distribution edge gateway to the power terminal device compares the numerical values of the distance data from the distribution edge gateway to the power terminal device with the standard distance data from the distribution edge gateway to the power terminal device using a data search algorithm, and generates distance level data from the distribution edge gateway to the power terminal device based on the analysis of the numerical comparison results; the power data capacity and distance level combination unit for the power terminal device combines the power data capacity level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device to generate combined data of the power data capacity and distance level of the power terminal device;
[0127] The data processing and adjustment module of the distribution edge gateway includes a storage unit for the processing sequence and processing device objects corresponding to different power data capacities and distance levels, an analysis unit for the processing sequence and processing device objects corresponding to different power data capacities and distance levels, and an execution unit for the power data processing operation of the power terminal device;
[0128] Power data processing sequences and processing device object storage units corresponding to different power data capacities and distance levels, which are used to store power data processing sequences and processing device object data corresponding to different power data capacities and distance levels; data processing sequences and processing device object analysis units corresponding to different power data capacities and distance levels, which use data recognition algorithms to perform character matching of power data capacities and distance levels between the combined data of power data capacities and distance levels of power terminal devices and the power data processing sequences and processing device object data corresponding to different power data capacities and distance levels, and search for the power data processing sequences and processing device object data corresponding to the combined data of power data capacities and distance levels of power terminal devices; power terminal device power data processing operation execution units, which execute power terminal device power data processing operations according to the power data processing sequences and processing device object data of power terminal devices.
[0129] Although embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A cloud service management method for a distribution edge gateway, characterized in that, The method includes the following steps: S1. Collect the power characteristic data of the power terminal device; S2. Conduct a statistical analysis on the data volume of the power characteristic data of the power terminal device to measure the data volume of the power characteristic data of the power terminal device; use a data search algorithm to compare the data volume of the power characteristic data of the power terminal device with the standard data volume of the power data of the power terminal device, and generate the power data volume level data of the power terminal device based on the analysis of the comparison result; S3. When the generation of the power data volume level data of the power terminal device is completed, collect the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway respectively; S4. Measure the distances from the distribution edge gateway to different power terminal devices respectively based on the spatial coordinate data of the power terminal device and the spatial coordinate data of the distribution edge gateway, and generate the distance data from the distribution edge gateway to the power terminal device; S5. Use a data search algorithm to compare the distance data from the distribution edge gateway to the power terminal device with the standard distance data from the distribution edge gateway to the power terminal device, and generate the distance level data from the distribution edge gateway to the power terminal device based on the analysis of the comparison result; S6. Combine the power data volume level data of the power terminal device and the distance level data from the distribution edge gateway to the power terminal device to generate the combined data of the power data volume and distance level of the power terminal device; S7. Use a data recognition algorithm to perform character matching of the power data volume and distance level on the combined data of the power data volume and distance level of the power terminal device with the corresponding power data processing sequence and processing device object data of different power data volumes and distance levels, search for the corresponding power data processing sequence and processing device object data of the combined data of the power data volume and distance level of the power terminal device, and construct the power data processing sequence and processing device object data of the power terminal device, and execute the power data processing operation of the power terminal device based on the power data processing sequence and processing device object data of the power terminal device.
2. The management method of the cloud service of the distribution edge gateway according to claim 1, wherein: The S1 includes the following steps: S11. Real - time receive the power characteristic data collected by different power terminal devices through the distribution edge gateway and generate a set A of power characteristic data of power terminal devices A=(a1, …, a m , …, a σ ), where m = 1, 2, 3, …, σ, and a m represents the power characteristic data of the m - th power terminal device collected, and σ represents the maximum value of the number of power terminal devices. The power characteristic data of the power terminal device includes any one or more of the voltage characteristic data, current characteristic data, power characteristic data, frequency characteristic data, and power consumption characteristic data of the power terminal device.
3. A method for managing cloud services of a distribution edge gateway according to claim 2, characterized in that: The S2 includes the following steps: S21, using data monitoring software to monitor the power characteristic data a of the power terminal equipment in the power characteristic data set A of the power terminal equipment m According to the number of power terminal equipment m, the data capacity size is counted in order, and the power characteristic data capacity set A'=(a'1,…,a' m ,…,a' σ ), where a' m Indicates the power characteristic data of the power terminal equipment a m The corresponding power characteristic data capacity of the power terminal equipment, the data monitoring software includes any one of the network speed test, speed test accuracy and speed test master; S22. Establish the standard capacity a' of the power data of the power terminal device S , where the standard capacity of the power data of the power terminal device represents the maximum data capacity for processing the power characteristic data a of the power terminal device under the normal operation state of the distribution edge gateway m ; S22. Use the K-D tree nearest neighbor search algorithm to order the power characteristic data capacity a' of the power terminal equipment in the set A' of the power characteristic data capacity of the power terminal equipment m in ascending order of the power terminal equipment number m and compare it with the standard capacity a' of the power data of the power terminal equipment S for numerical comparison. Based on the analysis of the numerical comparison results, generate a set A" of power data capacity level data of the power terminal equipment = (a″1,..., a” m ,..., a” σ ), where a” m represents the power data capacity level data of the power terminal equipment corresponding to the power characteristic data capacity a' of the power terminal equipment m . When a' m > a' S , it means that the data volume of the power characteristic data a of the collected power terminal device m is greater than the maximum value of the data volume that the distribution edge gateway can process for the power characteristic data a of the power terminal device under normal operating conditions. Then, the power data volume level data a” m is output as a large capacity; m When a' m ≤ a' S , it means that the data capacity of the power feature data a m collected by the power terminal device is not greater than the maximum value of the data capacity for processing the power feature data a m of the power terminal device in the normal operation state of the distribution edge gateway. Then, the power data capacity level data a" m is output as a small capacity.
4. The management method of the cloud service of the distribution edge gateway according to claim 3, characterized in that: The S3 includes the following steps: S31. When the power data capacity level data set A” of the power terminal device is generated, collect the spatial coordinate data where the power terminal device is located through a position sensor and generate a power terminal device spatial coordinate data set B = (b1,…,b m ,…,b σ ), where b m represents the power terminal device spatial coordinate data corresponding to the mth power terminal device, and b m = (x m ,y m ,z m ), where x m represents the abscissa corresponding to the mth power terminal device spatial coordinate data, y m represents the ordinate corresponding to the mth power terminal device spatial coordinate data, and z m represents the vertical coordinate corresponding to the mth power terminal device spatial coordinate data; Collect the spatial coordinate data of the distribution edge gateway through a position sensor and generate the distribution edge gateway spatial coordinate data P, P = (x p , y p , z p ), where x p represents the abscissa corresponding to the distribution edge gateway spatial coordinate data, y p represents the ordinate corresponding to the distribution edge gateway spatial coordinate data, and z p represents the vertical coordinate corresponding to the distribution edge gateway spatial coordinate data.
5. A method for managing cloud services of a distribution edge gateway according to claim 4, characterized in that: The S4 includes the following steps: S41. Obtain the set B of the spatial coordinate data of the power terminal device and the spatial coordinate data P of the distribution edge gateway; S42. According to the power terminal device spatial coordinate data set B and the distribution edge gateway spatial coordinate data P, the distances from the distribution edge gateway to different power terminal devices are measured respectively using the distance formula, and a distance data set B'=(b'1,…,b' m ,…,b' σ ) is generated, where b' m represents the distance data from the distribution edge gateway to the power terminal device corresponding to the coordinate point of the distribution edge gateway spatial coordinate data P to the coordinate point corresponding to the power terminal device spatial coordinate data b m .
6. The cloud service management method for a distribution edge gateway according to claim 5, characterized in that: The S5 includes the following steps: S51. Establish the standard distance data b' from the distribution edge gateway to the power terminal device S , where the standard distance data from the distribution edge gateway to the power terminal device represents the maximum distance from the distribution edge gateway to the power terminal device for ensuring that the data transmission time difference of different power terminal devices received by the distribution edge gateway is within the same range; S52. Use a data search algorithm to match the distance data b' from the distribution edge gateway to the power terminal device in the distance data set B' from the distribution edge gateway to the power terminal device m with the standard distance data b' from the distribution edge gateway to the power terminal device in ascending order according to the number m of power terminal devices S for numerical comparison. Based on the analysis of the numerical comparison results, generate a distance level data set B''=(b″1,…,b” m ,…,b” σ ), where b” m represents the distance level data from the distribution edge gateway to the power terminal device corresponding to the distance data b' from the distribution edge gateway to the power terminal device m ; When b' m > b' S , it means that the distance data from the coordinate point corresponding to the spatial coordinate data P of the distribution edge gateway to the coordinate point corresponding to the spatial coordinate data b of the power terminal device m is greater than the standard distance data b' from the distribution edge gateway to the power terminal device S , then the distance level data b” from the distribution edge gateway to the power terminal device is output m as long distance; When b' m ≤b' S , it means that the distance data from the coordinate point corresponding to the spatial coordinate data P of the distribution edge gateway to the coordinate point corresponding to the spatial coordinate data b m of the power terminal device is not greater than the standard distance data b' from the distribution edge gateway to the power terminal device S , then the distance level data b” from the distribution edge gateway to the power terminal device is output m as a short distance.
7. A cloud service management method for a distribution edge gateway according to claim 6, characterized in that: The S6 includes the following steps: S61. Obtain the set A” of the power data volume level data of the power terminal device and the set B” of the distance level data from the distribution edge gateway to the power terminal device; S62. For the power data capacity level data a" of the power terminal devices in the power data capacity level data set A" of the power terminal devices m and the distance level data b" from the distribution edge gateway to the power terminal devices in the distance level data set B" from the distribution edge gateway to the power terminal devices m Perform data combination in an orderly manner according to the power terminal device number m, and generate a power terminal device power data capacity and distance level combination data set C = (c1,..., c m ,..., c σ ), where c m represents the power terminal device power data capacity and distance level combination data corresponding to the power terminal device power characteristic data a m ; the power terminal device power data capacity and distance level combination data consists of four types: large capacity long distance, large capacity short distance, small capacity long distance, and small capacity short distance.
8. A cloud service management method for a distribution edge gateway according to claim 7, characterized in that: The S7 includes the following steps: S71. Establish a set of power data processing sequences and processing device object data corresponding to different power data capacities and distance levels Among them represents the power characteristic data a of the collected power terminal equipment m The combined data c of the power data capacity and distance level of the power terminal equipment m When it is a large capacity and long distance, corresponding to the power characteristic data a of the power terminal equipment m The power data processing sequence and the processing device object data are to use the cloud server for the first batch of data processing; Indicate the power characteristic data a of the collected power terminal equipment m Power data capacity and distance level combination data c of the power terminal equipment m When it is large capacity and short distance, corresponding to the power characteristic data a of the power terminal equipment m The power data processing sequence and processing equipment object data are to use the cloud server for the second batch of data processing; representing the power characteristic data a of the collected power terminal equipment m and the power data capacity and distance level combination data c of the power terminal equipment m When it is a small capacity and long distance, corresponding to the power characteristic data a of the power terminal equipment m the power data processing sequence and the processing equipment object data are to use the third batch of distribution edge gateways for data processing; Indicate the power characteristic data a of the collected power terminal equipment m The power data capacity and distance level combination data c of the power terminal equipment m When it is a small capacity and short distance, corresponding to the power characteristic data a of the power terminal equipment m For the power data processing sequence and the processing device object data corresponding to the power characteristic data a of the power terminal equipment, the data is processed using the fourth batch of distribution edge gateways; wherein → represents the combined data c of the power data capacity and distance level of the power terminal device m and the corresponding relationship with the power data processing sequence and the processing device object data; S72. Use a data recognition algorithm to match the power data capacity and distance level combined data c in the power terminal device power data capacity and distance level combined data set C of the power terminal device m with the power data processing sequence and processing device object data in the power data processing sequence and processing device object data set D corresponding to different power data capacities and distance levels, and search for the power data capacity and distance level combined data c of the power terminal device m corresponding power data processing sequence and processing device object data, and execute the specific operation steps of the power data capacity and distance level combined data c of the power terminal device found by the search m The specific operation steps of the corresponding power data processing sequence and processing device object data are as follows: S721. Initialize, randomly update the positions of the data processing sequence and the processing device object search badger population in the search space of the combined data set C of the power data volume and distance level of the power terminal device. The position update formula for the data processing sequence and the processing device object search badger is as follows: where K i,j represents the data processing order and the position of the processing device object to search for the individual badger i in the j - dimensional search space, that is, the position of the processing device object to search for the individual badger i in the search space of the power data capacity and distance level combination data set C of the power terminal device with the spatial dimension of σ; l represents the lower and upper boundaries of the search space of the power data capacity and distance level combination data set C of the power terminal device respectively, and r is a random number between [0, 1]; S722. Exploration phase. The data processing sequence and the processing device object search Tasmanian devil tend to feed on carrion in the search space of the power data capacity and distance level combination data set C of the power terminal device. The behavior of the data processing sequence and the processing device object search Tasmanian devil when scanning the habitat area to identify carrion is similar to the algorithm search process in the problem-solving space, that is, the data processing sequence and the processing device object search Tasmanian devil individual search in the search space of the power data capacity and distance level combination data set C of the power terminal device to find the power data processing sequence and processing device object data that match the power data capacity and distance level combination data c of the power terminal device m Based on the selected target carrion, the new position of the data processing sequence and the processing device object search Tasmanian devil in the search space of the power data capacity and distance level combination data set C of the power terminal device is calculated; S723. During the development stage, the data processing sequence and the processing device object search for Tasmanian devils. The development stage is to prey on prey. The behavior of the data processing sequence and the processing device object search for Tasmanian devils during the process of attacking prey has two stages. In the first stage, the data processing sequence and the processing device object search for Tasmanian devils scan for prey in the search space of the power data capacity and distance level combination data set C of the power terminal device, select the prey and attack the prey. In the second stage, after approaching the prey, the data processing sequence and the processing device object search for Tasmanian devils chase and prey on the prey. That is, the data processing sequence and the processing device object search for Tasmanian devils scan in the search space of the power data capacity and distance level combination data set C of the power terminal device to find the power data processing sequence and processing device object data that match the power data capacity and distance level combination data c of the power terminal device. m Based on the selected target prey, the new position of the data processing sequence and the processing device object search for Tasmanian devils in the search space of the power data capacity and distance level combination data set C of the power terminal device is calculated. S724. When the algorithm meets the maximum number of iterations, output the power data processing sequence and processing device object data that match the combined data c of the power data capacity and distance level of the power terminal device m and construct the power data processing sequence and processing device object data set E = (e1,..., e m ,..., e σ ), where e m represents the power data processing sequence and processing device object data corresponding to the combined data c of the power data capacity and distance level of the power terminal device m ; S73. According to the power data processing sequence of the power terminal device, the power data processing sequence of the power terminal devices in the processing device object data set E, and the power data e of the processing device object m And number the power characteristic data a of the power terminal devices in the power terminal device power characteristic data set A in an orderly manner according to the power terminal device quantity number m m Execute the power data processing operation of the power terminal device.
9. A distribution edge gateway cloud service management system is used to implement the distribution edge gateway cloud service management method described in any one of claims 1-8, characterized in that: The system includes a data volume analysis module for collecting data by the distribution edge gateway, a distance analysis module for collecting data by the distribution edge gateway, and a data processing adjustment module for collecting data by the distribution edge gateway; The data acquisition capacity analysis module of the distribution edge gateway includes a power data acquisition unit for power terminal equipment, a power data capacity measurement unit for power terminal equipment, a standard power data capacity storage unit for power terminal equipment, and a power data capacity level analysis unit for power terminal equipment; The power data acquisition unit for power terminal equipment collects power characteristic data of power terminal equipment through the distribution edge gateway; The power data capacity measurement unit for power terminal equipment statistically calculates the data capacity size of the power characteristic data of the power terminal equipment and measures the power characteristic data capacity of the power terminal equipment; the standard power data capacity storage unit for power terminal equipment is used to store the standard power data capacity of the power terminal equipment; The power data capacity level analysis unit for power terminal equipment uses a data search algorithm to compare the power characteristic data capacity of the power terminal equipment with the standard power data capacity of the power terminal equipment numerically, and analyzes based on the numerical comparison result to generate power data capacity level data for the power terminal equipment; The data acquisition distance analysis module of the distribution edge gateway includes a spatial coordinate acquisition unit for power terminal equipment, a spatial coordinate acquisition unit for the distribution edge gateway, a distance measurement unit from the distribution edge gateway to the power terminal equipment, a standard distance storage unit from the distribution edge gateway to the power terminal equipment, a distance level analysis unit from the distribution edge gateway to the power terminal equipment, and a combination unit for the power data capacity and distance level of the power terminal equipment; The spatial coordinate acquisition unit for power terminal equipment collects spatial coordinate data of power terminal equipment through a position sensor; the spatial coordinate acquisition unit for the distribution edge gateway collects spatial coordinate data of the distribution edge gateway through a position sensor; the distance measurement unit from the distribution edge gateway to the power terminal equipment measures the distances from the distribution edge gateway to different power terminal equipment respectively based on the spatial coordinate data of the power terminal equipment and the spatial coordinate data of the distribution edge gateway, and generates distance data from the distribution edge gateway to the power terminal equipment; the standard distance storage unit from the distribution edge gateway to the power terminal equipment is used to store the standard distance data from the distribution edge gateway to the power terminal equipment; The distance level analysis unit from the distribution edge gateway to the power terminal equipment uses a data search algorithm to compare the distance data from the distribution edge gateway to the power terminal equipment with the standard distance data from the distribution edge gateway to the power terminal equipment numerically, and analyzes based on the numerical comparison result to generate distance level data from the distribution edge gateway to the power terminal equipment; the combination unit for the power data capacity and distance level of the power terminal equipment combines the power data capacity level data of the power terminal equipment and the distance level data from the distribution edge gateway to the power terminal equipment to generate combined data of the power data capacity and distance level of the power terminal equipment; The data acquisition processing and adjustment module of the distribution edge gateway includes a storage unit for the power data processing sequence and processing device objects corresponding to different power data capacities and distance levels, an analysis unit for the data processing sequence and processing device objects corresponding to different power data capacities and distance levels, and a power data processing operation execution unit for power terminal devices; The storage unit for the power data processing sequence and processing device objects corresponding to different power data capacities and distance levels is used to store the power data processing sequence and processing device object data corresponding to different power data capacities and distance levels; the analysis unit for the data processing sequence and processing device objects corresponding to different power data capacities and distance levels uses a data recognition algorithm to perform character matching of the power data capacity and distance level combination data of the power terminal device with the power data processing sequence and processing device object data corresponding to different power data capacities and distance levels, and searches for the power data processing sequence and processing device object data corresponding to the power data capacity and distance level combination data of the power terminal device; the power data processing operation execution unit for power terminal devices executes the power data processing operation for power terminal devices according to the power data processing sequence and processing device object data of the power terminal device.
Citation Information
Patent Citations
Intelligent gateway system management method based on cloud management
CN114430357A
Communication system and method for monitoring state of power distribution network
CN117277565A
Analysis method and analysis system based on electric power big data
CN117474202A