Train fault determination method, device, equipment, medium, product and train

By comparing the data packet contents output by the train controller, the problem of inconsistency in data in redundant network systems cannot be reminded of faults, effective early warning of train faults is achieved, and operational safety is improved.

CN119821467APending Publication Date: 2025-04-15CRRC QINGDAO SIFANG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510113374.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The lack of consistency detection of data transmitted in redundant network systems in the prior art, resulting in the inconsistent data being unable to remind train operation and maintenance and related personnel of trains that have faults, which poses safety hazards.

Method used

By acquiring the data packets output by the train controller and transmitted through the first and second networks, the data packet content is compared according to the network port type, and the fault information of the train is determined. The specific steps include responding to the train fault judgment request, obtaining the first data packet and the second data packet, determining the network port type according to the number of controllers, and comparing the corresponding data packet comparison rules to obtain the fault information.

Benefits of technology

By warning the trains whose first data packets transmitted by the first network and the second data packets transmitted by the second network, the intelligence level and operational safety of the train are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119821467A_ABST
    Figure CN119821467A_ABST
Patent Text Reader

Abstract

The invention provides a train fault determination method, device and equipment, a medium, a product and a train, and can be applied to the technical field of rail transit. The method comprises the steps that a received train fault judgment request is responded, a first data packet and a second data packet are obtained, the first data packet represents a data packet output by a controller of a train and transmitted through a first network, and the second data packet represents a data packet output by the controller of the train and transmitted through a second network; the first network and the second network have the same transmission function; according to the number of the controllers, determining a network port type for outputting the first data packet and the second data packet; and obtaining fault information of the train by comparing the contents of the first data packet and the second data packet according to the network port type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of rail transit technology, and in particular to a train fault determination method, device, equipment, medium, product and train. Background Art

[0002] As the intelligence level and safety requirements of high-speed trains continue to increase, the increase in devices that need to be connected to the network and the amount of data transmitted via the network has prompted the train communication network to shift from traditional fieldbus to Ethernet, which has brought about changes in the redundancy mode of the network system.

[0003] In the process of implementing the present disclosure, the inventors discovered that the prior art lacks consistency detection of data transmitted in redundant network systems, which results in the inability to alert train operation and maintenance and related personnel of train faults when data is inconsistent, posing a safety hazard to train operation. Summary of the invention

[0004] In view of the above problems, the present disclosure provides a train fault determination method, device, equipment, medium, product and train.

[0005] According to a first aspect of the present disclosure, a train fault determination method is provided, comprising: in response to a received train fault judgment request, obtaining a first data packet and a second data packet, wherein the first data packet represents a data packet output by a train controller and transmitted via a first network, and the second data packet represents a data packet output by the train controller and transmitted via a second network, and the transmission functions of the first network and the second network are the same; according to the number of the controllers, determining the type of network port used to output the first data packet and the second data packet; according to the type of network port, obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet.

[0006] According to an embodiment of the present disclosure, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet according to the network port type, including: determining the data packet comparison rule corresponding to the network port type according to the network port type; and obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet according to the data packet comparison rule.

[0007] According to an embodiment of the present disclosure, the above-mentioned data packet comparison rule includes a first comparison rule corresponding to the dual network port type, the content of the above-mentioned first data packet includes first identification information and first content information, and the content of the above-mentioned second data packet includes second identification information and second content information; the above-mentioned data packet comparison rule is used to obtain the fault information of the above-mentioned train by comparing the contents of the above-mentioned first data packet and the above-mentioned second data packet, including: caching the above-mentioned first target number of the above-mentioned first data packet and the above-mentioned second data packet; determining the first target data packet and the second target data packet according to the first identification information and the above-mentioned second identification information, wherein the above-mentioned first target data packet represents a data packet in the first data packet having the same first identification information and the above-mentioned second identification information, and the above-mentioned second target data packet represents a data packet in the second data packet having the same first identification information and the above-mentioned second identification information; determining the number of inconsistent data packets according to the first content information of the above-mentioned first target data packet and the second content information of the above-mentioned second target data packet; when the number of inconsistent data packets is greater than the second target number, the fault information of the above-mentioned train is obtained, wherein the above-mentioned second target number is determined according to the above-mentioned first target number.

[0008] According to an embodiment of the present disclosure, the above-mentioned data packet comparison rules include a second comparison rule corresponding to a single network port type, the content of the above-mentioned first data packet includes first device status data and first valid bit information, and the content of the above-mentioned second data packet includes second device status data and second valid bit information; the above-mentioned data packet comparison rules are used to compare the contents of the above-mentioned first data packet and the above-mentioned second data packet to obtain the fault information of the above-mentioned train, including: determining a third target data packet and a fourth target data packet according to the above-mentioned first valid bit information and the above-mentioned second valid bit information, wherein the above-mentioned third target data packet represents a data packet in which the first valid bit information in the first data packet is valid, and the above-mentioned fourth target data packet represents a data packet in which the second valid bit information in the second data packet is valid; determining the device status difference information by comparing the first device status data of the above-mentioned third target data packet with the second device status data of the above-mentioned fourth target data packet; obtaining the fault information of the above-mentioned train according to the above-mentioned device status difference information and a predetermined train communication cycle.

[0009] According to an embodiment of the present disclosure, the above-mentioned scheduled train communication cycle includes a first communication cycle and a second communication cycle, and the above-mentioned fault information of the above-mentioned train is obtained based on the above-mentioned device status difference information and the scheduled train communication cycle, including: when it is determined that the above-mentioned scheduled train communication cycle is the first communication cycle, and the above-mentioned device status difference information indicates that the duration of the inconsistency between the above-mentioned first device status data and the above-mentioned second device status data is greater than the first time threshold, the first fault information of the above-mentioned train is obtained, wherein the above-mentioned first time threshold is determined according to the above-mentioned first communication cycle; or, when it is determined that the above-mentioned scheduled train communication cycle is the second communication cycle, and the above-mentioned device status difference information indicates that the number of inconsistencies in the above-mentioned data packets is greater than the first number threshold, the second fault information of the above-mentioned train is obtained, wherein the above-mentioned first number threshold is determined according to the above-mentioned second communication cycle.

[0010] According to an embodiment of the present disclosure, the above-mentioned train includes multiple carriages, and the above-mentioned train failure method also includes: when the first data packet and the second data packet of the fault information of the above-mentioned train representing a single carriage are inconsistent, determining that the faulty device of the above-mentioned train is the controller or cable connector of the above-mentioned single carriage; when the first data packet and the second data packet of the fault information of the above-mentioned train representing multiple carriages are inconsistent, and the above-mentioned multiple carriages have the same network port type, determining that the faulty device of the above-mentioned train is the controller or cable of each of the above-mentioned multiple carriages; when the first data packet and the second data packet of the fault information of the above-mentioned train representing multiple carriages are inconsistent, and the above-mentioned multiple carriages have different network port types, determining that the faulty device of the above-mentioned train is the above-mentioned cable.

[0011] A second aspect of the present disclosure provides a train fault determination device, including: an acquisition module, a first determination module and a obtaining module.

[0012] An acquisition module is used to acquire a first data packet and a second data packet in response to a received train fault judgment request, wherein the first data packet represents a data packet output by a train controller and transmitted via a first network, and the second data packet represents a data packet output by a train controller and transmitted via a second network, and the transmission functions of the first network and the second network are the same.

[0013] The first determination module is used to determine the type of network port used to output the first data packet and the second data packet according to the number of the controllers.

[0014] The obtaining module is used to obtain the fault information of the above-mentioned train by comparing the contents of the above-mentioned first data packet and the above-mentioned second data packet according to the above-mentioned network port type.

[0015] A third aspect of the present disclosure provides a train, comprising the above-mentioned train fault determination device.

[0016] According to an embodiment of the present disclosure, the above-mentioned train is configured with at least one dual network port subsystem and at least one single network port subsystem, the above-mentioned dual network port subsystem is configured with at least one controller, each of the above-mentioned controller has at least two network ports, and the above-mentioned at least two network ports are respectively connected to the first network and the second network, and the above-mentioned single network port subsystem is configured with at least two controllers, and the above-mentioned two controllers respectively have at least one network port, and the network ports of the above-mentioned at least two controllers are respectively connected to the above-mentioned first network and the above-mentioned second network, wherein the transmission functions of the above-mentioned first network and the above-mentioned second network are the same.

[0017] A fourth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.

[0018] The fifth aspect of the present disclosure further provides a computer-readable storage medium on which a computer program or instruction is stored, and the steps of the above method are implemented when the above computer program or instruction is executed by a processor.

[0019] The sixth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor.

[0020] According to the train fault determination method, device, equipment, medium, product and train provided by the present invention, the network port type can be determined according to the number of controllers that output the first data packet and the controllers that output the second data packet, and then the contents of the first data packet and the second data packet can be compared according to the network port type to obtain the fault information of the train. Since the first network and the second network are redundant, the contents of the first data packet transmitted in the first network and the second data packet transmitted in the second network should be the same. If the contents of the first data packet and the second data packet are different, it can be considered that the data transmitted in the redundant communication network of the train is abnormal, and then it can be considered that the train may have a fault. By providing fault warning for the train in which the first data packet transmitted by the first network and the second data packet transmitted by the second network are inconsistent, the intelligence level of the train and the train operation safety are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0022] Figure 1 The application scenario diagram of the train fault determination method according to the embodiment of the present disclosure is schematically shown;

[0023] Figure 2A flow chart of a train fault determination method according to an embodiment of the present disclosure is schematically shown;

[0024] Figure 3A A schematic diagram showing a structure of a data packet output by a dual-network-port type controller according to an embodiment of the present disclosure;

[0025] Figure 3B A schematic diagram showing a structure of a data packet output by a controller of a single network port type according to an embodiment of the present disclosure;

[0026] Figure 4 A schematic diagram schematically shows a comparison of the contents of a first data packet and a second data packet based on a second comparison rule according to an embodiment of the present disclosure;

[0027] Figure 5 A flow chart of a train fault determination method according to another embodiment of the present disclosure is schematically shown;

[0028] Figure 6 A schematic diagram schematically shows a comparison of contents of a first data packet and a second data packet based on a first comparison rule according to an embodiment of the present disclosure;

[0029] Figure 7 A flow chart of a train fault determination method according to another embodiment of the present disclosure is schematically shown;

[0030] Figure 8 The structure block diagram of the train fault determination device according to the embodiment of the present disclosure is schematically shown;

[0031] Fig. 9 A block diagram schematically shows a train according to an embodiment of the present disclosure; and

[0032] Fig.10 A block diagram of an electronic device suitable for implementing a train fault determination method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0033] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0034] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0035] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0036] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0037] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0038] In the process of implementing the present disclosure, it was found that the train uses a redundant communication network for data transmission. The redundant communication network may include a first network and a second network. During the operation of the train, the data transmitted by the first network is used first to control the train. If the communication network port of a single subsystem of the first network fails or the data is invalid, the data sent by the second network is used. However, there is currently a lack of corresponding detection means to judge the consistency of the data sent by the subsystem to the first network and the second network. If the subsystem has inconsistent data in the first network and the second network due to its own or external line reasons, it is impossible to promptly remind the driver and maintenance personnel, and the vehicle is at risk of operating with a problem.

[0039] In view of this, an embodiment of the present disclosure provides a train fault determination method, comprising: in response to a received train fault judgment request, obtaining a first data packet and a second data packet, wherein the first data packet represents a data packet output by a train controller and transmitted via a first network, and the second data packet represents a data packet output by a train controller and transmitted via a second network, and the transmission functions of the first network and the second network are the same; determining the type of network port used to output the first data packet and the second data packet according to the number of controllers; and obtaining the train fault information by comparing the contents of the first data packet and the second data packet according to the type of network port.

[0040] Figure 1 The application scenario diagram of the train fault determination method according to an embodiment of the present disclosure is schematically shown.

