A method, device and system for HPLC communication unit fault diagnosis
By calculating the stability and complexity values in the HPLC communication network and determining the fault diagnosis path, the problem of PCO nodes in the prior art cannot be switched in time is solved, and the stability of data transmission and the efficiency of fault diagnosis are achieved.
Patent Information
- Application Number
- CN202510197516.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-02-21
AI Technical Summary
In the prior art, when the HPLC communication unit is fault diagnosis, an abnormality occurs in the current network and the PCO node cannot switch in time, resulting in unstable data transmission during the fault diagnosis process.
By obtaining the network connection data of the HPLC communication network node, the stability and complexity value between the terminal node and the proxy coordination point is calculated, the first and second proxy coordination points are determined, and the fault diagnosis path between the terminal node and the central coordination point is formed to realize the timely switching of the proxy coordination point.
When there is an abnormality in the current network, the proxy coordination point can be switched in time to ensure the stability of data transmission during the fault diagnosis process and improve the efficiency and reliability of fault diagnosis.
Smart Images

Figure CN119675702B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device and system for diagnosing faults of an HPLC communication unit. Background Art
[0002] The hierarchical structure of the high-speed power line communication (HPLC) network helps to diagnose and locate the node failure of the HPLC communication unit. In the HPLC network hierarchy, the proxy node (Proxy Coordinator, PCO) in the hierarchical structure can be determined to relay and forward data, thereby reducing the burden of the central coordinator (CCO), thereby improving the communication efficiency of the entire network, and quickly locating the node failure through the proxy node. Selecting a suitable PCO node (also referred to as the proxy coordination node below) can improve the detection efficiency of the HPLC communication unit. As a data relay node, the PCO node can effectively forward detection signals and data, reducing signal loss and delay during the detection process. In the prior art, when selecting a PCO node, generally only nodes with lower latency are selected as PCO nodes to meet the latency requirements of the business. However, it does not take into account the situation that the PCO node can be switched in time when an abnormality occurs in the current network. Summary of the invention
[0003] The purpose of the present application is to provide a method, device and system for diagnosing faults of an HPLC communication unit, so as to solve the technical problem in the prior art that when diagnosing faults of an HPLC communication unit, an abnormality occurs in the current network and the PCO node cannot be switched in time.
[0004] To achieve the above objectives, this application provides the following technical solutions:
[0005] In a first aspect, the present application proposes a technical solution for a HPLC communication unit fault diagnosis method, the HPLC communication unit fault diagnosis method comprising:
[0006] Acquiring network connection data of HPLC communication network nodes; the HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes;
[0007] Based on the network connection data, a stability value between the terminal node and each proxy coordination node is obtained; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node;
[0008] Based on each stability value, a first proxy coordination node is obtained; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node;
[0009] Based on the network connection data, obtaining a complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node;
[0010] Based on each complexity value, a second proxy coordination node is obtained; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node;
[0011] Determine a fault diagnosis path between the terminal node and the central coordination node based on the first proxy coordination node and the second proxy coordination node;
[0012] Based on the fault diagnosis path, fault diagnosis is performed on the HPLC communication unit.
[0013] As a specific solution in the technical solution of the present application, the obtaining of the stability value between the terminal node and each proxy coordination node based on the network connection data includes:
[0014] Based on the network connection data, obtaining first historical network topology data of the terminal node;
[0015] Based on the first historical network topology data, the number of connections and the connection duration between the terminal node and the third proxy coordination node are obtained; the third proxy coordination node is any one of the proxy coordination nodes;
[0016] Based on the number of connections and the connection duration, obtaining a connection fluctuation value between the terminal node and the third proxy coordination node;
[0017] Based on the connection fluctuation value, stability values of the terminal node and the third proxy coordination node are obtained.
[0018] As a specific solution in the technical solution of the present application, the calculation formula for obtaining the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration is as follows:
[0019]
[0020] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates absolute value.
[0021] As a specific solution in the technical solution of the present application, the obtaining of stability values of the terminal node and the third proxy coordination node based on the connection fluctuation value includes:
[0022] Based on the network connection data, a maximum value is obtained; the maximum value is at least used to represent the maximum number of terminal nodes that the third proxy coordination node can connect to;
[0023] Based on the connection fluctuation value and the maximum value, stability values of the terminal node and the third proxy coordination node are obtained.
[0024] As a specific solution in the technical solution of the present application, the obtaining of the complexity value between the first proxy coordination node and each proxy coordination node based on the network connection data includes:
[0025] Based on the network connection data, second historical network topology data of a fourth proxy coordination node is acquired; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node;
[0026] Based on the second historical network topology data, obtaining the number of changes in the fourth proxy coordination node connection and the number of node connections;
[0027] Based on the number of changes and the number of node connections, a connection change value of the fourth proxy coordinating node is acquired; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordinating node;
[0028] Based on the connection change value, a complexity value between the first agent coordinating node and the fourth agent coordinating node is obtained.
[0029] As a specific solution in the technical solution of the present application, the calculation formula for obtaining the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections is as follows:
[0030]
[0031] in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates absolute value.
[0032] As a specific solution in the technical solution of the present application, the obtaining of the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the connection change value includes:
[0033] Based on the fourth proxy coordination node, acquiring the number of child nodes and a signal-to-noise ratio; the signal-to-noise ratio is a signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node;
[0034] Based on the fourth proxy coordination node, obtaining the number of levels;
[0035] Based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value, a complexity value between the first proxy coordination node and the fourth proxy coordination node is obtained.
[0036] As a specific solution in the technical solution of the present application, the calculation formula for obtaining the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels and the connection change value is as follows:
[0037]
[0038] in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0039] In a second aspect, the present application proposes a technical solution of a HPLC communication unit fault diagnosis device, the HPLC communication unit fault diagnosis device comprising:
[0040] A reading module, used to obtain network connection data of HPLC communication network nodes; the HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes;
[0041] A processing module, used for obtaining a stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node;
[0042] And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node;
[0043] And, based on the network connection data, obtaining a complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node;
[0044] And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node;
[0045] and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node;
[0046] The control module is used to perform fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
[0047] As a specific solution in the technical solution of the present application, the reading module is further used to obtain the first historical network topology data of the terminal node based on the network connection data;
[0048] And, based on the first historical network topology data, obtaining the number of connections and the connection duration between the terminal node and a third proxy coordination node; the third proxy coordination node is any one of the proxy coordination nodes;
[0049] The processing module is further used to obtain a connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration;
[0050] And, based on the connection fluctuation value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0051] As a specific solution in the technical solution of the present application, the processing module obtains the calculation formula of the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration as follows:
[0052]
[0053] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates finding the absolute value.
[0054] As a specific solution in the technical solution of the present application, the reading module is further used to obtain a maximum value based on the network connection data; the maximum value is at least used to characterize the maximum number of terminal nodes that the third proxy coordination node can connect to;
[0055] The processing module is further used to obtain stability values of the terminal node and the third proxy coordination node based on the connection fluctuation value and the maximum value.
[0056] As a specific solution in the technical solution of the present application, the reading module is further used to obtain the second historical network topology data of the fourth proxy coordination node based on the network connection data; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node;
[0057] and, based on the second historical network topology data, obtaining the number of changes in the fourth proxy coordination node connection and the number of node connections;
[0058] The processing module is further used to obtain a connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node;
[0059] And, based on the connection change value, a complexity value between the first proxy coordinating node and the fourth proxy coordinating node is obtained.
[0060] As a specific solution in the technical solution of the present application, the processing module obtains the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections. The calculation formula is as follows:
[0061]
[0062] in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates finding the absolute value.
[0063] As a specific solution in the technical solution of the present application, the reading module is further used to obtain the number of child nodes and the signal-to-noise ratio based on the fourth proxy coordination node; the signal-to-noise ratio is the signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node;
[0064] and, based on the fourth proxy coordination node, obtaining the number of levels;
[0065] The processing module is further configured to obtain a complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value.
[0066] As a specific solution in the technical solution of the present application, the processing module obtains the calculation formula of the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels and the connection change value as follows:
[0067]
[0068] in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0069] In a third aspect, the present application proposes a technical solution of a HPLC communication unit fault diagnosis system, the HPLC communication unit fault diagnosis system comprising:
[0070] A reader, used to obtain network connection data of HPLC communication network nodes; the HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes;
[0071] A processor, configured to obtain a stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize a change in a network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node;
[0072] And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node;
[0073] And, based on the network connection data, obtaining a complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node;
[0074] And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node;
[0075] and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node;
[0076] The controller is used for performing fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
[0077] As a specific solution in the technical solution of the present application, the reader is further used to obtain the first historical network topology data of the terminal node based on the network connection data;
[0078] And, based on the first historical network topology data, obtaining the number of connections and the connection duration between the terminal node and a third proxy coordination node; the third proxy coordination node is any one of the proxy coordination nodes;
[0079] The processor is further configured to obtain a connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration;
[0080] And, based on the connection fluctuation value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0081] As a specific solution in the technical solution of the present application, the processor obtains the calculation formula of the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration as follows:
[0082]
[0083] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates finding the absolute value.
[0084] As a specific solution in the technical solution of the present application, the reader is further used to obtain a maximum value based on the network connection data; the maximum value is at least used to characterize the maximum number of terminal nodes that the third proxy coordination node can connect to;
[0085] The processor is further configured to obtain stability values of the terminal node and the third proxy coordination node based on the connection fluctuation value and the maximum value.
[0086] As a specific solution in the technical solution of the present application, the reader is further used to obtain the second historical network topology data of the fourth proxy coordination node based on the network connection data; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node;
[0087] and, based on the second historical network topology data, obtaining the number of changes in the fourth proxy coordination node connection and the number of node connections;
[0088] The processor is further configured to obtain a connection change value of the fourth proxy coordinating node based on the number of changes and the number of node connections; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordinating node;
[0089] And, based on the connection change value, a complexity value between the first proxy coordinating node and the fourth proxy coordinating node is obtained.
[0090] As a specific solution in the technical solution of the present application, the processor obtains the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections. The calculation formula is as follows:
[0091]
[0092] in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates absolute value.
[0093] As a specific solution in the technical solution of the present application, the reader is further used to obtain the number of child nodes and the signal-to-noise ratio based on the fourth proxy coordination node; the signal-to-noise ratio is the signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node;
[0094] and, based on the fourth proxy coordination node, obtaining the number of levels;
[0095] The processor is further configured to obtain a complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value.
[0096] As a specific solution in the technical solution of the present application, the processor obtains a calculation formula for the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value as follows:
[0097]
[0098] in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0099] Compared with the prior art, the beneficial effects of this application are:
[0100] This application determines the access proxy coordination node of the terminal node according to the node connection status of the terminal node and the proxy coordination node, and further determines the path status of the central coordination node to be accessed according to the network complexity and channel status of the proxy coordination node, and the hierarchical parameters between the proxy coordination node and the central coordination node in the tree network structure. It can switch the proxy coordination node in time when an abnormality occurs in the current network, thereby ensuring the stability of data transmission during the fault diagnosis process. BRIEF DESCRIPTION OF THE DRAWINGS
[0101] Figure 1 A schematic diagram of a flow chart of a HPLC communication unit fault diagnosis method proposed in an embodiment of the present application;
[0102] Figure 2 A schematic diagram of the structure of a HPLC communication unit fault diagnosis device proposed in an embodiment of the present application;
[0103] Figure 3 A schematic diagram of the structure of a HPLC communication unit fault diagnosis system proposed in an embodiment of the present application;
[0104] Figure 4 A schematic diagram of a network architecture based on power line communication proposed in an embodiment of the present application;
[0105] Figure 5 for Figure 4 Schematic diagram of a fault diagnosis path formed by a terminal node in the power line communication-based network architecture. DETAILED DESCRIPTION
[0106] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0107] The terms "first", "second", etc. in the description of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, such as the first proxy coordination node and the second proxy coordination node proposed below, which belong to different proxy coordination nodes. It should be understood that the proxy coordination nodes used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The division of modules that appear in the embodiments of the present application is only a logical division. There may be other division methods when implemented in actual applications. For example, multiple modules 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 each other shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in the embodiments of the present application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the present application.
[0108] In order to solve the technical problem that the current network is abnormal and the PCO node cannot be switched in time during the HPLC communication unit fault diagnosis proposed in the background technology, please refer to Figure 1 , which shows a HPLC communication unit fault diagnosis method proposed in the present application, and the HPLC communication unit fault diagnosis method includes steps S100 to S700.
[0109] Step S100: Acquire network connection data of HPLC communication network nodes.
[0110] It should be clear that the HPLC network is a network architecture based on power line communication. Figure 4 As shown, Figure 4 FIG. 1 is a schematic diagram of a network architecture based on power line communication. In general, a network architecture based on power line communication usually consists of a central coordination node (i.e., Figure 4 The square box shown in the figure), the proxy coordination node (that is, Figure 4 The circular box shown in the figure) and the terminal node (that is, Figure 4The HPLC network is composed of a central coordination node (shown in the triangle box shown in the figure) to form a tree structure. Among them, the central coordination node is the core node of the HPLC network, which is responsible for the management and control of the entire network, responsible for starting and controlling the networking process of the entire network, and triggering the network access request of other nodes by sending a central beacon. The proxy coordination node serves as a relay node between the central coordination node and the terminal node, responsible for relaying and forwarding data. The terminal node is a terminal device in the HPLC network, usually including smart meters, sensors, etc. That is to say, in the present application, the HPLC communication network node includes a central coordination node, a terminal node and a plurality of proxy coordination nodes.
[0111] It should be noted that the central coordination node can identify each node in the current network (for example, the proxy coordination node or the terminal node) and monitor the status information of each device. The central coordination node can obtain the information of the terminal device or monitor the status of the terminal device through the proxy coordination node for communication or detection. By obtaining the communication status of each proxy coordination node and the terminal node in the central coordination node, the network connection data of the current HPLC communication network node can be obtained. In other words, obtaining the network connection data of the HPLC communication network node is a mature technology and will not be described in detail here.
[0112] Step S200: Based on the network connection data, the stability value between the terminal node and each proxy coordination node is obtained.
[0113] It should be noted that the terminal nodes of the HPLC network are highly variable. The terminal nodes frequently join and exit the HPLC network due to business needs, which leads to frequent changes in the network topology of the HPLC network. The changes in the terminal nodes will also cause the proxy coordination node to frequently disconnect and join the HPLC network. If the disconnection and joining are relatively frequent, the efficiency of the HPLC network will be relatively low when the proxy coordination node is used for connection. Therefore, the best proxy coordination node that the current terminal node can access can be determined in combination with the changes in the proxy coordination node of the terminal nodes in the network at different times. And then the formed fault diagnosis path efficiency is the highest. Therefore, in the embodiment of the present application, the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node. If the network topology structure changes less, the data transmission efficiency is the highest during fault diagnosis.
[0114] In an embodiment of the present application, any reasonable method can be used to obtain the stability value between the terminal node and each proxy coordination node based on the network connection data. For example, step S200, based on the network connection data, obtains the stability value between the terminal node and each proxy coordination node, including steps S210 to S240.
[0115] Step S210: Based on the network connection data, first historical network topology data of the terminal node is obtained.
[0116] It should be clear that since terminal nodes will frequently join or exit the current HPLC network as business needs change, the network topology structure with terminal node changes can be obtained through the central coordination node, and the network topology diagram with terminal changes within a certain period of time (for example: one year or half a year, etc.) (that is, the first historical network topology structure data) can be obtained.
[0117] Step S220: Based on the first historical network topology data, the number of connections and the connection duration between the terminal node and the third proxy coordination node are obtained.
[0118] In this embodiment, the third proxy coordination node is any one of the proxy coordination nodes. That is, in the embodiment of the present application, the method for obtaining the stability value of any proxy coordination node can refer to the method for obtaining the stability value of the third proxy coordination node, and no further details will be given later.
[0119] It should be noted that, since the terminal nodes frequently disconnect and join each proxy coordination node, the time interval between the disconnection and joining of each proxy coordination node and the terminal node can be obtained to determine the change between the current proxy coordination node (that is, the third proxy coordination node) and the terminal node. It is easy to understand that if the third proxy coordination node connects to the terminal node more times and the difference in the length of each connection is greater, it means that the connection between the third proxy coordination node and the terminal node is more unstable, that is, the third proxy coordination node and the terminal node cannot be selected to form a fault diagnosis path in the future.
[0120] Step S230: Based on the number of connections and the connection duration, a connection fluctuation value between the terminal node and the third proxy coordination node is obtained.
[0121] In an embodiment of the present application, any reasonable method can be used to obtain the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration. For example, the number of connections or the connection duration can be directly used as the connection fluctuation value between the terminal node and the third proxy coordination node. In order to obtain a connection fluctuation value that can accurately characterize the connection stability between the terminal node and the third proxy coordination node, in one embodiment of the present application, step S230, based on the number of connections and the connection duration, obtains the calculation formula for the connection fluctuation value between the terminal node and the third proxy coordination node as follows:
[0122]
[0123] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node (that is, the third proxy coordination node); represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; Represents a constant, which can be set as required to avoid the denominator being zero; Indicates absolute value.
[0124] In this embodiment, the more the number of connections between the current terminal node and the third proxy coordination node, the greater the connection fluctuation value; the greater the difference in the duration of each connection between the current terminal node and the third proxy coordination node, the greater the connection fluctuation value. In other words, if the connection fluctuation value is larger, it means that the variability between the third proxy coordination node and the terminal node is stronger, that is, the data transmission is more unstable after the third proxy coordination node is selected to form a fault diagnosis path.
[0125] Step S240: Based on the connection fluctuation value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0126] In an embodiment of the present application, the connection fluctuation value can be directly used as the stability value of the terminal node and the third proxy coordination node. It should be noted that when performing fault detection, a simple proxy coordination node needs to be obtained as an access node, so the connection terminal data of the current proxy coordination node is small, and the smaller the volatility of the terminal node change of the proxy coordination node, the higher the access stability of the current proxy coordination node. Based on this, step S240, based on the connection fluctuation value, obtains the stability value of the terminal node and the third proxy coordination node, including step S241 and step S242.
[0127] Step S241: Based on the network connection data, obtain a maximum value.
[0128] In this embodiment, the maximum value is at least used to characterize the maximum number of terminal nodes that the third proxy coordination node can connect to. It is easy to understand that if the number of terminal nodes that the third proxy coordination node can connect to is greater, it means that the data transmission may be more unstable after the fault diagnosis path formed by the proxy coordination node is adopted.
[0129] Step S242: Based on the connection fluctuation value and the maximum value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0130] In this embodiment, in step S242, based on the connection fluctuation value and the maximum value, a calculation formula for obtaining the stability values of the terminal node and the third proxy coordination node is as follows:
[0131]
[0132] in, Represents the stability value between the vth proxy coordination node (i.e., the third proxy coordination node) of the uth terminal node; represents the connection fluctuation value between the vth proxy coordination node of the uth terminal node; represents the maximum connection fluctuation value between the u-th terminal node and each proxy coordination node; Indicates the maximum number of terminal nodes that the vth proxy coordination node connected to the uth terminal node can connect to; represents the maximum value of the maximum number of terminal nodes that each proxy coordination node connected to the u-th terminal node can connect to; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0133] In this embodiment, if the connection fluctuation value between the uth terminal node and the vth proxy coordination node is The smaller the value, the greater the maximum number of terminal nodes that the vth proxy coordination node connected to the uth terminal node can connect to. If the stability value The smaller it is, the worse the data transmission stability between the u-th terminal node and the v-th proxy coordination node.
[0134] Step S300: Based on each stability value, obtain a first proxy coordination node.
[0135] In an embodiment of the present application, a suitable proxy coordination node can be selected according to the stability value as a transit node of the terminal node to form a fault diagnosis path. For example, in an embodiment of the present application, the first proxy coordination node can be the proxy coordination node with the smallest network topology change of the HPLC communication network formed with the terminal node among the proxy coordination nodes, that is, the first proxy coordination node is the proxy coordination node with the largest stability value.
[0136] It should be noted that after the terminal node accesses the proxy coordination node, since the proxy coordination node may have multiple jumps in the middle instead of directly reaching the central coordination node, it is necessary to continue to select the terminal node's transit node (that is, other proxy coordination nodes connected to the first proxy coordination node). When determining the transfer node of the first proxy coordination node (that is, the second proxy coordination node below), a proxy coordination node with a relatively small network connection change of the terminal node and a relatively simple node connection situation can be selected as a transit node. Since the number of jumps from the transit node to the central coordination node is as small as possible, it is necessary to consider the minimum jump situation between each proxy coordination node and the central coordination node to determine the intermediate jump node. Based on this, steps S400 and S500 can be executed.
[0137] Step S400: Based on the network connection data, obtain the complexity value between the first proxy coordination node and each proxy coordination node.
[0138] In this embodiment, the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node. In an embodiment of the present application, any reasonable method can be used to obtain the complexity value between the first proxy coordination node and each proxy coordination node based on the network connection data. For example: Step S400, based on the network connection data, obtains the complexity value between the first proxy coordination node and each proxy coordination node, including steps S410 to S440.
[0139] Step S410: Based on the network connection data, obtain second historical network topology data of the fourth proxy coordination node.
[0140] In this embodiment, the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node. That is to say, in the embodiment of the present application, the method for obtaining the complexity value of any proxy coordination node can refer to the method for obtaining the complexity value of the fourth proxy coordination node, and no further details will be given later.
[0141] Step S420: Based on the second historical network topology data, the number of changes in the fourth proxy coordination node connection and the number of node connections are obtained.
[0142] It should be clear that due to changes in terminal nodes, there may be changes in the connection of the proxy coordination node, so the change in the node connection of the first proxy coordination node can be determined according to the change in the network topology. The greater the change in the number of connections of the fourth proxy coordination node connected to the first proxy coordination node, and the more frequently the other nodes connected to the fourth proxy coordination node change, the more unstable the fourth proxy coordination node is.
[0143] Step S430: Based on the number of changes and the number of node connections, a connection change value of the fourth proxy coordination node is acquired.
[0144] In this embodiment, the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node. The number of changes or the number of node connections can be directly used as the connection change value of the fourth proxy coordination node. In order to obtain a connection change value that can accurately characterize the connection stability of the first proxy coordination node and the fourth proxy coordination node, in one embodiment of the present application, step S430, based on the number of changes and the number of node connections, obtains the calculation formula of the connection change value of the fourth proxy coordination node as follows:
[0145]
[0146] in, Indicates the connection change value of the kth proxy coordination node (that is, the fourth proxy coordination node); Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates absolute value.
[0147] In this embodiment, if the number of connection changes of the kth proxy coordination node is greater, and the number of nodes connected to the kth proxy coordination node changes more after each connection change, the connection change value is That is, if the connection changes The larger the value is, the more unstable the data transmission of the transmission path formed after the first proxy coordinating node and the fourth proxy coordinating node are connected is.
[0148] Step S440: Based on the connection change value, obtain a complexity value between the first proxy coordination node and the fourth proxy coordination node.
[0149] In this embodiment, the connection change value can be directly used as the complexity value between the first proxy coordination node and the fourth proxy coordination node. In another embodiment of the present application, step S440, based on the connection change value, obtains the complexity value between the first proxy coordination node and the fourth proxy coordination node, including steps S441 to S443.
[0150] Step S441: Based on the fourth proxy coordination node, the number of child nodes and the signal-to-noise ratio are obtained.
[0151] In this embodiment, the signal-to-noise ratio is a signal-to-noise ratio between the first proxy coordinating node and the fourth proxy coordinating node.
[0152] It should be noted that, since the first proxy coordination node needs to find the next hop node (i.e., the second proxy coordination node), the HPLC network structure is a tree structure, so the proxy coordination node jumps from the child node to the root node when jumping. That is to say, in this embodiment, when determining the next hop node of the first proxy coordination node, a root node with a relatively small number of child nodes can be selected. If a root node with a relatively large number of child nodes is selected as a jump node, it is very likely that a network congestion phenomenon will occur during the communication process, which will affect the transmission of data.
[0153] Step S442: Based on the fourth proxy coordination node, obtain the number of levels.
[0154] It should be noted that when determining the next hop node (i.e., the second proxy coordination node), the proxy coordination node that is closer to the central coordination node can be given priority. It is easy to understand that the closer the distance to the central coordination node, the faster the data is transmitted to the central coordination node during the transmission process, that is, the lower the probability of data transmission problems. It should be noted that the number of levels of a node is also the level of the node in the tree network structure.
[0155] Step S443: based on the number of child nodes, the signal-to-noise ratio, the number of levels and the connection change value, obtaining a complexity value between the first proxy coordination node and the fourth proxy coordination node.
[0156] In an embodiment of the present application, any reasonable method may be used to obtain the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value. For example, in step S443, the calculation formula for obtaining the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value is as follows:
[0157]
[0158] in, Indicates the complexity value between the vth proxy coordination node (i.e., the first proxy coordination node) and the kth proxy coordination node (i.e., the fourth proxy coordination node); represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0159] In this embodiment, if the number of child nodes of the kth proxy coordination node is The larger the value, the greater the complexity The larger the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node The smaller the value, the greater the complexity The larger the number of levels of the kth proxy coordination node The larger the value, the greater the complexity The larger the value, the greater the complexity value. If the complexity value The larger the value is, the less suitable the fourth proxy coordinating node is to be the next-level jump node of the first proxy coordinating node.
[0160] Step S500: Based on each complexity value, obtain a second proxy coordination node.
[0161] In this embodiment, any reasonable method can be used to obtain the second proxy coordination node based on each complexity value. For example, in this embodiment, the second proxy coordination node is the proxy coordination node with the best communication quality with the first proxy coordination node among the proxy coordination nodes, that is, the second proxy coordination node is the proxy coordination node with the smallest complexity value.
[0162] Step S600: determining a fault diagnosis path between the terminal node and the central coordination node based on the first agent coordination node and the second agent coordination node.
[0163] Specifically, in the HPLC communication network, a terminal node (e.g., Figure 5 The communication path of the gray triangle box shown in FIG. 1 can ensure efficient and stable data transmission. According to the first proxy coordination node (for example, Figure 5 The gray circular box shown in the figure) is used as an access node, and each jump node (for example, Figure 5 until it finally reaches the central coordination node (i.e. Figure 5 The square box shown in the figure) forms a complete fault diagnosis path.
[0164] Step S700: Based on the fault diagnosis path, perform fault diagnosis on the HPLC communication unit.
[0165] Based on the fault diagnosis path, fault diagnosis of the HPLC communication unit is a mature technology and will not be described in detail here.
[0166] It should be clear that the embodiment of the HPLC communication unit fault diagnosis method proposed in the present application determines the access proxy coordination node of the terminal node according to the node connection status of the terminal node and the proxy coordination node, and further determines the path status of the central coordination node to be accessed according to the network complexity and channel status of the proxy coordination node, and the hierarchical parameters between the proxy coordination node and the central coordination node in the tree network structure. It can switch the proxy coordination node in time when an abnormality occurs in the current network, thereby ensuring the stability of data transmission during the fault diagnosis process.
[0167] After introducing the HPLC communication unit fault diagnosis method proposed in the embodiment of the present application, the following introduces an embodiment of a HPLC communication unit fault diagnosis device proposed in the present application, such as Figure 2 As shown, the HPLC communication unit fault diagnosis device 10 comprises:
[0168] The reading module 11 is used to obtain the network connection data of the HPLC communication network node; the HPLC communication network node includes a central coordination node, a terminal node and a plurality of proxy coordination nodes;
[0169] The processing module 12 is used to obtain the stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node;
[0170] And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node;
[0171] And, based on the network connection data, obtaining a complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node;
[0172] And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node;
[0173] and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node;
[0174] The control module 13 is used to perform fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
[0175] As a specific embodiment of the present application, the reading module 11 is further used to obtain the first historical network topology data of the terminal node based on the network connection data;
[0176] And, based on the first historical network topology data, obtaining the number of connections and the connection duration between the terminal node and a third proxy coordination node; the third proxy coordination node is any one of the proxy coordination nodes;
[0177] The processing module 12 is further configured to obtain a connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration;
[0178] And, based on the connection fluctuation value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0179] As a specific embodiment of the present application, the processing module 12 obtains the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration. The calculation formula is as follows:
[0180]
[0181] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates absolute value.
[0182] As a specific embodiment of the present application, the reading module 11 is further used to obtain a maximum value based on the network connection data; the maximum value is at least used to characterize the maximum number of terminal nodes that the third proxy coordination node can connect to;
[0183] The processing module 12 is further configured to obtain stability values of the terminal node and the third proxy coordination node based on the connection fluctuation value and the maximum value.
[0184] As a specific embodiment of the present application, the reading module 11 is further used to obtain the second historical network topology data of the fourth proxy coordination node based on the network connection data; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node;
[0185] and, based on the second historical network topology data, obtaining the number of changes in the fourth proxy coordination node connection and the number of node connections;
[0186] The processing module 12 is further used to obtain a connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node;
[0187] And, based on the connection change value, a complexity value between the first proxy coordinating node and the fourth proxy coordinating node is obtained.
[0188] As a specific embodiment of the present application, the processing module 12 obtains the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections. The calculation formula is as follows:
[0189]
[0190] in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates absolute value.
[0191] As a specific embodiment of the present application, the reading module 11 is further used to obtain the number of child nodes and the signal-to-noise ratio based on the fourth proxy coordination node; the signal-to-noise ratio is the signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node;
[0192] and, based on the fourth proxy coordination node, obtaining the number of levels;
[0193] The processing module 12 is further configured to obtain a complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value.
[0194] As a specific embodiment of the present application, the processing module 12 obtains the calculation formula of the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels and the connection change value as follows:
[0195]
[0196] in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0197] It should be clear that the embodiment of the HPLC communication unit fault diagnosis device proposed in the present application determines the access proxy coordination node of the terminal node according to the node connection status of the terminal node and the proxy coordination node, and further determines the path status of the central coordination node to be accessed according to the network complexity and channel status of the proxy coordination node, and the hierarchical parameters between the proxy coordination node and the central coordination node in the tree network structure. It can switch the proxy coordination node in time when an abnormality occurs in the current network, thereby ensuring the stability of data transmission during the fault diagnosis process.
[0198] After introducing the HPLC communication unit fault diagnosis device proposed in the embodiment of the present application, the following introduces an embodiment of the HPLC communication unit fault diagnosis system proposed in the present application. Figure 3 As shown, the HPLC communication unit fault diagnosis system 20 includes:
[0199] The reader 21 is used to obtain the network connection data of the HPLC communication network node; the HPLC communication network node includes a central coordination node, a terminal node and a plurality of proxy coordination nodes;
[0200] The processor 22 is used to obtain the stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node;
[0201] And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node;
[0202] And, based on the network connection data, obtaining a complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node;
[0203] And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node;
[0204] and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node;
[0205] The controller 23 is used to perform fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
[0206] As a specific embodiment of the present application, the reader 21 is further used to obtain the first historical network topology data of the terminal node based on the network connection data;
[0207] And, based on the first historical network topology data, obtaining the number of connections and the connection duration between the terminal node and a third proxy coordination node; the third proxy coordination node is any one of the proxy coordination nodes;
[0208] The processor 22 is further configured to obtain a connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration;
[0209] And, based on the connection fluctuation value, the stability values of the terminal node and the third proxy coordination node are obtained.
[0210] As a specific embodiment of the present application, the processor 22 obtains the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration. The calculation formula is as follows:
[0211]
[0212] in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates absolute value.
[0213] As a specific embodiment of the present application, the reader 21 is further used to obtain a maximum value based on the network connection data; the maximum value is at least used to characterize the maximum number of terminal nodes that the third proxy coordination node can connect to;
[0214] The processor 22 is further configured to obtain stability values of the terminal node and the third proxy coordination node based on the connection fluctuation value and the maximum value.
[0215] As a specific embodiment of the present application, the reader 21 is further used to obtain the second historical network topology data of the fourth proxy coordination node based on the network connection data; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node;
[0216] and, based on the second historical network topology data, obtaining the number of changes in the fourth proxy coordination node connection and the number of node connections;
[0217] The processor 22 is further configured to obtain a connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node;
[0218] And, based on the connection change value, a complexity value between the first proxy coordinating node and the fourth proxy coordinating node is obtained.
[0219] As a specific embodiment of the present application, the processor 22 obtains the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections. The calculation formula is as follows:
[0220]
[0221] in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates finding the absolute value.
[0222] As a specific embodiment of the present application, the reader 21 is further used to obtain the number of child nodes and the signal-to-noise ratio based on the fourth proxy coordination node; the signal-to-noise ratio is the signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node;
[0223] and, based on the fourth proxy coordination node, obtaining the number of levels;
[0224] The processor 22 is further configured to obtain a complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value.
[0225] As a specific embodiment of the present application, the processor 22 obtains the calculation formula of the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels and the connection change value as follows:
[0226]
[0227] in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
[0228] It should be clear that the embodiment of the HPLC communication unit fault diagnosis system proposed in the present application determines the access proxy coordination node of the terminal node according to the node connection status of the terminal node and the proxy coordination node, and further determines the path status of the central coordination node to be accessed according to the network complexity and channel status of the proxy coordination node, and the hierarchical parameters between the proxy coordination node and the central coordination node in the tree network structure. It can switch the proxy coordination node in time when an abnormality occurs in the current network, thereby ensuring the stability of data transmission during the fault diagnosis process.
[0229] It should be clear that the computer-readable storage media in this application include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory, static random access memory, dynamic random access memory, other types of random access memory, read-only memory, electrically erasable programmable read-only memory, flash memory or other memory technology, read-only compact disc read-only memory, digital versatile disc or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
[0230] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0231] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the methods, devices and equipment described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0232] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0233] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0234] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0235] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0236] The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disk), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0237] Although the embodiments of the present application have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles of the present application.
Claims
1. A method for diagnosing a fault in an HPLC communication unit, characterized in that: include: Obtain network connection data of HPLC communication network nodes; The HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes; Based on the network connection data, a stability value between the terminal node and each proxy coordination node is obtained; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node; wherein, based on the network connection data, the first historical network topology structure data of the terminal node is obtained; based on the first historical network topology structure data, the number of connections and the connection duration between the terminal node and the third proxy coordination node are obtained; the third proxy coordination node is any one of the proxy coordination nodes; based on the number of connections and the connection duration, the connection fluctuation value between the terminal node and the third proxy coordination node is obtained; based on the connection fluctuation value, the stability value of the terminal node and the third proxy coordination node is obtained; Based on each stability value, a first proxy coordination node is obtained; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node; Based on the network connection data, a complexity value between the first proxy coordination node and each proxy coordination node is obtained; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node; wherein, based on the network connection data, second historical network topology data of a fourth proxy coordination node is obtained; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node; based on the second historical network topology data, the number of changes in the connection of the fourth proxy coordination node and the number of node connections are obtained; based on the number of changes and the number of node connections, a connection change value of the fourth proxy coordination node is obtained; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node; based on the connection change value, a complexity value between the first proxy coordination node and the fourth proxy coordination node is obtained; Based on each complexity value, a second proxy coordination node is obtained; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node; Determine a fault diagnosis path between the terminal node and the central coordination node based on the first proxy coordination node and the second proxy coordination node; Based on the fault diagnosis path, fault diagnosis is performed on the HPLC communication unit.
2. The HPLC communication unit fault diagnosis method according to claim 1, characterized in that: The calculation formula for obtaining the connection fluctuation value between the terminal node and the third proxy coordination node based on the number of connections and the connection duration is as follows: in, represents the connection fluctuation value between the terminal node and the vth proxy coordination node; represents the number of connections between the terminal node and the vth proxy coordination node, is a positive integer greater than or equal to 2; represents the duration of the ith connection between the terminal node and the vth proxy coordination node; Indicates the duration of the (i+1)th connection between the terminal node and the vth proxy coordination node; represents a constant; Indicates absolute value.
3. The HPLC communication unit fault diagnosis method according to claim 1, characterized in that: The obtaining, based on the connection fluctuation value, stability values of the terminal node and the third proxy coordination node includes: Based on the network connection data, a maximum value is obtained; the maximum value is at least used to represent the maximum number of terminal nodes that the third proxy coordination node can connect to; Based on the connection fluctuation value and the maximum value, stability values of the terminal node and the third proxy coordination node are obtained.
4. The HPLC communication unit fault diagnosis method according to claim 1, characterized in that: The calculation formula for obtaining the connection change value of the fourth proxy coordination node based on the number of changes and the number of node connections is as follows: in, Indicates the connection change value of the kth proxy coordination node; Indicates the number of changes in the connection of the k-th proxy coordination node, is a positive integer greater than or equal to 2; represents the number of node connections of the kth proxy coordination node at the i-th change; represents the number of node connections of the kth proxy coordination node at the i+1th change; Indicates absolute value.
5. The HPLC communication unit fault diagnosis method according to claim 1, characterized in that: The acquiring, based on the connection change value, a complexity value between the first proxy coordination node and the fourth proxy coordination node includes: Based on the fourth proxy coordination node, acquiring the number of child nodes and a signal-to-noise ratio; the signal-to-noise ratio is a signal-to-noise ratio between the first proxy coordination node and the fourth proxy coordination node; Based on the fourth proxy coordination node, obtaining the number of levels; Based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value, a complexity value between the first proxy coordination node and the fourth proxy coordination node is obtained.
6. The HPLC communication unit fault diagnosis method according to claim 5, characterized in that: The calculation formula for obtaining the complexity value between the first proxy coordination node and the fourth proxy coordination node based on the number of child nodes, the signal-to-noise ratio, the number of levels, and the connection change value is as follows: in, Indicates the complexity value between the vth proxy coordination node and the kth proxy coordination node; represents the signal-to-noise ratio between the vth proxy coordination node and the kth proxy coordination node; Indicates the number of child nodes of the kth proxy coordination node; Indicates the connection change value of the kth proxy coordination node; Indicates the level number of the kth proxy coordination node; Represents a normalization function, which is used to normalize the values in brackets to the range of [0,1].
7. A HPLC communication unit fault diagnosis device, characterized in that: include: A reading module, used for acquiring network connection data of HPLC communication network nodes; The HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes; A processing module, for obtaining a stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node; wherein, based on the network connection data, the first historical network topology structure data of the terminal node is obtained; based on the first historical network topology structure data, the number of connections and the connection duration between the terminal node and a third proxy coordination node are obtained; the third proxy coordination node is any one of the proxy coordination nodes; based on the number of connections and the connection duration, the connection fluctuation value between the terminal node and the third proxy coordination node is obtained; based on the connection fluctuation value, the stability value of the terminal node and the third proxy coordination node is obtained; And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node; And, based on the network connection data, obtain the complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node; wherein, based on the network connection data, obtain the second historical network topology data of the fourth proxy coordination node; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node; based on the second historical network topology data, obtain the number of changes in the connection of the fourth proxy coordination node and the number of node connections; based on the number of changes and the number of node connections, obtain the connection change value of the fourth proxy coordination node; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node; based on the connection change value, obtain the complexity value between the first proxy coordination node and the fourth proxy coordination node; And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node; and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node; The control module is used to perform fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
8. A HPLC communication unit fault diagnosis system, characterized in that: include: A reader, for obtaining network connection data of a node of an HPLC communication network; The HPLC communication network nodes include a central coordination node, a terminal node and a plurality of proxy coordination nodes; A processor, configured to obtain a stability value between the terminal node and each proxy coordination node based on the network connection data; the stability value is at least used to characterize the size of the change in the network topology structure of the HPLC communication network formed between the terminal node and the corresponding proxy coordination node; wherein, based on the network connection data, the first historical network topology structure data of the terminal node is obtained; based on the first historical network topology structure data, the number of connections and the connection duration between the terminal node and a third proxy coordination node are obtained; the third proxy coordination node is any one of the proxy coordination nodes; based on the number of connections and the connection duration, the connection fluctuation value between the terminal node and the third proxy coordination node is obtained; based on the connection fluctuation value, the stability value of the terminal node and the third proxy coordination node is obtained; And, based on each stability value, obtaining a first proxy coordination node; the first proxy coordination node is a proxy coordination node with the smallest change in the network topology structure of the HPLC communication network formed with the terminal node among each proxy coordination node; And, based on the network connection data, obtain the complexity value between the first proxy coordination node and each proxy coordination node; the complexity value is at least used to characterize the quality of communication between the first proxy coordination node and the corresponding proxy coordination node; wherein, based on the network connection data, obtain the second historical network topology data of the fourth proxy coordination node; the fourth proxy coordination node is any proxy coordination node among the proxy coordination nodes that can serve as a jump node of the first proxy coordination node; based on the second historical network topology data, obtain the number of changes in the connection of the fourth proxy coordination node and the number of node connections; based on the number of changes and the number of node connections, obtain the connection change value of the fourth proxy coordination node; the connection change value is at least used to characterize the degree of each node connection change of the fourth proxy coordination node; based on the connection change value, obtain the complexity value between the first proxy coordination node and the fourth proxy coordination node; And, based on each complexity value, obtaining a second proxy coordination node; the second proxy coordination node is a proxy coordination node having the best communication quality with the first proxy coordination node among each proxy coordination node; and, based on the first proxy coordinating node and the second proxy coordinating node, determining a fault diagnosis path between the terminal node and the central coordinating node; The controller is used for performing fault diagnosis on the HPLC communication unit based on the fault diagnosis path.
Citation Information
Patent Citations
A system and method for station area topology identification based on power line broadband carrier (HPLC)
CN109256856A
Autonomous decentralized wireless ad hoc network communication method, device, equipment and medium
CN118265025A