CN113724571A - Generation method and generation device of rail transit station map and electronic equipment - Google Patents

Generation method and generation device of rail transit station map and electronic equipment Download PDF

Info

Publication number
CN113724571A
CN113724571A CN202111296784.3A CN202111296784A CN113724571A CN 113724571 A CN113724571 A CN 113724571A CN 202111296784 A CN202111296784 A CN 202111296784A CN 113724571 A CN113724571 A CN 113724571A
Authority
CN
China
Prior art keywords
json data
map
station
primitive
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111296784.3A
Other languages
Chinese (zh)
Inventor
张丹丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202111296784.3A priority Critical patent/CN113724571A/en
Publication of CN113724571A publication Critical patent/CN113724571A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses a generation method of a rail transit station map, a generation device thereof and electronic equipment, wherein the generation method of the rail transit station map comprises the following steps: acquiring electronic map information of a target track line, and converting the electronic map information into map JSON data; acquiring JSON data of a basic graphic primitive; and generating a station yard graph of the target track line according to the map JSON data and the basic primitive JSON data. By adopting the generation method, the interconnection and intercommunication of data among different information platforms can be realized, and the problems of low drawing efficiency, long modification period and high possibility of errors caused by manual drawing of the station diagram are solved.

Description

Generation method and generation device of rail transit station map and electronic equipment
Technical Field
The invention relates to the technical field of rails, in particular to a method and a device for generating a rail transit station map and electronic equipment.
Background
With the rapid development of information communication technologies featuring digitization, networking and integration, and the increasing popularization of applications such as internet and cloud computing, an integrated information sharing platform is gradually formed by an integrated monitoring system and ATS (Automatic Train Supervision) system software. However, since the integrated monitoring system and the signal system are respectively provided for different manufacturers, data of different systems cannot be interconnected and communicated, and a page cannot be displayed across platforms. In addition, for the drawing of station maps in the rail transit industry, professional technicians usually adopt software or programming languages to manually draw or control codes, but the method has the problems of low drawing efficiency, low refreshing efficiency and untimely refreshing, and when the design changes such as lines, switches and the like are changed, a large amount of modification is needed, the modification period is long, and errors are easy to occur.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, one purpose of the present invention is to provide a method for generating a rail transit station diagram, which can implement interconnection and intercommunication of data between different information platforms, and solve the problems of low drawing efficiency, long modification period and easy error caused by manually drawing the station diagram.
The second purpose of the invention is to provide a generating device of a rail transit station map.
It is a further object of the present invention to provide a computer storage medium.
Another object of the present invention is to provide an electronic device.
In order to solve the above problem, an embodiment of a first aspect of the present invention provides a method for generating a rail transit station map, including: acquiring electronic map information of a target track line, and converting the electronic map information into map JSON data; acquiring JSON data of a basic graphic primitive; and generating a station yard graph of the target track line according to the map JSON data and the basic primitive JSON data.
According to the method for generating the rail transit station map, disclosed by the embodiment of the invention, JSON data is taken as a light-weight data exchange format, electronic map information is converted into map JSON data and basic primitive JSON data is obtained, so that the JSON data can be taken as the information exchange format among different information platforms, the interconnection and intercommunication of data among different information platforms are realized, the station map of a target rail line is generated by the map JSON data and the basic primitive JSON data, and the problems of low drawing efficiency, long modification period and easiness in errors caused by manual drawing of the station map are solved.
In some embodiments, the electronic map information includes at least element attribute compilation information, line information, location point information, and annunciator information; the converting the electronic map information into map JSON data comprises: generating an element code mapping JSON table according to the element attribute compilation information; generating line information JSON data according to the line information; generating positioning point JSON data according to the positioning point information; generating signal machine JSON data according to the signal machine information; and taking the element code mapping JSON table, the line information JSON data, the positioning point JSON data and the semaphore JSON data as the map JSON data.
In some embodiments, generating a yard graph of the target track line from the map JSON data and the base primitive JSON data comprises: preloading map JSON data and the basic graphic element JSON data to a station yard graph page; creating a station yard scene on a station yard graph page; analyzing the map JSON data to obtain an actual scene object of the target track line, and adding a primitive instance corresponding to the actual scene object of the target track line to the station scene; and configuring attributes of primitive instances in the station scene according to the map JSON data to obtain an initial station map of the target track line.
In some embodiments, parsing the map JSON data to obtain an actual scene object of the target track line, and adding a primitive instance corresponding to the actual scene object of the target track line to the yard scene includes: determining whether a primitive instance corresponding to the actual scene object exists in the station yard scene or not according to the line information JSON data, the positioning point JSON data and the semaphore JSON data; if not, generating a primitive instance corresponding to the actual scene object according to the basic primitive JSON data; adding the primitive instance to the yard scene.
In some embodiments, configuring attributes of primitive instances in the yard scene according to the map JSON data to obtain an initial yard graph of the target track line comprises: performing attribute configuration and structure configuration on each graphic primitive instance in the station yard scene according to the line information JSON data, the positioning point JSON data and the semaphore JSON data; and modifying the configured primitive instances in the site scene according to the positioning point JSON data to obtain the initial site graph.
In some embodiments, the generating method further comprises: detecting that the station yard graph page is reloaded; acquiring the latest map JSON data of the target track line; and modifying the attribute of the corresponding primitive instance in the initial station field graph according to the JSON data of the latest map.
In some embodiments, the generating method further comprises: receiving state instruction JSON data of the target track line pushed by WebSocket; and updating the attribute of the corresponding primitive instance in the station graph according to the state instruction JSON data.
An embodiment of a second aspect of the present invention provides a generation apparatus for a rail transit station map, where the generation apparatus includes: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring electronic map information of a target track line and converting the electronic map information into map JSON data; the second acquisition module is used for acquiring JSON data of the basic graphic primitive; and the generation module is used for generating the station yard graph of the target track line according to the map JSON data and the basic primitive JSON data.
According to the generation device of the rail transit station map, disclosed by the embodiment of the invention, JSON data is taken as a light-weight data exchange format, electronic map information is converted into map JSON data and basic primitive JSON data is obtained, so that the JSON data can be taken as the information exchange format among different information platforms, the interconnection and intercommunication of data among different information platforms are realized, the station map of a target rail line is generated by the map JSON data and the basic primitive JSON data, and the problems of low drawing efficiency, long modification period and easiness in errors caused by manual drawing of the station map are solved.
A third embodiment of the present invention provides a computer storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for generating a rail transit yard map according to the above-mentioned embodiments.
A fourth aspect of the present invention provides an electronic device, including: at least one processor; a memory communicatively coupled to at least one of the processors; the storage is stored with a computer program executable by at least one processor, and the at least one processor implements the method for generating the rail transit stop map according to the above embodiment when executing the computer program.
According to the electronic equipment provided by the embodiment of the invention, the processor executes the generation method of the rail transit station map provided by the embodiment, the JSON data is taken as a light-weight data exchange format, the electronic map information is converted into the map JSON data, and the basic primitive JSON data is obtained, so that the JSON data can be taken as the information exchange format among different information platforms, the interconnection and intercommunication of data among different information platforms are realized, the station map of the target rail line is generated by the map JSON data and the basic primitive JSON data, and the problems of low drawing efficiency, long modification period and high possibility of errors caused by manual drawing of the station map are solved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method of generating a rail transit yard map according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a format framework for base primitive JSON data according to one embodiment of the invention;
FIG. 3 is a schematic diagram of electronic map information being converted into map JSON data according to one embodiment of the present invention;
fig. 4 is a flowchart of a method of generating a rail transit yard map according to another embodiment of the present invention;
FIG. 5 is a schematic illustration of a rail transit yard view according to one embodiment of the present invention;
fig. 6 is a block diagram of a structure of a generation apparatus of a rail transit station map according to an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present invention.
Reference numerals:
a generation device 10 of a rail transit station map; an electronic device 20;
a first acquisition module 1; a second obtaining module 2; a generating module 3; a processor 4; a memory 5.
Detailed Description
Embodiments of the present invention will be described in detail below, the embodiments described with reference to the drawings being illustrative, and the embodiments of the present invention will be described in detail below.
In order to solve the above problems, an embodiment of a first aspect of the present invention provides a method for generating a rail transit station map, which can implement interconnection and intercommunication of data between different information platforms, and solve the problems of low drawing efficiency, long modification period and high error probability caused by manually drawing the station map.
Referring to fig. 1, a method for generating a rail transit yard map according to an embodiment of the present invention is described, and as shown in fig. 1, the embodiment of the present invention takes an electronic device for drawing a yard map, which is used as an example, and the generation method includes at least steps S1 to S3.
And step S1, acquiring electronic map information of the target track line, and converting the electronic map information into map JSON data.
The target track route can be understood as a track traffic route to be observed by track related personnel. The electronic map information is information such as spatial distribution, connection, and development change state of various elements on the target track line, and includes information such as a section of the entire line, a switch, a traffic signal, a station name, a platform, and a screen door, for example.
Specifically, Based on a CBTC (Communication Based Train Control System), bidirectional Communication between the Train and the ground is realized, which plays a role in monitoring operation and maintenance in track application, and the electronic device for drawing the station yard graph can acquire electronic map information of a target track line by accessing the CBTC System, so as to provide basic data support for the generation of each element in a subsequent station yard graph and the operation condition of a Train in the station yard graph. Furthermore, because the platforms of the traditional integrated monitoring system and the ATS system are different, the data transmission and the protocol are different, manual conversion or independent coding is needed when data is transmitted between different platforms, and the labor cost is high, therefore, based on the characteristics of readability and simplicity of JSON data, the JSON data can be identified and analyzed by any programming language.
And step S2, acquiring JSON data of the basic graphic primitive.
Wherein a base primitive may be understood as a graphic element of various elements on the target track line.
In an embodiment, when generating the station yard graph, each element on the target track line is provided with a respective display rule, for example, a segment is a thin and long line, and an envelope curve is required for speed limiting and the envelope curve is yellow; the signal machine comprises a base, a lamp post and lamp positions, different red, yellow and green are correspondingly displayed on different lamp positions under different conditions, so that in order to quickly generate a station yard graph, basic primitives of each element are constructed in advance according to a primitive design specification, basic primitive JSON data are generated by all constructed basic primitives and stored in electronic equipment, and the station yard graph can be used in the subsequent drawing process.
For example, as shown in fig. 2, the total number of basic primitives required in the site map is nine, which are: the system comprises a section primitive, a turnout and control lamp primitive, a positioning point primitive, a platform and platform door primitive, a station yard information primitive, a signal machine primitive, a train number window primitive, a rain and snow mode primitive and a control right state primitive. As can be seen from fig. 2, the nine basic primitives have both common attributes, such as ID, attribute interface, state attribute, text, position, rotation, scaling, and other attributes, and self attributes, such as the switch primitive having a forward switch, a reverse switch, and a dependency relationship between each basic primitive, such as the platform gate primitive attached to a certain section ID, the annunciator primitive attached to a certain positioning point ID, and the like, and thus, the basic primitive JSON data is respectively constructed based on the attributes of the nine basic primitives, and is stored as static resources in the electronic device, so as to support the use of each system.
Step S3, generating a yard graph of the target track line according to the map JSON data and the basic primitive JSON data, that is, based on the basic primitive JSON data, the generation method of the embodiment of the present invention does not need an editor, and can dynamically generate the yard graph of the target track line by importing the map JSON data of the target track line, thereby improving the work efficiency, reducing the labor cost, and facilitating the change and maintenance of the yard graph.
According to the method for generating the rail transit station map, disclosed by the embodiment of the invention, JSON data is taken as a light-weight data exchange format, electronic map information is converted into map JSON data and basic primitive JSON data is obtained, so that the JSON data can be taken as the information exchange format among different information platforms, the interconnection and intercommunication of data among different information platforms are realized, the station map of a target rail line is generated by the map JSON data and the basic primitive JSON data, and the problems of low drawing efficiency, long modification period and easiness in errors caused by manual drawing of the station map are solved.
In some embodiments, the electronic map information includes at least element attribute formulation information, line information, anchor point information, and semaphore information.
Specifically, the element attribute preparation information may be understood as preparation description of information such as name abbreviations and attribute numbers of various elements on the target track line, for example, the abbreviation of a virtual segment is T, and the attribute number is 0X 01; switch is abbreviated as D and has attribute number 0X 04. The attribute numbers are used as unique type identifiers of the elements in the site map, so that the attribute numbers are used for quickly indexing the JSON data of the basic graphic elements corresponding to the elements in the site map, and the corresponding attribute interfaces can be called conveniently. The line information includes configuration information such as a line number, a line name, a version number of electronic map information, and a maximum allowable speed of the line. The positioning point information is a basic point for determining the specific coordinates of each basic primitive JSON data in the station diagram, and comprises three-dimensional coordinate information, key point attributes, ID and length of uplink and downlink link points, ID and attribute of an affiliated section, ID and attribute of a link turnout, ID and name of a platform, door opening side information, ID of a platform door, ID of an emergency closing button and the like. The annunciator information comprises information such as an annunciator number, a positioning point ID, attributes and directions.
Further, as shown in fig. 3, an element code mapping JSON table is generated according to element attribute compilation information, so as to provide a quick index service for the attribute numbers and the JSON data of the basic primitive in the site map; generating line information JSON data according to the line information such as line number, name, version number and the like; generating positioning point JSON data according to the positioning point information, for example, generating coordinate point JSON data according to the three-dimensional coordinate information, and generating section JSON data, key point attribute and turnout ID through key point attribute and section ID in the positioning point information to generate turnout JSON data, key point attribute and platform ID, door opening side, platform door ID, emergency closing button ID, kilometer post and other information to generate platform JSON data; generating signal machine JSON data according to the signal machine information; and finally, taking the element code mapping JSON table, the line information JSON data, the positioning point JSON data and the semaphore JSON data as map JSON data, and storing the map JSON data, the positioning point JSON data and the semaphore JSON data as static resources in the electronic equipment to provide basic data support for automatic generation of a subsequent station field diagram.
In some embodiments, by preloading map JSON data and base primitive JSON data into site map pages, error conditions are prevented during asynchronous loading; the method comprises the steps of creating a station scene on a station scene page, for example, generating a blank 2D scene, namely the station scene, based on JS or an automatic drawing model, executing an initialization statement of the station scene, if the station scene is correspondingly zoomed when a browser window changes, initializing JSON data of basic primitives which cannot be dragged, edited and clicked by default, initializing a right-click menu, initializing WebSocket subscription information of the JSON data of each basic primitive, and the like, so that the station scene is built based on a WEB end, the display and operation of a subsequent station scene can be realized only by a browser, a PC end or a mobile end can be easily embedded, cross-platform communication and display are realized, and the working efficiency of a manager is improved; analyzing the map JSON data to obtain an actual scene object of the target track line, wherein the actual scene object can be understood as the actual state of elements and elements in an actual scene presented on the target track line at the current moment, and adding a primitive example corresponding to the actual scene object of the target track line to a station yard scene, for example, the actual scene presented on the target track line is that a train is in a door-opening state and stops at a station platform A, the actual scene object is the train, the door-opening and the station platform, and the primitive example is generated according to basic primitive JSON data respectively corresponding to the train, the door-opening and the station platform and is added to the station yard scene; and configuring attributes of primitive instances in the station scene according to the JSON data of the map to obtain an initial station map of the target track line. Therefore, basic primitive JSON data is pre-loaded on a station yard graph page, corresponding primitive instances are generated in a station yard scene according to the map JSON data, attributes of the primitive instances are configured, an initial station yard graph is automatically generated, manufacturing time is shortened, working efficiency is improved, cross-platform display can be achieved, and limitation of different clients is avoided.
In addition, based on the display and operation of the station yard graph on the WEB side, the station yard graph generated by the embodiment of the invention can realize the function of projecting a large screen only by one screen splitter without dividing the station yard graph and carrying out any setting by a management and management person, and the operation is simple.
In some embodiments, whether a primitive instance corresponding to an actual scene object exists in a station yard scene is determined according to line information JSON data, positioning point JSON data and semaphore JSON data; if not, generating a primitive instance corresponding to the actual scene object according to the JSON data of the basic primitive; the primitive instance is added to the yard scene. Therefore, the problem of repeated increase of primitive examples in the station scene is avoided, and the manufacturing efficiency is improved.
For example, by taking a segment as an example, traversing segment JSON data in the map JSON data, querying whether a segment instance corresponding to the segment JSON data already exists in a site scene according to an ID provided by the segment JSON data, and if so, not adding the segment instance corresponding to the segment JSON data; and if not, generating a new segment instance corresponding to the JSON data of the segment based on the JSON data of the basic primitive to be added into the station scene.
In some embodiments, attribute configuration and structure configuration are performed on each primitive instance in a yard scene according to line information JSON data, positioning point JSON data and semaphore JSON data, for example, taking a segment as an example, according to an attribute provided by the segment JSON data, an ID is bound to a segment instance added in the yard scene, the length of the segment instance in the yard scene is set, coordinates of the segment instance in the yard scene are calculated according to uplink and downlink segment IDs, and initialization operation is performed on attributes such as a segment number of the segment instance, so that an actual scene on a target track line can be roughly displayed in the yard scene; and then, correcting the primitive examples in the configured station yard scene according to the positioning point JSON data to obtain an initial station yard graph, specifically, because the three-dimensional coordinate information defined by the positioning point JSON data in the map JSON data represents the actual geographic position, but optimized display is needed for displaying all elements in the station yard scene, such as shortening a longer section, changing a curve into a straight display, and the like, so that the actual geographic position of the map JSON data is converted based on an algorithm rule, and each primitive example in the station yard scene is traversed, so that the converted coordinate values are assigned to the corresponding primitive examples, and the accuracy of the initial station yard graph can be improved.
In some embodiments, detecting reloading of the site map page, obtaining the latest map JSON data of the target track line, and modifying the attribute of the corresponding primitive instance in the initial site map according to the latest map JSON data, that is, when the site map page is closed and restarted, instead of displaying the primitive instance when the site map page is closed, the latest map JSON data of the target track line, that is, the real-time state of each element on the target track line, is synchronized to the corresponding primitive instance in the initial site map, so as to implement state synchronization between different devices.
Specifically, when a station yard graph page is loaded, a WEB end actively accesses the latest map JSON data obtained by inquiring each information platform through the electronic equipment by Ajax, quickly indexes each primitive example of an initial station yard graph through equipment ID, type coding, state coding and the like, and transmits the state value of each primitive example through a corresponding attribute interface to modify the attribute of each primitive example, so that the state synchronization among different equipment is realized.
In some embodiments, state instruction JSON data of a target track line pushed by WebSocket is received; the method comprises the steps of updating attributes of corresponding primitive instances in a station field graph according to JSON data of a state instruction, namely, after an initial station field graph is generated, pushing actual states corresponding to elements in a target track circuit to a WEB end by adopting a WebSocket mechanism so as to update the initial station field graph in real time, wherein the primitive instances are added, deleted and modified in position and the like, so that dynamic refreshing of primitive colors, lines, texts and other information can be realized without electronic equipment polling, and real-time monitoring and operating functions of the station field graph are realized.
For example, the initial station yard graph is initialized and synchronized in state, and is in a standby state to wait for state instruction JSON data pushed by the WebSocket, if the vehicle runs to an instruction of a certain positioning point, the state instruction JSON data pushed by the WebSocket is analyzed to query whether the vehicle ID enters the station yard graph, if not, a vehicle sub-window primitive instance is newly built based on the vehicle sub-window primitive JSON data, the JSON data of the map JSON data about the vehicle sub-window is correspondingly transmitted to the vehicle sub-window primitive instance to complete initialization and display in the station yard graph, and the actual coordinate of the vehicle sub-window primitive instance in the station yard graph is queried according to the positioning point ID pushed by the state instruction JSON data to modify the coordinate of the vehicle sub-window primitive instance to a new coordinate, so that the function of accurately positioning the vehicle on the station yard graph is completed.
The following describes an example of a method for generating a rail transit yard map according to an embodiment of the present invention with reference to fig. 4, and the specific steps are as follows.
In step S4, map JSON data is acquired.
And step S5, making all basic primitives required by the station yard graph, and converting the basic primitives into basic primitive JSON data for storage.
At step S6, an HTJS yard scene is created on the yard map page.
And step S7, analyzing the JSON data of the map, and adding the primitive instances to the station scene.
Step S8, binding the primitive instance ID and initializing the attributes, that is, performing attribute configuration and structure configuration on each primitive instance in the yard scene.
And step S9, determining and modifying the position of the primitive instance in the station yard graph according to the algorithm rule, namely modifying the primitive instance in the configured station yard scene according to the positioning point JSON data.
And step S10, initializing the state and the attribute of each primitive instance, namely modifying the attribute of the corresponding primitive instance in the initial site map according to the JSON data of the latest map.
And step S11, the WebSocket pushes JSON data of the state instruction, and an attribute interface corresponding to each primitive instance is called to update the attributes of the primitive instances in real time.
For example, fig. 5 is a partial schematic diagram of a station yard map dynamically generated by the method according to the embodiment of the present invention, and it can be seen from fig. 5 that at the current time, two vehicles are shown in the station yard map, wherein one vehicle is in a state of opening a door and stops at the starting point of a line, and operation is not started; the other vehicle is normally operated, is in the parking state and is parked on the section T0106, and the platform door of the station A is in the open state at the moment.
In summary, according to the generation method of the rail transit station map provided by the embodiment of the invention, the station map of the target rail line can be dynamically generated through the map JSON data and the basic primitive JSON data, cross-platform display is realized, the data is normalized and tidied, the manufacturing time is shortened, the working efficiency is improved, and the states of each signal device are refreshed and displayed in real time.
In a second embodiment of the present invention, a generating device of a rail transit station yard chart is provided, as shown in fig. 6, the generating device 10 includes a first acquiring module 1, a second acquiring module 2, and a generating module 3.
The first acquisition module 1 is used for acquiring electronic map information of a target track line and converting the electronic map information into map JSON data; the second obtaining module 2 is used for obtaining JSON data of a basic graphic primitive; and the generation module 3 is used for generating a station yard graph of the target track line according to the map JSON data and the basic primitive JSON data.
It should be noted that a specific implementation manner of the apparatus 10 for generating a rail transit station map according to the embodiment of the present invention is similar to a specific implementation manner of the method for generating a rail transit station map according to any of the above embodiments of the present invention, and please refer to the description of the method part specifically, and details are not repeated here in order to reduce redundancy.
According to the generation device 10 of the rail transit station map, provided by the embodiment of the invention, JSON data is taken as a light-weight data exchange format, electronic map information is converted into map JSON data, and basic primitive JSON data is obtained, so that the JSON data can be taken as an information exchange format between different information platforms, the interconnection and intercommunication of data between different information platforms are realized, the station map of a target rail line is generated by the map JSON data and the basic primitive JSON data, and the problems of low drawing efficiency, long modification period and easiness in errors caused by manual drawing of the station map are solved.
A third embodiment of the invention provides a computer storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for generating a rail transit yard map of the above-described embodiment.
In a fourth embodiment of the present invention, an electronic device 20 is provided, as shown in fig. 7, including at least one processor 4 and a memory 5 communicatively connected to the at least one processor 4.
The memory 5 stores a computer program executable by the at least one processor 4, and the at least one processor 4 implements the method for generating the rail transit stop map provided by the above embodiment when executing the computer program.
It should be noted that a specific implementation manner of the electronic device 20 according to the embodiment of the present invention is similar to a specific implementation manner of the method for generating the rail transit yard map according to any of the above embodiments of the present invention, and for details, reference is specifically made to the description of the method portion, and in order to reduce redundancy, details are not described here again.
According to the electronic device 20 of the embodiment of the present invention, the processor 4 executes the method for generating the rail transit station map provided in the above embodiment, and converts the electronic map information into map JSON data and obtains basic primitive JSON data based on JSON data as a lightweight data exchange format, so that JSON data can be used as an information exchange format between different information platforms, thereby implementing interconnection and intercommunication of data between different information platforms, and further generating the station map of the target rail line by using the map JSON data and the basic primitive JSON data, thereby solving the problems of low drawing efficiency, long modification period and easy error caused by manually drawing the station map.
In the description of this specification, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of custom logic functions or processes, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A generation method of a rail transit station map is characterized by comprising the following steps:
acquiring electronic map information of a target track line, and converting the electronic map information into map JSON data;
acquiring JSON data of a basic graphic primitive;
and generating a station yard graph of the target track line according to the map JSON data and the basic primitive JSON data.
2. The generation method of a rail transit stop map according to claim 1,
the electronic map information at least comprises element attribute compiling information, line information, positioning point information and annunciator information;
the converting the electronic map information into map JSON data comprises:
generating an element code mapping JSON table according to the element attribute compilation information;
generating line information JSON data according to the line information;
generating positioning point JSON data according to the positioning point information;
generating signal machine JSON data according to the signal machine information;
and taking the element code mapping JSON table, the line information JSON data, the positioning point JSON data and the semaphore JSON data as the map JSON data.
3. The method for generating the rail transit station map according to claim 2, wherein generating the station map of the target rail line according to the map JSON data and the base primitive JSON data comprises:
preloading map JSON data and the basic graphic element JSON data to a station yard graph page;
creating a station yard scene on a station yard graph page;
analyzing the map JSON data to obtain an actual scene object of the target track line, and adding a primitive instance corresponding to the actual scene object of the target track line to the station scene;
and configuring attributes of primitive instances in the station scene according to the map JSON data to obtain an initial station map of the target track line.
4. The method for generating the rail transit station map according to claim 3, wherein the analyzing the JSON data of the map to obtain an actual scene object of the target track line, and adding a primitive instance corresponding to the actual scene object of the target track line to the station scene comprises:
determining whether a primitive instance corresponding to the actual scene object exists in the station yard scene or not according to the line information JSON data, the positioning point JSON data and the semaphore JSON data;
if not, generating a primitive instance corresponding to the actual scene object according to the basic primitive JSON data;
adding the primitive instance to the yard scene.
5. The method for generating the rail transit yard graph according to claim 3, wherein configuring attributes of primitive instances in the yard scene according to the map JSON data to obtain an initial yard graph of the target rail line comprises:
performing attribute configuration and structure configuration on each graphic primitive instance in the station yard scene according to the line information JSON data, the positioning point JSON data and the semaphore JSON data;
and modifying the configured primitive instances in the site scene according to the positioning point JSON data to obtain the initial site graph.
6. The generation method of the rail transit station map according to any one of claims 3 to 5, characterized by further comprising:
detecting that the station yard graph page is reloaded;
acquiring the latest map JSON data of the target track line;
and modifying the attribute of the corresponding primitive instance in the initial station field graph according to the JSON data of the latest map.
7. The generation method of the rail transit station map according to any one of claims 3 to 5, characterized by further comprising:
receiving state instruction JSON data of the target track line pushed by WebSocket;
and updating the attribute of the corresponding primitive instance in the station graph according to the state instruction JSON data.
8. A generation apparatus of a rail transit station map, characterized by comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring electronic map information of a target track line and converting the electronic map information into map JSON data;
the second acquisition module is used for acquiring JSON data of the basic graphic primitive;
and the generation module is used for generating the station yard graph of the target track line according to the map JSON data and the basic primitive JSON data.
9. A computer storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of generating a rail transit stop map according to any one of claims 1 to 7.
10. An electronic device, comprising:
at least one processor;
a memory communicatively coupled to at least one of the processors;
wherein the memory stores a computer program executable by at least one of the processors, and the at least one of the processors implements the method for generating a rail transit stop map according to any one of claims 1 to 7 when executing the computer program.
CN202111296784.3A 2021-11-04 2021-11-04 Generation method and generation device of rail transit station map and electronic equipment Pending CN113724571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111296784.3A CN113724571A (en) 2021-11-04 2021-11-04 Generation method and generation device of rail transit station map and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111296784.3A CN113724571A (en) 2021-11-04 2021-11-04 Generation method and generation device of rail transit station map and electronic equipment

