CN112810668B - Method and device for generating speed limit test data - Google Patents

Method and device for generating speed limit test data Download PDF

Info

Publication number
CN112810668B
CN112810668B CN202110415875.8A CN202110415875A CN112810668B CN 112810668 B CN112810668 B CN 112810668B CN 202110415875 A CN202110415875 A CN 202110415875A CN 112810668 B CN112810668 B CN 112810668B
Authority
CN
China
Prior art keywords
speed limit
line
type
test data
related information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110415875.8A
Other languages
Chinese (zh)
Other versions
CN112810668A (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.)
Casco Signal Beijing Ltd
Original Assignee
Casco Signal Beijing 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 Casco Signal Beijing Ltd filed Critical Casco Signal Beijing Ltd
Priority to CN202110415875.8A priority Critical patent/CN112810668B/en
Publication of CN112810668A publication Critical patent/CN112810668A/en
Application granted granted Critical
Publication of CN112810668B publication Critical patent/CN112810668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/60Testing or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a method and a device for generating speed limit test data, and relates to the technical field of automation. The method for generating the speed limit test data comprises the following steps: reading a line data original table, wherein the line data original table contains speed limit command related information corresponding to various speed limit types; acquiring a target speed limit type selected by a user; finding out speed limit command related information corresponding to the target speed limit type from the line data original table; and converting the related information of the speed limit command into speed limit test data which accords with the CTC message format of the dispatching command center. In the process of generating the speed limit test data, only a user needs to select a target speed limit type, and no other operation is needed to be performed manually by the user, so that the accuracy and the efficiency of the speed limit test of the temporary speed limit server TSRS can be improved.

Description

