Construction Method of Integrated Management Platform for Distribution Network Dispatching Operation
By building a platform task allocator and adaptation model, the problem of performance differences in distribution network scheduling operation model on different hardware carriers is solved, and a stable and efficient management platform is realized to adapt to different hardware configurations.
Patent Information
- Application Number
- CN202211735226.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The existing distribution network scheduling operation model has large performance differences when running on different hardware carriers, making it difficult to adapt to old computers, making it difficult to run stably after the platform is built.
By building a platform task allocator, it is divided into expected storage and expected processing according to the total data, and by setting up a platform task allocator to adapt to the preset distribution network scheduling operation model, a management platform that is adapted to different hardware carriers is generated.
A stable and efficient integrated management platform for distribution network scheduling and operation on different hardware carriers is realized, avoiding data blockage and too few processing tasks.
Smart Images

Figure CN116126529B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distribution network operation and maintenance, and in particular to a method for constructing an integrated management platform for distribution network scheduling and operation. Background Art
[0002] The distribution system is a crucial link in the power system's electricity generation, transformation, transmission, and supply to consumers. Distribution network automation has begun to be implemented to varying degrees in some regions. Distribution network management is a crucial component of power company operations and management, directly impacting their power supply capacity and quality, and a key factor in improving their management. Distribution network dispatching, as the core of distribution network management, determines the quality of distribution network management.
[0003] At present, there are a large number of models or platforms related to distribution network scheduling and operation, but they usually do not have hardware universality. That is, if the same model runs on different hardware carriers, the performance gap is large. There are a large number of old computers in the current power grid, and the cost of directly eliminating them is huge. If the model is not adjusted, the platform will be difficult to operate stably after it is built. Summary of the Invention
[0004] In response to the problem that the models in the existing technology are difficult to adapt to different hardware carriers, the present invention provides a method for constructing an integrated management platform for distribution network scheduling and operation, constructs a platform task allocator, and uses limited computing resources to adapt the distribution network scheduling and operation model. It can achieve the maximum degree of hardware carrier adaptation on the basis of the original distribution network scheduling and operation model to obtain a stable and efficient virtual platform.
[0005] The following are the technical solutions of the present invention.
[0006] The method for constructing an integrated management platform for distribution network scheduling and operation includes the following steps:
[0007] S1: reads the maximum calculation rate of the processing unit;
[0008] S2: Determine the acquisition scale of the data to be processed per unit time to obtain the total amount of data, and divide the total amount of data into the expected storage amount and the expected processing amount;
[0009] S3: Calculate the expected processing time based on the expected processing volume and the maximum computing rate of the processing unit, and determine whether the expected processing time is higher than a threshold. If higher than the threshold, reduce the expected processing volume and increase the expected storage capacity until the processing time is lower than the threshold.
[0010] S4: Import the preset distribution network dispatching operation model, connect the interface of the distribution network dispatching operation model with the acquisition interface of the data to be processed, construct a platform task allocator according to the final expected storage volume and expected processing volume, adapt the platform task allocator and the distribution network dispatching operation model, and generate an integrated management platform for distribution network dispatching operation.
[0011] In the present invention, by judging the acquisition scale per unit time, the total amount of data is divided into an expected storage volume and an expected processing volume, and the storage task and the computing task are divided to facilitate adaptation to different computer configurations. And by setting a platform task allocator to adapt to a preset distribution network dispatching operation model, the self-adaptation to the hardware carrier during the platform construction process is completed.
[0012] Preferably, in the S2, judging the acquisition scale of the data to be processed per unit time to obtain the total amount of data, and dividing the total amount of data into an expected storage volume and an expected processing volume, including:
[0013] Acquire data from the acquisition interface of the data to be processed, and judge the acquisition scale per unit time to obtain the total amount of data;
[0014] Set a first segmentation ratio to divide the total amount of data into an expected storage volume and an expected processing volume, where the initial value of the first segmentation ratio of the expected storage volume and the expected processing volume is 3:7.
[0015] In the present invention, the expected storage volume is the amount of data that is preferentially stored after reception, and the expected processing volume is the amount of data that is immediately processed after reception. And during the gap of data acquisition, the unprocessed data volume will be processed.
[0016] Preferably, in the S3, calculating the expected processing time according to the expected processing volume and the maximum computing rate of the processing unit, including:
[0017] Divide the expected processing volume by the maximum computing rate of the processing unit to obtain the shortest processing time;
[0018] Multiply the shortest processing time by the computing power fluctuation coefficient to obtain the expected processing time.
[0019] The expected processing time of the present invention is used to estimate whether the computing power of the computer matches the demand.
[0020] Preferably, the calculation process of the computing power fluctuation coefficient includes:
[0021] Retrieve the maximum read / write rate of the storage unit and judge the limitation coefficient of the maximum read / write rate and the maximum computing rate:
[0022] Suppose that under the maximum computing rate, the amount of data processed per unit time is x, and under the maximum read / write rate, the amount of data read / written per unit time is z;
[0023] When x > z, the limiting coefficient y is z / x;
[0024] When x < z, the limiting coefficient y is 1;
[0025] When x = z, the limiting coefficient y is 0.8;
[0026] And, when in the first segmentation ratio, the expected storage amount is greater than or equal to the expected processing amount, the computing power fluctuation coefficient k = y, otherwise the computing power fluctuation coefficient k = 1.
[0027] Due to a certain restrictive relationship between the reading and writing rate and the computing rate, in order to comprehensively evaluate the comprehensive processing ability of the hardware, a limiting coefficient and a computing power fluctuation coefficient are introduced here, and they are set using the short board principle to more accurately represent the actual ability of the hardware.
[0028] Preferably, in S3, it is judged whether the expected processing time is higher than a threshold value. If it is higher than the threshold value, the expected processing amount is reduced and the expected storage amount is increased until the processing time is lower than the threshold value, including:
[0029] A threshold value is preset, and it is judged whether the expected processing time is higher than the threshold value. If it is higher, the ratio of the expected processing time to the threshold value is further calculated, and the expected processing amount is lowered with this ratio as the step size, and the expected storage amount is increased synchronously to regenerate the first segmentation ratio;
[0030] The process of judgment and adjustment is repeated until the processing time is lower than the threshold value.
[0031] Preferably, in S4, a preset power grid dispatching operation model is imported, the interface of the power grid dispatching operation model is connected to the acquisition interface of the data to be processed, a platform task allocator is constructed according to the final expected storage amount and expected processing amount, the platform task allocator and the power grid dispatching operation model are adapted, and a power grid dispatching operation integrated management platform is generated, including: constructing a power grid dispatching operation model in advance according to the data categories and processing algorithms involved in the power grid dispatching operation;
[0032] Connect the interface of the power grid dispatching operation model to the acquisition interface of the data to be processed;
[0033] Construct a platform task allocator according to the final expected storage amount and expected processing amount, adapt the platform task allocator and the power grid dispatching operation model, so that the power grid dispatching operation model follows the instructions of the platform task allocator during operation. After the adaptation is completed, a power grid dispatching operation integrated management platform is generated.
[0034] The present invention also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps of the above method for constructing a power grid dispatching operation integrated management platform are implemented.
[0035] The present invention also provides a storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the steps of the above method for constructing an integrated management platform for distribution network scheduling operation are implemented.
[0036] The substantial effects of the present invention include:
[0037] By judging the total amount of data when acquiring data, and dividing it into an expected storage amount and an expected processing amount according to different executed steps, and adjusting the expected storage amount and the expected processing amount according to the actual processing capacity of the hardware carrier, and generating a platform task allocator. With the help of the platform task allocator, the preset distribution network scheduling operation model can process the acquired data differently according to the allocation results, and there will be no data congestion or too few processing tasks. Therefore, the present invention is suitable for building an integrated management platform for distribution network scheduling operation in different hardware carriers and can adapt to the operation conditions of the hardware carrier, making the platform operate stably and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flowchart of an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in combination with the embodiments. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0040] It should be understood that in various embodiments of the present invention, the magnitudes of the sequence numbers of the various processes do not mean the order of execution. The order of execution of the various processes should be determined by their functions and internal logics, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0041] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0042] It should be understood that in the present invention, "a plurality of" means two or more. "And / or" is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "Including A, B, and C" and "including A, B, C" mean that all of A, B, and C are included. "Including A, B, or C" means including one of A, B, and C. "Including A, B, and / or C" means including any one or any two or all three of A, B, and C.
[0043] The technical solution of the present invention will be described in detail below with specific embodiments. The embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0044] Embodiment:
[0045] A method for constructing an integrated management platform for distribution network dispatching operation, including the following steps as Figure 1 shown:
[0046] S1: Read the maximum computing rate of the processing unit;
[0047] S2: Determine the acquisition scale of the data to be processed within a unit time to obtain the total amount of data, and divide the total amount of data into an expected storage amount and an expected processing amount;
[0048] S3: Calculate the expected processing time according to the expected processing amount and the maximum computing rate of the processing unit, and determine whether the expected processing time is higher than the threshold. If it is higher than the threshold, reduce the expected processing amount and increase the expected storage amount until the processing time is lower than the threshold;
[0049] S4: Import a preset distribution network dispatching operation model, connect the interface of the distribution network dispatching operation model with the acquisition interface of the data to be processed, construct a platform task allocator according to the final expected storage amount and expected processing amount, adapt the platform task allocator and the distribution network dispatching operation model, and generate an integrated management platform for distribution network dispatching operation.
[0050] The core technical idea of this embodiment is to judge the acquisition scale within a unit time, divide the total amount of data into an expected storage amount and an expected processing amount, divide the storage task and the computing task, so as to adapt to different computer configurations, and complete the self-adaptation of the hardware carrier during the platform construction process by setting a platform task allocator and adapting it to a preset distribution network dispatching operation model.
[0051] The above steps will be described in detail below.
[0052] In this embodiment, in S2, to determine the acquisition scale of the data to be processed within a unit time to obtain the total amount of data, and divide the total amount of data into an expected storage amount and an expected processing amount, it includes:
[0053] Acquire data from the acquisition interface of the data to be processed, and within a unit time, determine the acquisition scale to obtain the total amount of data;
[0054] Set a first division ratio to divide the total amount of data into an expected storage amount and an expected processing amount, where the initial value of the first division ratio of the expected storage amount and the expected processing amount is 3:7.
[0055] The expected storage amount in this embodiment is the amount of data that is preferentially stored after reception, and the expected processing amount is the amount of data that is immediately processed after reception. During the gap of data acquisition, the amount of unprocessed data will be processed.
[0056] In this embodiment, in S3, to calculate the expected processing time according to the expected processing amount and the maximum calculation rate of the processing unit, it includes:
[0057] Divide the expected processing amount by the maximum calculation rate of the processing unit to obtain the shortest processing time;
[0058] Multiply the shortest processing time by the computing power fluctuation coefficient to obtain the expected processing time.
[0059] The expected processing time in this embodiment is used to estimate whether the computing power of the computer matches the requirements.
[0060] In this embodiment, the calculation process of the computing power fluctuation coefficient includes:
[0061] Retrieve the maximum read / write rate of the storage unit and determine the limitation coefficient of the maximum read / write rate and the maximum calculation rate:
[0062] Suppose that under the maximum calculation rate, the amount of data processed within a unit time is x, and under the maximum read / write rate, the amount of data read / written within a unit time is z;
[0063] When x > z, the limitation coefficient y is z / x;
[0064] When x < z, the limitation coefficient y is 1;
[0065] When x = z, the limitation coefficient y is 0.8;
[0066] Moreover, when in the first division ratio, the expected storage amount is greater than or equal to the expected processing amount, the computing power fluctuation coefficient k = y, otherwise the computing power fluctuation coefficient k = 1.
[0067] Due to the certain restrictive relationship between the reading and writing rate and the computing rate, in order to comprehensively evaluate the comprehensive processing ability of the hardware, a limitation coefficient and a computing power fluctuation coefficient are introduced here, which are set using the short board principle to more accurately represent the actual ability of the hardware.
[0068] In this embodiment, in step S3, it is judged whether the expected processing time is higher than the threshold. If it is higher than the threshold, the expected processing amount is reduced and the expected storage amount is increased until the processing time is lower than the threshold, including:
[0069] Preset a threshold, judge whether the expected processing time is higher than the threshold. If it is higher, further calculate the ratio of the expected processing time to the threshold, lower the expected processing amount by this ratio as the step size, and synchronously increase the expected storage amount to regenerate the first segmentation ratio;
[0070] Repeat the process of judgment and adjustment until the processing time is lower than the threshold.
[0071] In this embodiment, in step S4, import the preset distribution network scheduling operation model, connect the interface of the distribution network scheduling operation model with the acquisition interface of the data to be processed, construct a platform task allocator according to the final expected storage amount and expected processing amount, adapt the platform task allocator and the distribution network scheduling operation model, and generate an integrated management platform for distribution network scheduling operation, including:
[0072] Pre-construct a distribution network scheduling operation model according to the data categories and processing algorithms involved in distribution network scheduling operation;
[0073] Connect the interface of the distribution network scheduling operation model with the acquisition interface of the data to be processed;
[0074] Construct a platform task allocator according to the final expected storage amount and expected processing amount, adapt the platform task allocator and the distribution network scheduling operation model, so that the distribution network scheduling operation model follows the instructions of the platform task allocator during operation. After the adaptation is completed, generate an integrated management platform for distribution network scheduling operation.
[0075] This embodiment also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps of the above method for constructing an integrated management platform for distribution network scheduling operation are implemented.
[0076] This embodiment also provides a storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the steps of the above method for constructing an integrated management platform for distribution network scheduling operation are implemented.
[0077] The substantial effects of this embodiment include:
[0078] By judging the total amount of data when obtaining data, and dividing it into the expected storage amount and the expected processing amount according to different executed steps, and according to the actual processing capacity of the hardware carrier, adjusting the expected storage amount and the expected processing amount, and generating a platform task allocator. With the help of the platform task allocator, the preset network configuration scheduling operation model can process the obtained data differently according to the allocation result, and there will be no data blockage or too few processing tasks. Therefore, this embodiment is applicable to building an integrated management platform for network configuration scheduling operation in different hardware carriers and can adapt to the operation conditions of the hardware carrier, making the platform run stably and efficiently.
[0079] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of a specific device is divided into different functional modules to complete all or part of the functions described above.
[0080] In the embodiments provided in the present application, it should be understood that the disclosed structure and method can be implemented in other ways. For example, the embodiments of the structure described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another structure, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of structures or units can be in electrical, mechanical or other forms.
[0081] The unit described as a separated component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it can be located in one place, or it can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0082] In addition, each functional unit in the embodiments of the present application can be integrated in a processing unit, or each unit exists physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0083] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0084] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for constructing an integrated management platform for distribution network dispatching operation, characterized in that, It includes the following steps: S1: Read the maximum computing rate of the processing unit; S2: Determine the acquisition scale of the data to be processed within a unit time to obtain the total amount of data, and divide the total amount of data into an expected storage amount and an expected processing amount; S3: Calculate the expected processing time based on the expected processing amount and the maximum computing rate of the processing unit, and determine whether the expected processing time is higher than the threshold. If it is higher than the threshold, reduce the expected processing amount and increase the expected storage amount until the processing time is lower than the threshold; S4: Import the preset distribution network scheduling operation model, connect the interface of the distribution network scheduling operation model with the acquisition interface of the data to be processed, construct a platform task allocator according to the final expected storage amount and expected processing amount, adapt the platform task allocator and the distribution network scheduling operation model, and generate an integrated management platform for distribution network scheduling operation.
2. The method for constructing an integrated management platform for distribution network dispatching operation according to claim 1, wherein In S2, determining the acquisition scale of the data to be processed within a unit time to obtain the total amount of data, and dividing the total amount of data into an expected storage amount and an expected processing amount includes: Obtain data from the acquisition interface of the data to be processed, and within a unit time, determine the acquisition scale to obtain the total amount of data; Set the first segmentation ratio, and divide the total amount of data into an expected storage amount and an expected processing amount, where the initial value of the first segmentation ratio of the expected storage amount and the expected processing amount is 3:
7.
3. The method for constructing an integrated management platform for distribution network dispatching operation according to claim 2, characterized in that, In S3, calculating the expected processing time based on the expected processing amount and the maximum computing rate of the processing unit includes: Divide the expected processing amount by the maximum computing rate of the processing unit to obtain the shortest processing time; Multiply the shortest processing time by the computing power fluctuation coefficient to obtain the expected processing time.
4. The method for constructing an integrated management platform for distribution network dispatching operation according to claim 3, wherein, The calculation process of the computing power fluctuation coefficient includes: Retrieve the maximum read / write rate of the storage unit, and determine the limitation coefficient of the maximum read / write rate and the maximum computing rate: Suppose that the amount of data processed within a unit time is x under the maximum computing rate, and the amount of data read / written within a unit time is z under the maximum read / write rate; When x > z, the limitation coefficient y is z / x; When x < z, the limitation coefficient y is 1; When x = z, the limitation coefficient y is 0.8; And when in the first segmentation ratio, the expected storage amount is greater than or equal to the expected processing amount, the computing power fluctuation coefficient k = y, otherwise the computing power fluctuation coefficient k = 1.
5. The method for constructing an integrated management platform for distribution network dispatching operation according to claim 4, characterized in that, In S3, determining whether the expected processing time is higher than the threshold. If it is higher than the threshold, reduce the expected processing amount and increase the expected storage amount until the processing time is lower than the threshold includes: Preset a threshold, determine whether the expected processing time is higher than the threshold. If it is higher, further calculate the ratio of the expected processing time to the threshold, lower the expected processing amount by this ratio as the step size, and synchronously increase the expected storage amount to regenerate the first segmentation ratio; Repeat the process of judgment and adjustment until the processing time is lower than the threshold.
6. The method for constructing an integrated management platform for distribution network dispatching operation according to claim 1 or 5, characterized in that In S4, importing the preset distribution network scheduling operation model, connecting the interface of the distribution network scheduling operation model with the acquisition interface of the data to be processed, constructing a platform task allocator according to the final expected storage amount and expected processing amount, adapting the platform task allocator and the distribution network scheduling operation model, and generating an integrated management platform for distribution network scheduling operation includes: Pre-construct a distribution network scheduling operation model according to the data categories and processing algorithms involved in the distribution network scheduling operation; Connect the interface of the distribution network dispatching operation model with the interface for obtaining the data to be processed; Construct a platform task allocator according to the final expected storage volume and expected processing volume, and adapt the platform task allocator to the distribution network dispatching operation model, so that the distribution network dispatching operation model follows the instructions of the platform task allocator during operation. After the adaptation is completed, an integrated management platform for distribution network dispatching operation is generated.
7. An electronic device, characterized in that, It includes a memory and a processor. A computer program is stored in the memory. When the processor calls the computer program in the memory, the steps of the method for constructing an integrated management platform for distribution network dispatching operation according to any one of claims 1 to 6 are implemented.
8. A storage medium, characterized in that, Computer-executable instructions are stored in the storage medium. When the computer-executable instructions are loaded and executed by a processor, the steps of the method for constructing an integrated management platform for distribution network dispatching operation according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Task processing method, task processing device, task processing system, task distribution method and task distribution device
CN112650590A
Self-adaptive batch dataset partitioning for distributed deep learning using hybrid set of accelerators
US20200042362A1