A method and system for handling faults based on HPLC and HRF dual-mode communication
By positioning the faulty nodes and changing the transmission path in the HPLC and HRF dual-mode communication systems, the problems of low data transmission efficiency and great impact of transmission channel abnormalities are solved, and efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202311233287.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2043-09-22
AI Technical Summary
How to improve data transmission efficiency in HPLC and HRF dual-mode communication systems and reduce the impact of transmission channel abnormalities on data transmission.
By locating the faulty node, the second transmission path is obtained according to the preset path change rules, and communication is performed. The method includes detecting the communication mode of the failed node, finding a backup device or a target node, and scheduling resources to ensure the continuity and efficiency of data transmission.
It improves the efficiency of communication recovery, ensures that data is not lost, and reduces the impact of transmission channel failure on data transmission, and improves the overall efficiency of data transmission.
Smart Images

Figure CN117255012B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power grid, and in particular to a method and system for handling faults based on HPLC and HRF dual-mode communications. Background Art
[0002] High speed power line communication (HPLC) is a broadband power line carrier technology for data transmission on low voltage power lines. The power line carrier communication network uses power lines as a communication medium to realize the aggregation, transmission and interaction of power consumption information of low voltage power users. Compared with the traditional low speed narrowband power line carrier technology, HPLC technology has a large bandwidth and high transmission rate, which can meet the higher requirements of low voltage power line carrier communication. High speed wireless communication (HRF) uses wireless channels as communication medium, which is not affected by various non-ideal factors of power lines, heavy load and strong noise interference of power grids. The dual-mode power consumption information network integrates high speed power carrier communication and high speed wireless communication, uses power lines or wireless channels as transmission media, connects central coordinator (CCO), proxy coordinator (PCO), and terminal station (STA) and other devices to form a communication network. In recent years, with the development of smart grids, local communication modules based on HPLC and HRF dual modes have been applied on a large scale. How to achieve efficient testing and on-site operation and maintenance of terminal dual-mode modules has become a hot topic in research and engineering applications. Summary of the invention
[0003] (I) Purpose of the invention
[0004] The object of the present invention is to provide a method and system for handling faults based on HPLC and HRF dual-mode communications, which can improve data transmission efficiency and reduce the impact of transmission channel abnormalities on data transmission.
[0005] (II) Technical solution
[0006] To solve the above problems, the present invention provides a method for handling faults based on HPLC and HRF dual-mode communication, comprising:
[0007] When the first communication transmission path fails, locating the faulty node of the first communication transmission path according to a preset positioning rule;
[0008] According to the fault location result and the preset path change rule, a second transmission path is obtained to perform communication transmission;
[0009] According to a preset detection rule, detecting and obtaining a fault cause of the first communication transmission path;
[0010] Eliminate the fault according to the cause of the fault;
[0011] After the fault is eliminated, the first communication transmission path is reset to restore normal communication.
[0012] In another aspect of the present invention, preferably, according to a preset positioning rule, positioning the faulty node of the first communication transmission path includes:
[0013] Obtaining the number of transmissions of each node on the first communication transmission path;
[0014] Determining whether a first target node on the first communication transmission path is a faulty node according to the number of transmissions includes:
[0015] It is determined whether the transmission times of the nodes on both sides adjacent to the first target node are equal. If they are not equal, the first target node is a faulty node.
[0016] In another aspect of the present invention, preferably, according to the fault location result and the preset path change rule, obtaining the second transmission path and performing communication transmission includes:
[0017] Detecting a communication mode when a failure of the failed node occurs;
[0018] If the communication mode at the time of the failure is the HPLC communication mode, detecting whether there is a backup device in the HRF communication mode at the fault node, and if so, starting the backup device to establish HRF communication for transmission, and determining it as the second transmission path;
[0019] If not, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection and confirm a second transmission path;
[0020] If the communication mode at the time of the failure is the HRF communication mode, detecting whether there is a backup device in the HPLC communication mode at the fault node, and if so, starting the backup device to establish HPLC communication for transmission, which is determined as the second transmission path;
[0021] If not, according to the communication data of the faulty node and the preset first rule, a second target node capable of establishing an HRF communication connection is sought, and a second transmission path is confirmed.
[0022] In another aspect of the present invention, preferably, according to the communication data of the faulty node and the preset first rule, searching for a second target node capable of establishing an HRF communication connection, and confirming the second transmission path comprises:
[0023] A second target node is acquired, wherein a distance between the second target node and a normal node on the first communication transmission path is less than or equal to a distance between the faulty node and a normal node on the first communication transmission path.
[0024] In another aspect of the present invention, preferably, according to the communication data of the faulty node and the preset first rule, searching for a second target node capable of establishing an HRF communication connection, and confirming the second transmission path further comprises:
[0025] According to the acquired second target node and the preset first rule, the acquired second target node is scheduled according to the communication data of the faulty node.
[0026] In another aspect of the present invention, preferably, according to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node includes:
[0027] Prioritizing the communication data of the faulty node to obtain a first priority queue;
[0028] Analyze the communication data status of the faulty node in sequence according to the first priority queue;
[0029] If a single second target node can satisfy the communication data of the faulty node, the similarity is calculated according to the second rule, and the first scheduling target node is found for scheduling, and the scheduling is successful;
[0030] If a single second target node cannot meet the communication data of the faulty node, according to the third rule, the second priority queue of the second target node is calculated, and the second scheduling target node is found according to the second priority queue for scheduling. If the scheduling is successful, it is terminated. If the scheduling is unsuccessful, it returns to the first priority queue and loops.
[0031] In another aspect of the present invention, preferably, according to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node further comprises:
[0032] The maximum number of cycles is set, and the communication data of the faulty nodes that have reached the maximum number of cycles are scheduled first.
[0033] In another aspect of the present invention, preferably, if a single second target node can satisfy the communication data of the faulty node, according to the second rule, calculating the similarity includes:
[0034]
[0035] Wherein, S(i,j) represents the matching value between the communication data of the faulty node i and the second target node j; Indicates the average value of resource requirements in each dimension of communication data of the faulty node. represents the average value of resource availability of each dimension of the second target node j; X ik represents the demand for resource k in the communication data of the faulty node i, Y jk Represents the resource availability of resource k in the second target node j.
[0036] In another aspect of the present invention, preferably, if the single second target node cannot satisfy the communication data of the failed node, calculating the second priority queue of the second target node according to the third rule includes;
[0037]
[0038] Wherein, W represents the priority value of the second target node; ava(g, r) represents the availability of resource r of the schedulable second target node g, and the set of second target nodes g is (1, ..., b, ..., c).
[0039] Another aspect of the present invention, preferably, a fault handling system based on HPLC and HRF dual-mode communication, comprising:
[0040] Positioning module: when the first communication transmission path fails, locate the faulty node of the first communication transmission path according to a preset positioning rule;
[0041] Calculation module: according to the fault location result and the preset path change rule, obtain the second transmission path and perform communication transmission;
[0042] Detection module: detects and obtains the cause of the failure of the first communication transmission path according to a preset detection rule;
[0043] Elimination module: Eliminate the fault according to the cause of the fault;
[0044] Reset module: After troubleshooting, reset the first communication transmission path to restore normal communication.
[0045] (III) Beneficial effects
[0046] The above technical solution of the present invention has the following beneficial technical effects:
[0047] The present invention improves the efficiency of restoring communication by locating the faulty node and presetting the path change rules; ensures that data is not lost, and after the fault is eliminated, resets the first communication transmission path to restore normal communication. While improving the data transmission efficiency, it also reduces the impact of transmission channel failure on data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is an overall flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0050] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0052] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0053] Many specific details of the present invention are described below, such as device structure, materials, dimensions, processing technology and techniques, so that the present invention can be more clearly understood. However, as can be understood by those skilled in the art, the present invention can be implemented without following these specific details. Unless otherwise specified below, various parts in the semiconductor device can be made of materials known to those skilled in the art.
[0054] Embodiment 1
[0055] A method for troubleshooting dual-mode communication based on HPLC and HRF. Figure 1 FIG. 1 shows an overall flow chart of an embodiment of the present invention, as shown in FIG. Figure 1 As shown, including:
[0056] When the first communication transmission path fails, the faulty node of the first communication transmission path is located according to a preset positioning rule; the specific content of the first communication transmission path is not limited here, and optionally, during the transmission of the meter data, a communication transmission path is constructed based on an HPLC (Highspeed Power Line Communication) module or an HRF (Highspeed Radio Frequency) module, and the communication transmission path is composed of a collector, an HPLC module or an HRF module and a concentrator, so that the meter data is transmitted through the communication transmission path; the collector collects the meter data of each meter, and then the collector uploads the meter data to the concentrator, and the concentrator integrates or forwards the meter data to view the usage of each meter;
[0057] The specific content of the preset positioning rule is not limited here. Optionally, in this embodiment, according to the preset positioning rule, positioning the faulty node of the first communication transmission path includes:
[0058] Obtaining the number of transmissions of each node on the first communication transmission path;
[0059] Determining whether a first target node on the first communication transmission path is a faulty node according to the number of transmissions includes:
[0060] Determine whether the transmission times of the nodes on both sides adjacent to the first target node are equal. If they are not equal, the first target node is a faulty node. The specific number of faulty nodes that can be located is not limited here. Optionally, there can be one or two, one as the fault starting point and the other as the fault end point.
[0061] According to the fault location result and the preset path change rule, a second transmission path is obtained to perform communication transmission; the specific content of the preset path change rule is not limited. Optionally, in this embodiment, according to the fault location result and the preset path change rule, a second transmission path is obtained to perform communication transmission, which includes:
[0062] Detecting a communication mode when a failure of the failed node occurs;
[0063] If the communication mode at the time of the failure is the HPLC communication mode, detecting whether there is a backup device in the HRF communication mode at the fault node, and if so, starting the backup device to establish HRF communication for transmission, and determining it as the second transmission path;
[0064] If not, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection and confirm a second transmission path;
[0065] If the communication mode at the time of the failure is the HRF communication mode, detecting whether there is a backup device in the HPLC communication mode at the fault node, and if so, starting the backup device to establish HPLC communication for transmission, which is determined as the second transmission path;
[0066] If not, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection, and confirm the second transmission path; the specific content of the preset first rule is not limited here. Optionally, in this embodiment, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection, and confirm the second transmission path includes:
[0067] Acquire a second target node, wherein the distance between the second target node and a normal node on the first communication transmission path is less than or equal to the distance between the faulty node and the normal node on the first communication transmission path;
[0068] Furthermore, the method further includes: scheduling the acquired second target node according to the acquired second target node and the preset first rule and according to the communication data of the faulty node;
[0069] According to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node includes:
[0070] Prioritizing the communication data of the faulty node to obtain a first priority queue;
[0071] Analyze the communication data status of the faulty node in sequence according to the first priority queue;
[0072] If a single second target node can satisfy the communication data of the faulty node, the similarity is calculated according to the second rule, and the first scheduling target node is found for scheduling, and the scheduling is successful;
[0073] If a single second target node cannot satisfy the communication data of the faulty node, the second priority queue of the second target node is calculated according to the third rule, and the second scheduling target node is searched for according to the second priority queue for scheduling. If the scheduling is successful, the process terminates. If the scheduling is unsuccessful, the process returns to the first priority queue and loops.
[0074] Furthermore, according to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node also includes: setting a maximum number of cycles, and giving priority to scheduling the communication data of the faulty node that reaches the maximum number of cycles.
[0075] Optionally, in this embodiment, if a single second target node can satisfy the communication data of the faulty node, according to the second rule, calculating the similarity includes:
[0076]
[0077] Wherein, S(i,j) represents the matching value between the communication data of the faulty node i and the second target node j; Indicates the average value of resource requirements in each dimension of communication data of the faulty node. represents the average value of resource availability of each dimension of the second target node j; X ik represents the demand for resource k in the communication data of the faulty node i, Y jk Indicates the resource availability of resource k in the second target node j. The resource type is not limited here, and can be memory, transmission rate, bandwidth, etc.; wherein, the method for obtaining the resource availability of resource k in the second target node j is not limited here, and can be obtained through historical data, calculated, or directly obtained in the system;
[0078] Further, in this embodiment, if a single second target node cannot satisfy the communication data of the faulty node, according to the third rule, calculating the second priority queue of the second target node includes:
[0079]
[0080] Wherein, W represents the priority value of the second target node; ava(g, r) represents the resource r availability of the schedulable second target node g, and the set of the second target node g is (1, ..., b, ..., c). The method for obtaining the resource r availability of the schedulable second target node g is not limited here, and it can be obtained through historical data, calculated, or directly obtained in the system;
[0081] According to the preset detection rules, the cause of the failure of the first communication transmission path is detected and obtained; the specific content of the preset detection rules is not limited here, and the optional detection content can be: basic performance detection including working frequency band, transmission power spectrum density, center frequency, working bandwidth and maximum transmission level; various basic performances of the HPLC module and the HRF module can be detected respectively to determine the cause of the failure;
[0082] Eliminate the fault according to the fault cause; the specific method of troubleshooting is not limited here, and optionally, the fault level determined according to the fault cause and the previous fault records may be combined to determine the fault handling strategy and perform troubleshooting;
[0083] After the fault is eliminated, the first communication transmission path is reset to restore normal communication.
[0084] This embodiment locates the faulty node and presets the path change rules to improve the efficiency of restoring communication; ensures that data is not lost, and after the fault is eliminated, resets the first communication transmission path to restore normal communication. Scheduling is performed for the second target node, which improves the resource utilization of the second target node, makes the load more balanced, improves the data transmission efficiency, and reduces the impact of transmission channel failure on data transmission.
[0085] Embodiment 2
[0086] A fault handling system based on HPLC and HRF dual-mode communication, comprising:
[0087] Positioning module: when the first communication transmission path fails, locate the faulty node of the first communication transmission path according to a preset positioning rule;
[0088] The specific content of the preset positioning rule is not limited here. Optionally, in this embodiment, according to the preset positioning rule, positioning the faulty node of the first communication transmission path includes:
[0089] Obtaining the number of transmissions of each node on the first communication transmission path;
[0090] Determining whether a first target node on the first communication transmission path is a faulty node according to the number of transmissions includes:
[0091] Determine whether the transmission times of the nodes on both sides adjacent to the first target node are equal. If they are not equal, the first target node is a faulty node. The specific number of faulty nodes that can be located is not limited here. Optionally, there can be one or two, one as the fault starting point and the other as the fault end point.
[0092] Calculation module: according to the fault location result and the preset path change rule, obtain the second transmission path and perform communication transmission;
[0093] The specific content of the preset path change rule is not limited. Optionally, in this embodiment, according to the fault location result and the preset path change rule, obtaining the second transmission path and performing communication transmission includes:
[0094] Detecting a communication mode when a failure of the failed node occurs;
[0095] If the communication mode at the time of the failure is the HPLC communication mode, detecting whether there is a backup device in the HRF communication mode at the fault node, and if so, starting the backup device to establish HRF communication for transmission, and determining it as the second transmission path;
[0096] If not, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection and confirm a second transmission path;
[0097] If the communication mode at the time of the failure is the HRF communication mode, detecting whether there is a backup device in the HPLC communication mode at the fault node, and if so, starting the backup device to establish HPLC communication for transmission, which is determined as the second transmission path;
[0098] If not, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection, and confirm the second transmission path; the specific content of the preset first rule is not limited here. Optionally, in this embodiment, according to the communication data of the faulty node and the preset first rule, find a second target node that can establish an HRF communication connection, and confirm the second transmission path includes:
[0099] Acquire a second target node, wherein the distance between the second target node and a normal node on the first communication transmission path is less than or equal to the distance between the faulty node and the normal node on the first communication transmission path;
[0100] Furthermore, the method further includes: scheduling the acquired second target node according to the acquired second target node and the preset first rule and according to the communication data of the faulty node;
[0101] According to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node includes:
[0102] Prioritizing the communication data of the faulty node to obtain a first priority queue;
[0103] Analyze the communication data status of the faulty node in sequence according to the first priority queue;
[0104] If a single second target node can satisfy the communication data of the faulty node, the similarity is calculated according to the second rule, and the first scheduling target node is found for scheduling, and the scheduling is successful;
[0105] If a single second target node cannot satisfy the communication data of the faulty node, the second priority queue of the second target node is calculated according to the third rule, and the second scheduling target node is searched for according to the second priority queue for scheduling. If the scheduling is successful, the process terminates. If the scheduling is unsuccessful, the process returns to the first priority queue and loops.
[0106] Furthermore, according to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node also includes: setting a maximum number of cycles, and giving priority to scheduling the communication data of the faulty node that reaches the maximum number of cycles.
[0107] Optionally, in this embodiment, if a single second target node can satisfy the communication data of the faulty node, according to the second rule, calculating the similarity includes:
[0108]
[0109] Wherein, S(i,j) represents the matching value between the communication data of the faulty node i and the second target node j; Indicates the average value of resource requirements in each dimension of communication data of the faulty node. represents the average value of resource availability of each dimension of the second target node j; X ik represents the demand for resource k in the communication data of the faulty node i, Y jk Indicates the resource availability of resource k in the second target node j. The resource type is not limited here, and can be memory, transmission rate, bandwidth, etc.; wherein, the method for obtaining the resource availability of resource k in the second target node j is not limited here, and can be obtained through historical data, calculated, or directly obtained in the system;
[0110] Further, in this embodiment, if a single second target node cannot satisfy the communication data of the faulty node, according to the third rule, calculating the second priority queue of the second target node includes:
[0111]
[0112] Wherein, W represents the priority value of the second target node; ava(g, r) represents the resource r availability of the schedulable second target node g, and the set of the second target node g is (1, ..., b, ..., c). The method for obtaining the resource r availability of the schedulable second target node g is not limited here, and it can be obtained through historical data, calculated, or directly obtained in the system;
[0113] Detection module: according to the preset detection rules, detect and obtain the cause of the failure of the first communication transmission path; the specific content of the preset detection rules is not limited here, and the optional detection content can be: basic performance detection including working frequency band, transmission power spectrum density, center frequency, working bandwidth and maximum transmission level; various basic performances of the HPLC module and the HRF module can be detected respectively to determine the cause of the failure;
[0114] Troubleshooting module: troubleshooting according to the fault cause; the specific method of troubleshooting is not limited here, and optionally, it can be to determine the fault level according to the fault cause, combine with previous fault records, determine the fault handling strategy, and perform troubleshooting;
[0115] Reset module: After troubleshooting, reset the first communication transmission path to restore normal communication.
[0116] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
[0117] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims and their equivalents. Without departing from the scope of the present invention, a person skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
[0118] Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
[0119] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.
[0120] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
Claims
1. A method for handling faults based on HPLC and HRF dual-mode communication, characterized in that: include: When the first communication transmission path fails, locating the faulty node of the first communication transmission path according to a preset positioning rule; According to the fault location result and the preset path change rule, a second transmission path is obtained to perform communication transmission, including the steps of: S1, detecting the communication mode when the fault node fails; S2. If the communication mode at the time of the failure is the HPLC communication mode, detect whether there is a backup device in the HRF communication mode at the fault node. If so, start the backup device to establish HRF communication for transmission and determine it as the second transmission path; if not, execute step S4; S3. If the communication mode at the time of the failure is the HRF communication mode, detect whether there is a backup device in the HPLC communication mode at the fault node, and if so, start the backup device to establish HPLC communication for transmission, and determine it as the second transmission path; If not, execute step S4; S4, according to the communication data of the faulty node and the preset first rule, searching for a second target node capable of establishing an HRF communication connection, and confirming a second transmission path, including: Acquire a second target node, wherein the distance between the second target node and a normal node on the first communication transmission path is less than or equal to the distance between the faulty node and the normal node on the first communication transmission path; According to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node includes: Prioritizing the communication data of the faulty node to obtain a first priority queue; Analyze the communication data status of the faulty node in sequence according to the first priority queue; If a single second target node can satisfy the communication data of the faulty node, the similarity is calculated according to the second rule, and the first scheduling target node is found for scheduling, and the scheduling is successful; If a single second target node cannot satisfy the communication data of the faulty node, the second priority queue of the second target node is calculated according to the third rule, and the second scheduling target node is searched for according to the second priority queue for scheduling. If the scheduling is successful, the process terminates. If the scheduling is unsuccessful, the process returns to the first priority queue for a loop. According to a preset detection rule, detecting and obtaining a fault cause of the first communication transmission path; Troubleshoot the fault according to the cause of the fault; After the fault is eliminated, the first communication transmission path is reset to restore normal communication.
2. The method for troubleshooting based on HPLC and HRF dual-mode communication according to claim 1, characterized in that: According to a preset positioning rule, positioning the faulty node of the first communication transmission path includes: Obtaining the number of transmissions of each node on the first communication transmission path; Determining whether a first target node on the first communication transmission path is a faulty node according to the number of transmissions includes: It is determined whether the transmission times of the nodes on both sides adjacent to the first target node are equal. If they are not equal, the first target node is a faulty node.
3. The method for troubleshooting based on HPLC and HRF dual-mode communication according to claim 1, characterized in that: According to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node further includes: The maximum number of cycles is set, and the communication data of the faulty nodes that have reached the maximum number of cycles are scheduled first.
4. The method for troubleshooting based on HPLC and HRF dual-mode communication according to claim 1, characterized in that: If a single second target node can satisfy the communication data of the faulty node, according to the second rule, calculating the similarity includes: Wherein, S(i,j) represents the matching value between the communication data of the faulty node i and the second target node j; Indicates the average value of resource requirements in each dimension of communication data of the faulty node. represents the average value of resource availability of each dimension of the second target node j; X ik represents the demand for resource k in the communication data of the faulty node i, Y jk Represents the resource availability of resource k in the second target node j.
5. The method for troubleshooting based on HPLC and HRF dual-mode communication according to claim 1, characterized in that: If the single second target node cannot satisfy the communication data of the failed node, according to the third rule, calculating the second priority queue of the second target node includes: Wherein, W represents the priority value of the second target node; ava(g, r) represents the availability of resource r of the schedulable second target node g, and the set of second target nodes g is (1, ..., b, ..., c).
6. A fault handling system based on HPLC and HRF dual-mode communication, characterized in that: include: Positioning module: when the first communication transmission path fails, locate the faulty node of the first communication transmission path according to a preset positioning rule; The calculation module: according to the fault location result and the preset path change rule, obtains the second transmission path and performs communication transmission, including the steps of: S1, detecting the communication mode when the fault node fails; S2. If the communication mode at the time of the failure is the HPLC communication mode, detect whether there is a backup device in the HRF communication mode at the fault node. If so, start the backup device to establish HRF communication for transmission and determine it as the second transmission path; if not, execute step S4; S3. If the communication mode at the time of the failure is the HRF communication mode, detect whether there is a backup device in the HPLC communication mode at the fault node, and if so, start the backup device to establish HPLC communication for transmission, and determine it as the second transmission path; If not, execute step S4; S4, according to the communication data of the faulty node and the preset first rule, searching for a second target node capable of establishing an HRF communication connection, and confirming a second transmission path, including: Acquire a second target node, wherein the distance between the second target node and a normal node on the first communication transmission path is less than or equal to the distance between the faulty node and the normal node on the first communication transmission path; According to the acquired second target node and the preset first rule, scheduling the acquired second target node according to the communication data of the faulty node includes: Prioritizing the communication data of the faulty node to obtain a first priority queue; Analyze the communication data status of the faulty node in sequence according to the first priority queue; If a single second target node can satisfy the communication data of the faulty node, the similarity is calculated according to the second rule, and the first scheduling target node is found for scheduling, and the scheduling is successful; If a single second target node cannot satisfy the communication data of the faulty node, the second priority queue of the second target node is calculated according to the third rule, and the second scheduling target node is searched for according to the second priority queue for scheduling. If the scheduling is successful, the process terminates. If the scheduling is unsuccessful, the process returns to the first priority queue for a loop. Detection module: detects and obtains the cause of the failure of the first communication transmission path according to a preset detection rule; Elimination module: Eliminate the fault according to the cause of the fault; Reset module: After troubleshooting, reset the first communication transmission path to restore normal communication.
Citation Information
Patent Citations
Fault processing device and method based on HPLC and HRF dual-mode communication
CN116781493A