Method and device for generating speed limit test data
Technical Field
The application relates to the technical field of automation, in particular to a method and a device for generating speed limit test data.
Background
The Temporary Speed limit Server (TSRS) is used as core technical equipment for guaranteeing Train operation safety and Train operation efficiency, and is connected with a dispatching and commanding Center (CTC), a Train Control Center (TCC), other Adjacent Temporary Speed limit servers (Ad-TSRS), and a Radio Block Center (RBC), so that Temporary Speed limit management, splitting and issuing functions are realized.
Fig. 1 schematically shows the connection relationship between the TSRS and CTCs, TCC, Ad-TSRS, and RBC, in fig. 1, the temporary speed limit server TSRS obtains speed limit data from the scheduling command center CTC, then checks and splits the speed limit data, and then sends the speed limit data to the relevant train control center TCC, radio block center RBC, and adjacent temporary speed limit servers Ad-TSRS. Because the line names, ranges and allowed speeds governed by different temporary speed limiting servers TSRS are different, when a new temporary speed limiting server TSRS is tested, original speed limiting test data manually filled in a scheduling command center CTC cannot be directly reused, and each time the speed limiting test is carried out on different temporary speed limiting servers TSRS, the speed limiting test data are manually filled in the scheduling command center CTC and then issued through the scheduling command center CTC according to TSRS data and tested speed limiting types and a plurality of line data original tables to obtain relevant information of speed limiting commands.
However, the speed limit command related information is manually searched in the original data table, and the speed limit test data is manually filled in the scheduling command center CTC, so that errors in searching the speed limit command related information or inputting the speed limit test data easily occur due to the fact that the manpower is easily interfered by the dispatching command center CTC and the surrounding environment, and further errors occur in speed limit testing. The more the number of the temporary speed limit servers TSRS is, the more the types of the speed limit tests are, and the higher the probability of errors of the speed limit tests is. In addition, the speed limit type and the coverage surface are manually input each time, so that the input speed limit type and the input coverage surface are limited, the accuracy of speed limit test is reduced, and the efficiency of speed limit test is also reduced.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating speed limit test data, which can improve the accuracy and efficiency of speed limit test on a temporary speed limit server TSRS.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
a first aspect of the present application provides a method for generating speed limit test data, including: reading a line data original table, wherein the line data original table contains speed limit command related information corresponding to various speed limit types; acquiring a target speed limit type selected by a user; searching out the speed limit command related information corresponding to the target speed limit type from the line data original table; and converting the related information of the speed limit command into speed limit test data conforming to the CTC message format of the dispatching command center.
A second aspect of the present application provides a device for generating speed limit test data, including: the reading module is used for reading a line data original table, and the line data original table contains speed limit command related information corresponding to various speed limit types; the input module is used for acquiring a target speed limit type selected by a user; the searching module is used for searching the speed limit command related information corresponding to the target speed limit type from the line data original table; and the format conversion module is used for converting the related information of the speed limit command into speed limit test data which accords with the CTC message format of the dispatching command center.
A third aspect of the present application provides an electronic device, comprising: at least one processor; and at least one memory, bus connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call the program instructions in the memory to perform the method according to one or more of the above-mentioned embodiments.
A fourth aspect of the present application provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus in which the storage medium is located is controlled to perform the method in one or more of the above technical solutions.
Compared with the prior art, according to the method for generating speed limit test data provided by the first aspect of the application, the line data original table is read, the target speed limit type is obtained, the speed limit command related information corresponding to the target speed limit type is automatically searched in the line data original table, the speed limit command related information is automatically converted into the speed limit test data meeting the CTC message format of the dispatching command center, in the process of generating the speed limit test data, only the target speed limit type is selected by a user, and then other operations are not required to be manually performed by the user, the speed limit test data can be automatically generated, and further the speed limit test is performed on the temporary speed limit server TSRS. Because manual operation is reduced, errors can be prevented from being searched in the original data table manually and being input in the scheduling command center CTC manually, and the accuracy and the efficiency of speed limit testing on the temporary speed limit server TSRS are improved. And the line data original table contains the speed limit command related information of all lines corresponding to the speed limit type, and after the user selects the target speed limit type, the speed limit command related information of all lines related to the target speed limit type can be searched from the line data original table, so that the coverage of speed limit test is enlarged.
The device for generating speed limit test data, the electronic device and the computer-readable storage medium provided by the second aspect of the present application have the same advantages as the method for generating speed limit test data provided by the first aspect.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 schematically shows the connection of TSRS to CTC, TCC, Ad-TSRS, RBC;
FIG. 2 schematically illustrates a first flow chart of a method of generating speed limit test data;
FIG. 3 schematically illustrates a second flow chart of a method of generating speed limit test data;
FIG. 4 schematically illustrates various speed limit types;
FIG. 5 schematically illustrates the structure of a speed limit test data file;
fig. 6 is a block diagram schematically showing a generation apparatus of speed limit test data;
fig. 7 schematically shows a block diagram of an electronic device.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
The embodiment of the application provides a method for generating speed limit test data, and the method can be applied to a tool for automatically generating the speed limit data. That is, by operating the tool, the speed limit data can be automatically generated. In the actual use process, only the tool needs to be operated manually, and the corresponding parameters (such as speed limit types and the like) of the temporary speed limit server TSRS to be tested are selected in the tool. And then, the tool can generate speed limit test data corresponding to the temporary speed limit server TSRS through autonomous operation, and further send the automatically generated speed limit test data to a dispatching command center CTC. Compared with the prior art that the speed limit command related information is obtained by manually inquiring a plurality of line data original tables and then the speed limit test data is manually filled in the scheduling command center CTC based on the speed limit command related information, the method is easy to make mistakes, small in coverage, low in efficiency and not easy to multiplex. By adopting the method for generating the speed limit test data, the speed limit test data corresponding to the temporary speed limit server TSRS is automatically generated by using a tool and then is automatically sent to the scheduling command center CTC, the original form of line data does not need to be manually inquired, the speed limit test data does not need to be manually filled, and the test accuracy, the test efficiency and the test coverage can be improved.
Fig. 2 schematically shows a first flowchart of a method for generating speed limit test data, and in fig. 2, the method may include:
s201: and reading the line data original table.
The original table of line data also needs to be read, as in the manual mode.
The raw table of line data here is a standard table in the field of railway signals. In the line data original table, there are speed limit command related information corresponding to various speed limit types.
S202: and acquiring the target speed limit type selected by the user.
Because the line names, ranges and allowed speeds governed by different temporary speed limit servers TSRS are different, the speed limit tests performed on different temporary speed limit servers TSRS are also different. Different speed limit tests correspond to different speed limit types, and different limit types correspond to different speed limit command related information. Therefore, the temporary speed limit servers TSRS with different line names, different jurisdictions and different allowed speeds can be tested through the speed limit command related information corresponding to different speed limit types.
In practical application, the tool for automatically generating the speed limit data can provide an interactive interface. In the interactive interface, different speed limit types are displayed. The user can select the speed limit type to be subjected to the speed limit test in the interactive interface, namely the target speed limit type.
It should be noted here that the user may select all speed limit types in the interactive interface, and the user may also select one or more speed limit types in the interactive interface. The specific number of the speed limit types selected by the user in the interactive interface is not limited herein.
When the user selects the target speed limit type in the interactive interface, the corresponding speed limit type can be selected according to the line name and the range governed by the temporary speed limit server TSRS to be tested and used as the target speed limit type.
S203: and searching the speed limit command related information corresponding to the target speed limit type from the line data original table.
The line data original table contains the speed limit command related information corresponding to various speed limit types. After the user selects the target speed limit type to be tested, effective fields and data can be obtained in the line data original table according to the target speed limit type, and then speed limit command related information corresponding to the target speed limit type is found out. And further feeding back to a scheduling command center (CTC) to perform speed limit test corresponding to the target speed limit type on the temporary speed limit server (TSRS).
S204: and converting the related information of the speed limit command into speed limit test data which accords with the CTC message format of the dispatching command center.
Because the related information of the speed limit command corresponding to the target speed limit type needs to be input into the scheduling command center CTC, and the related information of the speed limit command is issued to the temporary speed limit server TSRS through the scheduling command center CTC so as to carry out the speed limit test corresponding to the target speed limit type on the temporary speed limit server TSRS, the related information of the speed limit command corresponding to the target speed limit type needs to be converted into data which can be identified by the scheduling command center CTC, namely the speed limit test data which accords with the message format of the scheduling command center CTC.
After the speed limit command related information corresponding to the target speed limit type selected by the user is converted into speed limit test data conforming to the message format of the dispatching command center CTC, the speed limit test data is sent to the simulated dispatching command center CTC.
As can be seen from the above, in the method for generating speed limit test data provided in the embodiment of the present application, by reading the line data original table and obtaining the target speed limit type, the related information of the speed limit command corresponding to the target speed limit type is automatically searched in the line data original table, and then the related information of the speed limit command is automatically converted into the speed limit test data conforming to the CTC message format of the dispatch command center. Because manual operation is reduced, errors can be prevented from being searched in the original data table manually and being input in the scheduling command center CTC manually, and the accuracy and the efficiency of speed limit testing on the temporary speed limit server TSRS are improved. And the line data original table contains the speed limit command related information of all lines corresponding to the speed limit type, and after the user selects the target speed limit type, the speed limit command related information of all lines related to the target speed limit type can be searched from the line data original table, so that the coverage of speed limit test is enlarged.
Further, as a refinement and extension of the method shown in fig. 2, the embodiment of the present application further provides a method for generating speed limit test data. Fig. 3 schematically shows a flow chart ii of a method for generating speed limit test data, and in fig. 3, the method may include:
s301: and reading the line data original table.
Specifically, the "ground equipment information table", the "jurisdiction and line number table", the "milestone system and switching point correspondence table", the "equipment affiliation relation table", the "line mileage broken link detail table", the "line data table", the "line speed table" and the "responder location table" can be automatically read from the raw data of the temporary speed limiting server TSRS. Since the line name, range and speed governed by each temporary speed limit server TSRS are determined during the design of the station, the table can be obtained from the original data of the design. This is consistent with the tables used in manual testing, which ensures consistency of data sources.
S302: checking whether the format of the line data original table is correct or not based on a preset format; if so, go to step S303, otherwise, go to step S304.
Each table has a certain format. By the format check, it can be determined whether the read table is correct. And when the read table is determined to be wrong, the correct table can be read again, so that the accuracy of table reading is improved, and the accuracy of speed limit test is further improved.
Specifically, the header formats of the read ground equipment information table, jurisdiction range and line number table, milestone system and switching point correspondence table, equipment affiliation relation table, line mileage broken link detail table, line data table, line speed table and transponder position table can be checked. When one or more tables are checked to be incorrect in format, first prompt information is output. The first prompting message is used for prompting which forms are not in correct format. For example: column X of line X of XXX Table is not in correct format. After seeing the first prompt message, the user can modify the corresponding form format, so that the tool can automatically read the correct form. And when the formats of all the tables are determined to be correct, continuing to execute the next step, namely acquiring the target speed limit type selected by the user.
S303: and acquiring the target speed limit type selected by the user.
The types of speed limits are mainly divided into two main categories: legal speed limit type and illegal speed limit type.
The legal speed limit types include: a positive line speed limit and a lateral line speed limit. The positive line speed limit comprises: and the speed is limited by crossing the boundary and is not limited by crossing the boundary. The side line speed limit comprises the following steps: and the speed is limited by crossing the boundary and is not limited by crossing the boundary. Specifically, the method comprises the following steps: the speed limit of the starting and ending point at the long chain position, the switching speed limit of the mileage mark system, the speed limit of the starting and ending point at each station boundary point, the legal speed limit value of each gear, the permanent and effective speed limit executed immediately in time, and the permanent and effective legal speed limit executed non-immediately in time. The above speed limit type takes the length of the track section as the length of each speed limit. In addition, the method also comprises the following steps: the whole line long distance speed limit and the 1 m short distance speed limit.
The illegal speed limit types include: a positive line speed limit and a lateral line speed limit. The positive line speed limit comprises: and the speed is limited by crossing the boundary and is not limited by crossing the boundary. The side line speed limit comprises the following steps: and the speed is limited by crossing the boundary and is not limited by crossing the boundary. Specifically, the method comprises the following steps: the method comprises the following steps of overtime range positive line speed limit, station number invalid lateral line speed limit, line number invalid lateral line speed limit, starting and ending point speed limit in a short chain, speed limit value invalid speed limit, starting time earlier than current time invalid speed limit, starting time later than ending time invalid speed limit, starting and ending point same speed limit, starting and ending point direction and line direction opposite speed limit.
Fig. 4 schematically shows various speed limit types. The tool can automatically generate corresponding speed limit test data by checking the corresponding speed limit type or the combination of the speed limit types by the user, and the speed limit test data can cover all lines of the speed limit type checked by the user.
S304: and outputting the first prompt message.
The first prompt message is used for prompting that the format of the line data original table is incorrect.
After seeing the first prompt message, the user can know the error of the original table of the line data automatically read by the tool, and further modify the table format according to the prompt. After the user has modified the table format, the facility again performs step S301.
S305: checking whether the line data original table completely contains speed limit command related information corresponding to the target speed limit type; if yes, executing S306; if not, go to step S307.
Sometimes, the target speed limit type selected by the user cannot find the relevant information of the corresponding speed limit command in the original table of the line data. In order to improve the accuracy of the speed limit test, it is necessary to check whether the line data original table completely contains the related information of the speed limit command corresponding to the target speed limit type. If the information is completely contained, the information is indicated to be capable of completely finding the speed limit command related information corresponding to the target speed limit type in the line data original table, and then the subsequent steps can be continuously executed. If the speed limit command is not completely contained, the fact that the speed limit command related information corresponding to the target speed limit type does not exist in the line data original table is proved, and the target speed limit type selected by the user is possibly wrong, and then prompt information is output to prompt the user to reselect the correct speed limit type.
S306: and searching the speed limit command related information corresponding to the target speed limit type from the line data original table.
Step S306 is the same as step S203, and is not described herein again.
S307: and outputting the second prompt message.
And the second prompt message is used for prompting the user to reselect the target speed limit type.
After seeing the second prompt message, the user can know that the previously selected target speed limit type is wrong, and then the user can reselect the correct target speed limit type, so that the accuracy of the speed limit test is improved.
S308: and generating a speed limit execution expected result based on the target speed limit type.
Wherein the expected result of the speed limit execution of the legal speed limit type is success, and the expected result of the speed limit execution of the illegal speed limit type is failure.
And generating a speed limit execution expected result corresponding to the target speed limit type, wherein the expected result is compared with a feedback result obtained after the speed limit command related information corresponding to the target speed limit type is input into a scheduling command center (CTC) so as to determine whether the speed limit test corresponding to the target speed limit type passes or not.
Here, step S308 and steps S305 to S307 may or may not be performed simultaneously. The execution sequence of steps S308 and steps S305-S307 is not limited herein.
S309: and integrating the related information of the speed limit command into speed limit contents comprising a speed limit reason, a speed limit value, a scheduling command number, an operator, a designated ordered station, starting time, ending time, a starting mileage long chain mark, an ending mileage long chain mark, a starting mileage series mark, an ending mileage series mark, a starting mileage mark and an ending mileage mark.
S310: and generating a speed limit test data file based on the sequence number, the target speed limit type, the speed limit content and the expected speed limit execution result.
Fig. 5 schematically shows the structure of a speed limit test data file, and as can be seen from fig. 5, in the speed limit test data file, a plurality of pieces of speed limit test data may be recorded. That is, after the user selects the target speed limit type once, a piece of speed limit test data can be automatically generated and stored in the speed limit test data file. Therefore, the speed limit test data can be multiplexed subsequently.
In addition, the user may edit (e.g., modify) the speed limit test data stored therein against the speed limit test data file.
S311: and inputting the speed limit test data file into a CTC simulator of a dispatching command center.
Of course, the scheduling command center CTC simulator can also automatically read the speed limit test data file. The specific mode for transmitting the speed limit test data file to the CTC simulator of the dispatching command center is not limited herein.
Through a large number of practices, the method for generating the speed limit test data provided by the embodiment of the application has the advantages that thousands of pieces of speed limit test data can be generated by the temporary speed limit server TSRS containing the conventional lines, more than two thousand pieces of speed limit test data can be generated by the temporary speed limit server TSRS with complicated lines such as a junction and the like, and the speed limit test data are issued by the CTC simulator of the dispatching command center, so that the efficiency and the accuracy cannot be achieved by a manual mode, and the method has great advantages in coverage.
Based on the same inventive concept, as an implementation of the method, the embodiment of the application also provides a device for generating the speed limit test data. Fig. 6 is a block diagram schematically showing a generation apparatus of speed limit test data, and in fig. 6, the apparatus may include:
the reading module 601 is configured to read a line data raw table, where the line data raw table includes speed limit command related information corresponding to various speed limit types;
an input module 602, configured to obtain a target speed limit type selected by a user;
the searching module 603 is configured to search, from the line data original table, speed limit command related information corresponding to the target speed limit type;
and a format conversion module 604, configured to convert the information related to the speed limit command into speed limit test data conforming to a CTC message format of the dispatch command center.
Based on the foregoing embodiment, the line data raw table includes: the system comprises a ground equipment information table, a jurisdiction range and line number table, an odometer system and switching point correspondence table, an equipment affiliation relation table, a line mileage broken link detail table, a line data table, a line speedometer and a responder position table.
Based on the foregoing embodiment, the apparatus further includes: the table checking module is used for checking whether the format of the line data original table is correct or not based on a preset format; and when the format of the line data original table is checked to be incorrect, outputting first prompt information, wherein the first prompt information is used for prompting that the format of the line data original table is incorrect.
Based on the foregoing embodiment, the target speed limit type includes: a legal speed limit type and/or an illegal speed limit type;
the legal speed limit type comprises the following steps: the speed limit of the starting and ending point at the long chain, the switching speed limit of the mileage mark system, the speed limit of the starting and ending point at each station boundary point, the legal speed limit value speed limit of each gear, the permanent and effective speed limit executed immediately when the time is, the permanent and effective legal speed limit executed non-immediately when the time is, the whole-line long-distance speed limit and the 1-meter short-distance speed limit are executed;
the illegal speed limit types include: the method comprises the following steps of overtime range positive line speed limit, station number invalid lateral line speed limit, line number invalid lateral line speed limit, starting and ending point speed limit in a short chain, speed limit value invalid speed limit, starting time earlier than current time invalid speed limit, starting time later than ending time invalid speed limit, starting and ending point same speed limit, starting and ending point direction and line direction opposite speed limit.
Based on the foregoing embodiment, the apparatus further includes: the prediction module is used for generating a speed limit execution expected result based on the target speed limit type; wherein the expected result of the speed limit execution of the legal speed limit type is success, and the expected result of the speed limit execution of the illegal speed limit type is failure.
Based on the foregoing embodiment, the format conversion module is configured to integrate the relevant information of the speed limit command into speed limit content including a speed limit reason, a speed limit value, a scheduling command number, an operator, a designated ordered station, a start time, an end time, a start mileage long-chain marker, an end mileage long-chain marker, a start mileage series marker, an end mileage series marker, a start mileage label, and an end mileage label; and generating a speed limit test data file based on the sequence number, the target speed limit type, the speed limit content and the expected speed limit execution result.
Based on the foregoing embodiment, the apparatus further includes: and the output module is used for inputting the speed limit test data file into a CTC simulator of a dispatching command center.
Based on the foregoing embodiment, the apparatus further includes: and the type checking module is used for outputting second prompt information when the speed limit command related information corresponding to the target speed limit type is not searched out from the line data original table, wherein the second prompt information is used for prompting a user to reselect the target speed limit type.
It is to be noted here that the above description of the embodiments of the apparatus, similar to the description of the embodiments of the method described above, has similar advantageous effects as the embodiments of the method. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Based on the same inventive concept, the embodiment of the application also provides the electronic equipment. Fig. 7 schematically shows a block diagram of an electronic device, and in fig. 7, the electronic device may include: at least one processor 701; and at least one memory 702, bus 703 connected to processor 701; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call program instructions in the memory 702 to perform the method in one or more embodiments described above.
It is to be noted here that the above description of the embodiments of the electronic device, similar to the description of the embodiments of the method described above, has similar advantageous effects as the embodiments of the method. For technical details not disclosed in the embodiments of the electronic device of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Based on the same inventive concept, the embodiment of the present application further provides a computer-readable storage medium, which includes a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the method in one or more of the above embodiments.
It is to be noted here that the above description of the storage medium embodiments, like the description of the above method embodiments, has similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating speed limit test data is characterized by comprising the following steps:
reading a line data original table, wherein the line data original table contains speed limit command related information corresponding to various speed limit types;
acquiring a target speed limit type selected by a user, wherein the target speed limit type is selected according to a line name and a range governed by a temporary speed limit server TSRS to be tested;
searching out the speed limit command related information corresponding to the target speed limit type from the line data original table;
and converting the related information of the speed limit command into speed limit test data conforming to the CTC message format of the dispatching command center.
2. The method of claim 1, wherein the raw table of line data comprises: the system comprises a ground equipment information table, a jurisdiction range and line number table, an odometer system and switching point correspondence table, an equipment affiliation relation table, a line mileage broken link detail table, a line data table, a line speedometer and a responder position table.
3. The method of claim 1, wherein after reading the raw table of line data, the method further comprises:
checking whether the format of the line data original table is correct or not based on a preset format;
and when the format of the line data original table is checked to be incorrect, outputting first prompt information, wherein the first prompt information is used for prompting that the format of the line data original table is incorrect.
4. The method of claim 1, wherein the target speed limit type comprises: a legal speed limit type and/or an illegal speed limit type;
the legal speed limit type comprises the following steps: the speed limit of the starting and ending point at the long chain, the switching speed limit of the mileage mark system, the speed limit of the starting and ending point at each station boundary point, the legal speed limit value speed limit of each gear, the permanent and effective speed limit executed immediately when the time is, the permanent and effective legal speed limit executed non-immediately when the time is, the whole-line long-distance speed limit and the 1-meter short-distance speed limit are executed;
the illegal speed limit types include: the method comprises the following steps of overtime range positive line speed limit, station number invalid lateral line speed limit, line number invalid lateral line speed limit, starting and ending point speed limit in a short chain, speed limit value invalid speed limit, starting time earlier than current time invalid speed limit, starting time later than ending time invalid speed limit, starting and ending point same speed limit, starting and ending point direction and line direction opposite speed limit.
5. The method according to claim 4, wherein after obtaining the target speed limit type selected by the user, the method further comprises:
generating a speed limit execution expected result based on the target speed limit type;
wherein the expected result of the speed limit execution of the legal speed limit type is success, and the expected result of the speed limit execution of the illegal speed limit type is failure.
6. The method of claim 5, wherein the converting the speed limit command related information into speed limit test data conforming to a CTC message format of a dispatching command center comprises:
integrating the related information of the speed limit command into speed limit contents comprising a speed limit reason, a speed limit value, a scheduling command number, an operator, a designated ordered station, starting time, ending time, a starting mileage long chain mark, an ending mileage long chain mark, a starting mileage series mark, an ending mileage series mark, a starting mileage mark and an ending mileage mark;
and generating a speed limit test data file based on the sequence number, the target speed limit type, the speed limit content and the expected speed limit execution result.
7. The method according to claim 6, wherein after generating a speed limit test data file based on a sequence number, the target speed limit type, the speed limit content, the expected result of speed limit execution, the method further comprises:
and inputting the speed limit test data file into a CTC simulator of a dispatching command center.
8. The method according to claim 1, wherein after obtaining the target speed limit type selected by the user, the method further comprises:
and when the speed limit command related information corresponding to the target speed limit type is not found out from the line data original table, outputting second prompt information, wherein the second prompt information is used for prompting a user to reselect the target speed limit type.
9. A device for generating speed limit test data is characterized by comprising:
the reading module is used for reading a line data original table, and the line data original table contains speed limit command related information corresponding to various speed limit types;
the input module is used for acquiring a target speed limit type selected by a user, wherein the target speed limit type is selected according to a line name and a range governed by a temporary speed limit server TSRS to be tested;
the searching module is used for searching the speed limit command related information corresponding to the target speed limit type from the line data original table;
and the format conversion module is used for converting the related information of the speed limit command into speed limit test data which accords with the CTC message format of the dispatching command center.
10. An electronic device, characterized in that the electronic device comprises:
at least one processor;
and at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 8.
CN202110415875.8A 2021-04-19 2021-04-19 Method and device for generating speed limit test data Active CN112810668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110415875.8A CN112810668B (en) 2021-04-19 2021-04-19 Method and device for generating speed limit test data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110415875.8A CN112810668B (en) 2021-04-19 2021-04-19 Method and device for generating speed limit test data

