CN112087330B - Daisy link communication system, diagnosis method, storage medium, and electronic device - Google Patents

Daisy link communication system, diagnosis method, storage medium, and electronic device Download PDF

Info

Publication number
CN112087330B
CN112087330B CN202010888257.0A CN202010888257A CN112087330B CN 112087330 B CN112087330 B CN 112087330B CN 202010888257 A CN202010888257 A CN 202010888257A CN 112087330 B CN112087330 B CN 112087330B
Authority
CN
China
Prior art keywords
communication node
communication
sub
link
node
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.)
Active
Application number
CN202010888257.0A
Other languages
Chinese (zh)
Other versions
CN112087330A (en
Inventor
杨进
赵建建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Svolt Energy Technology Co Ltd
Original Assignee
Svolt Energy Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Svolt Energy Technology Co Ltd filed Critical Svolt Energy Technology Co Ltd
Priority to CN202010888257.0A priority Critical patent/CN112087330B/en
Publication of CN112087330A publication Critical patent/CN112087330A/en
Application granted granted Critical
Publication of CN112087330B publication Critical patent/CN112087330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Abstract

The present disclosure relates to a chrysanthemum link communication system, a diagnosis method, a storage medium, and an electronic device, the system including N communication nodes, the N communication nodes being connected in sequence and forming a node loop, each of the communication nodes including a plurality of link switches, the plurality of link switches including at least two upper end link switches and at least two lower end link switches; when a communication link of the node loop is conducted, at least one upper end link switch on each communication node is in a closed state, at least one lower end link switch corresponding to any closed upper end link switch on the communication node is in a closed state on an upper communication node of the communication node, and at least one upper end link switch corresponding to any closed lower end link switch on the communication node is in a closed state on a lower communication node of the communication node.

Description

Daisy link communication system, diagnosis method, storage medium, and electronic device
Technical Field
The present disclosure relates to daisy chain communication, and in particular, to a daisy chain communication system, a diagnostic method, a storage medium, and an electronic device.
Background
In electrical and electronic engineering, daisy chains represent a wiring scheme, for example, device a and device B are connected by cable, device B is connected by cable to device C, and device C is connected by cable to device D. In the related art, the daisy chain communication mostly adopts single-chain open-loop daisy chain communication, and when any one communication node is open-circuited, it is complicated to affect the node communication after the self-open-circuited node and repair the fault.
Disclosure of Invention
An object of the present disclosure is to provide a daisy chain communication system, a diagnosis method, a storage medium, and an electronic device, which are used to solve the problem of low fault tolerance of daisy chain communication in the related art.
In order to achieve the above object, a first aspect of the present disclosure provides a daisy chain communication system, where the system includes N communication nodes, where N is a positive integer greater than 1, the N communication nodes are sequentially connected to form a node loop, each communication node includes a plurality of link switches, and the plurality of link switches includes at least two upper end link switches and at least two lower end link switches;
under the condition that a communication link of the node loop is conducted, at least one upper end link switch on each communication node is in a closed state, at least one lower end link switch corresponding to any closed upper end link switch on the communication node is in a closed state on the last communication node of the communication node, and at least one upper end link switch corresponding to any closed lower end link switch on the communication node is in a closed state on the next communication node of the communication node;
the N communication nodes comprise a main communication node configured with a main control board and a sub communication node configured with a slave control board.
Optionally, the master communication node is configured to, in a case that a communication failure occurs in the communication link, restore normal communication of the communication link or diagnose the failed communication node by controlling opening or closing of each of the link switches of the child communication nodes.
A second aspect of the present disclosure provides a diagnosis method for a daisy-chain communication system, which is applied to the daisy-chain communication system according to the first aspect of the present disclosure, and the method includes:
under the condition that the first communication link has communication faults, a first request message is sequentially sent to the 1 st to the N-1 st sub-communication nodes through the main communication node;
under the condition that a response message of an Mth sub-communication node to the first request message is not received, carrying out recovery operation on a link between the Mth sub-communication node and an M-1 th sub-communication node, wherein M is smaller than N-1;
under the condition that the link between the Mth sub-communication node and the M-1 th sub-communication node fails to recover, sequentially sending a second request message to the Nth-1 st sub-communication node to the Mth sub-communication node through the main communication node;
under the condition that a response message of an Lth sub-communication node to the second request message is not received, carrying out recovery operation on a link between the Lth sub-communication node and an L +1 th sub-communication node, wherein L is greater than or equal to M and less than N;
determining that the Lth, Lth +1 th, Mth, and M-1 th sub-communication nodes are faulty nodes when a link between the Lth and L +1 th sub-communication nodes fails to recover.
Optionally, the performing a recovery operation on the link between the mth sub-communication node and the M-1 st sub-communication node includes:
updating the switch state of the closed upper end link switch in the Mth communication node to be a fault and opening the switch;
updating the switch state of a closed lower end link switch in the M-1 communication node to be a fault and opening the switch;
closing an upper-end link switch in an open state in the Mth communication node;
closing a lower end link switch in an open state in the M-1 communication node;
and returning to execute the step of sequentially sending the first request message to the Mth to the N-1 th sub-communication nodes through the main communication node.
Optionally, the method comprises:
for each sub communication node, determining the fault state of the sub communication node according to the switch state of each link switch of the sub communication node;
under the condition that the switch states of the upper end link switches of the sub communication nodes are all in fault, determining that the sub communication nodes are in a first fault state;
under the condition that the switch states of the lower end link switches of the sub communication nodes are all in fault, determining that the sub communication nodes are in a first fault state;
and determining the sub communication node to be in a second fault state when one of the upper end link switches of the sub communication node is in a fault state or one of the lower end link switches of the sub communication node is in a fault state.
Optionally, the method comprises:
under the condition that any one of the child communication nodes is determined to be in the first fault state, starting a fault lamp of the child communication node and setting the fault lamp as a first target color;
and under the condition that any one of the sub communication nodes is determined to be in the second fault state, starting a fault lamp of the sub communication node and setting the fault lamp to be in a second target color.
Optionally, the method comprises:
before the step of sequentially sending the first request message to the 1 st to the (N-1) th sub-communication nodes through the main communication node, the method includes:
disconnecting normal communication service;
the method further comprises the following steps:
and recovering the normal communication service under the condition of responding to the received response message of the N-1 th sub communication node to the first request message.
A third aspect of the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the second aspect of the present disclosure.
A fourth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of the second aspect of the disclosure.
Optionally, the electronic device is a master communication node in the daisy-chain communication system according to the first aspect of the disclosure.
Through the technical scheme, the plurality of link switches are arranged on each communication node, so that the fault tolerance rate of the communication system is improved, and the communication system has stronger recovery capability in case of communication failure.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 illustrates a daisy-chained communication system according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method for diagnosis of daisy-chain communications, according to an example embodiment.
FIG. 3 is another flow diagram illustrating a method of diagnosing daisy-chain communications, according to an example embodiment.
FIG. 4 is a block diagram illustrating an electronic device according to an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect. The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units. It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
Fig. 1 is a block diagram of a daisy-chain communication system according to an exemplary embodiment, and as shown, the system includes N communication nodes, where the N communication nodes include a master communication node 1 configured with a master control board and slave communication nodes 1 to N-1 configured with slave control boards, and N is a positive integer greater than 1. The N communication nodes are connected in sequence to form a node loop, each communication node includes a plurality of link switches, the plurality of link switches includes at least two upper end link switches and at least two lower end link switches, as shown in fig. 1, T1 and T2 on the communication node are two upper end link switches, and B1 and B2 are two lower end link switches.
When the communication link of the node loop is turned on, at least one upper end link switch on each communication node is in a closed state, at least one lower end link switch corresponding to any closed upper end link switch on the communication node exists on the last communication node of the communication node, and at least one upper end link switch corresponding to any closed lower end link switch on the communication node exists on the next communication node of the communication node, and the communication link of the node loop is turned on, for example, when the upper end link switches of T1 of all the communication nodes are closed and all B1 link switches are closed.
The daisy chain communication system may be applied to a battery management system, the master control board configured on the master communication node may be a battery management system master control board bcu (battery Computer unit), and the slave control board configured on the sub communication node may be a battery management system slave control board cmc (cell Measurement circuit).
Those skilled in the art should appreciate that fig. 1 only shows some communication nodes and only some link switches, and the other sub-communication nodes and the link switches are not shown individually.
According to the scheme, a plurality of link switches are configured on each communication node, and when a certain link switch of the communication node fails, other link switches which do not fail can be used for communication, so that the fault tolerance rate of the communication system is improved, and the recovery performance is high when the communication fails.
In some embodiments, the main communication node 1 may be further configured to, in a case of a communication failure of a communication link, restore normal communication of the communication link by controlling opening or closing of each link switch of the sub communication node, or diagnose the failed communication node, where a link switch failure condition of the failed communication node may be obtained by adjusting a switch state of each link switch, so that a maintenance person can maintain the failed communication node.
In order to maintain normal communication of the communication system, the present disclosure further provides some embodiments of a fault diagnosis method for diagnosing the communication system, and fig. 2 is a flowchart illustrating a diagnosis method for daisy-chain communication according to an exemplary embodiment, as shown in fig. 2, the method includes the following steps:
s101, under the condition that the first communication link has communication faults, a first request message is sequentially sent to the 1 st to the N-1 st sub-communication nodes through the main communication node.
S102, under the condition that the response message of the Mth sub-communication node to the first request message is not received, the link between the Mth sub-communication node and the M-1 th sub-communication node is recovered, wherein M is smaller than N-1.
It should be noted that the mth child communication node may be any one communication node in the communication link, and the value of M may be changed, for example, when the first request packet is sent for the first time, the packet reply of the 5 th child communication node is not received, at this time, M is 5, after the recovery operation is performed, the 5 th child communication node is repaired, and the packet reply of the 10 th child communication node is not received, at this time, M is updated to 10.
S103, under the condition that the link between the Mth sub-communication node and the M-1 th sub-communication node is failed to recover, sequentially sending a second request message to the Nth-1 th sub-communication node to the Mth sub-communication node through the main communication node.
It should be noted that the lth sub-communication node may be any communication node in the communication link, and the value of L may be changed, for example, when the first request packet is sent for the first time, the packet reply of the 10 th sub-communication node is not received, where L is 10, after the recovery operation is performed, the 10 th sub-communication node is repaired, and the packet reply of the 5 th sub-communication node is not received, where L is updated to 5.
S104, under the condition that the response message of the L-th sub-communication node to the second request message is not received, carrying out recovery operation on the link between the L-th sub-communication node and the L + 1-th sub-communication node, wherein L is greater than or equal to M and less than N.
S105, under the condition that the link between the Lth sub-communication node and the L +1 th sub-communication node fails to recover, determining that the Lth sub-communication node, the L +1 th sub-communication node, the Mth sub-communication node and the M-1 th sub-communication node are fault nodes.
Specifically, the lth sub-communication node, the L +1 th sub-communication node, the mth sub-communication node, and the M-1 th sub-communication node are communication nodes that cannot be repaired by the method. At this time, the lth sub-communication node, the L +1 th sub-communication node, the mth sub-communication node, and the M-1 th sub-communication node are in a first failure state.
In the embodiment of the disclosure, the message is sent in the positive direction to all the communication nodes to find out the failed communication node and try to repair, and under the condition that the positive direction cannot be repaired, the message can be sent in the negative direction to find out more failed nodes, so that the failed communication link can be timely restored, the efficiency of troubleshooting is improved, more failed communication nodes in the case of communication failure can be found out, and the repair efficiency of related workers is improved.
Illustratively, the plurality of link switches are two upper end link switches and two lower end link switches, and the performing a recovery operation on the link between the mth sub-communication node and the M-1 st sub-communication node includes: updating the switch state of the closed upper end link switch in the Mth communication node to be a fault and opening the switch; updating the switch state of a closed lower end link switch in the M-1 communication node to be a fault and opening the switch; closing an upper-end link switch in an open state in the Mth communication node; closing a lower end link switch in an open state in the M-1 communication node; and returning to execute the step of sequentially sending the first request message to the Mth to the N-1 th sub-communication nodes through the main communication node. At this point, the failed link switch may be flagged as failed for subsequent repair, and the restoration of the overall communication system is improved by closing another set of link switches to restore normal communication for the communication link.
It should be noted that the operation of restoring the link between the lth sub-communication node and the L +1 th sub-communication node in S104 is similar to the operation of restoring the link between the mth sub-communication node and the M-1 th sub-communication node, and is not described herein again.
In some exemplary embodiments, it is also possible to determine, for each of the child communication nodes, a failure state of the child communication node according to a switching state of each of the link switches of the child communication node; under the condition that the switch states of the upper end link switches of the sub communication nodes are all faults, determining that the sub communication nodes are in a first fault state; under the condition that the switch states of the lower end link switches of the sub communication nodes are all in fault, determining that the sub communication nodes are in a first fault state; and determining the sub communication node to be in a second fault state when one of the upper end link switches of the sub communication node is in a fault state or one of the lower end link switches of the sub communication node is in a fault state. At this moment, the repaired fault communication nodes can be marked to obtain more fault communication nodes, and different fault conditions of the communication nodes are marked to distinguish the fault types of the communication nodes, so that the later maintenance of related workers is facilitated.
Wherein, the switch states of all link switches of the communication nodes in the communication link can be recorded in a fault state table, for example: if the current link switch is closed and has no fault, recording the current link switch as 1, if the current link switch is open and has no fault, recording the current link switch as 0, if the current link switch has fault, recording the current link switch as 2, and if the switching states of the upper end link switch of a certain communication node are all recorded as 2 in the table, indicating that the communication node is in the first fault state; if one upper end link switch of a certain communication node records as 2 and the other link switches are all 0, the communication node is in a second fault state; if the on-off states of the upper end link switches of one communication node are all recorded as 1, and the on-off states of the lower end link switches of the communication node are all recorded as 0, the communication node has no fault.
Illustratively, the method may further comprise: under the condition that any one of the sub communication nodes is determined to be in the first fault state, starting a fault lamp of the sub communication node and setting the fault lamp as a first target color; and under the condition that any one of the sub communication nodes is determined to be in the second fault state, starting a fault lamp of the sub communication node and setting the fault lamp to be in a second target color. For example, the first target color may be red, the second target color may be yellow, or different fault states may be distinguished by turning on fault lamps of different colors, which is not limited by the present disclosure. At the moment, related workers can visually see the fault communication node and know the fault state of the fault node by turning on the fault lamp, and the efficiency of repairing the fault communication node by the related workers can be improved.
Illustratively, the method may further comprise: before the step of sequentially sending the first request message to the 1 st to the (N-1) th sub-communication nodes through the main communication node, the method includes: disconnecting normal communication service; the method further comprises the following steps: and recovering the normal communication service under the condition of responding to the received response message of the N-1 st sub communication node to the first request message. At this time, the normal communication service is disconnected before the communication link is repaired, so that the safety problem caused by the interference of the normal communication service in the repairing process or the damage of the communication information can be avoided, and the normal communication is recovered under the condition that the repairing is successful, so that the normal operation of the communication service is ensured.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
FIG. 3 is another flow chart illustrating a method of diagnosing daisy-chain communications, according to an exemplary embodiment, as shown in FIG. 3, including the steps of:
s301, setting i to be 1.
S302, judging whether i is larger than the total number N of the communication nodes of the communication link, and executing the step S320 under the condition that i is larger than N; step S303 is performed in the case where i is smaller than N.
S303, sending a first request message to the ith sub-communication node through the main communication node.
S304, judging whether a response message of the ith sub-communication node is received or not, and executing the step S309 under the condition of receiving the response message; if the response message is not accepted, step S305 is executed.
S305, setting the value of M as i.
S306, updating the switch state of the closed upper end link switch in the Mth communication node into a fault and disconnecting the switch; and updating the switch state of the closed lower end link switch in the M-1 communication node to be a fault and opening the switch.
S307, judging whether the Mth communication node has a disconnected upper end link switch, and executing a step S308 under the condition that the Mth communication node has the disconnected upper end link switch; in the case where the mth communication node has no open upper link switch, step S310 is performed.
S308, closing an upper end link switch disconnected in the Mth communication node; and closing the disconnected lower end link switch in the M-1 communication node, and after the step is completed, re-executing S303.
The value of S309, i is increased by 1.
The failed communication node M and the failed link switch in the communication node M +1 can be marked for subsequent maintenance through steps S301, S302, S303, S304, S305, S306, S307, S308, and the recoverability of the entire communication system is improved by closing another set of link switches to recover the normal communication of the communication link. And performs S310 in case the connection between the mth communication node and the M-1 th communication node cannot be repaired.
S310, setting j to be N-1.
S311, judging whether j is smaller than M of the M-th sub-communication node which cannot be repaired. Step S312 is performed if j is greater than M, and step S320 is performed if j is less than M.
And S312, sequentially sending a second request message to the (N-1) th sub-node to the Mth sub-communication node through the main communication node, wherein the sending direction of the message is opposite to that of the S303.
S313, judging whether a response message of the jth sub-communication node is received, and executing the step S319 under the condition of receiving the response message; if the response message is not accepted, step S314 is executed.
S134, setting the value of L to the value of j.
S315, the switch state of the closed upper end link switch in the L +1 communication node is updated to be a fault, and the switch is disconnected; and updating the switch state of the closed lower end link switch in the L-th communication node to be a fault and opening the switch.
S316, whether or not there is an upper link switch disconnected in the lth communication node, and if there is an upper link switch disconnected in the lth communication node, step S317 is executed, and if there is no upper link switch disconnected in the lth communication node, step S318 is executed.
S317, closing an upper end link switch disconnected in the L +1 th communication node; and closing the disconnected lower end link switch in the L-th communication node.
S318, determining the Lth sub communication node, the L +1 th sub communication node, the Mth sub communication node and the M-1 th sub communication node as fault nodes.
The failed communication node L and the failed link switch in the communication node L +1 can be marked for subsequent maintenance through steps S310, S312, S313, S314, S315, S316, S317, S318, and the recoverability of the entire communication system is improved by closing another set of link switches to recover the normal communication of the communication link. And if it is inferred in the judgment in S316 that the connection between the lth communication node and the lth communication node cannot be repaired, then step S318 is performed to determine that the lth communication node, the mth communication node, and the M +1 th communication node cannot be repaired.
The value of S319, j is increased by 1.
And S320, successfully reestablishing the communication link, repairing the communication node which cannot communicate of the current communication link, and recovering the normal communication service.
Fig. 4 is a block diagram illustrating an electronic device 40 according to an example embodiment. As shown in fig. 4, the electronic device 40 may include: a processor 41 and a memory 42. The electronic device 40 may also include one or more of an input/output (I/O) interface 43, and a communications component 44.
The processor 41 is configured to control the overall operation of the electronic device 40 to complete all or part of the steps in the diagnosis method of the daisy-chain communication system. The memory 42 is used to store various types of data to support operations at the electronic device 40, such as instructions for any application or method operating on the electronic device 40, and application-related data, such as a fault status table for recording various child communication nodes, and the like. The Memory 42 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The I/O interface 43 provides an interface between the processor 41 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 44 is used for wired or wireless communication between the electronic device 40 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 44 may thus comprise: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 40 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the above-described diagnosis method of the daisy-chain communication system.
In an exemplary embodiment, the electronic device 40 may be a primary communication node in the daisy-chained communication system described above.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the above-described method of diagnosing a daisy-chain communication system is also provided. For example, the computer readable storage medium may be the memory 42 described above including program instructions executable by the processor 41 of the electronic device 40 to perform the diagnostic method of the daisy-chain communication system described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the above embodiments, the various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various possible combinations will not be further described in the present disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. The chrysanthemum link communication system is characterized by comprising N communication nodes, wherein N is a positive integer greater than 1, the N communication nodes are sequentially connected and form a node loop, each communication node comprises a plurality of link switches, and the plurality of link switches comprise at least two upper end link switches and at least two lower end link switches;
under the condition that a communication link of the node loop is conducted, at least one upper end link switch on each communication node is in a closed state, at least one lower end link switch corresponding to any closed upper end link switch on the communication node is in a closed state on the last communication node of the communication node, and at least one upper end link switch corresponding to any closed lower end link switch on the communication node is in a closed state on the next communication node of the communication node;
the N communication nodes comprise a main communication node configured with a main control board and a sub communication node configured with a slave control board.
2. The system according to claim 1, wherein the master communication node is configured to, in case of a communication failure of the communication link, recover normal communication of the communication link or diagnose a failed communication node by controlling opening or closing of each of the link switches of the child communication nodes.
3. A method for diagnosing a daisy-chain communication system, which is applied to the daisy-chain communication system according to any one of claims 1 to 2, the method comprising:
under the condition that the communication link has communication faults, a first request message is sequentially sent to the 1 st to the N-1 st sub-communication nodes through the main communication node;
under the condition that a response message of the Mth sub-communication node to the first request message is not received, carrying out recovery operation on a link between the Mth sub-communication node and the M-1 th sub-communication node, wherein M is smaller than N-1;
under the condition that the link between the Mth sub-communication node and the M-1 th sub-communication node fails to be recovered, sequentially sending a second request message to the Nth-1 st sub-communication node to the Mth sub-communication node through the main communication node;
under the condition that a response message of an Lth sub-communication node to the second request message is not received, carrying out recovery operation on a link between the Lth sub-communication node and an L +1 th sub-communication node, wherein L is greater than or equal to M and less than N;
determining that the Lth, Lth +1 th, Mth, and M-1 th sub-communication nodes are faulty nodes when a link between the Lth and L +1 th sub-communication nodes fails to recover.
4. The method according to claim 3, wherein the plurality of link switches are two upper end link switches and two lower end link switches, and the performing the recovery operation on the link between the mth sub communication node and the M-1 st sub communication node comprises:
updating the switch state of a closed upper end link switch in the Mth sub-communication node to be a fault and opening the switch;
updating the switch state of a closed lower end link switch in the M-1 th sub communication node to be a fault and opening the switch;
closing an upper-end link switch in an open state in the Mth sub-communication node;
closing a lower end link switch in an open state in the M-1 th sub communication node;
and returning to execute the step of sequentially sending the first request message to the Mth to the N-1 th sub-communication nodes through the main communication node.
5. The method of claim 4, further comprising:
for each sub communication node, determining the fault state of the sub communication node according to the switch state of each link switch of the sub communication node;
under the condition that the switch states of the upper end link switches of the sub communication nodes are all in fault, determining that the sub communication nodes are in a first fault state;
under the condition that the switch states of the lower end link switches of the sub communication nodes are all in fault, determining that the sub communication nodes are in a first fault state;
and determining the sub communication node to be in a second fault state when one of the upper end link switches of the sub communication node is in a fault state or one of the lower end link switches of the sub communication node is in a fault state.
6. The method of claim 5, further comprising:
under the condition that any one of the sub communication nodes is determined to be in the first fault state, starting a fault lamp of the sub communication node and setting the fault lamp as a first target color;
and under the condition that any one of the sub communication nodes is determined to be in the second fault state, starting a fault lamp of the sub communication node and setting the fault lamp to be in a second target color.
7. A method according to claim 3 or 4, characterized in that the method comprises:
before the step of sequentially sending the first request message to the 1 st to the (N-1) th sub-communication nodes through the main communication node, the method includes:
disconnecting normal communication service;
the method further comprises the following steps:
and recovering the normal communication service under the condition of responding to the received response message of the N-1 th sub communication node to the first request message.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 3 to 7.
9. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 3 to 7.
10. The electronic device of claim 9, wherein the electronic device is a master communication node in the daisy-chained communication system of claim 1.
CN202010888257.0A 2020-08-28 2020-08-28 Daisy link communication system, diagnosis method, storage medium, and electronic device Active CN112087330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010888257.0A CN112087330B (en) 2020-08-28 2020-08-28 Daisy link communication system, diagnosis method, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010888257.0A CN112087330B (en) 2020-08-28 2020-08-28 Daisy link communication system, diagnosis method, storage medium, and electronic device

Publications (2)

Publication Number Publication Date
CN112087330A CN112087330A (en) 2020-12-15
CN112087330B true CN112087330B (en) 2022-09-16

Family

ID=73728844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010888257.0A Active CN112087330B (en) 2020-08-28 2020-08-28 Daisy link communication system, diagnosis method, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN112087330B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050183B2 (en) * 2005-05-06 2011-11-01 Cisco Technology, Inc. System and method for implementing reflector ports within hierarchical networks
US7876688B2 (en) * 2007-03-30 2011-01-25 Nokia Corporation Traffic protection in a communication network
CN101895463B (en) * 2010-04-20 2012-08-15 上海大学 System and method for achieving network reconfigurability of mixed WDM (Wavelength Division Multiplexing)/TDM (Time Division Multiplexing) PON (Passive Optical Network)
CN107508640B (en) * 2017-04-27 2020-04-03 中国人民解放军海军航空工程学院 Double-ring redundant self-healing optical fiber network construction method based on optical fiber channel technology
CN109755996A (en) * 2018-12-14 2019-05-14 东莞钜威动力技术有限公司 Mixed equilibrium circuit and daisy chain communicate the battery balanced control device of mixed equilibrium
CN109525476B (en) * 2018-12-28 2021-09-17 中核控制系统工程有限公司 Network data protection method based on FPGA

Also Published As

Publication number Publication date
CN112087330A (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN102006188B (en) Path back switching method and device in transport network
CN103019218A (en) Railway signal device utilizing dual-CPU (central processing unit) redundancy and control method of railway signal device
CN109377700A (en) A kind of software automatic addressing method and its system
CN103139033B (en) Single main communications control bus main equipment redundancy switching method
US7751906B2 (en) Method and automation system for operation and/or observing at least one field device
CN102752145A (en) Novel detecting and isolating system for fault of RS-485 port and method thereof
CN107948063B (en) Method for establishing aggregation link and access equipment
CN111399879A (en) Firmware upgrading system and method of CP L D
CN104781792A (en) Redundancy device unit and method for determining fault in industrial control system, industrial control system and industrial system comprising redundancy device unit
JPH11203157A (en) Redundancy device
CN110474327B (en) CPS (control performance Standard) information-physical combination expected fault generation method and system for power distribution network
CN113568301B (en) Hot standby redundancy method and control system
CN112087330B (en) Daisy link communication system, diagnosis method, storage medium, and electronic device
CN102611600B (en) Method and device for locating short circuit position of CAN (Controller Area Network) network
CN105512957A (en) Method for evaluating information physical security risks in power system
JPH0962528A (en) Self-recovering device
CN115714698B (en) Looped network communication method and device of vehicle-mounted Ethernet, vehicle and storage medium
CN104656478B (en) The control circuit and control method of a kind of multi-power module
CN111277444B (en) Switch fault early warning method and device
CN107026691A (en) A kind of method and system of automatism isolation distribution optical fiber ring network failure
CN112721639B (en) Relay control method and device
CN109167691B (en) Network redundancy design method of weapon control system
CN111245638A (en) Fault repairing method and device for industrial control firewall, storage medium and terminal
CN111176108A (en) Method, system and equipment for main and standby redundancy of drive test unit

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
CB02 Change of applicant information

Address after: No.8899 Xincheng Avenue, Jintan District, Changzhou City, Jiangsu Province

Applicant after: SVOLT Energy Technology Co.,Ltd.

Address before: No.8899 Xincheng Avenue, Jintan District, Changzhou City, Jiangsu Province

Applicant before: SVOLT Energy Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant