CN112849219A - Train tracking display method, device, equipment and storage medium - Google Patents

Train tracking display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112849219A
CN112849219A CN201911194286.0A CN201911194286A CN112849219A CN 112849219 A CN112849219 A CN 112849219A CN 201911194286 A CN201911194286 A CN 201911194286A CN 112849219 A CN112849219 A CN 112849219A
Authority
CN
China
Prior art keywords
train
number window
window template
train number
tracked
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
CN201911194286.0A
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201911194286.0A priority Critical patent/CN112849219A/en
Publication of CN112849219A publication Critical patent/CN112849219A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or vehicle train for signalling purposes ; On-board control or communication systems
    • B61L15/009On-board display devices

Abstract

The application discloses a train tracking display method, a train tracking display device, train tracking display equipment and a train tracking display storage medium. The method comprises the following steps: acquiring running information of the tracked train, wherein the running information comprises a logical zone identifier of a track logical zone where the tracked train is located currently; determining a train number window template corresponding to the logical zone identifier from a display model according to the logical zone identifier, wherein the display model comprises a track, the track comprises a plurality of track logical zones, and each track logical zone at least corresponds to a train number window template of a tracked train; and displaying the train number window template corresponding to the logical section identifier, and hiding the displayed train number window template when the tracked train drives away from the track logical section corresponding to the logical section identifier. According to the technical scheme provided by the embodiment of the application, the method improves the real-time performance and the fluency of train tracking display.

Description