Publications (2)

Publication Number Publication Date
CN112810668A CN112810668A (en) 2021-05-18
CN112810668B true CN112810668B (en) 2021-08-31

Family

ID=75863655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110415875.8A Active CN112810668B (en) 2021-04-19 2021-04-19 Method and device for generating speed limit test data

Country Status (1)

Country Link
CN (1) CN112810668B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485881B (en) * 2021-07-13 2024-04-26 北京全路通信信号研究设计院集团有限公司 Test method and device of temporary speed limiting server, electronic equipment and medium
CN113641592B (en) * 2021-10-15 2022-02-22 卡斯柯信号(北京)有限公司 Test sequence generation method and device
CN113954932A (en) * 2021-11-01 2022-01-21 中国铁道科学研究院集团有限公司通信信号研究所 Electronic map automatic generation method based on engineering line data
CN113928377B (en) * 2021-11-15 2024-04-26 交控科技股份有限公司 Train speed limit curve calculation method and device of mobile blocking system
CN115118627B (en) * 2022-08-29 2022-12-09 卡斯柯信号(北京)有限公司 Temporary speed limiting server testing method and device
CN116319446B (en) * 2023-05-22 2023-07-28 卡斯柯信号(北京)有限公司 Test method and device for temporary speed limiting server train session state management

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238087A (en) * 2011-05-16 2011-11-09 北京全路通信信号研究设计院有限公司 Responder message transmission method, device and system
CN111003030A (en) * 2019-12-27 2020-04-14 卡斯柯信号(北京)有限公司 Method and device for generating temporary speed limit message test case of train control system
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111858372A (en) * 2020-07-28 2020-10-30 南京铁道职业技术学院 Automatic testing system and method for TSRS system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10713510B2 (en) * 2017-12-29 2020-07-14 Waymo Llc Autonomous vehicle system configured to respond to temporary speed limit signs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238087A (en) * 2011-05-16 2011-11-09 北京全路通信信号研究设计院有限公司 Responder message transmission method, device and system
CN111003030A (en) * 2019-12-27 2020-04-14 卡斯柯信号(北京)有限公司 Method and device for generating temporary speed limit message test case of train control system
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111858372A (en) * 2020-07-28 2020-10-30 南京铁道职业技术学院 Automatic testing system and method for TSRS system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于脚本技术的高速铁路列控中心系统安全性自动化测试研究;喻钢 等;《铁道学报》;20111231;第33卷(第12期);56-64 *