[0041] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0042] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0043] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0044] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0045] It should be noted that the train fault determination method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the train fault determination device provided in the embodiment of the present disclosure can generally be set in the server 105. The train fault determination method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the train fault determination device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0046] It should be understood that Figure 1 The number of the first terminal device, the second terminal device, the third terminal device, the network and the server in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers.

[0047] Figure 2 A flow chart of a train fault determination method according to an embodiment of the present disclosure is schematically shown.

[0048] like Figure 2 As shown, the train fault determination method 200 of this embodiment includes operations S210 to S230.

[0049] In operation S210, in response to a received train fault determination request, a first data packet and a second data packet are acquired.

[0050] In operation S220 , a network port type for outputting the first data packet and the second data packet is determined according to the number of controllers.

[0051] In operation S230, according to the network port type, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet.

[0052] According to the embodiments of the present disclosure, the Train Control and Monitoring System (TCMS) integrates the control, monitoring, diagnosis and communication functions of the train, connects various devices distributed throughout the train to form a train communication network through a control bus, and realizes centralized monitoring of various subsystems of the train and the entire vehicle. The topology of the train communication network can include multiple types. For example, a composite topology of a completely physically isolated dual ring topology and a star topology can be adopted, and the communication bus of the composite topology of a completely physically isolated dual ring topology and a star topology can adopt an Ethernet bus.

[0053] In one embodiment, the communication network of the train may include a first network and a second network. The first network and the second network have the same transmission function, and redundancy of the network structure of the train can be achieved. The first network is mainly used to transmit control signals for controlling the train, and the second network is used to transmit control signals for the train. The control signals transmitted in the second network should theoretically be the same as the control signals transmitted in the first network. In addition, the second network can also be used to transmit intelligent operation and maintenance data of the train. The redundant communication network can use another network and the data packets transmitted in another network for communication when one of the networks or the data packets transmitted in one of the networks are abnormal, thereby improving the reliability and stability of the communication network of the train and reducing the cost and risk of maintenance.

[0054] According to an embodiment of the present disclosure, the first data packet may represent a data packet output by the controller of the train and transmitted via the first network, and the second data packet may represent a data packet output by the controller of the train and transmitted via the second network.

[0055] In one embodiment, the train control and monitoring system may include multiple subsystems, for example, a traction subsystem, a braking subsystem, a pyrotechnic subsystem, a running gear subsystem, a door subsystem, an air conditioning subsystem, and other key subsystems. The key subsystem may adopt a dual-home design, and two network ports may be connected to the first network and the second network respectively.

[0056] In one embodiment, for the pyrotechnics subsystem, the running gear subsystem or the passenger information subsystem, each controller located in the head car can output the data packet of the entire train, wherein the first car and the last car of a train are both the head cars of the train. For example, a train may include 10 cars, then the first car and the tenth car are both the head cars. The controllers of the two head cars use a single network port to access the first network and the second network respectively. The pyrotechnics subsystem, the running gear subsystem or the passenger information subsystem can use a single network port to access the data packet of the entire train output by the controller located in the head car to the first network and the second network respectively. For the door subsystem, each car can be configured with 2 controllers, which can transmit the status data of all the doors of this car. The 2 controllers of each car use a single network port to intervene in the first network and the second network respectively, to ensure the redundancy and reliability of the entire train communication network. For the traction brake subsystem or the air conditioning subsystem, each car can be configured with 1 controller, and the controller of each car uses a dual network port to access the first network and the second network respectively.

[0057] In one embodiment, the controller is used to output the first data packet and the second data packet. The network port type of the controller used to output the first data packet and the second data packet can be determined according to the number of controllers. For example, when the number of controllers that output the first data packet and the second data packet is 2, the network port type of the first data packet and the second data packet can be the first type. For another example, when the number of controllers that output the first data packet and the second data packet is 10, the network port type of the first data packet and the second data packet can be the second type.

[0058] According to an embodiment of the present disclosure, the content of the first data packet may represent the data carried by the first data packet, and the content of the second data packet may represent the data carried by the second data packet. In one embodiment, different network port types may correspond to different data packet comparison rules, and therefore, the data packet comparison rule corresponding to the network port type may be determined according to the network port type, so that the contents of the first data packet and the second data packet may be compared according to the data packet comparison rule, and then the fault information of the train may be obtained.

[0059] According to an embodiment of the present disclosure, the network port type can be determined according to the number of controllers that output the first data packet and the controllers that output the second data packet, and then according to the network port type, the contents of the first data packet and the second data packet are compared to obtain the fault information of the train. Since the first network and the second network are redundant, the contents of the first data packet transmitted in the first network and the second data packet transmitted in the second network should be the same. If the contents of the first data packet and the second data packet are different, it can be considered that the data transmitted in the redundant communication network of the train is abnormal, and then it can be considered that the train may have a fault. By providing fault warning for trains in which the first data packet transmitted by the first network and the second data packet transmitted by the second network are inconsistent, the intelligence level of the train and the train operation safety are improved.

[0060] According to an embodiment of the present disclosure, according to the network port type, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet, including: according to the network port type, determining the data packet comparison rule corresponding to the network port type; according to the data packet comparison rule, obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet.

[0061] In one embodiment, the network port type may include multiple types, and each network port type may correspond to a data packet comparison rule. For example, the network port type may be a single network port type, and the data packet comparison rule may include a comparison rule corresponding to the single network port type. For another example, the network port type may also be a dual network port type, and the data packet comparison rule may include a comparison rule corresponding to the dual network port type. Thus, the data packet comparison rule corresponding to the network port type may be determined according to the network port type.

[0062] In one embodiment, when the data packet comparison rule is determined, the fault information of the train can be obtained by comparing the contents of the first data packet and the second data packet.

[0063] Figure 3A The structure of a data packet output by a dual-network-port type controller according to an embodiment of the present disclosure is schematically shown. Figure 3B The structure of a data packet output by a controller of a single network port type according to an embodiment of the present disclosure is schematically shown.

