Communication control method and device for distribution automation terminal
By acquiring communication performance data of distribution automation terminals, adjusting the wireless networking mode, and using a fault probability prediction model to calculate data transmission reliability, the communication stability and reliability issues of distribution automation terminals in complex environments were resolved, and stable data transmission was achieved.
Patent Information
- Application Number
- CN202511379584.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-25
- Publication Date
- 2025-12-16
AI Technical Summary
Existing power distribution automation terminals suffer from poor communication stability and low data transmission reliability in complex environments, especially in scenarios with weak wireless communication signals or heavy interference, making it difficult to guarantee stable data transmission.
By acquiring communication performance data from distribution automation terminals, the real-time signal strength is determined and the wireless networking mode is adjusted to either a Mesh network or a star network. Combined with a fault probability prediction model, the reliability of data transmission is calculated to ensure stable data transmission under different signal environments.
It improves the communication stability and data transmission reliability of distribution automation terminals in complex environments, ensures the reliable transmission of important data, and enhances the operational safety of the distribution system.
Smart Images

Figure CN121151985A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power distribution equipment, in particular to a communication control method and device of a power distribution automation terminal. BACKGROUND
[0002] The power distribution network automation terminal connects the system master station of the power grid company through a set of communication encryption modules, feeds back the real-time state information of the power distribution line, and remotely controls the on-site switch, so that the real-time online of the power distribution network automation terminal plays a crucial role in the operation, maintenance and repair of the power distribution network.
[0003] In the power distribution system, the main communication methods are optical fiber communication and wireless communication. Optical fiber communication has stable signals and high online rate, but the cost is high. Therefore, in the power distribution system, the widely used wireless communication method is usually used for communication, but the online rate of the wireless communication method fluctuates greatly. In the actual application, for the power distribution network automation terminal in the weak signal outdoor remote area, or in the complex environment of the indoor power distribution room (usually in the basement) with many buildings, the communication signal quality and signal strength of the general wireless communication method are poor, and there are many interferences, which cannot make the terminal online and keep stable online, and it is difficult to ensure the stable transmission of data of the power distribution network automation terminal, resulting in poor transmission data reliability.
[0004] Therefore, how to improve the communication stability and data transmission reliability of the power distribution automation terminal has become a technical problem to be solved. SUMMARY
[0005] The present application provides a communication control method and device of a power distribution automation terminal, which solves the technical problems of poor communication stability and poor data transmission reliability of the existing power distribution automation terminal when facing complex environment.
[0006] In one aspect, the present application provides a communication control method of a power distribution automation terminal, comprising:
[0007] Obtaining communication performance data of the target power distribution automation terminal, the communication performance data comprising: historical fault data, real-time signal strength, signal-to-noise ratio and link connection state;
[0008] When it is determined that the real-time signal strength is less than a preset signal strength threshold, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type transmitted by the target power distribution automation terminal is determined, when the data type is not first transmission data, the data transmission reliability terminal value is calculated according to the communication performance data; when the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the power distribution automation system master station;
[0009] When it is determined that the real-time signal strength is not less than the signal strength threshold value, and the data type is second transmission data, the second transmission data is transmitted in a star network mode, and after a first preset time delay, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network, and the step of calculating a data transmission reliability final value according to the communication performance data and transmitting the data transmission reliability final value to a power distribution automation system master station is performed.
[0010] Optionally, the calculating of the data transmission reliability final value according to the communication performance data comprises:
[0011] The historical failure data, the real-time signal strength, the signal-to-noise ratio and the link connection state are input into a pre-constructed failure probability prediction model to obtain a communication failure probability.
[0012] According to the communication failure probability, a data transmission reliability initial value is calculated.
[0013] An RSSI fluctuation rate is obtained, and a probability factor corresponding to the RSSI fluctuation rate is determined.
[0014] According to the probability factor and the data transmission reliability initial value, a data transmission reliability final value is calculated.
[0015] Optionally, the failure probability prediction model comprises a first failure probability prediction model and a second failure probability prediction model, and the inputting of the historical failure data, the real-time signal strength, the signal-to-noise ratio and the link connection state into the pre-constructed failure probability prediction model to obtain the communication failure probability comprises:
[0016] The historical failure data, the real-time signal strength, the signal-to-noise ratio and the link connection state are input into the first failure probability prediction model and the second failure probability prediction model to obtain a first failure probability and a second failure probability.
[0017] According to the first failure probability and the second failure probability, a weighted calculation is performed to obtain the communication failure probability.
[0018] Optionally, the method further comprises:
[0019] When the data type is first transmission data, or the data transmission reliability final value is less than a reliability threshold value corresponding to the data type, the data transmission is ended.
[0020] Another aspect of the application also provides a communication control method of a power distribution automation terminal, applied to a power distribution automation system master station, and the method comprises:
[0021] acquire communication performance data of a target power distribution automation terminal; the communication performance data comprises historical fault data, real-time signal strength, signal-to-noise ratio and link connection state;
[0022] when it is determined that the real-time signal strength is less than a preset signal strength threshold, an adjustment signal is issued to the target power distribution automation terminal, so that the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type of the to-be-transmitted data is determined, and when the data type is not third transmission data, a data transmission reliability final value is determined according to the communication performance data; when the data transmission reliability final value is not less than a reliability threshold corresponding to the data type, data corresponding to the data type is transmitted to the target power distribution automation terminal;
[0023] when it is determined that the real-time signal strength is not less than the signal strength threshold and the data type is not third transmission data, the to-be-transmitted data is transmitted in a star network mode, and after a first preset time delay, the adjustment signal is issued to the target power distribution automation terminal, and the steps of determining the data transmission reliability final value according to the communication performance data and transmitting to the target power distribution automation terminal are performed.
[0024] Optionally, the calculation of the data transmission reliability final value according to the communication performance data comprises:
[0025] the historical fault data, the real-time signal strength, the signal-to-noise ratio and the link connection state are input into a pre-constructed fault probability prediction model to obtain a communication fault probability;
[0026] a data transmission reliability initial value is calculated according to the communication fault probability;
[0027] an RSSI fluctuation rate is acquired, and a probability factor corresponding to the RSSI fluctuation rate is determined;
[0028] the data transmission reliability final value is calculated according to the probability factor and the data transmission reliability initial value.
[0029] Optionally, the fault probability prediction model comprises a first fault probability prediction model and a second fault probability prediction model, and the input of the historical fault data, the real-time signal strength, the signal-to-noise ratio and the link connection state into the pre-constructed fault probability prediction model to obtain the communication fault probability comprises:
[0030] the historical fault data, the real-time signal strength, the signal-to-noise ratio and the link connection state are input into the first fault probability prediction model and the second fault probability prediction model to obtain a first fault probability and a second fault probability;
[0031] According to the first failure probability and the second failure probability, a communication failure probability is calculated by weighting.
[0032] Optionally, the obtaining of the communication performance data of the target power distribution automation terminal comprises:
[0033] issuing a first control signal to the target power distribution automation terminal, and determining whether the target power distribution automation terminal returns communication performance data and communication time delay within a preset time period; if not, outputting communication failure;
[0034] if yes, determining whether the data type of the to-be-transmitted data is first transmission data, and whether the communication time delay is less than a second preset time length; if both are yes, ending transmission, otherwise, retaining the communication performance data.
[0035] Optionally, the method further comprises: when the data type is third transmission data, or the data transmission reliability final value is greater than the reliability threshold corresponding to the data type, saving the to-be-transmitted data and ending transmission.
[0036] Another aspect of the present application also provides a communication control device of a power distribution automation terminal, the device comprising: a Mesh wireless communication module, a Mesh relay device, a Mesh convergence gateway and a control module for executing the method as described above;
[0037] The Mesh wireless communication module is arranged in the power distribution automation terminal and is connected with the control module, the Mesh relay device and the Mesh convergence gateway respectively,
[0038] The Mesh relay device is arranged in a power distribution automation terminal adjacent to the target power distribution automation terminal and is connected with the Mesh convergence gateway;
[0039] The Mesh convergence gateway is connected with a power distribution automation system master station;
[0040] The control module is connected with the Mesh wireless communication module, the Mesh relay device and the Mesh convergence gateway respectively.
[0041] From the above technical solutions, the present application has the following advantages:
[0042] In one aspect, the application provides a power distribution automation terminal communication control method applied to a target power distribution automation terminal, by acquiring communication performance data of the target power distribution automation terminal, and determining whether the real-time signal strength is less than a preset signal strength threshold, and determining the wireless networking mode of the target power distribution automation terminal according to the determination result, thereby providing a communication mode adapted to the current environment for the interaction between the target power distribution automation terminal and the system master station, improving the stability of communication, and in the application, when it is determined that the real-time signal strength is less than the preset signal strength threshold, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type transmitted by the target power distribution automation terminal is determined, when the data type is not first transmission data, the data transmission reliability terminal value is calculated according to the communication performance data; when the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the power distribution automation system master station, thereby after adjusting the wireless networking mode, it is determined whether to continue transmitting data by calculating the data transmission reliability terminal value and determining the data type required to be transmitted, improving the reliability of the transmitted data while improving the stability of the communication. And in the application, when it is determined that the real-time signal strength is not less than the signal strength threshold, and the data type is second transmission data, the second transmission data is transmitted in a star network mode, and after a first preset time delay, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network, and the steps of calculating the data transmission reliability terminal value according to the communication performance data and transmitting to the power distribution automation system master station are executed, further improving the reliability of data transmission.
[0043] In another aspect, the application also provides a communication control method of a power distribution automation terminal applied to a master station of a power distribution automation system, which comprises the following steps: acquiring communication performance data of the target power distribution automation terminal; the communication performance data comprises real-time signal strength, communication time delay, signal-to-noise ratio and link connection state; and determining the wireless networking mode of the target power distribution automation terminal according to the judgment result, so as to provide a communication mode adapted to the current environment for the interaction between the target power distribution automation terminal and the master station of the system, and improve the stability of communication. In the application, when it is determined that the real-time signal strength is less than a preset signal strength threshold, an adjustment signal is sent to the target power distribution automation terminal, so that the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type of the data to be transmitted is determined, and when the data type is not the third transmission data, the data transmission reliability terminal value is determined according to the communication performance data; when the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the target power distribution automation terminal; so that after the wireless networking mode is adjusted, whether to continue transmitting data is determined by determining the data transmission reliability terminal value and the data type to be transmitted, the reliability of the transmitted data is improved while the stability of communication is improved; and in the application, when it is determined that the real-time signal strength is not less than the signal strength threshold, and the data type is not the third transmission data, the star network mode is adopted to transmit the data to be transmitted, and after a first preset time delay, the adjustment signal is sent to the target power distribution automation terminal, and the steps of determining the data transmission reliability terminal value according to the communication performance data and transmitting the data to the target power distribution automation terminal are performed, so as to further improve the reliability of data transmission. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0045] Figure 1 The flowchart of the communication control method of the power distribution automation terminal applied to the power distribution automation terminal is provided for the embodiments of the present application.
[0046] Figure 2 The flowchart of the communication control method of the power distribution automation terminal is provided for the application example of the present application.
[0047] Figure 3 The flowchart of the communication control method of the power distribution automation terminal applied to the power distribution automation system master station is provided for the embodiments of the present application.
[0048] Figure 4 A flowchart of a communication control method of a power distribution automation terminal according to another application example of the present application is shown in FIG. 1.
[0049] Figure 5 A structural diagram of a communication control device of a power distribution automation terminal according to an embodiment of the present application is shown in FIG. 2.
[0050] Figure 6 A data transmission diagram according to an embodiment of the present application is shown in FIG. 3.
[0051] Figure 7 Another structural diagram of a communication control device of a power distribution automation terminal according to an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION
[0052] The communication control method and device of the power distribution automation terminal according to the embodiments of the present application are used to solve the technical problems of poor communication stability and poor data transmission reliability of the existing power distribution automation terminal when facing complex environments.
[0053] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the following described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0054] It should be noted that the communication control method of the power distribution automation terminal provided by the present application is applied in a power distribution system, and can be specifically applied in the interaction scene between the power distribution automation terminal and the main station of the power distribution automation system. The transmission from the power distribution automation terminal to the main station of the power distribution automation system is uplink data transmission, and the transmission from the main station of the power distribution automation system to the power distribution automation terminal is downlink data transmission.
[0055] Referring to FIG. 1, Figure 1 The communication control method of the power distribution automation terminal provided by the present application is applied in the power distribution automation terminal, and is specifically applied in uplink data transmission. The method comprises the following steps.
[0056] 101、Obtain the communication performance data of the target power distribution automation terminal, wherein the communication performance data comprises historical fault data, real-time signal strength, signal-to-noise ratio and link connection state.
[0057] It should be noted that the target power distribution automation terminal refers to a power distribution automation terminal with unstable or offline wireless communication. In the present application, the power distribution automation terminal can be a 10KV power distribution automation switch. The protection action mode of the target power distribution automation terminal is a local control mode. The local control mode refers to a control mode for fault detection, isolation and recovery through only the local intelligent logic of the switch or simple peer-to-peer communication (such as between adjacent switches) without relying on the master station or remote communication.
[0058] The historical fault data refers to the records of all communication interruption, anomalies, errors or performance degradation events and related information recorded by the system in the past. In one example, the historical fault data can be the fault communication device name and model, the fault occurrence time, the signal strength (RSRP) before and after the fault, the signal-to-noise ratio (SINR) before and after the fault, the network delay value before and after the fault, the fault type, the historical fault frequency, the historical average signal strength, the historical average signal strength variance, the signal drop trend, and the time length since the last fault. The real-time link connection state includes an online state, an offline state, and a reconnecting state.
[0059] Among them, the signal strength, the signal-to-noise ratio, and the link connection state are recorded in real time in the communication module built in the power distribution automation switch. The offline time and the fault type (signal interruption, protocol timeout, etc.) are recorded in the communication module built in the power distribution automation switch.
[0060] 102、When it is determined that the real-time signal strength is less than the preset signal strength threshold, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type transmitted by the target power distribution automation terminal is determined, and when the data type is not first transmission data, a data transmission reliability final value is calculated according to the communication performance data; when the data transmission reliability final value is not less than a reliability threshold corresponding to the data type, data corresponding to the data type is transmitted to the power distribution automation system master station.
[0061] In one embodiment, when the data type is first transmission data, or the data transmission reliability final value is less than the reliability threshold corresponding to the data type, the data transmission is ended.
[0062] It should be noted that the wireless networking mode of the target power distribution automation terminal includes a star network and a Mesh network.
[0063] Among them, the star network is an existing mature networking method, and is a commonly used communication method between the power distribution automation system master station and the power distribution automation terminal. The structure specifically includes that the power distribution automation system master station is a central node, each power distribution automation terminal is a node, each node is connected to the central node, and the node only communicates with the central node.
[0064] The mesh network comprises a mesh wireless communication module, a mesh relay device, and a mesh convergence gateway. The mesh wireless communication module is installed in the target power distribution automation terminal and connected with the mesh relay device and the mesh convergence gateway. The mesh relay device is installed in the power distribution automation terminal adjacent to the target power distribution automation terminal and connected with the mesh wireless communication module and the mesh convergence gateway. The mesh convergence gateway is in communication connection with the main station of the power distribution automation system and used to transmit data of the mesh wireless communication module and the mesh relay device to the main station of the power distribution automation system. The mesh wireless communication module can transmit data to the main station of the power distribution automation system through the mesh convergence gateway or transmit data to the mesh relay device first, and the mesh relay device forwards and transmits the received data to the corresponding mesh relay device or mesh convergence gateway, and then transmits the data to the main station of the power distribution automation system through the mesh convergence gateway. The mesh convergence gateway serves as a bridge for communication between the mesh network and the main station, supports protocol conversion (such as MQTT to IEC 104) and backhaul (4G / optical fiber).
[0065] The data transmitted by the power distribution automation system main station and the target power distribution automation terminal in interaction can be divided into three categories, namely first transmission data, second transmission data, and third transmission data. The first transmission data is a remote control signal, the second transmission data is the open state and the closed state of the target power distribution automation terminal, and the third transmission data is the voltage and current of the target power distribution automation terminal. When the target power distribution automation terminal transmits data to the power distribution automation system main station, the second transmission data represents the state of the target power distribution automation terminal, and when the power distribution automation system main station transmits the second transmission data to the target power distribution automation terminal, the second transmission data is used to indicate the state that the power distribution automation system main station expects the target power distribution automation terminal to reach. The power distribution automation system main station does not issue the third transmission data to the target power distribution automation terminal, and the third transmission data is uploaded by the target power distribution automation terminal. The target power distribution automation terminal does not upload the first transmission data, and the first transmission data is issued by the power distribution automation system main station. The data transmission reliability terminal value is used to feedback the communication stability and reliability of the current mesh network.
[0066] After the communication performance data is obtained, it is determined whether the real-time signal strength is less than the preset signal strength threshold. If yes, it indicates that the current communication environment quality of the target power distribution automation terminal is poor, and at this time, the wireless networking mode of the target power distribution automation terminal is adjusted to the mesh network, and the subsequent data required for transmission is sent to the power distribution automation main station in the mesh network communication mode.
[0067] Specifically, the target power distribution automation terminal determines the data type to be transmitted according to the data transmission requirement of itself, when the data type is the first transmission data, it means that the data to be transmitted is incorrect, and the data transmission process is ended. When the data type is not the first transmission data, the data transmission reliability is calculated according to the communication performance data. The second transmission data and the third transmission data have corresponding reliability thresholds respectively, when the data transmission type is determined to be the second transmission data, it is judged whether the data reliability is not less than the reliability threshold corresponding to the second transmission data, if yes, it means that the data transmission can be stable, therefore, the second transmission data and the data reliability terminal value are transmitted to the power distribution automation system master station. The third transmission data is the same.
[0068] When the data reliability terminal value is determined to be less than the reliability threshold corresponding to the data type, it means that the data transmission reliability is too low, and it is not suitable to upload this data, so as to avoid the transmission data being incorrect or missing due to low communication reliability, thereby affecting the decision of the operation and maintenance personnel, therefore, the data transmission is ended. In another example, after the data transmission is ended, the data corresponding to the data type can also be saved locally, which is convenient for the operation and maintenance personnel to export and analyze the problem.
[0069] 103、When the real-time signal strength is determined to be not less than the signal strength threshold, and the data type is the second transmission data, the second transmission data is transmitted by using the star network mode, and after delaying for a first preset time length, the wireless networking mode of the target power distribution automation terminal is adjusted to the Mesh network, and the step of calculating the data transmission reliability terminal value according to the communication performance data and transmitting it to the power distribution automation system master station is performed.
[0070] It should be noted that when the real-time signal strength is determined to be not less than the signal strength threshold, it means that the communication of the original wireless communication module is stable (i.e. the original star network), the data transmission can be performed by using the star network, and when the data type is determined to be the second transmission data, after the data transmission is performed by using the star network, the wireless networking mode is adjusted to the Mesh network after delaying for a first preset time length, the data transmission reliability terminal value is calculated according to the communication performance data, when the data transmission reliability terminal value is not less than the reliability threshold corresponding to the second transmission data, the data transmission reliability terminal value and the second transmission data are transmitted to the power distribution automation system master station, thereby the transmission of the second transmission data is performed by using two communication modes, the transmission of the relatively important second transmission data is double-protected, the data transmission reliability is improved, and the safety of the power distribution system operation is improved.
[0071] The embodiment obtains the communication performance data of the target power distribution automation terminal, judges whether the real-time signal strength is less than the preset signal strength threshold, and determines the wireless networking mode of the target power distribution automation terminal according to the judgment result, so as to provide a communication mode suitable for the current environment for the interaction between the target power distribution automation terminal and the system master station, improve the stability of communication, and when it is determined that the real-time signal strength is less than the preset signal strength threshold, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type transmitted by the target power distribution automation terminal is determined, when the data type is not the first transmission data, the data transmission reliability terminal value is calculated according to the communication performance data; when the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the power distribution automation system master station, so that after adjusting the wireless networking mode, whether to continue transmitting data is determined by calculating the data transmission reliability terminal value and determining the data type required to be transmitted, while improving the stability of communication, the reliability of the transmitted data is improved. Moreover, in the embodiment, when it is determined that the real-time signal strength is not less than the signal strength threshold, and the data type is the second transmission data, the second transmission data is transmitted in a star network mode, and after delaying for a first preset time length, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network, and the steps of calculating the data transmission reliability terminal value according to the communication performance data and transmitting to the power distribution automation system master station are executed, further improving the reliability of data transmission.
[0072] In one embodiment, the calculation of the data transmission reliability terminal value according to the communication performance data in steps 102 and 103 comprises:
[0073] 10, input the historical fault data, real-time signal strength, signal-to-noise ratio and link connection state into the pre-constructed fault probability prediction model to obtain the communication fault probability.
[0074] It should be noted that the fault probability prediction module is pre-constructed and trained, and is used to evaluate the wireless communication fault probability between the current target power distribution automation terminal and the power distribution automation system master station.
[0075] In one example, the fault probability prediction model includes a first fault probability prediction model and a second fault probability prediction model. The first fault probability prediction model is a random forest model, and the second fault probability prediction model is a LightGBM model. The LightGBM model predicts the fault occurrence probability, the random forest model involves feature importance analysis, and finally the results of the above two models are fused by weight proportion to form the risk classification output result.
[0076] Specifically, step 10 specifically includes the following substeps:
[0077] 1011. Input historical fault data, real-time signal strength, signal-to-noise ratio and link connection status into the first fault probability prediction model and the second fault probability prediction model to obtain the first fault probability and the second fault probability.
[0078] 1012. The communication failure probability is obtained by weighting the first failure probability and the second failure probability.
[0079] It should be noted that the features analyzed by the random forest model can include real-time signal strength (RSRP), real-time signal-to-noise ratio (SINR), real-time link connection status (e.g., online, offline, reconnecting), and historical fault data. The output of the random forest model includes: the communication fault probability value obtained under the current input (value between 0 and 1); and the importance score of each feature analyzed by the current random forest model (value between 0 and 1, and the algebraic sum of all importance scores is 1).
[0080] In this step, real-time signal strength, signal-to-noise ratio, link status, and historical fault data are input into the LightGBM model and the Random Forest model, respectively. Each of these models can obtain a fault probability value, such as P1 for the LightGBM model and P2 for the Random Forest model. The communication fault probability is then obtained by weighting the probability values output by the LightGBM model and the Random Forest model.
[0081] In one example, the formula for weighted calculation could be:
[0082] P = a1*P1 + a2*P2,
[0083] a2=1-a1
[0084] Where P is the probability of communication failure, and a1 is greater than 0.5 and less than 0.7.
[0085] 20. Calculate the initial value of data transmission reliability based on the communication failure probability.
[0086] It should be noted that the initial value for data transmission reliability is 1 minus the probability of communication failure.
[0087] In one example, the calculation formula for this step could be:
[0088] Zi = 1 - P
[0089] Zi is the initial value for data transmission reliability.
[0090] For example, assuming the communication failure probability is 0.1, the initial value for data transmission reliability is 1 - 0.1 = 0.9.
[0091] 30. Obtain the RSSI fluctuation rate, and determine the probability factor corresponding to the RSSI fluctuation rate;
[0092] It should be noted that the RSSI fluctuation rate refers to the fluctuation rate of the wireless signal strength within a certain time, and the fluctuation rate within 5 minutes is taken in this step, with 10 seconds as a sampling interval. The average value of the wireless signal strength RSSI of all sampling points within 5 minutes is RSSI 平均 , and RSSI i is the wireless signal strength of the current ith sampling point.
[0093] The mathematical expression of the RSSI fluctuation rate obtained in this step can be as follows:
[0094]
[0095] The probability factor p corresponding to the RSSI fluctuation rate can be determined by the following formula.
[0096]
[0097] 40. Calculate the final value of the data transmission reliability according to the probability factor and the initial value of the data transmission reliability.
[0098] It should be noted that the calculation formula of the final value of the data transmission reliability is as follows:
[0099]
[0100] Wherein, Z i is the initial value of the data transmission reliability, and Z f is the final value of the data transmission reliability.
[0101] It should be noted that the value range of Z f is [0, 1]. When the result is 1, it means absolute reliability, indicating that the communication success probability is 100%, and the data transmission reliability is 100%. When the result is 0, it means unreliability, indicating that the communication success probability is 0%, and the data transmission reliability is 0%. When the result is 0.9, the communication success probability is 90%, and the data transmission reliability is 90%. Similarly.
[0102] As can be seen from the above, in this embodiment, the real-time signal strength, signal-to-noise ratio, link connection state and historical fault data are taken as inputs, the hybrid model algorithm of "LightGBM+Random Forest" is used to calculate the fault probability P (value range [0, 1]) and the corresponding initial value of the data transmission reliability Z i , and the initial value of the data transmission reliability Z i is corrected by using the above formula to obtain the final value of the data transmission reliability, which provides effective and accurate data support for the judgment of communication quality and stability.
[0103] In one example, the signal strength threshold value can be set as -95dBm.
[0104] In one application, referring to Figure 2 When the method provided by the embodiment of the application is applied to a power distribution automation switch, the process steps can include
[0105] S11: dividing the transmission data of the target power distribution automation switch into three categories, setting the protection action mode of the target power distribution automation switch as the on-site control mode, setting the wireless signal strength alarm threshold value of the target power distribution automation switch, and setting the wireless networking mode of the target power distribution automation switch as the star network;
[0106] S12: obtaining the historical fault data of the wireless communication module of the target power distribution automation switch, and the real-time signal strength, signal-to-noise ratio, and link connection state;
[0107] S13: judging whether the real-time signal strength of the target power distribution automation switch is less than the wireless signal strength alarm threshold value (i.e., the signal strength threshold value), if yes, executing S14, otherwise, jumping to S15;
[0108] S14: setting the wireless networking mode of the target power distribution automation switch as the Mesh network, returning the data transmission reliability final value according to the transmission data type of the target power distribution automation switch, and jumping to S17;
[0109] S15: judging whether the transmission data type of the target power distribution automation switch is the second transmission data, if yes, executing S16, otherwise, jumping to S22;
[0110] S16: backing up the data, transmitting the data of the target power distribution automation switch by using the star network mode, delaying for 1 minute, and then executing S14;
[0111] S17: judging whether the transmission data type of the target power distribution automation switch is the second transmission data, if no, executing S18, if yes, executing S19;
[0112] S18: currently transmitting the third transmission data, judging whether the data transmission reliability final value Z f is greater than and equal to 0.5, if yes, executing S20, otherwise, executing S21;
[0113] S19: judging whether the data transmission reliability final value Z f is greater than and equal to 0.7, if yes, executing S20, otherwise, executing S21;
[0114] S20: transmitting the data transmission reliability final value and the corresponding data to the power distribution automation system master station, and ending.
[0115] S21: save the data, output communication failure, end;
[0116] S22: directly transmit the data of the target power distribution automation switch to the power distribution automation system master station in a star network mode, and end.
[0117] In one embodiment, when the real-time signal strength continuously falls below the signal strength threshold or the power distribution automation terminal is frequently detected to be offline, a preconfigured operation can be automatically performed. The preconfigured operation includes switching to a backup communication module (if configured), adjusting the transmission power, attempting to reinitialize the connection, or sending an alarm to a neighboring node (under a mesh network).
[0118] Referring to Figure 3 The application provides a communication control method of a power distribution automation terminal, which is applied to a power distribution automation system master station, i.e., a scenario in which the power distribution automation system master station transmits data to a target power distribution automation terminal (i.e., downlink data transmission). The method comprises the following steps:
[0119] 201: obtaining communication performance data of the target power distribution automation terminal; the communication performance data includes historical fault data, real-time signal strength, signal-to-noise ratio, and link connection state.
[0120] It should be noted that the communication performance data can be referred to step 101, which will not be described here.
[0121] The step 201 specifically comprises the following steps:
[0122] issuing a first control signal to the target power distribution automation terminal, and determining whether the target power distribution automation terminal returns the communication performance data and the communication time delay within a preset time period; if not, outputting a communication failure; if yes, determining whether the data type of the data to be transmitted is the first transmission data, and whether the communication time delay is less than a second preset time length; if both are yes, ending the transmission, otherwise, retaining the communication performance data.
[0123] It should be noted that the first control signal is a reliability determination signal, which is used to instruct the target power distribution automation terminal to return the communication performance data and the communication time delay. The data to be transmitted refers to the data that the power distribution automation system master station is ready to send to the target power distribution automation terminal.
[0124] When the target power distribution automation terminal does not return the above data within the preset time period, it indicates that the communication fails, and the data transmission between the two ends is ended. If it is returned within the preset time period, it is determined whether the data type of the data to be transmitted is the first transmission data, and whether the communication time delay is less than the second preset time length; if both are yes, it is determined that the communication fails, the transmission is ended, otherwise, the communication performance data is retained as the final communication performance data obtained in step 201.
[0125] It can be understood that the power distribution automation master station has a higher requirement for the communication time delay when issuing the first transmission data, and therefore, when it is determined that the data to be transmitted is the first transmission data and the communication time delay is less than the second preset time length, it is indicated that the current communication state is not suitable for transmitting the first transmission data, and therefore, it is determined that the communication fails and the transmission is ended.
[0126] After obtaining the communication performance data, it is determined whether the real-time signal strength in the communication performance data is less than a preset signal strength threshold. If yes, step 202 is performed, and if not, step 203 is performed.
[0127] 202. When it is determined that the real-time signal strength is less than the preset signal strength threshold, an adjustment signal is issued to the target power distribution automation terminal, so that the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network. The data type of the data to be transmitted is determined, and when the data type is not the third transmission data, the data transmission reliability terminal value is determined according to the communication performance data. When the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the target power distribution automation terminal.
[0128] It should be noted that when it is determined that the real-time signal strength is less than the preset signal strength threshold, it is indicated that the communication quality of the current star network is poor, and therefore, the adjustment signal is issued to the target power distribution automation terminal. After receiving the adjustment signal, the target power distribution automation terminal responds to the adjustment signal and adjusts the wireless networking mode of itself to a Mesh network.
[0129] Before transmission, the power distribution automation system master station determines the data type of the data to be transmitted. When it is determined that the data type is not the third transmission data (i.e., the first transmission data or the second transmission data), the power distribution automation system master station determines the data transmission reliability terminal value according to the communication performance data, and determines whether the data transmission reliability terminal value is not less than the reliability threshold corresponding to the data type. If yes, it is indicated that the communication quality of the current Mesh network is good, and data transmission can be performed, and therefore, the data corresponding to the data type is transmitted to the target power distribution automation terminal.
[0130] In this embodiment, the reliability thresholds corresponding to the first transmission data and the second transmission data can be the same.
[0131] 203. When it is determined that the real-time signal strength is not less than the signal strength threshold and the data type is not the third transmission data, the data to be transmitted is transmitted in a star network mode, and after a first preset time length is delayed, an adjustment signal is issued to the target power distribution automation terminal, and the steps of determining the data transmission reliability terminal value according to the communication performance data and transmitting the data to the target power distribution automation terminal are performed.
[0132] In one embodiment, when the data type is the third transmission data, or the data transmission reliability final value is greater than the reliability threshold corresponding to the data type, the to-be-transmitted data is saved, and the transmission is ended.
[0133] It should be noted that when it is determined that the real-time signal strength is not less than the preset signal strength threshold, it indicates that the communication quality of the star network is good, and the star network can be used for data transmission. However, since the power distribution automation master station does not issue the third transmission data, when it is determined that the data type is the third transmission data, it indicates that the data is incorrect, and the transmission is ended. When the data type is the first transmission data or the second transmission data, the star network is used for data transmission, and then after a delay of the first preset time length, an adjustment signal is issued to the target power distribution automation terminal. The target power distribution automation terminal will respond to the adjustment signal and adjust its wireless networking mode to the Mesh network. Then, the power distribution automation system master station can determine the data transmission reliability final value according to the communication performance data, and judge whether the data transmission reliability final value is not less than the reliability threshold corresponding to the data type. If yes, it indicates that the communication quality of the Mesh network is good, and data transmission can be performed, so the data corresponding to the data type is transmitted to the target power distribution automation terminal.
[0134] When the data transmission reliability final value is less than the reliability threshold corresponding to the data type, it indicates that the communication quality of the Mesh network is poor, so no data transmission is performed, the to-be-transmitted data is saved, and the transmission process is ended.
[0135] In one embodiment, the communication performance data obtained in step 201 can be historical fault data, real-time signal strength, signal-to-noise ratio, and link connection state. The power distribution automation system master station can calculate the data transmission reliability final value according to the communication performance data, and the calculation steps include:
[0136] S101, input the historical fault data, real-time signal strength, signal-to-noise ratio, and link connection state into a pre-constructed fault probability prediction model to obtain a communication fault probability.
[0137] It should be noted that the fault probability prediction model is pre-constructed and trained, and is used to evaluate the wireless communication fault probability between the current power distribution automation terminal and the power distribution automation system master station.
[0138] In one example, the fault probability prediction model includes a first fault probability prediction model and a second fault probability prediction model. The first fault probability prediction model is a random forest model, and the second fault probability prediction model is a LightGBM model. The LightGBM model predicts the fault occurrence probability, the random forest model involves feature importance analysis, and finally the results of the above two models are fused by weight ratio to form the final risk classification output result.
[0139] Specifically, step S101 specifically includes the following sub-steps:
[0140] S1011, input the historical fault data, real-time signal strength, signal-to-noise ratio and link connection state into the first fault probability prediction model and the second fault probability prediction model to obtain the first fault probability and the second fault probability.
[0141] S1012, according to the first fault probability and the second fault probability, the communication fault probability is calculated by weighting.
[0142] It should be noted that the features analyzed by the random forest model can include real-time signal strength (RSRP), real-time signal-to-noise ratio (SINR), real-time link connection state (such as online, offline, reconnecting), and historical fault data. The output results of the random forest model include: the communication fault probability value (the numerical value is between 0 and 1) obtained under the current input; the importance score of each feature in the current random forest model analysis (the numerical value is between 0 and 1, and the sum of all importance scores is 1).
[0143] In this step, real-time signal strength, signal-to-noise ratio, link connection state and historical fault data are input into LightGBM model and random forest model respectively. Both models can obtain a fault probability value, such as P1 for LightGBM model and P2 for random forest model. Then the communication fault probability is obtained by weighting the probability values output by LightGBM model and random forest model.
[0144] In one example, the formula for weighting calculation can be:
[0145] P=a1*P1+a2*P2,
[0146] a2=1-a1
[0147] Where P is the communication fault probability, a1 is greater than 0.5 and less than 0.7.
[0148] S102, according to the communication fault probability, the data transmission reliability initial value is calculated.
[0149] It should be noted that the data transmission reliability initial value is 1 minus the communication fault probability.
[0150] In one example, the calculation formula of this step can be:
[0151] Zi=1-P
[0152] Zi is the data transmission reliability initial value.
[0153] For example, assuming that the communication failure probability is 0.1, the data transmission reliability initial value is 1-0.1=0.9.
[0154] S103, acquiring the RSSI fluctuation rate and determining the probability factor corresponding to the RSSI fluctuation rate;
[0155] It should be noted that the RSSI fluctuation rate refers to the fluctuation rate of the wireless signal strength within a certain time, and the fluctuation rate within 5 minutes is taken in this step, with 10 seconds as a sampling interval, and the average value of the wireless signal strength RSSI of all sampling points within 5 minutes as RSSI 平均 , RSSI i is the wireless signal strength of the current ith sampling point.
[0156] The mathematical expression of the RSSI fluctuation rate obtained in this step can be as follows:
[0157]
[0158] The probability factor p corresponding to the RSSI fluctuation rate can be determined by the following formula.
[0159]
[0160] S104, calculating the data transmission reliability final value according to the probability factor and the data transmission reliability initial value.
[0161] It should be noted that the calculation formula of the data transmission reliability final value is as follows:
[0162]
[0163] Wherein, Z i is the data transmission reliability initial value, and Z f is the data transmission reliability final value
[0164] It should be noted that the value range of Z f is [0, 1], when the result is 1, it means absolute reliability, which means that the communication success probability is 100%, and the data transmission reliability is 100%, when the result is 0, it means that it is unreliable, which means that the communication success probability is 0%, and the data transmission reliability is 0%; when the result is 0.9, the communication success probability is 90%, and the data transmission reliability is 90%, and so on.
[0165] As can be seen from the above, in this embodiment, the real-time signal strength, the signal-to-noise ratio, the link connection state and the historical failure data are taken as inputs, and the hybrid model algorithm of “LightGBM+Random Forest” is used to calculate the communication failure probability P (the value range is [0, 1]) and the corresponding data transmission reliability initial value Z iAnd the data transmission reliability final value is obtained by correcting the data transmission reliability initial value Z by using the above formula, which provides effective and accurate data support for the judgment of communication quality and stability. i , obtaining the data transmission reliability final value, which provides effective and accurate data support for the judgment of communication quality and stability.
[0166] In another embodiment, the communication performance data obtained in step 201 can be real-time signal strength and data transmission reliability final value. The determination of the data transmission reliability final value according to the communication performance data in step 202 specifically includes: analyzing the communication performance data to obtain the data transmission reliability final value.
[0167] It should be noted that the power distribution automation system master station can also issue instructions to the target power distribution automation terminal to obtain the real-time signal strength of the target power distribution automation terminal and the data transmission reliability final value calculated by the target power distribution automation terminal. Unlike the previous embodiment, the power distribution automation master station can transfer the calculation operation of the data transmission reliability final value to the target power distribution automation terminal, and return after calculation by the target power distribution automation terminal, thereby saving the calculation resources of the power distribution automation system master station.
[0168] It can be understood that the present embodiment and the embodiment consisting of S101 to S104 are in a parallel relationship.
[0169] In one embodiment, the data type of the first control signal can be set as the second transmission data.
[0170] In one embodiment, when the target power distribution automation terminal receives non-third transmission data (i.e. first transmission data or second transmission data) through the star network and the Mesh network, it is determined whether the non-third transmission data received through the star network and the non-third transmission data received through the Mesh network are consistent, and if so, the instructions contained in the first transmission data or the second transmission data are responded. For example, the target state (such as the open or closed state) of the target power distribution automation terminal is contained in the second transmission data, and when it is determined that the second transmission data of the two communication modes are consistent, the target power distribution automation terminal adjusts its own state to the target state, thereby further improving the safety of the power distribution system operation.
[0171] In one application example, as shown in Figure 4 The flow of the communication control method of the power distribution automation terminal applied to the power distribution automation system master station provided by the embodiment of the present application can be as follows:
[0172] S31: dividing the transmission data of the target power distribution automation switch into three categories, setting the protection action mode of the target power distribution automation switch as the on-site control mode, setting the wireless signal strength alarm threshold of the target power distribution automation switch, and setting the wireless networking mode of the target power distribution automation switch as the star network;
[0173] S32: Obtain the historical fault data of the target power distribution automation switch wireless communication module, as well as the real-time signal strength, signal-to-noise ratio, and link connection state;
[0174] S33: The power distribution automation system master station issues a reliability judgment signal to the target power distribution automation switch, obtains the real-time signal strength and communication delay of the target power distribution automation switch, judges whether the above data information can be obtained, and if it cannot be obtained within 2 minutes, judges that the communication fails, and ends, otherwise executes S34;
[0175] S34: Judge whether the data type of the data to be transmitted is the first transmission data and the communication delay is greater than 5 seconds, if yes, determine that the communication fails, and end; Otherwise, execute S35;
[0176] S35: Judge whether the real-time signal strength of the current target power distribution automation switch is less than the wireless signal strength alarm threshold, if yes, issue a signal to set the wireless networking mode of the target power distribution automation switch to Mesh network, and execute S36, otherwise jump to S37;
[0177] S36: Issue a signal to set the wireless networking mode of the target power distribution automation switch to Mesh network, return the data transmission reliability final value according to the data type of the data to be transmitted, and jump to S39;
[0178] S37: Judge whether the data type of the transmission data issued to the target power distribution automation switch is the first transmission data or the second transmission data, if yes, execute S38; Otherwise, execute S314;
[0179] S38: Backup this data, make the target power distribution automation switch receive the data issued by the power distribution automation system master station in star network mode, delay for 1 minute, and execute S36;
[0180] S39: Judge whether the data type of the data to be transmitted is the first transmission data or the second transmission data, if not, execute S310, if yes, execute S311; End;
[0181] S310: Currently transmit the third transmission data, save the data, output communication failure, and end;
[0182] It should be noted that since the power distribution automation system master station does not transmit the third transmission data, the data transmission is incorrect, and it is directly ended.
[0183] S311: Judge whether the data transmission reliability final value Zf is greater than and equal to 0.85, if yes, execute S312, otherwise execute S313;
[0184] S312: Issue the data transmission reliability final value and the corresponding data to the target power distribution automation switch, and end.
[0185] S313: save the data, output communication failure, end.
[0186] S314: the target power distribution automation switch adopts a star network mode to receive the data issued by the power distribution automation system master station, and ends.
[0187] Please refer to Figure 5 、 Figure 7 The communication control device of the power distribution automation terminal provided by the embodiment of the application is applied to the method provided by any of the above embodiments, wherein the device comprises a Mesh wireless communication module 1, a Mesh relay device 2, a Mesh convergence gateway 3, and a control module 4.
[0188] The Mesh wireless communication module 1 is arranged in the power distribution automation terminal and is connected with the control module 4, the Mesh relay device 2, and the Mesh convergence gateway 3 respectively.
[0189] The Mesh relay device 2 is arranged in the power distribution automation terminal adjacent to the target power distribution automation terminal and is connected with the Mesh convergence gateway 3.
[0190] The Mesh convergence gateway 3 is connected with the power distribution automation system master station.
[0191] In an embodiment, the device further comprises an interface module 7, a power management module 5, a directional air cooling module 8, an indicator light 6, and a storage module 9.
[0192] The power management module 5 comprises a relay, a main power supply, a backup power supply, and a protection module.
[0193] The directional air cooling module 8 comprises a temperature sensor, a heat sink, and a temperature control fan.
[0194] The interface module 7 comprises a navigation plug interface, an Ethernet interface, an RS-485 interface, and a debugging interface.
[0195] The indicator light 6 comprises a power supply indicator light, a running indicator light, a gain indicator light, and a debugging indicator light.
[0196] It should be noted that the navigation plug interface is used to connect the wireless communication module of the power distribution automation switch to realize bidirectional data transmission. The Ethernet interface is an RJ-45 interface and is reserved for connection of an Ethernet communication device. The RS-485 interface is used for temperature sensor data transmission. The debugging interface is used for operation and maintenance debugging.
[0197] The relay is a direct current relay, which is used to control the switching of the main power supply and the backup power supply; the main power supply is taken from the wireless communication module direct current 24V or 48V power supply of the power distribution automation switch, and is converted into direct current voltage 12V to supply the power supply point of the communication gain device; the backup power supply is a lithium battery, which ensures continuous power supply of the communication module during the operation of the switch or the temporary loss of power of the bus. The heat sink is an aluminum heat sink, one side of which is installed on the temperature control fan; the temperature sensor sets a temperature threshold, which is used to determine whether the current temperature exceeds the temperature threshold, and the temperature control fan can be started under control until the current temperature is lower than the temperature threshold, and the temperature control fan will be stopped.
[0198] The display color of the power indicator light includes red and yellow, and when the main power supply is used as the power supply, the red color is displayed, and when the backup power supply is used as the power supply, the yellow color is displayed. When the power indicator light is not lit, it indicates that there is no power.
[0199] The display color of the running indicator light includes red. When the gain module is running, the red color is displayed.
[0200] When the gain indicator light is green and flashes, it indicates that the current networking mode is a mesh mode.
[0201] When the debugging indicator light displays yellow, it indicates that the current state is in operation and maintenance debugging state.
[0202] The storage module 9 can provide data storage function of not less than 1GB.
[0203] In one embodiment, the control module 4 is a control circuit board, which is used to realize the software and hardware functions of the communication control device.
[0204] In one embodiment, the protection module includes an overheat protection element and an overcurrent protection element.
[0205] In one embodiment, it further includes a restart module 10.
[0206] The working logic of the restart module 10 is that when the communication fails for three times in succession, the restart module 10 is triggered to work, and the wireless communication module of the target power distribution automation switch is restarted. When the communication still fails for three times in succession after the restart, the restart operation is locked for one hour, and five restart operation times are allowed per day.
[0207] In one embodiment, it further includes an encryption and decryption unit 11.
[0208] It should be noted that the encryption and decryption unit 11 has encryption and decryption functions, and can upload the data of the power distribution automation switch to the power distribution automation master station after encryption, and can execute the instruction information of the power distribution automation master station after decryption. Among them, the encryption and decryption unit 11, the Mesh wireless communication module 1, the Mesh relay device 2 and the Mesh aggregation gateway 3 can constitute a gain module for improving the system gain.
[0209] In one example, as shown in the data transmission schematic diagram, Figure 6 The Mesh wireless communication module, the Mesh relay device, the Mesh aggregation gateway and the control module in the application are described as an example. As shown in Figure 6 In this example, the target power distribution automation terminal is the power distribution automation switch 3, and the Mesh relay device includes a first Mesh relay device and a second Mesh relay device. The terminals adjacent to the power distribution automation switch 3 are the power distribution automation switch 2 and the power distribution automation switch 4, wherein the first Mesh relay device is installed in the power distribution automation switch 4, and the second Mesh relay device is installed in the power distribution automation switch 2. The Mesh aggregation gateway is installed in an area with good communication quality. Figure 6 Among them, A, B, C, D, E, F, G respectively represent the data transmission path in the Mesh network, and when data transmission is performed by using the Mesh network, a suitable data transmission path can be selected for data transmission.
[0210] Based on the above, the application proposes a communication control method and control device for the power distribution automation terminal in the scene where the wireless communication mode is adopted and the wireless signal is unstable, which improves the stability of the wireless communication module of the 10kV power distribution automation terminal and the data transmission accuracy in the wireless communication scene, improves the communication gain in the case of unstable outdoor signal, improves the success rate of data transmission and instruction delivery, reduces the drop rate of the power distribution automation terminal, reduces the switch fault operation and maintenance workload, and effectively shortens the fault processing time.
[0211] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0212] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed to multiple network units. Part or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0213] In addition, each functional unit in various embodiments of the application can be integrated into one processing unit, or each functional unit can be a separate physical unit, or two or more functional units can be integrated into one processing unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0214] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the application, essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in various embodiments of the application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0215] The terms "first", "second", "third", "fourth" and the like in the specification of the present application and the above-described drawings, if any, are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0216] In the description of the application, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the application.
[0217] The above examples are only used to illustrate the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication control method for a power distribution automation terminal, characterized in that, Applied to a target power distribution automation terminal, the method includes: The communication performance data of the target power distribution automation terminal is obtained, including historical fault data, real-time signal strength, signal-to-noise ratio, and link connection status. When the real-time signal strength is determined to be less than a preset signal strength threshold, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network; the data type transmitted by the target power distribution automation terminal is determined; when the data type is not the first transmitted data, the final value of data transmission reliability is calculated based on the communication performance data; when the final value of data transmission reliability is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the power distribution automation system master station. When it is determined that the real-time signal strength is not less than the signal strength threshold and the data type is the second transmission data, the second transmission data is transmitted in a star network manner. After a delay of a first preset time, the wireless networking mode of the target power distribution automation terminal is adjusted to a Mesh network, and the step of calculating the final value of data transmission reliability based on the communication performance data is executed and transmitted to the power distribution automation system master station.
2. The method according to claim 1, characterized in that, The calculation of the final value of data transmission reliability based on the communication performance data includes: The historical fault data, the real-time signal strength, the signal-to-noise ratio, and the link connection status are input into a pre-built fault probability prediction model to obtain the communication fault probability. Based on the communication failure probability, an initial value for data transmission reliability is calculated; Obtain the RSSI volatility and determine the probability factor corresponding to the RSSI volatility; The final value of data transmission reliability is calculated based on the probability factor and the initial value of data transmission reliability.
3. The method according to claim 2, characterized in that, The fault probability prediction model includes a first fault probability prediction model and a second fault probability prediction model. The historical fault data, real-time signal strength, signal-to-noise ratio, and link connection status are input into the pre-constructed fault probability prediction model to obtain the communication fault probability, which includes: The historical fault data, the real-time signal strength, the signal-to-noise ratio, and the link connection status are input into the first fault probability prediction model and the second fault probability prediction model to obtain the first fault probability and the second fault probability. The communication failure probability is calculated by weighting the first failure probability and the second failure probability.
4. The method according to claim 1, characterized in that, The method further includes: Data transmission ends when the data type is the first transmitted data, or when the final reliability value of the data transmission is less than the reliability threshold corresponding to the data type.
5. A communication control method for a power distribution automation terminal, characterized in that, The method, applied to the master station of a power distribution automation system, includes: Acquire communication performance data of the target power distribution automation terminal; the communication performance data includes: historical fault data, real-time signal strength, signal-to-noise ratio, and link connection status; When the real-time signal strength is determined to be less than a preset signal strength threshold, an adjustment signal is sent to the target power distribution automation terminal to adjust the wireless networking mode of the target power distribution automation terminal to a Mesh network; the data type of the data to be transmitted is determined; when the data type is not third-party data, the final value of data transmission reliability is determined based on the communication performance data; when the final value of data transmission reliability is not less than the reliability threshold corresponding to the data type, the data corresponding to the data type is transmitted to the target power distribution automation terminal. When it is determined that the real-time signal strength is not less than the signal strength threshold and the data type is not third-transmission data, the data to be transmitted is transmitted in a star network manner, and after a first preset time delay, the adjustment signal is sent to the target power distribution automation terminal, and the step of determining the final value of data transmission reliability based on the communication performance data and transmitting it to the target power distribution automation terminal is executed.
6. The method according to claim 5, characterized in that, Determining the final value of data transmission reliability based on the communication performance data includes: The historical fault data, the real-time signal strength, the signal-to-noise ratio, and the link connection status are input into a pre-built fault probability prediction model to obtain the communication fault probability. Based on the communication failure probability, an initial value for data transmission reliability is calculated; Obtain the RSSI volatility and determine the probability factor corresponding to the RSSI volatility; The final value of data transmission reliability is calculated based on the probability factor and the initial value of data transmission reliability.
7. The method according to claim 6, characterized in that, The fault probability prediction model includes a first fault probability prediction model and a second fault probability prediction model. The historical fault data, real-time signal strength, signal-to-noise ratio, and link connection status are input into the pre-constructed fault probability prediction model to obtain the communication fault probability, which includes: The historical fault data, the real-time signal strength, the signal-to-noise ratio, and the link connection status are input into the first fault probability prediction model and the second fault probability prediction model to obtain the first fault probability and the second fault probability. The communication failure probability is calculated by weighting the first failure probability and the second failure probability.
8. The method according to claim 5, characterized in that, The acquisition of the communication performance data of the target power distribution automation terminal includes: Send a first control signal to the target power distribution automation terminal and determine whether the target power distribution automation terminal returns communication performance data and communication delay within a preset time period; if not, output communication failure. If so, determine whether the data type of the data to be transmitted is the first transmission data, and whether the communication delay is less than the second preset duration. If both are true, end the transmission; otherwise, retain the communication performance data.
9. The method according to claim 5, characterized in that, The method further includes: when the data type is third-generation data, or when the final reliability value of the data transmission is greater than the reliability threshold corresponding to the data type, saving the data to be transmitted and ending the transmission.
10. A communication control device for an automatic power distribution terminal, characterized in that, The apparatus includes: a Mesh wireless communication module, a Mesh relay device, a Mesh aggregation gateway, and a control module for performing the method as described in any one of claims 1-4; The Mesh wireless communication module is installed in the power distribution automation terminal and is connected to the control module, the Mesh relay device, and the Mesh aggregation gateway, respectively. The Mesh relay device is located at the distribution automation terminal adjacent to the target distribution automation terminal and is connected to the Mesh aggregation gateway. The Mesh aggregation gateway is connected to the main station of the power distribution automation system. The control module is connected to the Mesh wireless communication module, the Mesh relay device, and the Mesh aggregation gateway, respectively.