CN115649233A - Train switching value determining method, vehicle-mounted signal system, train and electronic equipment - Google Patents

Train switching value determining method, vehicle-mounted signal system, train and electronic equipment Download PDF

Info

Publication number
CN115649233A
CN115649233A CN202211387067.6A CN202211387067A CN115649233A CN 115649233 A CN115649233 A CN 115649233A CN 202211387067 A CN202211387067 A CN 202211387067A CN 115649233 A CN115649233 A CN 115649233A
Authority
CN
China
Prior art keywords
switching value
input
contact
configuration table
train
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211387067.6A
Other languages
Chinese (zh)
Inventor
陈春艳
王力明
迟盼盼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202211387067.6A priority Critical patent/CN115649233A/en
Publication of CN115649233A publication Critical patent/CN115649233A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention provides a train switching value determining method, a vehicle-mounted signal system, a train and electronic equipment, wherein the method comprises the following steps: acquiring a switching value configuration table in a mode of reading application layer configuration; determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table; the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card. By extracting the corresponding relation between each switching value and each contact as application layer configuration data, a driving layer is bypassed, and when the corresponding relation between the switching values and the contacts changes, a switching value configuration table is changed, so that the portability and the universality of software can be improved.

Description

Train switching value determining method, vehicle-mounted signal system, train and electronic equipment
Technical Field
The invention relates to the technical field of rail transit, in particular to a train switching value determining method, a vehicle-mounted signal system, a train and electronic equipment.
Background
The switching value pre-defining method means that the driving layer binds the contact of the input and output board with the switching value, namely the meaning of each path of contact of the input and output board is determined. The driving layer forms the switching value into an input switching value field according to the input code bit table and transmits the input switching value field to the application layer. The driving layer analyzes the output switching value field transmitted by the application layer according to the output code bit table and outputs related contacts, and the vehicle-mounted application layer software analyzes and outputs the input and output switching value according to the input and output code bit table and the related switching value field provided by the driving layer.
In the related art, a code bit table of application layer software comes from a driver layer, and the driver layer binds contacts of an input/output board with a switch quantity, so that the application software is excessively dependent on the driver layer, and the portability and the universality are low.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a train switching value determining method, a vehicle-mounted signal system, a train and electronic equipment.
In a first aspect, the present invention provides a train switching value determining method, applied to a vehicle-mounted signal system, including:
acquiring a switching value configuration table in a mode of reading application layer configuration;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
Optionally, before the obtaining the switching value configuration table by reading the application layer configuration, the method for determining the train switching value according to the present invention further includes:
receiving a first input, wherein the first input is used for determining the corresponding relation between each switching value of the train and each contact of the input/output board card in a connection stage, and the connection stage is a stage of configuring connection between the vehicle-mounted signal system and a train switching value interface;
in response to the first input, generating the switching value configuration table and storing the switching value configuration in the application layer configuration.
Optionally, according to a train switching value determining method provided by the present invention, after the generating the switching value configuration table and storing the switching value configuration in the application layer configuration in response to the first input, the method further includes:
receiving a second input, wherein the second input is used for determining a second contact as a contact corresponding to a target switching value of a train under the condition that a first contact corresponding to the target switching value has a fault, and the second contact is a standby contact of the input/output board card;
in response to the second input, updating a switching value configuration table in the application layer configuration.
Optionally, according to a method for determining a train switching value provided by the present invention, the train-mounted signal system includes a driving layer module and an application layer module, and before determining input switching value information corresponding to the first contact information based on the switching value configuration table, the method further includes:
receiving the first contact information sent by the input and output board card through the driving layer module;
the determining input switching value information corresponding to the first contact information based on the switching value configuration table includes:
determining, by the application layer module, the input switching value information based on the switching value configuration table and the first contact information.
Optionally, according to the train switching value determining method provided by the present invention, the vehicle-mounted signal system includes a driving layer module and an application layer module, and determining second contact information corresponding to output switching value information based on the switching value configuration table includes:
determining, by the application layer module, the second contact information based on the switching value configuration table and the output switching value information;
after determining to output the second contact information corresponding to the switching value information based on the switching value configuration table, the method further includes:
and sending the second contact information to the input/output board card through the driving layer module.
In a second aspect, the present invention further provides a vehicle-mounted signal system, including: an application layer module and an application layer configuration management module, wherein:
the application layer configuration management module is used for storing a switching value configuration table;
the application layer module is to:
reading the switching value configuration table from the application layer configuration management module;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
In a third aspect, the invention further provides a train, which comprises the vehicle-mounted signal system.
In a fourth aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor executes the program to implement any one of the above-mentioned train switching value determining methods.
In a fifth aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the train switching value determination method as described in any one of the above.
In a sixth aspect, the present invention further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the train switching value determining method according to any one of the above methods.
According to the train switching value determining method, the vehicle-mounted signal system, the train and the electronic equipment, the switching value configuration table can be obtained from the application layer configuration data by reading the application layer configuration mode, the switching value configuration table can represent the corresponding relation between each switching value of the train and each contact of the input and output board card, further the input switching value information corresponding to the first contact information can be determined based on the switching value configuration table, the second contact information corresponding to the output switching value information can be determined based on the switching value configuration table, the corresponding relation between each switching value of the train and each contact of the input and output board card is extracted as the application layer configuration data, the driving layer is bypassed, when the corresponding relation between the switching value and the contact is changed, the switching value configuration table can be changed without changing software, and the transportability and the universality of the software can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an input-output switching value processing procedure provided in the related art;
FIG. 2 is a schematic flow chart of a train switching value determining method provided by the invention;
FIG. 3 is a schematic diagram of the I/O switching value processing procedure provided by the present invention;
FIG. 4 is a schematic structural diagram of a vehicle-mounted signal system provided by the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to facilitate a clearer understanding of embodiments of the present invention, some relevant background information is first presented below.
Fig. 1 is a schematic diagram of an input/output switching value processing procedure provided in the related art, and as shown in fig. 1, for the input switching value processing procedure: (1) The input and output board card is directly connected with a hard wire of the vehicle, and transmits the acquisition quantity of the normally open contact or the normally closed contact to the driving layer; (2) The driving layer module processes the contact corresponding to each switching value according to an electric appliance connection diagram, judges whether the switching value is effective or not, and then forms input switching value fields according to a certain sequence and transmits the input switching value fields to the application layer module according to the principle that 1 is effective and 0 is ineffective, wherein the sequence is an input code bit table; (3) And after receiving the switching value field, the application layer module analyzes whether each switching value is effective according to the input code bit table and then performs related logic processing.
As shown in fig. 1, for the output switching value processing procedure: (1) The application layer module transmits all switching values to the driving layer module according to the principle that 1 is valid and 0 is invalid and the switching values form an output switching value field according to the output code bit table; (2) And after receiving the output switching value field, the driving layer module analyzes the output switching value field according to a certain sequence, wherein the sequence is an output code bit table, and the driving layer module outputs the switching value according to the corresponding output board card contact.
It can be understood that in the related art, the code bit table of the application layer software comes from the driver layer, and the driver layer binds the contact points of the input and output board with the switching values, thus causing the application software to depend on the driver layer excessively, and the portability and the universality are low; and if the vehicle manufacturer is replaced, the difference of the switching values provided by different vehicle manufacturers means that the drive needs to be updated, and the maintenance cost of software is caused.
In order to overcome the defects, the invention provides a train switching value determining method, a vehicle-mounted signal system, a train and electronic equipment, wherein the portability and the universality of software can be improved by extracting the corresponding relation between each switching value of the train and each contact of an input/output board card into application layer configuration data.
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 2 is a schematic flow chart of a train switching value determining method provided by the present invention, and as shown in fig. 2, an executing subject of the train switching value determining method may be a vehicle-mounted signal system. The method comprises the following steps:
step 201, obtaining a switching value configuration table by reading an application layer configuration mode;
and the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input/output board card.
Specifically, in order to improve the portability and the universality of software, a switching value configuration table can be obtained from application layer configuration data in a mode of reading application layer configuration, the corresponding relation between each switching value of a train and each contact of an input/output board card is extracted as the application layer configuration data, a driving layer is bypassed, and when the corresponding relation between the switching value and the contact is changed, the switching value configuration table is changed without changing the software.
Step 202, determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the first contact information is used for representing the state of an input contact of the input/output board card, and the second contact information is used for controlling the state of an output contact of the input/output board card.
Specifically, after the switching value configuration table is acquired, the state of each input contact may be corresponded to each input switching value based on the switching value configuration table and the first contact information, and input switching value information may be acquired, which may indicate whether each input switching value is valid.
Specifically, the output switching value information may indicate whether each output switching value is valid, and after the switching value arrangement table is acquired, each output switching value may be associated with a state of each output contact based on the switching value arrangement table and the output switching value information, thereby acquiring the second contact information.
It is understood that the first contact information may be contact information transmitted by the input/output board to the in-vehicle signal system, and the second contact information may be contact information transmitted by the in-vehicle signal system to the input/output board.
Optionally, after the switching value configuration table is obtained, whether the first contact information is received may be periodically monitored, and in a certain monitoring period, if the first contact information sent by the input/output board card is received, the state of each input contact may be corresponding to each input switching value based on the switching value configuration table and the first contact information, so as to obtain the input switching value information.
Alternatively, after the switching value configuration table is acquired, whether the output switching value information is generated or not may be periodically monitored, and in a certain monitoring period, if it is monitored that the output switching value information is generated, each output switching value may be corresponded to the state of each output contact based on the switching value configuration table and the output switching value information, and then the second contact information may be acquired.
Alternatively, after the switching value configuration table is obtained, if both the first contact information sent by the input/output board card and the generated output switching value information are received and monitored, the input switching value information may be obtained based on the switching value configuration table and the first contact information, and the second contact information may be obtained based on the switching value configuration table and the output switching value information.
According to the train switching value determining method provided by the invention, the switching value configuration table can be obtained from the application layer configuration data by reading the application layer configuration mode, the switching value configuration table can represent the corresponding relation between each switching value of the train and each contact of the input/output board card, further the input switching value information corresponding to the first contact information can be determined based on the switching value configuration table, the second contact information corresponding to the output switching value information can be determined based on the switching value configuration table, the corresponding relation between each switching value of the train and each contact of the input/output board card is extracted as the application layer configuration data, the driving layer is bypassed, when the corresponding relation between the switching value and the contact is changed, the portability and the universality of software can be improved by changing the switching value configuration table without changing the software.
Optionally, before the obtaining the switching value configuration table by reading the application layer configuration, the method for determining the train switching value according to the present invention further includes:
receiving a first input, wherein the first input is used for determining the corresponding relation between each switching value of the train and each contact of the input/output board card in a wiring stage, and the wiring stage is a stage of configuring wiring between the vehicle-mounted signal system and a train switching value interface;
in response to the first input, generating the switching value configuration table and storing the switching value configuration in the application layer configuration.
Specifically, a switching value configuration table can be generated in a man-machine interaction mode, in the stage of wiring between the configuration vehicle-mounted signal system and the train switching value interface, the vehicle-mounted signal system can receive a first input of a user, the corresponding relation between each switching value of the train and each contact of the input/output board card can be determined by receiving the first input, the switching value configuration table is generated in response to the first input, and the switching value configuration table can be stored in application layer configuration.
It can be understood that the on-board signal system may provide an interactive interface, and a user inputs first confirmation information through the interactive interface, where the first confirmation information is used to confirm a correspondence between each switching value of the train and each contact of the input/output board card, and in response to the input, the on-board signal system may learn the correspondence.
Optionally, the in-vehicle signal system may provide a first input control to a user, and a first input of the user may be received through the first input control, and then in response to the first input, a switching value configuration table may be generated, and the switching value configuration table may be stored in the application layer configuration.
Alternatively, the switching value configuration table may be generated by human-computer interaction at the start time of the connection phase.
Alternatively, the switching value configuration table may be generated in a man-machine interaction manner at an intermediate time of the connection phase.
Optionally, the switching value configuration table may be generated in a man-machine interaction manner at the end of the connection phase.
It can be understood that, in the related art, because the meaning of the input/output board contact is determined, the vehicle-mounted signal system and the vehicle have to be correctly wired in the wiring process, and once a wiring error occurs, the wiring can be performed again. The train switching value determining method provided by the invention can generate the switching value configuration table at any time in the connection stage in a man-machine interaction mode, and can generate the switching value configuration table based on the adjusted line sequence (different from the default line sequence), thereby realizing the support of various line sequences.
Therefore, a switching value configuration table can be generated in a man-machine interaction mode in a wiring stage, the switching value configuration table can represent the corresponding relation between each switching value of the train and each contact of the input/output board card, a code bit table is prevented from being obtained from a driving layer, data and software are separated, and coupling among modules in the software is reduced.
Optionally, according to a train switching value determining method provided by the present invention, after the generating the switching value configuration table and storing the switching value configuration in the application layer configuration in response to the first input, the method further includes:
receiving a second input, wherein the second input is used for determining a second contact as a contact corresponding to a target switching value of a train under the condition that a first contact corresponding to the target switching value has a fault, and the second contact is a standby contact of the input and output board card;
updating a switching value configuration table in the application layer configuration in response to the second input.
Specifically, when a contact of the input/output board card fails, the line may be changed to the spare contact, accordingly, the vehicle-mounted signal system may receive a second input of the user, and may determine, by receiving the second input, that the second contact is a contact corresponding to the target switching value, and then, in response to the second input, may update the switching value configuration table in the application layer configuration, where in the updated switching value configuration table, the contact corresponding to the target switching value is the second contact.
It is understood that the in-vehicle signal system may provide an interactive interface through which the user inputs second confirmation information for confirming the new contact corresponding to the target switching value, and in response to the input, the in-vehicle signal system may know that the new contact corresponding to the target switching value is the second contact.
Optionally, the in-vehicle signal system may provide a second input control to the user, and a second input of the user may be received through the second input control, and in response to the second input, the switching value configuration table in the application layer configuration may be updated.
It can be understood that, in the related art, because the meaning of the input/output board contacts is determined, once the input/output board contacts fail, only the new board can be replaced. The train switching value determining method provided by the invention can update the switching value configuration table in the application layer configuration and avoid the replacement of the board card.
Therefore, the switching value configuration table in the application layer configuration is updated under the condition that the contact of the input/output board card breaks down, the board card can be prevented from being replaced, the overhauling efficiency is improved, and the hardware maintenance cost can be reduced.
Optionally, according to the train switching value determining method provided by the present invention, the train-mounted signal system includes a driving layer module and an application layer module, and before determining the input switching value information corresponding to the first contact information based on the switching value configuration table, the method further includes:
receiving the first contact information sent by the input/output board card through the driving layer module;
the determining input switching value information corresponding to the first contact information based on the switching value configuration table includes:
determining, by the application layer module, the input switching value information based on the switching value configuration table and the first contact information.
Specifically, the vehicle-mounted signal system can include a driving layer module and an application layer module, the driving layer module can receive first contact information sent by the input and output board card, the application layer module can correspond the states of the input contacts to the input switching values based on the switching value configuration table and the first contact information, the input switching value information is obtained, and the input switching value information can indicate whether the input switching values are effective or not.
Optionally, after the switching value configuration table is obtained, the driving layer module may periodically monitor whether the first contact information is received, and in a certain monitoring period, if the driving layer module receives the first contact information sent by the input/output board, the driving 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 switching value based on the switching value configuration table and the first contact information, and further obtain the input switching value information.
Therefore, the corresponding relation between each switching value of the train and each contact of the input/output board card is extracted as the configuration data of the application layer, the situation that input switching value information is determined based on the code bit table of the driving layer is avoided, and the coupling between the driving layer module and the application layer module can be reduced.
Optionally, according to a method for determining a train switching value provided by the present invention, the vehicle-mounted signal system includes a driving layer module and an application layer module, and determining second contact information corresponding to output switching value information based on the switching value configuration table includes:
determining, by the application layer module, the second contact information based on the switching value configuration table and the output switching value information;
after the determining and outputting of the second contact information corresponding to the switching value information based on the switching value configuration table, the method further includes:
and sending the second contact information to the input/output board card through the driving layer module.
Specifically, the vehicle-mounted signal system may include a driving layer module and an application layer module, the output switching value information may indicate whether each output switching value is valid, and through the application layer module, each output switching value may be mapped to a state of each output contact based on the switching value configuration table and the output switching value information, so as to determine the second contact information, and then the driving layer module may send the second contact information to the input/output board card.
Optionally, after the switching value configuration table is obtained, the application layer module may periodically monitor whether the output switching value information is generated, and in a certain monitoring period, if the application layer module monitors that the output switching value information is generated, the application layer module may correspond each output switching value to the state of each output contact based on the switching value configuration table and the output switching value information, and further obtain the second contact information, and further the driving layer module may forward the second contact information to the input/output board.
Therefore, the corresponding relation between each switching value of the train and each contact of the input/output board card is extracted as the configuration data of the application layer, the determination of the output contact information based on the code bit table of the driving layer is avoided, and the coupling between the driving layer module and the application layer module can be reduced.
Alternatively, fig. 3 is a schematic diagram of an input/output switching value processing procedure provided by the present invention, and as shown in fig. 3, a switching value configuration table may be generated according to a line sequence between the vehicle-mounted signal system and the vehicle, or wiring may be performed according to the switching value configuration table. The switching value configuration table can be made into a program readable format, and the application layer module reads the switching value configuration table when the system is powered on. And the application layer module carries out periodic processing on the switching value in the running process.
As shown in fig. 3, for the input switching value processing: (1) The drive layer module can directly forward the acquired contact state of the input/output board card to the application layer module; (2) And the application layer module processes and converts the contact information into corresponding input switching value according to the read switching value configuration table.
As shown in fig. 3, for the output switching value processing: (1) The application layer module can convert the output switching value into corresponding contact information according to the switching value configuration table and transmit the contact information to the driving layer module; (2) The driving layer module can output the output contact information to the input and output board card, and the output board card outputs the output contact information to the vehicle.
According to the train switching value determining method provided by the invention, the switching value configuration table can be obtained from the application layer configuration data by reading the application layer configuration mode, the switching value configuration table can represent the corresponding relation between each switching value of the train and each contact of the input/output board card, further the input switching value information corresponding to the first contact information can be determined based on the switching value configuration table, the second contact information corresponding to the output switching value information can be determined based on the switching value configuration table, the corresponding relation between each switching value of the train and each contact of the input/output board card is extracted as the application layer configuration data, the driving layer is bypassed, when the corresponding relation between the switching value and the contact is changed, the portability and the universality of software can be improved by changing the switching value configuration table without changing the software.
Fig. 4 is a schematic structural diagram of a vehicle-mounted signal system provided by the present invention, and as shown in fig. 4, the system includes: an application layer module 401 and an application layer configuration management module 402, wherein:
the application layer configuration management module 402 is configured to store a switching value configuration table;
the application layer module 401 is configured to:
reading the switching value configuration table from the application layer configuration management module;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
According to the vehicle-mounted signal system provided by the invention, the application layer module can acquire the switching value configuration table from the application layer configuration management module in a mode of reading the application layer configuration, the switching value configuration table can represent the corresponding relation between each switching value of the train and each contact of the input/output board card, and further the application layer module can determine the input switching value information corresponding to the first contact information based on the switching value configuration table, and can also determine the second contact information corresponding to the output switching value information based on the switching value configuration table, and extract the corresponding relation between each switching value of the train and each contact of the input/output board card as the application layer configuration data, so that a driving layer is bypassed, when the corresponding relation between the switching value and the contact is changed, the switching value configuration table is changed without changing software, and the transportability and the universality of the software can be improved.
Optionally, according to the vehicle-mounted signal system provided by the present invention, before the switching value configuration table is obtained by reading the application layer configuration, the application layer configuration management module is further configured to:
receiving a first input, wherein the first input is used for determining the corresponding relation between each switching value of the train and each contact of the input/output board card in a connection stage, and the connection stage is a stage of configuring connection between the vehicle-mounted signal system and a train switching value interface;
in response to the first input, generating the switching value configuration table and storing the switching value configuration table.
Optionally, according to an in-vehicle signal system provided by the present invention, after the generating the switching value configuration table and storing the switching value configuration into the application layer configuration in response to the first input, the application layer configuration management module is further configured to:
receiving a second input, wherein the second input is used for determining a second contact as a contact corresponding to a target switching value of a train under the condition that a first contact corresponding to the target switching value has a fault, and the second contact is a standby contact of the input and output board card;
updating the switching value configuration table in response to the second input.
Optionally, according to a vehicle-mounted signal system provided by the present invention, the vehicle-mounted signal system further includes a driving layer module, before determining the input switching value information corresponding to the first contact information based on the switching value configuration table, the driving layer module is configured to:
receiving the first contact information sent by the input and output board card;
the application layer module is specifically configured to:
determining the input switching value information based on the switching value configuration table and the first contact information.
Optionally, according to the vehicle-mounted signal system provided by the present invention, the vehicle-mounted signal system further includes a driving layer module, and the application layer module is specifically configured to:
determining the second contact information based on the switching value configuration table and the output switching value information;
after determining to output second contact information corresponding to the switching value information based on the switching value configuration table, the driving layer module is configured to:
and sending the second contact information to the input and output board card.
According to the vehicle-mounted signal system provided by the invention, the application layer module can acquire the switching value configuration table from the application layer configuration management module in a manner of reading the application layer configuration, the switching value configuration table can represent the corresponding relation between each switching value of a train and each contact of the input and output board card, and further the application layer module can determine the input switching value information corresponding to the first contact information based on the switching value configuration table, and can also determine the second contact information corresponding to the output switching value information based on the switching value configuration table, and extract the corresponding relation between each switching value of the train and each contact of the input and output board card as the application layer configuration data, so that a driving layer is bypassed, when the corresponding relation between the switching value and the contact is changed, the switching value configuration table can be changed without changing software, and the transportability and the universality of the software can be improved.
The invention also provides a train, which comprises the vehicle-mounted signal system.
Fig. 5 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor) 510, a communication Interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a train switch determination method, for example, the method comprising:
acquiring a switching value configuration table in a mode of reading application layer configuration;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
In addition, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer readable storage medium, when the computer program is executed by a processor, a computer can execute the train switching value determining method provided by the above methods, for example, the method includes:
acquiring a switching value configuration table in a mode of reading application layer configuration;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the train switching value determining method provided by the above methods, for example, the method includes:
acquiring a switching value configuration table in a mode of reading application layer configuration;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A train switching value determining method is applied to a vehicle-mounted signal system and comprises the following steps:
acquiring a switching value configuration table in a mode of reading application layer configuration;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
2. The train switching value determining method according to claim 1, wherein before the obtaining the switching value configuration table by reading the application layer configuration, the method further comprises:
receiving a first input, wherein the first input is used for determining the corresponding relation between each switching value of the train and each contact of the input/output board card in a wiring stage, and the wiring stage is a stage of configuring wiring between the vehicle-mounted signal system and a train switching value interface;
in response to the first input, generating the switching value configuration table and storing the switching value configuration in the application layer configuration.
3. The train switching value determining method according to claim 2, further comprising, after the generating the switching value configuration table and storing the switching value configuration in the application layer configuration in response to the first input:
receiving a second input, wherein the second input is used for determining a second contact as a contact corresponding to a target switching value of a train under the condition that a first contact corresponding to the target switching value has a fault, and the second contact is a standby contact of the input and output board card;
updating a switching value configuration table in the application layer configuration in response to the second input.
4. The train switching value determining method according to any one of claims 1 to 3, wherein the train-mounted signal system includes a driving layer module and an application layer module, and before determining the input switching value information corresponding to the first contact information based on the switching value configuration table, the method further includes:
receiving the first contact information sent by the input/output board card through the driving layer module;
the determining input switching value information corresponding to the first contact information based on the switching value configuration table includes:
determining, by the application layer module, the input switching value information based on the switching value configuration table and the first contact information.
5. The train switching value determining method according to any one of claims 1 to 3, wherein the train-mounted signal system includes a driving layer module and an application layer module, and the determining, based on the switching value configuration table, second contact information corresponding to output switching value information includes:
determining, by the application layer module, the second contact information based on the switching value configuration table and the output switching value information;
after determining to output the second contact information corresponding to the switching value information based on the switching value configuration table, the method further includes:
and sending the second contact information to the input/output board card through the driving layer module.
6. An on-board signaling system, comprising: an application layer module and an application layer configuration management module, wherein:
the application layer configuration management module is used for storing a switching value configuration table;
the application layer module is to:
reading the switching value configuration table from the application layer configuration management module;
determining input switching value information corresponding to the first contact information based on the switching value configuration table; and/or determining second contact information corresponding to the output switching value information based on the switching value configuration table;
the switching value configuration table is used for representing the corresponding relation between each switching value of the train and each contact of the input and output board card, the first contact information is used for representing the state of the input contact of the input and output board card, and the second contact information is used for controlling the state of the output contact of the input and output board card.
7. A train comprising the on-board signal system of claim 6.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the train switching value determining method according to any one of claims 1 to 5.
9. A non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the train switching amount determining method according to any one of claims 1 to 5.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the train switching value determination method according to any one of claims 1 to 5.
CN202211387067.6A 2022-11-07 2022-11-07 Train switching value determining method, vehicle-mounted signal system, train and electronic equipment Pending CN115649233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211387067.6A CN115649233A (en) 2022-11-07 2022-11-07 Train switching value determining method, vehicle-mounted signal system, train and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211387067.6A CN115649233A (en) 2022-11-07 2022-11-07 Train switching value determining method, vehicle-mounted signal system, train and electronic equipment

Publications (1)

Publication Number Publication Date
CN115649233A true CN115649233A (en) 2023-01-31

Family

ID=85016655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211387067.6A Pending CN115649233A (en) 2022-11-07 2022-11-07 Train switching value determining method, vehicle-mounted signal system, train and electronic equipment

Country Status (1)

Country Link
CN (1) CN115649233A (en)

Similar Documents

Publication Publication Date Title
US12087099B2 (en) Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device
US10609133B2 (en) Method and device for establishing communication connection
CN112328294A (en) OTA (over the air) upgrading method and system for vehicle ECU (electronic control Unit)
US11288054B2 (en) Vehicular communication system
CN112689083B (en) Vehicle-mounted camera configuration method and device, electronic equipment and storage medium
CN108099511A (en) Tyre pressure sensor Activiation method, device, storage medium and front end processor
CN103439961A (en) Automobile electronic control unit diagnostic function test method and system
CN110908691A (en) Matching method, device, equipment and medium for tire pressure monitoring system
JP4679177B2 (en) Plant alarm control panel update method and update test monitoring device
CN115649233A (en) Train switching value determining method, vehicle-mounted signal system, train and electronic equipment
CN112817883A (en) Method, device and system for adapting interface platform and computer readable storage medium
CN108973542B (en) Upgrading method and equipment for tire pressure detection system TPMS (tire pressure monitoring System) diagnosis tool
CN116698435A (en) Method, system, device and processor for testing functions of seat system
JP5836222B2 (en) Vehicle control apparatus and vehicle control system
EP2458564B1 (en) Remote diagnosis of vehicles
CN115993980A (en) Automatic upgrading method, system and platform suitable for ONU intermediate version
CN113960991A (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
CN114168482A (en) Test method of vehicle control unit
CN113853580A (en) Electronic Control Unit (ECU) updating method, ECU and terminal
CN112104708A (en) Communication method and device of diagnostic equipment, electronic equipment and storage medium
CN113096269A (en) Information acquisition method and device, electronic equipment and storage medium
CN116394762B (en) Fuel cell vehicle data processing system and method and fuel cell vehicle
CN110597652A (en) Fault detection system of intelligent interactive panel and control method thereof
KR20070076747A (en) Apparatus of data processing and method of setting program data thereof
CN117234563B (en) Method and client for upgrading firmware of ECU (electronic control Unit) based on UDS (Universal description service) protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination