Adaptive networking method and device for power grid management system based on heterogeneous dual-mode network
By introducing a central coordinator and a proxy coordinator into the power grid management system, and optimizing wireless link access using wired links, the problems of cumbersome networking process and insufficient stability of heterogeneous dual-mode networks are solved, and efficient and stable adaptive networking is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED
- Filing Date
- 2023-11-28
- Publication Date
- 2026-06-23
AI Technical Summary
In existing heterogeneous dual-mode network networking methods, HPLC and HRF have low collaborative operation efficiency, high network complexity, and weak adaptive collaborative ability after being networked independently, resulting in a cumbersome networking process and insufficient stability.
By introducing a central coordinator, agent coordinators, and sites into the power grid management system, data processing capabilities and location information are first established using wired links, the access process of wireless links is optimized, and adaptive networking is achieved, including wired link cascading and load balancing management, and backup links are established to ensure system stability.
It improves networking speed and efficiency, reduces data configuration difficulty, realizes automated management of network devices, supports changes in device connection scale, load balancing, and enhances system stability and transmission efficiency.
Smart Images

Figure CN117579103B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power grid management system networking technology, and in particular to an adaptive networking method and apparatus for a power grid management system based on a heterogeneous dual-mode network. Background Technology
[0002] Traditional power grid management systems use high-speed power line communication (HPLC) for networking. HPLC offers high bandwidth and transmission rate, meeting the higher demands of low-voltage power line communication. However, HPLC is heavily reliant on line reliability, and cannot meet the communication needs of urgent repairs when line faults occur. High-speed radio frequency (HRF), on the other hand, uses a wireless channel as the communication medium. It is unaffected by various non-ideal factors of power lines, heavy grid loads, and strong noise interference. Therefore, combining HRF and HPLC to form a heterogeneous dual-mode power grid management system can improve anti-interference capabilities while ensuring transmission efficiency, fully leveraging the advantages of each.
[0003] However, in existing heterogeneous dual-mode network architectures using HRF and HPLC, the common approach is to establish independent networks for each and then operate collaboratively, meaning HPLC and HRF operate in parallel. For example, Chinese patent application CN111601317A discloses a networking method for heterogeneous HPLC and HRF networks, which involves establishing independent networks for HPLC and HRF and then operating collaboratively, with HPLC and HRF serving as alternative paths for each other. However, the independent networking approach for HPLC and HRF is inefficient, and the need for management message exchanges between HPLC and HRF after networking increases network complexity, making data configuration during wireless link access more difficult and the networking process cumbersome. Furthermore, the adaptive collaborative capability between HPLC and HRF when operating in parallel is weak, making it difficult to guarantee collaborative efficiency and accuracy, thus limiting the overall efficiency and stability improvement of dual-mode networks based on HPLC and HRF. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: in view of the technical problems existing in the prior art, the present invention provides an adaptive networking method and device for a power grid management system based on a heterogeneous dual-mode network, which has a simple networking process, high networking efficiency and accuracy, strong adaptive coordination capability and stability.
[0005] To solve the above-mentioned technical problems, the technical solution proposed by this invention is as follows:
[0006] An adaptive networking method for a power grid management system based on a heterogeneous dual-mode network, wherein the power grid management system includes a central coordinator, a proxy coordinator, and stations, the method comprising:
[0007] Within the area to be networked, a central coordinator is determined. The proxy coordinator connects to the central coordinator via a wired link, and the central coordinator obtains the location and data processing capability information of the proxy coordinator.
[0008] Each agent coordinator establishes a wired link and sends a wireless networking request to the central coordinator through the wired link. The central coordinator responds with access permission for wireless networking based on the location and data processing capability of the agent coordinator.
[0009] The proxy coordinator broadcasts the access license and establishes a wireless link with the central coordinator or a proxy coordinator that matches the access license.
[0010] The site connects to the agent coordinator via a wired link and sends a wireless networking request to the agent coordinator via the wired link. The agent coordinator obtains the maximum data volume of the site and calculates the load after the site connects. Based on the calculated load, it determines whether to provide an access license for wireless access or forward the wireless networking request to the adjacent agent coordinator until a wireless connection is established between the site and the agent coordinator.
[0011] Furthermore, in establishing a wired link between each agent coordinator, an agent coordinator with a data processing capacity less than a preset first data processing capacity threshold is cascaded with an agent coordinator with a data processing capacity greater than a preset second data processing capacity threshold, wherein the preset second data processing capacity threshold is greater than the preset first data processing capacity threshold.
[0012] The central coordinator feeds back access permits for wireless networking based on the location and data processing capabilities of the proxy coordinators. The central coordinator feeds back the access permits to proxy coordinators whose data processing capabilities are greater than a preset second data processing capability threshold and / or less than a preset location distance threshold, so as to establish a wireless link with the central coordinator.
[0013] Furthermore, the proxy coordinator broadcasts according to the access license, and the radio link established with the central coordinator or a proxy coordinator that matches the access license includes:
[0014] After receiving the central access permission, the proxy coordinator broadcasts it, and the central coordinator receives the central access permission from the proxy coordinator and establishes a wireless link with the proxy coordinator.
[0015] After receiving a proxy access license, the proxy coordinator broadcasts it. The proxy coordinator that matches the proxy access license receives the proxy access license from the proxy coordinator and establishes a wireless link with the proxy coordinator.
[0016] Furthermore, the site accesses the proxy coordinator via a wired link and sends a wireless networking request to the proxy coordinator via the wired link. When the proxy coordinator receives the site's access request, it compares the load of the proxy coordinator with the load of the neighboring proxy coordinators. If the difference between the load of the proxy coordinator and the load of the neighboring proxy coordinator exceeds a threshold and is higher than the load of the neighboring proxy coordinator, the access request is forwarded to the neighboring proxy coordinator, and the site's access request is rejected.
[0017] Furthermore, the process by which the proxy coordinator obtains the maximum data volume of a site and calculates the load after the site is connected includes:
[0018] The agent coordinator records the historical load information of the site and obtains the historical maximum load of the site based on the historical load information.
[0019] The agent coordinator obtains the frequency of the site's historical maximum load occurring per unit time.
[0020] When the frequency of the site's historical maximum load within the unit time exceeds a preset frequency threshold, the load of the site after accessing the proxy coordinator is calculated based on the historical maximum load and the maximum data volume.
[0021] When the frequency of the site's historical maximum load within a unit time is not greater than a preset frequency threshold, the site's historical maximum load is reduced until the frequency of the reduced site's historical maximum load within a unit time is greater than the frequency threshold. The load after the site is connected is calculated based on the reduced historical maximum load and the maximum data volume.
[0022] Furthermore, the step of determining the access permission for wireless access or forwarding the wireless networking request to the neighboring agent coordinator based on the calculated load includes:
[0023] When the load is less than the data processing capacity threshold of the agent coordinator, an access license for wireless access is issued.
[0024] When the load exceeds the data processing capacity threshold of the proxy coordinator, the proxy coordinator, upon receiving the access request from the site, forwards the access request to the adjacent proxy coordinator and calculates the load after the site accesses the adjacent proxy coordinator, until a wireless connection is established between the site and the proxy coordinator.
[0025] Furthermore, after the power grid management system is networked, it also includes:
[0026] Based on the existing wired and wireless links between the central coordinator, the agent coordinator, and the sites, backup links corresponding to the wired and wireless links are established synchronously.
[0027] When a fault occurs in a proxy coordinator in the power grid management system, the backup link performs data backup and continues to complete the data transmission processing task through an adjacent proxy coordinator that has not experienced a fault.
[0028] Furthermore, when the proxy coordinator connects to the central coordinator via a wired link, the central coordinator verifies the area to which the proxy coordinator belongs:
[0029] If the assigned area matches the central coordinator area, then the proxy coordinator is allowed to access;
[0030] If the area to which the agent coordinator belongs does not match the area to which the central coordinator belongs, the agent coordinator's access information will be sent to its central coordinator, and the central coordinator will then send a wired link access request to the agent coordinator.
[0031] Furthermore, after the agent coordinator connects to the central coordinator via a wired link, the system further includes:
[0032] The central coordinator obtains access port data from the proxy coordinator;
[0033] After the agent coordinator establishes a wireless link with the agent coordinator whose access license matches, the central coordinator disconnects the wired link with the agent coordinator.
[0034] The central coordinator sends the access port data of the proxy coordinator to the proxy coordinator that has established a wireless link with the proxy coordinator, and the proxy coordinator that has established a wireless link with the proxy coordinator establishes a wired link with the proxy coordinator through the access port data.
[0035] A computer device includes a processor and a memory, the memory being used to store a computer program, and the processor being used to execute the computer program to perform the methods described above.
[0036] Compared with the prior art, the advantages of the present invention are as follows:
[0037] 1. In this invention, the central coordinator, the agent coordinator, and the sites send wireless networking requests through wired links, which can effectively reduce data loss and errors during data transmission. Compared with the use of wired and wireless independent networking in conjunction, it can effectively improve the networking speed of heterogeneous dual-mode networks. Compared with the cumbersome process of independent networking, based on the established wired links, it can reduce the data configuration difficulty in the wireless link access process, making the entire networking process more convenient.
[0038] 2. This invention uses a central coordinator to handle access requests and data transmission, while proxy coordinators handle broadcasting and link establishment. By selecting suitable proxy coordinators for adaptive networking, automated management of network devices is achieved. Through broadcasting and matching, proxy coordinators can quickly establish stable wireless links with the central coordinator or other proxy coordinators, and can select the optimal path to connect to the proxy coordinator based on real-time network conditions. By considering factors such as latency, bandwidth, and network congestion between the site and the proxy coordinator, the site can select the best proxy coordinator to connect to, thereby improving transmission efficiency and response speed.
[0039] 3. This invention supports a large number of proxy coordinators, flexibly adapting to changes in the scale of device connections, and exhibits excellent elasticity and scalability. When the number of connected devices increases or decreases, the system can dynamically adjust the connection methods and routing to adapt to different network scale requirements. By adaptively selecting appropriate devices for connection and networking, efficient use of energy and resources can be achieved. The system can distribute connections to devices with lower loads based on actual device needs, thereby reducing power consumption and extending device lifespan.
[0040] 4. This invention further considers the load of the proxy coordinator in the system before and after access during the networking process, and adaptively selects a suitable proxy coordinator for networking. Compared with the traditional networking method, it can achieve load balancing, arrange the site connection on the appropriate device, avoid excessive load on the proxy coordinator after the site is connected, improve the overall performance and stability of the system after networking, and reduce the workload of networking process by autonomously selecting the proxy coordinator, making the whole networking process more convenient. Attached Figure Description
[0041] Figure 1 This is a flowchart of an adaptive networking method for a power grid management system based on a heterogeneous dual-mode network, according to an embodiment of the present invention.
[0042] Figure 2 This is a flowchart illustrating the networking method between the central coordinator, the agent coordinator, and the sites in an embodiment of the present invention.
[0043] Figure 3 This is a flowchart illustrating the load calculation method after a site accesses the agent coordinator in an embodiment of the present invention. Detailed Implementation
[0044] The present invention will be further described below with reference to the accompanying drawings and specific preferred embodiments, but this does not limit the scope of protection of the present invention.
[0045] This invention is based on a heterogeneous dual-mode network of HPLC and HRF. By prioritizing the establishment of wired links, the data processing capabilities between the central coordinator and the agent coordinator are first obtained using the prioritized wired links. Then, based on the data processing capabilities of the central coordinator and the agent coordinator and the location allocation of the wireless link establishment relationship, adaptive networking of the power grid management system is realized. This effectively optimizes the networking process and the post-networking structure of the HPLC and HRF heterogeneous dual-mode network, improves the coordination efficiency and accuracy during networking, and also enables a more balanced load on each device during the operation of the networked system.
[0046] like Figure 1 , Figure 2 As shown, the power grid management system in this embodiment includes a central coordinator, a proxy coordinator, and stations. The steps of the adaptive networking method for the power grid management system based on a heterogeneous dual-mode network include:
[0047] Step S01. Determine the central coordinator within the area to be networked. The proxy coordinator connects to the central coordinator via a wired link. The central coordinator obtains the location and data processing capability information of the proxy coordinator.
[0048] In this embodiment, the "transformer zone" refers to the power supply range or area of a single transformer. A wired link is established between the agent coordinator and the central coordinator based on the HPLC network, effectively improving communication stability and efficiency. By obtaining the location and data processing capabilities of the agent coordinator through the central coordinator, more precise network management and control can be achieved, leading to more rational allocation of network resources and improved network utilization efficiency.
[0049] Furthermore, in this embodiment, when the proxy coordinator connects to the central coordinator via a wired link, the central coordinator also verifies the area to which the proxy coordinator belongs, wherein:
[0050] If the assigned area matches the central coordinator area, then the proxy coordinator is allowed to access;
[0051] If the assigned area does not match the central coordinator's area, the proxy coordinator's access will be rejected, and the proxy coordinator's access information will be sent to its assigned central coordinator. The assigned central coordinator will then proactively send a wired link access request to the proxy coordinator.
[0052] Through the above process, the network area is verified before the agent coordinator is connected, and the network area is accurately identified, which can ensure that the agent coordinator is networked under its assigned network area.
[0053] Furthermore, this embodiment also includes the following after the proxy coordinator connects to the central coordinator via a wired link:
[0054] The central coordinator obtains access port data from the proxy coordinator;
[0055] After the agent coordinator establishes a wireless link with the agent coordinator whose access license matches, the central coordinator disconnects the wired link with the agent coordinator.
[0056] The central coordinator sends the access port data of the agent coordinator to the agent coordinator that has established a wireless link with the agent coordinator. The agent coordinator that has established a wireless link with the agent coordinator establishes a wired link with the agent coordinator through the access port data.
[0057] Through the above process, adaptive networking can be achieved based on the processing capabilities of the agent coordinator. This is accomplished with the assistance of the central coordinator. Before disconnecting the first established wired link, the access port data is sent to the next device that will establish a wired link, avoiding the need to reconfigure the port before the next wired link. The system automatically identifies and configures the port, which can facilitate networking and improve the convenience of the adaptive networking process.
[0058] Step S02. Establish wired links between each agent coordinator and send wireless networking requests to the central coordinator through the wired links. The central coordinator responds with access permissions for wireless networking based on the location and data processing capabilities of the agent coordinators.
[0059] A lower data processing capability value for a proxy coordinator indicates weak data processing capability, while a higher value indicates strong data processing capability. In this embodiment, a first data processing capability threshold and a second data processing capability threshold are preset for the proxy coordinators, corresponding to weak and strong data processing capabilities, respectively. The second data processing capability threshold is greater than the first threshold; that is, if it is less than the first threshold, it indicates weak data processing capability, and if it is greater than the second threshold, it indicates strong data processing capability. When establishing wired links between proxy coordinators, proxy coordinators with a capability lower than the first threshold are cascaded with those with a capability higher than the second threshold. This prevents proxy coordinators with weaker data processing capabilities from being cascaded at their downstream ends, reducing network congestion and data loss, thereby effectively improving network stability and security. Understandably, a data processing capability threshold can also be set. If the data processing capability is less than the threshold, it indicates that the data processing capability is weak. If the data processing capability is greater than the threshold, it indicates that the data processing capability is strong. When establishing a wired link between the agent coordinators, agent coordinators with a data processing capability less than the threshold will be cascaded with agent coordinators with a data processing capability greater than the threshold.
[0060] In this embodiment, access permissions include central access permissions and proxy access permissions. The central coordinator considers its adjustment capabilities and provides corresponding access permission feedback based on the data processing capabilities of the proxy coordinators. When the central coordinator provides access permissions for wireless networking based on the location and data processing capabilities of the proxy coordinators, the central coordinator specifically provides access permissions to proxy coordinators whose data processing capabilities exceed a preset threshold and whose location distance is less than a preset threshold, in order to establish a wireless link with the central coordinator. This ensures that only suitable proxy coordinators directly connect to the central coordinator via the wireless link. By limiting the number of direct connections between proxy coordinators and the central coordinator, the load on the central coordinator can be effectively reduced, thereby extending its service life.
[0061] Preferably, the data processing capability threshold can be set to multiple levels to achieve a multi-level cascading relationship between agent coordinators. For example, the data processing capability can be divided into four levels according to the capability value. The agent coordinator with the first-level data processing capability can be cascaded with the agent coordinator with the fourth-level data processing capability, and the agent coordinator with the second-level data processing capability can be cascaded with the agent coordinator with the third-level data processing capability. Through the multi-level cascading configuration, the data processing capability of each agent coordinator can be fully utilized, the data processing tasks can be evenly distributed, and the data processing tasks of each device in the system can be more balanced.
[0062] Step S03. The proxy coordinator broadcasts the access license and establishes a radio link with the central coordinator or a proxy coordinator that matches the access license.
[0063] Step S301. After receiving the central access permission, the agent coordinator broadcasts it. The central coordinator receives the central access permission from the agent coordinator and establishes a radio link with the agent coordinator.
[0064] Step S302. After receiving the proxy access license, the proxy coordinator broadcasts it. The proxy coordinator that matches the proxy access license receives the proxy access license from the proxy coordinator and establishes a wireless link with the proxy coordinator.
[0065] This embodiment utilizes the wired link established between the central coordinator and the proxy coordinator to obtain the data processing capabilities between them. Based on their data processing capabilities and location information, it then rationally allocates the establishment relationship of wireless links, adaptively performs networking, optimizes the networking process and the heterogeneous dual-mode network structure of HPLC and HRF after networking, improves the mutual adaptive capability between HPLC and HRF after networking, as well as the coordination efficiency and accuracy during networking, and makes the load on each device more balanced when the system is running after networking.
[0066] Step S04. Proxy Coordinator - Site Networking: The site connects to the proxy coordinator via a wired link and sends a wireless networking request to the proxy coordinator via the wired link. The proxy coordinator obtains the maximum data volume of the site and calculates the load after the site connects. Based on the calculated load, it determines whether to provide an access license for wireless access or forward the wireless networking request to the adjacent proxy coordinator until a wireless connection is established between the site and the proxy coordinator.
[0067] To further evenly distribute data workload among proxy coordinators, this embodiment, after a site connects to the proxy coordinator via a wired link and sends a wireless networking request to the proxy coordinator, compares the proxy coordinator's load with that of its neighboring proxy coordinators upon receiving the access request. If the difference between the proxy coordinator's load and that of its neighboring proxy coordinator exceeds a threshold and is higher than the neighboring proxy coordinator's load, the proxy coordinator forwards the access request to the neighboring proxy coordinator and rejects the site's access request. This ensures a more balanced and reasonable data workload among neighboring proxy coordinators, preventing excessive data workload for any single node (proxy coordinator), ensuring the overall network operating efficiency, and effectively preventing system crashes due to excessive data workload handled by a few proxy coordinators, thus significantly improving system stability.
[0068] like Figure 3 As shown, in this embodiment, the agent coordinator obtains the maximum data volume of the site and calculates the load after the site is connected, including:
[0069] Step S401. The agent coordinator records the historical load information of the site and obtains the historical maximum load of the site based on the historical load information;
[0070] Step S402. The agent coordinator obtains the frequency of the site's historical maximum load within a unit of time.
[0071] Step S403. When the frequency of the site's historical maximum load within a unit time is greater than the preset frequency threshold, the load after the site accesses the agent coordinator is calculated based on the historical maximum load and the maximum data volume.
[0072] Step S404. When the frequency of the site's historical maximum load within a unit time is not greater than the frequency threshold, decrease the site's historical maximum load until the frequency of the decreased site's historical maximum load within a unit time is greater than the frequency threshold. Calculate the load after the site is connected based on the decreased historical maximum load and the maximum data volume.
[0073] For example, a proxy coordinator might record historical load data showing that its maximum load capacity is 90% of its maximum capacity. Within an hour, this load exceeds 90% five times, while the preset frequency is 10 times per hour. This reduces the maximum load capacity utilization. If the load capacity utilization is 85% and this occurs 12 times per hour, then the proxy coordinator's maximum load capacity is determined to be 85%. The load after site access is then calculated based on this 85% maximum load. This method ensures a more realistic assessment of the proxy coordinator's load capacity, avoiding the influence of extreme values on the actual load capacity.
[0074] In this embodiment, the step of determining whether to provide access permission for wireless access or forward the wireless networking request to the neighboring agent coordinator based on the calculated load includes:
[0075] When the load is less than the data processing capacity threshold of the agent coordinator, an access license for wireless access is issued.
[0076] When the load exceeds the data processing capacity threshold of the proxy coordinator, the proxy coordinator receives the access request from the site, forwards the access request to the adjacent proxy coordinator, and calculates the load after the site accesses the adjacent proxy coordinator, until a wireless connection is established between the site and the proxy coordinator.
[0077] This embodiment prioritizes the establishment of wired links, utilizes these prioritized wired links to obtain the load after the site accesses the agent coordinator, and selects a suitable agent coordinator to establish wireless links based on the load budget after access. This can reasonably distribute data processing tasks to agent coordinators with processing capabilities, enabling all devices in the networked system to operate normally and stably, and fully utilize their own data processing capabilities.
[0078] To improve the stability of the system during operation, this embodiment further includes sending verification information to the agent coordinator after the site establishes a wireless link with the agent coordinator. After receiving the verification information, the agent coordinator feeds back the verification result through a wired link. This verification can ensure that the devices can communicate normally after the wired / wireless link is established.
[0079] Furthermore, this embodiment also includes the following after the power grid management system is networked:
[0080] Based on the existing wired and wireless links between the central coordinator, the agent coordinator, and the sites, backup links corresponding to the wired and wireless links are established synchronously.
[0081] When a fault occurs in a coordinator in the power grid management system, the backup link performs data backup, and the data transmission and processing tasks are continued through the adjacent, fault-free coordinator.
[0082] This embodiment establishes a backup link synchronously with the existing wired and wireless links. By using the backup link, data backup is performed when the agent coordinator fails, ensuring data continuity and integrity. At the same time, the data transmission processing task can continue to be completed by the adjacent agent coordinator that has not failed. This not only ensures the efficiency of data transmission but also avoids system operation interruption due to the failure of a single agent coordinator, effectively improving the robustness and reliability of the system.
[0083] The following example, using a specific application embodiment to illustrate the invention through adaptive networking of a heterogeneous dual-mode network based on HPLC and HRF for a power grid management system, further illustrates the present invention. The networking process is divided into a central coordinator-agent coordinator networking section and an agent coordinator-site networking section, the detailed steps of which are as follows:
[0084] (1) The central coordinator-agent coordinator networking part includes the following steps:
[0085] Step 1.1: Determine the central coordinator within the proposed network area. The proxy coordinator connects to the central coordinator via a wired link based on the HPLC network. The central coordinator obtains the location and data processing capabilities of the proxy coordinator.
[0086] After the proxy coordinator connects to the central coordinator via a wired link, the central coordinator obtains the access port data of the proxy coordinator. After the proxy coordinator establishes a wireless link with another proxy coordinator whose access license matches its own, the central coordinator disconnects the wired link with the proxy coordinator. The central coordinator then sends the access port data of the proxy coordinator to the proxy coordinator that has established a wireless link with it. The proxy coordinator that has established a wireless link with the proxy coordinator then establishes a wired link with the proxy coordinator through the access port data.
[0087] Step 1.2: Establish wired links between agent coordinators based on the HPLC network, and send wireless networking requests through the wired links of the agent coordinators. The central coordinator provides access permission for wireless networking based on the location and data processing capabilities of the agent coordinators.
[0088] Access licenses include central access licenses and proxy access licenses. The central coordinator provides corresponding access license feedback based on the data processing capabilities of the proxy coordinators. Specifically, based on the data processing capabilities of the proxy coordinators, it is not suitable to cascade proxy coordinators with weak data processing capabilities. Considering the adjustment capabilities of the central coordinator, a data processing capability threshold is set before network deployment. Proxy coordinators with data processing capabilities below the first threshold are cascaded with those above the second threshold. Then, a wireless link is established between proxy coordinators above the second threshold and the central coordinator. Simultaneously, based on location distance, proxy coordinators closer to the central coordinator can directly establish a wireless link with it. Furthermore, the data processing capability threshold is set to multiple levels to achieve more levels of proxy coordinator cascading relationships, fully utilizing the data processing capabilities of each proxy coordinator, distributing data processing tasks evenly, and making the data processing tasks more balanced across all devices in the system.
[0089] Step 1.3: The proxy coordinator broadcasts the access license and establishes a radio link with the central coordinator or a proxy coordinator whose access license matches the central coordinator's.
[0090] After receiving the central access permission, the agent coordinator broadcasts it, and the central coordinator receives the central access permission from the agent coordinator and establishes a wireless link with the agent coordinator.
[0091] After receiving a proxy access license, the proxy coordinator broadcasts it. The proxy coordinator that matches the access license receives the proxy access license from the proxy coordinator and establishes a wireless link with the proxy coordinator.
[0092] (2) Agent coordinator - site networking part, including the following steps:
[0093] Step 2.1: The site connects to the agent coordinator via a wired link, and the site sends a wireless networking request via the wired link. The agent coordinator obtains the maximum data volume of the site and calculates the load after the site connects.
[0094] Step 2.1.1: The agent coordinator records historical loads and retrieves the historical maximum load from them;
[0095] Step 2.1.2: The agent coordinator obtains the frequency of the historical maximum load occurring per unit time.
[0096] Step 2.1.3: If the frequency is greater than the threshold, calculate the load after the site is connected based on the historical maximum load and maximum data volume;
[0097] Step 2.1.4: If the frequency is not greater than the threshold, decrease the historical maximum load until the frequency is greater than the threshold, and then calculate the load after the site is connected based on the decreased historical maximum load and the maximum data volume.
[0098] Step 2.2: If the load does not exceed the threshold, an access license for wireless access is issued; if the load exceeds the threshold, the wireless networking request is forwarded to the adjacent agent coordinator.
[0099] Step 2.3: The adjacent agent coordinator repeats steps 2.1-2.2 until the site establishes a wireless link with the agent coordinator.
[0100] Step 2.4: After the site establishes a wireless link with the agent coordinator, it sends a verification message to the agent coordinator. After receiving the verification message, the agent coordinator sends back the verification result through the wired link. Passing this verification ensures that the devices can communicate normally after the wired / wireless link is established.
[0101] Step 2.5: Based on the existing wired and wireless links between the central coordinator, the agent coordinator, and the sites, synchronously establish backup links corresponding to the wired and wireless links. When a node device (agent coordinator) in the system fails, the backup link is used to back up data, and the data transmission processing task continues through adjacent, unaffected node devices, improving system stability.
[0102] Step 2.6: After the proxy coordinator receives the access request from the site, it compares the load of the adjacent proxy coordinators. If the load difference between the proxy coordinator and the adjacent proxy coordinator exceeds the threshold and is higher than the load of the adjacent proxy coordinator, the access request is forwarded to the adjacent proxy coordinator and the site's access request is rejected. This ensures that the adjacent proxy coordinators have a more balanced and reasonable data task load, avoiding the problem of excessive data task load on a certain node (proxy coordinator) leading to slow local data transmission processing.
[0103] This embodiment further provides a computer device, including a processor and a memory, wherein the memory is used to store a computer program and the processor is used to execute the computer program to perform the above-described method.
[0104] It is understood that the method described in this embodiment can be executed by a single device, such as a computer or server, or it can be applied to a distributed scenario where multiple devices cooperate to complete the task. In a distributed scenario, one of the multiple devices may execute only one or more steps of the method described in this embodiment, and the multiple devices interact to complete the method. The processor can be implemented using a general-purpose CPU, microprocessor, application-specific integrated circuit, or one or more integrated circuits, and is used to execute relevant programs to implement the method described in this embodiment. The memory can be implemented using read-only memory (ROM), random access memory (RAM), static storage devices, and dynamic storage devices. The memory can store the operating system and other applications. When the method described in this embodiment is implemented through software or firmware, the relevant program code is stored in the memory and called and executed by the processor.
[0105] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Therefore, any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention should fall within the protection scope of the present invention.
Claims
1. An adaptive networking method for a power grid management system based on a heterogeneous dual-mode network, wherein the power grid management system includes a central coordinator, a proxy coordinator, and sites, characterized in that, The method includes: Within the area to be networked, a central coordinator is determined. The proxy coordinator connects to the central coordinator via a wired link, and the central coordinator obtains the location and data processing capability information of the proxy coordinator. Each agent coordinator establishes a wired link and sends a wireless networking request to the central coordinator through the wired link. The central coordinator responds with access permission for wireless networking based on the location and data processing capability of the agent coordinator. The proxy coordinator broadcasts the access license and establishes a wireless link with the central coordinator or a proxy coordinator that matches the access license. The site connects to the agent coordinator via a wired link and sends a wireless networking request to the agent coordinator via the wired link. The agent coordinator obtains the maximum data volume of the site and calculates the load after the site connects. Based on the calculated load, it determines whether to provide an access license for wireless access or forward the wireless networking request to the adjacent agent coordinator until a wireless connection is established between the site and the agent coordinator. In establishing a wired link between each agent coordinator, an agent coordinator with a data processing capacity less than a preset first data processing capacity threshold is cascaded with an agent coordinator with a data processing capacity greater than a preset second data processing capacity threshold, wherein the preset second data processing capacity threshold is greater than the preset first data processing capacity threshold. The central coordinator feeds back access permits for wireless networking based on the location and data processing capabilities of the proxy coordinators. The central coordinator feeds back the access permits to proxy coordinators whose data processing capabilities are greater than a preset second data processing capability threshold and / or less than a preset location distance threshold, so as to establish a wireless link with the central coordinator. The agent coordinator obtains the maximum data volume of the site and calculates the load after the site is connected, including: The agent coordinator records the historical load information of the site and obtains the historical maximum load of the site based on the historical load information. The agent coordinator obtains the frequency of the site's historical maximum load occurring per unit time. When the frequency of the site's historical maximum load within the unit time exceeds a preset frequency threshold, the load of the site after accessing the proxy coordinator is calculated based on the historical maximum load and the maximum data volume. When the frequency of the site's historical maximum load within a unit time is not greater than a preset frequency threshold, the site's historical maximum load is reduced until the frequency of the reduced site's historical maximum load within a unit time is greater than the frequency threshold. The load after the site is connected is calculated based on the reduced historical maximum load and the maximum data volume.
2. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to claim 1, characterized in that, The proxy coordinator broadcasts according to the access license, and the radio link established with the central coordinator or a proxy coordinator that matches the access license includes: After receiving the central access permission, the proxy coordinator broadcasts it, and the central coordinator receives the central access permission from the proxy coordinator and establishes a wireless link with the proxy coordinator. After receiving a proxy access license, the proxy coordinator broadcasts it. The proxy coordinator that matches the proxy access license receives the proxy access license from the proxy coordinator and establishes a wireless link with the proxy coordinator.
3. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to claim 1, characterized in that, The site accesses the proxy coordinator via a wired link and sends a wireless networking request to the proxy coordinator via the wired link. When the proxy coordinator receives the site's access request, it compares the load of the proxy coordinator with the load of the neighboring proxy coordinators. If the difference between the load of the proxy coordinator and the load of the neighboring proxy coordinator exceeds a threshold and is higher than the load of the neighboring proxy coordinator, the access request is forwarded to the neighboring proxy coordinator and the site's access request is rejected.
4. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to claim 1, characterized in that, The step of determining the access permission for wireless access or forwarding the wireless networking request to the neighboring agent coordinator based on the calculated load includes: When the load is less than the data processing capacity threshold of the agent coordinator, an access license for wireless access is issued. When the load exceeds the data processing capacity threshold of the proxy coordinator, the proxy coordinator, upon receiving the access request from the site, forwards the access request to the adjacent proxy coordinator and calculates the load after the site accesses the adjacent proxy coordinator, until a wireless connection is established between the site and the proxy coordinator.
5. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to any one of claims 1 to 4, characterized in that, After the power grid management system is networked, it also includes: Based on the existing wired and wireless links between the central coordinator, the agent coordinator, and the sites, backup links corresponding to the wired and wireless links are established synchronously. When a fault occurs in a proxy coordinator in the power grid management system, the backup link performs data backup and continues to complete the data transmission processing task through an adjacent proxy coordinator that has not experienced a fault.
6. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to any one of claims 1 to 4, characterized in that, When the proxy coordinator connects to the central coordinator via a wired link, the central coordinator verifies the area to which the proxy coordinator belongs: If the assigned area matches the central coordinator area, then the proxy coordinator is allowed to access; If the area to which the agent coordinator belongs does not match the area to which the central coordinator belongs, the agent coordinator's access information will be sent to its central coordinator, and the central coordinator will then send a wired link access request to the agent coordinator.
7. The adaptive networking method for a power grid management system based on a heterogeneous dual-mode network according to any one of claims 1 to 4, characterized in that, After the agent coordinator connects to the central coordinator via a wired link, it also includes: The central coordinator obtains access port data from the proxy coordinator; After the agent coordinator establishes a wireless link with the agent coordinator whose access license matches, the central coordinator disconnects the wired link with the agent coordinator. The central coordinator sends the access port data of the proxy coordinator to the proxy coordinator that has established a wireless link with the proxy coordinator, and the proxy coordinator that has established a wireless link with the proxy coordinator establishes a wired link with the proxy coordinator through the access port data.
8. A computer device comprising a processor and a memory, the memory being used to store a computer program, characterized in that, The processor is used to execute the computer program to perform the method as described in any one of claims 1 to 7.