[0064] According to an embodiment of the present disclosure, the identification information may be a signal indicating whether the data packet is reliable and working properly. The content information may be a signal indicating the data content carried by the data packet. Figure 3A As shown, the content of the data packet output by the dual-network port type controller may include identification information 310 and content information 320. The length of the identification information 310 may be 4 bytes, for example, the identification information 310 may be represented by 4 bytes X1, X2, X3, and X4. The length of the content information 320 is not limited, for example, multiple bytes X5, X6, ..., X7 may be used. n Indicates content information 320.

[0065] According to an embodiment of the present disclosure, the valid bit information represents the portion of the data packet output by the controller that carries useful information, and the device status information represents the data of the device status. Figure 3B As shown in FIG. 1 , the content of the data packet output by the controller of the single network port type may include valid bit information 330 and device status data 340. The length of the valid bit information 330 may be 1 byte, for example, one byte Y1 may be used to represent the valid bit information 310. The length of the device status data 340 is not limited, for example, multiple bytes Y5, ..., Y m Device status data 340 is indicated.

[0066] According to an embodiment of the present disclosure, when the network port type is determined, the corresponding data packet comparison rule can be determined, and then based on the data packet comparison rule, the contents of the first data packet and the second data packet are compared. When the contents of the first data packet and the second data packet are inconsistent, the fault information of the train can be obtained. Since the fault information is obtained when the network port type is determined, different network port types can correspond to different fault information, thereby improving the accuracy of the fault information and further improving the operation safety of the train.

[0067] According to an embodiment of the present disclosure, according to a data packet comparison rule, by comparing the contents of a first data packet and a second data packet, the fault information of the train is obtained, including: caching a first target number of first data packets and second data packets; determining a first target data packet and a second target data packet according to first identification information and second identification information; determining the number of inconsistent data packets according to first content information of the first target data packet and second content information of the second target data packet; and obtaining the fault information of the train when the number of inconsistent data packets is greater than the second target number.

[0068] According to an embodiment of the present disclosure, the first identification information and the second identification information can be signals representing whether the data packet is reliable and working normally. In one embodiment, the first identification information and the second identification information can have 4 bytes, and when the first target number of first identification information and second identification information of the cache are changed in sequence, it can be represented that the redundant communication network ports of the train are communicating normally. When the redundant communication network ports are communicating normally, the first data packet and the second data packet can be compared, otherwise, the first data packet and the second data packet are not compared.

[0069] In one embodiment, the data packet comparison rule may include a first comparison rule corresponding to the dual network port type. The first content information and the second content information may represent the data content carried by the data packet. The content of the first data packet may include first identification information and first content information, and the content of the second data packet may include second identification information and second content information.

[0070] In one embodiment, the first target number can be set according to demand or experience. For example, the first target number can be set to 20. The first comparison rule can represent a data packet comparison rule corresponding to the dual network port type. For the first comparison rule, the first data packet and the second data packet to be compared are first cached. The number of the cached first data packet and the second data packet is the same, which can be the first target number.

[0071] According to an embodiment of the present disclosure, the first target data packet may represent a data packet having the same first identification information and second identification information in the first data packet, and the second target data packet may represent a data packet having the same first identification information and second identification information in the second data packet. In one embodiment, the first target data packet and the second target data packet having the same first identification information and second identification information may be determined based on the first identification information and the second identification information.

[0072] In one embodiment, for the first comparison rule, any first identification information can also be compared with the second identification information of the first target quantity. When any first identification information is different from the second identification information of the first target quantity, a data packet inconsistency can be recorded.

[0073] In one embodiment, when the first identification information and the second identification information are the same, the number of inconsistent data packets can be determined by comparing the content information of the first data packet and the second data packet, that is, in the order of the data packets, by comparing the first content information of the first target data packet and the second content information of the second data packet, when the first content information and the second content information are inconsistent, a data packet inconsistency is recorded, and the number of inconsistent data packets in the first target number is counted to determine the number of inconsistent data packets.

[0074] In one embodiment, the second target number can be determined based on the first target number. For example, when the first target number is 20, the second target number can be set to half of the first target number, that is, the second target number can be 10. When the number of inconsistent data packets is greater than the second target number, the fault information of the train can be obtained. For example, when the number of inconsistent data packets is 12 and the first target number is 20, the fault information of the train can be obtained.

[0075] According to an embodiment of the present disclosure, by using a first comparison rule to perform a content comparison on a first target number of first data packets and a second data packet of a cache, the number of inconsistent data packets can be determined. When the number of inconsistent data packets is greater than the second target number, fault information of the train can be obtained. By setting the first target number and the second target number, and considering the situation where the number of inconsistent data packets is greater than the second target number as the obtained train fault information, the accuracy of the obtained dual network port type fault information is improved, thereby improving the efficiency of fault determination.

[0076] Figure 4 The diagram schematically shows a schematic diagram of comparing the contents of a first data packet and a second data packet based on a second comparison rule according to an embodiment of the present disclosure.

[0077] like Figure 4As shown, when the first target number is 20, the content comparison process of the first data packet and the second data packet is performed, and the first identification information and the second identification information of the 20 data packets are compared in turn. When the first identification information and the second identification information of the 20 first data packets are the same, the first content information and the second content information of the 20 data packets are compared in turn, that is, the first identification information 41011 of the first first data packet 4101 and the second identification information 42011 of the second data packet 4201 are compared in turn, the first identification information 41021 of the second first data packet 4102 and the second identification information 42021 of the second second data packet 4202 are compared, and the first identification information 41201 of the 20th first data packet 4120 and the second identification information 42201 of the 20th second data packet 4220 are compared. When the first identification information of the ith data packet and the second identification information of the ith data packet are different, the data packet inconsistency is recorded once. For example, when the first identification information 41021 of the second first data packet 4102 and the second identification information 42021 of the second second data packet 4202 are different, a data packet inconsistency is recorded. When the first identification information and the second identification information of 20 data packets are the same, the first content information and the second content information of the 20 data packets are compared in sequence, that is, the first content information 41012 of the first first data packet 4101 and the second content information 42012 of the second data packet 4201 are compared in sequence, the first content information 41022 of the second first data packet 4102 and the second content information 42022 of the second second data packet 4202 are compared, and the first content information 41202 of the 20th first data packet 4120 and the second content information 42202 of the 20th second data packet 4220 are compared. When the first content information of the jth data packet and the second content information of the jth data packet are different, a data packet inconsistency is recorded. For example, when the first identification information and the second identification information of 20 data packets are the same, and the first content information 41022 of the second first data packet 4102 is different from the second content information 42022 of the second second data packet 4202, a data packet inconsistency is recorded. After the first target number of first data packets and second data packets are compared, the number of data packet inconsistencies is counted to obtain the number of data packet inconsistencies.

[0078] Figure 5 A flow chart of a train fault determination method according to yet another embodiment of the present disclosure is schematically shown.

[0079] like Figure 5 As shown, the train fault determination method of this embodiment includes operations S501 to S508.

[0080] In operation S501, when it is determined that the controller outputting the first data packet and the second data packet is of a dual-network port type, the data packet comparison rule is determined to be a first comparison rule.

[0081] In operation S502 , a first target number of first data packets and second data packets are buffered.

[0082] In operation S503, it is determined whether the network port has communication abnormality. If so, operation S508 is executed; if not, operation S504 is executed.

[0083] In operation S504, a first target data packet and a second target data packet are determined by comparing the first identification information and the second identification information.

[0084] In operation S505, when the first content information of the first target data packet is different from the second content information of the second target data packet or the first identification information of any first data packet is different from the second identification information of the first target data packet, a data packet inconsistency is recorded and the number of inconsistent data packets is counted.

[0085] In operation S506, it is determined whether the number of inconsistent data packets is greater than the second target number. If yes, operation S507 is performed; if no, operation S508 is performed.

[0086] In operation S507, dual network port type fault information is obtained.

[0087] In operation S508 , the dual-network-port type subsystem has no faults.

[0088] According to an embodiment of the present disclosure, according to the data packet comparison rules, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet, including: determining the third target data packet and the fourth target data packet according to the first valid bit information and the second valid bit information; determining the device status difference information by comparing the first device status data of the third target data packet and the second device status data of the fourth target data packet; and obtaining the fault information of the train according to the device status difference information and the predetermined train communication cycle.

[0089] In one embodiment, the data packet comparison rule may include a second comparison rule corresponding to a single network port type. The content of the first data packet may include first device status data and first valid bit information, and the content of the second data packet may include second device status data and second valid bit information.

[0090] According to an embodiment of the present disclosure, the first valid bit information and the second valid bit information can respectively represent the part of the first data packet carrying useful information and the part of the second data packet carrying useful information. The first valid bit information and the second valid bit information can be in two situations: valid or not. For example, when the first valid bit information and the second valid bit information are both 1, it can be represented that the content of the first data packet and the content of the second data packet are both valid. When the first valid bit information and the second valid bit information are both 0, it can be represented that the content of the first data packet and the content of the second data packet are both invalid.

[0091] In one embodiment, the comparison of the contents of the first data packet and the second data packet is performed only when all the first valid bit information and the second data valid bit information represent that the contents of the first data packet and the second data packet are valid; otherwise, the comparison of the contents of the first data packet and the second data packet is not performed.

[0092] According to an embodiment of the present disclosure, the third target data packet may represent a data packet in which the first valid bit information in the first data packet is valid, and the fourth target data packet may represent a data packet in which the second valid bit information in the second data packet is valid. Therefore, in one embodiment, the third target data packet and the fourth target data packet may be determined by the first valid bit information and the second valid bit information.

[0093] According to an embodiment of the present disclosure, the first device status data and the second device status data may characterize the status of the corresponding device. For example, the status of the device may include normal operation of the device. For another example, the status of the device may include abnormal operation of the device. By comparing the first device status data of the third target data packet with the second device status data of the fourth target data packet, the device status difference information may be determined, and the device status difference information may be the number of data packet inconsistencies or the duration of data inconsistency.

[0094] In one embodiment, the predetermined train communication cycle may represent the periodic interval of data packet transmission in the train communication network. The predetermined train communication cycle may be determined before the train runs. The train fault information may be obtained based on the device status difference information and the predetermined train communication cycle.

[0095] According to an embodiment of the present disclosure, when the first valid bit information and the second valid bit information represent that the contents of the first data packet and the second data packet are valid, the first device status data of the third target data packet and the second device status data of the fourth target data packet can be compared to determine the device status difference information. The device status difference information can be combined with the predetermined train communication cycle to obtain the train fault information. The combination of the device status difference information and the predetermined train communication cycle can make different train fault information correspond to different device status difference information, thereby improving the accuracy of the obtained train fault information for a single network port type, thereby improving the efficiency of fault determination.

[0096] According to an embodiment of the present disclosure, fault information of the train is obtained based on the equipment status difference information and the scheduled train communication cycle, including: when it is determined that the scheduled train communication cycle is the first communication cycle, and the equipment status difference information indicates that the duration of the inconsistency between the first equipment status data and the second equipment status data is greater than the first time threshold, the first fault information of the train is obtained; or, when it is determined that the scheduled train communication cycle is the second communication cycle, and the equipment status difference information indicates that the number of inconsistent data packets is greater than the first number threshold, the second fault information of the train is obtained.

[0097] In one embodiment, the predetermined train communication cycle may include a first communication cycle and a second communication cycle. For example, the first communication cycle may be 200 ms, and the second communication cycle may be 500 ms.

[0098] In one embodiment, the first time threshold may be determined based on the first communication cycle. For example, when the first communication cycle is 200 ms, the first time threshold may be set to 3 ms. When the predetermined train communication cycle is determined to be the first communication cycle, and the duration of the inconsistency between the first device status data and the second device status data represented by the device status difference information is greater than the first time threshold, the first fault information of the train is obtained.

[0099] In one embodiment, the first quantity threshold may be determined according to the second communication cycle. For example, when the second communication cycle is 500 ms, the first quantity threshold may be set to 10. When it is determined that the predetermined train communication cycle is the second communication cycle, and the number of inconsistent data packets represented by the device status difference information is greater than the first quantity threshold, the second fault information of the train may be obtained.

