CN114595347A - Site map display method, equipment and storage medium - Google Patents
Site map display method, equipment and storage medium Download PDFInfo
- 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
- station
- primitive
- array
- nodes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000008569 process Effects 0.000 claims abstract description 38
- 238000013500 data storage Methods 0.000 claims abstract description 14
- 238000012544 monitoring process Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 11
- 238000003491 array Methods 0.000 claims description 2
- 238000009877 rendering Methods 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- PLAIAIKZKCZEQF-UHFFFAOYSA-N methyl 6-chloro-2-oxo-3h-1,2$l^{4},3-benzodithiazole-4-carboxylate Chemical compound COC(=O)C1=CC(Cl)=CC2=C1NS(=O)S2 PLAIAIKZKCZEQF-UHFFFAOYSA-N 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
- G06F16/538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/587—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
本申请公开了一种站场图显示方法、设备和存储介质。该方法包括:接收站场状态数据;在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组;确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识;将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图。解决了站场图显示过程中数据存储量和处理量大,显示效率低下的问题。
The present application discloses a method, device and storage medium for displaying a site map. The method includes: receiving station state data; in at least one primitive array stored when an initial station map is drawn, searching for a target primitive array corresponding to a target device identification based on the station state data; The location identifier corresponding to the index of each target site graphic element object is the target location identifier; the state value of the target site graphic element object corresponding to each target location identifier is updated to the target state value, and the updated site map is displayed. . It solves the problem of large data storage and processing capacity and low display efficiency in the process of displaying the station yard map.
Description
技术领域technical field
本申请涉及轨道交通技术领域,具体涉及一种站场图显示方法、设备和存储介质。The present application relates to the technical field of rail transit, and in particular to a method, device and storage medium for displaying a station map.
背景技术Background technique
随着无线通信技术的发展,以通信技术为基础的列车运行控制系统逐渐广泛应用于轨道交通技术领域。With the development of wireless communication technology, the train operation control system based on communication technology is gradually widely used in the field of rail transit technology.
列车运行控制系统通常以显示设备上显示的站场图实时显示全线轨道线路的布置情况、列车位置信息、列车车次号信息及轨旁设备的状态,以供列车运行监控人员实时了解当前的铁路运行状况。The train operation control system usually displays the layout of the entire track line, the train location information, the train number information and the status of the trackside equipment in real time with the station map displayed on the display device, so that the train operation monitoring personnel can understand the current railway operation in real time. situation.
相关技术中,站场图的显示主要包括绘制初始站场图和更新该初始站场图以获取实时站场图,由于站场图的绘制过程中每个站场图元对象的图元表示文件中存储了大量的重复数据,绘制初始站场图的过程中解析的数据量大,影响初始站场图的绘制效率;在站场图的更新过程中,需要进行状态更新的目标站场图元对象的查询过程中处理的数据量较大,站场图的更新会出现误差较大的延时,站场图的显示过程效率低下。In the related art, the display of the site map mainly includes drawing the initial site map and updating the initial site map to obtain the real-time site map. Since the graphic element representation file of each site graphic element object in the process of drawing the site map A large amount of duplicated data is stored in the original site map, and the amount of data analyzed during the process of drawing the initial site map is large, which affects the drawing efficiency of the initial site map; during the update process of the site map, the target site map element that needs to be updated The amount of data processed in the query process of the object is large, the update of the site map will have a large error delay, and the display process of the site map is inefficient.
发明内容SUMMARY OF THE INVENTION
鉴于现有技术中的上述缺陷或不足,期望提供一种可以站场图显示效率的站场图显示方法、设备和存储介质。In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a site map display method, device and storage medium that can display a site map efficiently.
第一方面,本申请提供了一种站场图元显示方法,包括:In a first aspect, the present application provides a method for displaying station and yard graphics elements, including:
接收站场状态数据,站场状态数据包含目标设备标识、与目标设备对应的至少一个目标站场图元对象的索引和每个目标站场图元对象的目标状态值;receiving site state data, where the site state data includes a target device identifier, an index of at least one target site graphic element object corresponding to the target device, and a target state value of each target site graphic element object;
在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组,图元数组用于存储与设备对应的至少一个站场图元对象;In the at least one primitive array stored when the initial station map is drawn, the target primitive array corresponding to the target device identifier is searched based on the station status data, and the primitive array is used to store at least one station primitive object corresponding to the device ;
确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识;It is determined that the position identification corresponding to the index of each target site and field primitive object in the target primitive array is the target position identification;
将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图,初始站场图是基于预先生成的图元表示文件绘制生成的,初始站场图中的每个站场图元对象是按照预先规定的码位顺序存储的,码位为用于存储站场图元对象的图元数组中,数据存储位置的位置标识;Update the state value of the target station yard primitive object corresponding to each target location identifier to the target state value, and display the updated station yard map. Each station primitive object in the station diagram is stored according to the predetermined code bit sequence, and the code bit is the location identifier of the data storage location in the primitive array used to store the station primitive object;
第二方面,本申请提供了一种计算机设备,计算机设备包括存储器、处理器以及存储在存储器并可在处理器上运行的计算机程序,处理器用于执行程序时实现如第一方面的方法;In a second aspect, the present application provides a computer device, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is configured to implement the method of the first aspect when executing the program;
第三方面,本申请提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序用于实现如第一方面的方法。In a third aspect, the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is used to implement the method of the first aspect.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请实施例提供的站场图显示方法、设备和存储介质,可以接收站场状态数据;在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组;确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识;将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图。通过目标设备标识和目标站场图元对象的索引,快速确定目标站场图元对象在数组中的存储位置,进行站场图状态更新,降低了站场图显示过程中的数据存储量和处理量,节约了数据存储空间,提高了站场图的更新效率The station map display method, device, and storage medium provided by the embodiments of the present application can receive station state data; in at least one graphic element array stored when the initial station map is drawn, search and target device identification based on the station state data Corresponding target graphic element array; determine the position identifier corresponding to the index of each target site graphic element object in the target graphic element array as the target location identifier; set the state of the target site graphic element object corresponding to each target location identifier The value is updated to the target state value and the updated site map is displayed. Through the target device identification and the index of the target site graphic element object, the storage location of the target site graphic element object in the array can be quickly determined, and the status of the site map can be updated, which reduces the amount of data storage and processing during the site map display process. It saves the data storage space and improves the update efficiency of the station map.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为本申请实施例提供的一种列车运行控制系统的结构示意图;1 is a schematic structural diagram of a train operation control system according to an embodiment of the present application;
图2为本申请实施例提供的一种站场图显示方法的流程示意图;2 is a schematic flowchart of a method for displaying a site map according to an embodiment of the present application;
图3为本申请实施例提供的另一种站场图显示方法的流程示意图;3 is a schematic flowchart of another method for displaying a site map according to an embodiment of the present application;
图4为本申请实施例提供的又一种接收站场状态数据的流程示意图;FIG. 4 is a schematic flowchart of yet another receiving station yard status data provided by an embodiment of the present application;
图5为本申请实施例提供的一种计算机装置的结构示意图。FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
现代轨道交通运输过程中,列车运行控制系统可以根据列车运行的客观条件和实际情况,对列车运行速度及制动方式等状态进行监督、控制和调整,对列车的安全运行起着至关重要的作用,例如,常见的列车运行控制系统可以是基于通信的列车自动控制系统(Communication Based Train Control System,CBTC)。In the process of modern rail transportation, the train operation control system can supervise, control and adjust the train running speed and braking mode according to the objective conditions and actual conditions of the train operation, which plays a vital role in the safe operation of the train. For example, a common train operation control system may be a communication-based train control system (Communication Based Train Control System, CBTC).
列车运行控制系统通常包括调度中心的列车自动监控(Automatic TrainSupervision,ATS)子系统、多个区域控制器(Zone Controller,ZC)和与每个区域控制器对应的多个计算机联锁区子系统(computer interlocking,CI),其中,一个计算机联锁区子系统对应一个联锁区,联锁区是指计算机联锁区子系统监控的位置区域,该ATS子系统、CI子系统与ZC通过有线或者无线网络连接。The train operation control system usually includes the automatic train supervision (Automatic Train Supervision, ATS) subsystem of the dispatch center, multiple zone controllers (Zone Controller, ZC) and multiple computer interlocking zone subsystems ( computer interlocking, CI), wherein, a computer interlocking area subsystem corresponds to an interlocking area, and the interlocking area refers to the location area monitored by the computer interlocking area subsystem, the ATS subsystem, the CI subsystem and the ZC through wired or Wi-Fi.
其中,该列车自动监控子系统通常设置于整条线路的特定区域,该特定区域也称调度员工作站,用于使调度员监视列车运行全线或部分区域的信号设备、列车运行信息,查看列车运行图和管理出入库计划,该列车自动监控子系统主要包括调度员工作站设备,用于为调度员提供人机交互界面,应用服务器,用于接收站场设备的站场状态数据、车载设备的列车位置和状态信息;以及显示设备,用于显示站场图,该站场图是列车运行线路以及列车运行的模拟状态图,站场图由多个站场图元对象排列组合生成,站场图元对象是轨道交通中线路、轨旁设备、沿线车站和列车等站场设备图形化后的图标,该轨旁设备可以是信号机、道岔、区段、屏蔽门、(有源/无源)应答器等。其中,对象指向具有相同属性或者特征的设备。例如,站场图元包括信号机这类设备,信号机1是信号机这类设备的一个对象,信号机2是信号机这类设备的一个对象。Among them, the train automatic monitoring subsystem is usually set in a specific area of the whole line, which is also called the dispatcher workstation, which is used for the dispatcher to monitor the signal equipment and train operation information of the whole line or part of the train operation, and check the train operation. The automatic train monitoring subsystem mainly includes dispatcher workstation equipment, which is used to provide human-computer interaction interface for dispatchers, application server, which is used to receive station yard status data of station equipment and train on-board equipment. Location and status information; and a display device for displaying the station map, which is a simulated state diagram of the train running route and train operation. The station map is generated by the arrangement and combination of multiple station primitive objects. The station map The meta object is the graphical icon of the line, trackside equipment, stations along the line, trains and other station equipment in rail transit. The trackside equipment can be signals, turnouts, sections, screen doors, (active/passive) Transponder, etc. Among them, objects point to devices with the same properties or characteristics. For example, the station primitive includes equipment such as semaphore, semaphore 1 is an object of such equipment as semaphore, and semaphore 2 is an object of such equipment as semaphore.
计算机联锁区子系统主要包括分站ATS设备、联锁上位机和现地工作站设备,每个计算机联锁区子系统对应一个现地工作站,其中,分站ATS设备,用于与调度中心的应用服务器链接,获取站场状态数据,并将该状态数据以站场图的形式显示在现地工作站设备上,联锁上位机,用于获取并监控与联锁区对应的轨旁设备的状态信息。The computer interlocking area subsystem mainly includes substation ATS equipment, interlocking upper computer and local workstation equipment. Each computer interlocking area subsystem corresponds to a local workstation. Among them, the substation ATS equipment is used to communicate with the dispatch center. Apply the server link to obtain the station yard status data, and display the status data on the local workstation equipment in the form of a station yard diagram, and interlock the upper computer to obtain and monitor the status of the trackside equipment corresponding to the interlock area. information.
区域控制器,用于实时的与列车上搭载的列车自动运行系统和列车自动保护系统、CI子系统以及ATS子系统进行站场状态数据交互。The regional controller is used for real-time exchange of station status data with the train automatic operation system and train automatic protection system, CI subsystem and ATS subsystem carried on the train.
相关技术中,在列车的实际运行过程中,需要将该列车运行控制系统监控的至少一条列车运行线路途径区域的站场图显示在显示设备上,通常情况下,线路途径区域可以设置多个区域控制器,每个区域控制器可以与本区域控制器监控的多个联锁区的计算机联锁区子系统进行信息交互。In the related art, during the actual operation of the train, the station map of at least one train route route area monitored by the train operation control system needs to be displayed on the display device. Usually, multiple areas can be set in the route route area. Each zone controller can exchange information with the computer interlock zone subsystems of multiple interlock zones monitored by the zone controller.
其中,在站场图绘制过程中,对于包括多区域控制器和多联锁的列车运行线路,现有的图元表示文件开发过程中,为每个站场图元对象存储了该站场图元对象所属联锁区和区域控制器的属性信息,存储的数据量大,在站场图绘制过程中需要基于每个站场图元对象对应的联锁区和区域控制器的属性信息确定站场图元对象在生成的站场图中的位置信息,需要解析和存储的数据量大,占用存储空间,站场图的绘制效率低。图元表示文件为存储绘制某一列车运行线路的站场图所需站场图元的属性信息文件,该属性信息包括绘制属性和站场属性,其中,站场属性可以包括区域控制器的标识、联锁区的标识、站场图元的标识、站场图元类型、站场图元的坐标等信息,该绘制属性可以是站场图元的向状、站场图元大小、站场图元的颜色等信息。Among them, in the process of drawing the station yard map, for the train running lines including multi-area controllers and multi-interlocking, the existing graph element representation file is developed during the development process, and the station yard graph is stored for each station yard primitive object. The attribute information of the interlocking area and area controller to which the meta object belongs, and the amount of data stored is large. During the drawing process of the station yard, it is necessary to determine the station based on the attribute information of the interlocking area and the area controller corresponding to each station yard primitive object. The location information of the field primitive object in the generated site map requires a large amount of data to be parsed and stored, occupies storage space, and has low drawing efficiency for the site map. The graphic element representation file is an attribute information file for storing the station graphic elements required for drawing a station diagram of a train running route. The attribute information includes the drawing attribute and the station attribute, wherein the station attribute can include the identification of the area controller. , the identification of the interlocking area, the identification of the station and yard primitives, the type of the station and yard primitives, the coordinates of the station and yard primitives and other information, the drawing attributes can be the orientation of the station and yard primitives, the size of the station Information such as the color of the primitive.
进一步的,在站场图的实时刷新过程中,现地工作站中的分站ATS设备是从应用服务器获取站场设备的状态数据,当应用服务器故障时,只能切换到联锁上位机监控站场设备的状态,导致无法获取站场设备的状态数据,无法更新站场图;且在站场图更新过程中,获取到站场设备的状态数据后,通常需要将获取的状态数据与存储的每个站场图元对象的站场图元对象属性、联锁区属性和区域控制器属性进行一一比对,确定出目标站场图元对象进行状态更新,确定目标站场图元对象进行站场图元状态更新,显示更新后的站场图,但是,该过程中传输的数据量大,系统出现卡顿,查询目标站场图元对象耗时,影响更新站场图的实时性。Further, in the real-time refresh process of the station map, the substation ATS equipment in the local workstation obtains the status data of the station equipment from the application server. When the application server fails, it can only switch to the interlocking upper computer monitoring station. The status of the station equipment cannot be obtained, and the station diagram cannot be updated; and in the process of updating the station diagram, after the status data of the station equipment is obtained, it is usually necessary to compare the acquired status data with the stored data. The station and yard primitive object attributes, interlocking area attributes and regional controller attributes of each station yard primitive object are compared one-to-one, and the target station yard primitive object is determined to update the state, and the target station yard primitive object is determined to be updated. The status of the station and yard primitives is updated, and the updated station and yard map is displayed. However, the amount of data transmitted during this process is large, the system is stuck, and the query of the target station and yard primitive objects is time-consuming, which affects the real-time performance of updating the station and yard map.
请参考图1,图1为本申请实施例提供的列车运行控制系统的结构示意图,包括ATS子系统、区域控制器1021和计算机联锁区子系统,其中,该ATS子系统包括调度员工作站设备1011、应用服务器1012、显示设备1013,计算机联锁区子系统103包括现地工作站设备1031和显示设备1032,该显示设备1011和显示设备1032用于显示站场图。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a train operation control system provided by an embodiment of the application, including an ATS subsystem, an
需要说明的是,在本申请实施例提供的列车运行控制系统中,在现地工作站,将现有技术中分站ATS设备和联锁上位机的功能集成于一个现地工作站设备,现地工作站设备可以实现自动列车监控和非常站监控两种监控模式,其中,自动列车监控指列车运行控制系统自动实现行车指挥控制、列车运行监视和管理的监控模式,非常站监控指由车站值班员控制计算机联锁区子系统独立管理列车的运营方式。其中,该现地工作站设备可以与应用服务器和轨旁设备连接,接收应用服务器发送的站场状态数据,或者,直接获取现地工作站设备所在联锁区对应的轨旁设备的站场状态信息,示例的,该现地工作站设备与连锁设备之间可以通过RSSP-1通信接口建立连接。It should be noted that, in the train operation control system provided by the embodiment of the present application, in the local workstation, the functions of the substation ATS equipment and the interlocking upper computer in the prior art are integrated into a local workstation device, and the local workstation The equipment can realize two monitoring modes: automatic train monitoring and abnormal station monitoring. Among them, automatic train monitoring refers to the monitoring mode in which the train operation control system automatically realizes the train command control, train operation monitoring and management, and the abnormal station monitoring refers to the control of the computer by the station attendant. The interlocking zone subsystem independently manages how the train operates. Wherein, the local workstation equipment can be connected with the application server and the trackside equipment, receive the station yard status data sent by the application server, or directly obtain the station yard status information of the trackside equipment corresponding to the interlocking area where the local workstation equipment is located, Exemplarily, a connection can be established between the local workstation device and the interlocking device through an RSSP-1 communication interface.
本申请实施例提供一种站场图显示方法,该方法可以应用于如图1所示列车运行控制系统中,如图2所示,该方法包括:An embodiment of the present application provides a method for displaying a station map, which can be applied to the train operation control system shown in FIG. 1 , and as shown in FIG. 2 , the method includes:
步骤201、接收站场状态数据。Step 201: Receive station yard status data.
在本申请实施例中,初始站场图是基于预先生成的图元表示文件绘制初始站场图绘制生成的,在需要对任一列车运行线路的列车运行状态进行监控时,列车运行控制系统中的现地工作站设备和调度员工作站设备,可以读取并解析该图元表示文件绘制初始站场图,将初始站场图显示于各工作站的显示设备中。In the embodiment of the present application, the initial yard map is generated based on the pre-generated graphic element representation file to draw the initial yard map. When it is necessary to monitor the train running status of any train running line, the train running control system The local workstation equipment and dispatcher workstation equipment can read and parse the graphic element representation file to draw the initial site map, and display the initial site map on the display devices of each workstation.
进一步的,站场设备的状态发生变化时,工作站设备可以接收站场状态数据,基于接收得到的站场状态数据可以对于列车线路对应的初始站场图进行更新,显示更新后的站场图。其中,站场状态数据表示列车运行控制系统监控的列车运行线路对应的初始站场图中,至少一个需要进行状态更新的目标图元对象的状态数据,该初始站场图中的每个站场图元对象是按照预先规定的码位顺序存储的,该码位为用于存储站场图元对象的图元数组中,数据存储位置的位置标识。Further, when the status of the station equipment changes, the workstation equipment can receive the station status data, and can update the initial station diagram corresponding to the train line based on the received station status data, and display the updated station diagram. Wherein, the station yard status data represents the status data of at least one target primitive object whose status needs to be updated in the initial station yard diagram corresponding to the train running line monitored by the train operation control system. Each station yard in the initial station yard diagram The primitive objects are stored according to a predetermined code bit sequence, and the code bits are the location identifiers of the data storage locations in the primitive array for storing the station primitive objects.
需要说明的是,在本申请实施例中,图元数组用于存储与设备对应的至少一个站场图元对象,该设备可以为区域控制器或者与联锁区对应的轨旁设备,其中,设备为区域控制器时,与设备对应的至少一个站场图元对象为逻辑区段对象,则用于存储与区域控制器对应的至少一个逻辑区段对象的图元数组为逻辑区段数组,逻辑区段为区域控制器监控的列车运行线路的物理区段的每个子区段,物理区段为列车运行线路的相邻两个计轴器之间的位置区间,一个物理区段可以划分为多个逻辑区段;设备为与联锁区对应的轨旁设备时,与联锁区对应的至少一个站场图元对象为轨旁设备对象,则用于存储与联锁区对应的至少一个轨旁设备对象的图元数组为轨旁设备数组,例如,该轨旁设备可以为信号机、站台、岔道和屏蔽门等设备,该轨旁设备数组可以为信号机数组、站台数组等。It should be noted that, in this embodiment of the present application, the primitive array is used to store at least one station yard primitive object corresponding to a device, and the device may be an area controller or a trackside device corresponding to an interlocking area, wherein, When the device is a zone controller, at least one station-yard primitive object corresponding to the device is a logical segment object, then the primitive array used to store at least one logical segment object corresponding to the zone controller is a logical segment array, The logical section is each subsection of the physical section of the train running line monitored by the regional controller, and the physical section is the position section between two adjacent axle counters on the train running line. A physical section can be divided into Multiple logical sections; when the device is a trackside device corresponding to an interlock zone, and at least one station yard primitive object corresponding to the interlock zone is a trackside device object, it is used to store at least one trackside device object corresponding to the interlock zone. The primitive array of the trackside device object is the trackside device array. For example, the trackside device can be a signal machine, a platform, a turnout, a screen door, etc. The trackside device array can be a signal machine array, a platform array, and so on.
可选的,如图3所示,在本申请实施例中,基于预先生成的图元表示文件绘制初始站场图的过程可以是:Optionally, as shown in FIG. 3 , in this embodiment of the present application, the process of drawing an initial site map based on a pre-generated graphic element representation file may be:
步骤2011、解析图元表示文件,得到站场参数。
在本申请实施例中,站场参数包括多个区域控制器参数和多个联锁区参数,该区域控制器参数包括区域控制器的索引与区域控制器标识的对应关系,该联锁区参数包括联锁区的索引与联锁区标识的对应关系。In the embodiment of the present application, the station and yard parameters include a plurality of regional controller parameters and a plurality of interlocking zone parameters, the regional controller parameters include the corresponding relationship between the index of the regional controller and the regional controller identifier, the interlocking zone parameter It includes the corresponding relationship between the index of the interlocking area and the identifier of the interlocking area.
在本步骤中,解析图元表示文件,得到区域控制器参数的过程包括:初始化计数器变量为0,每解析得到一个区域控制器标识,将计数器的当前变量至确定为区域控制器的索引,将区域控制器标识和区域控制器的索引的对应关系存储于缓存数组中,并将计数器变量加1,直至遍历该图元表示文件中的全部区域控制器标识,确定多个区域控制器参数。In this step, the process of parsing the graphic element representation file to obtain the parameters of the area controller includes: initializing the counter variable to 0, obtaining an area controller identifier each time by parsing, setting the current variable of the counter to the index determined as the area controller, The correspondence between the zone controller ID and the zone controller index is stored in the cache array, and the counter variable is incremented by 1 until all zone controller IDs in the graphic element representation file are traversed to determine multiple zone controller parameters.
解析图元表示文件,得到联锁区参数的过程还包括:初始化计数器变量为0,每解析获取到一个联锁区标识,将计数器的当前变量至确定为联锁区的索引,存储联锁区标识和联锁区的索引的对应关系,并将计数器变量加1,直至遍历该图元表示文件中的全部联锁区标识,确定多个联锁区参数。The process of parsing the graphic element representation file and obtaining the parameters of the interlocking area also includes: initializing the counter variable to 0, each time an interlocking area identifier is acquired by parsing, setting the current variable of the counter to the index determined as the interlocking area, and storing the interlocking area The corresponding relationship between the identifier and the index of the interlocking area, and the counter variable is incremented by 1, until all the interlocking area identifiers in the graphic element representation file are traversed, and multiple interlocking area parameters are determined.
步骤2012、创建树形节点。
在申请实施例中,树形节点包括区域控制器节点,联锁区节点和轨旁设备节点,其中,区域控制器节点为与区域控制器节点对应的多个联锁区节点的父节点,每个联锁区节点为与联锁区节点对应的多个轨旁设备节点的父节点。In the application embodiment, the tree node includes an area controller node, an interlocking area node and a trackside equipment node, wherein the area controller node is the parent node of a plurality of interlocking area nodes corresponding to the area controller node, and each Each interlocking area node is the parent node of multiple trackside equipment nodes corresponding to the interlocking area node.
在本步骤中,可以为列车运行控制系统中包含的每个区域控制器建立对应的树形节点,例如,某一列车运行线路设置有5个区域控制器,每个区域控制器与3个联锁区的计算机联锁区子系统连接,每个联锁区设置有不同的轨旁设备。可以创建5个树形节点,每个树形节点中,区域控制器节点为与区域控制器节点对应的3个联锁区的父节点,每个联锁区节点为与联锁区节点对应的多个轨旁设备节点的父节点。In this step, a corresponding tree node can be established for each regional controller included in the train operation control system. For example, a train running line is provided with five regional controllers, and each regional controller is connected to three The computer interlocking area subsystem of the lock area is connected, and each interlock area is provided with different trackside equipment. Five tree nodes can be created. In each tree node, the area controller node is the parent node of the three interlocking areas corresponding to the area controller node, and each interlocking area node is the corresponding interlocking area node. Parent node of multiple trackside equipment nodes.
步骤2013、将站场参数赋值给树形节点中对应节点的属性。Step 2013: Assign the station yard parameter to the attribute of the corresponding node in the tree node.
在本步骤中,将站场参数赋值给树形节点中对应节点的属性的过程可以包括:将区域控制器参数赋值给对应的区域控制器节点的属性,将联锁区参数赋值给对应的联锁区节点的属性。In this step, the process of assigning the station and yard parameters to the attributes of the corresponding nodes in the tree node may include: assigning the regional controller parameters to the attributes of the corresponding regional controller nodes, and assigning the interlocking area parameters to the corresponding interlocking area parameters. Properties of the lock zone node.
步骤2014、按照预先规定的码位顺序将节点的监控对象存储至节点对应的图元数组中,生成并显示初始站场图。Step 2014: Store the monitoring object of the node in the primitive array corresponding to the node according to the predetermined code bit sequence, and generate and display an initial site map.
在本申请实施例中,节点的监控对象包括与每个区域控制器节点对应的多个逻辑区段对象,节点的监控对象还包括与每个联锁区节点对应的多个轨旁设备对象。在绘制初始站场图时,由于可以通过树形数据结构存储站场图元对象,可以减少存储空间的占用,且便于站场图更新过程中查找待更新状态值的目标站场图元对象的存储位置。In the embodiment of the present application, the monitoring object of the node includes multiple logical segment objects corresponding to each area controller node, and the monitoring object of the node also includes multiple trackside equipment objects corresponding to each interlocking area node. When drawing the initial site map, because the tree-shaped data structure can store the site map element objects, the occupation of storage space can be reduced, and it is convenient to find the target site map element object whose state value is to be updated during the update process of the site map. storage location.
在本步骤中,按照预先规定的码位顺序将节点的监控对象存储至节点对应的图元数组中,可以包括以下两种可选的实现方式:In this step, the monitoring object of the node is stored in the primitive array corresponding to the node according to the predetermined code bit sequence, which may include the following two optional implementation manners:
在一种可选的实现方式中,当节点的监控对象包括与每个区域控制器节点对应的多个逻辑区段对象时,该过程可以包括:确定与每个区域控制器节点对应的多个逻辑区段对象标识;在预先规定的第一码位顺序中,查找与每个逻辑区段对象标识对应的位置标识;将每个逻辑区段对象存储至逻辑区段数组中,与位置标识对应的数据存储位置。其中,第一码位为逻辑区段数组中,数据存储位置的位置标识,该第一码位顺序是通过解析图元表示文件获取的,该逻辑区段数组用于存储区域控制器监控的多个逻辑区段对象。In an optional implementation manner, when the monitoring object of the node includes multiple logical segment objects corresponding to each regional controller node, the process may include: determining a plurality of logical segment objects corresponding to each regional controller node. Logical segment object identifier; in the predetermined first code bit sequence, find the location identifier corresponding to each logical segment object identifier; store each logical segment object in the logical segment array, corresponding to the location identifier data storage location. Among them, the first code bit is the position identifier of the data storage location in the logical segment array, the first code bit sequence is obtained by parsing the graphic element representation file, and the logical segment array is used to store the multiple data monitored by the area controller. a logical segment object.
在另一种可选的实现方式中,当节点的监控对象包括与每个联锁区节点对应的多个轨旁设备对象时,该过程可以包括:确定与每个联锁区节点对应的多个轨旁设备对象标识;在预先规定的第二码位顺序中,查找与每个轨旁设备对象标识对应的的位置标识;将每个轨旁设备对象存储至轨旁设备数组中,与位置标识对应的数据存储位置。其中,第二码位为轨旁设备数组中,数据存储位置的位置标识集合,该轨旁设备数组用于存储联锁区监控的多个轨旁设备对象。其中,第二码位顺序是通过解析图元表示文件获取的。示例的,轨旁设备数组为信号机数组时,该信号机数组用于存储联锁区监控的多个信号机,轨旁设备数组为站台数组时,该站台数组用于存储联锁区监控的多个站台。In another optional implementation manner, when the monitoring objects of the nodes include multiple trackside equipment objects corresponding to each interlocking area node, the process may include: determining multiple trackside equipment objects corresponding to each interlocking area node. trackside device object identifiers; search for the location identifiers corresponding to each trackside device object identifier in the predetermined second code bit sequence; store each trackside device object in the trackside device array, with the location Identifies the corresponding data storage location. Wherein, the second code bit is a set of location identifiers of data storage locations in the trackside device array, and the trackside device array is used to store a plurality of trackside device objects monitored by the interlocking area. Wherein, the second code point sequence is obtained by parsing the graphic element representation file. For example, when the trackside equipment array is a signal array, the signal array is used to store multiple signals monitored by the interlocking area. When the trackside equipment array is a station array, the station array is used to store the monitoring data of the interlocking area. Multiple stations.
可以理解的是,在本申请实施例中,站场图的更新过程可以在调度员工作站的调度员设备上进行,也可以在现地工作站的现地工作站设备上进行,当任一工作站设备接收到站场状态数据后,更新站场图,需要将更新后的站场图与其他工作站设备进行同步。其中,站场状态数据包含目标设备标识、与目标设备对应的至少一个目标站场图元对象的索引和每个目标站场图元对象对应的目标状态值,其中,目标站场图元对象的索引用于指示需要进行状态更新的目标站场图元对象在图元数组中的存储位置。It can be understood that, in this embodiment of the present application, the updating process of the station map can be performed on the dispatcher device of the dispatcher workstation, or can be performed on the local workstation device of the local workstation. When any workstation device receives After arriving at the station yard status data, to update the station yard map, it is necessary to synchronize the updated station yard map with other workstation equipment. Wherein, the station state data includes the target device identification, the index of at least one target station primitive object corresponding to the target device, and the target state value corresponding to each target station primitive object, wherein the target station primitive object's The index is used to indicate the storage location in the primitive array of the target site primitive object that needs to be updated.
在本步骤中,接收站场状态数据的过程可以有以下两种可选的实现方式:In this step, the process of receiving the station yard status data can be implemented in the following two optional ways:
在一种可选的实现方式中,该站场状态数据可以是联锁区的站场状态数据,如图4所示,该接收站场状态数据的过程可以是:在当前工作站设备为调度员工作站设备时,调度员工作站设备接收应用服务器发送的站场状态数据;In an optional implementation manner, the station yard status data may be the station yard status data of the interlocking area. As shown in FIG. 4 , the process of receiving the station yard status data may be: when the current workstation device is the dispatcher When the workstation equipment is used, the dispatcher workstation equipment receives the station yard status data sent by the application server;
在当前工作站设备为现地工作站设备时,判断现地工作站设备与应用服务器是否建立通信连接;若未建立,建立现地工作站设备与轨旁设备的连接,获取轨旁设备的站场状态数据;若建立,现地工作站设备判断是否存储获取的联锁区标识;When the current workstation device is the local workstation device, determine whether the local workstation device and the application server establish a communication connection; if not, establish the connection between the local workstation device and the trackside device, and obtain the station yard status data of the trackside device; 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-main interlocking area, receive the station status data sent by the application server, or determine that the interlocking area corresponding to the interlocking area identifier is the main interlocking area , and when the control mode of the local workstation equipment is the automatic train monitoring mode, receive the station yard status data sent by the application server, otherwise, the local workstation equipment establishes a connection with the trackside equipment to obtain the station yard status data of the trackside equipment;
若未存储,丢弃站场状态数据。If not stored, discard the station status data.
需要说明的是,在本申请实施例中,主联锁区为与现地工作站对应的联锁区,非主联锁区为与主联锁区相邻的联锁区。可以实现现地工作站设备与应用服务器或者轨旁设备直接交换站场状态数据,提高站场状态数据的获取灵活性,防止出现站场图无法更新的情况。It should be noted that, in the embodiment of the present application, the main interlocking area is the interlocking area corresponding to the local workstation, and the non-main interlocking area is the interlocking area adjacent to the main interlocking area. It can realize the direct exchange of station yard status data between local workstation equipment and application server or trackside equipment, improve the flexibility of station yard status data acquisition, and prevent the situation that the station yard map cannot be updated.
在另一种可选的实现方式中,该站场状态数据可以是区域控制器的站场状态数据,该接收站场状态数据的过程可以是:工作站设备接收应用服务器发送的站场状态数据,该工作站设备为现地工作站设备或者调度员工作站设备;解析站场状态数据,得到区域控制器标识;In another optional implementation manner, the station status data may be station status data of the regional controller, and the process of receiving the station status data may be: the workstation device receives the station status data sent by the application server, The workstation equipment is the local workstation equipment or the dispatcher workstation equipment; analyzes the station yard status data to obtain the regional controller identifier;
判断工作站设备是否存储区域控制器标识;Determine whether the workstation device stores the zone controller identifier;
若未存储,丢弃站场状态数据;若存储,提取至少一个目标站场图元对象的索引和与目标站场图元对象对应的目标状态值。If not stored, discard the site state data; if stored, extract the index of at least one target site map element object and the target state value corresponding to the target site map element object.
步骤202、在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组。
在本步骤中,在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组的过程可以有以下两种可选的实现方式:In this step, in the at least one primitive array stored when the initial station map is drawn, the process of searching for the target primitive array corresponding to the target device identifier based on the station state data can be implemented in the following two optional ways:
在一种可选的实现方式中,当目标设备为区域控制器时,则该过程包括:解析站场状态数据,获取区域控制器标识、与区域控制对应的至少一个目标站场图元对象的索引和每个目标站场图元对象目标状态值;根据绘制初始站场图时存储的区域控制器标识和区域控制器的索引之间的对应关系,确定与站场状态数据包含的区域控制器标识对应的目标区域控制器的索引;根据目标区域控制器的索引从绘制初始站场图时生成的至少一个逻辑区段数组中确定与目标区域控制器的索引对应的逻辑区段数组为目标逻辑区段数组。其中,目标站场图元对象为逻辑区段对象,该目标状态值可以为逻辑区段的占用状态的指示值,如目标状态值可以为1,表示目标逻辑区段的状态为被占用状态,目标状态值可以为0,表示目标逻辑区段的状态为未被占用状态。In an optional implementation manner, when the target device is an area controller, the process includes: parsing the station state data, obtaining an identifier of the area controller, and the identification of at least one target station area primitive object corresponding to the area control. The index and the target state value of each target station yard primitive object; according to the corresponding relationship between the area controller identifier and the index of the area controller stored when the initial station yard map was drawn, determine the area controller contained in the station yard state data. Identify the index of the corresponding target area controller; according to the index of the target area controller, determine the logical segment array corresponding to the index of the target area controller from the at least one logical segment array generated when the initial site map is drawn as the target logic Section array. Among them, the target station field graphic element object is a logical segment object, and the target state value can be an indication value of the occupied state of the logical segment. For example, the target state value can be 1, indicating that the state of the target logical segment is an occupied state. The target state value can be 0, indicating that the state of the target logical section is an unoccupied state.
在另一种可选的实现方式中,当目标设备为与联锁区对应的轨旁设备时,该过程包括:解析站场状态数据,得到与轨旁设备对应的联锁区标识、与联锁区对应的目标站场图元对象的索引和目标站场图元对象的目标状态值;根据绘制初始站场图时存储的联锁区标识和联锁区的索引之间的对应关系,确定与站场状态数据包含的联锁区标识对应目标联锁区的索引,根据目标联锁区的索引从绘制初始站场图时生成的至少一个轨旁设备数组中确定与目标联锁区的索引对应的轨旁设备数组为目标轨旁设备数组。其中,目标站场图元对象为轨旁设备对象。In another optional implementation manner, when the target device is a trackside device corresponding to the interlocking area, the process includes: parsing the station yard status data, obtaining an interlocking area identifier corresponding to the trackside device, and connecting with the trackside device. The index of the target station yard primitive object corresponding to the lock area and the target state value of the target station yard primitive object. The index of the target interlocking area corresponding to the interlocking area identification contained in the station yard status data, and the index of the target interlocking area is determined from at least one trackside device array generated when the initial station yard map is drawn according to the index of the target interlocking area The corresponding trackside device array is the target trackside device array. Among them, the target station yard primitive object is the trackside equipment object.
步骤203、确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识。Step 203: Determine the position identifier corresponding to the index of each target site and field graphic element object in the target graphic element array as the target position identifier.
在本步骤中,确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识的过程可以是:In this step, the process of determining the position identifier corresponding to the index of each target site and field primitive object in the target primitive array as the target position identifier may be:
若目标站场图元对象为逻辑区段对象,目标图元数组为目标逻辑区段数组,则该过程可以包括:利用每个逻辑区段对象的索引,在目标逻辑区段数组中确定与该逻辑区段对象的索引对应的位置标识,将该位置标识确定为目标位置标识。If the target site primitive object is a logical section object, and the target primitive array is a target logical section array, the process may include: using the index of each logical section object to determine, in the target logical section array, the The location identifier corresponding to the index of the logical segment object is determined as the target location identifier.
若目标站场图元对象为轨旁设备对象,目标图元数组为目标轨旁设备数组,该过程可以包括:利用每个轨旁设备对象的索引,在目标轨旁设备数组中确定与轨旁设备对象的索引对应的位置标识,将该位置标识确定为目标位置标识。If the target station yard primitive object is the trackside device object, and the target primitive array is the target trackside device array, the process may include: using the index of each trackside device object to determine the trackside device in the target trackside device array. The location identifier corresponding to the index of the device object is determined as the target location identifier.
步骤204、将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图。Step 204 : Update the state value of the target site graphic element object corresponding to each target location identifier to the target state value, and display the updated site map.
在本步骤中,由于目标站场图元对象为逻辑区段对象或者轨旁设备对象,将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图的过程可以有以下两种可选的实现方式:In this step, since the target station yard graphic element object is a logical section object or a trackside equipment object, the state value of the target station yard graphic element object corresponding to each target location identifier is updated to the target state value, and the updated display The process of the site map can have the following two optional implementations:
在一种可选的实现方式中,该过程可以包括:确定与逻辑区段对象的索引对应的逻辑区段对象的目标状态值,将与逻辑区段对象的索引对应的目标位置标识关联的逻辑区段对象的状态值更新为目标状态值,显示更新后的站场图。In an optional implementation manner, the process may include: determining a target state value of the logical segment object corresponding to the index of the logical segment object, and a logic for associating the target location identifier corresponding to the index of the logical segment object The status value of the segment object is updated to the target status value, and the updated site map is displayed.
在另一种可选的实现方式中,该过程可以包括:确定与轨旁设备对象的索引对应的轨旁设备对象的目标状态值,将与轨旁设备对象的索引对应的目标位置标识关联的轨旁设备对象的状态值更新为目标状态值,显示更新后的站场图。In another optional implementation manner, the process may include: determining a target state value of the trackside device object corresponding to the index of the trackside device object, and associating the target position identifier corresponding to the index of the trackside device object with a The state value of the trackside equipment object is updated to the target state value, and the updated yard map is displayed.
示例的,假设绘制初始站场图时,解析到某一区域控制器中,第一个联锁区A,将联锁区A的索引确定为1,存储联锁区A与联锁区的索引1的对应关系,解析到第二个联锁区B,将联锁区B的索引确定为2,存储联锁区B与联锁区的索引2的对应关系。As an example, suppose that when the initial station map is drawn, it is resolved to a certain area controller, the first interlocking area A, the index of the interlocking area A is determined as 1, and the indexes of the interlocking area A and the interlocking area are stored. The corresponding relationship of 1 is resolved to the second interlocking area B, the index of the interlocking area B is determined as 2, and the corresponding relationship between the interlocking area B and the index 2 of the interlocking area is stored.
建立两个树形结构,将与联锁区A对应的多个信号机,按照第二码位顺序存储在联锁区A的信号机数组a中,将与联锁区B对应的多个信号机,按照第二码位顺序存储在联锁区B的信号机数组b中,生成并显示初始站场图。Establish two tree structures, store the multiple signals corresponding to the interlocking area A in the signal array a of the interlocking area A according to the second code bit sequence, and store the multiple signals corresponding to the interlocking area B in the signal array a of the interlocking area A. The signal generator is stored in the signal generator array b of the interlocking area B according to the second code bit sequence, and the initial station map is generated and displayed.
调度员工作站设备接收到应用服务器发送的站场状态数据后,解析得到该站场状态数据中与轨旁设备对应的联锁区标识为A,确定该调度员工作站存储有该联锁区标识A。进一步的,确定该站场状态数据中的目标信号机对象的索引为A1和该目标信号机的目标状态值,根据绘制初始站场图时存储的联锁区标识和联锁区的索引之间的对应关系,确定与目标联锁区A对应的联锁区的索引1为目标联锁区的索引,根据目标联锁区的索引1从绘制初始站场图时生成的两个联锁区的多个信号机数组a和信号机数组b中确定与目标联锁区的索引1对应联锁区的目标信号机数组a,在该目标信号机数组a中,查找目标信号机图元的索引A1对应的位置标识为目标位置标识,将与该目标位置标识对应的目标信号机的状态值更新为与目标信号机的索引A1对应的目标信号机的目标状态值,显示更新后的站场图。After the dispatcher workstation equipment receives the station yard status data sent by the application server, it parses and obtains the interlocking area identifier A corresponding to the trackside equipment in the station yard status data, and determines that the dispatcher workstation stores the interlocking area identifier A. . Further, it is determined that the index of the target signal object in the station yard state data is A1 and the target state value of the target signal machine, according to the difference between the interlocking zone identification and the index of the interlocking zone stored when the initial station yard map is drawn. The corresponding relationship of The target signal array a of the interlocking area corresponding to the index 1 of the target interlocking area is determined in the plurality of signal arrays a and b. In the target signal array a, the index A1 of the target signal primitive is searched. The corresponding position identification is the target position identification, the state value of the target signal corresponding to the target position identification is updated to the target status value of the target signal corresponding to the index A1 of the target signal, and the updated site map is displayed.
综上所述,本申请实施例提供的站场图显示方法,可以接收站场状态数据;在绘制初始站场图时存储的至少一个图元数组中,基于站场状态数据查找与目标设备标识对应的目标图元数组;确定目标图元数组中与每个目标站场图元对象的索引对应的位置标识为目标位置标识;将与每个目标位置标识对应的目标站场图元对象的状态值更新为目标状态值,显示更新后的站场图,降低了站场图显示过程中的数据存储量和处理量,节约了数据存储空间,提高了站场图的更新效率。To sum up, the method for displaying a site map provided by the embodiments of the present application can receive site state data; in at least one graphic element array stored when the initial site map is drawn, search and target device identification based on the site state data Corresponding target graphic element array; determine the position identifier corresponding to the index of each target site graphic element object in the target graphic element array as the target location identifier; set the state of the target site graphic element object corresponding to each target location identifier The value is updated to the target state value, and the updated site map is displayed, which reduces the amount of data storage and processing in the process of displaying the site map, saves the data storage space, and improves the update efficiency of the site map.
图5是根据一示例性实施例示出的一种计算机系统,该计算机系统包括中央处理单元(CPU)401,其可以根据存储在只读存储器(ROM)402中的程序或者从存储部分加载到随机访问存储器(RAM)403中的程序而执行各种适当的动作和处理。在RAM403中,还存储有系统操作所需的各种程序和数据。CPU401、ROM402以及RAM403通过总线404彼此相连。输入/输出(I/O)接口405也连接至总线404。FIG. 5 shows a computer system according to an exemplary embodiment, the computer system includes a central processing unit (CPU) 401, which can be loaded into a random device according to a program stored in a read only memory (ROM) 402 or from a storage part Various appropriate actions and processes are performed by accessing the program in the memory (RAM) 403 . In the
以下部件连接至I/O接口405:包括键盘、鼠标等的输入部分406;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分;包括硬盘等的存储部分408;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分409。通信部分409经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至I/O接口405。可拆卸介质411,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器410上,以便于从其上读出的计算机程序根据需要被安装入存储部分408。The following components are connected to the I/O interface 405: an
特别地,根据本申请的实施例,上文图2至图4描述的过程可以被实现为计算机软件程序。例如,本申请的各个实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机程序被中央处理单元(CPU)401执行时,执行本申请的系统中限定的上述功能。In particular, according to embodiments of the present application, the processes described above with respect to FIGS. 2 to 4 may be implemented as computer software programs. For example, various embodiments of the present 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 method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion, and/or installed from a removable medium. When the computer program is executed by the central processing unit (CPU) 401, the above-described functions defined in the system of the present application are executed.
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The 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 a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber 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 that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks 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 is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。所描述的单元或模块也可以设置在处理器中,例如,可以描述为:一种处理器包括接收模块、确定模块和更新模块。其中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定,例如,接收模块还可以被描述为“用于接收站场状态数据的接收模块”。The units involved in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. The described unit or module can also be provided in the processor, for example, it can be described as: a processor includes a receiving module, a determining module and an updating module. Wherein, the names of these units or modules do not constitute a limitation on the units or modules themselves, for example, the receiving module may also be described as a "receiving module for receiving station and field status data".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现如上述实施例中描述的站场图元显示方法。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above embodiments; it may also exist alone without being assembled into the electronic device. middle. The above computer readable medium carries one or more programs, and when the one or more programs are executed by an electronic device, the electronic device implements the method for displaying station and yard graphic elements as described in the above embodiments.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011402262.2A CN114595347A (en) | 2020-12-04 | 2020-12-04 | Site map display method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011402262.2A CN114595347A (en) | 2020-12-04 | 2020-12-04 | Site map display method, equipment 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 | Site map display method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114595347A (en) |
Cited By (2)
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 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582077A (en) * | 2009-06-24 | 2009-11-18 | 上海可鲁系统软件有限公司 | Spatial index method of two-dimension vector graphics and device thereof |
CN105426372A (en) * | 2014-09-17 | 2016-03-23 | 高德软件有限公司 | Electronic map data manufacturing and updating method and apparatus |
CN109849974A (en) * | 2018-12-27 | 2019-06-07 | 交控科技股份有限公司 | Quick positioning search method for refreshing and device based on rail traffic yard figure |
CN110032613A (en) * | 2019-04-16 | 2019-07-19 | 重庆市地理信息中心 | A kind of space-time data integrated management method based on chain type storage |
CN111382483A (en) * | 2018-12-29 | 2020-07-07 | 比亚迪股份有限公司 | Station yard graph engineering method, device and equipment |
CN111897503A (en) * | 2020-06-28 | 2020-11-06 | 通号城市轨道交通技术有限公司 | A display control method and display control terminal |
-
2020
- 2020-12-04 CN CN202011402262.2A patent/CN114595347A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582077A (en) * | 2009-06-24 | 2009-11-18 | 上海可鲁系统软件有限公司 | Spatial index method of two-dimension vector graphics and device thereof |
CN105426372A (en) * | 2014-09-17 | 2016-03-23 | 高德软件有限公司 | Electronic map data manufacturing and updating method and apparatus |
CN109849974A (en) * | 2018-12-27 | 2019-06-07 | 交控科技股份有限公司 | Quick positioning search method for refreshing and device based on rail traffic yard figure |
CN111382483A (en) * | 2018-12-29 | 2020-07-07 | 比亚迪股份有限公司 | Station yard graph engineering method, device and equipment |
CN110032613A (en) * | 2019-04-16 | 2019-07-19 | 重庆市地理信息中心 | A kind of space-time data integrated management method based on chain type storage |
CN111897503A (en) * | 2020-06-28 | 2020-11-06 | 通号城市轨道交通技术有限公司 | A display control method and display control terminal |
Cited By (2)
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 |
---|---|---|
CN112164272B (en) | Signal simulation system and simulation method of tramcar signal system | |
US12145643B2 (en) | CTC3.0-based locomotive decoupling and coupling plan automatic generation and execution method | |
CN106335526B (en) | Based on patterned Locomotive Running Monitor System station yard data production method and system | |
CN114595347A (en) | Site map display method, equipment and storage medium | |
CN104318348A (en) | Management system for relay protection device | |
CN106672022B (en) | A kind of rail traffic interlocking table generating method and system | |
CN111666433B (en) | Railway four-electrical engineering BIM model Web lightweight method | |
CN112560130A (en) | H5 drawing display method based on CAD (computer-aided design) drawing data of track traffic trackside equipment | |
US9576505B2 (en) | Reorganizing display of a railway timetable diagram | |
CN107215361A (en) | Time-table display methods and device based on Locomotive Running Monitor System | |
CN115837928A (en) | Regional multi-line scheduling system based on cloud architecture and train thereof | |
KR101352216B1 (en) | Apparatus for Simulating Train Operation Based on Pattern and System for Simulating Train Operation Including That Apparatus | |
CN104442929A (en) | Complex network structure based railway station technical operation planning method | |
CN106428125B (en) | Navigation-type operation pathway data organization method based on GIS map and system | |
Galadíková et al. | Simulation-based methods to support the real-time management of railways nodes | |
Lordieck et al. | Microscopic railway capacity assessment of heterogeneous traffic under real-life operational conditions | |
CN118220276A (en) | Train number calibration method and device, computing equipment and storage medium | |
Cui et al. | Multi-scale simulation in railway planning and operation | |
CN115904764B (en) | Version management method and device for wireless block center | |
CN110143223A (en) | A kind of 3 D monitoring O&M method of rail traffic | |
CN112115309B (en) | Automatic conversion method for railway engineering drawings and electronic equipment | |
CN113726549B (en) | Simulation method and device for computer interlocking system of high-speed railway and storage medium | |
CN112632200A (en) | Method and system for generating urban rail transit electronic map | |
CN116061999B (en) | Agent train management method, device, equipment and medium for linked train grouping | |
CN114212127B (en) | Full-automatic verification method, equipment and medium for urban rail signal approaching locking section |
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 |