CN116910985A - Departure timer simulation method and device based on simulation system and storage medium - Google Patents
Departure timer simulation method and device based on simulation system and storage medium Download PDFInfo
- Publication number
- CN116910985A CN116910985A CN202310722850.1A CN202310722850A CN116910985A CN 116910985 A CN116910985 A CN 116910985A CN 202310722850 A CN202310722850 A CN 202310722850A CN 116910985 A CN116910985 A CN 116910985A
- Authority
- CN
- China
- Prior art keywords
- display
- departure
- departure timer
- timer
- information
- 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
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 138
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012544 monitoring process Methods 0.000 claims abstract description 46
- 238000004891 communication Methods 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 9
- 238000003745 diagnosis Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 7
- 238000012360 testing method Methods 0.000 abstract description 19
- 238000002598 diffusion tensor imaging Methods 0.000 description 38
- 238000010586 diagram Methods 0.000 description 8
- 238000011990 functional testing Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention relates to the technical field of rail transit control, and provides a departure timer simulation method based on a simulation system, which is applied to the simulation system, and is characterized in that display information sent by a train automatic monitoring system through interface unit equipment is acquired and is input into a departure timer model; the departure timer model is built in a simulation system; the display information comprises a display strategy and display data; controlling the display state of the departure timer display interface according to the display strategy in the display information by using the departure timer model, and displaying the display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system; by implementing the method, the simulation system is used for simulating the real departure timer, and compared with the method for testing by using the real departure timer, the method not only reduces the testing cost, but also improves the testing efficiency.
Description
Technical Field
The invention relates to the technical field of rail transit control, in particular to a departure timer simulation method, a departure timer simulation device and a storage medium based on a simulation system.
Background
The simulation system of the train consists of two layers of a semi-physical simulation system and a visual operation interface, wherein the semi-physical simulation system comprises a bottom supporting layer, a basic simulation model, a physical agent, a physical model, a physical interface platform and a physical equipment system. The visual operation interface comprises a system operation monitoring interface, an operation diagram interface and a driver's desk interface, and provides convenient interface operation for users. The real departure timer (Departure Time Indicator, DTI) is arranged at each station to provide departure time of the station for train operation, and the time indication of the arrival late condition of the train prompts the train to operate according to the schedule. Normally, after the train enters the platform in whole, the departure time from the schedule is displayed according to the countdown of the stop time given by the system, and the departure time of the train is indicated when the departure time is zero. As shown in fig. 2, the upstream DTI and the downstream DTI of each station are connected to the interface unit equipment (FEP, front end processor) of the train automatic monitoring system (Automatic Train Supervision, ATS) in a single network manner at each equipment central station.
The existing train simulation system lacks support for simulation of the DTI, and FEP cannot be connected into the train simulation system for functional test, so that the simulation test requirement of the FEP cannot be met. If the DTI real object is accessed for testing, the testing cost can be much higher, so that the economic cost is increased and the testing efficiency is reduced.
Disclosure of Invention
The invention provides a departure timer simulation method, a departure timer simulation device and a storage medium based on a simulation system, which are used for solving the defects that FEP cannot be connected into a train simulation system for functional test in the prior art, and if a DTI object is connected into the train simulation system for test, the economic cost is increased, the test efficiency is reduced, and the effects of using the simulation system to simulate and test the real DTI, reducing the test cost and improving the test efficiency are realized.
The invention provides a departure timer simulation method based on a simulation system, which is applied to the simulation system and comprises the following steps:
acquiring display information sent by the train automatic monitoring system through interface unit equipment, and inputting the display information into a departure timer model; the departure timer model is built in the simulation system; the display information comprises a display strategy and display data;
controlling the display state of a departure timer display interface according to a display strategy in the display information by using the departure timer model, and displaying display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system.
According to the departure timer simulation method based on the simulation system, diagnostic information generated by the departure timer model is acquired, and the diagnostic information is sent to the interface unit equipment, so that the train automatic monitoring system acquires the diagnostic information through the interface unit equipment, and the fault state of the departure timer is determined based on the diagnostic information.
According to the departure timer simulation method based on the simulation system, the display information and the diagnosis information are both data messages, and the display information comprises information for indicating the connection state of the interface unit equipment and the train automatic monitoring system; the diagnostic information includes information indicating a fault condition of the departure timer model.
According to the departure timer simulation method based on the simulation system, the display information is periodically sent to the simulation system by the interface unit equipment at a preset first time interval; the diagnostic information is periodically generated by the departure timer model at preset second time intervals and transmitted to the interface unit device through the simulation system.
According to the method for simulating the departure timer based on the simulation system provided by the invention, before the diagnosis information is sent to the interface unit equipment, the method further comprises the following steps: checking whether a communication connection between the interface unit device and the departure timer model is stable.
According to the departure timer simulation method based on the simulation system provided by the invention, whether the communication connection between the interface unit equipment and the departure timer model is stable is checked, and the method specifically comprises the following steps: in a third time interval above the current time, under the condition that the departure timer model receives at least one piece of display information, judging that the communication connection between the interface unit equipment and the departure timer model is stable; the third time interval is equal to or longer than the first time interval.
According to the method for simulating the departure timer based on the simulation system, after the display information sent by the automatic train monitoring system through the interface unit equipment is obtained, before the display information is input into the departure timer model, the method further comprises the following steps:
checking whether the communication connection between the train automatic monitoring system and the interface unit equipment is stable.
According to the method for simulating the departure timer based on the simulation system, which is provided by the invention, whether the communication connection between the train automatic monitoring system and the interface unit equipment is stable is checked, and the method specifically comprises the following steps:
and under the condition that the information for indicating the connection state of the interface unit equipment and the automatic train monitoring system accords with a preset normal connection condition, judging that the connection between the automatic train monitoring system and the interface unit equipment is stable.
According to the departure timer simulation method based on the simulation system, a plurality of independent threads exist in the simulation system and are used for receiving display information sent by different interface unit devices.
The invention provides a departure timer simulation device based on a simulation system, which comprises: the system comprises a construction module, an information transmission module and a processing module;
the construction module is used for constructing a departure timer model and a departure timer display interface;
the information transmission module is used for acquiring display information sent by the train automatic monitoring system through interface unit equipment and inputting the display information into the departure timer model; the display information comprises a display strategy and display data;
the processing module is used for controlling the display state of a departure timer display interface according to the display strategy in the display information by utilizing the departure timer model, and displaying the display data in the display information on the departure timer display interface by utilizing the departure timer model.
The invention provides a departure timer simulation method based on a simulation system, which is applied to the simulation system, and is characterized in that display information sent by a train automatic monitoring system through interface unit equipment is acquired and is input into a departure timer model; the departure timer model is built in a simulation system; the display information comprises a display strategy and display data; controlling the display state of the departure timer display interface according to the display strategy in the display information by using the departure timer model, and displaying the display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system; by implementing the method, the simulation system is used for simulating the real departure timer, and in the test process, compared with the test by using the real departure timer, the test cost is reduced, and the test efficiency is improved because the real departure timer is not required to be installed and connected.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a departure timer simulation method based on a simulation system provided by the invention;
FIG. 2 is a schematic diagram of a prior art connection of a DTI;
FIG. 3 is one of the actual operating schematic diagrams of the train in an embodiment of the invention;
FIG. 4 is a second schematic diagram of the actual operation of the train in an embodiment of the invention;
fig. 5 is a schematic structural diagram of a departure timer simulation device based on a simulation system.
Reference numerals:
51: constructing a module; 52: an information transmission module; 53: and a processing module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a departure timer simulation method based on a simulation system according to the present invention with reference to the accompanying drawings.
As shown in fig. 1, the invention provides a departure timer simulation method based on a simulation system, which specifically comprises the following steps:
s1, a simulation system acquires display information sent by a train automatic monitoring system through interface unit equipment, and inputs the display information into a departure timer model;
s2, the simulation system controls the display state of the display interface of the departure timer according to the display strategy in the display information by using the departure timer model, and displays the display data in the display information on the display interface of the departure timer by using the departure timer model.
It should be understood that the departure timer model and the departure timer display interface are built in the simulation system, and only after the departure timer simulation is executed once, the departure timer model and the departure timer display interface are provided in the simulation system, and the departure timer model and the departure timer display interface do not need to be reconstructed again when the departure timer simulation is carried out later except for the case that the departure timer model and the departure timer display interface are required to be modified. Specifically, a virtual simulation model with the same functional logic as a real departure timer, namely a departure timer model, needs to be built in a simulation system, and a simulation equipment interface corresponding to a display screen of the real departure timer, namely a departure timer display interface, is displayed on an equipment running diagram of the simulation system. It should be appreciated that the departure timer model is a logical model, rather than a model that mimics the construction of physical devices. The departure timer model can acquire display information through a simulation system and can control the display state (including but not limited to font color, brightness and the like) and display data (including but not limited to English characters, digital characters and the like) of a departure timer display interface. In an optional embodiment of the present invention, multiple independent threads may exist in the simulation system, for receiving display information sent by different interface unit devices, so that display information sent by multiple interface unit devices may be obtained simultaneously.
For the step S1, the simulation system acquires the display information sent from the train automatic monitoring system through the interface unit device, and inputs the display information into the departure timer model, specifically, the interface unit device can establish data connection with the simulation system, and can send data to the simulation system. It should be understood that the invention is not limited to a particular manner of data connection, as data transmission may be performed using both wired connections (e.g., data transmission lines) and wireless connections (e.g., cellular networks, WLAN, bluetooth, etc.). After the simulation system acquires the display information sent by the interface unit device, the display information is analyzed and corresponds to the device on the overall operation diagram in the simulation system (namely corresponds to the departure timer display interface on the overall operation diagram in the invention), and the display information is input into the departure timer model for processing. In an alternative embodiment of the present invention, a hash table may be used to store the departure timer model, where the key is the ID of the departure timer model within the simulation system and the value is the device object of the departure timer model (i.e., the departure timer simulated by the departure timer model). Information such as a location, a corresponding device ID, and a status is stored in the device object of the departure timer model.
In an alternative embodiment of the invention, the train automatic monitoring system periodically sends display information to the simulation system at preset first time intervals through the interface unit equipment, and the simulation system inputs the display information into the departure timer model for processing after receiving the display information each time. For example, the first time interval may be set to 500ms, that is, the train automatic monitoring system sends display information to the simulation system through the interface unit device every 500ms, so as to continuously control the departure timer model, and provide a basis for the departure timer model to determine whether the data connection between the interface unit device and the departure timer model is normal.
For the step S2, the simulation system controls the display state of the departure timer display interface according to the display policy in the display information by using the departure timer model, and displays the display data in the display information on the departure timer display interface by using the departure timer model, specifically, the departure timer model needs to display the corresponding content on the departure timer display interface according to the display policy and the display data contained in the display information.
In an alternative embodiment of the present invention, as shown in table 1, the display information is a data packet composed of eight bytes, and the number of each of the eight bytes is 0-7, and the display information includes a display policy for controlling the departure timer model, display data for displaying on the departure timer display interface, and information for indicating the connection status of the interface unit device and the automatic train monitoring system. The system comprises a frame head, a frame tail, a frame head and a frame tail, wherein the frame head and the frame tail are respectively used for controlling the display state of a departure timer model, the frame head and the frame tail are respectively used for indicating the connection state of interface unit equipment and an automatic train monitoring system, 1 16-system data are stored in the frame head and the frame tail, and the frame head and the frame tail are respectively used for converting the frame head and the frame tail into 8-system data which can be used for corresponding bytes after being converted into the frame tail; the bytes 3 to 6 are used for storing display data of the departure timer model, wherein hexadecimal numbers are respectively stored in the bytes 3 to 5, each hexadecimal number corresponds to an ascll code and is used for controlling the display data of the departure timer, and the data stored in the byte 6 is XX and represents redundancy.
Table 1 output data allocation table for departure timer
Byte definition | Function of | Byte length | Remarks |
0 | Frame header | 1 | 7D |
1-2 | Controlling display status | 2 | Data set, control byte |
3-6 | Displaying data | 4 | Data setting, display data of display area |
7 | Frame end | 1 | 7E |
Each byte contains 8 bits of data numbered 0-7, each of which may store one of 0 or 1. As shown in table 2, of two bytes (i.e., byte No. 1 and byte No. 2) in the display information for controlling the display state of the departure timer model and indicating the connection state of the interface unit device and the train automatic monitoring system, one byte (byte No. 1) includes two bits of data for indicating the brightness and the color of the font of the departure timer model, that is, two bits of data with numbers of 0 and 1, respectively, when the data in bit No. 0 is 0, the brightness of the departure timer is controlled to be 100%, and when the data in bit No. 0 is 1, the brightness of the departure timer is controlled to be 50%; when the data in the bit 1 is 0, the font color of the control departure timer is red, and when the data in the bit 1 is 1, the font color of the control departure timer is green, and the rest bits in the byte 1 are reserved bits. The other byte (byte 2) comprises 4 bits of data for respectively indicating the state of the train in the station, the advanced arrival information, the grouping information and the connection state between the automatic train monitoring system and the interface unit equipment, specifically, the bit 0 is used for controlling the display state of the train in the station, the display is closed when the data in the bit 0 is 0, and the display is opened when the data is 1, and it is understood that the display state of the train in the control station is only kept consistent with other items in the simulation system and is irrelevant to a departure timer; bits 1-3 and bit 7 are reserved bits; the bit 4 is used for storing advanced information, the data in the bit 4 is OFF when 0, namely no advanced information exists, and the data is ON when 1, namely advanced information exists; the number 5 bit is used to store the consist information of the inbound train, in an alternative embodiment of the invention, the data in the number 5 bit represents the 6 consist train when 0 and the 7 consist train when 1, it being understood that the data party in the number 5 bit is valid only when the data in the number 4 bit is 1, i.e., there is the advance inbound information; the number 6 bit is used for storing the connection state of the interface unit equipment and the automatic train monitoring system, when the data in the number 6 bit is 0, the connection establishment of the automatic train monitoring system and the interface unit equipment is indicated, and when the data in the number 6 bit is 1, the connection of the automatic train monitoring system and the interface unit equipment is indicated to be interfered.
Table 2 departure timer control byte table
The departure timer model can control its own display state according to information contained in bytes 1 and 2 in the display message. For example, when the data stored in byte 1 in the display information is 0 and the data stored in byte 2 is 31, the binary corresponding to hexadecimal number 0 is 00000000, i.e., the data stored in bits 0-7 of byte 1 are all 0; the binary digits corresponding to the hexadecimal digits 31 are 00110001,2 bytes, when the binary digits correspond to 8 bits in the data, the data are required to be in reverse order, namely, the data stored in the 0-7 bits in the 2 bytes are respectively 1, 0, 1, 0 and 0, and at the moment, the corresponding meaning of the display information is 100% brightness, red font display, in-station train state display starting, the train is about to get in into 7 groups, and the connection between the train automatic monitoring system and interface unit equipment is established.
The departure timer model can control its own display data according to information contained in bytes 3-5 in the display message. For example, when hexadecimal data stored in bytes 3-5 are respectively 30, 38 and 35, corresponding ascll codes are respectively 0, 8 and 5, and the departure timer model is displayed 085 in the departure timer display interface.
In a preferred embodiment of the present invention, the method for simulating a departure timer based on the simulation system further includes step S3, where the simulation system obtains diagnostic information generated by the departure timer model, and sends the diagnostic information to the interface unit device. It should be understood that there is no specific timing relationship between the step S3 and the steps S1 and S2.
Specifically, the departure timer model can generate diagnostic information, and the simulation system can acquire the diagnostic information and send the diagnostic information to the interface unit device, so that the train automatic monitoring system acquires the diagnostic information through the interface unit device, and determines a fault state of the departure timer based on the diagnostic information. In an alternative embodiment of the invention, the departure timer model can periodically send diagnostic information to the interface unit device at preset second time intervals, e.g. the second time intervals may be set to 30s, i.e. the departure timer model can periodically generate diagnostic information at intervals of 30s and send it to the interface unit device via the simulation system.
The diagnostic information includes information indicating a fault condition of the departure timer model. In an alternative embodiment of the invention, as shown in table 3, the diagnostic information is a data message containing 6 bytes numbered 0-5, wherein the two bytes numbered 1 and 5 are the frame header and frame trailer, respectively, the byte numbered 1 is used to store the module number (DTI as an integrated device reporting its status without further splitting into separate modules, so the module number of DTI is always 0), the two bytes numbered 2-3 are used to store the line number, and the byte numbered 4 is used to represent the internal failure status of the departure timer model.
Table 3 diagnostic data allocation table for departure timer
Bytes | Function of | Byte length | Remarks |
0 | Frame header | 1 | 7D |
1 | Module number | 1 | 0=DTI |
2-3 | Line number | 2 | Unused and not used |
4 | Internal failure | 1 | 0=normal, 1=failure |
5 | Frame end | 1 | 7E |
After the train automatic monitoring system obtains the diagnosis information through the interface unit equipment, whether the departure timer model has internal faults can be judged according to the data stored in the byte with the number of 4 in the diagnosis information.
In an optional embodiment of the present invention, before the step S3, the simulation system acquires the diagnostic information generated by the departure timer model and sends the diagnostic information to the interface unit device, the method further includes:
it is checked whether the communication connection between the interface unit device and the departure timer model is stable. By checking the steady state of the communication connection, the stability of the communication connection between the checking interface unit device and the departure timer model can be evaluated.
Specifically, checking whether the communication connection between the interface unit device and the departure timer model is stable or not includes: and in the third time interval above the current time, under the condition that the departure timer model receives at least one piece of display information, judging that the communication connection between the interface unit equipment and the departure timer model is stable. It should be appreciated that the third time interval should be equal to or longer than the first time interval described above, e.g. when the first time interval is 500ms, the third time interval may be set to 1000ms.
In an alternative embodiment of the present invention, in the step S1, after acquiring the display information sent by the automatic train monitoring system through the interface unit device, before inputting the display information into the departure timer model, the method further includes: and checking whether the communication connection between the automatic train monitoring system and the interface unit equipment is stable or not so as to evaluate the stability of the communication connection between the automatic train monitoring system and the interface unit equipment.
Checking whether the communication connection between the train automatic monitoring system and the interface unit equipment is stable or not, specifically comprising the following steps: and under the condition that the information for indicating the connection state of the interface unit device and the automatic train monitoring system accords with the preset normal connection condition (namely, when the data of the 6 th bit of the 2 nd byte in the table 2 is 0), judging that the connection between the automatic train monitoring system and the interface unit device is stable.
The departure timer simulation method based on the simulation system provided by the invention is specifically described in the following operation process of the departure timer model corresponding to the actual operation process of a plurality of simulated trains:
assuming A, B two stations, each of which has one DTI (corresponding to the departure timer model and departure timer display interface in the invention), both DTIs can perform data transmission with FEP, and the train runs from station a to station B.
(1) Train leaving station A
As shown in fig. 3 (TC 1 to TC5 each represent a track section number, and S3 and S4 represent signal lights), a train is about to be launched from station a.
If the FEP receives the departure information from the A station, the FEP will set the DTI of the A station to display "- -".
The display information of DTI sent from FEP to station a before the next train arrives at station is shown in table 4:
table 4 one of the output data allocation example tables of the departure timer
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 2D | 2D | 2D | XX | 7E |
The meaning is as follows: 100% brightness, red font showing ATS to FEP connection setup, DTI showing content "- -".
The data from FEP to station B DTI (i.e. about to get in if 6 consist trains) is shown in table 5:
table 5 second output data distribution example table of departure timer
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 11 | 2D | 2D | 2D | XX | 7E |
The meaning is as follows: 100% brightness, red font indicates that the train is about to come into station, the ATS to FEP connection is established, DTI indicates the content "- -".
The data from FEP to station B DTI (i.e. about to get in if 7 consist trains) is shown in table 6:
table 6 output data allocation example table three of departure timer:
bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 31 | 2D | 2D | 2D | XX | 7E |
The meaning is as follows: 100% brightness, red font indicates that the train is about to come into the stop, the ats to FEP connection is established, DTI indicates the content "- -".
(2) The train is stopped at station B
As shown in fig. 4 (TC 1 to TC5 each represent a track section number, and S3 and S4 represent signal lights), the train stops at station B.
The FEP sends the downtime to the DTI of the B station, which shows the actual downtime.
Suppose that the display information of DTI sent from FEP to station a is as shown in table 7:
table 7 output data allocation example table of departure timer four:
bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 30 | 38 | 35 | XX | 7E |
The meaning is as follows: 100% brightness, red font display, ATS to FEP connection setup, DTI display content "085".
(3) FEP reduces downtime
As shown in fig. 4, the train is in the process of stopping at station B.
The FEP internally reduces the downtime every second (also referred to as "downtime countdown"). Every 500ms, the FEP sends the calculated stop time to the DTI of the station B through a data message (namely display information), and the countdown is displayed in red font.
Suppose that the display information of DTI sent from FEP to station a is as shown in table 8:
table 8 output data allocation example table of departure timer five:
the meaning is as follows: 100% brightness, red font display, ATS to FEP connection setup, DTI display content "053".
(4) When the stop time of the train at the station is 0
As shown in fig. 4, when the train is stopped at station B and the stop time reaches 0, the FEP sends a stop time message "0" to station B DTI.
The display information of the DTI sent from the FEP to the a station is shown in table 9:
table 9 six of the output data allocation example table of departure timer
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 30 | 30 | 30 | XX | 7E |
The meaning is as follows: 100% brightness, red font display, ATS to FEP connection setup, DTI display content "000".
(5) After the stop time of the train at the station is 0
As shown in fig. 4, after the train stops at station B and the stop time is 0, the FEP will count to 999 and send a stop time message to station B DTI. Once the stop time reaches "999", the positive timer should stop.
Suppose that the display information of DTI sent from FEP to station a is as shown in table 10:
table 10 seven of the output data Allocation example tables of departure timers
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 30 | 30 | 30 | XX | 7E |
The meaning is as follows: 100% brightness, red font display, ATS to FEP connection setup, DTI display content "000".
(6) Train leaving station B
As shown in fig. 4, if the FEP receives the B-station departure message, the FEP will set the B-station DTI to "-".
The display information of the DTI sent from the FEP to the a station is shown in table 11:
table 11 eight of the output data distribution example table of departure timer
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 2D | 2D | 2D | XX | 7E |
The meaning is as follows: 100% brightness, red font showing ATS to FEP connection setup, DTI showing content "- -".
(7) The train arrives at the station B and is set to jump and stop
As shown in fig. 4, the train arrives at station B and sets a skip stop command, and DTI will display "SKP".
The display information of the DTI sent from the FEP to the a station is shown in table 12:
table 12 nine of the output data distribution example tables of departure timers
Bytes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Hexadecimal data | 7D | 0 | 01 | 53 | 4B | 50 | XX | 7E |
The meaning is as follows: 100% brightness, red font display, ATS to FEP connection setup, DTI display content "SKP".
In summary, the departure timer simulation method based on the simulation system is applied to the simulation system, and the display information sent by the train automatic monitoring system through the interface unit device is acquired and input into the departure timer model; the departure timer model is built in a simulation system; the display information comprises a display strategy and display data; controlling the display state of the departure timer display interface according to the display strategy in the display information by using the departure timer model, and displaying the display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system; by implementing the method, the simulation system is used for simulating the real departure timer, and compared with the method for testing by using the real departure timer, the method not only reduces the testing cost, but also improves the testing efficiency.
Based on the same inventive thought, the invention also provides a departure timer simulation device based on the simulation system, the departure timer simulation device based on the simulation system provided by the invention is described below, and the departure timer simulation device based on the simulation system described below and the departure timer simulation method based on the simulation system described above can be correspondingly referred to each other.
As shown in fig. 5, the departure timer simulation device based on the simulation system provided by the invention comprises a construction module 51, an information transmission module 52 and a processing module 53.
Wherein, the construction module 51 is used for constructing a departure timer model and a departure timer display interface;
the information transmission module 52 is used for acquiring display information sent by the train automatic monitoring system through the interface unit device and inputting the display information into the departure timer model; the display information includes a display policy and display data. In an alternative embodiment of the present invention, the information transmission module 52 is further configured to obtain the diagnostic information generated by the departure timer model, and send the diagnostic information to the interface unit device, so that the automatic train monitoring system obtains the diagnostic information through the interface unit device, and determines the fault state of the departure timer based on the diagnostic information.
The processing module 53 is configured to control a display state of a departure timer display interface according to a display policy in the display information by using the departure timer model, and display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system.
In yet another 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, is implemented to perform the method for simulating a departure timer based on a simulation system provided by the above methods, the method comprising: acquiring display information sent by the train automatic monitoring system through interface unit equipment, and inputting the display information into a departure timer model; the departure timer model is built in the simulation system; the display information comprises a display strategy and display data;
controlling the display state of a departure timer display interface according to a display strategy in the display information by using the departure timer model, and displaying display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. The departure timer simulation method based on the simulation system is applied to the simulation system and is characterized by comprising the following steps:
acquiring display information sent by the train automatic monitoring system through interface unit equipment, and inputting the display information into a departure timer model; the departure timer model is built in the simulation system; the display information comprises a display strategy and display data;
controlling the display state of a departure timer display interface according to a display strategy in the display information by using the departure timer model, and displaying display data in the display information on the departure timer display interface by using the departure timer model; the departure timer display interface is built in the simulation system.
2. The simulation system-based departure timer simulation method according to claim 1, further comprising:
and acquiring diagnosis information generated by the departure timer model, and transmitting the diagnosis information to the interface unit equipment, so that the train automatic monitoring system acquires the diagnosis information through the interface unit equipment, and determining the fault state of the departure timer based on the diagnosis information.
3. The simulation system-based departure timer simulation method according to claim 2, wherein the display information and the diagnostic information are both data messages, the display information including information for indicating a connection state of the interface unit device with the train automatic monitoring system; the diagnostic information includes information indicating a fault condition of the departure timer model.
4. The simulation system-based departure timer simulation method according to claim 2, wherein the display information is periodically transmitted to the simulation system by the interface unit device at a preset first time interval; the diagnostic information is periodically generated by the departure timer model at preset second time intervals and transmitted to the interface unit device through the simulation system.
5. The simulation system-based departure timer simulation method according to claim 2, further comprising, before transmitting the diagnostic information to the interface unit device: checking whether a communication connection between the interface unit device and the departure timer model is stable.
6. The method for simulating a departure timer based on a simulation system according to claim 5, wherein,
checking whether the communication connection between the interface unit device and the departure timer model is stable or not, specifically comprising: in a third time interval above the current time, under the condition that the departure timer model receives at least one piece of display information, judging that the communication connection between the interface unit equipment and the departure timer model is stable; the third time interval is equal to or longer than the first time interval.
7. The simulation system-based departure timer simulation method according to claim 3, wherein after acquiring the display information transmitted from the train automatic monitoring system through the interface unit device, before inputting the display information into the departure timer model, further comprising:
checking whether the communication connection between the train automatic monitoring system and the interface unit equipment is stable.
8. The simulation system-based departure timer simulation method according to claim 7, wherein the checking whether the communication connection between the train automatic monitoring system and the interface unit device is stable, in particular, comprises:
and under the condition that the information for indicating the connection state of the interface unit equipment and the automatic train monitoring system accords with a preset normal connection condition, judging that the connection between the automatic train monitoring system and the interface unit equipment is stable.
9. The simulation system-based departure timer simulation method according to any one of claims 1-8, wherein there are multiple independent threads in the simulation system for receiving display information sent by different interface unit devices.
10. A departure timer simulation device based on a simulation system, comprising: the system comprises a construction module, an information transmission module and a processing module;
the construction module is used for constructing a departure timer model and a departure timer display interface;
the information transmission module is used for acquiring display information sent by the train automatic monitoring system through interface unit equipment and inputting the display information into the departure timer model; the display information comprises a display strategy and display data;
the processing module is used for controlling the display state of a departure timer display interface according to the display strategy in the display information by utilizing the departure timer model, and displaying the display data in the display information on the departure timer display interface by utilizing the departure timer model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310722850.1A CN116910985A (en) | 2023-06-16 | 2023-06-16 | Departure timer simulation method and device based on simulation system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310722850.1A CN116910985A (en) | 2023-06-16 | 2023-06-16 | Departure timer simulation method and device based on simulation system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116910985A true CN116910985A (en) | 2023-10-20 |
Family
ID=88365836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310722850.1A Pending CN116910985A (en) | 2023-06-16 | 2023-06-16 | Departure timer simulation method and device based on simulation system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116910985A (en) |
-
2023
- 2023-06-16 CN CN202310722850.1A patent/CN116910985A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108400908B (en) | Automatic checking and accepting method for monitoring information of transformer substation | |
US7328369B2 (en) | Inherently fail safe processing or control apparatus | |
CA1078965A (en) | Remote controlled test interface unit | |
CN110471834A (en) | Credit card analog detection method and relevant device under more transaction channels | |
US20070179733A1 (en) | Methods and apparatus for testing a link between chips | |
CN114417768B (en) | Digital-analog hybrid simulation method and system of Ethernet chip | |
CN102882704A (en) | Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade) | |
CN111682993A (en) | Automobile CAN bus signal simulation method and device | |
JP2012076626A (en) | Simulator for test for electronic interlocking device, and simulation method for electronic interlocking device | |
CN104484257B (en) | A kind of general 1553B bus communication emulation test system and method | |
CN116910985A (en) | Departure timer simulation method and device based on simulation system and storage medium | |
CN107976598B (en) | Method for testing loss of SOE signal after line fault of intelligent substation | |
CN115657646A (en) | Test method and device of CAN controller | |
CN114879529A (en) | Simulation test method and system of PIS | |
CN107357692B (en) | Hot backup system and processing method for player | |
CN108802514B (en) | Ground test system and method based on ring bus network | |
US3816645A (en) | Communications system | |
CN114066187B (en) | Simulation method of power grid real-time data simulator | |
FI87617C (en) | FOERFARANDE FOER TESTNING AV EN ANSLUTNINGSENHET | |
CN103412992B (en) | A kind of random screening dispatching method for emulation testing | |
CN110962883A (en) | Data communication method and device for railway vehicle and related equipment | |
CN110034988B (en) | Data transmission method and device, storage medium and processor | |
JPS6184936A (en) | Remote supervisory control system | |
CN108984382B (en) | Nuclear power station simulator I/O channel fault simulation method and device | |
CN206557598U (en) | A kind of electric locomotive in-circuit diagnostic system device |
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 |