CN116545842A - Communication fault network reconstruction method, system, electronic equipment and storage medium - Google Patents
Communication fault network reconstruction method, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116545842A CN116545842A CN202310402590.XA CN202310402590A CN116545842A CN 116545842 A CN116545842 A CN 116545842A CN 202310402590 A CN202310402590 A CN 202310402590A CN 116545842 A CN116545842 A CN 116545842A
- Authority
- CN
- China
- Prior art keywords
- node
- fault
- network
- communication
- communication network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 367
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000006855 networking Effects 0.000 claims description 66
- 238000010276 construction Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 16
- 230000000694 effects Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention belongs to the technical field of the Internet of things, and particularly relates to a communication fault network reconstruction method, a system, electronic equipment and a storage medium. The method comprises the following steps: pre-constructing a power line communication network corresponding to a power distribution station area and storing a local routing table in a power distribution gateway; when the power line communication network is detected to have faults, determining fault information; determining a fault associated node associated with the fault information; reconstructing a failure network associated with the failure information; updating the power line communication network. The invention realizes that when the network fails, corresponding treatment measures can be made for different types of faults, the uninterrupted effect of communication is ensured, the high dependence on the central node in the network is reduced, and the communication reliability is enhanced.
Description
Technical Field
The invention belongs to the technical field of the Internet of things, and particularly relates to a communication fault network reconstruction method, a system, electronic equipment and a storage medium.
Background
The low-voltage power line communication technology has the characteristics of wide distribution, no need of rewiring, low cost and the like, and is widely applied to information acquisition of intelligent power grids, intelligent home, street lamp control, building automation, remote automatic meter reading and other systems. However, due to the reasons of changeable physical topology, frequency selective attenuation, strong channel interference and the like of the power line network, the reliability of the communication link and the communication node is insufficient, the communication speed of the power line is greatly influenced, and even the communication is disconnected, so that a method for improving the communication reliability of the power line carrier in the power distribution area is needed.
At present, when a fault occurs in a communication network, the whole machine network is usually stopped, faults are individually checked and located, and then maintenance is performed. The process of locating the fault consumes a lot of time, and affects the normal operation of all nodes in the network.
Disclosure of Invention
In order to solve the problems, the invention provides a communication fault network reconstruction method, a system, electronic equipment and a storage medium, so that when a network fails, corresponding treatment measures can be made for different types of faults, the effect of uninterrupted communication is ensured, meanwhile, the high dependence on a central node in the network is reduced, and the communication reliability is enhanced. The specific technical scheme is as follows:
a method of communication failure network reconstruction, comprising the steps of:
step S1, a power line communication network corresponding to a power distribution station area is constructed in advance, and a local routing table corresponding to the power distribution station area is stored in a power distribution gateway; the local routing table corresponds to each node in the power line communication network;
step S2, when the power line communication network is detected to have faults, fault information is determined; the fault information comprises at least one of a link fault and a node fault;
Step S3, determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets;
step S4, reconstructing a fault network associated with the fault information based on the fault associated node;
and step S5, updating the power line communication network based on the reconstructed fault network.
Preferably, the step S1 specifically includes:
step S11, determining a user node associated with a power distribution station, and transmitting a first networking broadcast to the user node based on a power distribution gateway in the power distribution station;
step S12, when a first networking response fed back by at least one communication node is received, a primary communication network corresponding to the power distribution station is built based on the communication node; the communication node is a user node with the communication signal quality between the communication node and the distribution gateway being greater than or equal to a preset signal quality threshold;
step S13, for each communication node, a second networking broadcast is sent based on the current communication node, and a secondary communication sub-network corresponding to the current communication node is constructed according to at least one receiving node corresponding to the second networking broadcast; wherein the receiving node comprises at least one of a user node in a peer communication network with the communication node, a user node not joining in a communication network, and a user node in a superior communication network;
Step S14, repeatedly executing the step S13 until the current user node is the last user node, and obtaining a power line communication network corresponding to the power distribution station;
and S15, constructing a corresponding local routing table stored in the power distribution gateway according to the constructed power line communication network.
Preferably, the step S13 specifically includes the following steps:
if the receiving node corresponding to the second networking broadcast is a user node in the peer-to-peer communication network with the communication node, determining at least one adjacent node corresponding to the receiving node based on the communication signal quality between the communication node and the receiving node, and updating the node identification of the adjacent node into a local routing table of the receiving node; or alternatively, the first and second heat exchangers may be,
if the receiving node corresponding to the second networking broadcast is a user node which is not added into the communication network, when receiving a second networking response of at least one receiving node, constructing a corresponding secondary communication sub-network based on the receiving node, and updating the node identification of the receiving node into a local routing table corresponding to the corresponding communication node.
Preferably, the step S2 specifically includes:
Step S21, when communication interruption between two to-be-processed nodes included in the power line communication network is detected, and communication between the two to-be-processed nodes and other user nodes in the power line communication network is normal, determining that the fault type is a link fault, and taking a link between the two to-be-processed nodes as a fault link; the fault links comprise an uplink fault link and a downlink fault link;
and step S22, when all communication interruption between one to-be-processed node and each user node different from the to-be-processed node in the power line communication network is detected, determining that the fault type is a node fault, and taking the to-be-processed node as a fault node.
Preferably, the step S3 specifically includes:
step S31, if the fault link is an uplink fault link, determining a source node corresponding to the uplink fault link, determining a neighbor node to be applied corresponding to the source node based on a local routing table corresponding to the source node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the uplink fault link;
Step S32, if the fault link is a downlink fault link, determining a destination node corresponding to the downlink fault link, determining a neighbor node to be applied corresponding to the destination node based on a local routing table corresponding to the destination node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the downlink fault link;
and step S33, if the node is faulty, determining a sub-communication network associated with the faulty node based on a local routing table corresponding to the faulty node, determining an inter-network adjacent node corresponding to the sub-communication network according to a local routing table corresponding to a user node included in the sub-communication network, and using the inter-network adjacent node as an adjacent node between different sub-networks associated with the faulty node.
Preferably, the step S4 specifically includes:
step S41, if the occurrence of the uplink fault is detected, after the fault associated node is determined, the fault associated node can be used as a relay node of the uplink fault link, namely an intermediate path node of the uplink fault link, the original uplink fault link is updated to be a link which starts from a source node to the fault associated node and is further transmitted from the fault associated node to a destination node;
Step S42, if the occurrence of downlink fault is detected, the source node of the downlink fault adds a link fault zone bit in the original data packet for representing the downlink failure between the source node and the destination node, and after determining the fault associated node, the data packet is sent to the fault associated node;
when the fault associated node receives the data packet, firstly determining whether the node is an adjacent node of a destination node of a downlink fault link, if so, removing a link fault flag bit in the data packet, and transmitting the processed data packet to the destination node of the downlink fault link; conversely, after receiving the data packet, the destination node returns the feedback data packet to the source node through the fault associated node;
step S43, if the occurrence of node faults is detected, a source node connected with the fault node adds a central node fault zone bit into an original data packet, and after determining a fault associated node, the data packet is sent to the fault associated node, when the fault associated node receives the data packet, whether communication between the fault associated node and a superior communication network is normal or not is firstly determined, if so, the central node fault zone bit is removed, the processed data packet is sent to the superior communication network, and finally the data packet is sent to a destination node.
Preferably, the step S5 specifically includes: and uploading node information to the power distribution gateway by each user node included in the reconstructed fault network, updating the local routing table by the power distribution gateway in combination with the node information when the node information of each user node is received, and updating the power line communication network based on the connection relation between the nodes included in the node information.
The communication fault network reconstruction system is used for realizing the communication fault network reconstruction method and comprises a power line communication network construction module, a fault information determination module, a fault associated node determination module, a fault network reconstruction module and a power line communication network update module which are connected in sequence;
the power line communication network construction module is used for constructing a power line communication network corresponding to the distribution transformer area and a local routing table thereof; the local routing table corresponds to each node in the power line communication network;
the fault information determining module is used for determining fault information when the power line communication network is detected to be faulty; the fault information comprises at least one of a link fault and a node fault;
The fault associated node determining module is used for determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets;
the fault network reconstruction module is used for reconstructing a fault network associated with the fault information based on the fault associated node; the power line communication network updating module is used for updating the power line communication network based on the reconstructed fault network.
An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the communication failure network reconstruction method.
A computer readable storage medium storing computer instructions for causing a processor to implement the communication failure network reconstruction method when executed.
The beneficial effects of the invention are as follows: the invention provides a communication fault network reconstruction method, a system, electronic equipment and a storage medium, which solve the problems that in the prior art, when faults occur in a power line communication network, the whole machine network is usually stopped, faults are checked and positioned one by one, then maintenance is carried out, and the process of positioning the faults causes a great deal of time consumption to influence the normal operation of all nodes in the network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
FIG. 1 is a schematic flow chart of the method of the present invention;
FIG. 2 is a communication architecture diagram of a distribution block;
FIG. 3 is a schematic diagram of a primary communication network;
FIG. 4 is a schematic diagram of a secondary communication network;
fig. 5 is a schematic diagram of a power line communication network;
FIG. 6 is a schematic diagram of a communication failure network;
FIG. 7 is a schematic diagram of a system of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Example 1:
the embodiment provides a communication fault network reconstruction method, as shown in fig. 1, comprising the following steps:
step S1, a power line communication network corresponding to a power distribution station area is constructed in advance, and a local routing table corresponding to the power distribution station area is stored in a power distribution gateway; the local routing table corresponds to each node in the power line communication network.
The distribution area refers to a power supply range or area of a transformer, and correspondingly, the distribution area refers to a power supply range or area of a distribution transformer, and can be understood as a power supply area from a high-voltage column head of a single distribution transformer to a user. Fig. 2 is an exemplary diagram of a communication architecture of a power distribution substation, where communication equipment of the power distribution substation includes a primary grid, a power distribution gateway, a reactive compensation device, a low-voltage branch detection unit, a smart meter, and the like. The primary net rack comprises a distribution transformer, a lightning arrester, a low-voltage side transformer group, a distribution transformer low-voltage side switch and the like. The distribution gateway is the core of the distribution area communication network, has rich communication interfaces and strong communication capacity, can adapt to the access of various services of the low-voltage distribution transformer area, adopts the design of a Docker container software application program, realizes complete decoupling of software and hardware, and can comprehensively improve the lean management level of the low-voltage distribution network.
In an embodiment, the power line communication network may be a pre-constructed substation voltage power line carrier communication network, which may be a communication network based on a clustered hybrid structure of a distribution gateway and at least one low-voltage side user node covered by the distribution substation.
The step S1 specifically comprises the following steps:
step S11, determining a user node associated with a power distribution area, and transmitting a first networking broadcast to the user node based on a power distribution gateway in the power distribution area.
In this embodiment, the user node may be a low-voltage side user power terminal covered by the distribution area. The first networking broadcast may be a data packet that includes a specific identification, and at the same time, the specific identification may be an identification that characterizes the networking request.
In the practical application process, all user nodes associated with the distribution transformer area can be determined first, then, the distribution gateway in the distribution transformer area has corresponding networking authority, and the first networking broadcast can be sent to at least one user node through the distribution gateway, so that when the user node receives the first networking broadcast, the networking process can be started to be executed.
Step S12, when a first networking response fed back by at least one communication node is received, a primary communication network corresponding to the power distribution station is built based on the communication node; the communication node is a user node with the communication signal quality between the communication node and the distribution gateway being greater than or equal to a preset signal quality threshold.
In this embodiment, the communication node may be a user node that receives a networking broadcast sent by the power distribution gateway, or may be a user node whose communication signal quality is greater than or equal to a preset signal quality threshold. In the practical application process, when the distribution gateway sends networking broadcast to each user node, the distribution gateway is closer to the distribution gateway, and the user nodes with higher communication signal quality between the distribution gateway can receive the networking broadcast sent by the distribution gateway, and at the moment, the nodes can be used as communication nodes. The first networking response may be a networking response fed back by the corresponding communication node based on the first networking broadcast. The primary communication network may be a network directly connected to the distribution gateway, i.e., each node included in the network is directly connected to the distribution gateway.
In the practical application process, after the first networking broadcast is sent through the power distribution gateway, at least one communication node receives the first networking broadcast, generates a first networking response based on the first networking broadcast and sends the first networking response to the power distribution gateway, and when the first networking response fed back by each communication node is received, a first-level communication network corresponding to the power distribution station area can be constructed based on the at least one communication node.
By way of example, as shown in fig. 3, assume that there are w customer nodes associated with a distribution substation, where k nodes receive a first networking broadcast from a distribution gateway, and then the k nodes will sequentially send a first networking reply to the distribution gateway, and the distribution gateway, upon receiving the first networking reply for the k nodes, may construct a primary communication network based on the k nodes. Step S13, for each communication node, a second networking broadcast is sent based on the current communication node, and a secondary communication sub-network corresponding to the current communication node is constructed according to at least one receiving node corresponding to the second networking broadcast.
In this embodiment, for each communication node that has joined the primary communication network, the networking authority is obtained, and the networking broadcast may be sent to each user node, and the networking broadcast sent by each communication node may be used as the second networking broadcast. The receiving node may be a user node capable of receiving the second networking broadcast, or may be a user node whose communication signal quality with the corresponding communication node is greater than or equal to a preset communication quality threshold. It should be noted that the receiving node may include three cases: a user node in a peer communication network with a current communication node, a node in a lower level communication network and a node in an upper level communication network. The secondary communication subnetworks may be subnetworks of the secondary communication networks belonging to the primary communication network, i.e. based on at least one secondary communication subnetwork, a secondary communication network may be composed. The secondary communication subnetwork may be a cluster with the current communication node as a central node.
In the practical application process, when the communication node sends the second networking broadcast to each user node, three situations may exist in the receiving node of the second networking broadcast, and the corresponding processing modes in each situation are different, and the following may be respectively described in detail:
the first case may be: the receiving node is a user node in a peer-to-peer communication network with the communication node. If the receiving node corresponding to the second networking broadcast is a user node in the peer-to-peer communication network with the communication node, determining at least one adjacent node corresponding to the receiving node based on the communication signal quality between the communication node and the receiving node, and updating the node identification of the at least one adjacent node into a local routing table of the receiving node.
In the practical application process, when the receiving node is a node in the peer communication network with the communication node, the receiving node can record the communication signal quality of each communication node, compare the communication signal quality, select at least one communication node with higher communication signal quality as the adjacent node of the receiving node, and update the node identifications of the adjacent nodes into the local routing table of the receiving node at the same time, so that when the node failure or the link failure occurs later, the temporary relay node can be determined based on the node identifications recorded in the local routing table. It should be noted that, the neighboring node at this time may be a neighboring node in the same subnet.
It should be noted that the receiving node may also be a node that is in a different subnet of the peer-to-peer communication network than the communication node, i.e. the receiving node is in a different subnet than the corresponding communication node. At this time, the receiving node may record the communication signal quality of the corresponding communication node, and through the comparison of the communication signal quality, select the node with the highest communication signal quality between two subnets as the neighboring nodes between different subnets corresponding to the receiving node, and update the node identifiers of these neighboring nodes to the local routing table of the receiving node, so that when the node failure or the link failure occurs subsequently, the temporary relay node may be determined based on the node identifiers recorded in the local routing table.
The second case may be: the receiving node is a user node that has not joined the communication network. If the receiving node corresponding to the second networking broadcast is a user node which is not added into the communication network, when a second networking response of at least one receiving node is received, a corresponding secondary communication sub-network is constructed based on the at least one receiving node, and the node identification of the at least one receiving node is updated to a local routing table corresponding to the corresponding communication node.
In the practical application process, when the receiving node is a user node which does not join in the communication network, after receiving the second networking broadcast, a second networking response may be generated based on the second networking broadcast and fed back to the communication node corresponding to the received second networking broadcast, and when the communication node receives the second networking response, a corresponding secondary communication sub-network may be constructed based on at least one receiving node feeding back the second networking response, and a node identifier of the at least one receiving node may be updated to a local routing table of the corresponding communication node, so that the communication node may record cluster members in the corresponding communication sub-network, and a node identifier of a newly joining node may be reported to the distribution gateway. By way of example, as shown in fig. 4, node b may be considered as the current communication node, and then node m, node n, and node o may be cluster members in a cluster centered on node b, i.e., a secondary communication sub-network associated with node b may be constructed based on node m, node n, and node o.
The third case may be: the receiving node is a node in the upper communication network, and does not perform any processing at this time.
And step S14, repeatedly executing the step S13 until the current user node is the last user node, and obtaining the power line communication network corresponding to the power distribution station.
In the practical application process, after the secondary communication network is obtained, each user node added into the secondary communication sub-network has networking authority, networking broadcast can be continuously sent to the user node, and for each user node, the step of constructing the communication sub-network can be re-executed until the current user node is the last user node associated with the power distribution station, so that the power line communication network corresponding to the power distribution station can be obtained. Exemplary, as shown in fig. 5, a schematic diagram of a construction process of the power line communication network is shown.
And S15, constructing a corresponding local routing table stored in the power distribution gateway according to the constructed power line communication network.
Step S2, in the practical application process, after the construction of the power line communication network corresponding to the power distribution station is completed, uploading detailed information of corresponding nodes to a power distribution gateway by each node included in the power line communication network, so that the power distribution gateway can detect the communication condition of each node in the power line communication network, and when the power line communication network is detected to have faults, determining fault information; the failure information includes at least one of a link failure and a node failure. The fault link may be a communication fault occurring in a communication link connected between two nodes in the power line communication network; the failed node may be a node included in the power line communication network that has failed in communication. The method specifically comprises the following steps:
Step S21, when communication interruption between two to-be-processed nodes included in the power line communication network is detected, and communication between the two to-be-processed nodes and other user nodes in the power line communication network is normal, determining that the fault type is a link fault, and taking a link between the two to-be-processed nodes as a fault link; the failed links include an uplink failed link and a downlink failed link.
In this embodiment, the node to be processed may be a node in which a fault occurs in the power communication network. The other user nodes may be nodes adjacent to the two to-be-processed nodes, and may include peer nodes, lower nodes, and upper nodes associated with the to-be-processed nodes.
In a specific implementation, when the power distribution gateway does not receive node information sent by communication links of at least two to-be-processed nodes based on a path within a preset time period, it may be determined that communication between the at least two to-be-processed nodes is in an interrupted state, and when the power distribution gateway detects that communication between the at least two to-be-processed nodes and other user nodes in the power communication network is in a normal state, that is, the to-be-processed nodes may send node information to each other between the other user nodes, and may upload the node information to the power distribution gateway, it may be determined that the fault type is a link fault, and a fault link between the at least two to-be-processed nodes may be used as the fault information.
For example, as shown in fig. 6, when communication between the node a and the node e is interrupted while communication between the node a and the node b and the node c are normal, communication between the node e and the node d and the node f are normal, the link between the node a and the node e may be determined as a failed link.
It should be noted that the nodes to be processed may be a parent node and a child node in different level networks. In the practical application process, when all nodes included in the power line communication network are in a normal communication state.
And step S22, when all communication interruption between one to-be-processed node and each user node different from the to-be-processed node in the power line communication network is detected, determining that the fault type is a node fault, and taking the to-be-processed node as a fault node.
In a specific implementation, when the power distribution gateway does not receive node information associated with at least one node to be processed within a preset time period, that is, when communication between the node to be processed and all surrounding nodes is in an interrupted state, the fault type can be determined as a node fault, and at least one node to be processed is taken as a fault node.
Step S3, determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets.
The local routing table may be a list for recording node connection relationships and node identifications. The local routing table corresponds to each node in the power line communication network, that is, each node in the power line communication network corresponds to one local routing table, and is used for recording node identifiers of other nodes connected with the corresponding node. It should be noted that, for each peer node in the same subnet, only the adjacent node with relatively higher communication signal quality with the current peer node is recorded in the local routing table corresponding to the current peer node; for each peer node among different subnets, only the node with higher communication signal quality among different subnets is recorded in a local routing table corresponding to the peer node in the current subnet, and the node is used as an adjacent node among different subnets.
For example, as shown in fig. 6, the node in the upper network connected to the node f is the node a, and the node in the lower network connected to the node f is the node k, the node l and the node m, so that the node identifier of the node a, the node identifier of the node k, the node identifier of the node l and the node identifier of the node m can be recorded in the local routing table corresponding to the node f, and in addition, if it is detected in the power line communication network construction process that the communication signal quality between the node d and the node f is relatively high, the node identifier of the node d can be recorded in the local routing table corresponding to the node f; if the communication signal quality between the node g and the node f in different subnets is detected to be relatively high in the power line communication network construction process, the node identification of the node g can be recorded in a local routing table corresponding to the node f.
In this embodiment, the failure-associated node may be another node associated with the failed node or link. Alternatively, the failure-related node may include a neighboring node in the same subnet and a neighboring node between different subnets.
In the actual application process, after the fault information is determined, at least one fault associated node associated with the fault information can be determined according to the local routing table corresponding to the fault information, so that the fault associated node is used as a temporary relay node, and normal communication is ensured. The determination method of the failure related node corresponding to the failure link with respect to the failure information is different from the determination method of the failure related node corresponding to the failure link with respect to the failure information, and the two determination methods may be described below.
When the fault information is a fault link, the fault information can be divided into an uplink fault link and a downlink fault link, and at this time, the fault associated node is a neighboring node in the same subnet.
Step S31, if the fault link is an uplink fault link, determining a source node corresponding to the uplink fault link, determining a neighbor node to be applied corresponding to the source node based on a local routing table corresponding to the source node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the uplink fault link.
And step S32, if the fault link is a downlink fault link, determining a destination node corresponding to the downlink fault link, determining a neighbor node to be applied corresponding to the destination node based on a local routing table corresponding to the destination node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the downlink fault link.
In this embodiment, the uplink failure link may be a failure of a link that uploads data from the node to the distribution gateway. Illustratively, when data is uploaded to the distribution gateway by a node in the secondary network, a link between the node in the secondary network and the node in the primary network fails, which is an uplink failure link. Accordingly, a downlink failure link may be a failure of a link that transmits data from the distribution gateway to a corresponding node. Illustratively, when data is transmitted from a node in the secondary network to a node in the tertiary network, a link between the node in the secondary network and the node in the tertiary network transmits a failure, which is a downlink failure link. It should be noted that the tertiary network is a sub-network belonging to the secondary network, and the secondary network is a sub-network belonging to the primary network.
In this embodiment, the source node may be a network node serving as a source for transmitting the original data packet, i.e. the start point of any network link, during the service transmission. Accordingly, the destination node may be a network node that receives the data packet during the service transmission process, i.e. the end point of any network link.
And step S33, if the node is in fault, the fault associated node comprises adjacent nodes among different subnets. Determining a sub-communication network associated with the fault node based on a local routing table corresponding to the fault node, determining an inter-network neighboring node corresponding to the sub-communication network according to a local routing table corresponding to a user node included in the sub-communication network, and using the inter-network neighboring node as a neighboring node between different sub-networks associated with the fault node.
In a specific implementation, if the fault information is detected to be that any node in the power line communication network has a fault, a local routing table corresponding to the fault node can be determined, a sub-communication network corresponding to the fault node is determined from the local routing table, further, each node and a corresponding local routing table included in the sub-communication network are determined, a node with the highest communication signal quality between the sub-communication network and the local routing table is screened out, the node is used as an inter-network adjacent node, and meanwhile, the inter-network adjacent node is used as an adjacent node between different sub-networks associated with the fault node.
And S4, reconstructing a fault network associated with the fault information based on the fault associated node.
In this embodiment, the fault network may be a part of the sub-networks associated with the fault information in the power line communication network. In the actual application process, after determining the fault associated node associated with the fault information, the fault network associated with the fault information can be reconstructed based on the fault associated node. The following description may be made with respect to a failure network reconfiguration procedure of failure information of different failure types, respectively. The method specifically comprises the following steps:
in step S41, if an uplink failure is detected, after determining the failure association node, the failure association node may be used as a relay node for the uplink failure, that is, an intermediate path node for the uplink failure, and the original uplink failure is updated to a link starting from the source node to the failure association node and then sent from the failure association node to the destination node.
For example, referring again to fig. 6, if an uplink between the node e and the node a fails and it is determined that the node d is the node with the highest quality of communication signal with the node e, the node d may be regarded as a failure-associated node, thereby generating an uplink from the node e to the node d to the node a.
Step S42, if the occurrence of the downlink fault is detected, the source node of the downlink fault adds a link fault zone bit in the original data packet for representing the downlink fault between the source node and the destination node, and after determining the fault associated node, the data packet is sent to the fault associated node.
When the fault associated node receives the data packet, firstly determining whether the node is an adjacent node of a destination node of a downlink fault link, if so, removing a link fault flag bit in the data packet, and transmitting the processed data packet to the destination node of the downlink fault link; in contrast, after receiving the data packet, the destination node returns the feedback data packet to the source node through the fault associated node.
For example, referring again to fig. 6, if the downlink between the node f and the node m fails and it is determined that the node k is the node with the highest quality of communication signal with the node m, the node k may be regarded as the failure-associated node, thereby generating the downlink from the node f to the node k to the node m.
Step S43, if the occurrence of node faults is detected, a source node connected with the fault node adds a central node fault zone bit into an original data packet, and after determining a fault associated node, the data packet is sent to the fault associated node, when the fault associated node receives the data packet, whether communication between the fault associated node and a superior communication network is normal or not is firstly determined, if so, the central node fault zone bit is removed, the processed data packet is sent to the superior communication network, and finally the data packet is sent to a destination node.
Illustratively, referring again to FIG. 6, node b sends a fault and communication between node i and the distribution gateway is blocked, node j may be considered as the fault-associated node, thereby maintaining communication with the distribution gateway via link j-c.
And step S5, updating the power line communication network based on the reconstructed fault network.
In the actual application process, after the reconstructed fault network is obtained, the power line communication network and the local routing table stored in the power distribution gateway can be updated based on the reconstructed fault network.
Optionally, updating the power line communication network and the local routing table based on the reconstructed fault network includes: node information of at least one user node included in the reconstructed faulty network is received to reconstruct the power line communication network based on the at least one node information.
In a specific implementation, when the fault network is reconfigured, in order to realize uninterrupted communication, the topology structure in the original power line communication network may be changed, after the fault network is reconfigured, node information is uploaded to a power distribution network by each user node included in the reconfigured fault network, when the node information of each user node is received, the power distribution network can update a total routing table by combining the node information, and meanwhile, the power line communication network is updated based on the connection relation between the nodes included in the node information.
For some communication tasks, the communication path will be blocked, and the communication delay is too long, so that the completion of the communication task cannot be guaranteed. Therefore, the distribution gateway plans an optimal path for the communication task according to the updated total routing table, and improves the communication reliability.
Example 2:
the embodiment provides a communication fault network reconstruction system, which is used for realizing the communication fault network reconstruction method, as shown in fig. 7, and comprises a power line communication network construction module, a fault information determination module, a fault associated node determination module, a fault network reconstruction module and a power line communication network update module which are sequentially connected. The power line communication network construction module is used for constructing a power line communication network corresponding to the distribution transformer area and a local routing table thereof; the local routing table corresponds to each node in the power line communication network. The fault information determining module is used for determining fault information when the power line communication network is detected to be faulty; the failure information includes at least one of a link failure and a node failure. The fault associated node determining module is used for determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets. The fault network reconstruction module is used for reconstructing a fault network associated with the fault information based on the fault associated node. The power line communication network updating module is used for updating the power line communication network based on the reconstructed fault network.
The working principle of the system of the invention is as follows: the power line communication network construction module constructs a power line communication network corresponding to the power distribution station area and a local routing table thereof; the local routing table corresponds to each node in the power line communication network; when the power distribution gateway detects that the power line communication network has faults, the fault information determining module determines fault information; the fault information comprises at least one of a link fault and a node fault;
the fault associated node determining module determines a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets;
a fault network reconstruction module reconstructs a fault network associated with the fault information based on the fault associated node; the power line communication network updating module updates the power line communication network based on the reconstructed fault network.
The power line communication network construction module comprises a first networking broadcast transmission module, a primary communication network construction module, a secondary communication sub-network construction module and a power line communication network construction module.
A first networking broadcast transmitting module for determining at least one user node associated with a power distribution substation and transmitting a first networking broadcast to the at least one user node based on a power distribution gateway in the power distribution substation;
The first-level communication network construction module is used for constructing a first-level communication network corresponding to the power distribution station area based on the at least one communication node when receiving a first networking response fed back by the at least one communication node; the communication node is a user node with communication signal quality greater than or equal to a preset signal quality threshold;
a secondary communication sub-network construction module, configured to send, for each of the communication nodes, a second networking broadcast based on a current communication node, and construct a secondary communication sub-network corresponding to the current communication node according to at least one receiving node corresponding to the second networking broadcast; wherein the receiving node comprises a user node in a peer communication network with the communication node, a node which does not join the communication network and a node in an upper communication network;
and the power line communication network construction module is used for repeatedly executing the steps of constructing the communication sub-network until the current user node is the last user node, and obtaining the power line communication network corresponding to the power distribution station.
Optionally, the secondary communication sub-network construction module includes: and the adjacent node determining unit and the secondary communication sub-network constructing unit.
A neighbor node determining unit, configured to determine, if a receiving node corresponding to the second networking broadcast is a user node in a peer-to-peer communication network with the communication node, at least one neighbor node corresponding to the receiving node based on a communication signal quality between the primary user node and the receiving node, and update a node identifier of the at least one neighbor node to a local routing table of the receiving node; or alternatively, the first and second heat exchangers may be,
and the secondary communication sub-network construction unit is used for constructing a corresponding secondary communication sub-network based on the at least one lower node when receiving a second networking response of the at least one lower node if the receiving node corresponding to the second networking broadcast is a user node which is not added into the communication network, and updating the node identification of the at least one lower node into a local routing table corresponding to the corresponding primary user node.
Optionally, the failure information is a failure link, and the failure information determining module is specifically configured to: and when the communication interruption between at least two to-be-processed nodes included in the power line communication network is detected, and the communication between the at least two to-be-processed nodes and other user nodes in the power line communication network is normal, determining that the fault type is a link fault, and taking the fault information as a link between the at least two to-be-processed nodes as a fault link.
Optionally, the fault link includes an uplink fault link and a downlink fault link, the fault associated node includes a neighboring node in the same subnet, and the fault associated node determining module includes: a neighboring node first determining unit and a neighboring node second determining unit.
A first determining unit of adjacent node, configured to determine, if the failed link is an uplink failed link, a source node corresponding to the uplink failed link, determine, based on a local routing table corresponding to the source node, an adjacent node to be applied corresponding to the source node, and use the adjacent node to be applied as an adjacent node in the same subnet associated with the failed link;
and the second adjacent node determining unit is used for determining a destination node corresponding to the downlink fault link if the fault link is the downlink fault link, determining an adjacent node to be applied corresponding to the destination node based on a local routing table corresponding to the destination node, and taking the adjacent node to be applied as an adjacent node in the same subnet associated with the fault link.
Optionally, the fault information is a fault node, and the fault information determining module is specifically configured to: and when detecting that the communication between at least one to-be-processed node and each user node different from the at least one to-be-processed node included in the power line communication network is completely interrupted, determining that the fault type is a node fault, and taking the at least one to-be-processed node as a fault node.
Optionally, the failure associated node includes neighboring nodes between different subnets, and the failure associated node determining module is specifically configured to: determining a sub-communication network associated with the fault node based on a local routing table corresponding to the fault node, determining an inter-network adjacent node corresponding to the sub-communication network according to a local routing table corresponding to at least one user node included in the sub-communication network, and taking the inter-network adjacent node as an adjacent node between different sub-networks associated with the fault node.
Optionally, the power line communication network updating module is specifically configured to: node information of at least one user node included in the reconstructed faulty network is received to reconstruct the power line communication network based on the at least one node information.
The communication fault network reconstruction device provided by the embodiment of the invention can execute the communication fault network reconstruction method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example 3:
an electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the communication failure network reconstruction method.
Fig. 8 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 8, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the communication failure network reconfiguration method.
Example 4:
the present embodiment provides a computer readable storage medium storing computer instructions for causing a processor to implement the communication failure network reconstruction method when executed.
In the present embodiment, the communication failure network reconstruction method may be implemented as a computer program, which is tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the communication failure network reconstruction method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the communication failure network reconstruction method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described above in this invention may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Those of ordinary skill in the art will appreciate that the elements of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the elements of the examples have been described generally in terms of functionality in the foregoing description to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in this application, it should be understood that the division of units is merely a logic function division, and there may be other manners of division in practical implementation, for example, multiple units may be combined into one unit, one unit may be split into multiple units, or some features may be omitted.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.
Claims (10)
1. A method for reconstructing a communication failure network, comprising the steps of:
step S1, a power line communication network corresponding to a power distribution station area is constructed in advance, and a local routing table corresponding to the power distribution station area is stored in a power distribution gateway; the local routing table corresponds to each node in the power line communication network;
Step S2, when the power line communication network is detected to have faults, fault information is determined; the fault information comprises at least one of a link fault and a node fault;
step S3, determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets;
step S4, reconstructing a fault network associated with the fault information based on the fault associated node;
and step S5, updating the power line communication network based on the reconstructed fault network.
2. The method for reconstructing a communication failure network according to claim 1, wherein said step S1 specifically comprises:
step S11, determining a user node associated with a power distribution station, and transmitting a first networking broadcast to the user node based on a power distribution gateway in the power distribution station;
step S12, when a first networking response fed back by at least one communication node is received, a primary communication network corresponding to the power distribution station is built based on the communication node; the communication node is a user node with the communication signal quality between the communication node and the distribution gateway being greater than or equal to a preset signal quality threshold;
Step S13, for each communication node, a second networking broadcast is sent based on the current communication node, and a secondary communication sub-network corresponding to the current communication node is constructed according to at least one receiving node corresponding to the second networking broadcast; wherein the receiving node comprises at least one of a user node in a peer communication network with the communication node, a user node not joining in a communication network, and a user node in a superior communication network;
step S14, repeatedly executing the step S13 until the current user node is the last user node, and obtaining a power line communication network corresponding to the power distribution station;
and S15, constructing a corresponding local routing table stored in the power distribution gateway according to the constructed power line communication network.
3. The method for reconstructing a communication failure network according to claim 2, wherein said step S13 specifically comprises the steps of:
if the receiving node corresponding to the second networking broadcast is a user node in the peer-to-peer communication network with the communication node, determining at least one adjacent node corresponding to the receiving node based on the communication signal quality between the communication node and the receiving node, and updating the node identification of the adjacent node into a local routing table of the receiving node; or alternatively, the first and second heat exchangers may be,
If the receiving node corresponding to the second networking broadcast is a user node which is not added into the communication network, when receiving a second networking response of at least one receiving node, constructing a corresponding secondary communication sub-network based on the receiving node, and updating the node identification of the receiving node into a local routing table corresponding to the corresponding communication node.
4. The method for reconstructing a communication failure network according to claim 1, wherein said step S2 specifically comprises:
step S21, when communication interruption between two to-be-processed nodes included in the power line communication network is detected, and communication between the two to-be-processed nodes and other user nodes in the power line communication network is normal, determining that the fault type is a link fault, and taking a link between the two to-be-processed nodes as a fault link; the fault links comprise an uplink fault link and a downlink fault link;
and step S22, when all communication interruption between one to-be-processed node and each user node different from the to-be-processed node in the power line communication network is detected, determining that the fault type is a node fault, and taking the to-be-processed node as a fault node.
5. The method for reconstructing a communication failure network according to claim 4, wherein the step S3 specifically comprises:
step S31, if the fault link is an uplink fault link, determining a source node corresponding to the uplink fault link, determining a neighbor node to be applied corresponding to the source node based on a local routing table corresponding to the source node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the uplink fault link;
step S32, if the fault link is a downlink fault link, determining a destination node corresponding to the downlink fault link, determining a neighbor node to be applied corresponding to the destination node based on a local routing table corresponding to the destination node, and taking the neighbor node to be applied as a neighbor node in the same subnet associated with the downlink fault link;
and step S33, if the node is faulty, determining a sub-communication network associated with the faulty node based on a local routing table corresponding to the faulty node, determining an inter-network adjacent node corresponding to the sub-communication network according to a local routing table corresponding to a user node included in the sub-communication network, and using the inter-network adjacent node as an adjacent node between different sub-networks associated with the faulty node.
6. The method for reconstructing a communication failure network according to claim 4, wherein in step S4, specifically:
step S41, if the occurrence of the uplink fault is detected, after the fault associated node is determined, the fault associated node can be used as a relay node of the uplink fault link, namely an intermediate path node of the uplink fault link, the original uplink fault link is updated to be a link which starts from a source node to the fault associated node and is further transmitted from the fault associated node to a destination node;
step S42, if the occurrence of downlink fault is detected, the source node of the downlink fault adds a link fault zone bit in the original data packet for representing the downlink failure between the source node and the destination node, and after determining the fault associated node, the data packet is sent to the fault associated node;
when the fault associated node receives the data packet, firstly determining whether the node is an adjacent node of a destination node of a downlink fault link, if so, removing a link fault flag bit in the data packet, and transmitting the processed data packet to the destination node of the downlink fault link; conversely, after receiving the data packet, the destination node returns the feedback data packet to the source node through the fault associated node;
Step S43, if the occurrence of node faults is detected, a source node connected with the fault node adds a central node fault zone bit into an original data packet, and after determining a fault associated node, the data packet is sent to the fault associated node, when the fault associated node receives the data packet, whether communication between the fault associated node and a superior communication network is normal or not is firstly determined, if so, the central node fault zone bit is removed, the processed data packet is sent to the superior communication network, and finally the data packet is sent to a destination node.
7. The method for reconstructing a communication failure network according to claim 4, wherein said step S5 specifically comprises: and uploading node information to the power distribution gateway by each user node included in the reconstructed fault network, updating the local routing table by the power distribution gateway in combination with the node information when the node information of each user node is received, and updating the power line communication network based on the connection relation between the nodes included in the node information.
8. A communication fault network reconstruction system, which is characterized by being used for realizing the communication fault network reconstruction method according to any one of claims 1 to 7, and comprising a power line communication network construction module, a fault information determination module, a fault associated node determination module, a fault network reconstruction module and a power line communication network update module which are connected in sequence;
The power line communication network construction module is used for constructing a power line communication network corresponding to the distribution transformer area and a local routing table thereof; the local routing table corresponds to each node in the power line communication network;
the fault information determining module is used for determining fault information when the power line communication network is detected to be faulty; the fault information comprises at least one of a link fault and a node fault;
the fault associated node determining module is used for determining a fault associated node associated with the fault information based on a local routing table; the fault associated node comprises adjacent nodes in the same subnet and/or adjacent nodes among different subnets;
the fault network reconstruction module is used for reconstructing a fault network associated with the fault information based on the fault associated node;
the power line communication network updating module is used for updating the power line communication network based on the reconstructed fault network.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the communication failure network reconstruction method of any one of claims 1 to 7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the communication failure network reconstruction method of any one of claims 1 to 7 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310402590.XA CN116545842A (en) | 2023-04-14 | 2023-04-14 | Communication fault network reconstruction method, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310402590.XA CN116545842A (en) | 2023-04-14 | 2023-04-14 | Communication fault network reconstruction method, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116545842A true CN116545842A (en) | 2023-08-04 |
Family
ID=87456850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310402590.XA Pending CN116545842A (en) | 2023-04-14 | 2023-04-14 | Communication fault network reconstruction method, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116545842A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116962082A (en) * | 2023-09-19 | 2023-10-27 | 北京华云安信息技术有限公司 | Node disconnection reconnection method, device, equipment and storage medium |
-
2023
- 2023-04-14 CN CN202310402590.XA patent/CN116545842A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116962082A (en) * | 2023-09-19 | 2023-10-27 | 北京华云安信息技术有限公司 | Node disconnection reconnection method, device, equipment and storage medium |
CN116962082B (en) * | 2023-09-19 | 2023-12-08 | 北京华云安信息技术有限公司 | Node disconnection reconnection method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108075825B (en) | SDN-based multi-controller failure processing method for space-based information network | |
CN113098769B (en) | Wireless transmission node, control method thereof and wireless ad hoc network transmission system | |
CN109981769A (en) | Network cooperating model, method and device towards industrial intelligent manufacture | |
CN106817301A (en) | Fault recovery method and device, controller, software defined network | |
CN112218321B (en) | Master-slave link switching method, device, communication equipment and storage medium | |
CN105873169A (en) | Wireless ad-hoc network communication method | |
CN116545842A (en) | Communication fault network reconstruction method, system, electronic equipment and storage medium | |
JP2014175747A (en) | Independent distribution network system | |
CN104468231A (en) | SDN interchanger and controller dynamic registration method | |
CN102710438B (en) | Node management method, device and system | |
US9814052B2 (en) | Data distribution system, distribution device, terminal device, and data distribution method providing enhanced communication efficiency | |
CN106254150B (en) | network fault processing method and system | |
CN103825839A (en) | Message transmission method and equipment based on aggregated link | |
CN113364691B (en) | Data interaction system, method, equipment and storage medium | |
US20200178337A1 (en) | Reconstructing a personal area network or system after a failure in the network or system | |
CN111447091B (en) | Network loop detection method, device, equipment and storage medium | |
US9900234B2 (en) | Direct link quality monitoring method, communications device, and system | |
CN112968725B (en) | Satellite link switching method and device | |
CN104468367A (en) | Method for modifying region dispatch data network address | |
CN106130783B (en) | Port fault processing method and device | |
CN110233713B (en) | Multi-link communication method and system based on LLDP message | |
CN110336589B (en) | Power line carrier communication method | |
CN114389726A (en) | Intelligent networking method, system and storage medium based on edge device | |
CN113612636A (en) | Software defined network topology discovery method and system | |
CN103781104A (en) | Path-repair-based path maintenance method facing wireless sensor network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |