Train switch quantity determination method, on-board signal system, train and electronic equipment

In the train switching quantity determination method, read the application layer configuration to obtain the switching quantity configuration table, bypassing the driver layer to determine the correspondence relationship between the input and output boards, solve the problem of the application layer software dependence on the driver layer and improve the software capability Transplantability and versatility reduce maintenance costs.

CN115649233BActive Publication Date: 2024-11-15TRAFFIC CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211387067.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-07
Publication Date
2024-11-15
Estimated Expiration
2042-11-07

AI Technical Summary

Technical Problem

In the prior art, the application layer software is overly dependent on the drive layer, resulting in low portability and versatility of the train switching quantity determination method, and the difference in switching quantity between different vehicle manufacturers leads to high software maintenance costs.

Method used

By reading the application layer configuration, obtain the switch quantity configuration table, determine the correspondence between the input and output switch quantity and the input and output board contacts, bypass the driver layer, and improve the portability and universality of the software.

Benefits of technology

The software can be modified to deal with changes in the switch quantity and contact relationship, which improves the portability and versatility of the software, and reduces hardware maintenance costs and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115649233B_ABST
    Figure CN115649233B_ABST
Patent Text Reader

Abstract

The present invention provides a train switch quantity determination method, a vehicle-mounted signal system, a train and an electronic device, the method comprising: obtaining a switch quantity configuration table by reading an application layer configuration; determining input switch quantity information corresponding to first contact information based on the switch quantity configuration table; and / or determining second contact information corresponding to output switch quantity information based on the switch quantity configuration table; the switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of an input and output board, the first contact information is used to represent the state of the input contact of the input and output board, and the second contact information is used to control the state of the output contact of the input and output board. By extracting the correspondence between each switch quantity and each contact as application layer configuration data, the driver layer is bypassed. When the correspondence between the switch quantity and the contact changes, the switch quantity configuration table can be changed, which can improve the portability and versatility of the software.
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 method for determining a train switch quantity, an on-board signal system, a train and electronic equipment. Background Art

[0002] The switch quantity predefined method means that the driver layer binds the contacts of the input and output board with the switch quantity, that is, the meaning of each contact of the input and output board has been determined. The driver layer passes the switch quantity into the input switch quantity field according to the input code table to the application layer. The driver layer parses the output switch quantity field transmitted from the application layer according to the output code table and outputs the relevant contacts. The vehicle application layer software parses and outputs the input and output switch quantities according to the input and output code table and relevant switch quantity fields provided by the driver layer.

[0003] In the related art, the code table of the application layer software comes from the driver layer, and the driver layer binds the contacts of the input and output board with the switch quantity, which causes the application software to be overly dependent on the driver layer and has low portability and versatility. Summary of the invention

[0004] In view of the problems existing in the prior art, an embodiment of the present invention provides a method for determining a train switch quantity, an on-board signal system, a train and electronic equipment.

[0005] In a first aspect, the present invention provides a method for determining a train switch quantity, which is applied to a vehicle-mounted signal system, comprising:

[0006] Obtain the switch quantity configuration table by reading the application layer configuration;

[0007] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0008] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0009] Optionally, according to a train switch value determination method provided by the present invention, before obtaining the switch value configuration table by reading the application layer configuration, the method further includes:

[0010] receiving a first input, wherein the first input is used to determine the corresponding relationship between each switch quantity of the train and each contact of the input and output board in a wiring stage, wherein the wiring stage is a stage for configuring the wiring between the on-board signal system and the train switch quantity interface;

[0011] In response to the first input, the switch value configuration table is generated and the switch value configuration is stored in the application layer configuration.

[0012] Optionally, according to a train switch value determination method provided by the present invention, after generating the switch value configuration table in response to the first input and storing the switch value configuration in the application layer configuration, the method further includes:

[0013] receiving a second input, wherein the second input is used to determine a second contact as a contact corresponding to the target switching value of the train when a first contact corresponding to the target switching value of the train fails, and the second contact is a spare contact of the input / output board;

[0014] In response to the second input, the switch value configuration table in the application layer configuration is updated.

[0015] Optionally, according to a train switch quantity determination method provided by the present invention, the on-board signal system includes a drive layer module and an application layer module, and before determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table, it also includes:

[0016] Receiving the first contact information sent by the input / output board through the driver layer module;

[0017] The step of determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table includes:

[0018] The input switch quantity information is determined through the application layer module based on the switch quantity configuration table and the first contact information.

[0019] Optionally, according to a train switch quantity determination method provided by the present invention, the on-board signal system includes a drive layer module and an application layer module, and the determining of the second contact information corresponding to the output switch quantity information based on the switch quantity configuration table includes:

[0020] Determine the second contact information based on the switch value configuration table and the output switch value information through the application layer module;

[0021] After determining the second contact information corresponding to the output switching value information based on the switching value configuration table, the method further includes:

[0022] The second contact point information is sent to the input / output board through the driver layer module.

[0023] In a second aspect, the present invention further provides a vehicle-mounted signal system, comprising: an application layer module and an application layer configuration management module, wherein:

[0024] The application layer configuration management module is used to store the switch value configuration table;

[0025] The application layer module is used for:

[0026] Read the switch value configuration table from the application layer configuration management module;

[0027] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0028] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0029] In a third aspect, the present invention further provides a train, comprising any of the above-mentioned on-board signal systems.

[0030] In a fourth aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for determining a train switch quantity as described in any one of the above is implemented.

[0031] In a fifth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for determining a train switch quantity.

[0032] In a sixth aspect, the present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned methods for determining train switch quantities.

[0033] The train switch quantity determination method, on-board signal system, train and electronic equipment provided by the present invention can obtain a switch quantity configuration table from the application layer configuration data by reading the application layer configuration. The switch quantity configuration table can characterize the correspondence between each switch quantity of the train and each contact of the input and output board. Then, based on the switch quantity configuration table, the input switch quantity information corresponding to the first contact information can be determined. Based on the switch quantity configuration table, the second contact information corresponding to the output switch quantity information can also be determined. The correspondence between each switch quantity of the train and each contact of the input and output board is extracted as the application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it is sufficient to change the switch quantity configuration table without changing the software, thereby improving the portability and versatility of the software. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a schematic diagram of the input and output switch quantity processing process provided by the relevant technology;

[0036] Figure 2 It is a flow chart of the train switch quantity determination method provided by the present invention;

[0037] Figure 3 It is a schematic diagram of the input and output switch quantity processing process provided by the present invention;

[0038] Figure 4 It is a structural schematic diagram of the vehicle-mounted signal system provided by the present invention;

[0039] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0040] In order to facilitate a clearer understanding of the embodiments of the present invention, some relevant background knowledge is first introduced as follows.

[0041] Figure 1 It is a schematic diagram of the input and output switch quantity processing process provided by the relevant technology, such as Figure 1 As shown in the figure, for the input switch quantity processing process: (1) the input and output board is directly connected to the vehicle hard line, and the input and output board transmits the collected quantity of the normally open contact or the normally closed contact to the drive layer; (2) the drive layer module processes the contacts corresponding to each switch quantity according to the electrical connection diagram, determines whether the switch quantity is valid, and then, according to the principle of 1 is valid and 0 is invalid, all the switch quantities are organized into an input switch quantity field in a certain order and passed to the application layer module. This order is the input code table; (3) after receiving the switch quantity field, the application layer module parses each switch quantity according to the input code table to determine whether it is valid, and then performs relevant logical processing.

[0042] like Figure 1 As shown in the figure, for the output switch quantity processing process: (1) the application layer module follows the principle of 1 being valid and 0 being invalid, and forms all the switch quantities into the output switch quantity field according to the output code table and passes it to the driver layer module; (2) after receiving the output switch quantity field, the driver layer module parses it in a certain order, which is the output code table, and the driver layer module outputs the switch quantity according to the corresponding output board contact.

[0043] It is understandable that in the relevant technology, the code table of the application layer software comes from the driver layer, and the driver layer binds the contacts of the input and output board with the switching quantities, which causes the application software to be overly dependent on the driver layer, with low portability and versatility; and if the vehicle manufacturer is changed, since the switching quantities provided by different vehicle manufacturers are different, it means that the driver needs to be updated, resulting in software maintenance costs.

[0044] In order to overcome the above-mentioned defects, the present invention provides a method for determining a train switch quantity, an on-board signal system, a train and an electronic device. By extracting the correspondence between each switch quantity of the train and each contact of the input and output board as application layer configuration data, the portability and versatility of the software can be improved.

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0046] Figure 2 FIG. 1 is a flow chart of the train switch quantity determination method provided by the present invention, such as Figure 2 As shown, the execution subject of the train switch quantity determination method can be a vehicle-mounted signal system. The method includes:

[0047] Step 201, obtaining a switch value configuration table by reading the application layer configuration;

[0048] The switch quantity configuration table is used to characterize the corresponding relationship between each switch quantity of the train and each contact point of the input and output board.

[0049] Specifically, in order to improve the portability and versatility of the software, the switch quantity configuration table can be obtained from the application layer configuration data by reading the application layer configuration, and the correspondence between each switch quantity of the train and each contact of the input and output board can be extracted as the application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it can be changed by changing the switch quantity configuration table without changing the software.

[0050] Step 202: determining input switch quantity information corresponding to the first contact information based on the switch quantity configuration table; and / or determining second contact information corresponding to the output switch quantity information based on the switch quantity configuration table;

[0051] The first contact information is used to indicate the state of the input contact of the input / output board, and the second contact information is used to control the state of the output contact of the input / output board.

[0052] Specifically, after obtaining the switch quantity configuration table, the state of each input contact can be mapped to each input switch quantity based on the switch quantity configuration table and the first contact information, thereby obtaining the input switch quantity information, which can indicate whether each input switch quantity is valid.

[0053] Specifically, the output switch quantity information can indicate whether each output switch quantity is valid. After obtaining the switch quantity configuration table, each output switch quantity can be mapped to the state of each output contact based on the switch quantity configuration table and the output switch quantity information, thereby obtaining the second contact information.

[0054] It can be understood that the first contact information may be contact information sent from the input / output board to the vehicle signal system, and the second contact information may be contact information sent from the vehicle signal system to the input / output board.

[0055] Optionally, after obtaining the switch quantity configuration table, you can periodically monitor whether the first contact information is received. Within a certain monitoring period, if the first contact information sent by the input and output board is received, then based on the switch quantity configuration table and the first contact information, you can correspond the state of each input contact to each input switch quantity, and then obtain the input switch quantity information.

[0056] Optionally, after obtaining the switch quantity configuration table, it is possible to periodically monitor whether the output switch quantity information has been generated. Within a certain monitoring period, if it is monitored that the output switch quantity information has been generated, then based on the switch quantity configuration table and the output switch quantity information, each output switch quantity can be mapped to the state of each output contact, thereby obtaining the second contact information.

[0057] Optionally, after obtaining the switch quantity configuration table, if the first contact information sent by the input and output board is received and the generated output switch quantity information is monitored, the input switch quantity information can be obtained based on the switch quantity configuration table and the first contact information, and the second contact information can be obtained based on the switch quantity configuration table and the output switch quantity information.

[0058] The train switch quantity determination method provided by the present invention can obtain a switch quantity configuration table from the application layer configuration data by reading the application layer configuration. The switch quantity configuration table can characterize the correspondence between each switch quantity of the train and each contact of the input and output board. Then, based on the switch quantity configuration table, the input switch quantity information corresponding to the first contact information can be determined. Based on the switch quantity configuration table, the second contact information corresponding to the output switch quantity information can also be determined. The correspondence between each switch quantity of the train and each contact of the input and output board is extracted as the application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it can be changed by changing the switch quantity configuration table without changing the software, thereby improving the portability and versatility of the software.

[0059] Optionally, according to a train switch value determination method provided by the present invention, before obtaining the switch value configuration table by reading the application layer configuration, the method further includes:

[0060] receiving a first input, wherein the first input is used to determine the corresponding relationship between each switch quantity of the train and each contact of the input and output board in a wiring stage, wherein the wiring stage is a stage for configuring the wiring between the on-board signal system and the train switch quantity interface;

[0061] In response to the first input, the switch value configuration table is generated and the switch value configuration is stored in the application layer configuration.

[0062] Specifically, a switch quantity configuration table can be generated through human-computer interaction. In the stage of configuring the wiring between the on-board signal system and the train switch quantity interface, the on-board signal system can receive a first input from the user. By receiving the first input, the correspondence between each switch quantity of the train and each contact of the input and output board can be determined, and then in response to the first input, a switch quantity configuration table is generated, and then the switch quantity configuration table can be stored in the application layer configuration.

[0063] It can be understood that the on-board signal system can provide an interactive interface, through which the user inputs first confirmation information, and the first confirmation information is used to confirm the correspondence between the various switch quantities of the train and the various contacts of the input and output board. In response to the input, the on-board signal system can obtain the corresponding relationship.

[0064] Optionally, the vehicle signal system may provide a first input control to the user, through which the user's first input may be received, and then in response to the first input, a switch value configuration table may be generated, and then the switch value configuration table may be stored in the application layer configuration.

[0065] Optionally, the switch quantity configuration table may be generated by human-computer interaction at the beginning of the wiring phase.

[0066] Optionally, the switch quantity configuration table may be generated by human-computer interaction at an intermediate moment in the wiring stage.

[0067] Optionally, at the end of the wiring phase, a switch quantity configuration table may be generated through human-computer interaction.

[0068] It is understandable that in the related art, since the meaning of the contacts on the input and output boards has been determined, the line sequence must be correct during the wiring process between the on-board signal system and the vehicle. Once a wiring error occurs, the wiring can only be re-done. The train switch quantity determination method provided by the present invention can generate a switch quantity configuration table through human-computer interaction at any time during the wiring stage, and can generate a switch quantity configuration table based on the adjusted line sequence (different from the default line sequence) to support multiple line sequences.

[0069] Therefore, a switch quantity configuration table can be generated through human-computer interaction during the wiring stage. The switch quantity configuration table can represent the correspondence between each switch quantity of the train and each contact of the input and output board, avoid obtaining the code table from the drive layer, realize the separation of data and software, and reduce the coupling between internal modules of the software.

[0070] Optionally, according to a train switch value determination method provided by the present invention, after generating the switch value configuration table in response to the first input and storing the switch value configuration in the application layer configuration, the method further includes:

[0071] receiving a second input, wherein the second input is used to determine a second contact as a contact corresponding to the target switching value of the train when a first contact corresponding to the target switching value of the train fails, and the second contact is a spare contact of the input / output board;

[0072] In response to the second input, the switch value configuration table in the application layer configuration is updated.

[0073] Specifically, in the event that a contact of an input / output board fails, the line can be changed to a spare contact. Accordingly, the on-board signal system can receive a second input from the user. By receiving the second input, the second contact can be determined as the contact corresponding to the target switch quantity. In response to the second input, the switch quantity configuration table in the application layer configuration can be updated. In the updated switch quantity configuration table, the contact corresponding to the target switch quantity is the second contact.

[0074] It can be understood that the vehicle signal system can provide an interactive interface, through which the user inputs second confirmation information, and the second confirmation information is used to confirm the new contact corresponding to the target switch quantity. In response to the input, the vehicle signal system can learn that the new contact corresponding to the target switch quantity is the second contact.

[0075] Optionally, the vehicle signal system may provide a second input control to the user, through which the second input of the user may be received, and then in response to the second input, the switch value configuration table in the application layer configuration may be updated.

[0076] It is understandable that in the related art, since the meaning of the input and output board contacts is already determined, once the input and output board contacts fail, the only option is to replace a new board. However, the train switch quantity determination method provided by the present invention can update the switch quantity configuration table in the application layer configuration to avoid replacing the board.

[0077] Therefore, by updating the switch configuration table in the application layer configuration when a contact of an input / output board fails, replacement of the board can be avoided, maintenance efficiency can be improved, and hardware maintenance costs can be reduced.

[0078] Optionally, according to a train switch quantity determination method provided by the present invention, the on-board signal system includes a drive layer module and an application layer module, and before determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table, it also includes:

[0079] Receiving the first contact information sent by the input / output board through the driver layer module;

[0080] The step of determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table includes:

[0081] The input switch quantity information is determined through the application layer module based on the switch quantity configuration table and the first contact information.

[0082] Specifically, the vehicle signal system may include a driving layer module and an application layer module. The driving layer module may receive the first contact information sent by the input and output board, and then the application layer module may correspond the state of each input contact to each input switch quantity based on the switch quantity configuration table and the first contact information, thereby obtaining the input switch quantity information. The input switch quantity information may indicate whether each input switch quantity is valid.

[0083] Optionally, after obtaining the switch quantity configuration table, the driver layer module may periodically monitor whether the first contact information is received. Within a certain monitoring period, if the driver layer module receives the first contact information sent by the input and output board, the driver layer module may forward the first contact information to the application layer module, and then the application layer module may correspond the state of each input contact to each input switch quantity based on the switch quantity configuration table and the first contact information, thereby obtaining the input switch quantity information.

[0084] Therefore, the correspondence between each switch quantity of the train and each contact of the input and output board is extracted as application layer configuration data, avoiding determining the input switch quantity information based on the code table of the drive layer, which can reduce the coupling between the drive layer module and the application layer module.

[0085] Optionally, according to a train switch quantity determination method provided by the present invention, the on-board signal system includes a drive layer module and an application layer module, and the determining of the second contact information corresponding to the output switch quantity information based on the switch quantity configuration table includes:

[0086] Determine the second contact information through the application layer module based on the switch value configuration table and the output switch value information;

[0087] After determining the second contact information corresponding to the output switching value information based on the switching value configuration table, the method further includes:

[0088] The second contact point information is sent to the input / output board through the driver layer module.

[0089] Specifically, the vehicle signal system may include a driving layer module and an application layer module. The output switch quantity information may indicate whether each output switch quantity is valid. Through the application layer module, each output switch quantity may be corresponded to the state of each output contact based on the switch quantity configuration table and the output switch quantity information, thereby determining the second contact information, and then sending the second contact information to the input and output board through the driving layer module.

[0090] Optionally, after obtaining the switch quantity configuration table, the application layer module may periodically monitor whether the output switch quantity information has been generated. Within a certain monitoring period, if the application layer module detects that the output switch quantity information has been generated, the application layer module may correspond each output switch quantity to the state of each output contact based on the switch quantity configuration table and the output switch quantity information, and then obtain the second contact information, and then the driver layer module may forward the second contact information to the input and output board.

[0091] Therefore, the correspondence between each switch quantity of the train and each contact of the input and output board is extracted as application layer configuration data to avoid determining the output contact information based on the code table of the driver layer, which can reduce the coupling between the driver layer module and the application layer module.

[0092] Optionally, Figure 3 is a schematic diagram of the input and output switch quantity processing process provided by the present invention, such as Figure 3 As shown, a switch quantity configuration table can be generated according to the line sequence of the vehicle signal system and the vehicle, or wiring can be performed according to the switch quantity configuration table. The switch quantity configuration table can be made into a program-readable format and read by the application layer module when the system is powered on. During operation, the application layer module performs periodic processing on the switch quantity.

[0093] like Figure 3As shown in the figure, for the input switch quantity processing process: (1) the driver layer module can directly forward the collected contact status of the input and output board to the application layer module; (2) the application layer module processes the contact information and converts it into the corresponding input switch quantity according to the read switch quantity configuration table.

[0094] like Figure 3 As shown in the figure, for the output switch quantity processing process: (1) the application layer module can convert the output switch quantity into corresponding contact information according to the switch quantity configuration table and pass it to the drive layer module; (2) the drive layer module can output the output contact information to the input and output board, and the input and output board outputs it to the vehicle.

[0095] The train switch quantity determination method provided by the present invention can obtain a switch quantity configuration table from the application layer configuration data by reading the application layer configuration. The switch quantity configuration table can characterize the correspondence between each switch quantity of the train and each contact of the input and output board. Then, based on the switch quantity configuration table, the input switch quantity information corresponding to the first contact information can be determined. Based on the switch quantity configuration table, the second contact information corresponding to the output switch quantity information can also be determined. The correspondence between each switch quantity of the train and each contact of the input and output board is extracted as the application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it can be changed by changing the switch quantity configuration table without changing the software, thereby improving the portability and versatility of the software.

[0096] Figure 4 Schematic diagram of the structure of the vehicle signal system provided by the present invention, such as Figure 4 As shown, the system includes: an application layer module 401 and an application layer configuration management module 402, wherein:

[0097] The application layer configuration management module 402 is used to store the switch value configuration table;

[0098] The application layer module 401 is used for:

[0099] Read the switch value configuration table from the application layer configuration management module;

[0100] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0101] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0102] In the vehicle-mounted signal system provided by the present invention, the application layer module can obtain the switch quantity configuration table from the application layer configuration management module by reading the application layer configuration. The switch quantity configuration table can represent the correspondence between each switch quantity of the train and each contact of the input and output board. Then, the application layer module can determine the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table, and can also determine the second contact information corresponding to the output switch quantity information based on the switch quantity configuration table. The correspondence between each switch quantity of the train and each contact of the input and output board is extracted as application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it can be changed by changing the switch quantity configuration table without changing the software, thereby improving the portability and versatility of the software.

[0103] Optionally, according to a vehicle signal system provided by the present invention, before obtaining the switch value configuration table by reading the application layer configuration, the application layer configuration management module is further used to:

[0104] receiving a first input, wherein the first input is used to determine the corresponding relationship between each switch quantity of the train and each contact of the input and output board in a wiring stage, wherein the wiring stage is a stage for configuring the wiring between the on-board signal system and the train switch quantity interface;

[0105] In response to the first input, the switch value configuration table is generated and stored.

[0106] Optionally, according to a vehicle signal system provided by the present invention, after generating the switch value configuration table in response to the first input and storing the switch value configuration in the application layer configuration, the application layer configuration management module is further used to:

[0107] receiving a second input, wherein the second input is used to determine a second contact as a contact corresponding to the target switching value of the train when a first contact corresponding to the target switching value of the train fails, and the second contact is a spare contact of the input / output board;

[0108] In response to the second input, the switch value configuration table is updated.

[0109] Optionally, according to a vehicle-mounted signal system provided by the present invention, the vehicle-mounted signal system further comprises a driving layer module, and before determining the input switching quantity information corresponding to the first contact information based on the switching quantity configuration table, the driving layer module is used to:

[0110] Receiving the first contact information sent by the input / output board;

[0111] The application layer module is specifically used for:

[0112] The input switch quantity information is determined based on the switch quantity configuration table and the first contact information.

[0113] Optionally, according to a vehicle signal system provided by the present invention, the vehicle signal system further includes a driver layer module, and the application layer module is specifically used for:

[0114] Determine the second contact information based on the switch value configuration table and the output switch value information;

[0115] After determining the second contact information corresponding to the output switching value information based on the switching value configuration table, the driving layer module is used to:

[0116] The second contact information is sent to the input / output board.

[0117] In the vehicle-mounted signal system provided by the present invention, the application layer module can obtain the switch quantity configuration table from the application layer configuration management module by reading the application layer configuration. The switch quantity configuration table can represent the correspondence between each switch quantity of the train and each contact of the input and output board. Then, the application layer module can determine the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table, and can also determine the second contact information corresponding to the output switch quantity information based on the switch quantity configuration table. The correspondence between each switch quantity of the train and each contact of the input and output board is extracted as application layer configuration data, bypassing the driver layer. When the correspondence between the switch quantity and the contact changes, it can be changed by changing the switch quantity configuration table without changing the software, thereby improving the portability and versatility of the software.

[0118] The present invention also provides a train, comprising any one of the above-mentioned on-board signal systems.

[0119] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the train switch quantity determination method, for example, the method includes:

[0120] Obtain the switch quantity configuration table by reading the application layer configuration;

[0121] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0122] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0123] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0124] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the train switch quantity determination method provided by the above methods, for example, the method includes:

[0125] Obtain the switch quantity configuration table by reading the application layer configuration;

[0126] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0127] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0128] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the train switch quantity determination method provided by the above methods, for example, the method includes:

[0129] Obtain the switch quantity configuration table by reading the application layer configuration;

[0130] Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information;

[0131] The switch quantity configuration table is used to characterize the correspondence between each switch quantity of the train and each contact of the input and output board card, the first contact information is used to indicate the state of the input contact of the input and output board card, and the second contact information is used to control the state of the output contact of the input and output board card.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining a train switch quantity, characterized in that: Applied to vehicle signal systems, including: Obtain the switch quantity configuration table by reading the application layer configuration; Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information; The switch value configuration table is used to characterize the correspondence between each switch value of the train and each contact of the input / output board, the first contact information is used to indicate the state of the input contact of the input / output board, and the second contact information is used to control the state of the output contact of the input / output board; Before obtaining the switch value configuration table by reading the application layer configuration, the method further includes: receiving a first input, wherein the first input is used to determine the corresponding relationship between each switch quantity of the train and each contact of the input and output board in a wiring stage, wherein the wiring stage is a stage for configuring the wiring between the on-board signal system and the train switch quantity interface; In response to the first input, the switch value configuration table is generated and the switch value configuration is stored in the application layer configuration.

2. The train switch quantity determination method according to claim 1, characterized in that: After generating the switch value configuration table in response to the first input and storing the switch value configuration in the application layer configuration, the method further includes: receiving a second input, wherein the second input is used to determine a second contact as a contact corresponding to the target switching value of the train when a first contact corresponding to the target switching value of the train fails, and the second contact is a spare contact of the input / output board; In response to the second input, the switch value configuration table in the application layer configuration is updated.

3. The train switch quantity determination method according to any one of claims 1-2, characterized in that: The vehicle-mounted signal system includes a drive layer module and an application layer module, and before determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table, further includes: Receiving the first contact information sent by the input / output board through the driver layer module; The step of determining the input switch quantity information corresponding to the first contact information based on the switch quantity configuration table includes: The input switch quantity information is determined through the application layer module based on the switch quantity configuration table and the first contact information.

4. The train switch quantity determination method according to any one of claims 1-2, characterized in that: The vehicle-mounted signal system includes a drive layer module and an application layer module, and the second contact information corresponding to the output switch quantity information is determined based on the switch quantity configuration table, including: Determine the second contact information through the application layer module based on the switch value configuration table and the output switch value information; After determining the second contact information corresponding to the output switching value information based on the switching value configuration table, the method further includes: The second contact point information is sent to the input / output board through the driver layer module.

5. A vehicle-mounted signal system, characterized in that: include: Application layer module and application layer configuration management module, including: The application layer configuration management module is used to store the switch value configuration table; The application layer module is used for: Read the switch value configuration table from the application layer configuration management module; Based on the switch value configuration table, determining the input switch value information corresponding to the first contact information; and / or, based on the switch value configuration table, determining the second contact information corresponding to the output switch value information; The switch value configuration table is used to characterize the correspondence between each switch value of the train and each contact of the input / output board, the first contact information is used to indicate the state of the input contact of the input / output board, and the second contact information is used to control the state of the output contact of the input / output board; Wherein, the application layer configuration management module is also used for: receiving a first input, wherein the first input is used to determine the corresponding relationship between each switch quantity of the train and each contact of the input and output board in a wiring stage, wherein the wiring stage is a stage for configuring the wiring between the on-board signal system and the train switch quantity interface; In response to the first input, the switch value configuration table is generated and stored.

6. A train, characterized in that: Comprising the vehicle-mounted signal system as claimed in claim 5.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the train switch quantity determination method as described in any one of claims 1 to 4.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the train switch quantity determination method as described in any one of claims 1 to 4 is implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the train switch quantity determination method as described in any one of claims 1 to 4 is implemented.