[0100] According to an embodiment of the present disclosure, a predetermined train communication cycle may include a first communication cycle and a second communication cycle. In different communication cycles, different threshold data may be set to obtain train fault information, thereby improving the flexibility of obtaining fault information and the accuracy of fault information.

[0101] Figure 6 The diagram schematically shows a schematic diagram of comparing the contents of a first data packet and a second data packet based on a first comparison rule according to an embodiment of the present disclosure.

[0102] like Figure 6 As shown, it is a process of comparing the contents of the first data packet and the second data packet in real time. When the first valid bit information and the second identification valid bit information are both valid, that is, when the first valid bit information 61012 of the first first data packet, the first valid bit information 61022 of the second first data packet, ..., the first valid bit information 62012 of the second second data packet, the second valid bit information 62022 of the second second data packet, ..., until the first valid bit information of all the first data packets and the second valid bit information of all the second data packets are valid, the first device status data and the second device status data are compared in sequence. That is, the first device status data 61011 of the first first data packet 6101 is compared with the first device status data 62011 of the first second data packet 6201, and the first device status data 61021 of the second first data packet 6102 is compared with the first device status data 62021 of the second second data packet 6202, ..., until the comparison of the first device status data of all first data packets and the second device status data of the second data packets is completed, and when the first device status data of the i-th data packet and the second device status data of the i-th data packet are different, a data packet inconsistency is recorded. For example, when the first device status data 33011 of the first data packet and the second device status data 33021 of the first second data packet are different, a data packet inconsistency is recorded. After the comparison of the contents of the first data packet and the second data packet is completed, the number of data packet inconsistencies is counted to obtain the number of data packet inconsistencies.

[0103] Figure 7 A flow chart of a train fault determination method according to another embodiment of the present disclosure is schematically shown.

[0104] like Figure 7 As shown, the train fault determination method of this embodiment includes operations S701 to S709.

[0105] In operation S701, when it is determined that the controller outputting the first data packet and the second data packet is of a single network port type, the data packet comparison rule is determined to be a second comparison rule.

[0106] In operation S702, a first data packet and a second data packet are received in real time.

[0107] In operation S703, it is determined whether the first valid bit information and the second valid bit information are valid. If yes, operation S704 is performed; if no, operation S709 is performed.

[0108] In operation S704, the first device status data and the second device status data are compared to determine device status difference information.

[0109] In operation S705, it is determined whether the communication cycle is the first communication cycle. If yes, operation S707 is performed, and if not, operation S706 is performed.

[0110] In operation S706, it is determined whether the number of inconsistent data packets is greater than a first quantity threshold. If yes, operation S708 is performed; if no, operation S709 is performed.

[0111] In operation S707, it is determined whether the duration of the data packet inconsistency is greater than a first time threshold. If yes, operation S708 is performed; otherwise, operation S709 is performed.

[0112] In operation S708, single network port type fault information is obtained.

[0113] In operation S709 , the subsystem of the single network port type has no fault.

[0114] According to an embodiment of the present disclosure, the train failure method also includes: when the first data packet and the second data packet of the train fault information representing a single carriage are inconsistent, determining that the faulty device of the train is a controller or a cable connector of the single carriage; when the first data packet and the second data packet of the train fault information representing multiple carriages are inconsistent, and the multiple carriages have the same network port type, determining that the faulty device of the train is the controller or cable of each of the multiple carriages; when the first data packet and the second data packet of the train fault information representing multiple carriages are inconsistent, and the multiple carriages have different network port types, determining that the faulty device of the train is a cable.

[0115] In one embodiment, the train may include multiple carriages. For example, the train may include 8 carriages.

[0116] In one embodiment, the cable connector can be connected to a switch to transmit data packets. When the fault information of the train indicates that the first data packet and the second data packet of a single carriage are inconsistent, the faulty device of the train is determined to be the controller or cable connector of the single carriage. That is, when the first data packet and the second data packet of only one carriage among multiple carriages in the train are inconsistent, the faulty device of the train can be determined to be the controller or cable connector corresponding to the single carriage.

[0117] For example, when the first data packet and the second data packet of only the third car among the eight cars are inconsistent, it can be determined that the faulty device of the train is the controller or cable connector corresponding to the third car.

[0118] According to an embodiment of the present disclosure, the cable represents the wires forming the train communication network. When the fault information of the train represents that the first data packet and the second data packet of multiple carriages are inconsistent, and the multiple carriages have the same network port type, it is determined that the faulty device of the train is the controller or cable of each of the multiple carriages, that is, when the first data packet and the second data packet of more than one carriage of the multiple carriages of the train are inconsistent, and the network port type of more than one carriage is the same, it can be determined that the faulty device of the train is the controller or cable of each of more than one carriage.

[0119] For example, when the first data packet and the second data packet of the 3rd car among 8 cars are inconsistent and the first data packet and the second data packet of the 6th car are inconsistent, it can be determined that the faulty equipment of the train is the controller or cable corresponding to the 3rd car and the 6th car.

[0120] According to an embodiment of the present disclosure, when the fault information of a train indicates that the first data packet and the second data packet of multiple carriages are inconsistent, and the multiple carriages have different network port types, it is determined that the faulty device of the train is a cable. That is, when the first data packet and the second data packet of more than one carriage are inconsistent, and the network port types of more than one carriage are not the same, it can be determined that the faulty device of the train is a cable.

[0121] For example, if the first data packet and the second data packet of the 5th carriage among 8 carriages are inconsistent, and the first data packet and the second data packet of the 6th carriage are inconsistent, and the 5th and 6th carriages have different network port types, it can be determined that the faulty equipment on the train is a cable.

[0122] According to the embodiments of the present disclosure, different train fault equipment can be determined based on the fault information of different trains, thereby reminding the train operation and maintenance personnel to investigate related problems, thereby avoiding the operation of the train with defects, and improving the operation safety of the train and the level of vehicle intelligence.

