Station yard map display method, device and storage medium
By using primitive arrays and tree data structures in the station map display method, the problem of large data volume in the process of drawing and updating station maps is solved, thereby improving display efficiency and update speed.
Patent Information
- Application Number
- CN202011402262.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-04
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2040-12-04
AI Technical Summary
In existing technologies, the drawing and updating of station maps involves a large amount of data, resulting in low efficiency, and delays and errors are prone to occur during the updating process.
By using a primitive array to store station primitive objects when drawing the initial station map, and quickly finding and updating the position and status values of target primitive objects based on station status data, and by using a tree data structure to store station primitive objects, the amount of data storage and processing is reduced.
It improved the efficiency of station map updates, reduced data storage space usage, reduced system lag, and enabled faster station map display and updates.
Smart Images

Figure CN114595347B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of rail transit, in particular to a station yard diagram display method, device and storage medium. BACKGROUND
[0002] With the development of wireless communication technology, train operation control systems based on communication technology are gradually widely used in the field of rail transit technology.
[0003] The train operation control system usually displays the arrangement of the entire track line, train position information, train number information and the state of the trackside equipment in real time on the station yard diagram displayed on the display device, so that the train operation monitoring personnel can understand the current railway operation status in real time.
[0004] In the related art, the display of the station yard diagram mainly includes drawing an initial station yard diagram and updating the initial station yard diagram to obtain a real-time station yard diagram. Since a large amount of repetitive data is stored in the graphic element representation file of each station yard graphic element object in the drawing process of the station yard diagram, the amount of data parsed in the process of drawing the initial station yard diagram is large, which affects the drawing efficiency of the initial station yard diagram. In the updating process of the station yard diagram, the amount of data processed in the query process of the target station yard graphic element object that needs to be updated is large, and the updating of the station yard diagram has a large error delay, so the display process of the station yard diagram is inefficient. SUMMARY
[0005] In view of the above defects or deficiencies in the prior art, it is desirable to provide a station yard diagram display method, device and storage medium that can improve the efficiency of station yard diagram display.
[0006] In a first aspect, the present application provides a station yard graphic element display method, comprising:
[0007] receiving station yard state data, the station yard state data containing a target device identifier, an index of at least one target station yard graphic element object corresponding to the target device, and a target state value of each target station yard graphic element object;
[0008] In the at least one graphic element array stored when drawing the initial station yard diagram, the target graphic element array corresponding to the target device identifier is found based on the station yard state data, and the graphic element array is used to store at least one station yard graphic element object corresponding to the device;
[0009] The position identifier corresponding to each target station yard graphic element object in the target graphic element array is determined as a target position identifier;
[0010] update the state value of each target station yard graph element object corresponding to the target position identifier to a target state value, display the updated station yard graph, the initial station yard graph is generated based on a pre-generated element representation file, and each station yard graph element object in the initial station yard graph is stored in a code bit order, the code bit is a position identifier of a data storage position in an element array used to store the station yard graph element object;
[0011] In a second aspect, the present application provides a computer device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor is configured to implement the method of the first aspect when executing the program.
[0012] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program for implementing the method of the first aspect.
[0013] The technical scheme provided by the embodiments of the present application can include the following beneficial effects:
[0014] The station yard graph display method, device and storage medium provided by the embodiments of the present application can receive station yard state data, find a target element array corresponding to a target device identifier based on the station yard state data in at least one element array stored when drawing an initial station yard graph, determine a target position identifier corresponding to the index of each target station yard graph element object in the target element array, update the state value of each target station yard graph element object corresponding to the target position identifier to a target state value, and display the updated station yard graph. By using the target device identifier and the index of the target station yard graph element object, the storage position of the target station yard graph element object in the array is quickly determined, the station yard graph state is updated, the data storage amount and processing amount in the station yard graph display process are reduced, the data storage space is saved, and the updating efficiency of the station yard graph is improved. BRIEF DESCRIPTION OF DRAWINGS
[0015] Other features, objects and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments made with reference to the accompanying drawings:
[0016] Figure 1 A structural schematic diagram of a train operation control system is provided for the embodiments of the present application.
[0017] Figure 2 A flowchart of a station yard graph display method is provided for the embodiments of the present application.
[0018] Figure 3 A flowchart of another station yard graph display method is provided for the embodiments of the present application.
[0019] Figure 4Another flowchart for receiving station yard state data provided by an embodiment of the present application is shown in FIG. 6.
[0020] Figure 5 A structural diagram of a computer device provided by an embodiment of the present application is shown in FIG. 7. DETAILED DESCRIPTION
[0021] The present application will be further described below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are intended to be merely illustrative of the present application and not in limitation thereof. It should also be noted that only the parts related to the present application are shown in the accompanying drawings for the purpose of convenience of description.
[0022] It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
[0023] In modern rail transportation, a train operation control system can supervise, control and adjust the state of train operation speed and braking mode according to the objective conditions and actual situation of train operation, which plays a crucial 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).
[0024] The train operation control system usually includes an automatic train supervision (ATS) subsystem of a dispatch center, a plurality of zone controllers (ZC) and a plurality of computer interlocking (CI) subsystems corresponding to each zone controller, wherein one computer interlocking subsystem corresponds to one interlocking zone, and the interlocking zone refers to the location area monitored by the computer interlocking subsystem. The ATS subsystem, the CI subsystem and the ZC are connected through a wired or wireless network.
[0025] The train automatic monitoring subsystem is usually arranged in a specific area of the whole line, which is also called a dispatcher workstation, for enabling a dispatcher to monitor signal devices and train operation information of the whole line or a partial area, view a train operation diagram and manage a warehouse in-out plan. The train automatic monitoring subsystem mainly includes a dispatcher workstation device for providing a human-machine interface for the dispatcher, an application server for receiving station yard state data of station yard devices and train position and state information of on-board devices, and a display device for displaying a station yard diagram. The station yard diagram is a simulation state diagram of a train operation line and train operation. The station yard diagram is generated by arrangement and combination of a plurality of station yard diagram objects. The station yard diagram object is a graphical icon of a station yard device in rail transit, such as a line, a trackside device, a station along the line and a train. The trackside device can be a signal, a turnout, a section, a shielded door, an (active / passive) transponder and the like. The object refers to a device with the same attribute or feature. For example, the station yard diagram object includes a signal device, signal 1 is an object of the signal device, and signal 2 is an object of the signal device.
[0026] The computer interlocking area subsystem mainly includes a substation ATS device, an interlocking host computer and a local workstation device. Each computer interlocking area subsystem corresponds to a local workstation. The substation ATS device is used to link with the application server of the dispatching center, obtain station yard state data, and display the state data in the form of a station yard diagram on the local workstation device. The interlocking host computer is used to obtain and monitor state information of trackside devices corresponding to the interlocking area.
[0027] The area controller is used to interact with a train automatic operation system and a train automatic protection system, a CI subsystem and an ATS subsystem carried on a train in real time.
[0028] In the related art, at least one station yard diagram of a region along a train operation line monitored by the train operation control system needs to be displayed on the display device during actual operation of the train. In general, a plurality of area controllers can be arranged in a region along the line. Each area controller can interact with computer interlocking area subsystems of a plurality of interlocking areas monitored by the area controller.
[0029] In the station diagram drawing process, for a train operation line including a multi-area controller and a multi-interlocking, in the existing development process of a graphic element representation file, attribute information of an interlocking area and a region controller to which each station diagram graphic element object belongs is stored for each station diagram graphic element object, the amount of data stored is large, and in the station diagram drawing process, the position information of the station diagram graphic element object in the generated station diagram needs to be determined based on the attribute information of the interlocking area and the region controller corresponding to each station diagram graphic element object, the amount of data that needs to be parsed and stored is large, the storage space is occupied, and the drawing efficiency of the station diagram is low. The graphic element representation file is an attribute information file of a station diagram graphic element needed to store a station diagram of a certain train operation line, and the attribute information includes drawing attributes and station attributes. The station attributes can include the identification of the region controller, the identification of the interlocking area, the identification of the station diagram graphic element, the type of the station diagram graphic element, the coordinates of the station diagram graphic element, and the like. The drawing attributes can be the shape of the station diagram graphic element, the size of the station diagram graphic element, the color of the station diagram graphic element, and the like.
[0030] Further, in the real-time refreshing process of the station diagram, the substation ATS device in the local workstation obtains the state data of the station equipment from the application server, when the application server fails, only the interlocking host computer can monitor the state of the station equipment, which leads to the inability to obtain the state data of the station equipment and the inability to update the station diagram; and in the station diagram updating process, after obtaining the state data of the station equipment, the obtained state data is usually compared with the station diagram graphic element object attribute, the interlocking area attribute and the region controller attribute of each station diagram graphic element object stored one by one to determine the target station diagram graphic element object for state updating, determine the target station diagram graphic element object for station diagram graphic element state updating, and display the updated station diagram. However, the amount of data transmitted in this process is large, the system appears to be stuck, the time for querying the target station diagram graphic element object is long, and the real-time performance of updating the station diagram is affected.
[0031] Please refer to Figure 1 , Figure 1 The structure schematic diagram of the train operation control system provided by the embodiment of the present application includes an ATS subsystem, a region controller 1021 and a computer interlocking area subsystem, wherein the ATS subsystem includes a dispatcher workstation device 1011, an application server 1012 and a display device 1013, the computer interlocking area 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 to display a station diagram.
[0032] It should be noted that in the train operation control system provided in the embodiments of the present application, in the local workstation, the functions of the substation ATS device and the interlocking host computer in the prior art are integrated in one local workstation device, and the local workstation device can implement two monitoring modes of automatic train monitoring and very station monitoring, wherein the automatic train monitoring refers to a monitoring mode in which the train operation control system automatically implements train operation control, train operation monitoring and management, and the very station monitoring refers to a mode in which a train operation is independently managed by a station attendant control computer interlocking area subsystem. The local workstation device can be connected with an application server and a trackside device, receives station yard state data sent by the application server, or directly acquires 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 can be connected through an RSSP-1 communication interface.
[0033] The embodiments of the present application provide a station yard diagram display method, which can be applied to a train operation control system as shown in Figure 1 Figure 2 The method comprises the following steps.
[0034] Step 201: Receive station yard state data.
[0035] In the embodiments of the present application, the initial station yard diagram is generated based on a pre-generated meta-representation file, and when it is necessary to monitor the train operation state of any train operation line, the local workstation device and the dispatcher workstation device in the train operation control system can read and parse the meta-representation file to draw the initial station yard diagram, and display the initial station yard diagram in the display device of each workstation.
[0036] Further, when the state of the station yard device changes, the workstation device can receive the station yard state data, update the initial station yard diagram corresponding to the train line based on the received station yard state data, and display the updated station yard diagram. The station yard state data represents the state data of at least one target meta-object that needs to be updated in the initial station yard diagram corresponding to the train operation line monitored by the train operation control system, and each station yard meta-object in the initial station yard diagram is stored in accordance with a pre-defined code bit order. The code bit is a position identifier of a data storage position in a meta-object array used to store the station yard meta-object.
[0037] It should be noted that in the embodiments of the present application, the graphic element array is used to store at least one station yard graphic element object corresponding to a device, which can be a regional controller or a trackside device corresponding to an interlocking area, wherein when the device is a regional controller, the at least one station yard graphic element object corresponding to the device is a logical section object, and the graphic element array used to store the at least one logical section object corresponding to the regional controller is a logical section array, a logical section is each sub-section of a physical section of a train operation line monitored by the regional controller, the physical section is a position interval between two adjacent axle counters of the train operation line, and one physical section can be divided into multiple logical sections; when the device is a trackside device corresponding to an interlocking area, the at least one station yard graphic element object corresponding to the interlocking area is a trackside device object, and the graphic element array used to store the at least one trackside device object corresponding to the interlocking area is a trackside device array, for example, the trackside device can be a signal machine, a platform, a turnout and a platform screen door and the like, and the trackside device array can be a signal machine array, a platform array and the like.
[0038] Optionally, as shown in the embodiments of the present application, the process of drawing an initial station yard diagram based on the pre-generated graphic element representation file can be: Figure 3
[0039] Step 2011, parsing the graphic element representation file to obtain station yard parameters.
[0040] In the embodiments of the present application, the station yard parameters include a plurality of regional controller parameters and a plurality of interlocking area parameters, the regional controller parameter includes a corresponding relationship between an index of a regional controller and a regional controller identifier, and the interlocking area parameter includes a corresponding relationship between an index of an interlocking area and an interlocking area identifier.
[0041] In this step, the process of parsing the graphic element representation file to obtain the regional controller parameters includes: initializing a counter variable to 0, determining the index of the regional controller as the current variable of the counter each time a regional controller identifier is parsed, storing the corresponding relationship between the regional controller identifier and the index of the regional controller in a cache array, and adding 1 to the counter variable until all the regional controller identifiers in the graphic element representation file are traversed, and the plurality of regional controller parameters are determined.
[0042] The process of parsing the graphic element representation file to obtain the interlocking area parameters further includes: initializing a counter variable to 0, determining the index of the interlocking area as the current variable of the counter each time an interlocking area identifier is parsed, storing the corresponding relationship between the interlocking area identifier and the index of the interlocking area, and adding 1 to the counter variable until all the interlocking area identifiers in the graphic element representation file are traversed, and the plurality of interlocking area parameters are determined.
[0043] Step 2012, creating a tree node.
[0044] In the application embodiment, the tree node includes a region controller node, an interlocking zone node, and a trackside equipment node, wherein the region controller node is the parent node of multiple interlocking zone nodes corresponding to the region controller node, and each interlocking zone node is the parent node of multiple trackside equipment nodes corresponding to the interlocking zone node.
[0045] In this step, a corresponding tree node can be created for each area controller in the train operation control system. For example, a train line may have 5 area controllers, each connected to the computer interlocking zone subsystems of 3 interlocking zones, and each interlocking zone has different trackside equipment. Five tree nodes can be created, where the area controller node is the parent node of the 3 interlocking zones corresponding to it, and each interlocking zone node is the parent node of multiple trackside equipment nodes corresponding to it.
[0046] Step 2013: Assign the station parameters to the attributes of the corresponding nodes in the tree node.
[0047] In this step, the process of assigning station parameters to the attributes of the corresponding nodes in the tree node may include: assigning area controller parameters to the attributes of the corresponding area controller node, and assigning interlocking zone parameters to the attributes of the corresponding interlocking zone node.
[0048] Step 2014: Store the monitored objects of the nodes into the corresponding primitive arrays of the nodes according to the pre-defined code position order, and generate and display the initial site map.
[0049] In this embodiment, the monitoring objects of a node include multiple logical segment objects corresponding to each area controller node, and the monitoring objects of a node also include multiple trackside equipment objects corresponding to each interlocking zone node. When drawing the initial station map, the use of a tree data structure to store station map element objects reduces storage space usage and facilitates finding the storage location of the target station map element object whose status value needs to be updated during the station map update process.
[0050] In this step, the monitored objects of the nodes are stored in the primitive array corresponding to the nodes according to the predefined code position order. This can include the following two optional implementation methods:
[0051] In one optional implementation, when the monitored objects of a node include multiple logical segment objects corresponding to each area controller node, the process may include: determining the identifiers of the multiple logical segment objects corresponding to each area controller node; searching for the location identifier corresponding to each logical segment object identifier in a predefined first code bit order; and storing each logical segment object in a logical segment array at the data storage location corresponding to the location identifier. Here, the first code bit is the location identifier of the data storage location in the logical segment array, and this first code bit order is obtained by parsing the primitive representation file. The logical segment array is used to store the multiple logical segment objects monitored by the area controller.
[0052] In another optional implementation, when the monitored objects of a node include multiple trackside equipment objects corresponding to each interlocking zone node, the process may include: determining the identifiers of multiple trackside equipment objects corresponding to each interlocking zone node; searching for the location identifier corresponding to each trackside equipment object identifier in a predefined second code bit order; and storing each trackside equipment object in a trackside equipment array at the data storage location corresponding to the location identifier. Here, the second code bit is the set of location identifiers for the data storage location in the trackside equipment array, which is used to store multiple trackside equipment objects monitored in the interlocking zone. The second code bit order is obtained by parsing a primitive representation file. For example, when the trackside equipment array is a signal array, it stores multiple signals monitored in the interlocking zone; when the trackside equipment array is a platform array, it stores multiple platforms monitored in the interlocking zone.
[0053] It is understood that, in this embodiment, the station map update process can be performed on the dispatcher's workstation or on the local workstation's workstation. When any workstation receives station status data and updates the station map, the updated station map needs to be synchronized with other workstations. The station status data includes a target device identifier, an index of at least one target station map element corresponding to the target device, and a target status value corresponding to each target station map element. The index of the target station map element indicates the storage location of the target station map element requiring status update in the element array.
[0054] In this step, the process of receiving station status data can be implemented in the following two ways:
[0055] In one alternative implementation, the station status data can be the station status data of the interlocking zone, such as... Figure 4 As shown, the process of receiving station status data can be as follows: when the current workstation device is the dispatcher workstation device, the dispatcher workstation device receives station status data sent by the application server;
[0056] When the current workstation device is a local workstation device, determine whether the local workstation device has established a communication connection with the application server; if not, establish a connection between the local workstation device and the trackside device to obtain the station status data of the trackside device; if established, the local workstation device determines whether to store the obtained interlocking zone identifier.
[0057] If stored, when it is determined that the interlocking area corresponding to the interlocking area identifier is a non-primary interlocking area, the station status data sent by the application server is received; or, when it is determined that the interlocking area corresponding to the interlocking area identifier is a primary interlocking area and the control mode of the local workstation equipment is automatic train monitoring mode, the station status data sent by the application server is received; otherwise, the local workstation equipment establishes a connection with the trackside equipment and obtains the station status data of the trackside equipment.
[0058] If not stored, discard the station status data.
[0059] It should be noted that, in this embodiment, the main interlocking zone is the interlocking zone corresponding to the local workstation, and the non-main interlocking zone is the interlocking zone adjacent to the main interlocking zone. This allows the local workstation equipment to directly exchange station status data with the application server or trackside equipment, improving the flexibility of obtaining station status data and preventing situations where station maps cannot be updated.
[0060] In another optional implementation, the station status data can be the station status data of the area controller. The process of receiving the station status data can be: the workstation device receives the station status data sent by the application server. The workstation device can be a local workstation device or a dispatcher workstation device; the station status data is parsed to obtain the area controller identifier.
[0061] Determine whether the workstation device stores the area controller identifier;
[0062] If not stored, discard the station status data; if stored, extract the index of at least one target station element object and the target status value corresponding to the target station element object.
[0063] Step 202: In at least one primitive array stored when drawing the initial station map, find the target primitive array corresponding to the target equipment identifier based on the station status data.
[0064] In this step, the process of finding the target element array corresponding to the target equipment identifier based on the station status data from at least one element array stored when drawing the initial station map can be implemented in the following two optional ways:
[0065] In one optional implementation, when the target device is a zone controller, the process includes: parsing the station status data to obtain the zone controller identifier, the index of at least one target station element object corresponding to the zone controller, and the target status value of each target station element object; determining the index of the target zone controller corresponding to the zone controller identifier contained in the station status data based on the correspondence between the zone controller identifier and the zone controller index stored when drawing the initial station map; and determining the array of logical segments corresponding to the index of the target zone controller from at least one array of logical segments generated when drawing the initial station map, based on the index of the target zone controller. Here, the target station element object is a logical segment object, and the target status value can be an indication of the occupancy status of the logical segment. For example, a target status value of 1 indicates that the target logical segment is in an occupied state, and a target status value of 0 indicates that the target logical segment is in an unoccupied state.
[0066] In another optional implementation, when the target device is a trackside device corresponding to an interlocking zone, the process includes: parsing the station status data to obtain the interlocking zone identifier corresponding to the trackside device, the index of the target station map element object corresponding to the interlocking zone, and the target status value of the target station map element object; determining the index of the target interlocking zone corresponding to the interlocking zone identifier contained in the station status data based on the correspondence between the interlocking zone identifier and the interlocking zone index stored when drawing the initial station map; and determining the trackside device array corresponding to the index of the target interlocking zone from at least one trackside device array generated when drawing the initial station map, based on the index of the target interlocking zone. Here, the target station map element object is a trackside device object.
[0067] Step 203: Determine the location identifier corresponding to the index of each target station map object in the target map element array as the target location identifier.
[0068] In this step, the process of determining the location identifier corresponding to the index of each target station element object in the target element array as the target location identifier can be as follows:
[0069] If the target station map object is a logical segment object and the target map array is a target logical segment array, the process may include: using the index of each logical segment object, determining the location identifier corresponding to the index of the logical segment object in the target logical segment array, and determining the location identifier as the target location identifier.
[0070] If the target station map element object is a trackside equipment object and the target map element array is a target trackside equipment array, the process may include: using the index of each trackside equipment object, determining the location identifier corresponding to the index of the trackside equipment object in the target trackside equipment array, and determining the location identifier as the target location identifier.
[0071] Step 204: Update the status value of the target station map element object corresponding to each target location identifier to the target status value, and display the updated station map.
[0072] In this step, since the target station map element object is a logical section object or a trackside equipment object, the process of updating the status value of the target station map element object corresponding to each target location identifier to the target status value and displaying the updated station map can be implemented in the following two ways:
[0073] In one alternative implementation, the process may include: determining the target state value of the logical segment object corresponding to the index of the logical segment object, updating the state value of the logical segment object associated with the target location identifier corresponding to the index of the logical segment object to the target state value, and displaying the updated station map.
[0074] In another alternative implementation, the process may include: determining the target state value of the trackside device object corresponding to the index of the trackside device object, updating the state value of the trackside device object associated with the target location identifier corresponding to the index of the trackside device object to the target state value, and displaying the updated station map.
[0075] For example, suppose when drawing the initial station map, if the parsing reaches the first interlocking zone A in a certain area controller, the index of interlocking zone A is determined as 1, and the correspondence between interlocking zone A and interlocking zone index 1 is stored. If the parsing reaches the second interlocking zone B, the index of interlocking zone B is determined as 2, and the correspondence between interlocking zone B and interlocking zone index 2 is stored.
[0076] Establish two tree structures. Store the multiple signals corresponding to interlocking zone A in signal array a of interlocking zone A according to the second code position order. Store the multiple signals corresponding to interlocking zone B in signal array b of interlocking zone B according to the second code position order. Generate and display the initial station map.
[0077] After receiving the station status data sent by the application server, the dispatcher workstation parses the data and finds that the interlocking zone identifier corresponding to the trackside equipment is A, confirming that the dispatcher workstation stores the interlocking zone identifier A. Further, it determines the index A1 of the target signal object in the station status data and the target status value of the target signal. Based on the correspondence between the interlocking zone identifier and the interlocking zone index stored when drawing the initial station map, it determines that the index 1 of the interlocking zone corresponding to the target interlocking zone A is the index of the target interlocking zone. Based on the index 1 of the target interlocking zone, it determines the target signal array a corresponding to the interlocking zone at index 1 from the multiple signal arrays a and b generated when drawing the initial station map. In this target signal array a, it searches for the position identifier corresponding to index A1 of the target signal element as the target position identifier, updates the status value of the target signal corresponding to this target position identifier to the target status value of the target signal corresponding to index A1, and displays the updated station map.
[0078] In summary, the station map display method provided in this application can receive station status data; search for a target element array corresponding to the target equipment identifier based on the station status data in at least one element array stored when drawing the initial station map; determine the position identifier corresponding to the index of each target station element object in the target element array as the target position identifier; update the status value of the target station element object corresponding to each target position identifier to the target status value, and display the updated station map. This reduces the data storage and processing volume during the station map display process, saves data storage space, and improves the update efficiency of the station map.
[0079] Figure 5 This embodiment illustrates a computer system including a central processing unit (CPU) 401, which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 402 or a program loaded from a storage portion into a random access memory (RAM) 403. The RAM 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0080] The following components are connected to I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive is also connected to I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 410 as needed so that computer programs read from it can be installed into storage section 408 as needed.
[0081] Specifically, according to embodiments of this application, the above... Figures 2 to 4 The described process can be implemented as a computer software program. For example, various embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU) 401, it performs the functions defined in the system of this application.
[0082] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0083] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0084] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself. The described units or modules can also be located in a processor; for example, a processor can be described as including a receiving module, a determining module, and an updating module. Again, the names of these units or modules do not necessarily limit the specific unit or module itself; for example, a receiving module can also be described as a "receiving module for receiving station status data."
[0085] In another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not 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 station map element display method described in the above embodiments.
[0086] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the inventive concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A method for displaying station maps, characterized in that, include: Receive station status data, the station status data including target equipment identifier, index of at least one target station map element object corresponding to the target equipment, and target status value of each target station map element object; In at least one primitive array stored when drawing the initial station map, a target primitive array corresponding to the target equipment identifier is searched based on the station status data. The primitive array is used to store at least one station primitive object corresponding to the equipment. The location identifier corresponding to the index of each target station map element object in the target map element array is determined as the target location identifier; The status value of the target station map object corresponding to each target location identifier is updated to the target status value, and the updated station map is displayed. The initial station map is drawn based on a pre-generated map representation file. Each station map object in the initial station map is stored in a pre-defined code position order. The code position is the location identifier of the data storage location in the map array used to store the station map object. When the target device is a region controller, the primitive array is a logical segment array. The step of searching for the target primitive array corresponding to the device identifier based on the station status data from at least one primitive array stored when drawing the initial station map includes: Parse the station status data to obtain the area controller identifier, the index of at least one target station map element object corresponding to the area controller, and the target status value of each target station map element object; Based on the correspondence between the area controller identifier and the area controller index stored when drawing the initial station map, determine the index of the target area controller corresponding to the area controller identifier contained in the station status data; Based on the index of the target area controller, the logical segment array corresponding to the index of the target area controller is determined from at least one logical segment array generated when drawing the initial station map as the target logical segment array.
2. The method according to claim 1, characterized in that, When the target device is a trackside device corresponding to an interlocking zone, the primitive array is a trackside device array. The step of searching for the target primitive array corresponding to the target device identifier based on the station status data from at least one primitive array stored when drawing the initial station map includes: The station status data is parsed to obtain the interlocking zone identifier corresponding to the trackside equipment, the index of at least one target station map element object corresponding to the interlocking zone, and the target status value of the target station map element object; Based on the correspondence between the interlocking zone identifiers and interlocking zone indices stored when the initial station map was drawn, the index of the target interlocking zone corresponding to the interlocking zone identifier contained in the station status data is determined; Based on the index of the target interlocking zone, the trackside equipment array corresponding to the index of the target interlocking zone is determined from at least one trackside equipment array generated when drawing the initial station map.
3. The method according to claim 1, characterized in that, The initial station site map is drawn based on a pre-generated primitive representation file, including: Parse the primitive representation file to obtain station parameters. The station parameters include multiple area controller parameters and multiple interlocking zone parameters. The area controller parameters include the correspondence between the index of the area controller and the area controller identifier. The interlocking zone parameters include the correspondence between the index of the interlocking zone and the interlocking zone identifier. Create a tree-like node structure, which includes a zone controller node, an interlocking zone node, and a trackside equipment node. The zone controller node is the parent node of multiple interlocking zone nodes corresponding to the zone controller node, and each interlocking zone node is the parent node of multiple trackside equipment nodes corresponding to the interlocking zone node. Assign the station parameters to the attributes of the corresponding nodes in the tree structure; The monitored objects of the nodes are stored in the corresponding primitive array according to the predefined code position order, and the initial station map is generated and displayed.
4. The method according to claim 3, characterized in that, The step of assigning the station parameters to the attributes of the corresponding nodes in the tree includes: Assign the area controller parameters to the corresponding attributes of the area controller node; The interlocking area parameters are assigned to the attributes of the corresponding interlocking area nodes.
5. The method according to claim 3, characterized in that, The monitored objects of the node include multiple logical segment objects corresponding to each area controller node. The step of storing the monitored objects of the node into the primitive array corresponding to the node according to a predefined code bit order includes: Determine the identifiers of multiple logical segment objects corresponding to each of the region controller nodes; In the predefined first code bit sequence, find the position identifier corresponding to each logical segment object identifier; Each logical segment object is stored in a logical segment array, at a data storage location corresponding to the location identifier.
6. The method according to claim 3, characterized in that, The monitored objects of the node include multiple trackside equipment objects corresponding to each interlocking zone node. The step of storing the monitored objects of the node into the primitive array corresponding to the node according to a predefined code position order includes: Identify multiple trackside equipment object identifiers corresponding to each of the interlocking zone nodes; In a pre-defined second code position sequence, find the position identifier corresponding to each of the trackside equipment object identifiers; Each trackside device object is stored in a trackside device array at a data storage location corresponding to the location identifier.
7. The method according to claim 1, characterized in that, The station status data refers to the station status data of the interlocking area. Receiving the station status data includes: When the current workstation device is a dispatcher workstation device, the dispatcher workstation device receives station status data sent by the application server; When the current workstation device is a local workstation device, determine whether the local workstation device has established a communication connection with the application server; If not established, establish a connection between the local workstation equipment and the trackside equipment, and obtain the station status data of the trackside equipment; If established, the local workstation equipment determines whether to store the acquired interlocking zone identifier; If stored, when it is determined that the interlocking area corresponding to the interlocking area identifier is a non-primary interlocking area, the station status data sent by the application server is received; or, when it is determined that the interlocking area corresponding to the interlocking area identifier is a primary interlocking area and the control mode of the local workstation equipment is automatic train monitoring mode, the station status data sent by the application server is received; otherwise, the local workstation equipment establishes a connection with the trackside equipment and obtains the station status data of the trackside equipment. If not stored, discard the station status data.
8. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the method as described in any one of claims 1-7 when executing the program.
9. A computer-readable storage medium, characterized in that, It contains a computer program for implementing the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Electronic map data manufacturing and updating method and apparatus
CN105426372A
Spatio-temporal data integrated management method based on chain storage
CN110032613A