Train tracking display method, device, equipment and storage medium
Technical Field
The present application relates generally to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for train tracking display.
Background
In general, a plurality of trains run in a railway network and the speed of the trains is high, so that the trains need to be tracked and displayed in real time to determine the positions, the distances between the trains and the like, and further, the safe running of each train is ensured.
Currently, the tracking display of the train is generally realized by the following method: acquiring the position of a train on a track; and drawing the train number window template at the position, erasing the drawn train number window template when the train leaves the position, and redrawing the train number window template at a new position, thereby realizing the tracking display of the train.
However, since it takes a certain amount of time to draw and erase the train, drawing the train number window template after acquiring the position of the train not only causes a delay in display but also causes a display screen to be easily stuck.
Disclosure of Invention
In view of the problems that the train tracking display is delayed and the jamming is easy to occur in the prior art, the application provides a train tracking display method, device, equipment and storage medium, and the real-time performance and the fluency of the train tracking display can be improved.
In a first aspect, an embodiment of the present application provides a train tracking display method, where the method includes:
acquiring running information of the tracked train, wherein the running information comprises a logical zone identifier of a track logical zone where the tracked train is located currently;
determining a train number window template corresponding to the logical zone identifier from a display model according to the logical zone identifier, wherein the display model comprises a track, the track comprises a plurality of track logical zones, and each track logical zone at least corresponds to a train number window template of a tracked train;
and displaying the train number window template corresponding to the logical section identifier, and hiding the displayed train number window template when the tracked train drives away from the track logical section corresponding to the logical section identifier.
Optionally, the train number window template includes a plurality of objects, and each object corresponds to one piece of operation information; displaying the train number window template corresponding to the logic section identification, including:
determining an object corresponding to the operation information of the tracked train;
and displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
Optionally, the train number window template is created by the following method:
drawing the graph of the train number window template by using basic primitives, wherein one basic primitive represents one object of the train number window template;
configuring the attribute of the graph;
for each elementary primitive, the following operations are performed:
selecting and combining partial attributes to obtain a formula of a basic primitive; and configuring a triggering condition of a formula to obtain a train number window template, wherein the triggering condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train comprises the triggering condition.
Optionally, displaying the vehicle number window template corresponding to the logical segment identifier includes:
determining a trigger condition included in the operation information of the tracked train;
obtaining an object and a formula of a train number window template corresponding to the determined trigger condition;
and executing the acquired formula on the acquired object to display the train number window.
In a second aspect, an embodiment of the present application provides a train tracking display device, including:
the acquisition module is used for acquiring the running information of the tracked train, wherein the running information comprises the logical zone identification of the track logical zone where the tracked train is located currently;
the determining module is used for determining a train number window template corresponding to the logical zone identifier from a display model according to the logical zone identifier, the display model comprises a track, the track comprises a plurality of track logical zones, and each track logical zone at least corresponds to the train number window template of one tracked train;
and the display hiding module is used for displaying the train number window template corresponding to the logical section identifier and hiding the displayed train number window template when the tracked train drives away from the track logical section corresponding to the logical section identifier.
Optionally, the train number window template includes a plurality of objects, and each object corresponds to one piece of operation information; the display hiding module is further configured to:
determining an object corresponding to the operation information of the tracked train;
and displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
Optionally, the train number window template is created by the following method:
drawing the graph of the train number window template by using basic primitives, wherein one basic primitive represents one object of the train number window template;
configuring the attribute of the graph;
for each elementary primitive, the following operations are performed:
selecting and combining partial attributes to obtain a formula of a basic primitive; and configuring a triggering condition of a formula to obtain a train number window template, wherein the triggering condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train comprises the triggering condition.
Optionally, the display hiding module is further configured to:
determining a trigger condition included in the operation information of the tracked train;
obtaining an object and a formula of a train number window template corresponding to the determined trigger condition;
and executing the acquired formula on the acquired object to display the train number window.
In a third aspect, an embodiment of the present application provides a computer device, including:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the first aspects described above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, the computer program being configured to implement the method of the first aspect.
The train tracking display method provided by the embodiment of the application corresponds to each track logical zone by a train number window template, displays the train number window template corresponding to the track logical zone when a tracked train runs to the track logical zone, and hides the train number window template when the tracked train runs away from the track logical zone; therefore, the train number window template is not required to be drawn or erased after the position information of the tracked train is acquired, the problems of display lag and blockage in the prior art are solved, and the effects of improving display real-time performance and image fluency are achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments or the prior art are briefly introduced below, and it is apparent that the drawings are only for the purpose of illustrating a preferred implementation method and are not to be considered as limiting the present application. It should be further noted that, for the convenience of description, only the relevant portions of the present application, not all of them, are shown in the drawings.
FIG. 1 is a diagram illustrating an environment architecture for implementing a train tracking display method according to an embodiment of the present application;
FIG. 2 is a flow chart of a train tracking display method according to an embodiment of the present application;
FIG. 3 is a schematic view of a vehicle side window template according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for creating a license plate window template according to an embodiment of the present application;
FIG. 5 is a block diagram of a train tracking display device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer system for a train tracking display according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be noted that, for the convenience of description, only the portions relevant to the application are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is an architecture diagram of an implementation environment of a train tracking display according to an embodiment of the present application. As shown in fig. 1, the implementation environment architecture includes: a terminal 101 and an automatic train monitoring system 102.
The terminal 101 may be used to install a development platform, develop a program for Train tracking display through the development platform, and the program may be applied to an Automatic Train monitoring System 102 (hereinafter, referred to as "Automatic Train Supervision System"), control data interaction between the terminal 101 and the ATS102 through the program, for example, when track information changes, obtain changed track information from the ATS102, and obtain running information of a Train from the ATS102 in real time. Further, through the development platform, a train plug-in can be developed, which is used for acquiring required data from each storage position and sending the data to the display model so as to display the data through the display model.
The display model is also provided in the terminal 101, and is used to display various data that needs to be displayed in train tracking. For example, when a real-time tracking display of a train is performed, a station diagram (mainly displaying a track and a train number window template of the tracked train) is displayed through a display model; for example, before train tracking is performed, a user may draw a station yard map through the display model, for example, by dragging a train number window template, a template of a train track, and the like into the display model, so as to draw the station yard map. The yard graph includes all track information related to the tracked train, for example, the yard graph includes train number window templates, train tracks, semaphores, platform templates, and the like.
The terminal 101 is further provided with a platform database corresponding to the development platform, and configured to store static data and real-time data acquired from the ATS102, where the static data includes track information and data of a train number window template, and the real-time data includes train operation information.
In addition, the terminal 101 stores station map data (the station map data may be a DRP format file or other format file) which is displayed as a station map in the display model when read. Here, the yard graph data is stored in advance, and when a certain train needs to be tracked and displayed in real time, the train plug-in directly acquires the yard graph data and displays the data through the display model.
In addition, it should be noted that the track information and the train number window template are not absolute static data, but are changed relatively less frequently with respect to the train operation information. For example, a track is newly added, and the newly added track information also needs to be added to the platform database.
The type of the terminal 101 includes, but is not limited to, a smart phone, a tablet computer, a television, a notebook computer, a desktop computer, and the like, which is not particularly limited in this embodiment.
The ATS102 is configured to receive train operation information sent by a Vehicle-mounted Controller (VOBC), for example, a logical section identifier of a track logical section where a train is currently located, a train identifier, a train operation direction, a train door state of the train, and send the received train operation information to the terminal 101. The ATS102 is further configured to receive track information, such as coordinate positions of a traffic signal, a switch, and a track, sent by a Computer Interlock (CI), and send the received track information to the terminal 101.
In addition, the ATS102 is further configured with a system database corresponding to the ATS, for storing the corresponding relationship between the track logical segment identifier and the train number window template identifier, so as to be timely obtained when needed.
The terminal 101 establishes a communication connection with the ATS102 through a wired or wireless network.
Fig. 2 is a flowchart illustrating a train tracking display method according to an embodiment of the present application. The method shown in fig. 2 may be performed by the terminal 101 in fig. 1, and further may be performed by a train plugin, as shown in fig. 2, the method includes the following steps:
step 201, obtaining the operation information of the tracked train, where the operation information includes the logical zone identifier of the track logical zone where the tracked train is currently located.
The tracked train may be a train or a plurality of trains. The present embodiment is described by taking a train as an example, and the other cases are similar to this.
The running information of the train further comprises train identification, running direction, door state, jump stop state, activation end state, alarm state, running mode and the like of the train.
Wherein, the track logical zone is a part of the composition track, i.e. one track comprises a plurality of track logical zones. Each track logical section corresponds to a logical section identifier, and the logical section identifier is used for uniquely identifying a section of the track logical section.
Further, a track logical section corresponds to at least one train number window template of a tracked train, because when a track runs only one train at any time, one track logical section corresponds to one tracked train, and when a track logical section runs different trains at different times, in this case, one track logical section corresponds to multiple trains.
The operation information of the tracked train is obtained through a VOBC (video object controller) loaded in the train, after the VOBC obtains the operation information of the tracked train, the operation information is sent to an ATS (automatic train control), and the terminal obtains the operation information from the ATS.
Optionally, the terminal may store the acquired operation information in the platform database so as to acquire the operation information in time.
Step 202, determining a train number window template corresponding to the logical section identifier from the display model according to the logical section identifier.
The display model may display the station yard graph as required, for example, a track where the tracked train is located, a plurality of track logical zones included in the track, a logical zone identifier of each track logical zone, and a train number window template of the tracked train corresponding to each track logical zone are displayed. Thus, after the train number window template corresponding to the logical section identifier is determined in the display model, the determined train number window template can be displayed through the display model.
The train number window template is used for representing a tracked train when the train tracking display is carried out, and comprises a plurality of objects, and each object corresponds to one piece of operation information of the tracked train. The vehicle number window template shown in fig. 3 includes a first triangle 1, a second triangle 2, a third triangle 3, a first rectangle 4, a second rectangle 5, the letters "MM CCCC", the letters H, S, D, E, and the like. The first triangle 1 represents that a train runs rightwards, the second triangle 2 represents that the train runs leftwards, the third triangle 3 represents that a plurality of trains are overlapped (the plurality of trains run in the same track logic section), the first rectangle 4 represents that a right side activation end is activated, the second rectangle 5 represents that a left side activation end is activated, a letter MM CCCC is a train identification, a letter H represents a car-buckled state, a letter S represents a jump-stop state, a letter D represents that a car door is opened, and a letter E represents an emergency stop state.
Alternatively, referring to fig. 4, the train number window template may be created by:
step 2021, drawing the graph of the vehicle number window template by using the basic primitives, wherein one basic primitive represents one object of the vehicle number window template.
Illustratively, the vehicle order window template is shown in fig. 3, wherein the first triangle 1, the second triangle 2, the third triangle 3, the first rectangle 4, the second rectangle 5, the letter "MM CCCC", and the letter H, S, D, E are all one basic primitive of the vehicle order window template.
Step 2022, configure the attributes of the graph.
The attributes are specific to the vehicle number window template and comprise colors, display states, flashing states, running states and the like.
Step 2023, for each base primitive, perform the following operations: selecting and combining partial attributes to obtain a formula of a basic primitive; and configuring a triggering condition of a formula to obtain a train number window template, wherein the triggering condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train comprises the triggering condition.
Illustratively, taking the train number window template shown in fig. 3 as an example, for the basic primitive of the first triangle 1, the attributes selected for the basic primitive include color, display status and operation status, that is, the formula includes color, display status and operation status, and the trigger condition configured for the formula is that when the tracked train runs to the right, the first triangle 1 is displayed as green. Thus, when the running information of the tracked train includes the running information of "running right", the first triangle 1 in the train number window template is in a display state and is displayed in green.
As can be seen from the above process of establishing the train number window template, when one train number window template is established, it is equivalent to establishing a corresponding relationship among each basic primitive (i.e., object), recipe, and trigger condition (one kind of operation information) included in the train number window template, and recording the corresponding relationship as a first corresponding relationship. Thus, when the operation information of the tracked train is acquired, the corresponding basic primitive and the formula of the basic primitive can be determined according to the acquired operation information so as to trigger the formula of the corresponding basic primitive (or object).
Alternatively, step 202 may be implemented by:
firstly, establishing a corresponding relation between a logic section identifier and a train number window template identifier in advance, and recording the corresponding relation as a second corresponding relation;
secondly, searching a logic section identifier which is the same as the obtained logic section identifier of the tracked train in a second corresponding relation;
thirdly, acquiring a train number window template identifier corresponding to the same logic section identifier;
and fourthly, determining the train number window template corresponding to the train number window template identification obtained in the third step in the display model, wherein the train number window template determined in the display model is the train number window template required to be determined in the step 202.
Optionally, the correspondence between the logical segment identifier and the train number window template identifier may be stored by the following method:
step one, setting a logical section identifier for each track logical section, and setting a train number window template identifier for each train number window template;
in a second step, for each track, the following operations are performed: drawing a track logic section, a logic section identifier, a train number window template and a train number window template identifier which correspond to the display model on the display model so as to establish a corresponding relation between the two;
and thirdly, storing the corresponding relation between the logic section identification and the train number window template identification into a system database.
In addition, it should be noted that, when implementing train tracking display, only the correspondence between the logical segment identifier and the train number window template identifier is needed, so that when storing the correspondence, only the correspondence between the logical segment identifier and the train number window template identifier needs to be stored.
Step 203, displaying the train number window template corresponding to the logical zone identifier, and hiding the displayed train number window template when the tracked train drives away from the track logical zone corresponding to the logical zone identifier.
Optionally, displaying the train number window template corresponding to the logical segment identifier may be implemented by the following method:
firstly, determining an object corresponding to the running information of the tracked train;
and secondly, displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
Optionally, when the train number window template is the train number window template shown in fig. 3, the train number window template corresponding to the logical segment identifier may also be displayed by the following method:
the method comprises the steps of firstly, determining a trigger condition included in operation information of a tracked train;
secondly, acquiring an object and a formula of the train number window template corresponding to the determined trigger condition;
and thirdly, executing the acquired formula on the acquired object to display the train number window.
The running information comprises at least one triggering condition, so that when the running information of the train is acquired, the corresponding triggering condition can be obtained; and because the corresponding relation among the triggering condition, the object and the formula is stored in the first corresponding relation, the object and the formula corresponding to the triggering condition can be searched from the first corresponding relation, so that the corresponding formula can be executed.
Illustratively, the operation information of the tracked train comprises a right operation and a right activation end opening, and then the corresponding objects are a first triangle 1 and a first rectangle 4; when the vehicle number window template is displayed, the displayed object comprises a first triangle 1 and a first rectangle 4, namely, the display of the vehicle number window template is realized. Further, when the first triangle 1 and the first rectangle 4 are displayed, the formulas of the first triangle 1 and the first rectangle 4 need to be acquired, and according to the formula display, if the formula of the acquired first triangle 1 is display and green, and the formula of the acquired first rectangle 4 is display and blue, the corresponding formula is executed, that is, the first triangle is displayed as green, and the first rectangle is displayed as blue, that is, the display of the train number window is realized.
In addition, it should be noted that, after initialization, each train number window template is in a hidden state, only when a tracked train runs to a certain track logical zone, the corresponding train number window template is displayed, and when the tracked train runs away from the track logical zone, the displayed train number window template is hidden, so that a worker can monitor the position of the tracked train.
In summary, in the train tracking display method provided in the embodiment of the present application, each track logical zone corresponds to one train number window template, and when a tracked train runs to the track logical zone, the train number window template corresponding to the track logical zone is displayed, and when the tracked train runs away from the track logical zone, the train number window template is hidden; therefore, the train number window template is not required to be drawn or erased after the position information of the tracked train is acquired, the problems of display lag and blockage in the prior art are solved, and the effects of improving display real-time performance and image fluency are achieved.
The embodiments in this specification are described in a progressive manner, and similar parts between the various embodiments are referred to each other. The examples below each step focus on the specific method below that step. The above-described embodiments are merely illustrative, and the specific examples are only illustrative of the present application, and those skilled in the art can make several improvements and modifications without departing from the principle described in the examples of the present application, and these improvements should be construed as the scope of the present application.
Fig. 5 is a block diagram of a train tracking display device according to an embodiment of the present application. As shown in fig. 5, the apparatus includes:
an obtaining module 501, configured to obtain operation information of a tracked train, where the operation information includes a logical zone identifier of a track logical zone where the tracked train is currently located;
a determining module 502, configured to determine, according to the logical zone identifier, a train number window template corresponding to the logical zone identifier from a display model, where the display model includes a track, the track includes a plurality of track logical zones, and each track logical zone corresponds to at least one train number window template of a tracked train;
and a display hiding module 503, configured to display the train number window template corresponding to the logical segment identifier, and hide the displayed train number window template when the tracked train drives away from the track logical segment corresponding to the logical segment identifier.
Optionally, the train number window template includes a plurality of objects, and each object corresponds to one piece of operation information; the display hiding module is further configured to:
determining an object corresponding to the operation information of the tracked train;
and displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
Optionally, the train number window template is created by the following method:
drawing the graph of the train number window template by using basic primitives, wherein one basic primitive represents one object of the train number window template;
configuring the attribute of the graph;
for each elementary primitive, the following operations are performed:
selecting and combining partial attributes to obtain a formula of a basic primitive; and configuring a triggering condition of a formula to obtain a train number window template, wherein the triggering condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train comprises the triggering condition.
Optionally, the display hiding module is further configured to:
determining a trigger condition included in the operation information of the tracked train;
obtaining an object and a formula of a train number window template corresponding to the determined trigger condition;
and executing the acquired formula on the acquired object to display the train number window.
In addition, please refer to the method embodiment for related contents in the device embodiment, which are not described herein again.
In summary, the train tracking display device provided in the embodiment of the present application corresponds to one train number window template for each track logical zone, displays the train number window template corresponding to the track logical zone when the tracked train runs to the track logical zone, and hides the train number window template when the tracked train runs away from the track logical zone; therefore, the train number window template is not required to be drawn or erased after the position information of the tracked train is acquired, the problems of display lag and blockage in the prior art are solved, and the effects of improving display real-time performance and image fluency are achieved.
Fig. 6 is a schematic structural diagram of a computer system 600 according to an embodiment of the present application, which includes a Central Processing Unit (CPU)601 that can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for system operation are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drives are also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, the processes described by the flowcharts according to the embodiments of the present application may be implemented as computer software programs. For example, method embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves. The described units or modules may also be provided in a processor, and may be described as: a processor comprises an acquisition module, a determination module and a display hiding module. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the train tracing display method as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 1: step 201, obtaining operation information of a tracked train, wherein the operation information comprises a logical zone identifier of a track logical zone where the tracked train is located currently; step 202, determining a train number window template corresponding to the logical section identifier from the display model according to the logical section identifier; step 203, displaying the train number window template corresponding to the logical zone identifier, and hiding the displayed train number window template when the tracked train drives away from the track logical zone corresponding to the logical zone identifier.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware.
To sum up, the computer system or the computer readable medium for displaying train tracking provided in the embodiment of the present application corresponds to one train number window template for each track logical segment, displays the train number window template corresponding to the track logical segment when a tracked train runs to the track logical segment, and hides the train number window template when the tracked train runs away from the track logical segment; therefore, the train number window template is not required to be drawn or erased after the position information of the tracked train is acquired, the problems of display lag and blockage in the prior art are solved, and the effects of improving display real-time performance and image fluency are achieved.
The foregoing is considered as illustrative only of the preferred embodiments of the invention and illustrative only of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the application referred to in the present application is not limited to the embodiments with a particular combination of the above-mentioned features, but also encompasses other embodiments with any combination of the above-mentioned features or their equivalents without departing from the scope of the application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A train tracking display method is characterized by comprising the following steps:
acquiring operation information of a tracked train, wherein the operation information comprises a logical section identifier of a track logical section where the tracked train is located currently;
determining a train number window template corresponding to the logical zone identifier from a display model according to the logical zone identifier, wherein the display model comprises a track, the track comprises a plurality of track logical zones, and each track logical zone at least corresponds to a train number window template of a tracked train;
and displaying the train number window template corresponding to the logical section identification, and hiding the displayed train number window template when the tracked train drives away from the track logical section corresponding to the logical section identification.
2. The train tracking display method according to claim 1, wherein the train number window template comprises a plurality of objects, and each object corresponds to one piece of operation information; then the displaying the train number window template corresponding to the logical section identifier includes:
determining an object corresponding to the operation information of the tracked train;
and displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
3. The train tracing display method according to claim 1, wherein the train number window template is created by:
drawing the graph of the train number window template by using basic primitives, wherein one basic primitive represents one object of the train number window template;
configuring the attribute of the graph;
for each of the base primitives:
selecting and combining part of the attributes to obtain a formula of the basic primitive; configuring a trigger condition of the formula to obtain the train number window template, wherein the trigger condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train includes the trigger condition.
4. The train tracking display method according to claim 3, wherein the displaying the train number window template corresponding to the logical segment identifier comprises:
determining a trigger condition included in the operation information of the tracked train;
obtaining the object and the formula of the train number window template corresponding to the determined trigger condition;
and executing the acquired formula on the acquired object to display the train number window.
5. An apparatus for train tracking display, the apparatus comprising:
the system comprises an acquisition module, a tracking module and a control module, wherein the acquisition module is used for acquiring the operation information of a tracked train, and the operation information comprises the logical zone identification of the track logical zone where the tracked train is located;
a determining module, configured to determine, according to the logical segment identifier, a train number window template corresponding to the logical segment identifier from a display model, where the display model includes a track, the track includes a plurality of track logical segments, and each track logical segment corresponds to at least one train number window template of a tracked train;
and the display hiding module is used for displaying the train number window template corresponding to the logical section identifier and hiding the displayed train number window template when the tracked train drives away from the track logical section corresponding to the logical section identifier.
6. The train tracking display device of claim 5, wherein the train number window template comprises a plurality of objects, each of the objects corresponding to one of the operation information; the display hiding module is further configured to:
determining an object corresponding to the operation information of the tracked train;
and displaying the determined object in the train number window template corresponding to the logical section identifier so as to display the train number window template.
7. The train tracking display device of claim 5, wherein the train number window template is created by:
drawing the graph of the train number window template by using basic primitives, wherein one basic primitive represents one object of the train number window template;
configuring the attribute of the graph;
for each of the base primitives:
selecting and combining part of the attributes to obtain a formula of the basic primitive; configuring a trigger condition of the formula to obtain the train number window template, wherein the trigger condition is one of the operation information of the tracked train and is used for executing the corresponding formula when the operation information of the tracked train includes the trigger condition.
8. The train tracking display device of claim 7, wherein the display hiding module is further configured to:
determining a trigger condition included in the operation information of the tracked train;
obtaining the object and the formula of the train number window template corresponding to the determined trigger condition;
and executing the acquired formula on the acquired object to display the train number window.
9. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4.
10. A computer-readable storage medium, having stored thereon a computer program for:
the computer program, when executed by a processor, implements the method of any one of claims 1-4.
CN201911194286.0A 2019-11-28 2019-11-28 Train tracking display method, device, equipment and storage medium Pending CN112849219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911194286.0A CN112849219A (en) 2019-11-28 2019-11-28 Train tracking display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911194286.0A CN112849219A (en) 2019-11-28 2019-11-28 Train tracking display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112849219A true CN112849219A (en) 2021-05-28

Family

ID=75995816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911194286.0A Pending CN112849219A (en) 2019-11-28 2019-11-28 Train tracking display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112849219A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005008032A (en) * 2003-06-19 2005-01-13 Hitachi Ltd Method and device for supporting data input
CN108874493A (en) * 2018-06-20 2018-11-23 青岛海信网络科技股份有限公司 A kind of ATS method for showing interface and device based on comprehensive monitoring platform
CN109849974A (en) * 2018-12-27 2019-06-07 交控科技股份有限公司 Quick positioning search method for refreshing and device based on rail traffic yard figure
CN109910956A (en) * 2019-03-07 2019-06-21 北京全路通信信号研究设计院集团有限公司 A kind of expression of train number window and method for tracing and its system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005008032A (en) * 2003-06-19 2005-01-13 Hitachi Ltd Method and device for supporting data input
CN108874493A (en) * 2018-06-20 2018-11-23 青岛海信网络科技股份有限公司 A kind of ATS method for showing interface and device based on comprehensive monitoring platform
CN109849974A (en) * 2018-12-27 2019-06-07 交控科技股份有限公司 Quick positioning search method for refreshing and device based on rail traffic yard figure
CN109910956A (en) * 2019-03-07 2019-06-21 北京全路通信信号研究设计院集团有限公司 A kind of expression of train number window and method for tracing and its system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
中铁电气化局集团有限公司: "《城市轨道交通设备系统综述》", 31 January 2012, 中国铁道出版社 *
聂曦瑶: "MACS_ATS图形界面软件平台的设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN109509260B (en) Labeling method, equipment and readable medium of dynamic obstacle point cloud
CN108632530B (en) Data processing method, device and equipment for vehicle damage assessment, client and electronic equipment
US20220277481A1 (en) Panoramic video processing method and apparatus, and storage medium
CA2850540A1 (en) Portable device to manage and control an air traffic control training system
WO2022267279A1 (en) Data annotation method and apparatus, and electronic device and storage medium
CN110390829A (en) The method and device of traffic lights identification
CN111464858A (en) Video playing method and device
CN116934769A (en) Interactive segmentation model training method, annotation data generation method and equipment
CN112896151A (en) Parking mode determination method and device, electronic equipment and storage medium
CN105227882B (en) A kind of display methods and corresponding intrument
CN108470443A (en) A kind of duty goal method and apparatus of traffic accident
KR20190104850A (en) Display method, device, appliance and medium for car mark in navigation
CN111338672A (en) Method, electronic device, and computer storage medium for optimizing application updates
US20210088348A1 (en) Method and apparatus for acquiring information
CN112102648B (en) Vacant parking space pushing method, device, equipment and storage medium
CN111401229B (en) Automatic labeling method and device for small visual targets and electronic equipment
CN112849219A (en) Train tracking display method, device, equipment and storage medium
Leibner et al. GERALD: A novel dataset for the detection of German mainline railway signals
CN111611175A (en) Automatic driving software development method, server side and client side
US20170315629A1 (en) Laser pointer emulation via a mobile device
CN113361059A (en) Vehicle simulation scene generation method and related equipment
CN113946729B (en) Data processing method and device for vehicle, electronic equipment and medium
CN116342773A (en) Automatic driving information visualization method and device based on rendering engine and vehicle
CN104298426A (en) Method and device for displaying terminal application program APP information and mobile terminal
CN115061386A (en) Intelligent driving automatic simulation test system and related equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528

RJ01 Rejection of invention patent application after publication