Communication resource reservation method and device for power grid, storage medium and electronic equipment
Patent Information
- Application Number
- CN202310101531.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-11-25
- Filing Date
- 2023-01-28
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2043-01-28
AI Technical Summary
[0003]其中,尤其是当大量新能源电源的接入后,导致了电力网供电侧电量波动大,供需不平衡,进而导致电力调度相关的通信业务需要频繁发送,由此,会使其传送的可靠性降低
[0040]从上面所述可以看出,本申请提供的电力网的通信资源预留方法、装置、存储介质和电子设备,基于缺口电量的预测,可以划分出满足缺口电量的候选供电节点集群,并通过调整集群半径来调整候选供电节点集群,以得到满足该缺口电量的目标供电节点集群,并以此来预测即将到来的通信业务,综合考虑了在向用电节点供电时供电节点的变化,并以此来对供电过程中所需的通信业务进行预测,使得根据通信业务所计算出的通信路由更加准确,并通过比例关系来为通信路由中各个通信链路预留通信资源,从而实现预留的通信资源能够满足供电节点所需的通信业务。
Smart Images

Figure CN116245234B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this application relate to the technical field, and more particularly to a method, apparatus, storage medium, and electronic device for reserving communication resources in a power grid. Background Technology
[0002] The number of various communication services in the current power grid is constantly increasing, and the overhead of the communication network carrying the power grid communication services is constantly increasing, while the reliability is not high.
[0003] In particular, the access of a large number of new energy power sources has led to large fluctuations in the power supply side of the power grid and an imbalance between supply and demand. This has resulted in the need for frequent transmission of communication services related to power dispatch, which in turn reduces the reliability of the transmission.
[0004] Furthermore, when distributed power supply nodes are connected to the existing communication network, unified scheduling and management will be implemented. When some power supply nodes can meet the power demand of a designated area, the remaining power can be transmitted to other areas. However, due to the instability of new energy power generation and its fluctuation over time, the number of various communication services of the communication network nodes connected to these power supply nodes will increase significantly. In the communication methods of the relevant power grid, it is often difficult to guarantee the reliable transmission of communication services when various communication services fluctuate greatly.
[0005] Therefore, a solution is needed that can ensure reliable transmission of communication services by reserving reasonable communication resources when communication services fluctuate greatly. Summary of the Invention
[0006] In view of this, the purpose of this application is to provide a method, apparatus, storage medium and electronic equipment for reserving communication resources in a power grid.
[0007] For the purposes described above, this application provides a method for reserving communication resources in a power grid, including:
[0008] Predict the power shortage when multiple pre-set power supply nodes supply power to a single pre-set power consumption node in the next unit of time;
[0009] Centered on the power-consuming node, a cluster range is defined according to an initially preset cluster radius. All power supply nodes within the cluster range are formed into a candidate power supply node cluster. It is determined whether the candidate power supply node cluster meets the power shortage requirement of the power-consuming node. In response to the determination that the candidate power supply node cluster does not meet the power shortage requirement of the power-consuming node, the cluster radius is adjusted to determine a target power supply node cluster that meets the power shortage requirement. A pre-trained service prediction neural network is then used to predict the communication services that the target power supply node cluster will receive in the next unit of time.
[0010] Multiple communication nodes are identified that transmit the communication service to the target power supply node cluster. A communication route for transmitting the communication service is calculated among the multiple communication nodes, and communication resources are reserved for each communication link in the communication route according to a preset ratio.
[0011] Furthermore, predict the shortfall in power supply from multiple pre-set power supply nodes to a single pre-set power consumption node within the next unit of time; including:
[0012] Obtain historical power supply data between the multiple power supply nodes and each of the multiple preset power consumption nodes;
[0013] The historical power supply data is used to train a pre-set power supply gap prediction model;
[0014] When the accuracy of the power supply gap prediction model reaches the preset accuracy threshold, the training is considered complete.
[0015] The trained power shortage prediction model is used to predict the power consumption nodes that will experience power shortages in the next unit of time, and to predict the power shortage corresponding to each power consumption node when the multiple power supply nodes supply power to each power consumption node.
[0016] Further, determining whether the candidate power supply node cluster meets the power shortage requirement of the power consumption node includes:
[0017] Determine the effective power supply provided by the candidate power supply node cluster to the power consumption node, and calculate the difference between the effective power supply and the power shortage.
[0018] In response to determining that the difference is positive, it is determined that the candidate power supply node cluster meets the power shortage of the power consumption node;
[0019] In response to determining that the difference is negative, it is determined that the candidate power supply node cluster does not meet the power shortage requirement of the power consumption node.
[0020] Further, determining the effective power supply provided by the candidate power supply node cluster to the power consumption node includes:
[0021] Determine the total power supply provided by all power supply nodes in the candidate power supply node cluster in the next unit of time;
[0022] The effective power supply of the candidate power supply node cluster is obtained by removing the total local load of all power supply nodes in the candidate power supply node cluster from the total power supply.
[0023] Furthermore, by adjusting the cluster radius, a target power supply node cluster that meets the power shortage requirement is determined, including:
[0024] Adjust the cluster radius;
[0025] The cluster range is adjusted according to the adjusted cluster radius, and the candidate power supply node cluster is adjusted according to the adjusted cluster range until the adjusted candidate power supply node cluster meets the power shortage requirement.
[0026] All power supply nodes within the adjusted cluster range will be combined to form the target power supply node cluster.
[0027] Furthermore, communication resources are reserved for each communication link in the communication route according to a preset proportional relationship, including:
[0028] Based on the communication services that multiple communication nodes will transmit, determine the resource requirements of each link.
[0029] Determine the distance between each communication link in the communication route and the power consumption node, and determine the current idle level of each link;
[0030] For each communication link in the communication route, a reservation ratio is set for the communication link according to the distance and idle time of the communication link, which conforms to the ratio relationship.
[0031] According to the respective reservation ratio of each communication link, communication resources are reserved for that communication link to meet its resource requirements.
[0032] Furthermore, based on the distance and idle time of the communication link, a reservation ratio conforming to the aforementioned proportional relationship is set for the communication link, including:
[0033] Each communication link is assigned a reservation ratio that is inversely proportional to the distance between the power-consuming nodes and directly proportional to the degree of idleness.
[0034] Based on the same inventive concept, this application also provides a communication resource reservation device for a power grid, including: a power shortage prediction module, a power supply cluster determination module, and a resource reservation module;
[0035] The power shortage prediction module is configured to predict the power shortage when multiple preset power supply nodes supply power to a single preset power consumption node in the next unit time.
[0036] The power supply cluster determination module is configured to, with the power consumption node as the center, delineate the cluster range according to an initially preset cluster radius, form a candidate power supply node cluster with all power supply nodes within the cluster range, determine whether the candidate power supply node cluster meets the power shortage of the power consumption node, and in response to determining that the candidate power supply node cluster does not meet the power shortage of the power consumption node, determine a target power supply node cluster that meets the power shortage by adjusting the cluster radius, and use a pre-trained service prediction neural network to predict the communication services that the target power supply node cluster will receive in the next unit time.
[0037] The resource reservation module is configured to determine multiple communication nodes that transmit the communication service to the target power supply node cluster, calculate the communication route for transmitting the communication service among the multiple communication nodes, and reserve communication resources for each communication link in the communication route according to a preset ratio.
[0038] Based on the same inventive concept, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power grid communication resource reservation method as described in any of the above claims.
[0039] Based on the same inventive concept, this application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions for causing the computer to execute the communication resource reservation method for the power grid described above.
[0040] As can be seen from the above, the communication resource reservation method, apparatus, storage medium, and electronic equipment for power grids provided in this application, based on the prediction of the power shortage, can divide the candidate power supply node clusters that meet the power shortage, and adjust the cluster radius to obtain the target power supply node cluster that meets the power shortage. This is used to predict upcoming communication services. It comprehensively considers the changes in power supply nodes when supplying power to power-consuming nodes, and uses this to predict the communication services required during the power supply process. This makes the communication routes calculated based on communication services more accurate, and reserves communication resources for each communication link in the communication route through proportional relationships, thereby ensuring that the reserved communication resources can meet the communication services required by the power supply nodes. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 A flowchart illustrating the communication resource reservation method for a power grid according to an embodiment of this application;
[0043] Figure 2 This is a schematic diagram of the communication resource reservation device for the power grid according to an embodiment of this application;
[0044] Figure 3 This is a schematic diagram of the electronic device structure according to an embodiment of this application. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0046] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0047] As described in the background section, the existing methods for reserving communication resources for power grids are still insufficient to meet the actual communication needs of power grids during dispatching.
[0048] In the process of implementing this application, the applicant discovered that the main problem with the relevant power grid communication resource reservation method is that the number of various communication services in the current power grid is constantly increasing, the overhead of the communication network carrying the power grid communication services is constantly increasing, and the reliability is not high.
[0049] In particular, the access of a large number of new energy power sources has led to large fluctuations in the power supply side of the power grid and an imbalance between supply and demand. This has resulted in the need for frequent transmission of communication services related to power dispatch, which in turn reduces the reliability of the transmission.
[0050] Furthermore, when distributed power supply nodes are connected to the existing communication network, unified scheduling and management will be implemented. When some power supply nodes can meet the power demand of a designated area, the remaining power can be transmitted to other areas. However, due to the instability of new energy power generation and its fluctuation over time, the number of various communication services of the communication network nodes connected to these power supply nodes will increase significantly. In the communication methods of the relevant power grid, it is often difficult to guarantee the reliable transmission of communication services when various communication services fluctuate greatly.
[0051] Based on this, one or more embodiments of this application provide a method for reserving communication resources for power grids.
[0052] In the embodiments of this application, a power supply area having multiple power supply nodes, multiple power consumption nodes and multiple communication nodes is taken as a specific example.
[0053] Among them, the power supply node can be a new energy power generation node that produces new energy power, and has an AGC (Automatic Generation Control System) to communicate with the communication node. Each power supply node can receive various communication services related to scheduling instructions from the communication node through its own AGC.
[0054] The embodiments of this application are described in detail below with reference to the accompanying drawings.
[0055] refer to Figure 1 One embodiment of this application describes a method for reserving communication resources in a power grid, comprising the following steps:
[0056] Step S101: Predict the power shortage when multiple preset power supply nodes supply power to a single preset power consumption node in the next unit time.
[0057] In the embodiments of this application, based on the pre-defined power supply area, a machine learning model can be used to predict the power supply gap when multiple power supply nodes supply power to each individual power consumption node in the next unit time. Specifically, the power supply gap includes: the power consumption node that may have a gap, and the power gap of the power consumption node.
[0058] Specifically, historical power supply data for the power supply area over a historical period is obtained, such as the power supply amount of each power supply node, the power consumption nodes that receive power from the power supply node, the power consumption of each power consumption node, the power supply nodes that supply power to the power consumption node, the location, time, duration, and amount of power supply gaps, etc.
[0059] Furthermore, the acquired historical power supply data is preprocessed to remove duplicate and erroneous data, and the historical data is divided into training and testing datasets.
[0060] Furthermore, feature processing is performed on the preprocessed historical power supply data.
[0061] Specifically, by normalizing or using interval locking, the preprocessed historical data can be made dimensionless.
[0062] Furthermore, features are encoded and transformed, and missing values are deleted or filled.
[0063] Furthermore, by reducing features, noise and redundancy in the data can be reduced, thereby reducing the mutual influence between various features and avoiding overfitting.
[0064] Based on this, multiple feature subsets of the historical power supply data can be obtained.
[0065] Furthermore, the training dataset from historical power supply data can be input into a pre-set power shortage prediction model, which can be a machine learning model.
[0066] Based on the input historical power supply data and the multiple feature subsets, the power supply gap prediction model can be trained, and its parameters can be adjusted during the training process.
[0067] Furthermore, the test dataset from historical power supply data is input into the trained power shortage prediction model to test its prediction accuracy.
[0068] Furthermore, based on a preset accuracy threshold, if the prediction accuracy of the power supply gap prediction model has not yet reached the threshold, it is considered that the current power supply gap prediction model has not yet met the training standard and needs further training and parameter adjustment. When the prediction accuracy of the trained power supply gap prediction model on the test dataset reaches the threshold, it is considered that the current power supply gap prediction model has met the training standard and completed training, and can be used to predict new data.
[0069] Furthermore, once the power supply gap prediction model has completed training, it can be used to predict the power consumption nodes that may experience power supply gaps in the next unit of time, and predict the specific power shortage amount when the above multiple power supply nodes supply power to the power consumption nodes.
[0070] In this process, after predicting the power supply gap for each power consumption node, the predicted power consumption node that may experience a power supply gap can be one or more.
[0071] Step S102: Taking the power-consuming node as the center, delineate the cluster range according to the initially preset cluster radius, and form a candidate power supply node cluster with all power supply nodes within the cluster range. Determine whether the candidate power supply node cluster meets the power shortage of the power-consuming node. In response to determining that the candidate power supply node cluster does not meet the power shortage of the power-consuming node, determine the target power supply node cluster that meets the power shortage by adjusting the cluster radius, and use a pre-trained service prediction neural network to predict the communication services that the target power supply node cluster will receive in the next unit time.
[0072] In the embodiments of this application, based on the power supply gap predicted in the aforementioned steps, a target power supply node cluster for which power is supplied can be identified, and a neural network can be used to predict the communication services that the target power supply node cluster will receive in the next unit of time.
[0073] Specifically, based on one or more power supply gaps predicted in the aforementioned steps, for each power supply gap, a cluster range is defined with the power consumption node corresponding to the power supply gap as the center and a pre-set cluster radius is used. The cluster radius specifically represents the geographical distance from the power consumption node, for example, it can be preset to 5km.
[0074] Furthermore, all power supply nodes within the cluster are grouped into a candidate power supply node cluster, meaning that each power supply node within the cluster serves as a component of the candidate power supply node cluster.
[0075] Furthermore, by evaluating whether the candidate power supply node cluster meets the power shortage requirement for the application power node, it can be determined whether the candidate power supply node cluster can be used as the target power supply node cluster to supply power to the application power node in the next unit time.
[0076] Specifically, the total amount of power that all power supply nodes in the candidate power supply node cluster can provide to the power consumption node in the next unit of time can be determined first.
[0077] Furthermore, the total power supply that the candidate power supply node can provide also includes the local load consumed by each power supply node during its operation. Based on this, the total local load of the candidate power supply node cluster can be removed from the total power supply to obtain the effective power supply of the candidate power supply node cluster.
[0078] The total local load specifically includes the sum of the local loads of all power supply nodes within the candidate power supply node cluster.
[0079] It can be seen that since the total power supply is not entirely used to output to the power consumption nodes, the effective power supply output to the power consumption nodes can be obtained after removing the total local load consumed by each power supply node.
[0080] Furthermore, when determining whether the candidate power supply node cluster meets the power shortage of the power consumption node, the difference between the effective power supply and the power shortage can be calculated, and the judgment can be made based on the sign of the difference.
[0081] Specifically, the difference between the effective power supply and the shortfall power can be obtained by subtracting the shortfall power from the effective power supply. When the difference is positive, the effective power supply is considered to be greater than the shortfall power, which means that the effective power supply of the candidate power supply node cluster can meet the shortfall power of the power consumption node.
[0082] Furthermore, when the difference is negative, it is considered that the effective power supply is less than the power shortage, meaning that the effective power supply of the candidate power supply node cluster is still insufficient to meet the power shortage of the power consumption node.
[0083] In this embodiment, based on the aforementioned judgment of whether the candidate power supply node cluster meets the power shortage requirement, when the judgment result indicates that the candidate power supply node cluster can meet the power shortage requirement, the candidate power supply node cluster is determined as the target power supply node cluster.
[0084] Furthermore, if the judgment results indicate that the candidate power supply node cluster is still insufficient to meet the power shortage, the effective power supply of the candidate power supply node cluster can be adjusted by adjusting the cluster radius until the candidate power supply node cluster meets the power shortage.
[0085] Specifically, the adjustment length of the cluster radius can be preset, for example, 1km. Based on this, the current cluster radius can be increased by 1 adjustment length each time the cluster radius is adjusted, and the adjusted cluster radius can be obtained.
[0086] Furthermore, still using the power consumption node corresponding to the power supply gap as the center, the adjusted cluster range is delineated using the adjusted cluster radius.
[0087] Furthermore, all power supply nodes within the adjusted cluster range are combined into an adjusted candidate power supply node cluster, and it is determined whether the adjusted candidate power supply node cluster meets the power shortage requirement of the power consumption node.
[0088] Furthermore, if the adjusted candidate power supply node cluster does not meet the power shortage of the power consumption node, the cluster radius is adjusted again according to the adjustment length until the adjusted candidate power supply node meets the power shortage, and the current adjusted candidate power supply node cluster is determined as the target power supply node cluster.
[0089] In this embodiment, a pre-trained service prediction neural network can be used to predict the communication services that the target power supply node cluster will receive in the next unit of time.
[0090] Specifically, the results of the business prediction neural network can reveal the type of each communication service, such as control communication services, and the quantity of each type of communication service.
[0091] Furthermore, the results of the business prediction neural network can also reveal the communication resources required to transmit various communication services to the target power supply node cluster. These communication resources specifically include the required bandwidth and spectrum.
[0092] Step S103: Determine multiple communication nodes that transmit the communication service to the target power supply node cluster, calculate the communication route for transmitting the communication service among the multiple communication nodes, and reserve communication resources for each communication link in the communication route according to a preset ratio.
[0093] In the embodiments of this application, based on the target power supply node cluster determined in the foregoing steps and the communication services it will receive in the next unit time, a communication route for transmitting communication services can be calculated for the target power supply node cluster from the communication network, and communication resources can be reserved for each communication link in the communication route.
[0094] It should be noted that the communication channel connecting two communication nodes is called a communication link, while a communication path represents a complete communication channel from the source node to the destination node, which is composed of multiple communication links connected together.
[0095] In this embodiment, one or more communication nodes are set up around each power supply node. All communication nodes in the power supply area will form a communication network that provides communication services to each power supply node.
[0096] Based on this, multiple communication nodes required to transmit the corresponding communication services to the target power supply node cluster can be identified, and the most likely communication route to be traversed when transmitting communication services can be calculated among these multiple communication nodes.
[0097] Specifically, based on the identified multiple communication nodes, methods such as the shortest path algorithm can be used to calculate the communication route, determine each communication link in the communication route, and the communication resources required by each communication link when transmitting communication services.
[0098] Furthermore, communication resources can be reserved for each communication link based on its location relationship with the power-consuming node and its idle status.
[0099] Specifically, the distance between each communication link and the power consumption node is first determined, as well as the current idle level of each link, and the proportional relationship between the two and the reserved ratio is pre-set.
[0100] Furthermore, when setting the reservation ratio for each communication link, the reservation ratio can be set to be inversely proportional to the distance mentioned above and directly proportional to the idle level. That is, the closer the communication link is to the power consumption node, the higher the reservation ratio, and the more bandwidth and spectrum resources are reserved for the link; while the higher the current idle level of the communication link, the higher the reservation ratio, and the more bandwidth and spectrum resources are reserved for the link.
[0101] Furthermore, according to the reserved ratio set above, communication resources are reserved for each communication link individually to meet the resource requirements of that communication link.
[0102] Specifically, since communication services follow the principles of spectrum consistency and spectrum continuity when preempting spectrum, when reserving spectrum resources, it is necessary to meet the needs of services with large spectrum requirements and services with small spectrum resource requirements, while minimizing the impact on the current carrying capacity of communication links. When reserving, it is possible to reserve one or two complete and continuous frequency slots, as well as multiple small and fragmented spectrums under different frequency slots.
[0103] As can be seen, the power grid communication resource reservation method of the embodiments of this application, based on the prediction of the power shortage, can divide the candidate power supply node cluster that meets the power shortage, and adjust the cluster radius to obtain the target power supply node cluster that meets the power shortage. In this way, the upcoming communication services can be predicted. The method comprehensively considers the changes of power supply nodes when supplying power to power consumption nodes, and predicts the communication services required during the power supply process. This makes the communication routes calculated based on the communication services more accurate, and reserves communication resources for each communication link in the communication route through proportional relationships, so that the reserved communication resources can meet the communication services required by the power supply nodes.
[0104] It should be noted that the method of the embodiments of this application can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of the embodiments of this application, and the multiple devices will interact with each other to complete the method described.
[0105] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0106] Based on the same inventive concept, and corresponding to the methods of any of the above embodiments, embodiments of this application also provide a communication resource reservation device for a power grid.
[0107] refer to Figure 2 The communication resource reservation device for the power grid includes: a power shortage prediction module 201, a power supply cluster determination module 202, and a resource reservation module 203;
[0108] The power shortage prediction module 201 is configured to predict the power shortage when multiple preset power supply nodes supply power to a single preset power consumption node in the next unit time.
[0109] The power supply cluster determination module 202 is configured to, with the power consumption node as the center, delineate the cluster range according to an initially preset cluster radius, form a candidate power supply node cluster with all power supply nodes within the cluster range, determine whether the candidate power supply node cluster meets the power shortage of the power consumption node, and in response to determining that the candidate power supply node cluster does not meet the power shortage of the power consumption node, determine a target power supply node cluster that meets the power shortage by adjusting the cluster radius, and use a pre-trained service prediction neural network to predict the communication services that the target power supply node cluster will receive in the next unit time.
[0110] The resource reservation module 203 is configured to determine multiple communication nodes that transmit the communication service to the target power supply node cluster, calculate the communication route for transmitting the communication service among the multiple communication nodes, and reserve communication resources for each communication link in the communication route according to a preset ratio.
[0111] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing the embodiments of this application, the functions of each module can be implemented in one or more software and / or hardware.
[0112] The apparatus described above is used to implement the communication resource reservation method for the corresponding power grid in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0113] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power grid communication resource reservation method as described in any of the above embodiments.
[0114] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0115] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0116] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this application are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0117] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0118] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0119] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0120] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this application, and not necessarily all the components shown in the figures.
[0121] The apparatus described above is used to implement the communication resource reservation method for the corresponding power grid in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0122] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the power grid communication resource reservation method as described in any of the above embodiments.
[0123] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0124] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the power grid communication resource reservation method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0125] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in detail for the sake of brevity.
[0126] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0127] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0128] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A method for reserving communication resources in a power grid, characterized in that, include: Predict the power shortage when multiple pre-set power supply nodes supply power to a single pre-set power consumption node in the next unit of time; Centered on the power-consuming node, a cluster range is defined according to an initially preset cluster radius. All power supply nodes within the cluster range are formed into a candidate power supply node cluster. It is determined whether the candidate power supply node cluster meets the power shortage requirement of the power-consuming node. In response to the determination that the candidate power supply node cluster does not meet the power shortage requirement of the power-consuming node, the cluster radius is adjusted to determine a target power supply node cluster that meets the power shortage requirement. A pre-trained service prediction neural network is then used to predict the communication services that the target power supply node cluster will receive in the next unit of time. A plurality of communication nodes are identified to transmit the communication service to the target power supply node cluster. A communication route for transmitting the communication service is calculated among the plurality of communication nodes, and communication resources are reserved for each communication link in the communication route according to a preset ratio. The step of reserving communication resources for each communication link in the communication route according to a preset proportional relationship includes: Based on the communication services that multiple communication nodes will transmit, determine the resource requirements of each link. Determine the distance between each communication link in the communication route and the power consumption node, and determine the current idle level of each link; For each communication link in the communication route, a reservation ratio is set for the communication link according to the distance and idle time of the communication link, which conforms to the ratio relationship. According to the respective reservation ratio of each communication link, communication resources are reserved for that communication link to meet its resource requirements.
2. The method according to claim 1, characterized in that, The prediction of the power shortage when multiple preset power supply nodes supply power to a single preset power consumption node in the next unit time includes: Obtain historical power supply data between the multiple power supply nodes and each of the multiple preset power consumption nodes; The historical power supply data is used to train a pre-set power supply gap prediction model; When the accuracy of the power supply gap prediction model reaches the preset accuracy threshold, the training is considered complete. The trained power shortage prediction model is used to predict the power consumption nodes that will experience power shortages in the next unit of time, and to predict the power shortage corresponding to each power consumption node when the multiple power supply nodes supply power to each power consumption node.
3. The method according to claim 1, characterized in that, The step of determining whether the candidate power supply node cluster meets the power shortage requirement of the power consumption node includes: Determine the effective power supply provided by the candidate power supply node cluster to the power consumption node, and calculate the difference between the effective power supply and the power shortage. In response to determining that the difference is positive, it is determined that the candidate power supply node cluster meets the power shortage of the power consumption node; In response to determining that the difference is negative, it is determined that the candidate power supply node cluster does not meet the power shortage requirement of the power consumption node.
4. The method according to claim 3, characterized in that, Determining the effective power supply provided by the candidate power supply node cluster to the power consumption node includes: Determine the total power supply provided by all power supply nodes in the candidate power supply node cluster in the next unit of time; The effective power supply of the candidate power supply node cluster is obtained by removing the total local load of all power supply nodes in the candidate power supply node cluster from the total power supply.
5. The method according to claim 1, characterized in that, The step of determining the target power supply node cluster that meets the power shortage requirement by adjusting the cluster radius includes: Adjust the cluster radius; The cluster range is adjusted according to the adjusted cluster radius, and the candidate power supply node cluster is adjusted according to the adjusted cluster range until the adjusted candidate power supply node cluster meets the power shortage requirement. All power supply nodes within the adjusted cluster range will be combined to form the target power supply node cluster.
6. The method according to claim 1, characterized in that, The step of setting a reservation ratio for the communication link according to the distance and idle time of the communication link, conforming to the aforementioned proportional relationship, includes: Each communication link is assigned a reservation ratio based on a relationship inversely proportional to the distance between the power-consuming nodes and directly proportional to the idle level.
7. A communication resource reservation device for a power grid, characterized in that, include: Shortage power prediction module, power supply cluster determination module, and resource reservation module; The power shortage prediction module is configured to predict the power shortage when multiple preset power supply nodes supply power to a single preset power consumption node in the next unit time. The power supply cluster determination module is configured to, with the power consumption node as the center, delineate the cluster range according to an initially preset cluster radius, form a candidate power supply node cluster with all power supply nodes within the cluster range, determine whether the candidate power supply node cluster meets the power shortage of the power consumption node, and in response to determining that the candidate power supply node cluster does not meet the power shortage of the power consumption node, determine a target power supply node cluster that meets the power shortage by adjusting the cluster radius, and use a pre-trained service prediction neural network to predict the communication services that the target power supply node cluster will receive in the next unit time. The resource reservation module is configured to: determine multiple communication nodes that transmit the communication service to the target power supply node cluster; calculate a communication route for transmitting the communication service among the multiple communication nodes; and reserve communication resources for each communication link in the communication route according to a preset proportional relationship. The step of reserving communication resources for each communication link in the communication route according to the preset proportional relationship includes: determining the resource requirements of each link based on the communication service to be transmitted by the multiple communication nodes; determining the distance between each communication link in the communication route and the power consumption node, and determining the current idle level of each link; for each communication link in the communication route, setting a reservation ratio that conforms to the preset proportional relationship based on the distance and idle level of the communication link; and reserving communication resources for each communication link according to its respective reservation ratio to meet the resource requirements of the communication link.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing the computer to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Service route distribution method and device based on electric power communication network
CN110417664A
Resource planning to handle contact volume across a plurality of contact channels
US20080172275A1