[0123] Based on the above train fault determination method, the present disclosure also provides a train fault determination device. Figure 8 The device is described in detail.

[0124] Figure 8 The structural block diagram of the train fault determination device according to an embodiment of the present disclosure is schematically shown.

[0125] like Figure 8 As shown, the train fault determination device 800 of this embodiment includes an acquisition module 810 , a first determination module 820 and a obtaining module 830 .

[0126] The acquisition module 810 is used to obtain a first data packet and a second data packet in response to the received train fault judgment request, wherein the first data packet represents a data packet output by the train controller and transmitted via the first network, and the second data packet represents a data packet output by the train controller and transmitted via the second network, and the transmission functions of the first network and the second network are the same. In one embodiment, the acquisition module 810 can be used to perform the operation S210 described above, which will not be repeated here.

[0127] The first determination module 820 is used to determine the type of network port used to output the first data packet and the second data packet according to the number of controllers. In one embodiment, the first determination module 820 can be used to perform the operation S220 described above, which will not be described in detail here.

[0128] The obtaining module 830 is used to obtain the fault information of the train by comparing the contents of the first data packet and the second data packet according to the network port type. In one embodiment, the obtaining module 830 can be used to perform the operation S230 described above, which will not be repeated here.

[0129] According to an embodiment of the present disclosure, the obtaining module 830 includes: a first obtaining submodule and a second obtaining submodule.

[0130] The first obtaining submodule is used to determine the data packet comparison rule corresponding to the network port type according to the network port type.

[0131] The second obtaining submodule is used to obtain the fault information of the train by comparing the contents of the first data packet and the second data packet according to the data packet comparison rule.

[0132] According to an embodiment of the present disclosure, the data packet comparison rule includes a first comparison rule corresponding to the dual network port type, the content of the first data packet includes first identification information and first content information, and the content of the second data packet includes second identification information and second content information;

[0133] The second obtaining submodule includes: a first obtaining unit, a second obtaining unit, a third obtaining unit and a fourth obtaining unit.

[0134] The first obtaining unit is used for buffering a first target number of first data packets and second data packets.

[0135] The second obtaining unit is used to determine the first target data packet and the second target data packet according to the first identification information and the second identification information, wherein the first target data packet represents a data packet in the first data packet having the same first identification information and the second identification information, and the second target data packet represents a data packet in the second data packet having the same first identification information and the second identification information.

[0136] The third obtaining unit is used to determine the number of inconsistent data packets according to the first content information of the first target data packet and the second content information of the second target data packet.

[0137] The fourth obtaining unit is used to obtain the fault information of the train when the number of inconsistent data packets is greater than the second target number, wherein the second target number is determined according to the first target number.

[0138] According to an embodiment of the present disclosure, the data packet comparison rule includes a second comparison rule corresponding to a single network port type, the content of the first data packet includes first device status data and first valid bit information, and the content of the second data packet includes second device status data and second valid bit information;

[0139] The second obtaining submodule includes: a fifth obtaining unit, a sixth obtaining unit and a seventh obtaining unit.

[0140] The fifth obtaining unit is used to determine a third target data packet and a fourth target data packet according to the first valid bit information and the second valid bit information, wherein the third target data packet represents a data packet in the first data packet whose first valid bit information is valid, and the fourth target data packet represents a data packet in the second data packet whose second valid bit information is valid.

[0141] The sixth obtaining unit is used to determine the device status difference information by comparing the first device status data of the third target data packet with the second device status data of the fourth target data packet.

[0142] The seventh obtaining unit is used to obtain the fault information of the train according to the equipment status difference information and the predetermined train communication cycle.

[0143] According to an embodiment of the present disclosure, the scheduled train communication cycle includes a first communication cycle and a second communication cycle, and the seventh obtaining unit includes: a first obtaining sub-unit and a second obtaining sub-unit.

[0144] A first obtaining subunit is used to obtain first fault information of the train when it is determined that the predetermined train communication cycle is the first communication cycle and the device status difference information indicates that the duration of inconsistency between the first device status data and the second device status data is greater than a first time threshold, wherein the first time threshold is determined according to the first communication cycle; or,

[0145] The second obtaining subunit is used to obtain the second fault information of the train when it is determined that the scheduled train communication cycle is the second communication cycle and the number of inconsistent data packets represented by the equipment status difference information is greater than a first number threshold, wherein the first number threshold is determined according to the second communication cycle.

[0146] According to an embodiment of the present disclosure, the train includes a plurality of carriages, and the train failure device 800 further includes: a second determination module, a third determination module and a fourth determination module.

[0147] The second determination module is used to determine that the faulty device of the train is a controller or a cable connector of a single carriage when the first data packet and the second data packet of the fault information of the train representing the single carriage are inconsistent.

[0148] A third determination module is used to determine that the faulty device of the train is the controller or cable of each of the multiple carriages when the first data packet and the second data packet of the multiple carriages represented by the fault information of the train are inconsistent and the multiple carriages have the same network port type;

[0149] The fourth determination module is used to determine that the faulty device of the train is a cable when the fault information of the train indicates that the first data packet and the second data packet of multiple carriages are inconsistent and the multiple carriages have different network port types.

[0150] According to an embodiment of the present disclosure, any multiple modules in the acquisition module 810, the first determination module 820 and the acquisition module 830 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the acquisition module 810, the first determination module 820 and the acquisition module 830 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the acquisition module 810, the first determination module 820 and the acquisition module 830 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0151] Fig. 9 A block diagram of a train according to an embodiment of the present disclosure is schematically shown.

[0152] like Fig. 9 As shown, the train 900 includes a train fault determination device 800 .

[0153] According to an embodiment of the present disclosure, train 900 can be configured with at least one dual network port subsystem and at least one single network port subsystem. The dual network port subsystem is configured with at least one controller, each controller has at least two network ports, and the at least two network ports are respectively connected to the first network and the second network. The single network port subsystem is configured with at least two controllers, each of the two controllers has at least one network port, and the network ports of the at least two controllers are respectively connected to the first network and the second network, wherein the transmission functions of the first network and the second network are the same.

