CN114595347A - Station diagram display method, apparatus and storage medium - Google Patents

Station diagram display method, apparatus and storage medium Download PDF

Info

Publication number
CN114595347A
CN114595347A CN202011402262.2A CN202011402262A CN114595347A CN 114595347 A CN114595347 A CN 114595347A CN 202011402262 A CN202011402262 A CN 202011402262A CN 114595347 A CN114595347 A CN 114595347A
Authority
CN
China
Prior art keywords
target
primitive
station
array
yard
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
CN202011402262.2A
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 CN202011402262.2A priority Critical patent/CN114595347A/en
Publication of CN114595347A publication Critical patent/CN114595347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a station yard graph display method, equipment and a storage medium. The method comprises the following steps: receiving station yard state data; searching a target primitive array corresponding to the target equipment identifier based on the station field state data in at least one primitive array stored when the initial station field graph is drawn; determining a position identifier corresponding to the index of each target station site primitive object in the target primitive array as a target position identifier; and updating the state value of the target station field primitive object corresponding to each target position identifier into a target state value, and displaying the updated station field graph. The problems of large data storage capacity and processing capacity and low display efficiency in the station yard graph display process are solved.

Description

Station diagram display method, apparatus and storage medium
Technical Field
The application relates to the technical field of rail transit, in particular to a station yard graph display method, equipment and a storage medium.
Background
With the development of wireless communication technology, train operation control systems based on communication technology are increasingly widely applied to the technical field of rail transit.
The train operation control system usually displays the arrangement condition of the all-track line, the train position information, the train number information and the state of the trackside equipment in real time by using a station yard graph displayed on a display device, so that train operation monitoring personnel can know the current railway operation condition in real time.
In the related art, the display of the station yard graph mainly comprises the steps of drawing an initial station yard graph and updating the initial station yard graph to obtain a real-time station yard graph, and because a large amount of repeated data is stored in a primitive representation file of each station yard primitive object in the drawing process of the station yard graph, the data size analyzed in the drawing process of the initial station yard graph is large, and the drawing efficiency of the initial station yard graph is influenced; in the updating process of the station yard graph, the data amount processed in the query process of the target station yard primitive object needing state updating is large, delay with large error occurs in the updating of the station yard graph, and the efficiency of the display process of the station yard graph is low.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a yard graph display method, apparatus and storage medium that can provide efficient yard graph display.
In a first aspect, the present application provides a method for displaying a station primitive, including:
receiving station field state data, wherein the station field state data comprises a target equipment identifier, an index of at least one target station field primitive object corresponding to the target equipment and a target state value of each target station field primitive object;
in at least one primitive array stored when the initial station yard graph is drawn, searching a target primitive array corresponding to the target equipment identification based on the station yard state data, wherein the primitive array is used for storing at least one station yard primitive object corresponding to the equipment;
determining a position identifier corresponding to the index of each target station site primitive object in the target primitive array as a target position identifier;
updating the state value of a target station primitive object corresponding to each target position mark into a target state value, and displaying an updated station picture, wherein an initial station picture is generated by drawing based on a pre-generated primitive representation file, each station primitive object in the initial station picture is stored according to a preset code bit sequence, and the code bits are position marks of data storage positions in a primitive array for storing the station primitive objects;
in a second aspect, the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor being adapted to perform the method of the first aspect when executing the program;
in a third aspect, the present application provides a computer readable storage medium having stored thereon a computer program for implementing the method of the first aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the station yard graph display method, the equipment and the storage medium provided by the embodiment of the application can receive station yard state data; searching a target primitive array corresponding to the target equipment identifier based on the station field state data in at least one primitive array stored when the initial station field graph is drawn; determining a position identifier corresponding to the index of each target station site primitive object in the target primitive array as a target position identifier; and updating the state value of the target station field primitive object corresponding to each target position identifier into a target state value, and displaying the updated station field graph. The storage position of the target station site primitive object in the array is quickly determined through the target equipment identification and the index of the target station site primitive object, the state of the station site graph is updated, the data storage amount and the processing amount in the display process of the station site graph are reduced, the data storage space is saved, and the updating efficiency of the station site graph is improved
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic structural diagram of a train operation control system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a station yard graph display method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another yard graph display method according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another receiving yard status data according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the present invention 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.
In the modern rail transit transportation process, the Train operation Control System can supervise, Control and adjust the states of the Train operation speed, the braking mode and the like according to the objective conditions and the actual conditions of Train operation, and plays an important role in the safe operation of trains, for example, a common Train operation Control System can be a Communication Based Train automatic Control System (CBTC).
The Train operation control system generally includes an Automatic Train Supervision (ATS) subsystem of a dispatching center, a plurality of Zone Controllers (ZCs), and a plurality of computer interlocking Zone Subsystems (CIs) corresponding to each Zone Controller, wherein one of the computer interlocking Zone subsystems corresponds to one interlocking Zone, which is a location Zone monitored by the computer interlocking Zone subsystem, and the ATS subsystem, the CI subsystem and the ZCs are connected through a wired or wireless network.
The system comprises a train automatic monitoring subsystem, a dispatcher workstation, an application server and a control system, wherein the train automatic monitoring subsystem is usually arranged in a specific area of the whole line, is also called as the dispatcher workstation and is used for enabling the dispatcher to monitor signal equipment and train operation information of the whole line or part of the area of train operation, checking a train operation diagram and managing a warehouse entry and exit plan; and the display device is used for displaying a station yard graph, the station yard graph is a simulation state graph of train operation lines and train operation, the station yard graph is generated by arranging and combining a plurality of station yard primitive objects, the station yard primitive objects are graphical icons of lines, trackside devices, station stations along the lines, trains and other station yard devices in rail transit, and the trackside devices can be signal machines, turnouts, sections, shielded gates, (active/passive) transponders and the like. Wherein the objects point to devices having the same properties or characteristics. For example, the yard graphic element includes a device such as a traffic signal, the traffic signal 1 is an object of the device such as the traffic signal, and the traffic signal 2 is an object of the device such as the traffic signal.
The computer interlocking area subsystems mainly comprise substation ATS equipment, an interlocking upper computer and local workstation equipment, wherein each computer interlocking area subsystem corresponds to one local workstation, the substation ATS equipment is used for being linked with an application server of a dispatching center, station field state data are obtained and displayed on the local workstation equipment in a station field diagram mode, and the interlocking upper computer is used for obtaining and monitoring state information of the trackside equipment corresponding to the interlocking areas.
And the zone controller is used for carrying out station yard state data interaction with an automatic train operation system, an automatic train protection system, a CI subsystem and an ATS subsystem carried on the train in real time.
In the related art, in the actual running process of a train, a station yard map of at least one train running line path area monitored by the train running control system needs to be displayed on a display device, and in a general situation, a plurality of area controllers can be arranged in the line path area, and each area controller can perform information interaction with computer interlocking area subsystems of a plurality of interlocking areas monitored by the area controller.
In the process of drawing the station yard graph, for a train running line comprising a multi-zone controller and a plurality of interlocks, in the existing process of developing a graphic element representation file, attribute information of an interlocking zone and a zone controller to which the station yard graphic element object belongs is stored for each station yard graphic element object, the stored data volume is large, in the process of drawing the station yard graph, position information of the station yard graphic element object in a generated station yard graph needs to be determined based on the attribute information of the interlocking zone and the zone controller corresponding to each station yard graphic element object, the data volume needing to be analyzed and stored is large, the storage space is occupied, and the drawing efficiency of the station yard graph is low. The primitive representation file is an attribute information file for storing the yard primitives required by drawing a yard graph of a certain train operation line, the attribute information comprises drawing attributes and yard attributes, wherein the yard attributes can comprise information such as identification of a zone controller, identification of an interlocking zone, identification of a yard primitive, type of the yard primitive, coordinates of the yard primitive and the like, and the drawing attributes can be information such as direction of the yard primitive, size of the yard primitive, color of the yard primitive and the like.
Furthermore, in the real-time refreshing process of the station yard graph, substation ATS equipment in the local workstation acquires the state data of the station yard equipment from the application server, and when the application server fails, the substation ATS equipment can only be switched to an interlocking upper computer to monitor the state of the station yard equipment, so that the state data of the station yard equipment cannot be acquired, and the station yard graph cannot be updated; in the process of updating the station yard graph, after the state data of the station yard equipment is acquired, the acquired state data is generally required to be compared with the stored station yard primitive object attribute, interlocking area attribute and area controller attribute of each station yard primitive object one by one, the target station yard primitive object is determined to be updated in state, the updated station yard graph is displayed, however, the amount of transmitted data is large, the system is jammed, the time for inquiring the target station yard primitive object is consumed, and the real-time performance of updating the station yard graph is influenced.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a train operation control system provided in an embodiment of the present application, including an ATS subsystem, a zone controller 1021, and a computer interlocking zone subsystem, where the ATS subsystem includes a dispatcher workstation device 1011, an application server 1012, and a display device 1013, and the computer interlocking zone subsystem 103 includes a local workstation device 1031 and a display device 1032, and the display device 1011 and the display device 1032 are used for displaying a station yard map.
It should be noted that, in the train operation control system provided in this embodiment of the present application, in the local workstation, the functions of the substation ATS device and the interlock upper computer in the prior art are integrated into one local workstation device, and the local workstation device can implement two monitoring modes, namely, automatic train monitoring and non-stop monitoring, where the automatic train monitoring refers to a monitoring mode in which the train operation control system automatically implements train operation command control, train operation monitoring and management, and the non-stop monitoring refers to an operation mode in which a train is independently managed by a station attendant control computer interlocking area subsystem. The local workstation device may be connected to the application server and the trackside device, and receive the station yard state data sent by the application server, or directly obtain the station yard state information of the trackside device corresponding to the interlocking area where the local workstation device is located, for example, the local workstation device and the interlocking device may be connected through an RSSP-1 communication interface.
The embodiment of the application provides a method for displaying a station yard graph, which can be applied to a train operation control system shown in fig. 1, and as shown in fig. 2, the method includes:
step 201, receiving station yard state data.
In the embodiment of the application, the initial station yard graph is generated by drawing the initial station yard graph based on the pre-generated primitive representation file, and when the train running state of any train running line needs to be monitored, the in-situ workstation equipment and the dispatcher workstation equipment in the train running control system can read and analyze the primitive representation file to draw the initial station yard graph, and the initial station yard graph is displayed in the display equipment of each workstation.
Further, when the state of the station yard equipment changes, the workstation equipment may receive the station yard state data, update the initial station yard graph corresponding to the train line based on the received station yard state data, and display the updated station yard graph. The station field state data represents state data of at least one target primitive object needing state updating in an initial station field graph corresponding to a train operation line monitored by a train operation control system, each station field primitive object in the initial station field graph is stored according to a preset code bit sequence, and the code bit is a position identifier of a data storage position in a primitive array used for storing the station field primitive object.
It should be noted that, in this embodiment of the present application, the primitive array is configured to store at least one yard primitive object corresponding to a device, where the device may be a zone controller or a trackside device corresponding to an interlocking zone, where when the device is a zone controller, the at least one yard primitive object corresponding to the device is a logical zone object, the primitive array configured to store the at least one logical zone object corresponding to the zone controller is a logical zone array, the logical zone is each sub-zone of a physical zone of a train operation line monitored by the zone controller, the physical zone is a position interval between two adjacent axle counters of the train operation line, and one physical zone may be divided into a plurality of logical zones; when the device is a trackside device corresponding to the interlocking area, the at least one yard primitive object corresponding to the interlocking area is a trackside device object, and the primitive array for storing the at least one trackside device object corresponding to the interlocking area is a trackside device array, for example, the trackside device may be a signal machine, a platform, a turnout, a shield door, or the like, and the trackside device array may be a signal machine array, a platform array, or the like.
Optionally, as shown in fig. 3, in this embodiment of the application, the process of drawing the initial station yard graph based on the pre-generated metafile may be:
and 2011, analyzing the primitive representation file to obtain the station yard parameters.
In this embodiment of the present application, the yard parameters include a plurality of area controller parameters and a plurality of interlocking area parameters, the area controller parameters include a correspondence between an index of an area controller and an identifier of the area controller, and the interlocking area parameters include a correspondence between an index of an interlocking area and an identifier of an interlocking area.
In this step, the process of analyzing the primitive presentation file to obtain the parameters of the zone controller includes: initializing a counter variable to be 0, obtaining a zone controller identifier every time of analysis, converting the current variable of the counter to an index determined as the zone controller, storing the corresponding relation between the zone controller identifier and the index of the zone controller in a cache array, adding 1 to the counter variable until all zone controller identifiers in the pixel representation file are traversed, and determining a plurality of zone controller parameters.
The process of analyzing the primitive representation file to obtain the parameters of the interlocking area further comprises the following steps: initializing a counter variable to be 0, acquiring an interlocking area identifier every time analysis is carried out, converting a current variable of the counter into an index determined as an interlocking area, storing a corresponding relation between the interlocking area identifier and the index of the interlocking area, adding 1 to the counter variable until all the interlocking area identifiers in the primitive representation file are traversed, and determining a plurality of interlocking area parameters.
Step 2012, create tree nodes.
In the application embodiment, the tree nodes include a region controller node, interlocking region nodes and trackside device nodes, wherein the region controller node is a father node of a plurality of interlocking region nodes corresponding to the region controller node, and each interlocking region node is a father node of a plurality of trackside device nodes corresponding to the interlocking region nodes.
In this step, a corresponding tree node may be established for each area controller included in the train operation control system, for example, a certain train operation line is provided with 5 area controllers, each area controller is connected with a computer interlocking area subsystem of 3 interlocking areas, and each interlocking area is provided with different trackside equipment. 5 tree nodes can be created, wherein in each tree node, the area controller node is a father node of 3 interlocking areas corresponding to the area controller node, and each interlocking area node is a father node of a plurality of trackside equipment nodes corresponding to the interlocking area nodes.
And 2013, assigning the station yard parameters to the attributes of the corresponding nodes in the tree nodes.
In this step, the process of assigning the yard parameters to the attributes of the corresponding nodes in the tree nodes may include: and assigning the area controller parameters to the attributes of the corresponding area controller nodes, and assigning the interlocking area parameters to the attributes of the corresponding interlocking area nodes.
And step 2014, storing the monitoring objects of the nodes into the primitive array corresponding to the nodes according to the preset code bit sequence, and generating and displaying the initial station field graph.
In this embodiment, the monitoring objects of the nodes include a plurality of logical segment objects corresponding to each zone controller node, and the monitoring objects of the nodes further include a plurality of trackside equipment objects corresponding to each interlocking zone node. When the initial station yard graph is drawn, the station yard primitive objects can be stored through the tree data structure, so that the occupation of storage space can be reduced, and the storage position of the target station yard primitive object with the state value to be updated can be conveniently searched in the updating process of the station yard graph.
In this step, the monitoring objects of the nodes are stored into the primitive array corresponding to the nodes according to the predefined code bit sequence, which may include the following two optional implementations:
in an alternative implementation, when the monitoring object of the node includes a plurality of logical zone objects corresponding to each zone controller node, the process may include: determining a plurality of logical zone object identifiers corresponding to each zone controller node; searching a position identifier corresponding to each logic section object identifier in a preset first code bit sequence; and storing each logical zone object into a logical zone array, wherein the data storage position corresponds to the position identification. The first code bit is a position mark of a data storage position in a logic section array, the sequence of the first code bit is obtained by analyzing a graphic element representation file, and the logic section array is used for storing a plurality of logic section objects monitored by a region controller.
In another alternative implementation, when the monitoring object of the node includes a plurality of trackside device objects corresponding to each interlocking area node, the process may include: determining a plurality of trackside equipment object identifications corresponding to each interlocking area node; searching a position identifier corresponding to each trackside equipment object identifier in a second code bit sequence specified in advance; and storing each trackside equipment object into a trackside equipment array, wherein the data storage position corresponds to the position identification. And the second code bit is a position identification set of a data storage position in a trackside equipment array, and the trackside equipment array is used for storing a plurality of trackside equipment objects monitored by the interlocking area. And the second code bit sequence is obtained by analyzing the graphic element representation file. For example, when the trackside device array is the traffic signal array, the traffic signal array is used for storing a plurality of traffic signals monitored in the interlocking area, and when the trackside device array is the station array, the station array is used for storing a plurality of stations monitored in the interlocking area.
It can be understood that, in the embodiment of the present application, the update process of the station yard graph may be performed on the dispatcher device of the dispatcher workstation, or may be performed on the local workstation device of the local workstation, and after any workstation device receives the station yard state data, the station yard graph is updated, and the updated station yard graph needs to be synchronized with other workstation devices. The station yard state data comprises a target device identifier, an index of at least one target station yard primitive object corresponding to the target device and a target state value corresponding to each target station yard primitive object, wherein the index of the target station yard primitive object is used for indicating the storage position of the target station yard primitive object needing state updating in the primitive array.
In this step, the process of receiving the yard status data may have the following two optional implementations:
in an alternative implementation, the yard status data may be the yard status data of the interlocked area, and as shown in fig. 4, the process of receiving the yard status data may be: when the current workstation equipment is dispatcher workstation equipment, the dispatcher workstation equipment receives station yard state data sent by an application server;
when the current workstation equipment is the local workstation equipment, judging whether the local workstation equipment and the application server establish communication connection; if not, establishing the connection between the local workstation equipment and the trackside equipment, and acquiring station yard state data of the trackside equipment; if the interlocking area identification is established, the local workstation equipment judges whether the obtained interlocking area identification is stored or not;
if the storage is carried out, when the interlocking area corresponding to the interlocking area identification is determined to be a non-main interlocking area, receiving station yard state data sent by an application server, or when the interlocking area corresponding to the interlocking area identification is determined to be a main interlocking area and the control mode of the on-site workstation equipment is an automatic train monitoring mode, receiving station yard state data sent by the application server, otherwise, establishing connection with the trackside equipment by the on-site workstation equipment to obtain the station yard state data of the trackside equipment;
and if not, discarding the station yard state data.
It should be noted that, in the embodiment of the present application, the primary interlocking area is an interlocking area corresponding to the local workstation, and the non-primary interlocking area is an interlocking area adjacent to the primary interlocking area. The station yard state data can be directly exchanged between the local workstation equipment and the application server or the trackside equipment, the acquisition flexibility of the station yard state data is improved, and the situation that the station yard graph cannot be updated is prevented.
In another alternative implementation, the yard status data may be the yard status data of the zone controller, and the process of receiving the yard status data may be: the method comprises the steps that station field state data sent by an application server are received by station equipment, wherein the station equipment is in-place station equipment or dispatcher station equipment; analyzing the station yard state data to obtain a zone controller identifier;
judging whether the workstation equipment stores the area controller identification;
if not, discarding the station yard state data; and if the target state value is stored, extracting the index of at least one target station site primitive object and the target state value corresponding to the target station site primitive object.
Step 202, in at least one primitive array stored when the initial station yard graph is drawn, a target primitive array corresponding to the target equipment identifier is searched based on the station yard state data.
In this step, in at least one primitive array stored when the initial site map is drawn, the process of searching for the target primitive array corresponding to the target device identifier based on the site state data may have the following two optional implementations:
in an alternative implementation, when the target device is a zone controller, the process includes: analyzing the station yard state data, and acquiring a zone controller identifier, an index of at least one target station yard primitive object corresponding to zone control and a target state value of each target station yard primitive object; determining the index of a target zone controller corresponding to the zone controller identifier contained in the station yard state data according to the corresponding relation between the zone controller identifier and the index of the zone controller stored when the initial station yard graph is drawn; and determining a logic section array corresponding to the index of the target zone controller as a target logic section array from at least one logic section array generated when the initial site map is drawn according to the index of the target zone controller. The target site primitive object is a logical zone object, and the target state value may be an indication value of an occupied state of a logical zone, for example, the target state value may be 1, which indicates that the state of the target logical zone is an occupied state, and the target state value may be 0, which indicates that the state of the target logical zone is an unoccupied state.
In another alternative implementation, when the target device is a trackside device corresponding to the interlock area, the process includes: analyzing the station yard state data to obtain an interlocking area identifier corresponding to the trackside equipment, an index of a target station yard primitive object corresponding to the interlocking area and a target state value of the target station yard primitive object; and according to the corresponding relation between the interlocking area identification and the index of the interlocking area, which are stored when the initial station yard graph is drawn, determining the index of the target interlocking area corresponding to the interlocking area identification contained in the station yard state data, and according to the index of the target interlocking area, determining the trackside equipment array corresponding to the index of the target interlocking area from at least one trackside equipment array generated when the initial station yard graph is drawn as the target trackside equipment array. And the destination station yard primitive object is a trackside equipment object.
And step 203, determining a position identifier corresponding to the index of each target station yard primitive object in the target primitive array as a target position identifier.
In this step, the process of determining the position identifier corresponding to the index of each target site primitive object in the target primitive array as the target position identifier may be:
if the target site primitive object is a logical zone object and the target primitive array is a target logical zone array, the process may include: and determining a position identifier corresponding to the index of each logical zone object in the target logical zone array by using the index of each logical zone object, and determining the position identifier as the target position identifier.
If the destination yard primitive object is a trackside equipment object and the destination primitive array is a destination trackside equipment array, the process may include: and determining a position identifier corresponding to the index of the trackside equipment object in the target trackside equipment array by using the index of each trackside equipment object, and determining the position identifier as the target position identifier.
And 204, updating the state value of the target station yard primitive object corresponding to each target position identifier into a target state value, and displaying the updated station yard graph.
In this step, because the destination yard primitive object is a logical zone object or a trackside device object, the state value of the destination yard primitive object corresponding to each destination location identifier is updated to a destination state value, and the process of displaying the updated yard graph may have the following two optional implementation manners:
in an alternative implementation, the process may include: and determining a target state value of the logical zone object corresponding to the index of the logical zone object, updating the state value of the logical zone object associated with the target position identifier corresponding to the index of the logical zone object to the target state value, and displaying the updated station map.
In another alternative implementation, the process may include: and determining a target state value of the trackside equipment object corresponding to the index of the trackside equipment object, updating the state value of the trackside equipment object associated with the target position identification corresponding to the index of the trackside equipment object to a target state value, and displaying the updated station yard graph.
In an example, when an initial station yard graph is drawn, it is assumed that the first interlocking area a is analyzed in a certain area controller, the index of the interlocking area a is determined to be 1, the correspondence between the interlocking area a and the index 1 of the interlocking area is stored, the second interlocking area B is analyzed, the index of the interlocking area B is determined to be 2, and the correspondence between the interlocking area B and the index 2 of the interlocking area is stored.
Establishing two tree structures, storing a plurality of annunciators corresponding to the interlocking area A in an annunciator array a of the interlocking area A according to a second code bit sequence, storing a plurality of annunciators corresponding to the interlocking area B in an annunciator array B of the interlocking area B according to the second code bit sequence, and generating and displaying an initial station field diagram.
After receiving the station yard state data sent by the application server, the dispatcher workstation equipment analyzes the station yard state data to obtain an interlocking area identifier A corresponding to the trackside equipment, and determines that the interlocking area identifier A is stored in the dispatcher workstation. Further, determining that the index of the target traffic signal object in the yard state data is a1 and the target state value of the target traffic signal, determining that the index 1 of the interlocking area corresponding to the target interlocking area a is the index of the target interlocking area according to the correspondence between the interlocking area identifier and the index of the interlocking area stored when the initial yard graph is drawn, determining that the target traffic signal array a of the interlocking area corresponding to the index 1 of the target interlocking area from the plurality of traffic signal arrays a and b of the two interlocking areas generated when the initial yard graph is drawn according to the index 1 of the target interlocking area, searching for the position identifier corresponding to the index a1 of the target traffic signal primitive in the target traffic signal array a as the target position identifier, updating the state value of the target traffic signal corresponding to the target position identifier to the target state value of the target traffic signal corresponding to the index a1 of the target traffic signal, and displaying the updated station yard graph.
To sum up, the station yard graph display method provided by the embodiment of the present application can receive station yard state data; searching a target primitive array corresponding to the target equipment identifier based on the station field state data in at least one primitive array stored when the initial station field graph is drawn; determining a position identifier corresponding to the index of each target station site primitive object in the target primitive array as a target position identifier; and updating the state value of the target station yard primitive object corresponding to each target position identifier into a target state value, and displaying the updated station yard graph, so that the data storage capacity and the processing capacity in the station yard graph display process are reduced, the data storage space is saved, and the update efficiency of the station yard graph is improved.
Fig. 5 is a diagram illustrating a computer system according to an exemplary embodiment, which includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for system operation are also stored. The CPU401, ROM402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 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 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. Drivers are also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, the processes described above in fig. 2-4 may be implemented as computer software programs, according to embodiments of the present application. For example, various 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 a Central Processing Unit (CPU) 401.
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 methods, apparatus, 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 includes a receiving module, a determining module, and an updating module. Where the names of these units or modules do not in some cases constitute a limitation of the unit or module itself, for example, the receiving module may also be described as a "receiving module for receiving yard status data".
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 an electronic device, cause the electronic device to implement the method for displaying the yard primitives as described in the above embodiments.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. 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 method for displaying a yard graph, comprising:
receiving station yard state data, wherein the station yard state data comprises a target device identifier, an index of at least one target station yard primitive object corresponding to a target device and a target state value of each target station yard primitive object;
searching a target primitive array corresponding to the target equipment identifier based on the station field state data in at least one primitive array stored when an initial station field graph is drawn, wherein the primitive array is used for storing at least one station field primitive object corresponding to equipment;
determining a position identifier corresponding to the index of each target station site primitive object in the target primitive array as a target position identifier;
and updating the state value of the target station field primitive object corresponding to each target position identifier into a target state value, and displaying an updated station field graph, wherein the initial station field graph is generated based on the drawing of a pre-generated primitive representation file, each station field primitive object in the initial station field graph is stored according to a preset code bit sequence, and the code bits are position identifiers of data storage positions in a primitive array for storing the station field primitive objects.
2. The method of claim 1, wherein when the target device is a zone controller, the primitive array is a logical sector array, and wherein finding the target primitive array corresponding to the device identification based on the site status data in at least one primitive array stored when drawing an initial site map comprises:
analyzing the station yard state data to obtain a zone controller identifier, an index of at least one target station yard primitive object corresponding to the zone controller and a target state value of each target station yard primitive object;
determining the index of a target zone controller corresponding to the zone controller identifier contained in the station yard state data according to the corresponding relation between the zone controller identifier stored when the initial station yard graph is drawn and the index of the zone controller;
and determining the logic zone array corresponding to the index of the target zone controller as a target logic zone array from at least one logic zone array generated when the initial station field graph is drawn according to the index of the target zone controller.
3. The method of claim 1, wherein when the target device is a trackside device corresponding to an interlock zone, the primitive array is a trackside device array, and wherein searching the at least one primitive array stored in drawing the initial yard graph for the target primitive array corresponding to the target device identification based on the yard state data comprises:
analyzing the station yard state data to obtain an interlocking area identifier corresponding to the trackside equipment, an index of at least one target station yard primitive object corresponding to the interlocking area and a target state value of the target station yard primitive object;
determining an index of a target interlocking area corresponding to an interlocking area identifier contained in the station yard state data according to a corresponding relation between the interlocking area identifier and an index of the interlocking area stored when an initial station yard graph is drawn;
and determining the trackside equipment array corresponding to the index of the target interlocking area as a target trackside equipment array from at least one trackside equipment array generated in the process of drawing an initial station yard graph according to the index of the target interlocking area.
4. The method of claim 1, wherein rendering the initial site map based on the pre-generated metafile comprises:
analyzing the primitive representation file to obtain station field parameters, wherein the station field parameters comprise a plurality of regional controller parameters and a plurality of interlocking region parameters, the regional controller parameters comprise the corresponding relation between the index of the regional controller and the regional controller identifier, and the interlocking region parameters comprise the corresponding relation between the index of the interlocking region and the interlocking region identifier;
creating tree nodes, wherein the tree nodes comprise area controller nodes, interlocking area nodes and trackside equipment nodes, the area controller nodes are father nodes of a plurality of interlocking area nodes corresponding to the area controller nodes, and each interlocking area node is a father node of a plurality of trackside equipment nodes corresponding to the interlocking area nodes;
assigning the station yard parameters to the attributes of the corresponding nodes in the tree nodes;
and storing the monitoring objects of the nodes into the primitive array corresponding to the nodes according to a preset code bit sequence, and generating and displaying an initial station field graph.
5. The method of claim 4, wherein assigning the yard parameters to attributes of corresponding ones of the tree nodes comprises:
assigning the regional controller parameters to the attributes of the corresponding regional controller nodes;
and assigning the interlocking area parameters to the attributes of the corresponding interlocking area nodes.
6. The method of claim 4, wherein the monitoring objects of the nodes comprise a plurality of logical zone objects corresponding to each zone controller node, and wherein storing the monitoring objects of the nodes into the primitive array corresponding to the nodes according to a predefined code bit sequence comprises:
determining a plurality of logical zone object identifiers corresponding to each of the zone controller nodes;
searching a position identifier corresponding to each logic section object identifier in a first code bit sequence specified in advance;
and storing each logic section object into a logic section array, wherein the data storage position corresponds to the position identification.
7. The method of claim 4, wherein the monitoring objects of the nodes comprise a plurality of trackside device objects corresponding to each interlocking area node, and wherein storing the monitoring objects of the nodes into the primitive arrays corresponding to the nodes according to a predefined code bit sequence comprises:
determining a plurality of trackside equipment object identifications corresponding to each interlocking area node;
searching a position identifier corresponding to each trackside equipment object identifier in a preset second code bit sequence;
and storing each trackside equipment object into a trackside equipment array, wherein the data storage position corresponds to the position identification.
8. The method of claim 1, wherein the yard status data is yard status data for an interlocked zone, and wherein receiving the yard status data comprises:
when the current workstation equipment is dispatcher workstation equipment, the dispatcher workstation equipment receives station yard state data sent by an application server;
when the current workstation equipment is the local workstation equipment, judging whether the local workstation equipment and the application server establish communication connection;
if not, establishing the connection between the local workstation equipment and the trackside equipment, and acquiring the station yard state data of the trackside equipment;
if so, the local workstation equipment judges whether to store the acquired interlocking area identifier;
if the storage is carried out, when the interlocking area corresponding to the interlocking area identification is determined to be a non-main interlocking area, receiving station yard state data sent by the application server, or when the interlocking area corresponding to the interlocking area identification is determined to be a main interlocking area and the control mode of the on-site workstation equipment is an automatic train monitoring mode, receiving station yard state data sent by the application server, otherwise, establishing connection with the trackside equipment by the on-site workstation equipment, and obtaining the station yard state data of the trackside equipment;
and if not, discarding the station yard state data.
9. A computer device, characterized in that the computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor being adapted to perform the method according to any of claims 1-8 when executing the program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon for implementing the method according to any one of claims 1-8.
CN202011402262.2A 2020-12-04 2020-12-04 Station diagram display method, apparatus and storage medium Pending CN114595347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011402262.2A CN114595347A (en) 2020-12-04 2020-12-04 Station diagram display method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011402262.2A CN114595347A (en) 2020-12-04 2020-12-04 Station diagram display method, apparatus and storage medium

