CN111897715A - Method and device for automatically generating configuration data of simulation test environment - Google Patents
Method and device for automatically generating configuration data of simulation test environment Download PDFInfo
- Publication number
- CN111897715A CN111897715A CN202010600575.2A CN202010600575A CN111897715A CN 111897715 A CN111897715 A CN 111897715A CN 202010600575 A CN202010600575 A CN 202010600575A CN 111897715 A CN111897715 A CN 111897715A
- Authority
- CN
- China
- Prior art keywords
- original standard
- data file
- standard data
- test environment
- simulation test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 76
- 238000012360 testing method Methods 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000006243 chemical reaction Methods 0.000 claims abstract description 73
- 238000005065 mining Methods 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 7
- 238000003860 storage Methods 0.000 claims description 7
- 230000008676 import Effects 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims description 4
- 238000013075 data extraction Methods 0.000 claims description 3
- 238000009826 distribution Methods 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims 1
- 238000004519 manufacturing process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a method and a device for automatically generating configuration data of a simulation test environment, wherein the method comprises the following steps: acquiring an original standard data file; according to the attribute relation of each data element in the original standard data file, carrying out logic conversion on the original standard data file to obtain an original standard data file after the logic conversion; and generating simulation test environment configuration data according to the original standard data file after the logic conversion. According to the embodiment of the invention, the original standard data file is subjected to logic conversion, and the simulation test environment configuration data is generated according to the data subjected to the logic conversion, so that the simulation test environment data generation and data conversion efficiency of the CBTC2.0 system is improved, the human resource consumption and the production cost are reduced, and the accuracy of the data is ensured.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for automatically generating configuration data of a simulation test environment.
Background
A Communication-Based Train Control (CBTC) 2.0 system is a set of interconnected Train automatic Control systems, and is used for commanding and controlling Train operation and ensuring driving safety. In the system, the simulation test environment needs to import corresponding environment configuration data, including an equipment number table, an IP address table, a standardized engineering data comparison table, and the like, and the existing data configuration tool can generate DC _ DRAW _ POSITION table data configuration related to an operation diagram.
However, the recording process of the configuration data of the simulation test environment of the current CBTC2.0 system is mainly manually completed by a data configurator, and data of an equipment number table, an IP address planning table and a standardized engineering data comparison table need to be recorded into the system one by one, so that the labor cost is consumed, the efficiency is reduced, the accuracy is difficult to be ensured, and the automation degree of the configuration data needs to be further improved.
Therefore, there is a need for a method and apparatus for automatically generating configuration data of a simulation test environment to solve the above problems.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a method and a device for automatically generating configuration data of a simulation test environment.
In a first aspect, an embodiment of the present invention provides an automatic generation method for configuration data of a simulation test environment, including:
acquiring an original standard data file;
according to the attribute relation of each data element in the original standard data file, carrying out logic conversion on the original standard data file to obtain an original standard data file after the logic conversion;
and generating simulation test environment configuration data according to the original standard data file after the logic conversion.
Further, the performing logic conversion on the original standard data file according to the attribute relationship of each data element in the original standard data file includes:
extracting data elements of the original standard data file to obtain equipment information and track section information;
acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information;
converting the names of the interlocked mining and driving relays to obtain the names of the mining and driving relays based on the simulation test environment;
and obtaining an original standard data file after logic conversion according to the track section length offset, the equipment offset, the track unit starting point distance of the left end of the logic section, the track unit uplink and downlink link relation and the simulation test environment-based mining and driving relay name.
Further, the original standard data file includes: the system comprises an equipment number list, an engineering data comparison list, a trackside electronic unit distribution and responder list, a responder message list, an interlocking acquisition code bit file, an interlocking drive code bit file and an IP address planning list.
Further, after the obtaining the original standard data file, the method further comprises:
preprocessing the original standard data file to obtain a preprocessed original standard data file;
and inspecting the preprocessed original standard data file, and reserving the original standard data file meeting preset inspection conditions for generating simulation test environment configuration data.
Further, after the original standard data file is logically converted according to the attribute relationship of each data element in the original standard data file to obtain the logically converted original standard data file, the method further includes:
acquiring data exception information, and generating a log file according to the data exception information, wherein the data exception information comprises error information of an original standard data file and processing exception information during logic conversion.
Further, the simulation test environment configuration data includes: the system comprises a signal machine table, a turnout table, a transponder table, a track unit table, an interlocking driving point table, an interlocking acquisition point table, a special relay table, an automatic train protection device model simulation equipment IP table, a shaft counting section sequence table, a logical section and track unit relation table, a shielded gate train-ground communication data table, a button and simple relay table, a network service configuration table, an automatic train protection device interface platform configuration table and an automatic train protection device logical section and track unit mapping table.
In a second aspect, an embodiment of the present invention provides an apparatus for automatically generating configuration data of a simulation test environment, including:
the data import module is used for acquiring an original standard data file;
the logic conversion module is used for carrying out logic conversion on the original standard data file according to the attribute relation of each data element in the original standard data file to obtain an original standard data file after the logic conversion;
and the configuration data generation module is used for generating simulation test environment configuration data according to the original standard data file after the logic conversion.
Further, the logic conversion module comprises:
the data extraction unit is used for extracting data elements of the original standard data file to obtain equipment information and track section information;
the processing unit is used for acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information;
the conversion unit is used for converting the names of the interlocked mining drive relays to obtain the names of the mining drive relays based on the simulation test environment;
and the processing unit is used for obtaining the original standard data file after logic conversion according to the track section length offset, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit, the uplink and downlink link relation of the track unit and the name of the mining and driving relay based on the simulation test environment.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method provided in the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method as provided in the first aspect.
According to the method and the device for automatically generating the configuration data of the simulation test environment, provided by the embodiment of the invention, the original standard data file is subjected to logic conversion, and the configuration data of the simulation test environment is generated according to the data subjected to the logic conversion, so that the generation efficiency and the data conversion efficiency of the simulation test environment data of the CBTC2.0 system are improved, the human resource consumption and the production cost are reduced, and the accuracy of the data is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for automatically generating configuration data of a simulation test environment according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating generation of configuration data of a simulation test environment according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an automatic configuration data generation apparatus for a simulation test environment according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method for automatically generating configuration data of a simulation test environment according to an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a method for automatically generating configuration data of a simulation test environment, including:
In an embodiment of the present invention, the original standard data file includes: the system comprises a device number list, an engineering data comparison list (comprising an adjacent area controller list), a Line side Electronic Unit (LEU) distribution and transponder list, a transponder text list (PIV list), an interlocking acquisition code bit file (input. xml), an interlocking drive code bit file (out.txt, element.xml and Station Cfg. xml) and an IP address planning list, wherein the data files mainly comprise an area controller list engineering data file, an interlocking acquisition and driving file and each device name comparison file. In the embodiment of the present invention, if a Zone Controller (ZC) handover area, a computer inter-locking (CI) platform, and a parking track table need to be generated, the engineering data lookup tables of adjacent ZCs need to be sequentially obtained according to an uplink direction of an electronic map.
And 102, performing logic conversion on the original standard data file according to the attribute relation of each data element in the original standard data file to obtain the original standard data file after the logic conversion.
In the embodiment of the invention, the original standard data does not contain original equipment data of the CBTC2.0 system logic and can not directly meet the data requirement of the simulation test environment, so that the original standard data needs to be subjected to logic conversion according to the database data requirement of the CBTC2.0 simulation test environment. In the embodiment of the invention, the data in the equipment number table and the engineering data comparison table are mainly subjected to logic conversion, and the data after the logic conversion and other data are stored in the database so as to be used for automatically generating the configuration data of the simulation test environment.
103, generating simulation test environment configuration data according to the original standard data file after the logic conversion.
In the embodiment of the invention, after the original standard data is obtained, the input data is subjected to logic conversion according to the data requirement of the simulation test environment database, and the simulation test environment configuration data is generated through the data subjected to the logic conversion. The embodiment of the invention realizes Automatic generation of configuration data of a simulation Test Environment based on an Automatic Test Environment (ATE for short) of a CBTC2.0 system. The simulation test environment configuration data comprises: the system comprises a signal machine meter, a turnout meter, a transponder meter, a track unit meter, an interlocking driving point meter, an interlocking acquisition point meter, a special relay meter, an Automatic Train Protection device (ATP) model simulation equipment IP meter, a shaft counting section sequence meter, a logical section and track unit relation meter, a shielded gate Train-ground communication data meter, a button and simple relay meter, a network service configuration meter, an Automatic Train Protection device interface platform configuration meter and an Automatic Train Protection device logical section and track unit mapping table. It should be noted that, after the original standard data is subjected to logic conversion, the obtained logic conversion data and other data may generate simulation test environment configuration data by using the existing method, and the embodiment of the present invention is not described again. Fig. 2 is a schematic diagram illustrating generation of configuration data of a simulation test environment according to an embodiment of the present invention, and referring to fig. 2, different configuration data may be generated according to an original standard data file according to actual requirements.
According to the automatic generation method of the simulation test environment configuration data, provided by the embodiment of the invention, the original standard data file is subjected to logic conversion, and the simulation test environment configuration data is generated according to the data subjected to the logic conversion, so that the generation efficiency and the data conversion efficiency of the simulation test environment data of the CBTC2.0 system are improved, the human resource consumption and the production cost are reduced, and the accuracy of the data is ensured.
On the basis of the above embodiment, the performing logic conversion on the original standard data file according to the attribute relationship of each data element in the original standard data file includes:
and extracting data elements of the original standard data file to obtain equipment information and track section information.
In the embodiment of the invention, data elements are searched in the original standard data file, and various device names and track sections are extracted, so that device information and track section information are obtained, wherein the device information and the track section information comprise device types, associated track sections, uplink and downlink directions, belonging interlocks, a centralized area and the like.
And acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information.
In the embodiment of the invention, the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit are respectively obtained. Specifically, explaining by obtaining a length offset of a track section, according to track section information, obtaining a left kilometer post and a right kilometer post corresponding to a target track section, calculating a difference value of the left and right kilometer posts of the track section, and judging whether a long chain exists or not, if so, adding a long chain length in the section based on the difference value of the left and right kilometer posts of the track section; if there is a short chain, the short chain length within the segment is subtracted to obtain the track segment length offset. It should be noted that the method for acquiring the device offset is the same as the method for acquiring the track section length offset, and the embodiment of the present invention is not described again.
Further, in the embodiment of the present invention, the distance from the left end of the logical segment to the starting point of the track unit where the logical segment is located is obtained, specifically, if the track segment is a turnout, the direction of the turnout is first determined, and then the distance from the left end of the logical segment to the starting point of the track unit where the logical segment is located is directly calculated in combination with the uplink and downlink directions; if the track section is a turnout-free section, the position of the current logical section in the track section is judged, namely the logical section belongs to the nth logical section of the current track unit, and the lengths of the previous n-1 logical sections are accumulated to be used as the length of the current logical section from the starting point.
Further, in the embodiment of the present invention, the order of the logical sections in the track section is searched, and the corresponding relationship is sequentially established from left to right according to the uplink and downlink link directions, so as to establish the uplink and downlink link relationship of the track unit.
And converting the interlocked mining and driving relay name to obtain the mining and driving relay name based on the simulation test environment.
In the embodiment of the invention, the names of the interlocked mining and driving relays are converted into the names of the mining and driving relays of the simulation test environment. Specifically, firstly, obtaining comparison information of the names of the mining and driving points, establishing a mapping table between the interlocking code positions and the names of the code positions of the simulation test environment, then comparing the input data of the interlocking code positions one by one, and if the code positions are successfully matched, replacing the names of the interlocking code positions with the names of the code positions of the simulation test environment, namely obtaining the names of the mining and driving relays based on the simulation test environment.
And obtaining an original standard data file after logic conversion according to the track section length offset, the equipment offset, the track unit starting point distance of the left end of the logic section, the track unit uplink and downlink link relation and the simulation test environment-based mining and driving relay name.
In the embodiment of the present invention, other attribute information of each device, including a device number, a device attribute, a device belonging line, and the like, is extracted from each item of data obtained in the above embodiments, and then, a track section length offset, a device offset, a track unit starting point distance where a logical section left end is located, a track unit uplink and downlink link relationship, a drive and acquisition relay name based on a simulation test environment, and these other attribute information are stored in a database as an original standard data file after logical conversion, so as to be used for subsequent configuration data generation.
On the basis of the above embodiment, after the obtaining the original standard data file, the method further includes:
preprocessing the original standard data file to obtain a preprocessed original standard data file;
and inspecting the preprocessed original standard data file, and reserving the original standard data file meeting preset inspection conditions for generating simulation test environment configuration data.
In the embodiment of the invention, the original standard data file is preprocessed, including removing the spaces before and after the data, assigning null values as default values, converting digital data formats and the like; and then, the preprocessed data is checked, including duplicate name checking, illegal character checking, digital data validity checking, null value checking and the like of each station yard device.
On the basis of the above embodiment, after the original standard data file is logically converted according to the attribute relationship of each data element in the original standard data file to obtain the logically converted original standard data file, the method further includes:
acquiring data exception information, and generating a log file according to the data exception information, wherein the data exception information comprises error information of an original standard data file and processing exception information during logic conversion.
In the embodiment of the invention, in the process of data acquisition and logic processing conversion, original data is checked, abnormal analysis is carried out on abnormal logic conversion, and error information of an original standard data file obtained through checking and analysis and abnormal processing information during logic conversion are output to a corresponding log file for a data configuration worker to check and check data errors. Specifically, during the logic conversion process, the occurred exception is stored in a log file which is located in a log folder under a program directory, and if the txt file corresponding to the date and time is not 0KB, the exception is captured in the conversion operation, and the txt log file needs to be opened to check the cause of the exception.
Fig. 3 is a schematic structural diagram of an automatic generation device for configuration data of a simulation test environment according to an embodiment of the present invention, and as shown in fig. 3, an automatic generation device for configuration data of a simulation test environment according to an embodiment of the present invention includes a data import module 301, a logic conversion module 302, and a configuration data generation module 303, where the data import module 301 is configured to obtain an original standard data file; the logic conversion module 302 is configured to perform logic conversion on the original standard data file according to the attribute relationship of each data element in the original standard data file to obtain an original standard data file after the logic conversion; the configuration data generating module 303 is configured to generate simulation test environment configuration data according to the original standard data file after the logic conversion.
According to the automatic generation device of the simulation test environment configuration data, provided by the embodiment of the invention, the original standard data file is subjected to logic conversion, and the simulation test environment configuration data is generated according to the data subjected to the logic conversion, so that the generation efficiency and the data conversion efficiency of the simulation test environment data of the CBTC2.0 system are improved, the human resource consumption and the production cost are reduced, and the accuracy of the data is ensured.
On the basis of the above embodiment, the logic conversion module includes:
the data extraction unit is used for extracting data elements of the original standard data file to obtain equipment information and track section information;
the processing unit is used for acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information;
the conversion unit is used for converting the names of the interlocked mining drive relays to obtain the names of the mining drive relays based on the simulation test environment;
and the processing unit is used for obtaining the original standard data file after logic conversion according to the track section length offset, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit, the uplink and downlink link relation of the track unit and the name of the mining and driving relay based on the simulation test environment.
The apparatus provided in the embodiment of the present invention is used for executing the above method embodiments, and for details of the process and the details, reference is made to the above embodiments, which are not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and referring to fig. 4, the electronic device may include: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a communication bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the communication bus 404. Processor 401 may call logic instructions in memory 403 to perform the following method: acquiring an original standard data file; according to the attribute relation of each data element in the original standard data file, carrying out logic conversion on the original standard data file to obtain an original standard data file after the logic conversion; and generating simulation test environment configuration data according to the original standard data file after the logic conversion.
In addition, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the method for automatically generating configuration data of a simulation test environment, provided by the foregoing embodiments, for example, including: acquiring an original standard data file; according to the attribute relation of each data element in the original standard data file, carrying out logic conversion on the original standard data file to obtain an original standard data file after the logic conversion; and generating simulation test environment configuration data according to the original standard data file after the logic conversion.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for automatically generating configuration data of a simulation test environment is characterized by comprising the following steps:
acquiring an original standard data file;
according to the attribute relation of each data element in the original standard data file, carrying out logic conversion on the original standard data file to obtain an original standard data file after the logic conversion;
and generating simulation test environment configuration data according to the original standard data file after the logic conversion.
2. The method according to claim 1, wherein the performing logic transformation on the original standard data file according to the attribute relationship of each data element in the original standard data file comprises:
extracting data elements of the original standard data file to obtain equipment information and track section information;
acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information;
converting the names of the interlocked mining and driving relays to obtain the names of the mining and driving relays based on the simulation test environment;
and obtaining an original standard data file after logic conversion according to the track section length offset, the equipment offset, the track unit starting point distance of the left end of the logic section, the track unit uplink and downlink link relation and the simulation test environment-based mining and driving relay name.
3. The method of claim 1, wherein the raw standard data file comprises: the system comprises an equipment number list, an engineering data comparison list, a trackside electronic unit distribution and responder list, a responder message list, an interlocking acquisition code bit file, an interlocking drive code bit file and an IP address planning list.
4. The method of claim 1, wherein after said obtaining the original standard data file, the method further comprises:
preprocessing the original standard data file to obtain a preprocessed original standard data file;
and inspecting the preprocessed original standard data file, and reserving the original standard data file meeting preset inspection conditions for generating simulation test environment configuration data.
5. The method according to claim 1, wherein after the original standard data file is logically transformed according to the attribute relationship of each data element in the original standard data file to obtain the logically transformed original standard data file, the method further comprises:
acquiring data exception information, and generating a log file according to the data exception information, wherein the data exception information comprises error information of an original standard data file and processing exception information during logic conversion.
6. The method of claim 1, wherein the simulation test environment configuration data comprises: the system comprises a signal machine table, a turnout table, a transponder table, a track unit table, an interlocking driving point table, an interlocking acquisition point table, a special relay table, an automatic train protection device model simulation equipment IP table, a shaft counting section sequence table, a logical section and track unit relation table, a shielded gate train-ground communication data table, a button and simple relay table, a network service configuration table, an automatic train protection device interface platform configuration table and an automatic train protection device logical section and track unit mapping table.
7. An apparatus for automatically generating configuration data of a simulation test environment, comprising:
the data import module is used for acquiring an original standard data file;
the logic conversion module is used for carrying out logic conversion on the original standard data file according to the attribute relation of each data element in the original standard data file to obtain an original standard data file after the logic conversion;
and the configuration data generation module is used for generating simulation test environment configuration data according to the original standard data file after the logic conversion.
8. The apparatus of claim 7, wherein the logic conversion module comprises:
the data extraction unit is used for extracting data elements of the original standard data file to obtain equipment information and track section information;
the processing unit is used for acquiring the length offset of the track section, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit and the uplink and downlink link relation of the track unit according to the equipment information and the track section information;
the conversion unit is used for converting the names of the interlocked mining drive relays to obtain the names of the mining drive relays based on the simulation test environment;
and the processing unit is used for obtaining the original standard data file after logic conversion according to the track section length offset, the equipment offset, the distance from the left end of the logic section to the starting point of the track unit, the uplink and downlink link relation of the track unit and the name of the mining and driving relay based on the simulation test environment.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for automatically generating simulation test environment configuration data according to any one of claims 1 to 6 when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method for automatically generating simulation test environment configuration data according to any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010600575.2A CN111897715A (en) | 2020-06-28 | 2020-06-28 | Method and device for automatically generating configuration data of simulation test environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010600575.2A CN111897715A (en) | 2020-06-28 | 2020-06-28 | Method and device for automatically generating configuration data of simulation test environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111897715A true CN111897715A (en) | 2020-11-06 |
Family
ID=73207455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010600575.2A Pending CN111897715A (en) | 2020-06-28 | 2020-06-28 | Method and device for automatically generating configuration data of simulation test environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111897715A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676368A (en) * | 2021-07-12 | 2021-11-19 | 交控科技股份有限公司 | Method and device applied to ATS network performance test |
CN113682351A (en) * | 2021-07-22 | 2021-11-23 | 交控科技股份有限公司 | Interlocking data testing method and system |
CN113799855A (en) * | 2021-11-16 | 2021-12-17 | 通号工程局集团电气工程有限公司 | Railway signal data acquisition simulation analysis processing system based on visual interface |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2511717A1 (en) * | 2004-07-08 | 2006-01-08 | Ultra-Tech Enterprises, Inc. | Method and apparatus for automatically testing a railroad interlocking |
US20080288202A1 (en) * | 2005-06-30 | 2008-11-20 | Ultra-Tech Enterprises, Inc. | Method and apparatus for automatically testing a railroad interlocking |
KR20120072183A (en) * | 2010-12-23 | 2012-07-03 | 주식회사 포스코아이씨티 | System for simulating train operation |
CN102991535A (en) * | 2012-12-07 | 2013-03-27 | 北京交控科技有限公司 | Automatic test method for unlocking logic of entering section in interlocking system |
DE102013020582A1 (en) * | 2012-12-17 | 2014-06-18 | Sew-Eurodrive Gmbh & Co Kg | Method for computer-aided replication of a production plant, method for commissioning a production plant, configuration device and production plant |
CN110516354A (en) * | 2019-08-27 | 2019-11-29 | 湖南中车时代通信信号有限公司 | A kind of method, apparatus automatically generating yards design and computer-readable medium |
-
2020
- 2020-06-28 CN CN202010600575.2A patent/CN111897715A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2511717A1 (en) * | 2004-07-08 | 2006-01-08 | Ultra-Tech Enterprises, Inc. | Method and apparatus for automatically testing a railroad interlocking |
US20080288202A1 (en) * | 2005-06-30 | 2008-11-20 | Ultra-Tech Enterprises, Inc. | Method and apparatus for automatically testing a railroad interlocking |
KR20120072183A (en) * | 2010-12-23 | 2012-07-03 | 주식회사 포스코아이씨티 | System for simulating train operation |
CN102991535A (en) * | 2012-12-07 | 2013-03-27 | 北京交控科技有限公司 | Automatic test method for unlocking logic of entering section in interlocking system |
DE102013020582A1 (en) * | 2012-12-17 | 2014-06-18 | Sew-Eurodrive Gmbh & Co Kg | Method for computer-aided replication of a production plant, method for commissioning a production plant, configuration device and production plant |
CN110516354A (en) * | 2019-08-27 | 2019-11-29 | 湖南中车时代通信信号有限公司 | A kind of method, apparatus automatically generating yards design and computer-readable medium |
Non-Patent Citations (2)
Title |
---|
崔凯;: "基于分布式仿真的列车运行三维视景驱动", 变频器世界, no. 02 * |
李澎东;谭力天;雷达定;陈昕;: "基于有向图的CBTC信号系统ZC线路数据自动生成方法", 控制与信息技术, no. 04 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113676368A (en) * | 2021-07-12 | 2021-11-19 | 交控科技股份有限公司 | Method and device applied to ATS network performance test |
CN113676368B (en) * | 2021-07-12 | 2022-07-19 | 交控科技股份有限公司 | Method and device applied to ATS network performance test |
CN113682351A (en) * | 2021-07-22 | 2021-11-23 | 交控科技股份有限公司 | Interlocking data testing method and system |
CN113682351B (en) * | 2021-07-22 | 2023-02-28 | 交控科技股份有限公司 | Interlocking data testing method and system |
CN113799855A (en) * | 2021-11-16 | 2021-12-17 | 通号工程局集团电气工程有限公司 | Railway signal data acquisition simulation analysis processing system based on visual interface |
CN113799855B (en) * | 2021-11-16 | 2022-03-22 | 通号工程局集团电气工程有限公司 | Railway signal data acquisition simulation analysis processing system based on visual interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111897715A (en) | Method and device for automatically generating configuration data of simulation test environment | |
CN106802862A (en) | Train operation control system security critical software automatically testing platform | |
CN109760720B (en) | Method and device for automatically generating interface code bit table based on signal plane layout diagram | |
CN110126886B (en) | Hump safety protection information system | |
CN112000557A (en) | Automatic testing arrangement of track traffic signal system | |
CN109815124B (en) | MBSE-based interlocking function defect analysis method and device and interlocking system | |
Omri et al. | Data management requirements for phm implementation in smes | |
CN110929309A (en) | Automatic verification method for protection section list document in urban rail signal system | |
CN116029695A (en) | Rail transit inspection work order processing method and device, electronic equipment and storage medium | |
CN113553117A (en) | Method and device for automatically generating configuration data of automatic train supervision system | |
CN107423035A (en) | A kind of software development process product data management system | |
CN113703417B (en) | Method and device for determining test cases of full-automatic scene of train operation | |
CN115880803A (en) | Intelligent inspection system and method | |
CN110667654B (en) | Indoor test method and device for information consistency of CBTC system transponder | |
CN115086209A (en) | Signal system digital intelligent test method based on edge computing platform | |
CN114421617A (en) | Medium-voltage fault research and judgment method based on distribution network operation monitoring data | |
CN114693023A (en) | Equipment point inspection system and operation method thereof | |
CN113360628A (en) | Network repair event layered maintenance method and system based on problem knowledge base | |
CN112085867B (en) | Method and system for analyzing reliability of train operation record data | |
CN110228508A (en) | Train crosses vehicle message method for detecting abnormality and detection device | |
CN114954586B (en) | Intelligent operation system, method, device, equipment, product and railway vehicle | |
CN113360306B (en) | Real-time fault detection method for airborne information system | |
CN113050925B (en) | Block chain intelligent contract repairing method and device | |
CN116773238B (en) | Fault monitoring method and system based on industrial data | |
CN116450520A (en) | Method, medium and equipment for analyzing legacy defects of rail transit integrated project |
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 |