[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115118627B - Temporary speed limiting server testing method and device - Google Patents

Temporary speed limiting server testing method and device Download PDF

Info

Publication number
CN115118627B
CN115118627B CN202211036546.3A CN202211036546A CN115118627B CN 115118627 B CN115118627 B CN 115118627B CN 202211036546 A CN202211036546 A CN 202211036546A CN 115118627 B CN115118627 B CN 115118627B
Authority
CN
China
Prior art keywords
test
speed limit
target
server
responder
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
CN202211036546.3A
Other languages
Chinese (zh)
Other versions
CN115118627A (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 CN202211036546.3A priority Critical patent/CN115118627B/en
Publication of CN115118627A publication Critical patent/CN115118627A/en
Application granted granted Critical
Publication of CN115118627B publication Critical patent/CN115118627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for testing a temporary speed limiting server. The method comprises the steps of obtaining a jurisdiction range of a temporary speed limit server to be tested on a target train running route, test parameters of a target test responder and a target speed limit section; determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section; analyzing the speed limit information data packet sent to the target train by the temporary speed limit server to determine actual test data; and determining whether the temporary speed limiting server passes the test or not according to the matching result of the actual test data and the standard test data. The invention can accurately test the temporary speed-limiting server, thereby improving the test efficiency of the temporary speed-limiting server.

Description

Temporary speed limiting server testing method and device
Technical Field
The invention relates to the technical field of train testing, in particular to a method and a device for testing a temporary speed limiting server.
Background
With the rapid development of railway construction in China, a Chinese Train operation Control System (CTCS) is rapidly developed, and a novel Chinese Train operation Control System (CN-N) is developed at the discretion, wherein a Temporary Speed limiting Server (TSRS) is an important component of the CN. In order to ensure that the functions of the temporary speed limit server meet the requirements, before the temporary speed limit server TSRS is put into use, the timing of the temporary speed limit message sent by the TSRS to the vehicle-mounted device and whether the temporary speed limit information (P65 packet) is accurate need to be verified.
Since the CN-TSRS is a novel train operation control system, the prior art does not relate to verifying the timing of the temporary speed limit message sent by the TSRS to the vehicle-mounted device and whether the temporary speed limit information (P65 packet) is accurate in the backup mode, and therefore, a method and a device for testing the temporary speed limit server are needed to verify the timing of the temporary speed limit message sent by the TSRS to the vehicle-mounted device and the accuracy of the temporary speed limit information (P65 packet).
Disclosure of Invention
In view of this, the invention provides a method and a device for testing a temporary speed-limiting server, which can accurately test the temporary speed-limiting server, thereby improving the testing efficiency of the temporary speed-limiting server.
In order to achieve the purpose, the invention mainly provides the following technical scheme:
in a first aspect, the present invention provides a method for testing a temporary speed limit server, where the method includes:
acquiring a jurisdiction range of a temporary speed limit server to be tested on a target train running route, test parameters of a target test responder and a target speed limit section, wherein the test parameters comprise the jurisdiction range and the position;
determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section;
analyzing the speed limit information data packet sent to the target train by the temporary speed limit server to determine actual test data;
and determining whether the temporary speed limiting server passes the test or not according to the matching result of the actual test data and the standard test data.
In a second aspect, the present invention provides a temporary speed limit server testing device, where the device includes:
the first acquisition module is used for acquiring the jurisdiction range of a temporary speed limit server to be tested on the running route of the target train, the test parameters of a target test responder and a target speed limit section;
the calculation module is used for determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section;
the second acquisition module is used for analyzing the speed limit information data packet sent to the target train by the temporary speed limit server and determining actual test data;
and the comparison module is used for determining whether the temporary speed limiting server passes the test or not according to the matching result of the actual test data and the standard test data.
By means of the technical scheme, the invention provides a testing method and a testing device for a temporary speed-limiting server, which particularly records that the temporary speed-limiting server administration range to be tested on a target train running route and the testing parameters of a target testing responder are obtained, standard testing data are determined according to the temporary speed-limiting server administration range, the testing parameters of the target testing responder and a target speed-limiting zone, and then the actual testing data of the target train from the temporary speed-limiting server is compared with the standard testing data, so that whether the temporary speed-limiting server passes the test or not can be accurately judged. According to the embodiment of the invention, the standard test data is determined according to the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target test zone, and the actual test data of the target train from the temporary speed limit server is compared with the standard test data, so that the temporary speed limit server can be accurately tested, and the problem that the temporary speed limit server cannot be tested in the prior art is effectively solved.
The above description is only an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description so as to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a testing method for a temporary speed limit server according to the present invention;
FIG. 2 is a schematic flow chart illustrating a method for determining standard test data according to the present invention;
FIG. 3 is a schematic flow chart of a second testing condition determining method according to the present invention;
FIG. 4 is a schematic flow chart illustrating another method for determining standard test data according to the present disclosure;
FIG. 5 is a schematic view of one embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a temporary speed limit server testing apparatus according to the present invention;
fig. 7 is a schematic diagram of another temporary speed limit server testing device disclosed in the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can 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 invention to those skilled in the art.
The Temporary Speed limit Server (TSRS) is an important component in a new Chinese Train operation Control System (CN), and the inventor finds that the prior art has not been concerned with a method for testing the Temporary Speed limit Server.
In order to solve the above problem, an embodiment of the present invention provides a method for testing a temporary speed limit server, where the specific steps are shown in fig. 1, and the method includes:
step 101, acquiring a jurisdiction range of a temporary speed limit server to be tested on a target train running route, test parameters of a target test responder and a target speed limit section.
Wherein the test parameters include jurisdiction and location.
In this embodiment, the received original engineering data table is analyzed to obtain the jurisdiction range of the temporary speed limit server to be tested on the running route of the target train and the information of the starting position and the ending position of the target speed limit section on the running route of the target train, wherein the relative positions of the starting point and the ending point of the target speed limit section are determined according to the traveling direction of the target train. Meanwhile, the management range of the target test responder and the position of the target test responder can be obtained, and the test parameters of the target test responder are obtained. In this embodiment, through the analysis of the original engineering data table, the names and the number of the stations of the electronic map on the running route of the target train, the position of the corresponding target test responder, and other information can be obtained.
And 102, determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section.
In this embodiment, after step 101 is executed, after a temporary speed limit server administration range, a test parameter of the target test responder, and a target test segment are obtained, standard test data is calculated by using the obtained temporary speed limit server administration range, the test parameter of the target test responder, and the target speed limit segment, where the standard test data in this embodiment includes the test speed limit segment, a distance between the target test responder and a starting point of the target speed limit segment, and a speed limit of the test speed limit segment. Specifically, after the obtained temporary speed limit server jurisdiction range, the test parameters of the target test responder and the target test section are obtained, the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section are respectively determined by utilizing the obtained temporary speed limit server jurisdiction range, the test parameters of the target test responder and the target test section, so as to obtain standard test data.
And 103, analyzing the speed limit information data packet sent to the target train by the temporary speed limit server, and determining actual test data.
In this embodiment, after step 102 is executed, after the standard test data is obtained, when the temporary speed limit server sends a speed limit data packet to the target train and controls the operating speed of the target train, the speed limit data packet is analyzed to obtain actual test data corresponding to the standard test data, and then the actual test data is obtained. Specifically, after a speed limit data packet sent to the target train by the temporary speed limit server is obtained, the speed limit data packet is analyzed to obtain an actual test speed limit section, a distance between an actual target test transponder and a starting point of the target speed limit section, and a speed limit of the actual test speed limit section, so that actual test data is obtained.
And 104, determining whether the temporary speed limit server passes the test or not according to the matching result of the actual test data and the standard test data.
In this embodiment, after the actual test data and the standard test data are sent by the temporary speed limit server, the data in the actual test data and the data in the standard test data are matched, and whether the temporary speed limit server passes the test is determined according to the matching result. Specifically, when the matching results of the data in the actual test data and the data in the standard test data are all the same, the temporary speed limit server is judged to pass the test, and when the matching results of the data in the actual test data and the data in the standard test data are not all the same, the temporary speed limit server is judged not to pass the test, namely, the distance between the actual test speed limit section, the actual target test transponder and the starting point of the test speed limit section, the distance between the target test transponder and the starting point of the target speed limit section and the matching results of the speed limit of the test speed limit section are all the same, the temporary speed limit server is judged to pass the test, or when the matching results of the actual test speed limit section, the distance between the actual target test transponder and the starting point of the test speed limit section, the distance between the target test transponder and the starting point of the target speed limit section and the matching results of the speed limit section are different, one or more matching results are judged to be that the temporary speed limit server does not pass the test.
The embodiment of the invention determines standard test data by acquiring the jurisdiction of the temporary speed-limiting server to be tested and the test parameters of the target test responder on the running route of the target train and according to the jurisdiction of the temporary speed-limiting server, the test parameters of the target test responder and the target speed-limiting section, and then compares the actual test data of the temporary speed-limiting server to the target train with the standard test data, thereby accurately judging whether the temporary speed-limiting server passes the test. According to the embodiment of the invention, the standard test data is determined according to the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target test section, and the actual test data of the target train and the standard test data are compared by the temporary speed limit server, so that the temporary speed limit server can be accurately tested, and the problem that the temporary speed limit server cannot be tested in the prior art is effectively solved.
Further, an embodiment of the present invention provides a method for determining standard test data, where the method specifically introduces "determining standard test data based on the jurisdiction of the temporary speed limit server, the test parameters of the target test responder, and the target speed limit section" in step 102 in the embodiment shown in fig. 1, and the specific steps are shown in fig. 2, and include:
step 201, determining a first test condition according to the running state of the temporary speed limit server.
In this embodiment, before determining the standard test data, the operating state of the temporary speed limit server is first obtained, and the first test condition is determined according to the operating state of the temporary speed limit server. Specifically, the operation state of the temporary speed limit server in this embodiment includes initialization and non-initialization, when the operation state of the temporary speed limit server is initialization, the determined first test condition is initialization, and when the operation state of the temporary speed limit server is non-initialization, the determined first test condition is non-initialization.
Step 202, determining a second test condition according to the position difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction.
In this embodiment, after step 201 is executed, after the first test condition is determined, a second test condition is determined by using the difference in position between the target test transponder jurisdiction and the temporary speed limit server jurisdiction obtained in step 101, where the second speed limit condition includes a boundary crossing condition and a non-boundary crossing condition. Specifically, after the jurisdiction range of the target test responder and the jurisdiction range of the temporary speed limit server are obtained, the jurisdiction range of the target test responder and the jurisdiction range of the temporary speed limit server are compared, and a second test condition is determined according to a comparison result.
Step 203, determining a test scenario according to the first test condition and the second test condition.
In this embodiment, after the first test condition and the second test condition are obtained, a test scenario is determined according to the first test condition and the second test condition. Namely, the first test condition and the second test condition are combined to obtain a test scene. Specifically, the test scenario in this embodiment includes initialization-boundary crossing, initialization-non-boundary crossing, non-initialization-boundary crossing, and non-initialization-non-boundary crossing.
And 204, respectively determining the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section in the test scene.
In this embodiment, after step 203 is executed, after the test scenario is determined, according to the calculation logic of the current test scenario, the test speed limit section, the distance between the target test transponder and the starting point of the target speed limit section, and the speed limit of the test speed limit section in the standard test data are respectively determined by using the jurisdiction range of the temporary speed limit server, the test parameters of the target test transponder, and the target speed limit section in the current test scenario. Specifically, the calculation process is as follows, when the test scene is initialization-boundary crossing and initialization-non-boundary crossing, determining that the test speed-limiting section is the jurisdiction range of the target test responder, the distance between the target test responder and the starting point of the target speed-limiting section is 0, and the speed limit of the test speed-limiting section is the maximum operating speed;
when the test scene is uninitialized-transboundary, determining that the test speed limit section is the distance from the starting point of the jurisdiction range of the temporary speed limit server to the starting point of the jurisdiction range of the target test responder, the distance from the target test responder to the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the minimum running speed;
and when the test scene is uninitialized-not-across, determining that the test speed-limiting section is the management range of the target test responder, the distance between the target test responder and the starting point of the target speed-limiting section is 0, and the speed limit of the test speed-limiting section is the minimum running speed.
The embodiment of the invention determines the first test condition by utilizing the running state of the temporary speed-limiting server, determines the second test condition by utilizing the position difference between the management range of the target test responder and the management range of the temporary speed-limiting server, determines the test scene by utilizing the first test condition and the second test condition, and further determines the standard test data corresponding to the test scene according to different test scenes, thereby accurately determining the standard test data and further improving the accuracy of the temporary speed-limiting server test.
Further, an embodiment of the present invention provides a second test condition determining method, which is a specific introduction to "determining a second test condition according to a location difference between a target speed limit section and a jurisdiction of the temporary speed limit server" in step 202 of the embodiment shown in fig. 2, and specific steps are shown in fig. 3, and include:
step 301, when the target test responder jurisdiction belongs to the target test responder jurisdiction, determining that the second test condition is not transboundary.
In this embodiment, when the second test condition is determined according to the position difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction, the target test responder jurisdiction is compared with the temporary speed limit server jurisdiction, and when the target test responder jurisdiction is judged to belong to the temporary speed limit server jurisdiction, that is, when the boundary point of the target test responder jurisdiction is within the boundary point of the temporary speed limit server jurisdiction, the second test condition is determined to be not transboundary.
Step 302, when the target speed-limiting section does not belong to the target test responder management range, determining that the second test condition is cross-boundary.
In this embodiment, when the second test condition is determined according to the position difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction, the target test responder jurisdiction is compared with the temporary speed limit server jurisdiction, and when it is determined that the target test responder jurisdiction is within the temporary speed limit server jurisdiction, that is, when any boundary point of the target test responder jurisdiction is not within the temporary speed limit server jurisdiction, the second test condition is determined to be a cross-boundary.
Further, an embodiment of the present invention provides another method for determining standard test data, where the method is to determine that the test speed-limiting section is a specific introduction after the jurisdiction range of the target test responder, the distance between the target test responder and the starting point of the target speed-limiting section is 0, and the speed limit of the test speed-limiting section is the maximum operating speed when the test scenario is initialization-bound and initialization-non-bound, and the specific steps are shown in fig. 4, and the method further includes:
step 401, judging whether the target speed limit section is out of bounds according to the position difference between the jurisdiction range of the temporary speed limit server and the target speed limit section.
In this embodiment, when the test scenario is initialization-bound and initialization-non-bound, after the standard test data is determined, according to the position difference between the jurisdiction range of the temporary speed limit server and the jurisdiction range of the target speed limit section, it is determined whether the target speed limit section is bound with respect to the jurisdiction range of the temporary speed limit server, when the temporary speed limit section belongs to the jurisdiction range of the temporary speed limit server, it is determined that the target speed limit section is not bound, and when the temporary speed limit section does not belong to the jurisdiction range of the temporary speed limit server, it is determined that the target speed limit section is bound.
Step 402, when the target speed limit section is judged to be out of bounds, the test speed limit section is a difference value between the temporary speed limit server and a starting point of the test speed limit section.
In this embodiment, after step 401, when the target speed-limiting section is determined to be out of range and the test speed-limiting section in the standard test data is calculated, the difference between the temporary speed-limiting server and the starting point of the test speed-limiting section is used to obtain the test speed-limiting section.
Step 403, determining whether the position of the target test transponder belongs to the target speed-limiting section.
In this embodiment, while step 401 is executed, it is determined whether the target test transponder is within the target speed-limiting section according to a position difference between the position of the target test transponder and the target speed-limiting section, that is, when the position of the target test transponder is within the target speed-limiting section, it is determined that the position of the target test transponder belongs to the target speed-limiting section, and when the position of the target test transponder is not within the target speed-limiting section, it is determined that the position of the target test transponder does not belong to the target speed-limiting section.
Step 404, when the position of the target test responder is judged to belong to the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section is the difference value between the position of the starting point of the target speed limit section and the position of the target test responder.
In this embodiment, after step 403 is executed, when the position of the target test transponder is determined to belong to the test speed-limiting section, and when the distance between the target test transponder in the standard test data and the start point of the test speed-limiting section is calculated, the distance between the target test transponder in the standard test data and the start point of the test speed-limiting section is obtained by using the difference between the position of the start point of the target speed-limiting section and the position of the target test transponder.
Further, as shown in fig. 5, the embodiment of the present invention further illustrates the method shown in fig. 1-4 with reference to fig. 5, which is shown in fig. 5;
wherein alpha and beta are the jurisdiction range of the temporary speed limit server, e and f are the jurisdiction range of the target test responder FJZ1, P1 and P2 are the first target speed limit sections, and P3 and P4 are the second target speed limit sections.
In this embodiment, first, the operation state of the temporary speed limit server is obtained, for example, the operation state of the temporary speed limit server is initialization, that is, the first test condition is initialization.
Further, the jurisdiction range e-f of the target test responder FJZ1 is compared with the jurisdiction range alpha-beta of the temporary speed limit server, so that the second test condition is that the boundary is not crossed.
Further, comparing the first target speed limit section P1-P2 with the jurisdiction range e-f of the target test responder FJZ1, thereby showing that the first target speed limit section is not across relative to the target test responder FJZ 1; and comparing the second target speed limit sections P3-P4 with the jurisdiction range e-f of the target test responder FJZ1, so that the second target speed limit sections are out of bounds relative to the target test responder FJZ 1.
Further, the position b of the target test responder FZJ is compared with the first target speed-limiting section P1-P2, and since P1 is greater than b, it can be seen that the position b of the target test responder FZJ does not belong to the first target speed-limiting section P1-P2; and comparing the position b of the target test responder FZJ with the second target speed-limiting section P3-P4, wherein the position b of the target test responder FZJ belongs to the second target speed-limiting section P1-P2 because P3 is less than b.
Further, after a test scene is determined, according to the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section in the test scene, the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section are respectively determined.
Further, the traveling direction of the target train is from left to right, that is, α is the jurisdiction of the temporary speed limit server as the starting point, β is the end point, e is the starting point of the target test responder JFZ1, f is the end point, P1 is the starting point of the first target speed limit section, P2 is the end point, P3 is the starting point of the second target speed limit section, and P4 is the end point.
Further, as an implementation of the method embodiments shown in fig. 1 to 4, an embodiment of the present invention provides a temporary speed limit server testing device, which can accurately test a temporary speed limit server, thereby improving the testing efficiency of the temporary speed limit server. An embodiment of the apparatus corresponds to the foregoing method embodiment, and details in the foregoing method embodiment are not repeated in this embodiment for convenience of reading, but it should be clear that the apparatus in this embodiment can correspondingly implement all the contents in the foregoing method embodiment, specifically as shown in fig. 6, the apparatus includes:
the first acquisition module 10 is used for acquiring the jurisdiction range of the temporary speed limit server to be tested on the running route of the target train, the test parameters of the target test responder and the target speed limit section;
the calculation module 20 is configured to determine standard test data based on the jurisdiction of the temporary speed limit server, the test parameters of the target test responder, and the target speed limit section acquired by the first acquisition module 10, and send the obtained standard test data to the comparison module;
a second obtaining module 30, configured to analyze a speed limit information data packet sent by the temporary speed limit server to the target train, and determine actual test data; when the speed limit information data packet is analyzed, firstly, a received communication IP address of a target train is obtained, the speed limit information data packet sent to the target train by the temporary speed limit server is obtained according to the communication IP address so as to analyze the speed limit data packet, actual test data obtained after analysis is filled in a table 1, and then the table 1 is sent to the comparison module. In this embodiment, the actual test data is shown in table 1:
Figure 886166DEST_PATH_IMAGE001
TABLE 1
Wherein, P65 is a speed limit information data packet sent by the temporary speed limit server to the target train, and P65 (n) is the number of the sent speed limit information data packets.
A comparison module 40, configured to determine whether the temporary speed-limiting server passes the test according to a matching result between the actual test data determined by the second obtaining module 30 and the standard test data determined by the calculating module 20, and output a matching result at the same time, that is, if the temporary speed-limiting server passes the test, then "OK" is output, otherwise, "NOK" is output "
Further, as shown in fig. 7, the calculation module 20 includes:
the first calculating unit 210 is configured to determine a first test condition according to the operation state of the temporary speed limit server.
And the second calculating unit 220 is configured to determine a second test condition according to the position difference of the jurisdiction of the temporary speed limit server in the jurisdiction of the target test responder.
A third calculating unit 230, configured to determine a test scenario according to the first test condition and the second test condition.
A fourth calculating unit 240, configured to determine, based on the jurisdiction of the temporary speed limit server, the test parameter of the target test responder, and the target speed limit section in the test scenario, the test speed limit section, the distance between the target test responder and the start point of the target speed limit section, and the speed limit of the test speed limit section, respectively.
Further, as shown in fig. 7, the second calculating unit 220 is further configured to determine that the second test condition is not across the boundary when the target test transponder jurisdiction is within the target test transponder jurisdiction; and when the target speed-limiting section does not belong to the target test responder management range, determining that the second test condition is cross-boundary.
Further, as shown in fig. 7, the calculation module 20 is further configured to determine whether the target speed limit section is out of bounds according to a position difference between the jurisdiction range of the temporary speed limit server and the target speed limit section; when the target speed limit section is judged to be out of bounds, the test speed limit section is the difference value between the temporary speed limit server and the starting point of the test speed limit section; simultaneously judging whether the position of the target test responder belongs to the target speed limit section; and when the position of the target test responder is judged to belong to the test speed-limiting section, the distance between the target test responder and the starting point of the target speed-limiting section is the difference value between the position of the starting point of the target speed-limiting section and the position of the target test responder.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above may be referred to one another. In addition, "first", "second", and the like in the above embodiments are used to distinguish the embodiments, and do not represent merits of the embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described in detail herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In addition, the memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (8)

1. A temporary speed limit server testing method is characterized by comprising the following steps:
acquiring a jurisdiction range of a temporary speed limit server to be tested on a target train running route, test parameters of a target test responder and a target speed limit section, wherein the test parameters comprise the jurisdiction range and the position;
determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section, wherein the standard test data comprises the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section, and determining a first test condition according to the running state of the temporary speed limit server when the standard test data is determined; determining a second test condition according to the position difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction; determining a test scene according to the first test condition and the second test condition; respectively determining the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section in the test scene, wherein the first test condition comprises initialization and non-initialization, the second test condition comprises boundary crossing and non-boundary crossing, and when the test scene is initialization-boundary crossing and initialization-non-boundary crossing, the test speed limit section is determined to be the jurisdiction range of the target test responder, the distance between the target test responder and the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the maximum operation speed; when the test scene is uninitialized-bound, determining that the test speed limit section is the distance from the starting point of the jurisdiction range of the temporary speed limit server to the starting point of the jurisdiction range of the target test responder, the distance from the target test responder to the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the minimum running speed; when a test scene is uninitialized-not-across, determining that the test speed-limiting section is the management range of the target test responder, the distance between the target test responder and the starting point of the target speed-limiting section is 0, and the speed limit of the test speed-limiting section is the minimum running speed;
analyzing the speed limit information data packet sent to the target train by the temporary speed limit server to determine actual test data;
and determining whether the temporary speed limiting server passes the test or not according to the matching result of the actual test data and the standard test data.
2. The method of claim 1,
the determining standard test data based on the jurisdiction range of the temporary speed limit server and the test parameters of the target test responder comprises the following steps:
and respectively determining the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section.
3. The method of claim 1,
determining a first test condition according to the running state of the temporary speed limit server, wherein the first test condition comprises the following steps:
when the running state of the temporary speed limit server is uninitialized, determining that a first test condition is uninitialized;
and when the running state of the temporary speed limit server is initialization, determining that the first test condition is initialization.
4. The method of claim 1,
the determining a second test condition according to the difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction comprises the following steps:
when the target test responder jurisdiction belongs to the temporary speed limit server jurisdiction, determining that the second test condition is not across the boundary;
and when the target test responder jurisdiction does not belong to the temporary speed limit server jurisdiction, determining that the second test condition is a cross-border.
5. The method according to claim 1, wherein after determining that the test speed limit section is the jurisdiction of the target test responder, the distance between the target test responder and the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the maximum operating speed when the test scenarios are initialization-bound and initialization-non-bound, the method further comprises:
judging whether the target speed limit section is out of bounds or not according to the position difference between the jurisdiction range of the temporary speed limit server and the target speed limit section;
when the target speed limit section is judged to be out of bounds, the test speed limit section is the difference value between the temporary speed limit server and the starting point of the target speed limit section; at the same time
Judging whether the position of the target test responder belongs to the target speed limit section;
and when the position of the target test responder is judged to belong to the target speed limit section, the distance between the target test responder and the starting point of the test speed limit section is the difference value between the position of the starting point of the target speed limit section and the position of the target test responder.
6. A temporary speed limit server testing device, characterized in that the device comprises:
the first acquisition module is used for acquiring the jurisdiction range of a temporary speed limit server to be tested on the running route of the target train, the test parameters of a target test responder and a target speed limit section;
the calculation module is used for determining standard test data based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test responder and the target speed limit section, wherein the standard test data comprises the test speed limit section, the distance between the target test responder and the starting point of the target speed limit section and the speed limit of the test speed limit section, and when the standard test data is determined, a first test condition is determined according to the running state of the temporary speed limit server; determining a second test condition according to the position difference between the target test responder jurisdiction and the temporary speed limit server jurisdiction; determining a test scene according to the first test condition and the second test condition; respectively determining the test speed limit section, the distance between the target test transponder and the starting point of the target speed limit section and the speed limit of the test speed limit section based on the jurisdiction range of the temporary speed limit server, the test parameters of the target test transponder and the target speed limit section in the test scene, wherein the first test condition comprises initialization and non-initialization, the second test condition comprises cross-boundary and non-cross-boundary, and when the test scene is initialization-cross-boundary and initialization-non-cross-boundary, the test speed limit section is determined to be the target test transponder management pipe range, the distance between the target test transponder and the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the maximum operation speed; when the test scene is uninitialized-bound, determining that the test speed limit section is the distance from the starting point of the jurisdiction range of the temporary speed limit server to the starting point of the jurisdiction range of the target test responder, the distance from the target test responder to the starting point of the target speed limit section is 0, and the speed limit of the test speed limit section is the minimum running speed; when the test scene is uninitialized-not-across, determining that the test speed-limiting section is the management range of the target test responder, the distance between the target test responder and the starting point of the target speed-limiting section is 0, and the speed limit of the test speed-limiting section is the minimum running speed;
the second acquisition module is used for analyzing the speed limit information data packet sent to the target train by the temporary speed limit server and determining actual test data;
and the comparison module is used for determining whether the temporary speed limiting server passes the test or not according to the matching result of the actual test data and the standard test data.
7. A terminal, characterized in that the terminal is used for running a program, wherein the terminal executes the temporary speed limit server testing method according to any one of claims 1 to 5 when running.
8. A storage medium for storing a computer program, wherein the computer program controls an apparatus in which the storage medium is located to execute the temporary speed limit server testing method according to any one of claims 1 to 5 when running.
CN202211036546.3A 2022-08-29 2022-08-29 Temporary speed limiting server testing method and device Active CN115118627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211036546.3A CN115118627B (en) 2022-08-29 2022-08-29 Temporary speed limiting server testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211036546.3A CN115118627B (en) 2022-08-29 2022-08-29 Temporary speed limiting server testing method and device

Publications (2)

Publication Number Publication Date
CN115118627A CN115118627A (en) 2022-09-27
CN115118627B true CN115118627B (en) 2022-12-09

Family

ID=83336146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211036546.3A Active CN115118627B (en) 2022-08-29 2022-08-29 Temporary speed limiting server testing method and device

Country Status (1)

Country Link
CN (1) CN115118627B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116108702B (en) * 2023-04-11 2023-07-11 卡斯柯信号(北京)有限公司 Test method and device for receiving temporary speed limit in complete mode of train control system
CN116155769B (en) * 2023-04-18 2023-08-01 卡斯柯信号(北京)有限公司 Temporary speed limiting server testing method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111003030A (en) * 2019-12-27 2020-04-14 卡斯柯信号(北京)有限公司 Method and device for generating temporary speed limit message test case of train control system
CN111209149A (en) * 2019-12-31 2020-05-29 苏州浪潮智能科技有限公司 Server stability testing method and system
CN111258299A (en) * 2020-01-22 2020-06-09 卡斯柯信号(北京)有限公司 Test method and system for interval occupation logic check function of train control center
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111708345A (en) * 2020-05-14 2020-09-25 北京西南交大盛阳科技股份有限公司 Simulation test system, test method and test device for signal equipment
CN111858372A (en) * 2020-07-28 2020-10-30 南京铁道职业技术学院 Automatic testing system and method for TSRS system
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center
CN112810668A (en) * 2021-04-19 2021-05-18 卡斯柯信号(北京)有限公司 Method and device for generating speed limit test data
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
CN114559991A (en) * 2022-02-25 2022-05-31 北京全路通信信号研究设计院集团有限公司 Vehicle-ground temporary speed limit information sending method and system based on electronic map

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111003030A (en) * 2019-12-27 2020-04-14 卡斯柯信号(北京)有限公司 Method and device for generating temporary speed limit message test case of train control system
CN111209149A (en) * 2019-12-31 2020-05-29 苏州浪潮智能科技有限公司 Server stability testing method and system
CN111258299A (en) * 2020-01-22 2020-06-09 卡斯柯信号(北京)有限公司 Test method and system for interval occupation logic check function of train control center
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111708345A (en) * 2020-05-14 2020-09-25 北京西南交大盛阳科技股份有限公司 Simulation test system, test method and test device for signal equipment
CN111858372A (en) * 2020-07-28 2020-10-30 南京铁道职业技术学院 Automatic testing system and method for TSRS system
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center
CN112810668A (en) * 2021-04-19 2021-05-18 卡斯柯信号(北京)有限公司 Method and device for generating speed limit test data
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
CN114559991A (en) * 2022-02-25 2022-05-31 北京全路通信信号研究设计院集团有限公司 Vehicle-ground temporary speed limit information sending method and system based on electronic map

Also Published As

Publication number Publication date
CN115118627A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN115118627B (en) Temporary speed limiting server testing method and device
CN112884055B (en) Target labeling method and target labeling device
CN108205424B (en) Data migration method and device based on disk and electronic equipment
CN109587131B (en) Data communication method and device between block chain networks
CN109145981B (en) Deep learning automatic model training method and equipment
US11416303B2 (en) Edge computing access method and an edge computing node device
CN112224246B (en) Test report generation method and device based on interface test
CN110874932B (en) Method, device and system for identifying number of axles
CN111026080A (en) Hardware-in-loop test method and device for controller
CN113641592B (en) Test sequence generation method and device
CN112422361A (en) Switch testing method, device and medium
CN115987821A (en) Gateway routing test method and device
CN109753435B (en) Software testing method and device
CN109684225A (en) A kind of method for testing software and device
CN113253708A (en) Method and device for automatically generating simulation tool configuration file for signal system test
CN109709418B (en) Detection method and device for charging facility, storage medium and processor
CN109542775B (en) Test script generation and execution method and device
CN116882834A (en) Automobile quality full-flow management method, equipment and medium based on identification analysis
CN113932834A (en) Method and device for testing fusion positioning equipment, electronic equipment and storage medium
CN107908516B (en) Data display method and device
CN110659170A (en) Vehicle-mounted T-BOX test system
CN113071541B (en) Method and device for generating trackside configuration file
CN109067613B (en) Method for testing networking success rate of identity card identification equipment
CN109857665A (en) A kind of test execution method and device of test case
CN115123350B (en) Method and device for testing vehicle tail holding

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