Method and system for automatically generating LKJ path data based on LKJ monitoring traffic data
1. A method for automatically generating LKJ path data based on LKJ monitoring traffic data is characterized by comprising the following steps:
step 1: analyzing monitoring traffic information, establishing a monitoring traffic and data traffic comparison relation, and generating an LKJ operation path;
step 2: screening information data required by path data in the corresponding data traffic paths from the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition;
and step 3: searching the information data which is traversed and screened out, and generating key nodes and a through relation of each path;
and 4, step 4: and (4) extracting key nodes and through relations of the paths generated in the step (3), and sorting and ordering to generate LKJ path data.
2. The method for automatically generating LKJ path data based on LKJ monitored traffic data as claimed in claim 1, wherein the information data required for the path data in step 2 includes station information and transfer information.
3. The method for automatically generating LKJ path data based on LKJ monitored traffic data as claimed in claim 1, wherein step 3 further comprises:
step 3-1: traversing the screened information in the set from the 1 st data of the line data set matched with the initial data intersection number;
step 3-2: searching node information in the set, judging whether the node meets the requirements, if so, entering step 3-3, otherwise, entering step 3-6;
step 3-3: adding the nodes meeting the requirements in the step 3-2 into the path node set to generate path key nodes;
step 3-4: judging whether the key nodes of the path generated in the step 3-3 have key data which are transferred and meet the requirements, if so, entering the step 3-5, otherwise, entering the step 3-6;
step 3-5: judging the key node data of the path meeting the requirements according to the step 3-4, extracting the relation data in the key node data of the path, and generating a path through relation;
step 3-6: judging whether the data in the set is completely traversed, if so, entering the step 3-7, otherwise, traversing the next piece of data information, and jumping to the step 3-2;
step 3-7: and after the set data is traversed, generating a path key node set and a through relation set.
4. The method for automatically generating LKJ path data based on LKJ monitoring traffic data as claimed in claim 1, wherein the LKJ-15 path data generated in step 4 includes uplink path data and downlink path data, and covers all walkable branches and nodes thereof of both passenger car and truck paths.
5. An LKJ monitoring intersection data automatic generation method as claimed in any one of claims 1 to 4 wherein the LKJ monitoring intersection data is LKJ2000 monitoring intersection data and the LKJ path is an LKJ-15 path.
6. The utility model provides a system for automatic LKJ route data of generating based on LKJ control traffic data which characterized in that, the system includes:
the comparison relationship establishing module is used for analyzing the monitoring traffic information, establishing a comparison relationship between the monitoring traffic and the data traffic, and generating an LKJ operation path;
the screening module is used for screening information data required by path data in the corresponding data traffic paths from the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition;
the node and through relation generating module is used for searching the information data which is traversed and screened out and generating key nodes and through relations of all the paths;
and the path data generation module is used for extracting key nodes and through relations of each path generated by the node and through relation generation module, and generating LKJ path data after sorting.
7. The system for automatically generating LKJ path data based on LKJ monitored traffic data as claimed in claim 6, wherein information data required for the path data screened by the screening module includes station information and transfer information.
8. The system for automatically generating LKJ path data based on LKJ monitoring traffic data of claim 6, wherein the node and pass-through relationship generation module is further configured to perform the following:
step 1: traversing the screened information in the set from the 1 st data of the line data set matched with the initial data intersection number;
step 2: searching node information in the set, judging whether the node meets the requirements, if so, entering a step 3, and if not, entering a step 6;
and step 3: adding the nodes meeting the requirements in the step 2 into a path node set to generate path key nodes;
and 4, step 4: judging whether the path key node generated in the step 3 has transferred key data meeting the requirements, if so, entering a step 5, otherwise, entering a step 6;
and 5: judging the key node data of the path meeting the requirements according to the step 4, extracting the relation data in the key node data of the path, and generating a path through relation;
step 6: judging whether the data in the set is completely traversed, if so, entering a step 7, otherwise, traversing the next piece of data information, and jumping to the step 2;
and 7: and after the set data is traversed, generating a path key node set and a through relation set.
9. The system for automatically generating LKJ path data based on LKJ monitoring traffic data of claim 6, wherein the LKJ-15 path data generated by the path data generation module includes uplink path data and downlink path data, and covers all walkable branches and nodes thereof of a passenger car path and a truck path.
10. An system for automatically generating LKJ path data based on LKJ monitoring intersection data as claimed in any one of claims 6 to 9, wherein the LKJ monitoring intersection data is LKJ2000 monitoring intersection data and the LKJ path is an LKJ-15 path.
Background
The path data is a data set which is arranged in sequence corresponding to the train operation path by monitoring the intersection organization. The traditional manufacturing method of the path data is manufactured in a manual mode, and is manufactured in a full-manual mode, so that the workload is large, and the operation is complicated.
In addition, the path data can be adjusted according to the requirements of railway transportation, and the manual adjustment mode causes the efficiency to be slow and is easy to make mistakes.
Disclosure of Invention
The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
The invention aims to solve the problems and provides a method and a system for automatically generating LKJ path data based on LKJ monitoring traffic data, which realize automatic, intelligent and precise automatic generation of LKJ-15 path data through computer software, solve the problems of large workload and high error probability of manually making path data, keep the path data consistent with LKJ2000 and are beneficial to the inheritance operation of a driver on different train control systems.
The technical scheme of the invention is as follows: the invention discloses a method for automatically generating LKJ path data based on LKJ monitoring traffic data, which comprises the following steps:
step 1: analyzing monitoring traffic information, establishing a monitoring traffic and data traffic comparison relation, and generating an LKJ operation path;
step 2: screening information data required by path data in the corresponding data traffic paths from the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition;
and step 3: searching the information data which is traversed and screened out, and generating key nodes and a through relation of each path;
and 4, step 4: and (4) extracting key nodes and through relations of the paths generated in the step (3), and sorting and ordering to generate LKJ path data.
According to an embodiment of the method for automatically generating LKJ path data based on LKJ monitoring traffic data, information data required by the path data in step 2 includes station information and transfer information.
According to an embodiment of the method for automatically generating LKJ path data based on LKJ monitoring traffic data of the present invention, step 3 further includes:
step 3-1: traversing the screened information in the set from the 1 st data of the line data set matched with the initial data intersection number;
step 3-2: searching node information in the set, judging whether the node meets the requirements, if so, entering step 3-3, otherwise, entering step 3-6;
step 3-3: adding the nodes meeting the requirements in the step 3-2 into the path node set to generate path key nodes;
step 3-4: judging whether the key nodes of the path generated in the step 3-3 have key data which are transferred and meet the requirements, if so, entering the step 3-5, otherwise, entering the step 3-6;
step 3-5: judging the key node data of the path meeting the requirements according to the step 3-4, extracting the relation data in the key node data of the path, and generating a path through relation;
step 3-6: judging whether the data in the set is completely traversed, if so, entering the step 3-7, otherwise, traversing the next piece of data information, and jumping to the step 3-2;
step 3-7: and after the set data is traversed, generating a path key node set and a through relation set.
According to an embodiment of the method for automatically generating the LKJ path data based on the LKJ monitoring traffic data, the LKJ-15 path data generated in step 4 includes uplink path data and downlink path data, and covers all the walkable branches and nodes thereof of the passenger car path and the truck path.
According to an embodiment of the method for automatically generating the LKJ path data based on the LKJ monitoring traffic data, the LKJ monitoring traffic data is LKJ2000 monitoring traffic data, and the LKJ path is an LKJ-15 path.
The invention also discloses a system for automatically generating LKJ path data based on LKJ monitoring traffic data, which comprises:
the comparison relationship establishing module is used for analyzing the monitoring traffic information, establishing a comparison relationship between the monitoring traffic and the data traffic, and generating an LKJ operation path;
the screening module is used for screening information data required by path data in the corresponding data traffic paths from the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition;
the node and through relation generating module is used for searching the information data which is traversed and screened out and generating key nodes and through relations of all the paths;
and the path data generation module is used for extracting key nodes and through relations of each path generated by the node and through relation generation module, and generating LKJ path data after sorting.
According to an embodiment of the system for automatically generating the LKJ path data based on the LKJ monitoring traffic data, information data required by the path data screened by the screening module includes station information and transfer information.
According to an embodiment of the system for automatically generating LKJ path data based on LKJ monitoring traffic data of the present invention, the node and cut-through relationship generation module is further configured to execute the following processes:
step 1: traversing the screened information in the set from the 1 st data of the line data set matched with the initial data intersection number;
step 2: searching node information in the set, judging whether the node meets the requirements, if so, entering a step 3, and if not, entering a step 6;
and step 3: adding the nodes meeting the requirements in the step 2 into a path node set to generate path key nodes;
and 4, step 4: judging whether the path key node generated in the step 3 has transferred key data meeting the requirements, if so, entering a step 5, otherwise, entering a step 6;
and 5: judging the key node data of the path meeting the requirements according to the step 4, extracting the relation data in the key node data of the path, and generating a path through relation;
step 6: judging whether the data in the set is completely traversed, if so, entering a step 7, otherwise, traversing the next piece of data information, and jumping to the step 2;
and 7: and after the set data is traversed, generating a path key node set and a through relation set.
According to an embodiment of the system for automatically generating the LKJ path data based on the LKJ monitoring traffic data, the LKJ-15 path data generated by the path data generation module includes uplink path data and downlink path data, and covers all walkable branches and nodes of the passenger car path and the truck path.
According to an embodiment of the system for automatically generating LKJ path data based on LKJ monitoring intersection data, the LKJ monitoring intersection data is LKJ2000 monitoring intersection data, and the LKJ path is an LKJ-15 path.
Compared with the prior art, the invention has the following beneficial effects: the innovation points of the scheme of the invention comprise: 1) the method for generating the monitoring traffic comparison information comprises the following steps: analyzing LKJ2000 monitoring traffic information, establishing a monitoring traffic and data traffic comparison relation, and generating an LKJ-15 operation path; 2) the method for generating the nodes comprises the following steps: searching node data meeting requirements in the corresponding data traffic collection according to the comparison relation between the monitoring traffic and the data traffic, and generating path node data; 3) the method for generating the through relation comprises the following steps: extracting relation data which are transferred and meet the requirements according to the generated path node data to generate a path through relation; 4) the generated LKJ-15 path data covers all the walkable branches and nodes of the passenger car path and the truck path.
Compared with the existing manual manufacturing method, the method has the advantages that the efficiency, the accuracy and the like are greatly improved. The method has the specific beneficial effects that:
1) the method can quickly generate LKJ-15 path data, improve efficiency, save cost, and ensure complete data, safety and reliability;
2) all LKJ-15 path data generated by the method are generated according to an LKJ2000 data model, and have a downward compatibility characteristic;
3) the LKJ-15 path data generated by the method continues the monitoring traffic number and branch data of LKJ2000, and is favorable for compatible operation of drivers.
Drawings
The above features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
Fig. 1 is a flow chart illustrating an embodiment of a method for automatically generating LKJ path data based on LKJ monitored traffic data according to the present invention.
Fig. 2 shows a refined flow diagram of a partial step in the embodiment of the method shown in fig. 1.
Fig. 3 is a schematic diagram illustrating an embodiment of a system for automatically generating LKJ path data based on LKJ monitored traffic data in accordance with the present invention.
Fig. 4 shows an architecture diagram of a computer system to which the method of the invention is applied.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. It is noted that the aspects described below in connection with the figures and the specific embodiments are only exemplary and should not be construed as imposing any limitation on the scope of the present invention.
Fig. 1 illustrates a flow of an embodiment of a method for automatically generating LKJ path data based on LKJ monitoring traffic data according to the present invention. Referring to fig. 1, the steps of the method of the present embodiment are detailed as follows. The invention takes the example that LKJ2000 monitoring traffic data automatically generates LKJ-15 path data as an example for explanation.
Step 1: analyzing the monitoring traffic information, establishing a comparison relation between the monitoring traffic and the data traffic, and generating an LKJ-15 operation path.
The monitoring traffic information is typically stored in an LKJ2000 control parameter file. The monitoring intersection refers to a data arrangement logic mode which is processed for the LKJ basic data source file according to the actual running path of the train and is associated with the train control condition. The data intersection refers to a data subset related to train operation intersection, which is divided for convenience of management and use, in the LKJ basic data source file. A data intersection consists of upstream data and downstream data.
Step 2: and screening information data required by the path data in the corresponding data traffic paths in the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition.
The information data required for the route data includes station information and transfer information.
And step 3: searching the information data which is filtered through traversal, and generating key nodes and a through relation of each path.
The refinement step of step 3 is shown in fig. 2:
step 3-1: and traversing the screened information in the set from the 1 st data of the route data set matched with the initial data intersection number.
Step 3-2: searching node information in the set, judging whether the node meets the requirement, if so, entering step 3-3, and if not, entering step 3-6.
Step 3-3: and adding the nodes meeting the requirements in the step 3-2 into the path node set to generate the path key nodes.
Step 3-4: and (4) judging whether the key nodes of the path generated in the step (3-3) have key data which are transferred and meet the requirements, if so, entering the step (3-5), and if not, entering the step (3-6).
Step 3-5: and 3-4, judging the key node data of the path meeting the requirements, extracting the relation data in the key node data of the path, and generating a path through relation.
Step 3-6: and judging whether the data in the set is completely traversed, if so, entering the step 3-7, otherwise, traversing the next piece of data information, and jumping to the step 3-2.
Step 3-7: and after the set data is traversed, generating a path key node set and a through relation set.
And 4, step 4: and (4) extracting key nodes and through relations of the paths generated in the step (3), and sorting and ordering to generate LKJ-15 path data.
The finally generated LKJ-15 path data comprises uplink path data and downlink path data, and covers all walkable branches and nodes of the passenger car path and the truck path.
Fig. 3 illustrates the principles of one embodiment of a system for automatically generating LKJ path data based on LKJ monitored traffic data in accordance with the present invention. The invention takes the example that LKJ2000 monitoring traffic data automatically generates LKJ-15 path data as an example for explanation. Referring to fig. 3, the system of the present embodiment includes: the system comprises a contrast relationship establishing module, a screening module, a node and through relationship generating module and a path data generating module.
The output end of the contrast relation establishing module is connected with the screening module, the output end of the screening module is connected with the node and the through relation generating module, and the output end of the node and the output end of the through relation generating module are connected with the path data generating module.
The comparison relationship establishing module is used for analyzing the monitoring traffic information, establishing a comparison relationship between the monitoring traffic and the data traffic, and generating an LKJ operation path.
The monitoring traffic information is typically stored in an LKJ2000 control parameter file. The monitoring intersection refers to a data arrangement logic mode which is processed for the LKJ basic data source file according to the actual running path of the train and is associated with the train control condition. The data intersection refers to a data subset related to train operation intersection, which is divided for convenience of management and use, in the LKJ basic data source file. A data intersection consists of upstream data and downstream data.
The screening module is used for screening information data required by path data in the corresponding data traffic paths in the line data according to the comparison relation between the monitoring traffic paths and the data traffic paths as an initial condition. The information data required by the screened path data includes station information and transfer information.
And the node and through relation generation module is used for searching the information data which is filtered by traversal and generating key nodes and through relations of all the paths.
The node and cut-through relationship generation module is further configured to perform the processing as shown in FIG. 2.
Step 3-1: and traversing the screened information in the set from the 1 st data of the route data set matched with the initial data intersection number.
Step 3-2: searching node information in the set, judging whether the node meets the requirement, if so, entering step 3-3, and if not, entering step 3-6.
Step 3-3: adding the nodes meeting the requirements in the step 3-2 into the path node set to generate path key nodes;
step 3-4: judging whether the key nodes of the path generated in the step 3-3 have key data which are transferred and meet the requirements, if so, entering the step 3-5, and if not, entering the step 3-6;
step 3-5: judging the key node data of the path meeting the requirements according to the step 3-4, extracting the relation data in the key node data of the path, and generating a path through relation;
step 3-6: and judging whether the data in the set is completely traversed, if so, entering the step 3-7, otherwise, traversing the next piece of data information, and jumping to the step 3-2.
Step 3-7: and after the set data is traversed, generating a path key node set and a through relation set.
The path data generation module is used for extracting key nodes and through relations of each path generated by the node and through relation generation module, and generating LKJ path data after sorting.
The finally generated LKJ-15 path data comprises uplink path data and downlink path data, and covers all walkable branches and nodes of the passenger car path and the truck path.
As shown in FIG. 4, the present invention also discloses a computer system for applying the above method, the computer system comprising a processor and a memory, the memory configured to store a series of computer-executable instructions and computer-accessible data associated with the series of computer-executable instructions.
When executed by a processor, the series of computer-executable instructions cause the processor to perform the method as described in the embodiments of fig. 1-2 above.
Furthermore, a non-transitory computer-readable storage medium is disclosed, having stored thereon a series of computer-executable instructions that, when executed by a computing device, cause the computing device to perform the method as described in the embodiments illustrated in fig. 1-2 above.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk (disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (disks) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:信息处理方法、装置以及存储介质