Train network node and CANopen-based train network node monitoring method
AssigneeBYD Company Limited
InventorsJunsheng Mo, Wenxiao Zeng
Life of this patent
Estimating the term…
Abstract
The present disclosure discloses a train network node and a CANopen-based train network node monitoring method. The method includes: obtaining, by a train network node, an offline duration and a heartbeat packet transmission period based on a pre-configured network node list, where the offline duration is set on an offline timer corresponding to each node related to the network node, and the heartbeat packet transmission period is set on a heartbeat timer; and comparing the offline duration that is set on the offline timer corresponding to each node with the heartbeat packet transmission period that is set on the heartbeat timer, and determining an offline monitoring mechanism of each node based on a comparison result.
Claims18
A CANopen-based train network node monitoring method comprising:
- obtaining, by a train network node, an offline duration and a heartbeat packet transmission period based on a pre-configured network node list, wherein the offline duration is set on an offline timer corresponding to each node related to the network node, and the heartbeat packet transmission period is set on a heartbeat timer;
- and
- comparing the offline duration that is set on the offline timer corresponding to each node with the heartbeat packet transmission period that is set on the heartbeat timer, and determining an offline monitoring mechanism of each node based on a comparison result, wherein the determining the offline monitoring mechanism of each node comprises:
- starting a heartbeat packet-based monitoring mechanism to determine an offline state of the related node, and setting a process data object (PDO) production counter corresponding to the related node to 0 in response to determining, by means of comparison, that the offline duration of the node related to the network node is greater than the heartbeat packet transmission period;
- and
- starting a PDO packet-based inhibit time mechanism to determine an offline state of the related node, and setting, based on the offline duration and an inhibit time in a PDO packet of the related node, a threshold in a PDO production counter corresponding to the related node in response to determining, by means of comparison, that the offline duration of the node related to the network node is less than or equal to the heartbeat packet transmission period.
A train network node, comprising:
- a processor;
- and a memory storing computer program executable by the processor, wherein the processor is configured to:
- obtain an offline duration and a heartbeat packet transmission period based on a pre-configured network node list, wherein the offline duration is set on an offline timer corresponding to each node related to the network node, and the heartbeat packet transmission period is set on a heartbeat timer;
- and
- compare the offline duration that is set on the offline timer corresponding to each node with the heartbeat packet transmission period that is set on the heartbeat timer;
- and
- determine an offline monitoring mechanism of each node based on a comparison result, wherein the determining the offline monitoring mechanism of each node comprises:
- start a heartbeat packet-based monitoring mechanism to determine an offline state of the related node, and setting a process data object (PDO) production counter corresponding to the related node to 0 in response to determining, by means of comparison, that the offline duration of the node related to the network node is greater than the heartbeat packet transmission period;
- and
- start a PDO packet-based inhibit time mechanism to determine an offline state of the related node, and setting, based on the offline duration and an inhibit time in a PDO packet of the related node, a threshold in a PDO production counter corresponding to the related node in response to determining, by means of comparison, that the offline duration of the node related to the network node is less than or equal to the heartbeat packet transmission period.
Dependencies are inferred from the claim text.