Also Published As

Publication number Publication date
CN112810668A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN112810668B (en) Method and device for generating speed limit test data
CN111003030B (en) Method and device for generating temporary speed limit message test case of train control system
CN111258299B (en) Test method and system for interval occupation logic check function of train control center
CN108170124B (en) Test script automatic generation system and method based on train control engineering data
CN107222523B (en) Terminal data processing method, device and system
CN109491735B (en) Integrated data generation and verification integrated monitoring human-computer interface configuration implementation method
CN104850596A (en) Distribution network data processing method based on mobile GIS (Geographic Information System) and RTK (Real Time Kinematic) positioning
CN111897715B (en) Automatic generation method and device for simulation test environment configuration data
CN104217234A (en) Intelligent label of optical/stern cable of process level of intelligent substation and generation and analysis method of intelligent label
CN109670010A (en) Track data compensation process and device
CN112350783A (en) Testing arrangement of transponder C interface
CN114330764A (en) Operation ticket processing method and device, storage medium and electronic device
CN109933786A (en) The construction method of transponder message tool based on compiling rule
CN112172876A (en) Cross-station route arranging method and system for distributed self-discipline dispatching centralized station
CN113504774B (en) Train control interlocking integration and dispatching centralized system interface data checking method and device
CN111724070A (en) Information repeating method for power scheduling instruction
Bonifacio et al. Improvement of processes and methods in testing activities for safety-critical embedded systems
CN108228989A (en) Failure insertion system based on external real equipment
CN112989451B (en) Point table automatic generation method based on secondary system digital software
CN114398475A (en) Data processing method, data processing device, electronic equipment and storage medium
CN114661850A (en) Data processing method, device, equipment, medium and computer program product
CN113553117A (en) Method and device for automatically generating configuration data of automatic train supervision system
CN116142253B (en) Code bit table generation method and device
JPH06195216A (en) Automatic generation device for verification program
CN113361901B (en) Train dispatching command information setting method, system and related 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