Publications (1)

Publication Number Publication Date
CN113724571A true CN113724571A (en) 2021-11-30

Family

ID=78686670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111296784.3A Pending CN113724571A (en) 2021-11-04 2021-11-04 Generation method and generation device of rail transit station map and electronic equipment

Country Status (1)

Country Link
CN (1) CN113724571A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113859329A (en) * 2021-12-02 2021-12-31 卡斯柯信号(北京)有限公司 System confidence testing method and system for electronic map data imaging
CN115048697A (en) * 2022-06-14 2022-09-13 通号城市轨道交通技术有限公司 Primitive link relation determining method and device, electronic equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049799A (en) * 2015-07-10 2015-11-11 河南辉煌科技股份有限公司 Video electronic map based on signal microcomputer monitoring system
CN105404704A (en) * 2014-09-12 2016-03-16 株洲南车时代电气股份有限公司 Railway station chart data structure and organization method
CN105468802A (en) * 2014-09-12 2016-04-06 株洲南车时代电气股份有限公司 Station graph editing method
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus
CN106741021A (en) * 2016-12-20 2017-05-31 交控科技股份有限公司 A kind of train graphic configuration and step-by-step parking method
CN107067950A (en) * 2016-12-12 2017-08-18 梁健宁 A kind of parking space figure solution
CN108874493A (en) * 2018-06-20 2018-11-23 青岛海信网络科技股份有限公司 A kind of ATS method for showing interface and device based on comprehensive monitoring platform
CN110516354A (en) * 2019-08-27 2019-11-29 湖南中车时代通信信号有限公司 A kind of method, apparatus automatically generating yards design and computer-readable medium
CN111209426A (en) * 2019-10-21 2020-05-29 高新兴创联科技有限公司 Modeling method of railway station yard graph data
CN111309845A (en) * 2020-05-15 2020-06-19 北京全路通信信号研究设计院集团有限公司 Rail transit road network macroscopic situation data display method and system
CN111311918A (en) * 2020-05-12 2020-06-19 南京云析科技有限公司 Traffic management method and device based on visual analysis
CN111382483A (en) * 2018-12-29 2020-07-07 比亚迪股份有限公司 Station yard graph engineering method, device and equipment
CN111708851A (en) * 2020-04-26 2020-09-25 上海容易网电子商务股份有限公司 Dynamic analysis caching method for 2D map data
CN112233204A (en) * 2020-09-30 2021-01-15 腾讯科技(深圳)有限公司 Map processing method and device, computer equipment and storage medium
CN112632651A (en) * 2020-12-28 2021-04-09 广西交控智维科技发展有限公司 Rail transit station map generation method and system, electronic device and storage medium
CN112699577A (en) * 2021-03-25 2021-04-23 北京全路通信信号研究设计院集团有限公司 Station yard graph drawing method and system in rail transit industry
CN113358125A (en) * 2021-04-30 2021-09-07 西安交通大学 Navigation method and system based on environmental target detection and environmental target map

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404704A (en) * 2014-09-12 2016-03-16 株洲南车时代电气股份有限公司 Railway station chart data structure and organization method
CN105468802A (en) * 2014-09-12 2016-04-06 株洲南车时代电气股份有限公司 Station graph editing method
CN105049799A (en) * 2015-07-10 2015-11-11 河南辉煌科技股份有限公司 Video electronic map based on signal microcomputer monitoring system
CN105808682A (en) * 2016-03-02 2016-07-27 浪潮软件股份有限公司 Relational graph display method and apparatus
CN107067950A (en) * 2016-12-12 2017-08-18 梁健宁 A kind of parking space figure solution
CN106741021A (en) * 2016-12-20 2017-05-31 交控科技股份有限公司 A kind of train graphic configuration and step-by-step parking method
CN108874493A (en) * 2018-06-20 2018-11-23 青岛海信网络科技股份有限公司 A kind of ATS method for showing interface and device based on comprehensive monitoring platform
CN111382483A (en) * 2018-12-29 2020-07-07 比亚迪股份有限公司 Station yard graph engineering method, device and equipment
CN110516354A (en) * 2019-08-27 2019-11-29 湖南中车时代通信信号有限公司 A kind of method, apparatus automatically generating yards design and computer-readable medium
CN111209426A (en) * 2019-10-21 2020-05-29 高新兴创联科技有限公司 Modeling method of railway station yard graph data
CN111708851A (en) * 2020-04-26 2020-09-25 上海容易网电子商务股份有限公司 Dynamic analysis caching method for 2D map data
CN111311918A (en) * 2020-05-12 2020-06-19 南京云析科技有限公司 Traffic management method and device based on visual analysis
CN111309845A (en) * 2020-05-15 2020-06-19 北京全路通信信号研究设计院集团有限公司 Rail transit road network macroscopic situation data display method and system
CN112233204A (en) * 2020-09-30 2021-01-15 腾讯科技(深圳)有限公司 Map processing method and device, computer equipment and storage medium
CN112632651A (en) * 2020-12-28 2021-04-09 广西交控智维科技发展有限公司 Rail transit station map generation method and system, electronic device and storage medium
CN112699577A (en) * 2021-03-25 2021-04-23 北京全路通信信号研究设计院集团有限公司 Station yard graph drawing method and system in rail transit industry
CN113358125A (en) * 2021-04-30 2021-09-07 西安交通大学 Navigation method and system based on environmental target detection and environmental target map

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113859329A (en) * 2021-12-02 2021-12-31 卡斯柯信号(北京)有限公司 System confidence testing method and system for electronic map data imaging
CN113859329B (en) * 2021-12-02 2022-03-15 卡斯柯信号(北京)有限公司 System confidence testing method and system for electronic map data imaging
CN115048697A (en) * 2022-06-14 2022-09-13 通号城市轨道交通技术有限公司 Primitive link relation determining method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN113724571A (en) Generation method and generation device of rail transit station map and electronic equipment
US10310504B2 (en) Driverless vehicle control method, apparatus and system
CN111382483B (en) Station yard graph engineering method, device and equipment
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN106855882B (en) A kind of urban track traffic electronic map data generation system and method
CN106503202A (en) The Dynamic Configuration that a kind of data drawing list linkage shows
CN112560130B (en) H5 drawing display method based on CAD (computer aided design) drawing data of rail transit trackside equipment
CN109284801A (en) State identification method, device, electronic equipment and the storage medium of traffic light
CN115694642B (en) Optical fiber service management method and device and electronic equipment
US20230399012A1 (en) Self-driving vehicle test method, apparatus, and system
CN114936062B (en) Method, device, equipment, system and storage medium for automatic debugging of equipment
US20190271561A1 (en) Method, device for displaying emblem in navigation and medium
CN114116946A (en) Data processing method and device, electronic equipment and storage medium
CN104704473A (en) Model-based configuration capture and replay in a converged infrastructure system to support remote troubleshooting
CN112793630B (en) Method, device and equipment for determining line distance and storage medium
CN113779340A (en) Train operation diagram generation method and system, electronic device and storage medium
CN115755923A (en) Intelligent vehicle map interaction method, device, equipment and storage medium
CN114398475A (en) Data processing method, data processing device, electronic equipment and storage medium
CN108256188B (en) Communication line diagram generation method and system, terminal device and storage medium
CN115923889A (en) Automatic driving system and method compatible with C2ATO and CBTC
CN113986380A (en) Data processing method, device and system, electronic equipment and storage medium
CN113838157A (en) Track traffic map drawing system, method, electronic device and storage medium
CN113449798A (en) Port unmanned driving map generation method and device, electronic equipment and storage medium
CN113807076B (en) Navigation vector file analysis and generation method and system
CN116610683B (en) Data binding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination