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

Temporary speed limiting server testing method and device Download PDF

Info

Publication number
CN116155769B
CN116155769B CN202310411266.4A CN202310411266A CN116155769B CN 116155769 B CN116155769 B CN 116155769B CN 202310411266 A CN202310411266 A CN 202310411266A CN 116155769 B CN116155769 B CN 116155769B
Authority
CN
China
Prior art keywords
temporary speed
platform door
door control
target parameter
server
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
CN202310411266.4A
Other languages
Chinese (zh)
Other versions
CN116155769A (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 CN202310411266.4A priority Critical patent/CN116155769B/en
Publication of CN116155769A publication Critical patent/CN116155769A/en
Application granted granted Critical
Publication of CN116155769B publication Critical patent/CN116155769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The application discloses a method and a device for testing a temporary speed limiting server, relates to the technical field of train control system testing, and mainly aims to realize the platform door control function of comprehensively testing the temporary speed limiting server; the main technical scheme comprises the following steps: acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server; traversing and combining all possible values corresponding to each obtained target parameter to obtain a platform door control request corresponding to each combination; acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request; detecting whether the temporary speed limit server is abnormal based on the acquired station control command.

Description

Temporary speed limiting server testing method and device
Technical Field
The application relates to the technical field of train control system testing, in particular to a method and a device for testing a temporary speed limiting server.
Background
The temporary speed limiting server (Temporary Speed Restriction Server, TSRS) has a platform door control function, which is responsible for controlling the opening or closing of platform doors on the track after a train is stopped. Before the temporary speed limiting server is put into use, the temporary speed limiting server needs to be tested so as to ensure that the platform door control function of the temporary speed limiting server meets the requirement.
At present, the platform door control scene related to the temporary speed limiting server is numerous and miscellaneous, the existing temporary speed limiting server test mode is difficult to comprehensively cover the platform door control function of the temporary speed limiting server, and test omission usually exists. The existence of the test omission causes the problem that the use of the later temporary speed limiting server is easy to cause abnormality. Therefore, how to fully test the platform door control function of the temporary speed limit server becomes a urgent problem to be solved.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for testing a temporary speed limiting server, which mainly aims to implement a platform door control function for comprehensively testing the temporary speed limiting server.
In order to achieve the above purpose, the present application mainly provides the following technical solutions:
in a first aspect, the present application provides a temporary speed limit server testing method, including:
Acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server;
traversing and combining all possible values corresponding to each obtained target parameter to obtain a platform door control request corresponding to each combination;
acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request;
detecting whether the temporary speed limit server is abnormal based on the acquired station control command.
In some embodiments of the present application, obtaining all possible values corresponding to each target parameter required for testing the temporary speed limiting server includes: displaying target parameters required by testing the temporary speed limiting server; for each presented target parameter: and obtaining all the values input for the target parameters as possible values corresponding to the target parameters.
In some embodiments of the present application, before all values input for the target parameter are obtained as possible values corresponding to the target parameter, the temporary speed limit server testing method further includes: judging whether all possible values of the target parameters, the configuration sequence of which is positioned in front of the target parameters, are obtained; and if the acquisition is completed, acquiring all the values input for the target parameter as possible values corresponding to the target parameter.
In some embodiments of the present application, the temporary speed limit server testing method further includes: if the default value corresponding to the target parameter is not modified and the selected instruction aiming at the default value is acquired, determining the default value corresponding to the target parameter as all the numerical values input aiming at the target parameter.
In some embodiments of the present application, the temporary speed limit server testing method further includes: if the value input for the target parameter is acquired, the acquired value is determined as all the values input for the target parameter.
In some embodiments of the present application, before all the values input for the target parameter are obtained as possible values corresponding to the target parameter, the method further includes: checking whether all values input for the target parameter are legal or not; if the target parameter is legal, all the values input for the target parameter are acquired as possible values corresponding to the target parameter.
In some embodiments of the present application, performing traversal combination on all possible values corresponding to each obtained target parameter to obtain a platform door control request corresponding to each combination, where the traversal combination includes: traversing and combining all the obtained possible values corresponding to each target parameter to obtain possible values included in each combination; each combination comprises a possible value corresponding to each target parameter required by testing the temporary speed limiting server; for each combination, perform: invoking a simulation tool for the automatic overspeed protection system of the train to process possible values corresponding to the target parameters included in the combination to obtain corresponding platform door control requests; the simulation tool is a tool for configuring a possible acquisition value corresponding to the integrated target parameters through the model train behavior, and the tool corresponds to a platform door control request.
In some embodiments of the present application, detecting whether an abnormality exists in the temporary speed limit server based on the acquired station control command includes: for each acquired station control command, performing: determining command content included in the station control command and command value corresponding to the command content; detecting whether the command content and the command value are correct or not based on expected data; if the command content and/or the command value are/is detected to be incorrect, determining that the temporary speed limiting server is abnormal; the expected data is preset command content and command value based on the combination corresponding to the station control command.
In some embodiments of the present application, after determining that the temporary speed limit server has an anomaly, the temporary speed limit server testing method further includes: determining a platform door control request corresponding to the platform control command; sending out an abnormality prompt; wherein the exception prompt is used for informing the temporary speed limiting server that an exception exists when the determined platform door control request is executed.
In some embodiments of the present application, after determining that the temporary speed limit server has an anomaly, the temporary speed limit server testing method further includes: determining a platform door control request corresponding to the platform control command; acquiring a reference scheme corresponding to the determined platform door control request; wherein the reference scheme is used for guiding and eliminating the abnormality of the temporary speed limiting server when the determined platform door control request is executed.
In a second aspect, the present application provides a temporary speed limit server test device, the temporary speed limit server test device comprising:
the first acquisition module is used for acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server;
the processing module is used for performing traversal combination on all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination;
the second acquisition module is used for acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request;
and the detection module is used for detecting whether the temporary speed limiting server is abnormal or not based on the acquired station control command.
In a third aspect, the present application provides a computer readable storage medium, where the storage medium includes a stored program, where the program, when executed, controls a device in which the storage medium is located to execute the temporary speed limit server testing method according to the first aspect.
In a fourth aspect, the present application provides a storage management device, including: a memory for storing a program; a processor coupled to the memory for executing the program to perform the temporary speed limit server test method of the first aspect.
When the temporary speed limiting server is tested, all target parameters required by testing the temporary speed limiting server are determined, and the target parameters are parameters related to the platform door control function of the temporary speed limiting server. And then obtaining all possible values corresponding to each target parameter required by testing the temporary speed limiting server. And traversing and combining all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination. And acquiring the platform door control command corresponding to each combination, wherein the platform door control command is obtained after the temporary speed limiting server executes the platform door control request of the corresponding combination. And finally detecting whether the temporary speed limiting server is abnormal or not based on the acquired station control command. Therefore, the embodiment of the application obtains all possible values corresponding to each target parameter, and traverses and combines all possible values corresponding to each obtained target parameter to obtain the platform door control request corresponding to each combination, so that the obtained platform door control request can comprehensively cover the platform door control function of the temporary speed limiting server, and the platform door control request can be used for comprehensively testing the platform door control function of the temporary speed limiting server, thereby overcoming the defect that the whole coverage of the platform door control function of the temporary speed limiting server is difficult to comprehensively cover at present.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a flow chart of a method for testing a temporary speed limit server according to one embodiment of the present application;
fig. 2 is a schematic structural diagram of a temporary speed limit server testing device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a temporary speed limiting server testing device according to another embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure 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.
The platform door control scene that interim speed-limiting server relates to is numerous and miscellaneous, and current interim speed-limiting server test mode is difficult to comprehensively carry out the full coverage to interim speed-limiting server's platform door control function, and the test can exist generally and is missed. The existence of the test omission causes the problem that the use of the later temporary speed limiting server is easy to cause abnormality. The existence of the abnormal problems not only needs to consume a large amount of personnel and time for investigation, but also can influence the normal operation of the train.
The platform door control function of the temporary speed limiting server mainly refers to that the temporary speed limiting server processes a platform door control request sent by a train to form a corresponding platform door control command, and outputs the platform door control command to a train control center (Train Control System, TCC) so that the train control center can execute control matched with the platform door control command on the platform door, and the aim of controlling the opening or closing of the platform door on a stock way is achieved. The inventor finds that the test of the temporary speed limiting server is mainly finished according to the platform door control request, so that the test of the platform door control function of the temporary speed limiting server can be finished by enriching the platform door control request.
Based on the above consideration, the embodiment of the application provides a technical scheme for testing a temporary speed limiting server, which specifically comprises the following steps: all target parameters required for testing the temporary speed limiting server are determined, wherein the target parameters are parameters related to the platform door control function of the temporary speed limiting server. And then obtaining all possible values corresponding to each target parameter required by testing the temporary speed limiting server. And traversing and combining all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination. And acquiring the platform door control command corresponding to each combination, wherein the platform door control command is obtained after the temporary speed limiting server executes the platform door control request of the corresponding combination. And finally detecting whether the temporary speed limiting server is abnormal or not based on the acquired station control command.
Based on the technical scheme of the temporary speed limiting server test, the embodiment of the application provides a method and a device for testing the temporary speed limiting server. The method and the device for testing the temporary speed limiting server can be applied to any temporary speed limiting server. Illustratively, the temporary speed limit server is a temporary speed limit server in a railway having a platform door, such as an inter-city railway or a city railway.
The method and the device for testing the temporary speed limiting server provided by the embodiment of the application are specifically described below.
As shown in fig. 1, the embodiment of the present application provides a temporary speed limiting server testing method, which mainly includes the following steps 101 to 104:
101. acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server.
The temporary speed limiting server test in the application is mainly aimed at testing the platform door control function of the temporary speed limiting server. The platform door control function of the temporary speed limiting server mainly refers to that the temporary speed limiting server processes a platform door control request sent by a train to form a corresponding platform door control command, and outputs the platform door control command to the train control center so that the train control center can execute control matched with the platform door control command on the platform door, and the aim of controlling the opening or closing of the platform door on a stock way is achieved.
When determining that the temporary speed limiting server needs to be tested, determining target parameters needed by testing the temporary speed limiting server. In order to be able to carry out a comprehensive and accurate test of the platform door control function of the temporary speed limiting server, the determined target parameters should be all parameters related to the testing of the platform door control function of the temporary speed limiting server. These target parameters are all parameters that make up the platform door control request that the train sends to the temporary speed limit server. Exemplary, target parameters required to test the temporary speed limit server include: the train consists type, the track number, the train verification direction, the vertical folding mark, the platform door side and the door opening and closing requirement. The train consist type is used to describe the number of consists a train has. The track number is used to describe the track in which the train is located. The train verification direction is used to describe the current direction of travel of the train. The fold-up flag is used to describe whether the train needs to be folded up in place. The platform door side is used to describe which side of the platform door the train needs to control. The door opening and closing requirement is used to describe whether the train requires the platform door to be open or closed.
After determining the target parameters required by the test temporary speed limiting server, all possible values corresponding to each target parameter required by the test temporary speed limiting server need to be obtained. The method for obtaining all possible values corresponding to each target parameter required by testing the temporary speed limiting server comprises the following two steps:
first, the specific process of obtaining all possible values corresponding to each target parameter required for testing the temporary speed limiting server includes the following steps 101A to 101B:
101A, displaying target parameters required for testing the temporary speed limit server.
And displaying target parameters required by testing the temporary speed limiting server through an interactive interface. The objective of displaying the target parameters is to follow two points: firstly, the tester can intuitively know which target parameters are needed by the test temporary speed limiting server. Secondly, the tester can flexibly set possible values meeting the test requirements for each target parameter according to the test requirements.
101B, for each presented target parameter: all the values input for the target parameters are acquired as possible values corresponding to the target parameters.
The method for obtaining all possible values of each target parameter is the same, and the following step 101B1 is executed for each displayed target parameter: 101B1, all the values input for the target parameter are acquired as possible values corresponding to the target parameter.
When determining the possible value corresponding to the target parameter, all the values input for the target parameter need to be determined first. The method of determining all values entered for the target parameter involves the following three:
if the default value corresponding to the target parameter is not modified and the selected instruction aiming at the default value is acquired, determining the default value corresponding to the target parameter as all the numerical values input aiming at the target parameter.
The interactive interface for displaying the target parameters can also display default values corresponding to the target parameters, namely interface initial values. When the default value meets the test requirement, the default value can be directly acquired as all possible values corresponding to the target parameter, so that the acquisition efficiency of all possible values corresponding to the target parameter can be improved.
If the default value corresponding to the target parameter is not modified and the selected instruction aiming at the default value is obtained, indicating that all the default values of the target parameter meet the test requirement, determining the default value corresponding to the target parameter as all the numerical values input aiming at the target parameter.
And secondly, if the numerical value input for the target parameter is acquired, determining the acquired numerical value as all the numerical values input for the target parameter.
The interactive interface for displaying the target parameters can also display a numerical value input box corresponding to the target parameters, and a tester can flexibly set corresponding possible values for the target parameters in the numerical value input box based on test requirements. After the values entered for the target parameter are acquired, the acquired values are determined as all the values entered for the target parameter.
Illustratively, the target parameter is a train consist type. And inputting the numerical value shown in the table-1 into a numerical value input box corresponding to the train grouping type, and acquiring all possible numerical values corresponding to the train grouping type by taking the numerical value 1 corresponding to the 8 grouping, taking the numerical value 2 corresponding to the 16 grouping and taking the numerical value 3 corresponding to the 17 grouping.
TABLE-1
Illustratively, the target parameter is a track number. And inputting the track number of the train into a numerical value input box corresponding to the track number, and acquiring the track number of the train as all possible values corresponding to the track number. The length of the stock track number variable is 24 bits, and the format is defined as follows: large area number (7 bit) +partition number (3 bit) +station number (6 bit) +station number (3 bit) +track number (5 bit).
And the temporary speed limiting server searches the shielding door information table according to the track number in the platform door control request sent by the train. If the station track number exists in the shielding door information table, the corresponding station door number is considered to exist; if the station track number does not exist in the shielding door information table, the corresponding station door number is considered to be not exist.
Illustratively, the target parameter is a train verification direction. And when the numerical value shown in the table-2 is input into the numerical value input box corresponding to the train verification direction, the numerical value 0 corresponding to the reverse direction and the numerical value 1 corresponding to the forward direction are obtained as all possible numerical values corresponding to the train verification direction.
TABLE-2
Illustratively, the target parameter is a vertical fold flag. When the numerical value shown in the table-3 is input into the numerical value input box corresponding to the vertical folding mark, the numerical value 0 corresponding to the non-folding is obtained, the numerical value 1 corresponding to the in-situ vertical folding is obtained, and all possible numerical values corresponding to the vertical folding mark are obtained.
TABLE-3
Illustratively, the target parameter is the dock door side. And inputting the numerical value shown in the table-4 into a numerical value input box corresponding to the platform door side, and acquiring all possible numerical values corresponding to the platform door side by taking the numerical value 1 corresponding to the left side and the numerical value 2 corresponding to the right side.
TABLE-4
Illustratively, the target parameter is the door opening and closing demand. And inputting the numerical value shown in the table-5 into a numerical value input box corresponding to the door opening and closing requirement, and acquiring all possible numerical values corresponding to the door opening and closing requirement by taking the numerical value 1 corresponding to the door opening and closing and the numerical value 2 corresponding to the door closing.
TABLE-5
Thirdly, combining the two methods for determining all values input for the target parameter, specifically: and displaying the default value corresponding to the target parameter in the interactive interface of the target parameter. If it is determined that some or all of the default values corresponding to the target parameter are modified and replacement values corresponding to the modified default values are obtained, determining the unmodified default values and the newly obtained replacement values as all values input for the target parameter.
Second, the specific process of obtaining all possible values corresponding to each target parameter required for testing the temporary speed limiting server includes: the following steps 101C to 101D are performed for each target parameter:
101C, calling target data from a target interface; the target data stores the target parameters and all possible values corresponding to the target parameters in the form of key value pairs.
In order to improve the efficiency of acquiring all possible values of the target parameter, all possible values of the target parameter and the target parameter may be recorded in the target data in the form of key-value pairs. When all possible values of the target parameters need to be acquired, the target data are directly called, and all possible values of the target parameters are extracted from the target data.
101D, matching keys corresponding to the target parameters in the target data, determining values corresponding to the matched keys as all values input for the target parameters, and acquiring all values input for the target parameters as possible values corresponding to the target parameters.
After the target data is acquired, the corresponding keys are matched in the target data based on the fields corresponding to the target parameters. After matching to the corresponding key, the value corresponding to the matched key is acquired as all possible values corresponding to the target parameter.
Further, if the corresponding key is not matched in the target data, a prompt for that the target parameter is not matched with the corresponding value can be sent, so that the tester can obtain all possible values corresponding to the target parameter through the first method.
Regardless of which of the two methods described above is used to obtain all possible values of the target parameter, all possible values of the target parameter are obtained. The purpose of obtaining all possible values of the target parameter is to cover all possible values of the target parameter in full, so that the platform door control function of the temporary speed limit server is fully tested on the basis of all possible values.
Further, in order to ensure that the possible values of the target parameter are all available and correct values, before the step of "obtaining all the values input for the target parameter as the possible values corresponding to the target parameter", the method may further include the following steps: checking whether all values input for the target parameters are legal or not; if the target parameter is legal, all the values input for the target parameter are acquired as possible values corresponding to the target parameter.
The specific process for detecting whether all the values input for the target parameters are legal is as follows: detecting whether the values of all the values of the target parameters are in compliance; if the values of all the values of the target parameters are legal, the test error of the temporary speed limiting server is not caused, and therefore all the values input for the target parameters are acquired as possible values corresponding to the target parameters. If the value of the target parameter is determined to be illegal, if the value is determined to be the possible value of the target parameter, a test error of the temporary speed limiting server can be caused, and a prompt that the value input by the target parameter is illegal is sent. Further, the prompt can specifically indicate which value is illegal, so that a tester can purposefully modify the illegal value.
Illustratively, the target parameter is a train consist type for which all values entered include: values 1, 16, and 2, 19, and 3 corresponding to 8 and 8 groups, and 16 groups, respectively. Upon detection that the 19 consist is an absent consist, the determination that the value of the target parameter is not legal prompts the tester to modify the value associated with the 19 consist.
Further, before the step of "obtaining all the values input for the target parameter as possible values corresponding to the target parameter", the method may further include the following steps: judging whether all possible values of the target parameters, the configuration sequence of which is positioned in front of the target parameters, are obtained; if the acquisition is completed, all the values input for the target parameters are acquired as possible values corresponding to the target parameters.
Each target parameter required by the test temporary speed limiting server has a set configuration sequence, and for any one target parameter, all possible values of the target parameter located in the previous position can be obtained only after all possible values of the target parameter are obtained. The order of each target parameter in the configuration order may be: the train consists type, the track number, the train verification direction, the vertical folding mark, the platform door side and the door opening and closing requirement.
For any one target parameter, when all possible values corresponding to the target parameter are acquired, whether all possible values of the target parameter, which is arranged in the order before the target parameter, are acquired or not needs to be judged. If it is determined that all possible values of the target parameter located in the previous position are obtained, it is indicated that all possible values of the target parameter can be obtained, and all values input to the target parameter are obtained as possible values corresponding to the target parameter. If it is determined that all possible values of the target parameter located in the previous position are not obtained, in order to avoid confusion of value obtaining, all possible values of the target parameter located in the previous position are waited for to be obtained.
102. And traversing and combining all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination.
In order to be able to comprehensively cover the platform door control requests which the temporary speed limiting server may process, all possible values corresponding to each acquired target parameter are traversed and combined to obtain a large number of combinations. Wherein each combination comprises a possible value corresponding to each target parameter. The obtained combinations do not have identical combinations, that is, at least one possible value corresponding to the target parameter is different between any two combinations. A combination is used to generate a station door control request accordingly.
The specific process of traversing and combining all possible values corresponding to each obtained target parameter to obtain the platform door control request corresponding to each combination includes the following steps 102A to 102B:
102A, performing traversal combination on all the obtained possible values corresponding to each target parameter to obtain the possible values included in each combination.
Each combination includes the possible values for each target parameter required to test the temporary speed limit server. The following describes a specific process of performing traversal combination on all possible values corresponding to each obtained target parameter, where the specific process is: sequentially selecting one target parameter as a first parameter according to the selection sequence of each target parameter; and taking the target parameter which is not selected as the first parameter as the second parameter. And selecting one possible value from all possible values corresponding to each current second parameter respectively to form a first combination. The possible values of the second parameters in each first combination are the same, and the number of the first combinations is the same as the number of the possible values of the first parameters. Then, each possible value of the first parameter is allocated to each first combination, and the possible values allocated by the different combinations are different.
The above combination of traversals can form possible values traversing to all target parameters. Exemplary target parameters include train consist type, track number, train verification direction, vertical fold flag, platform door side, door opening and closing demand. The number of possible values of the train grouping type is 3, the number of possible values of the track number is 2, the number of possible values of the train verification direction is 2, the number of possible values of the vertical folding mark is 2, the number of possible values of the platform door side is 2, and the number of possible values of the door opening and closing requirement is 2, then after traversing and combining all the possible values corresponding to each obtained target parameter, the number of formed combinations is as follows: 3X 2X 2×2=96.
102B, for each combination: invoking a simulation tool for the automatic overspeed protection system of the train to process possible values corresponding to the target parameters included in the combination to obtain corresponding platform door control requests; the simulation tool is a tool for configuring a possible acquisition value corresponding to the integrated target parameters through the model train behavior, and the tool corresponds to a platform door control request.
Each combination obtained after traversing the combination comprises a possible value corresponding to each target parameter. The possible values of the target parameters included in the combinations are important bases for the formation of the door control requests, so that after the combinations are obtained, it is necessary to determine the door control request corresponding to each combination. The corresponding platform door control requests are combined for simulating platform door control requests sent by the train to the temporary speed limiting server.
For any combination, the specific process of obtaining the corresponding platform door control request is as follows: and calling possible values corresponding to target parameters included in the processing combination of the simulation tool for the automatic overspeed protection system of the train to obtain corresponding platform door control requests. The simulation tool is a tool for configuring and integrating the possible acquisition values corresponding to the target parameters through the train behavior model, the specific type of the simulation tool can be determined based on the service requirement, and the embodiment is not limited. An exemplary simulation tool is a simulation tool based on an automatic overspeed protection system (Automatic Train Protection, ATP) for simulating train behavior issuing platform door control requests to a temporary speed limit server.
After the simulation tool processes the possible values corresponding to the target parameters included in the combination, a station door control request corresponding to the combination is formed. The platform door control request is used for simulating a platform door control request sent by a train to the temporary speed limiting server, and can be provided for the temporary speed limiting server to detect whether the temporary speed limiting server is abnormal or not based on whether the platform door control command obtained by processing the platform door control request by the temporary speed limiting server is correct or not.
Because the simulation tool only integrates the possible values corresponding to the target parameters included in the combination, the platform door control request still includes the possible values corresponding to each target parameter in the combination. Exemplary embodiments of the invention are described. The combination 1 comprises a possible value of '8 corresponding to a train consist', a possible value of 'stock track number 1' of a stock track number, a possible value of 'reverse corresponding value of 0' of a train verification direction ', a possible value of' no turn-back corresponding value of 0 'of a vertical turn-over mark', a possible value of 'left corresponding value of 1' of a platform door side, and a possible value of 'door opening corresponding value of 1' of a door opening and closing requirement. The possible values for the target parameters are still included in the station door control request corresponding to the combination 1, so that the temporary speed limit server can process the station door control request into the corresponding station door control command. 103. Acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes the corresponding combined platform door control request.
After obtaining the platform door control request corresponding to each combination, in order to be able to perform a comprehensive test on the temporary speed limiting server, each combination needs to be sequentially provided to the temporary speed limiting server so that the temporary speed limiting server sequentially processes each platform door control request to obtain the platform door control command corresponding to each combination.
The specific process for obtaining the platform door control command corresponding to each combination is as follows: for each combination, the platform door control request corresponding to the combination is provided to the temporary speed limiting server, and after the temporary speed limiting server processes the platform door control request, the platform door control command obtained by the temporary speed limiting server is obtained as the platform door control command corresponding to the combination.
The temporary speed limiting server processes the platform door control request specifically as follows: and analyzing the possible value of each target parameter carried by the platform door control request, recording the description corresponding to the possible value, and combining and processing the recorded description to form a corresponding platform door control command.
The platform door control request 1 carries a possible value "8 of a vehicle group type corresponds to a value 1", a possible value "stock track number 1" of a stock track number, a possible value "positive corresponding to a value 1" of a train verification direction, a possible value "no turn-back corresponding to a value 0" of a vertical turn-over flag, a possible value "left corresponding to a value 1" of a platform door side, and a possible value "door opening corresponding to a value 1" of a door opening requirement. The specific procedure for the temporary speed limit server to process the platform door control request 1 is: (1) The possible value of the type of consist according to the platform door control request 1 is recorded, and the possible value is 1, and the record is 8 consists. (2) The stock number 1 according to the platform door control request 1 is compared with the shielding door information table, for example, if the stock number 1 exists in the shielding door information table, the corresponding platform door number is recorded. (3) The possible value of the train verification direction according to the platform door control request 1 is recorded, and the possible value is 1, and the record is positive. (4) Recording according to the possible value of the vertical folding mark of the platform door control request 1, wherein the possible value is 0, and recording is no folding. (5) The possible value of the platform door side according to the platform door control request 1 is recorded, and the possible value is 1, and the left side is recorded. (6) The possible value of the door opening and closing requirement according to the platform door control request 1 is recorded, and if the possible value is 1, the door opening is recorded. According to the record, the temporary speed limiting server generates a platform door control command 1 which needs to be output to a train control center, the command content of the platform door control command 1 is a forward 8-group train door opening command, and the value corresponding to the command content is 1.
The platform door control request 2 carries a possible value "17 corresponding to a train group" of a train group type, "a possible value" stock track number 2 "of a stock track number," a possible value "reverse corresponding to a train verification direction," a possible value "0" of a vertical folding sign, "a possible value" 2 "corresponding to a right side of a platform door, and a possible value" 2 "corresponding to a door closing of a door opening and closing requirement, which are exemplary. The specific procedure for the temporary speed limit server to process the platform door control request 2 is: (1) The possible value of the type of consist according to the platform door control request 2 is recorded, the possible value is 3, and 17 consists is recorded. (2) The stock number 2 according to the platform door control request 2 is compared with the shielding door information table, for example, if the stock number 1 exists in the shielding door information table, the corresponding platform door number is recorded. (3) The possible value of the train verification direction according to the platform door control request 2 is recorded, and the possible value is 2, and the recording is reversed. (4) Recording according to the possible value of the vertical folding mark of the platform door control request 2, wherein the possible value is 0, and recording is no folding. (5) The possible value of the platform door side according to the platform door control request 2 is recorded, and the possible value is 2, and the right side is recorded. (6) The possible value of the door opening and closing requirement according to the platform door control request 2 is recorded, and the possible value is 2, and the door is recorded as the door closing. According to the record, the temporary speed limiting server generates a platform door control command 2 which needs to be output to a train control center, the command content of the platform door control command 2 is a forward 17 marshalling train door closing command, and the value corresponding to the command content is 10.
104. Detecting whether the temporary speed limit server is abnormal based on the acquired station control command.
The platform control command corresponding to each combination is the basis for detecting whether the temporary speed limiting server is abnormal or not, and is also the basis for locating abnormal points when detecting that the temporary speed limiting server is abnormal.
The specific process of detecting whether or not the temporary speed limit server is abnormal based on the acquired station control commands may be to perform the following steps 104A to 104B for each of the acquired station control commands:
104A, determining the command content included in the station control command and the command value corresponding to the command content.
The platform control command is a command that the temporary speed limit server needs to output to the train control center to cause the train control center to perform control on the platform door that matches the platform door control command. The station control command includes command content and command value corresponding to the command content. In practical application, the command value may be set based on the service requirement, and the embodiment is not limited specifically.
For example, the command content included in the station control command 1 is determined to be "forward 8-group train door opening command" and the command value corresponding to the command content "forward 8-group train door opening command" is determined to be "1".
104B, detecting whether the command content and the command value are correct based on expected data; if the command content and/or the command value are/is detected to be incorrect, determining that the temporary speed limiting server is abnormal; if the command content and/or the command value are/is not detected to be incorrect, determining that the operation of the temporary speed limiting server related to the station control command is not abnormal.
The expected data is a command content and a command value preset based on a combination corresponding to the station control command, and is determined based on a priori knowledge. The expected data records the corresponding relation among the combination, the command content and the command value.
Illustratively, the correspondence between the command content and the command value in the expected data is shown in Table-6.
TABLE-6
The specific process of detecting whether the command content and the command value are correct based on the expected data can be as follows: determining a combination corresponding to the station control command, determining command content corresponding to the combination in expected data, and detecting whether the command content included in the station control command is consistent with the determined command content; if the command values are consistent, continuing to detect whether the command values corresponding to the command content included in the station control command are the command values corresponding to the command content in the expected data; if yes, determining that the operation of the temporary speed limiting server related to the station control command is not abnormal. If the command content included in the outbound control command is detected to be inconsistent with the determined command content, and/or if the command value corresponding to the command content included in the outbound control command is detected to be not the command value corresponding to the command content in the expected data, determining that the temporary speed limiting server has an abnormality, and the specific abnormality is related to the operation related to the outbound control command.
Further, after determining that the temporary speed limit server is abnormal, in order to enable a tester to know that the temporary speed limit server is abnormal in time, the method for testing the temporary speed limit server may further include the following steps: determining a platform door control request corresponding to the platform control command; sending out an abnormality prompt; wherein the exception prompt is used to inform the temporary speed limit server that an exception exists when the determined station door control request is executed.
The purpose of determining the station door control request corresponding to the station control command is to let the tester know that an abnormality has occurred in the temporary speed limit server when executing the station door control request having what kind of possible value.
When the platform door control request is determined, an abnormality prompt aiming at the platform door control request is sent out, so that the test knows that the abnormality of the temporary speed limiting server is related to the operation related to the platform control command executed by the temporary speed limiting server, and a tester can conveniently locate the abnormality in time and remove the related abnormality.
The sending mode of the prompt can be determined based on the service requirement, and the embodiment is not limited. By way of example, the prompt may be in the following manner: firstly, a prompt is sent out in a test interface in a popup window mode; secondly, generating prompt information and sending the prompt information to a terminal formulated by a tester.
Further, after determining that the temporary speed limiting server is abnormal, in order to reduce the difficulty of a tester in excluding the temporary speed limiting server from being abnormal, the method for testing the temporary speed limiting server may further include the following steps: determining a platform door control request corresponding to the platform control command; acquiring a reference scheme corresponding to the determined platform door control request; wherein the reference scheme is used for guiding the exception of the temporary speed limiting server when executing the determined platform door control request.
The technician can preset a plurality of reference schemes based on experience knowledge, and each reference scheme has a corresponding platform door control request and is used for guiding and eliminating the abnormality of the temporary speed limiting server when the corresponding platform door control request is executed.
After determining the platform door control request corresponding to the platform control command, the preset reference scheme can be directly inquired, and after acquiring the matched reference scheme, the acquired reference scheme is provided for testing, so that technicians can eliminate the abnormality existing in the temporary speed limiting server based on the reference scheme, and the abnormality elimination efficiency is improved.
When the temporary speed limiting server is tested, all target parameters required by testing the temporary speed limiting server are determined, and the target parameters are parameters related to the platform door control function of the temporary speed limiting server. And then obtaining all possible values corresponding to each target parameter required by testing the temporary speed limiting server. And traversing and combining all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination. And acquiring the platform door control command corresponding to each combination, wherein the platform door control command is obtained after the temporary speed limiting server executes the platform door control request of the corresponding combination. And finally detecting whether the temporary speed limiting server is abnormal or not based on the acquired station control command. Therefore, the embodiment of the application obtains all possible values corresponding to each target parameter, and traverses and combines all possible values corresponding to each obtained target parameter to obtain the platform door control request corresponding to each combination, so that the obtained platform door control request can comprehensively cover the platform door control function of the temporary speed limiting server, and the platform door control request can be used for comprehensively testing the platform door control function of the temporary speed limiting server, thereby overcoming the defect that the whole coverage of the platform door control function of the temporary speed limiting server is difficult to comprehensively cover at present.
Further, an embodiment of the present application further provides a temporary speed limiting server testing device, as shown in fig. 2, including:
a first obtaining module 21, configured to obtain all possible values corresponding to each target parameter required for testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server;
the processing module 22 is configured to traverse and combine all possible values corresponding to each obtained target parameter to obtain a platform door control request corresponding to each combination;
a second obtaining module 23, configured to obtain platform door control commands corresponding to each combination; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request;
and a detection module 24, configured to detect whether the temporary speed limiting server is abnormal based on the acquired station control command.
When the temporary speed limiting server is tested, all target parameters required by testing the temporary speed limiting server are determined, and the target parameters are parameters related to the platform door control function of the temporary speed limiting server. And then obtaining all possible values corresponding to each target parameter required by testing the temporary speed limiting server. And traversing and combining all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination. And acquiring the platform door control command corresponding to each combination, wherein the platform door control command is obtained after the temporary speed limiting server executes the platform door control request of the corresponding combination. And finally detecting whether the temporary speed limiting server is abnormal or not based on the acquired station control command. Therefore, the embodiment of the application obtains all possible values corresponding to each target parameter, and traverses and combines all possible values corresponding to each obtained target parameter to obtain the platform door control request corresponding to each combination, so that the obtained platform door control request can comprehensively cover the platform door control function of the temporary speed limiting server, and the platform door control request can be used for comprehensively testing the platform door control function of the temporary speed limiting server, thereby overcoming the defect that the whole coverage of the platform door control function of the temporary speed limiting server is difficult to comprehensively cover at present.
In some embodiments of the present application, as shown in fig. 3, the first obtaining module 21 includes:
a display unit 211 for displaying target parameters required for testing the temporary speed limit server;
an obtaining unit 212, configured to perform, for each presented target parameter: and obtaining all the values input for the target parameters as possible values corresponding to the target parameters.
In some embodiments of the present application, as shown in fig. 3, the first obtaining unit 212 is configured to determine whether all possible values of the target parameter that is located in the order preceding the target parameter are obtained; and if the acquisition is completed, acquiring all the values input for the target parameter as possible values corresponding to the target parameter.
In some embodiments of the present application, as shown in fig. 3, the first obtaining unit 212 is further configured to determine, if it is determined that the default value corresponding to the target parameter is not modified and a selected instruction for the default value is obtained, the default value corresponding to the target parameter as all the values input for the target parameter; and/or if the numerical value input for the target parameter is acquired, determining the acquired numerical value as all the numerical values input for the target parameter.
In some embodiments of the present application, as shown in fig. 3, the first obtaining unit 212 is further configured to verify whether all values input for the target parameter are legal; if the target parameter is legal, all the values input for the target parameter are acquired as possible values corresponding to the target parameter.
In some embodiments of the present application, as shown in fig. 3, the processing module 22 is specifically configured to perform traversal combination on all possible values corresponding to each obtained target parameter, so as to obtain possible values included in each combination; each combination comprises a possible value corresponding to each target parameter required by testing the temporary speed limiting server; for each combination, perform: invoking a simulation tool for the automatic overspeed protection system of the train to process possible values corresponding to the target parameters included in the combination to obtain corresponding platform door control requests; the simulation tool is a tool for configuring a possible acquisition value corresponding to the integrated target parameters through the model train behavior, and the tool corresponds to a platform door control request.
In some embodiments of the present application, as shown in fig. 3, the detection module 24 is specifically configured to perform, for each acquired station control command: determining command content included in the station control command and command value corresponding to the command content; detecting whether the command content and the command value are correct or not based on expected data; if the command content and/or the command value are/is detected to be incorrect, determining that the temporary speed limiting server is abnormal; the expected data is preset command content and command value based on the combination corresponding to the station control command.
In some embodiments of the present application, as shown in fig. 3, the temporary speed limit server testing apparatus further includes:
a prompt module 25, configured to determine a platform door control request corresponding to the platform control command after the detection module 24 determines that the temporary speed limiting server is abnormal; sending out an abnormality prompt; wherein the exception prompt is used for informing the temporary speed limiting server that an exception exists when the determined platform door control request is executed.
In some embodiments of the present application, as shown in fig. 3, the temporary speed limit server testing apparatus further includes:
a third obtaining module 26, configured to determine a platform door control request corresponding to the platform control command after the detecting module 24 determines that the temporary speed limiting server is abnormal; acquiring a reference scheme corresponding to the determined platform door control request; wherein the reference scheme is used for guiding and eliminating the abnormality of the temporary speed limiting server when the determined platform door control request is executed.
In the temporary speed limiting server testing device provided in the embodiment of the present application, a detailed description of a method adopted in the operation process of each functional module may be referred to a detailed description of a corresponding method of the above temporary speed limiting server testing method embodiment, which is not repeated herein.
Further, another embodiment of the present application further provides a computer readable storage medium, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is controlled to execute the temporary speed limit server testing method described above.
Further, according to the above embodiment, another embodiment of the present application further provides an electronic device, including: a memory for storing a program; and a processor coupled to the memory for executing the program to perform the temporary speed limit server test method described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the methods and apparatus described above may be referenced to one another. In addition, the "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent the merits and merits of the embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present application is not directed to any particular programming language. It should be appreciated that the contents of the present application described herein can be implemented using a variety of programming languages, and that the above description of specific languages is provided for disclosure of preferred embodiments of the present application.
Furthermore, the memory may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), in a computer readable medium, the memory including at least one memory chip.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 tapping device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data tapping device, 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 cutting 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-cutting 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. 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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (9)

1. A method for testing a temporary speed limit server, the method comprising:
acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server; all target parameters required for testing the temporary speed limiting server are parameters for simulating a platform door control request sent by a train to the temporary speed limiting server; the target parameters required for testing the temporary speed limit server include: the train consists of a train grouping type, a track number, a train verification direction, a vertical folding mark, a platform door side and a door opening and closing requirement;
traversing and combining all possible values corresponding to each obtained target parameter to obtain a platform door control request corresponding to each combination;
acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request;
detecting whether the temporary speed limit server is abnormal or not based on the acquired station control command;
after determining that the temporary speed limit server is abnormal, the method further comprises: determining a platform door control request corresponding to the platform control command; acquiring a reference scheme corresponding to the determined platform door control request; wherein the reference scheme is used for guiding and eliminating the abnormality of the temporary speed limiting server when the determined platform door control request is executed;
All possible values corresponding to each target parameter required for testing the temporary speed limiting server are obtained, wherein the possible values comprise: displaying target parameters required by testing the temporary speed limiting server; for each presented target parameter: and obtaining all the values input for the target parameters as possible values corresponding to the target parameters.
2. The method of claim 1, wherein before all values entered for the target parameter are acquired as possible values for the target parameter, the method further comprises:
judging whether all possible values of the target parameters, the configuration sequence of which is positioned in front of the target parameters, are obtained;
and if the acquisition is completed, acquiring all the values input for the target parameter as possible values corresponding to the target parameter.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
if the default value corresponding to the target parameter is not modified and a selected instruction aiming at the default value is acquired, determining the default value corresponding to the target parameter as all the numerical values input aiming at the target parameter;
And/or the number of the groups of groups,
if the value input for the target parameter is acquired, the acquired value is determined as all the values input for the target parameter.
4. The method of claim 1, wherein before all values entered for the target parameter are acquired as possible values for the target parameter, the method further comprises:
checking whether all values input for the target parameter are legal or not;
if the target parameter is legal, all the values input for the target parameter are acquired as possible values corresponding to the target parameter.
5. The method according to any one of claims 1-2 and 4, wherein traversing the combination of all possible values for each of the obtained target parameters, obtaining a platform door control request for each combination, comprises:
traversing and combining all the obtained possible values corresponding to each target parameter to obtain possible values included in each combination; each combination comprises a possible value corresponding to each target parameter required by testing the temporary speed limiting server;
for each combination, perform: invoking a simulation tool for the automatic overspeed protection system of the train to process possible values corresponding to the target parameters included in the combination to obtain corresponding platform door control requests; the simulation tool is a tool for configuring a possible acquisition value corresponding to the integrated target parameters through the model train behavior, and the tool corresponds to a platform door control request.
6. The method according to any one of claims 1-2, 4, wherein detecting whether an anomaly exists in the temporary speed limit server based on the acquired station control command comprises:
for each acquired station control command, performing: determining command content included in the station control command and command value corresponding to the command content; detecting whether the command content and the command value are correct or not based on expected data; if the command content and/or the command value are/is detected to be incorrect, determining that the temporary speed limiting server is abnormal; the expected data is preset command content and command value based on the combination corresponding to the station control command.
7. The method of claim 6, wherein after determining that there is an anomaly in the temporary speed limit server, the method further comprises:
determining a platform door control request corresponding to the platform control command;
sending out an abnormality prompt; wherein the exception prompt is used for informing the temporary speed limiting server that an exception exists when the determined platform door control request is executed.
8. A temporary speed limit server testing device, the device comprising:
The first acquisition module is used for acquiring all possible values corresponding to each target parameter required by testing the temporary speed limiting server; wherein the target parameter is a parameter related to a platform door control function of the temporary speed limit server; all target parameters required for testing the temporary speed limiting server are parameters for simulating a platform door control request sent by a train to the temporary speed limiting server; the target parameters required for testing the temporary speed limit server include: the train consists of a train grouping type, a track number, a train verification direction, a vertical folding mark, a platform door side and a door opening and closing requirement;
the processing module is used for performing traversal combination on all possible values corresponding to each acquired target parameter to obtain a platform door control request corresponding to each combination;
the second acquisition module is used for acquiring platform door control commands corresponding to all the combinations; wherein the platform door control command is a command obtained after the temporary speed limiting server executes a corresponding combined platform door control request;
the detection module is used for detecting whether the temporary speed limiting server is abnormal or not based on the acquired platform control command;
the apparatus further comprises: the third acquisition module is used for determining a platform door control request corresponding to the platform control command after the detection module determines that the temporary speed limiting server is abnormal; acquiring a reference scheme corresponding to the determined platform door control request; wherein the reference scheme is used for guiding and eliminating the abnormality of the temporary speed limiting server when the determined platform door control request is executed;
The first acquisition module includes: the display unit is used for displaying target parameters required by testing the temporary speed limiting server; an acquisition unit, configured to perform, for each presented target parameter: and obtaining all the values input for the target parameters as possible values corresponding to the target parameters.
9. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the temporary speed limit server testing method according to any one of claims 1 to 7.
CN202310411266.4A 2023-04-18 2023-04-18 Temporary speed limiting server testing method and device Active CN116155769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310411266.4A CN116155769B (en) 2023-04-18 2023-04-18 Temporary speed limiting server testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310411266.4A CN116155769B (en) 2023-04-18 2023-04-18 Temporary speed limiting server testing method and device

Publications (2)

Publication Number Publication Date
CN116155769A CN116155769A (en) 2023-05-23
CN116155769B true CN116155769B (en) 2023-08-01

Family

ID=86352728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310411266.4A Active CN116155769B (en) 2023-04-18 2023-04-18 Temporary speed limiting server testing method and device

Country Status (1)

Country Link
CN (1) CN116155769B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118627A (en) * 2022-08-29 2022-09-27 卡斯柯信号(北京)有限公司 Temporary speed limiting server testing method and device
CN115285185A (en) * 2022-10-08 2022-11-04 卡斯柯信号(北京)有限公司 Method and device for testing train speed limit processing function

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9508681D0 (en) * 1995-04-28 1995-06-14 Westinghouse Brake & Signal Vehicle control system
CN109733441B (en) * 2019-01-31 2021-04-13 北京全路通信信号研究设计院集团有限公司 Vehicle door and platform door linkage method and system
CN110469230A (en) * 2019-08-15 2019-11-19 中国铁道科学研究院集团有限公司通信信号研究所 Car door gate coordinated control system and method based on multi-sensor fusion technology
CN115535046A (en) * 2021-06-30 2022-12-30 中铁检验认证中心有限公司 Rail transit train control system test platform
CN113641592B (en) * 2021-10-15 2022-02-22 卡斯柯信号(北京)有限公司 Test sequence generation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118627A (en) * 2022-08-29 2022-09-27 卡斯柯信号(北京)有限公司 Temporary speed limiting server testing method and device
CN115285185A (en) * 2022-10-08 2022-11-04 卡斯柯信号(北京)有限公司 Method and device for testing train speed limit processing function

Also Published As

Publication number Publication date
CN116155769A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US8612200B2 (en) PLC symbol structure for a PLC code for automatically generating an input/output model, and simulation apparatus and simulation method for testing the PLC code using same
CN105404274B (en) Vehicle electrically controlling unit and its error code detection and recording method and vehicle
CN104731669B (en) A kind of method and system of power equipments defect automatic data-check
CN111209206A (en) Automatic test method and system for software product
CN115118627B (en) Temporary speed limiting server testing method and device
CN107357696A (en) A kind of bad block method of testing of nonvolatile storage and system
CN116155769B (en) Temporary speed limiting server testing method and device
CN107272441B (en) Method for monitoring errors and data processing device for monitoring errors
CN110489830A (en) The design detection method and computer storage medium of pcb board card
EP0548777B1 (en) Fault identification system for production and packing plants
CN110008074B (en) Method, device and equipment for automatically testing and inquiring upper-layer interface of hardware information
CN114435433B (en) Method and device for verifying automatic trigger route conflict
CN107301109A (en) A kind of hard disk quality screening technique and device
CN115987821A (en) Gateway routing test method and device
JP2015191671A (en) Interaction method to control program
CN115328103A (en) Method and device for testing interval occupation logic check function
CN114138668A (en) Method for carrying out automatic parking test by utilizing GUI tool
CN114692388A (en) Simulation system, method and device for thermal power plant and storage medium
CN112327800A (en) Vehicle detection method and device and diagnosis equipment
CN114936054A (en) Method and device for generating debugging process file of vehicle and rail vehicle
CN112035308A (en) Method and device for generating system interface test table
CN116069544B (en) Verification method and device for intelligent diagnosis of signal equipment faults
CN117176561A (en) Automatic test method and test system for vehicle-mounted communication DTC
CN116142253A (en) Code bit table generation method and device
CN117523801A (en) Method, system and medium for distinguishing real alarm signal in test process

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