[0154] In one embodiment, the dual-network-port subsystems configured for the train 900 may include a traction subsystem, an auxiliary subsystem, a braking subsystem, an air-conditioning subsystem, and the like. For example, the braking subsystem may be configured with two controllers, and the two controllers are distributed in two head cars. The controller of each head car may have a network port, and the network ports of the two controllers are respectively connected to the first network and the second network. The single-network-port subsystems configured for the train 900 may include a door subsystem, a pyrotechnic subsystem, a running gear subsystem, and the like. For example, the pyrotechnic subsystem may be configured with a controller in each car, and each controller may have two network ports respectively connected to the first network and the second network.

[0155] Fig.10 A block diagram of an electronic device suitable for implementing a train fault determination method according to an embodiment of the present disclosure is schematically shown.

[0156] like Fig.10 As shown, the electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 to a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0157] In RAM 1003, various programs and data required for the operation of electronic device 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0158] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The electronic device 1000 may further include one or more of the following components connected to the input / output (I / O) interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk, etc.; and a communication portion 1009 including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the input / output (I / O) interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage portion 1008 as needed.

[0159] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0160] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1002 and / or RAM 1003 described above and / or one or more memories other than ROM 1002 and RAM 1003.

[0161] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the train fault determination method provided by the embodiment of the present disclosure.

[0162] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 1001. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0163] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0164] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0165] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0166] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0167] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0168] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A train fault determination method, characterized in that: The method comprises: In response to the received train fault judgment request, a first data packet and a second data packet are acquired, wherein the first data packet represents a data packet output by a train controller and transmitted via a first network, and the second data packet represents a data packet output by the train controller and transmitted via a second network, and the first network and the second network have the same transmission function; Determining, according to the number of the controllers, a type of network port used to output the first data packet and the second data packet; According to the network port type, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet.

2. The method according to claim 1, characterized in that The obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet according to the network port type includes: According to the network port type, determining a data packet comparison rule corresponding to the network port type; According to the data packet comparison rule, the fault information of the train is obtained by comparing the contents of the first data packet and the second data packet.

3. The method according to claim 2, characterized in that The data packet comparison rule includes a first comparison rule corresponding to a dual network port type, the content of the first data packet includes first identification information and first content information, and the content of the second data packet includes second identification information and second content information; The obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet according to the data packet comparison rule includes: Buffering a first target number of the first data packets and the second data packets; Determine a first target data packet and a second target data packet according to the first identification information and the second identification information, wherein the first target data packet represents a data packet in the first data packet having the same first identification information and the second identification information, and the second target data packet represents a data packet in the second data packet having the same first identification information and the second identification information; Determine the number of inconsistent data packets according to the first content information of the first target data packet and the second content information of the second target data packet; In a case where the number of inconsistent data packets is greater than a second target number, fault information of the train is obtained, wherein the second target number is determined according to the first target number.

4. The method according to claim 1, characterized in that: The data packet comparison rule includes a second comparison rule corresponding to a single network port type, the content of the first data packet includes first device status data and first valid bit information, and the content of the second data packet includes second device status data and second valid bit information; The obtaining the fault information of the train by comparing the contents of the first data packet and the second data packet according to the data packet comparison rule includes: Determine a third target data packet and a fourth target data packet according to the first valid bit information and the second valid bit information, wherein the third target data packet represents a data packet in the first data packet whose first valid bit information is valid, and the fourth target data packet represents a data packet in the second data packet whose second valid bit information is valid; Determine device status difference information by comparing the first device status data of the third target data packet with the second device status data of the fourth target data packet; The fault information of the train is obtained according to the equipment status difference information and the predetermined train communication cycle.

5. The method according to claim 4, characterized in that The predetermined train communication cycle includes a first communication cycle and a second communication cycle, and obtaining the fault information of the train according to the device state difference information and the predetermined train communication cycle includes: When it is determined that the predetermined train communication cycle is the first communication cycle, and the device status difference information indicates that the duration of inconsistency between the first device status data and the second device status data is greater than a first time threshold, first fault information of the train is obtained, wherein the first time threshold is determined according to the first communication cycle; or, When it is determined that the scheduled train communication cycle is the second communication cycle and the device status difference information indicates that the number of inconsistent data packets is greater than a first quantity threshold, second fault information of the train is obtained, wherein the first quantity threshold is determined based on the second communication cycle.

6. The method according to claim 1, characterized in that The train includes a plurality of carriages, and the method further includes: When the first data packet and the second data packet of the fault information of the train representing a single carriage are inconsistent, determining that the faulty device of the train is a controller or a cable connector of the single carriage; When the fault information of the train indicates that the first data packet and the second data packet of the multiple carriages are inconsistent, and the multiple carriages have the same network port type, determining that the faulty device of the train is the controller or cable of each of the multiple carriages; When the fault information of the train indicates that the first data packet and the second data packet of multiple carriages are inconsistent, and the multiple carriages have different network port types, it is determined that the faulty device of the train is the cable.

7. A train fault determination device, characterized in that: The device comprises: an acquisition module, configured to acquire a first data packet and a second data packet in response to a received train fault judgment request, wherein the first data packet represents a data packet output by a train controller and transmitted via a first network, and the second data packet represents a data packet output by the train controller and transmitted via a second network, and the first network and the second network have the same transmission function; A first determining module, used to determine the type of network port used to output the first data packet and the second data packet according to the number of the controllers; The obtaining module is used to obtain the fault information of the train by comparing the contents of the first data packet and the second data packet according to the network port type.

8. A train, comprising the train fault determination device according to claim 6.

9. The train according to claim 8, characterized in that The train is configured with at least one dual network port subsystem and at least one single network port subsystem, the dual network port subsystem is configured with at least one controller, each of the controllers has at least two network ports, and the at least two network ports are respectively connected to the first network and the second network, the single network port subsystem is configured with at least two controllers, the two controllers respectively have at least one network port, and the network ports of the at least two controllers are respectively connected to the first network and the second network, wherein the transmission functions of the first network and the second network are the same.

10. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 6.

11. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

12. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.