CN115952229B - Track configuration data generation method, device, equipment and storage medium - Google Patents

Track configuration data generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115952229B
CN115952229B CN202310224981.7A CN202310224981A CN115952229B CN 115952229 B CN115952229 B CN 115952229B CN 202310224981 A CN202310224981 A CN 202310224981A CN 115952229 B CN115952229 B CN 115952229B
Authority
CN
China
Prior art keywords
data
data item
format
standard
original
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.)
Active
Application number
CN202310224981.7A
Other languages
Chinese (zh)
Other versions
CN115952229A (en
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.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group 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 CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN202310224981.7A priority Critical patent/CN115952229B/en
Publication of CN115952229A publication Critical patent/CN115952229A/en
Application granted granted Critical
Publication of CN115952229B publication Critical patent/CN115952229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating track configuration data. The method comprises the following steps: acquiring at least one original data item in an original interlocking table of a preset source; for each original data item in a non-standard data format, performing analysis operation on the original data item to obtain a standard data item in a standard data format; track configuration data is generated based on the standard data items and the acquired station diagram. The method and the device can analyze the original data item of the non-standard data format into the standard data item of the standard data format which can be identified by the interlocking equipment, solve the problem that the existing interlocking system cannot be compatible with the interlocking table of the special data format, improve the generation efficiency of the track configuration data, and further improve the expansibility of the modern track traffic service.

Description

Track configuration data generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of rail traffic technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating rail configuration data.
Background
The interlocking system is an important component in a rail transit signal system and is indispensable equipment for guaranteeing safe and efficient train passing of railways. The interlocking table is a total basis of the functional design of the interlocking system and is a chart describing the interlocking relationship between railway station signal equipment. Specifically, the interlocking table is compiled according to the conditions of lines, switches, annunciators, circuit sections and the like shown in the station signal floor plan chart and the specified principles and formats.
The automatic configuration of the interlocking equipment data is the basis for realizing intelligent rail traffic control, and the interlocking system utilizes data automatic configuration software to automatically generate configuration data such as interlocking data, control display data, monitoring data and the like through a station diagram and an interlocking table. With the continuous penetration of international business communication, a domestic interlocking system may involve the use of a special interlocking table provided by a foreign company, and the special interlocking table and the domestic interlocking table have large differences in data format specification and data content, while the present domestic interlocking system is developed towards the domestic interlocking table and cannot be compatible with the foreign special interlocking table, so that difficulty is brought to the expansion of modern rail traffic business.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for generating track configuration data, which are used for solving the problem that the existing interlocking system cannot be compatible with an interlocking table with a special data format, improving the generation efficiency of the track configuration data and further improving the expansibility of modern track traffic service.
According to one embodiment of the present invention, there is provided a method of generating track configuration data, the method including:
acquiring at least one original data item in an original interlocking table of a preset source;
for each original data item in a non-standard data format, performing analysis operation on the original data item to obtain a standard data item in a standard data format;
track configuration data is generated based on the standard data items and the acquired station diagram.
According to a specific embodiment of the present invention, the performing, for each original data item in a non-standard data format, a parsing operation on the original data item to obtain a standard data item in a standard data format includes:
for each original data item, taking the original data item as an original data item of a non-standard data format in the case that the data format of the original data item exists in a preset data format set;
And executing analysis operation on the original data item to obtain a standard data item in a standard data format.
According to a specific embodiment of the present invention, the preset data format set includes at least one of an listed data format, a nested data format and a WHEN data format, and the standard data format is a multi-group format.
According to a specific embodiment of the present invention, the generating track configuration data based on each of the standard data items and the acquired station diagram includes:
for each standard data item, acquiring row attribute data and column attribute data corresponding to the standard data item in the original interlocking table;
and acquiring member variables matched with the row attribute data and the column attribute data in a preset structure body, and replacing the member variables in the preset structure body with the standard data items to obtain an interlocking structure body.
Track configuration data is generated based on the interlocking structures and the acquired station diagram.
According to a specific embodiment of the present invention, the generating track configuration data based on the interlocking structures and the acquired station field patterns includes:
acquiring attribute data corresponding to each graphic element device in the station diagram, and respectively adding each attribute data into the interlocking structure to obtain a complete structure;
In response to receiving a call instruction of a structure object, generating track configuration data corresponding to the structure object based on the call instruction and the complete structure; the track configuration data comprises at least one of interlocking data, control display data and monitoring data.
According to a specific embodiment of the present invention, the attribute data includes at least one of attribute configuration information, display configuration information, connection relationship data of the switch device, length data of the switch device, and long-way data.
According to a specific embodiment of the invention, the method further comprises:
displaying a plurality of primitive devices corresponding to the preset sources in a standard primitive area in a visual interface, and displaying a plurality of auxiliary controls corresponding to the preset sources in a primitive auxiliary editing area;
generating a station field map in response to a drawing operation input by a user based on the standard primitive region and the auxiliary editing region; the station yard graph comprises at least one graphic element device and attribute data corresponding to each graphic element device.
According to another embodiment of the present invention, there is provided an apparatus for generating track configuration data, including:
The original data item acquisition module is used for acquiring at least one original data item in an original interlocking table of a preset source;
the standard data item determining module is used for executing analysis operation on the original data items of each non-standard data format to obtain standard data items of the standard data format;
and the track configuration data generation module is used for generating track configuration data based on each standard data item and the acquired station diagram.
According to another embodiment of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating track configuration data according to any one of the embodiments of the present invention.
According to another embodiment of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for generating track configuration data according to any one of the embodiments of the present invention when executed.
According to the technical scheme, at least one original data item in the original interlocking table from a preset source is obtained, the original data item is subjected to analysis operation aiming at each original data item in a non-standard data format, so that standard data items in a standard data format are obtained, an interlocking structure body is generated based on each standard data item, and track configuration data is generated based on the interlocking structure body and a station diagram.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating track configuration data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an original interlocking table from Thailand according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of a standard data item according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for generating track configuration data according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a visual interface according to one embodiment of the present invention;
FIG. 6 is a flowchart of a specific example of a method for generating a yard graph according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a yard graph according to one embodiment of the present invention;
FIG. 8 is a flowchart of a specific example of a method for generating track configuration data according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a track configuration data generating device according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an embodiment of an apparatus for track configuration data according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a method for generating track configuration data according to an embodiment of the present invention, where the method may be performed by a track configuration data generating device, and the track configuration data generating device may be implemented in hardware and/or software, and the track configuration data generating device may be configured in a terminal device, where the method is applicable to a case where the track configuration data is automatically generated based on an original interlocking table of a preset source dedicated data format in an interlocking system. As shown in fig. 1, the method includes:
S110, at least one original data item in an original interlocking table of a preset source is obtained.
The preset source may be, for example, southeast asia, european or africa, or may be the united states or thailand, and the preset source is not limited herein.
Specifically, the original interlocking table is generated based on a data principle and a data format specified by a preset source, and the original data items are used for representing the data items of each row and each column in the original interlocking table. The original interlocking table takes the route as a main body, and sequentially presses buttons for arranging the route one by one, the names and displays of annunciators for protecting the route, the turnout numbers and positions of the route which are required to be checked and locked, the names of track sections which are required to be checked, the signals of hostile to the route and the like. Wherein the approach may represent the path of the train from the head end signal to the tail end signal.
Fig. 2 is a schematic diagram of an original interlocking table from thailand according to an embodiment of the present invention. Specifically, fig. 2 shows only a part of the data items in the thailand interlocking table, and the data items do not include the data items with complete structures. In the thailand interlocking table, each row represents one route, and each column represents different interlocking information, as shown in fig. 2, which shows the START (START) route numbered 15 (M) and the approach extension information in the approach lock data thereof, the HOME route numbered 1-3 (1M) and the approach extension information in the approach lock data thereof, and the HOME route numbered 1-3 (2M) and the approach extension information in the approach lock data thereof. The approach extension information may be used to indicate an approach approaching section that needs to be checked if the approach is open. As can be seen from fig. 2, the data formats of different data items in the thailand interlocking table may be different, the data items contained in the thailand interlocking table are many, and the data formats of the data items are complex and various.
Specifically, at least one original data item in the original interlocking table is obtained by traversing the original interlocking table, and each original data item corresponds to one row attribute data and one column attribute data respectively.
S120, for each original data item in the non-standard data format, performing analysis operation on the original data item to obtain a standard data item in the standard data format.
In an alternative embodiment, the standard data format is an array format and the non-standard data format is other data formats than an array format.
In an alternative embodiment, for each original data item in a non-standard data format, performing a parsing operation on the original data item to obtain a standard data item in a standard data format, including: for each original data item, in the case that the data format of the original data item exists in the preset data format set, taking the original data item as the original data item of a non-standard data format; and executing analysis operation on the original data item to obtain a standard data item in a standard data format.
Specifically, the preset data format set includes preset at least one non-standard data format. In an alternative embodiment, the set of preset data formats includes at least one of a list data format, a nest data format, and a WHEN data format.
In one embodiment, the data format of the original data item is a listed data format, wherein the listed data format is used to characterize a listing of at least two original data items with space, comma, etc. spacers, such as "1-1at 151-2T 139-1T" in fig. 2. In this embodiment, performing an parsing operation on an original data item to obtain a standard data item in a standard data format includes: and identifying the spacer in the original data item, and dividing the original data item based on the spacer to obtain the standard data item in the array format.
In another embodiment, the data format of the original data items is a nested data format, wherein the nested data format is used to characterize nesting between AT least two of the original data items with AT least one layer of brackets, such as "62T (101 AT (1-1 BT) OR 1-3N) 1-3T 1-71T OR 301N" in FIG. 2. In this embodiment, performing an parsing operation on an original data item to obtain a standard data item in a standard data format includes: at least one layer of brackets in the original data item is identified, and the original data item is divided based on each bracket in turn, so that the standard data item in the array format is obtained.
In another embodiment, the data format of the original data item is a WHEN data format, wherein the WHEN data format characterizes the inclusion of a "WHEN" identifier, such as "WHEN CLEARED WITH 1-1AT OR 1-1BT OCC 60S" in FIG. 2, in the original data item. In this embodiment, performing an parsing operation on an original data item to obtain a standard data item in a standard data format includes: and identifying and deleting the link expression in the original data item, and reserving the equipment name in the original data item to obtain the standard data item in the array format. Illustratively, the link expressions include, but are not limited to, "WHEN", "OR", "WITH", and "OCC", among others.
The non-standard data formats included in the preset data format set are not limited herein, and it is understood that the non-standard data formats may also be a combination of at least two non-standard data formats listed above, such as a WHEN data format including a nested data format or a nested data format including a WHEN data format, and so on.
Fig. 3 is a schematic diagram of a standard data item according to an embodiment of the present invention. Specifically, fig. 3 exemplifies proximity extension information corresponding to a HOME route of 1 to 3 (1M) and a HOME route of 1 to 3 (2M) in fig. 2, respectively. Where "1-3- >31" denotes a HOME route of 1-3 (1M), "0x00006402" denotes a route code of the route, and "0x00006111" denotes a device code of the device name "1-1AT" following "wit" in the original data item, and since there is only one, other data in the standard data item is filled WITH "0x00000000", and "sbzt_gdkk" denotes that the section is free. "1-3- >15" means a HOME route of 1-3 (2M), "0x00006404" means a route code of the route, "0x00006111", "0x0000611C" and "0x00006118" means device codes of "1-1AT", "151-2T" and "139-1T" in the original data item, respectively, and other data in the standard data item is filled with "0x00000000", and "sbzt_gdkk" means that the section is free.
And S130, generating track configuration data based on each standard data item and the acquired station diagram.
Specifically, track configuration data are generated based on the acquired connection relation between the graphic element devices in the station diagram and the logic information represented by the standard data items. In an alternative embodiment, the track configuration data includes interlocking control data, interlocking engineering drawings, three-dimensional simulation data, and the like. The track configuration data includes display data corresponding to each graphic element device such as a signal machine, a turnout, a section and the like, and/or data corresponding to functions such as access, side protection, crossing approaching control and the like. The track configuration data is not limited herein.
According to the technical scheme, at least one original data item in an original interlocking table from a preset source is obtained, an analysis operation is performed on the original data item according to the original data item of each non-standard data format to obtain standard data items of standard data formats, an interlocking structure body is generated based on the standard data items, and track configuration data is generated based on the interlocking structure body and a station diagram.
Fig. 4 is a flowchart of another method for generating track configuration data according to an embodiment of the present invention, where the method for obtaining a station map in the above embodiment is further optimized. As shown in fig. 4, the method includes:
s210, displaying a plurality of graphic primitive devices corresponding to a preset source in a standard graphic primitive area in the visual interface, and displaying a plurality of auxiliary controls corresponding to the preset source in a graphic primitive auxiliary editing area.
Specifically, the drawing style of the primitive equipment displayed in the standard primitive area accords with the display specification requirement of a preset source. Illustratively, the drawing style of the primitive device meets the display specification requirements of thailand. For example, primitive devices include, but are not limited to, annunciators, switches, segments, buttons, crossings, platforms, signal floors and section gates, and the like.
Fig. 5 is a schematic diagram of a visual interface according to an embodiment of the present invention. Specifically, the visual interface includes a view field, a multi-view toggle button, a standard primitive button, a graphic editing button, and a function switch button for auxiliary drawing. The view area is used for displaying the primitive equipment and the connection relation thereof corresponding to the operations of zooming, dragging, copying and the like input by a user; the multi-view switching button is used for controlling the station yard pictures under different views displayed in the view area; the standard primitive button is used for controlling a plurality of primitive devices displayed in the standard primitive region; the graphic editing button is used for controlling editing controls displayed in the graphic element auxiliary editing area, such as a format brush control, a distance measuring control, an X-axis overturning control, a Y-axis overturning control and the like; the auxiliary drawing function control displayed in the auxiliary drawing function switch button is an exemplary switch item capable of being checked.
S220, generating a station map in response to a drawing operation input by a user based on the standard primitive region and the auxiliary editing region.
Fig. 6 is a flowchart of a specific example of a yard graph generating method according to an embodiment of the present invention. Specifically, a station map file is newly created or an existing station map file is opened, a primitive device for the current station map is selected from primitive devices displayed in a standard primitive region, attribute information of the primitive devices, such as device coordinates, device colors or device sizes of the primitive devices, is set, and a drawing station map displayed in a view area is obtained. The method specifically refers to traversing each primitive device in a drawing station field graph, taking the primitive device corresponding to the left endpoint coordinate identical to the right endpoint coordinate of the current primitive device as the next primitive device connected with the current primitive device, and specifically adding the next primitive device into a pointer group of the right connecting device corresponding to the current primitive device. And taking the primitive equipment corresponding to the right endpoint coordinate which is the same as the left endpoint coordinate of the current primitive equipment as the previous primitive equipment connected with the current primitive equipment, and specifically adding the previous primitive equipment into the pointer group of the left connecting equipment corresponding to the current primitive equipment.
Specifically, a connection relation view is generated based on each pointer group, and the front, rear and side connection relations of each graphic element device are displayed through the connection relation view. When the connection relation view is checked to be free, each pointer group corresponding to the connection relation view is stored, and a station map is generated and stored based on each graphic element device and each pointer group corresponding to each graphic element device.
In this embodiment, the station yard graph includes at least one primitive device and attribute data corresponding to each primitive device. Fig. 7 is a schematic diagram of a yard graph according to an embodiment of the present invention. Specifically, the right-angled rectangle in fig. 7 represents a "section", the rounded rectangle represents a "switch", and the black circle represents a "signal lamp".
S230, at least one original data item in an original interlocking table of a preset source is obtained.
S240, for each original data item in the non-standard data format, performing analysis operation on the original data item to obtain a standard data item in the standard data format.
S250, generating track configuration data based on the standard data items and the station diagram.
In an alternative embodiment, generating track configuration data based on standard data items and the acquired station diagram includes: for each standard data item, acquiring row attribute data and column attribute data corresponding to the standard data item in an original interlocking table; and acquiring member variables matched with the row attribute data and the column attribute data in the preset structure body, and replacing the member variables in the preset structure body with standard data items to obtain the interlocking structure body. Track configuration data is generated based on the interlocking structures and the acquired station diagram.
Specifically, a plurality of preset structures are pre-built in the interlocking device, after standard data items in a standard data format are obtained, the standard data items are used as assignment values of all member variables in the preset structures, and the interlocking structure is obtained.
In an alternative embodiment, generating track configuration data based on the interlocking structures and the acquired station diagram includes: acquiring attribute data corresponding to each graphic element device in the station diagram, and respectively adding each attribute data into the interlocking structure to obtain a complete structure; in response to receiving a call instruction for a fabric object, generating track configuration data corresponding to the fabric object based on the call instruction and the complete fabric; the track configuration data comprises at least one of interlocking data, control display data and monitoring data.
In an alternative embodiment, the attribute data includes at least one of attribute configuration information, display configuration information, connection relationship data of the switch device, length data of the switch device, and long-way data. The attribute configuration information may be used to characterize a functional attribute of the primitive device, such as whether the primitive device is a parking zone or a local station device, for example. The display configuration information may be used to characterize a display style of the primitive device, such as a display coordinate, a color, a size of the primitive device, or a coordinate, a font, a size, or a default language of the text primitive when the primitive device is the text primitive. Wherein the display configuration information may be created through a visual interface that meets display specifications of a preset source. Specifically, the long-route data can be obtained by traversing short routes in the station diagram and splicing a plurality of short routes connected end to end.
FIG. 8 is a flowchart of a specific example of a method for generating track configuration data according to an embodiment of the present invention, where CMainView in FIG. 8 is a main body display frame of a system for generating track configuration data; ctllslntput is a broad class of interlocking inputs for the generation system of track configuration data; cinputool is a class of methods required by the generation system of track configuration data to implement the input; ctls output is a broad class of output realized by the generation system of track configuration data; CDrawManager is a large class of device objects in an implementation drawing, management drawing of a generation system of track configuration data. Specifically, a Thailand interlocking table input by a user is obtained, and the Thailand interlocking table is stored in a memory. Traversing the Thailand interlocking table to obtain at least one original data item in a non-standard data format, and analyzing the original data item in each non-standard data format to obtain the standard data item of the array queue. And taking the array queue as each member variable in the preset structural body to obtain an interlocking structural body, and storing the interlocking structural body. And acquiring attribute data of the primitive equipment still missing in the interlocking structure from the station diagram, and adding the attribute data into the interlocking structure to obtain the complete structure. In response to a user clicking pre-output track configuration data in the terminal device, generating a call instruction of the structure object, and generating track configuration data corresponding to the structure object based on the call instruction and the complete structure.
According to the technical scheme, the plurality of graphic primitive devices corresponding to the preset sources are displayed in the standard graphic primitive area in the visual interface, the plurality of auxiliary controls corresponding to the preset sources are displayed in the graphic primitive auxiliary editing area, and the station map is generated in response to drawing operation input by a user based on the standard graphic primitive area and the auxiliary editing area, wherein the station map comprises at least one graphic primitive device and attribute data corresponding to the graphic primitive devices, and the problem of custom drawing of the station map is solved. According to the method, the device and the system, the line attribute data and the column attribute data corresponding to the standard data items in the original interlocking table are obtained for each standard data item, the member variables matched with the line attribute data and the column attribute data in the preset structure body are obtained, the member variables in the preset structure body are replaced by the standard data items, the interlocking structure body is obtained, the track configuration data are generated based on the interlocking structure body and the obtained station diagram, the generation problem of the track configuration data is solved, and the generation efficiency of the track configuration data is improved.
Fig. 9 is a schematic structural diagram of an apparatus for generating track configuration data according to an embodiment of the present invention. As shown in fig. 9, the apparatus includes: a raw data item acquisition module 310, a standard data item determination module 320, and a track configuration data generation module 330.
The original data item obtaining module 310 is configured to obtain at least one original data item in an original interlocking table of a preset source;
the standard data item determining module 320 is configured to perform, for each original data item in a non-standard data format, a parsing operation on the original data item to obtain a standard data item in a standard data format;
the track configuration data generating module 330 is configured to generate track configuration data based on each standard data item and the acquired station diagram.
According to the technical scheme, at least one original data item in an original interlocking table from a preset source is obtained, an analysis operation is performed on the original data item according to the original data item of each non-standard data format to obtain standard data items of standard data formats, an interlocking structure body is generated based on the standard data items, and track configuration data is generated based on the interlocking structure body and a station diagram.
Based on the above embodiment, the optional standard data item determining module 320 is specifically configured to:
for each original data item, in the case that the data format of the original data item exists in the preset data format set, taking the original data item as the original data item of a non-standard data format;
and executing analysis operation on the original data item to obtain a standard data item in a standard data format.
Based on the above embodiment, optionally, the preset data format set includes at least one of a listed data format, a nested data format, and a WHEN data format, and the standard data format is a multi-group format.
On the basis of the above embodiment, optionally, the track configuration data generating module 330 includes:
the row attribute data acquisition unit is used for acquiring row attribute data and column attribute data corresponding to the standard data items in the original interlocking table for each standard data item;
the interlocking structure body determining unit is used for obtaining member variables matched with the row attribute data and the column attribute data in the preset structure body, and replacing the member variables in the preset structure body with standard data items to obtain an interlocking structure body;
and the track configuration data generation unit is used for generating track configuration data based on the interlocking structure body and the acquired station diagram.
On the basis of the above embodiment, optionally, the track configuration data generating unit is specifically configured to:
acquiring attribute data corresponding to each graphic element device in the station diagram, and respectively adding each attribute data into the interlocking structure to obtain a complete structure;
in response to receiving a call instruction for a fabric object, generating track configuration data corresponding to the fabric object based on the call instruction and the complete fabric; the track configuration data comprises at least one of interlocking data, control display data and monitoring data.
On the basis of the above embodiment, optionally, the attribute data includes at least one of attribute configuration information, display configuration information, connection relationship data of the switch device, length data of the switch device, and long-way data.
On the basis of the above embodiment, optionally, the apparatus further includes:
the station yard graph generating module is used for displaying a plurality of graphic primitive devices corresponding to a preset source in a standard graphic primitive area in the visual interface and displaying a plurality of auxiliary controls corresponding to the preset source in a graphic primitive auxiliary editing area;
generating a station map in response to a drawing operation input by a user based on the standard primitive region and the auxiliary editing region; the station yard graph comprises at least one graphic element device and attribute data corresponding to each graphic element device.
The track configuration data device adopted in the embodiment is specifically composed of a plurality of function module libraries, each module library is responsible for realizing own logic functions, and the plurality of function modules are matched with each other to realize a series of business logics.
Fig. 10 is a schematic structural diagram of an embodiment of an apparatus for track configuration data according to an embodiment of the present invention. Specifically, the track configuration data device comprises a system front end and a system back end, wherein the system front end comprises a main frame module, a basic station view and a standard primitive library interface, and the system back end comprises a station equipment management module, a graphic search module, a data modeling module and a data output module. The site map drawing system adopts an object-oriented technology, and from the drawing of the site map to the generation of data, the object is packaged by adopting classes, and all functional modules are accessed in an interface mode.
The main frame module is specifically used for representing a main frame of the device for configuring the data of the track, so that a human-computer interaction interface function is realized; the basic station view is used for realizing a drawing function and a display function of the station view, wherein the drawing function can be dragging, zooming or the like; the standard primitive library interface is used for realizing the graphical display of each primitive device, and accords with the primitive display specification of a preset source, for example, the preset source can be Thailand; the station equipment management module is used for realizing the storage and management of each graphic element equipment, such as the management can be the operations of adding, deleting, modifying, inquiring and the like; the graphic search module is used for acquiring a station field diagram drawn in the basic station field view and establishing a connection relationship between graphic element devices based on coordinate position information of each graphic element device in the battlefield diagram; the data modeling module is used for constructing a complete structure body, namely a data structure model, based on the interlocking service, the standard data item and the station diagram; the data output module is used for outputting track configuration data required by the interlocking system according to the data structure model.
The track configuration data generating device provided by the embodiment of the invention can execute the track configuration data generating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown in the embodiments of the present invention, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the invention described and/or claimed in this document.
As shown in fig. 11, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor 11, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the track configuration data generation method.
In some embodiments, the method of generating track configuration data may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the track configuration data generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of generating track configuration data in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the track configuration data generation method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
An embodiment of the present invention also provides a computer-readable storage medium storing computer instructions for causing a processor to perform a method of generating track configuration data, the method comprising:
acquiring at least one original data item in an original interlocking table of a preset source;
aiming at each original data item in a non-standard data format, executing analysis operation on the original data item to obtain a standard data item in a standard data format;
track configuration data is generated based on the standard data items and the acquired station diagram.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method of generating track configuration data, comprising:
acquiring at least one original data item in an original interlocking table of a preset source;
for each original data item in a non-standard data format, performing analysis operation on the original data item to obtain a standard data item in a standard data format;
generating track configuration data based on the standard data items and the acquired station diagram;
the analyzing operation is performed on the original data item aiming at each original data item in a non-standard data format to obtain a standard data item in a standard data format, and the analyzing operation comprises the following steps:
for each original data item, taking the original data item as an original data item of a non-standard data format in the case that the data format of the original data item exists in a preset data format set;
performing analysis operation on the original data item to obtain a standard data item in a standard data format;
the preset data format set comprises at least one of a listed data format, a nested data format and a WHEN data format, and the standard data format is a data group format;
the step of performing parsing operation on the original data item to obtain a standard data item in a standard data format includes:
When the data format of the original data item is a listed data format, identifying a spacer in the original data item, and dividing the original data item based on the spacer to obtain a standard data item in an array format;
when the data format of the original data item is a nested data format, at least one layer of brackets in the original data item is identified, and the original data item is divided in sequence based on each bracket, so that a standard data item in an array format is obtained;
and WHEN the data format of the original data item is the WHEN data format, identifying and deleting the link expression in the original data item, and reserving the equipment name in the original data item to obtain the standard data item in the array format.
2. The method of claim 1, wherein generating track configuration data based on each of the standard data items and the acquired station diagram comprises:
for each standard data item, acquiring row attribute data and column attribute data corresponding to the standard data item in the original interlocking table;
acquiring member variables matched with the row attribute data and the column attribute data in a preset structure body, and replacing the member variables in the preset structure body with the standard data items to obtain an interlocking structure body;
Track configuration data is generated based on the interlocking structures and the acquired station diagram.
3. The method of claim 2, wherein generating track configuration data based on the interlocking structures and the acquired station diagram comprises:
acquiring attribute data corresponding to each graphic element device in the station diagram, and respectively adding each attribute data into the interlocking structure to obtain a complete structure;
in response to receiving a call instruction of a structure object, generating track configuration data corresponding to the structure object based on the call instruction and the complete structure; the track configuration data comprises at least one of interlocking data, control display data and monitoring data.
4. The method of claim 3, wherein the attribute data includes at least one of attribute configuration information, display configuration information, connection relationship data of the switch equipment, length data of the switch equipment, and long-way data.
5. A method according to claim 3, characterized in that the method further comprises:
displaying a plurality of primitive devices corresponding to the preset sources in a standard primitive area in a visual interface, and displaying a plurality of auxiliary controls corresponding to the preset sources in a primitive auxiliary editing area;
Generating a station field map in response to a drawing operation input by a user based on the standard primitive region and the auxiliary editing region; the station yard graph comprises at least one graphic element device and attribute data corresponding to each graphic element device.
6. A track configuration data generation apparatus, comprising:
the original data item acquisition module is used for acquiring at least one original data item in an original interlocking table of a preset source;
the standard data item determining module is used for executing analysis operation on the original data items of each non-standard data format to obtain standard data items of the standard data format;
the track configuration data generation module is used for generating track configuration data based on the standard data items and the acquired station diagram;
the standard data item determining module is specifically configured to: for each original data item, taking the original data item as an original data item of a non-standard data format in the case that the data format of the original data item exists in a preset data format set;
performing analysis operation on the original data item to obtain a standard data item in a standard data format;
Wherein the preset data format set comprises at least one of a listed data format, a nested data format and a WHEN data format, and the standard data format is a data group format;
the standard data item determining module is specifically configured to:
when the data format of the original data item is a listed data format, identifying a spacer in the original data item, and dividing the original data item based on the spacer to obtain a standard data item in an array format;
when the data format of the original data item is a nested data format, at least one layer of brackets in the original data item is identified, and the original data item is divided in sequence based on each bracket, so that a standard data item in an array format is obtained;
and WHEN the data format of the original data item is the WHEN data format, identifying and deleting the link expression in the original data item, and reserving the equipment name in the original data item to obtain the standard data item in the array format.
7. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating track configuration data according to any one of claims 1-5.
8. A computer readable storage medium storing computer instructions for causing a processor to perform the method of generating track configuration data according to any one of claims 1 to 5.
CN202310224981.7A 2023-03-10 2023-03-10 Track configuration data generation method, device, equipment and storage medium Active CN115952229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310224981.7A CN115952229B (en) 2023-03-10 2023-03-10 Track configuration data generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310224981.7A CN115952229B (en) 2023-03-10 2023-03-10 Track configuration data generation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115952229A CN115952229A (en) 2023-04-11
CN115952229B true CN115952229B (en) 2023-08-11

Family

ID=87286169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310224981.7A Active CN115952229B (en) 2023-03-10 2023-03-10 Track configuration data generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115952229B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN111845866A (en) * 2020-06-29 2020-10-30 通号城市轨道交通技术有限公司 Automatic generation method and device of interlocking configuration file and electronic equipment
US11126638B1 (en) * 2018-09-13 2021-09-21 Palantir Technologies Inc. Data visualization and parsing system
CN113673021A (en) * 2021-09-28 2021-11-19 杭州路信科技有限公司 Engineering data generation method, platform and computer equipment
CN114281876A (en) * 2021-12-24 2022-04-05 北京锐安科技有限公司 Data processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11126638B1 (en) * 2018-09-13 2021-09-21 Palantir Technologies Inc. Data visualization and parsing system
CN109552368A (en) * 2018-12-10 2019-04-02 交控科技股份有限公司 Locking sheet automatic generation method and device
CN111845866A (en) * 2020-06-29 2020-10-30 通号城市轨道交通技术有限公司 Automatic generation method and device of interlocking configuration file and electronic equipment
CN113673021A (en) * 2021-09-28 2021-11-19 杭州路信科技有限公司 Engineering data generation method, platform and computer equipment
CN114281876A (en) * 2021-12-24 2022-04-05 北京锐安科技有限公司 Data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115952229A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN106776963B (en) The online method for visualizing of light-weighted BIM big data and system
CN112560862B (en) Text recognition method and device and electronic equipment
CN107679276B (en) Generation method and device of power system tide wiring diagram and electronic equipment
CN103309988A (en) Method for automatically generating rail traffic line database
KR102648760B1 (en) Method and apparatus for generating images
CN109491735A (en) Integrated data generates the comprehensively monitoring human-machine interface configuration implementation method with verification
CN114880337B (en) Map data integrated updating method, device, equipment and storage medium
KR20230088332A (en) Data annotation methods, devices, systems, devices and storage media
CN115952229B (en) Track configuration data generation method, device, equipment and storage medium
CN116127667A (en) Hierarchical layout method and device of directed graph, electronic equipment and storage medium
CN113470145B (en) Map data processing method, device, equipment and storage medium
CN115374499A (en) Dimension marking method and device, electronic equipment and storage medium
CN112861382A (en) Method and device for drawing power line diagram in power system
JP2003063401A (en) Interlocking table formation support system
CN113126866A (en) Object determination method and device, electronic equipment and storage medium
CN113591580A (en) Image annotation method and device, electronic equipment and storage medium
CN106895850B (en) Situation display method supporting multi-source target screening
CN115953502B (en) Reachability approach display method, device, equipment and storage medium
CN113742876B (en) Mapping method and device for grid structure
CN114942817B (en) Display method and device of design interface, electronic equipment, storage medium and product
CN116714646B (en) Line test sequence generation method, device, equipment and medium
CN114879889B (en) Processing method, processing device, revocation system, electronic equipment and storage medium
CN113885766B (en) Method and device for displaying organization structure diagram, storage medium and terminal equipment
CN116756233B (en) Situation data processing method and device, electronic equipment and storage medium
CN108109069A (en) A kind of community network establishment of connection 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
GR01 Patent grant
GR01 Patent grant