Publications (1)

Publication Number Publication Date
CN114595347A true CN114595347A (en) 2022-06-07

Family

ID=81813147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011402262.2A Pending CN114595347A (en) 2020-12-04 2020-12-04 Station diagram display method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN114595347A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794852A (en) * 2023-01-29 2023-03-14 北京全路通信信号研究设计院集团有限公司 Station yard graph display method, device, equipment and storage medium
CN115953502A (en) * 2023-03-10 2023-04-11 北京全路通信信号研究设计院集团有限公司 Reachability route display method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794852A (en) * 2023-01-29 2023-03-14 北京全路通信信号研究设计院集团有限公司 Station yard graph display method, device, equipment and storage medium
CN115953502A (en) * 2023-03-10 2023-04-11 北京全路通信信号研究设计院集团有限公司 Reachability route display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Corman et al. Closing the loop in real-time railway control: Framework design and impacts on operations
CN114595347A (en) Station diagram display method, apparatus and storage medium
CN111044060B (en) Multi-vehicle path planning method and multi-vehicle path planning system
CN110837539B (en) Railway electronic map construction method and electronic map position matching method
US9576505B2 (en) Reorganizing display of a railway timetable diagram
KR102042413B1 (en) Network optimization system and nethod of public transportation
US20240067240A1 (en) Ctc3.0-based locomotive decoupling and coupling plan automatic generation and execution method
CN107730873A (en) A kind of emphasis commerial vehicle abnormal behaviour monitoring method and system
RU2685368C1 (en) Device for construction of forecast energy-saving train schedules
Liu et al. Data analytics approach for train timetable performance measures using automatic train supervision data
CN107705545A (en) A kind of emphasis commerial vehicle tracing point compensation process and system
CN113428194A (en) Automatic distribution method and device of train tracks, electronic equipment and medium
CN111469891B (en) Driving route planning processing method and device, computer device and storage medium
CN113779340A (en) Train operation diagram generation method and system, electronic device and storage medium
Cui et al. Multi-scale simulation in railway planning and operation
CN115837928A (en) Regional multi-line scheduling system based on cloud architecture and train thereof
CN114162184B (en) Train operation plan creating method, device, equipment and storage medium
CN111196292B (en) Train position drawing method, device, equipment and computer readable storage medium
CN114398475A (en) Data processing method, data processing device, electronic equipment and storage medium
CN115049756A (en) Method, device and medium for converting route map into plan map
CN110920697B (en) Automatic generation method and device for ATS station yard graph
Nguyen et al. Application of fuzzy theory for identifying the required availability of an autonomous localization unit in European Train Control System
CN116176661B (en) Interval train number tracking method and system
CN110942622A (en) Parking lot planning method based on real-time operation big data of parking lot
CN115167344B (en) High-speed rail train control ground signal control equipment supervision test method, system and application

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