CN-122001789-A - Method, device, equipment and medium for determining standby agent of dual-mode communication system
Abstract
The application relates to the technical field of power grid communication, in particular to a method, a device, equipment and a medium for determining a standby agent of a dual-mode communication system, wherein the method comprises the steps of determining the standby agent station according to the route communication success rate of a neighbor station of a current station in a last route period and the network level and the receiving signal-to-noise ratio of the neighbor station in the current route period if the communication between the current station and the current agent station in the dual-mode communication system is abnormal; and when the communication between the current site and the alternative proxy site is normal, initiating a proxy change request to the alternative proxy site, and carrying out routing communication through the alternative proxy site. Therefore, the problem that the long-time communication cannot be realized after the link is interrupted due to the fact that the agent change in the existing power grid dual-mode communication is delayed, and the requirements of power grid minute-level acquisition and reporting and high-frequency data acquisition are difficult to meet is solved, when the communication with the current agent fails, a feasible alternative agent station is timely selected, uplink data is sent to the alternative agent, and the communication success rate is improved.
Inventors
- YAN WEI
Assignees
- 北京易海正微科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260104
Claims (10)
- 1. A method for determining a standby agent of a dual mode communication system, comprising the steps of: Detecting the communication state of a current site and a current proxy site in a dual-mode communication system; If the communication between the current site and the current proxy site is abnormal, determining an alternative proxy site according to the route communication success rate of the neighbor site of the current site in the last route period and the network level and the receiving signal-to-noise ratio of the neighbor site in the current route period; Detecting the communication state of the current site and the alternative proxy site, and initiating a proxy change request to the alternative proxy site under the condition that the communication between the current site and the alternative proxy site is normal, so as to carry out routing communication through the alternative proxy site.
- 2. The method of claim 1, wherein the determining the alternative proxy station according to the success rate of the route communication of the neighbor station of the current station in the last route period and the network level and the received signal-to-noise ratio of the neighbor station in the current route period comprises: determining an initial candidate station whose network hierarchy is less than or equal to that of the current station based on the network hierarchy of the neighbor station; and determining the alternative proxy station according to the route communication success rate of the initial alternative station in the last route period and the received signal-to-noise ratio in the current route period.
- 3. The method of claim 2, wherein the determining the candidate agent station based on the success rate of the route communication in the last route period and the received signal-to-noise ratio in the current route period for the initial candidate station comprises: And selecting the station with the highest signal-to-noise ratio in the initial alternative station and the highest route communication success rate in the last route period as the alternative proxy station.
- 4. The method of claim 1, wherein detecting the communication status of the current station and the current proxy station in the dual-mode communication system comprises: Detecting whether the current site receives a receiving confirmation frame replied by the current agent site based on uplink data sent by the current site; And if the current site receives a receiving confirmation frame replied by the uplink data sent by the current agent site based on the current site, judging that the communication between the current site and the current agent site is normal, otherwise, judging that the communication between the current site and the current agent site is abnormal.
- 5. The method of claim 1, wherein the detecting the communication status of the current site with the alternative proxy site comprises: Detecting whether the current site receives a reception acknowledgement frame replied by the alternative proxy site based on uplink data sent by the current site; And if the current site receives a receiving confirmation frame replied by the uplink data sent by the alternative proxy site based on the current site, judging that the communication between the current site and the alternative proxy site is normal, otherwise, judging that the communication between the current site and the alternative proxy site is abnormal.
- 6. The method of claim 5, after determining that communication between the current site and the alternative proxy site is abnormal, comprising: controlling the current station to send uplink data to the alternative proxy station based on preset retransmission times; And if the current station still does not receive the receiving confirmation frame replied by the alternative proxy station based on the uplink data, reselecting a new alternative proxy station from the neighbor stations of the current station.
- 7. A standby agent determination apparatus of a dual mode communication system, comprising: The first detection module is used for detecting the communication state of the current site and the current proxy site in the dual-mode communication system; The standby agent determining module is used for determining a standby agent station according to the route communication success rate of the neighbor station of the current station in the last route period and the network level and the receiving signal-to-noise ratio of the neighbor station in the current route period if the communication between the current station and the current agent station is abnormal; And the second detection module is used for detecting the communication state of the current site and the alternative proxy site, and initiating a proxy change request to the alternative proxy site under the condition that the communication between the current site and the alternative proxy site is normal, so as to carry out routing communication through the alternative proxy site.
- 8. The apparatus of claim 7, wherein the backup agent determination module is further to: determining an initial candidate station whose network hierarchy is less than or equal to that of the current station based on the network hierarchy of the neighbor station; and determining the alternative proxy station according to the route communication success rate of the initial alternative station in the last route period and the received signal-to-noise ratio in the current route period.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the standby agent determination method of the dual mode communication system of any of claims 1-6.
- 10. A computer readable storage medium having stored thereon a computer program, the program being executable by a processor for implementing the standby agent determination method of the dual mode communication system of any of claims 1-6.
Description
Method, device, equipment and medium for determining standby agent of dual-mode communication system Technical Field The present application relates to the field of power grid communication technologies, and in particular, to a method, an apparatus, a device, and a medium for determining a standby agent of a dual-mode communication system. Background In a power grid dual-mode communication technology system, the judgment of the station communication success rate is realized by relying on neighbor station discovery lists, and specific statistical logic is shown in figure 1, wherein the number of neighbor station discovery lists received by a target station is counted in one routing period, after the next routing period is entered, the number of the discovery lists sent and received in the period is exchanged among stations, the communication success rate is calculated according to the number of the discovery lists, and finally an optimal proxy station is selected according to the success rate result, so that proxy change request operation is completed. However, the routing period varies according to the network scale, and can be gradually increased within 20-420 seconds, the larger the network is, the longer the routing period is, and in a real network environment, the routing period is more than 300 seconds. Once the links between the station and the proxy station are interfered and cannot be communicated, the current routing period is required to be ended, the proxy can be reselected to carry out proxy change request in the next routing period, the condition that communication cannot be carried out in a period of time is caused, the network maintenance efficiency is low, and the requirements of minute-level acquisition reporting and high-frequency data acquisition of a power grid are difficult to meet. Disclosure of Invention The application provides a standby agent determining method, device, equipment and medium of a dual-mode communication system, which are used for solving the problems that the agent change in the existing power grid dual-mode communication cannot communicate for a long time after a link is interrupted due to delay, and the requirements of power grid minute-level acquisition reporting and high-frequency data acquisition are difficult to meet. An embodiment of a first aspect of the present application provides a method for determining a standby proxy of a dual-mode communication system, including the steps of detecting a communication state between a current station and a current proxy station in the dual-mode communication system, if communication between the current station and the current proxy station is abnormal, determining a candidate proxy station according to a route communication success rate of a neighbor station of the current station in a previous route period and a network level and a received signal-to-noise ratio of the neighbor station in the current route period, detecting a communication state between the current station and the candidate proxy station, and initiating a proxy change request to the candidate proxy station under a normal condition of communication between the current station and the candidate proxy station, so as to perform route communication through the candidate proxy station. Optionally, the method for determining the alternative proxy station according to the route communication success rate of the neighbor station of the current station in the last route period and the network level and the receiving signal to noise ratio of the neighbor station in the current route period comprises the steps of determining an initial alternative station with the network level smaller than or equal to the network level of the current station based on the network level of the neighbor station, and determining the alternative proxy station according to the route communication success rate of the initial alternative station in the last route period and the receiving signal to noise ratio in the current route period. Optionally, the method comprises the step of determining the alternative proxy station according to the route communication success rate of the initial alternative station in the last route period and the received signal-to-noise ratio in the current route period, wherein the step of selecting the station with the highest signal-to-noise ratio in the initial alternative station and the highest route communication success rate in the last route period as the alternative proxy station. Optionally, the detecting the communication state between the current station and the current proxy station in the dual-mode communication system includes detecting whether the current station receives a reception confirmation frame replied by uplink data sent by the current proxy station based on the current station, if the current station receives the reception confirmation frame replied by uplink data sent by the current proxy station based on the current station, determin