Rail transit vehicle, display screen fault configuration method and system

By building a fault list table and generating fault configuration information initialization code, the problem of manual compilation of fault configuration files in the existing technology is solved, and efficient fault configuration management is achieved, and the stability and execution efficiency of the software are improved.

CN119743375APending Publication Date: 2025-04-01ZHUZHOU ELECTRIC LOCOMOTIVE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411752901.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

When handling the fault configuration of rail transit vehicles, the prior art has problems such as high workload of manually compiling configuration files, easy loss caused by the configuration files independent of the application, and failure to read and fail to display faults.

Method used

By constructing a fault list table based on the vehicle network protocol, using the fault data structure to generate a fault configuration information buffer array, and generating a fault configuration information initialization code based on the mapping relationship, canceling the use of the configuration file, and automatically generating the configuration information code.

Benefits of technology

It avoids the heavy workload of manually compiling failed configuration files, reduces software errors caused by configuration files loss or reading failure, and improves program execution efficiency and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119743375A_ABST
    Figure CN119743375A_ABST
Patent Text Reader

Abstract

The present invention discloses a rail transit vehicle and display screen fault configuration method and system, which constructs a fault list table according to a vehicle network protocol; generates a fault configuration information buffer array using a fault data structure; generates a fault configuration information initialization code according to a mapping relationship between the fault list table and the fault configuration information buffer data; when an application is started, the fault configuration information initialization code is called to generate fault configuration information; and displays fault information according to the fault information sent by the vehicle network and the fault configuration information. The method of the present invention can automatically generate configuration information codes according to the mapping relationship, avoids manual preparation of fault configuration files, and improves work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a rail transit vehicle, a display screen fault configuration method and a system. Background Art

[0002] With the popularization and rapid development of modern rail transit vehicles, train drivers and crew members need to obtain a large amount of vehicle fault diagnosis information, which is very important for the safe operation of trains. The train display screen is used to display the fault diagnosis data during the operation of the train, among which the train fault prompts and warnings are particularly critical for the safe operation of the train by the drivers and crew members. At the same time, maintenance personnel can fully understand the faults that occurred during the operation of the train through the fault history, and judge whether the vehicle should continue to run or return to the depot for maintenance. Therefore, the driver's cab display screen is an important part of the train control and management system.

[0003] The train display screen generally needs to display the faults of various subsystems of the vehicle. For urban rail subway vehicles, the display screen needs to display fault information of systems such as traction system, auxiliary system, braking system, pantograph system, emergency broadcast system, air compressor system, door system, air conditioning system, passenger information system, fire alarm system, running gear detection system, etc.

[0004] The display interface of the locomotive display screen is mainly divided into fault information of the traction system, braking system, auxiliary system, train supply system, etc.

[0005] The EMU display screen mainly displays fault information of traction system, auxiliary system, network system, rectifier, air conditioning system, door system, fire alarm, passenger information system and other systems.

[0006] The fault diagnosis module is responsible for the storage, display and statistics of the fault diagnosis information of the whole train and each subsystem. At the same time, the fault diagnosis information needs to be displayed to the driver and passengers in real time.

[0007] In summary, the number of train failures is huge. For general urban rail vehicles, there are usually hundreds to thousands of failure information. For reconnected locomotives and EMUs, there may be tens of thousands of failures.

[0008] The display screen needs to display detailed information on train faults, generally including fault code, train number, fault name, fault level, detailed fault description, fault type, fault solution, etc., and the amount of information is large.

[0009] In the past, fault configuration was generally handled in the form of configuration files, such as txt format files, csv format files, etc., to store detailed information of train faults. When the display application was initialized, the fault configuration file was read into the memory for vehicle fault display. This method has the following disadvantages:

[0010] 1. There are a large number of faults, and the configuration files record many faults, which requires a lot of work to compile the files;

[0011] 2. The fault configuration file is independent of the application. If the configuration file is lost, the software cannot read the relevant fault data or the application cannot be used normally;

[0012] 3. When the application fails to read the fault configuration file, the fault display may fail or the application may not be able to be used normally;

[0013] 4. When the application starts, it reads the configuration file. If the amount of data is large, it takes a long time. Summary of the invention

[0014] The technical problem to be solved by the present invention is to provide a rail transit vehicle and display screen fault configuration method and system in view of the deficiencies in the prior art, so as to avoid manual compilation of fault configuration files and improve work efficiency.

[0015] In order to solve the above technical problems, the technical solution adopted by the present invention is: a rail transit vehicle display screen fault configuration method, comprising the following steps:

[0016] S1. Construct a fault list table according to the vehicle network protocol; generate a fault configuration information buffer array using the fault data structure;

[0017] S2. Generate a fault configuration information initialization code according to the mapping relationship between the fault list table and the data in the fault configuration information buffer zone;

[0018] S3, when the application is started, calling the fault configuration information initialization code to generate fault configuration information;

[0019] S4. Displaying the fault information according to the fault information sent by the vehicle network and the fault configuration information.

[0020] The present invention is used for fault list configuration of a fault module of a rail transit vehicle display screen. According to a vehicle network protocol, a fault list is constructed. According to the format of the fault list and the fault data structure, a mapping relationship between the two is formed. According to the mapping relationship, corresponding initialization program codes are generated in batches. When an application is started, the program initialization code is called to generate fault list configuration information that can be used by the program in a computer memory used by the program. By adopting this method, the use of a configuration file can be cancelled, various disadvantages brought by an independent configuration file can be avoided, and the program execution efficiency can be improved.

[0021] The vehicle network protocol includes port, byte offset, bit offset, fault name, fault type, fault level, fault description and fault solution; the port refers to the channel number of the signal of a fault data in the fault list in the transmitted train control network; the byte offset refers to the byte position of a fault in the fault list in the network communication protocol; the bit offset refers to a certain bit in the byte of a fault in the fault list in the network communication protocol; the fault name refers to the name of a fault in the fault list; the fault type refers to the system to which a fault in the fault list belongs in the train; the fault levels include severe, moderate and minor.

[0022] The fault list table includes a fault retrieval number, a fault code, a vehicle number, a port, a byte offset, a fault name, a fault type, a fault level, a fault description, and a fault solution; the fault retrieval number is used to retrieve an index ID for the fault information; and the fault code is a code that identifies a fault in the fault list.

[0023] The fault data structure includes a fault retrieval number, a fault code, a vehicle number, a port, a byte offset, a fault name, a fault type, a fault level, a fault description, and a fault solution.

[0024] The fault data structure has a one-to-one correspondence with the data in the fault list table.

[0025] As an inventive concept, the present invention also provides a rail transit vehicle display screen fault configuration system, including a memory, a processor and a computer program stored in the memory; the processor executes the computer program to implement the steps of the above method.

[0026] As an inventive concept, the present invention also provides a rail transit vehicle, which adopts the above-mentioned rail transit vehicle display screen fault configuration system.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] 1) For rail transit vehicles, a huge number of faults need to be displayed. The method of the present invention can automatically generate configuration information codes according to the mapping relationship, avoiding manual compilation of fault configuration files and improving work efficiency.

[0029] 2) The present invention can automatically generate configuration information codes, thereby reducing errors that may be caused by manually compiling fault configuration files and lowering software error rates.

[0030] 3) The present invention can cancel the fault configuration file, and the software does not need to read the configuration file during initialization, which saves the time of reading a large number of fault configuration files and improves the program running efficiency;

[0031] 4) For configuration files with a huge number of faults, the probability of reading failure increases due to the large amount of configuration file data. The present invention can overcome this shortcoming;

[0032] 5) The present invention can avoid the application program from being unable to be used normally or crashing due to the loss of configuration files and the inability of the software to read related fault data;

[0033] 6) The present invention can avoid the failure of the previous application to read the fault configuration file, which leads to the failure of the fault display. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] Example 1

[0037] This embodiment provides a rail transit vehicle display screen fault configuration method, including the following steps:

[0038] S1. Construct a fault list table according to the vehicle network protocol; generate a fault configuration information buffer array using the fault data structure;

[0039] S2. Generate a fault configuration information initialization code according to the mapping relationship between the fault list table and the data in the fault configuration information buffer zone;

[0040] S3, when the application is started, calling the fault configuration information initialization code to generate fault configuration information;

[0041] S4. Displaying the fault information according to the fault information sent by the vehicle network and the fault configuration information.

[0042] (1) Vehicle network communication data protocol

[0043] The network communication protocol is the communication protocol of the train control network, that is, it defines the location of data in data transmission, such as for the Ethernet protocol, the train network voltage is at byte 0 of port comid = 1001. Vehicle failure: Pantograph 1 cannot be raised at byte 550 of port rBufCar1.

[0044] The vehicle network communication data protocol involving vehicle failure is in the format of Table 1:

[0045] Table 1 Vehicle network communication data protocols involving vehicle failures

[0046]

[0047] The port is the channel number of the train control network through which the signal of a fault data in the fault list is transmitted.

[0048] A piece of fault data in the fault list refers to a fault recorded in a row in the middle of the fault list.

[0049] The train control network is the network used for train control vehicle transmission. Common train networks include MVB network, Ethernet, etc.

[0050] The byte offset refers to the byte position of a fault in the fault list in the network communication protocol, such as the train fault: pantograph 1 cannot be raised, which is located at 550 bytes of port rBufCar1.

[0051] The network communication protocol is the communication protocol of the train control network, that is, it defines the location of data in data transmission. For example, for the Ethernet protocol, the train network pressure is at byte 0 of the port with comid=1001.

[0052] The bit offset refers to a certain bit in the byte of a fault in the fault list in the network communication protocol. Generally, a byte is defined as 8 bits, described as bit0, bit1, bit2, bit3, bit4, bit5, bit6, and bit7. For example, the train fault: pantograph 1 cannot be raised is located at 550 bytes of port rBufCar1.

[0053] The fault name is the name of a fault in the fault list and is used to be displayed on the display.

[0054] The fault type is the system to which a fault in the fault list belongs in the train, such as the grid-side high-voltage system, traction system, braking system, etc.

[0055] The fault level is the level of a fault in the fault list, which is divided into severe, moderate, minor, etc. In the list, 1 represents severe, 2 represents moderate, and 3 represents minor.

[0056] The fault description is a description of a fault in the fault list. Compared with the fault name, the fault description is more detailed and specific.

[0057] A fault solution is a suggestion in the fault list for how to handle a fault when it occurs.

[0058] (2) Fault List

[0059] The faults that need to be displayed on the vehicle display screen are represented in the form of a fault list table. The fault information of the fault list includes the fault retrieval number, fault code, vehicle number, port, byte offset, fault name, fault type, fault level, fault description, and fault solution.

[0060] The specific format is as shown in Table 2:

[0061] Table 2 Fault List

[0062]

[0063] The fault retrieval number is an index ID used to retrieve fault information, so it is unique in the fault list. For any two faults, the fault retrieval number will not be repeated.

[0064] The fault code is a code that identifies a fault in the fault list. For this train, the fault code is not repeated. For a reconnected train, the fault code corresponding to the same fault is the same for this train.

[0065] This train is the train vehicle where the display screen is located.

[0066] The double-connected train is a train vehicle that is connected end to end with the train where the display screen is located.

[0067] The vehicle number is used to identify the vehicles of this train and the vehicles of the connected train. For example, the vehicle number of train 1 is 1, the vehicle number of train 2 is 2, the vehicle number of train 3 is 3, and the vehicle number of train 4 is 4.

[0068] The port is the channel number of the train control network through which the signal of a fault data in the fault list is transmitted.

[0069] A piece of fault data in the fault list refers to a fault recorded in a row in the middle of the fault list.

[0070] The train control network is the network used for train control vehicle transmission. Common train networks include MVB network, Ethernet, etc.

[0071] The byte offset refers to the byte position of a fault in the fault list in the network communication protocol, such as the train fault: pantograph 1 cannot be raised, which is located at 550 bytes of port rBufCar1.

[0072] The network communication protocol is the communication protocol of the train control network, that is, it defines the location of data in data transmission. For example, for the Ethernet protocol, the train network pressure is at byte 0 of the port with comid=1001.

[0073] The bit offset refers to a certain bit in the byte of a fault in the fault list in the network communication protocol. Generally, a byte is defined as 8 bits, described as bit0, bit1, bit2, bit3, bit4, bit5, bit6, and bit7. For example, the train fault: pantograph 1 cannot be raised is located at 550 bytes of port rBufCar1.

[0074] The fault name is the name of a fault in the fault list and is used to be displayed on the display.

[0075] The fault type is the system to which a fault in the fault list belongs in the train, such as the grid-side high-voltage system, traction system, braking system, etc.

[0076] The fault level is the level of a fault in the fault list, which is divided into severe, moderate, minor, etc. In the list, 1 represents severe, 2 represents moderate, and 3 represents minor.

[0077] The fault description is a description of a fault in the fault list. Compared with the fault name, the fault description is more detailed and specific.

[0078] A fault solution is a suggestion in the fault list for how to handle a fault when it occurs.

[0079] (3) Mapping relationship between vehicle network communication data protocol and fault list table

[0080] The content of the fault list table is the fault retrieval number, fault code, and vehicle number added to the vehicle network communication data protocol, and the format of the two is consistent.

[0081] According to the mapping relationship, the vehicle network communication data protocol is used as input to generate fault list tables in batches to solve the disadvantage of large number of faults and large manual workload.

[0082] (4) Fault data structure

[0083] The fault data structure is used in the display application software to define the fault buffer for storing fault configuration information. The format is as follows, including fault retrieval number, fault code, vehicle number, port, byte offset, fault name, fault type, fault level, fault description, fault solution, etc.

[0084] TYPE_WrongCfg:

[0085] STRUCT

[0086] WrongID: INT; / / fault index number

[0087] IWrongCode:STRING; / / fault code

[0088] UsWrongCarnum: USINT; / / Vehicle number

[0089] PPort:POINTER TO BYTE; port

[0090] UsByte: UINT; / / byte

[0091] UsWwrongBit: USINT; / / bit

[0092] WsWrongName:WSTRING(50); / / fault name

[0093] WsWrongDevice:WSTRING; / / fault type

[0094] UsWrongLevel: USINT; / / fault level

[0095] WsWrongDesc:WSTRING(50); / / fault description

[0096] WsWrongGuidelines:WSTRING(300); / / Fault solution

[0097] END_STRUCT

[0098] END_TYPE

[0099] (5) Fault configuration information storage area.

[0100] MAXSIZE_WRONGCFG:INT:=10000; / / Maximum number of faults in the configuration file

[0101] WrongCfg: ARRAY[0..MAXSIZE_WRONGCFG-1] OF_WrongCfg; / / Existing faults MAXSIZE_WRONGCFG defines the size of the configuration file buffer array, indicating that MAXSIZE_WRONGCFG pieces of fault configuration information can be stored. It can be modified dynamically, such as 10,000 pieces, indicating that 10,000 pieces of fault configuration information can be stored in the system.

[0102] WrongCfg is a buffer array for storing configuration file information. Each fault type is

[0103] _WrongCfg, the size is MAXSIZE_WRONGCFG.

[0104] (6) Mapping relationship

[0105] There is a one-to-one correspondence between the fault data structure and the data in the fault list table, and a row in the fault list table represents a fault, and the information of a fault is consistent with the fault data structure.

[0106] (7) Fault configuration information initialization code

[0107] According to the mapping relationship between the format of the fault list table and the fault data structure, the fault list configuration information initialization code is generated in batches to solve the problem that the number of fault lists is huge and the manual compilation of configuration files is labor-intensive.

[0108] The fault list configuration information is stored in WrongCfg:ARRAY[0..MAXSIZE_WRONGCFG-1]OF_WrongCfg;

[0109] The code format of the fault list configuration information corresponding to each fault in the fault list configuration information initialization code is as follows:

[0110] WrongCfg[i].WrongID:=1;

[0111] WrongCfg[i].IWrongCode:='3100';

[0112] WrongCfg[i].UsWrongCarnum:=1;

[0113] WrongCfg[i].PPort:=rBufCar1;

[0114] WrongCfg[i].UsByte:=550;

[0115] WrongCfg[i].UsWwrongBit:=1;

[0116] WrongCfg[i].WsWrongName:="Pantograph 1 fault";

[0117] WrongCfg[i].WsWrongDevice:="grid side high voltage system";

[0118] WrongCfg[i].UsWrongLevel:=1;

[0119] WrongCfg[i].WsWrongDesc:="Pantograph 1 cannot be raised";

[0120] WrongCfg[i].WsWrongGuidelines:="1. Manually lower the pantograph; raise the pantograph again; if the pantograph is raised normally without any faults, close the main breaker to maintain operation; 2. If the pantograph still cannot be raised, report a fault; select the pantograph mode as pantograph 2 mode; raise the pantograph again, close the main breaker, and continue driving; 3. Please notify the maintenance personnel after returning to the depot";

[0121] Where i represents the number. The first fault information of WrongCfg in the storage buffer array is WrongCfg[0], and the last fault information is WrongCfg[MAXSIZE_WRONGCFG-1]. There are MAXSIZE_WRONGCFG faults in total.

[0122] (8) Use of fault configuration information in the application program (fault information display when a fault occurs)

[0123] When the byte and bit data of the data transmitted by the port in the train control network is 1, it means that the network transmission has a fault. At this time, the fault configuration information is obtained from the corresponding WrongCfg.

[0124] for storage and display.

[0125] Example 2

[0126] Embodiment 2 of the present invention provides a configuration system corresponding to the above-mentioned embodiment 1, including a memory, a processor, and a computer program stored in the memory; the processor executes the computer program in the memory to implement the steps of the method of the above-mentioned embodiment 1.

[0127] In some implementations, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.

[0128] In some other implementations, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.

[0129] Example 3

[0130] Embodiment 3 of the present invention provides a rail transit vehicle corresponding to the above-mentioned embodiment 2, which adopts the rail transit vehicle display screen fault configuration system of the above-mentioned embodiment 2.

[0131] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0132] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A rail transit vehicle display screen fault configuration method, characterized in that: The following steps are involved: S1. Construct a fault list table according to the vehicle network protocol; Generate a fault configuration information buffer array using the fault data structure; S2. Generate a fault configuration information initialization code according to the mapping relationship between the fault list table and the data in the fault configuration information buffer zone; S3, when the application is started, calling the fault configuration information initialization code to generate fault configuration information; S4. Displaying the fault information according to the fault information sent by the vehicle network and the fault configuration information.

2. The rail transit vehicle display screen fault configuration method according to claim 1, characterized in that: The vehicle network protocol includes port, byte offset, bit offset, fault name, fault type, fault level, fault description and fault solution; the port refers to the channel number of the signal of a fault data in the fault list in the transmitted train control network; the byte offset refers to the byte position of a fault in the fault list in the network communication protocol; the bit offset refers to a certain bit in the byte of a fault in the fault list in the network communication protocol; the fault name refers to the name of a fault in the fault list; the fault type refers to the system to which a fault in the fault list belongs in the train; the fault levels include severe, moderate and minor.

3. The rail transit vehicle display screen fault configuration method according to claim 1, characterized in that: The fault list table includes fault retrieval number, fault code, vehicle number, port, byte offset, fault name, fault type, fault level, fault description, and fault solution; The fault retrieval number is used to retrieve the index ID of the fault information; The fault code is a code that identifies a fault in the fault list.

4. The rail transit vehicle display screen fault configuration method according to claim 1, characterized in that: The fault data structure includes a fault retrieval number, a fault code, a vehicle number, a port, a byte offset, a fault name, a fault type, a fault level, a fault description, and a fault solution.

5. The rail transit vehicle display screen fault configuration method according to claim 1, characterized in that: The fault data structure has a one-to-one correspondence with the data in the fault list table.

6. A rail transit vehicle display screen fault configuration system, comprising a memory, a processor and a computer program stored in the memory; characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 5.

7. A rail transit vehicle, characterized in that: It adopts the rail transit vehicle display screen fault configuration system described in claim 6.