CN112463510A - Deployment method and device of temporary speed limiting server test system - Google Patents

Deployment method and device of temporary speed limiting server test system Download PDF

Info

Publication number
CN112463510A
CN112463510A CN202110092689.5A CN202110092689A CN112463510A CN 112463510 A CN112463510 A CN 112463510A CN 202110092689 A CN202110092689 A CN 202110092689A CN 112463510 A CN112463510 A CN 112463510A
Authority
CN
China
Prior art keywords
equipment
peripheral
temporary speed
speed limit
simulator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110092689.5A
Other languages
Chinese (zh)
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 CN202110092689.5A priority Critical patent/CN112463510A/en
Publication of CN112463510A publication Critical patent/CN112463510A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a deployment method and a device of a temporary speed-limiting server test system, relates to the technical field of railway control system tests, and mainly aims to reduce the deployment time of the temporary speed-limiting server test system so as to improve the test efficiency; the main technical scheme comprises: determining peripheral equipment related to the temporary speed limit server, wherein the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server; acquiring the equipment name, equipment identification and equipment IP of each peripheral equipment; generating a configuration file of each peripheral device based on the device name, the device identifier and the device IP of each peripheral device; and configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.

Description

Deployment method and device of temporary speed limiting server test system
Technical Field
The invention relates to the technical field of railway control system testing, in particular to a deployment method and a device of a temporary speed limiting server testing system.
Background
A Temporary Speed limit Server (TSRS), which is a control system based on a signal fail-safe computer. According to the temporary speed-limiting operation command of the dispatcher, temporary speed-limiting instructions are distributed and centrally managed to each train control center and each radio block center, the centralized management of the temporary speed-limiting commands can be completed, the correctness, the reliability and the safety of the whole processing and executing process of the temporary speed-limiting commands can be ensured, and therefore the safe operation of the high-speed train is realized. Therefore, in order to ensure safe operation of the train on the railroad line, the temporary speed limit server needs to be tested.
A temporary speed limit server test system is usually adopted to test the temporary speed limit server. The temporary speed limit server testing system comprises a temporary speed limit server and a simulator of equipment which has an interactive relation with the temporary speed limit server, so that the temporary speed limit server is tested through the interaction of the temporary speed limit server and the simulator. At present, the temporary speed limit server test system is usually deployed by manually configuring simulators by service personnel according to the actual line condition of the temporary speed limit server, but due to the large number of simulators, the efficiency of manually configuring the simulators is low, and due to the manual configuration, the simulators have higher risks of missing configuration and mismatching, and the test efficiency and the test quality of the temporary speed limit server are seriously influenced.
Disclosure of Invention
In view of this, the invention provides a deployment method and a device of a temporary speed-limiting server test system, and mainly aims to reduce the deployment time of the temporary speed-limiting server test system, thereby improving the test efficiency. The main technical scheme comprises:
in a first aspect, the present invention provides a deployment method of a temporary speed limit server test system, where the method includes:
determining peripheral equipment related to a temporary speed limit server, wherein the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server;
acquiring the equipment name, the equipment identifier and the equipment IP of each peripheral equipment;
generating a configuration file of each peripheral device based on the device name, the device identifier and the device IP of each peripheral device;
and configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
In a second aspect, the present invention provides a deployment apparatus for a temporary speed-limiting server test system, the apparatus including:
the system comprises a determining unit, a processing unit and a control unit, wherein the determining unit is used for determining peripheral equipment related to a temporary speed limit server, and the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server;
an obtaining unit, configured to obtain a device name, a device identifier, and a device IP of each peripheral device;
a generating unit, configured to generate a configuration file of each of the peripheral devices based on a device name, a device identifier, and a device IP of each of the peripheral devices;
and the configuration unit is used for configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
In a third aspect, the present invention provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the deployment method of the temporary speed limit server test system according to the first aspect.
In a fourth aspect, the present invention provides a storage management apparatus, including:
a memory for storing a program;
and the processor is coupled to the memory and used for running the program to execute the deployment method of the temporary speed limit server test system in the first aspect.
By means of the technical scheme, the deployment method and the deployment device of the temporary speed limit server test system provided by the invention are characterized in that peripheral equipment related to the temporary speed limit server is determined, and the equipment name, the equipment identifier and the equipment IP of each peripheral equipment are obtained. Then, a configuration file of each peripheral device is generated based on the device name, the device identifier, and the device IP of each peripheral device, and a simulator of each peripheral device is configured based on the configuration file of each peripheral device. And the configured simulators of the peripheral equipment and the temporary speed limit server form a temporary speed limit server test system. Therefore, when the simulator of each peripheral device is configured, the simulator of each peripheral device can be automatically configured through the completion of the configuration of each peripheral device without manual configuration of service personnel, so that the deployment time of the temporary speed-limiting server test system can be reduced, and the test efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a deployment method of a temporary speed limit server test system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for deploying a temporary speed limit server test system according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram illustrating a deployment apparatus of a temporary speed limit server testing system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a deployment apparatus of a temporary speed limit server testing system according to another embodiment of the present invention.
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.
As shown in fig. 1, an embodiment of the present invention provides a deployment method of a temporary speed limit server test system, where the method mainly includes:
101. and determining peripheral equipment related to the temporary speed limit server, wherein the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server.
In practical application, the temporary speed limit server is responsible for providing logic execution and management functions of storage, verification, splitting, deletion, issuing, cancellation and the like of the temporary speed limit command, completing the initialization management function of the speed limit execution equipment, and assisting in prompting the verification of the speed limit command and the execution operation time. It can be seen that the temporary speed limit server is not a single individual and needs to interact with other devices, and the interaction between the devices interacting with the temporary speed limit server and the temporary speed limit server can embody the performance of the temporary speed limit server, so that the devices interacting with the temporary speed limit server can be used as peripheral devices related to the temporary speed limit server.
The peripheral devices related to the temporary speed limit server are devices for issuing instructions to the temporary speed limit server and/or devices for executing the instructions issued by the temporary speed limit server. The device for issuing the instruction to the temporary speed limit server is a central Traffic Control System (CTC) corresponding to a line where the temporary speed limit server is located, and is responsible for providing an operation and display interface of the temporary speed limit command and issuing the instruction to the temporary speed limit server. The equipment for executing the instruction issued by the temporary speed limit server is the actual execution equipment of the temporary speed limit command, and comprises the following equipment: a TCC (Train Control Computer) corresponding to a line where the temporary speed limit server is located, a RBC (Radio Block Center) corresponding to a line where the temporary speed limit server is located, and a TSRS of a line adjacent to the line where the temporary speed limit server is located. The line where the temporary speed limit server is located generally has a plurality of TCCs, the line where the temporary speed limit server is located also generally has a plurality of RBCs, and one line may have either a single TCC or a single RBC, or both a TCC and a RBC. The number of TSRS of the line adjacent to the line where the temporary speed limit server is located may be one or more, and is related to the specific number of lines.
The types and the number of the peripheral devices related to the temporary speed limit server can be determined according to the actual device related to the line where the temporary speed limit server is located, and can also be determined according to the specific test requirements of the temporary speed limit server. For example, all the actual devices involved in the line where the temporary speed limit server is located are determined as peripheral devices related to the temporary speed limit server. For example, when only the interaction of the temporary speed limit server with the CTC and TCC is to be tested, only the CTC and TCC involved in the line where the temporary speed limit server is located are determined as peripheral devices related to the temporary speed limit server.
102. And acquiring the equipment name, the equipment identifier and the equipment IP of each peripheral equipment.
In practical application, when a railway line is designed, a design institute usually provides a ground equipment information table and an IP address allocation table corresponding to a line where a temporary speed limit server is located, wherein all ground equipment of the line where the temporary line server is located, an equipment name and an equipment identifier of each equipment are recorded in the ground equipment information table, and all the ground equipment include peripheral equipment related to the temporary speed limit server. The IP address allocation table records all devices on the line on which the temporary line server is located and the device IP of each device. Therefore, it is necessary to obtain the ground device information table and the IP address allocation table corresponding to the line where the temporary speed limit server is located, so as to obtain the device name, the device identifier, and the device IP of each peripheral device from the two tables.
Since the ground device information table records the device names and device identifications of the peripheral devices related to the temporary speed limit server, and the IP address allocation table records the device names and device IPs of the peripheral devices related to the temporary speed limit server, after the peripheral devices related to the temporary speed limit server are determined, the device names and device identifications of the peripheral devices are obtained from the ground device information table, and the device IPs of the peripheral devices are obtained from the IP address allocation table based on the device names.
The device name, device identifier, and device IP of each peripheral device are unique. Different ports of a peripheral device may have different device IPs, that is, a peripheral device may correspond to two or more device IPs. The specific definition mode of the device name, the device identifier, and the device IP of each peripheral device may be determined according to the service requirement, and is not specifically limited in this embodiment.
Illustratively, peripheral devices related to the temporary speed limit server of the railroad line 1 are determined to be TCCs, a corresponding TCC exists at each station of the railroad line 1, and the device name, device identification, and device IP of each TCC are shown in table-1.
TABLE-1
Figure DEST_PATH_IMAGE001
103. And generating a configuration file of each peripheral device based on the device name, the device identifier and the device IP of each peripheral device.
In the temporary speed limit server test system, each peripheral device is not a physical peripheral device, but a simulator of each peripheral device, and each peripheral device is simulated by using the corresponding simulator, so that the temporary speed limit server and each simulator are interacted, and the test of the temporary speed limit server is completed. In order to enable the simulator to simulate real peripheral devices, the simulator of each peripheral device needs to be configured, and the configuration file of each peripheral device needs to be generated on the basis of the configuration file of each peripheral device. A process of generating a configuration file of each peripheral device based on a device name, a device identifier, and a device IP of each peripheral device is described below, where the process specifically includes the following steps one to two:
step one, obtaining a configuration file template corresponding to each peripheral device.
In practical application, the type of the configuration file template corresponding to each peripheral device is not specifically limited in this embodiment, and may be set according to specific service requirements. The device name, the device ID and the location of the device IP of the peripheral device are defined in the configuration file template, so that the configuration of the simulator corresponding to the peripheral device can be completed according to the device name, the device ID and the device IP of the peripheral device.
And step two, correspondingly writing the equipment name, the equipment identification and the equipment IP of each peripheral equipment into each configuration file template to generate the configuration file of each peripheral equipment.
The device name, the device identification and the device IP of each peripheral device are correspondingly written into each configuration file template, so that the configuration files of each peripheral device are generated.
It should be noted that the configuration file includes, in addition to the device name, the device identifier, and the device IP of the peripheral device, the name and the identifier of the temporary speed limit server, and the IP used by the temporary speed limit server for interacting with the peripheral device, so that the peripheral device can successfully complete the interaction with the temporary speed limit server based on the information.
104. And configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
Because the configuration file of each peripheral device is automatically generated based on the device name, the device identifier and the device IP of each peripheral device, manual intervention is not needed, the risk of mismatch and missing of the simulator can be reduced, and the test quality is ensured. In addition, the configuration of the simulator is automatically completed based on the configuration file, so that the configuration of the simulator can be quickly completed even if the number of the simulators is large, and the deployment time of the temporary speed limiting server test system is saved.
In practical applications, the method for configuring the simulator of each peripheral device based on the configuration file of each peripheral device at least includes the following two methods:
first, the service personnel start the configuration files of the peripheral equipment one by one, so as to use the configuration files of the started peripheral equipment to configure the simulator corresponding to the peripheral equipment. In this way, since configuration files need to be started one by one, service personnel can strictly control the configuration time and the configuration sequence of each simulator.
Secondly, generating a starting batch processing file based on the configuration file of each peripheral device, wherein the starting batch processing file defines the configuration sequence of each peripheral device; and starting the starting batch processing file, and configuring the simulators of the peripheral equipment according to the configuration sequence.
In order to improve the configuration efficiency of the simulator of the peripheral equipment and reduce the personnel configuration work, the configuration files of the peripheral equipment are integrated to generate a starting batch processing file, and the configuration sequence of the peripheral equipment is limited in the starting batch processing file. The specific type of the startup batch file may be one-button startup bat. After the startup batch file is generated, the startup batch file may be started when a user starts a trigger or the time reaches a preset time point. After the startup batch file is started, the simulators of the peripheral equipment are configured according to the configuration sequence of the peripheral equipment, so that the simulators can simulate the peripheral equipment corresponding to the simulators and can interact with the temporary speed limit server.
And after the peripheral equipment related to the temporary speed limit server is configured, the simulator of each peripheral equipment and the temporary speed limit server form a temporary speed limit server testing system. In the test system, a TCC simulator, an RBC simulator and an adjacent TSRS simulator in each simulator are communicated with a DVCOM-1 board in a temporary speed-limiting server cabinet through an external network in a network communication mode, and a CTC simulator in each simulator is communicated with a DVCOM-2 board in the temporary speed-limiting server cabinet through the external network in a network communication mode. The user of the test system of the temporary speed limit server can issue an instruction to the temporary speed limit server through the CTC system, and test the logic execution and management functions of the temporary speed limit server on the temporary speed limit instruction, such as storage, verification, splitting, deletion, issuing, cancellation and the like. And then testing the function of issuing instructions to TCC, RBC and adjacent TSRS by the temporary speed limit server.
The deployment method of the temporary speed limit server test system provided by the embodiment of the invention comprises the steps of firstly determining peripheral equipment related to the temporary speed limit server, and acquiring the equipment name, the equipment identifier and the equipment IP of each peripheral equipment. Then, a configuration file of each peripheral device is generated based on the device name, the device identifier, and the device IP of each peripheral device, and a simulator of each peripheral device is configured based on the configuration file of each peripheral device. And the configured simulators of the peripheral equipment and the temporary speed limit server form a temporary speed limit server test system. Therefore, when the simulator of each peripheral device is configured, the simulator of each peripheral device can be automatically configured through the completion of the configuration of each peripheral device without manual configuration of service personnel, so that the deployment time of the temporary speed-limiting server test system can be reduced, and the test efficiency is improved.
Further, according to the method shown in fig. 1, another embodiment of the present invention further provides a deployment method of a temporary speed limit server test system, as shown in fig. 2, the method mainly includes:
201. and determining peripheral equipment related to the temporary speed limit server, wherein the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server.
202. And acquiring a ground equipment information table and an IP address distribution table corresponding to the line where the temporary speed limit server is located, wherein the ground equipment information table records the equipment names and equipment identifications of peripheral equipment related to the temporary speed limit server, and the IP address distribution table records the equipment names and equipment IPs of the peripheral equipment related to the temporary speed limit server.
203. And acquiring the equipment name and the equipment identification of each peripheral equipment from the ground equipment information table.
204. And acquiring the equipment IP of each peripheral equipment from the IP address allocation table based on the equipment name.
205. And acquiring a configuration file template corresponding to each peripheral device.
206. And correspondingly writing the equipment name, the equipment identification and the equipment IP of each peripheral equipment into each configuration file template to generate the configuration file of each peripheral equipment.
207. And generating a stop batch processing file based on the configuration file of each peripheral device, wherein the stop batch processing file is used for stopping configuration when the configuration of any simulator is abnormal.
Furthermore, considering that the configuration of the simulator may not be performed due to a sudden abnormality when the simulator of the peripheral device is configured, in order to facilitate timely exception handling for the simulator with an abnormal configuration, the batch stop file may be generated based on the configuration file of each peripheral device.
The batch processing stopping file is used for stopping configuration when the batch processing file is started to configure the simulators of the peripheral equipment and the configuration of any simulator is abnormal, so that a user can timely perform exception processing on the simulator with abnormal configuration. The method for stopping configuration when the configuration of any simulator is abnormal comprises the following two methods:
first, the configuration of any simulator is abnormal, and the configuration of the simulator with the abnormality and the configuration of the simulator sequentially positioned therebehind are terminated, that is, the start of the batch file is stopped, and the configuration of the simulator is stopped. The method can timely process the abnormity so as to ensure that the abnormity of the simulator with the abnormity and the abnormity possibly occurring in the configuration of the simulator positioned behind the simulator in sequence are timely eliminated.
Second, when any of the simulators is abnormally arranged, the arrangement of the simulator in which the abnormality occurs is stopped, and the modelers sequentially positioned after the simulator in which the abnormality occurs are not stopped, the simulator in which the abnormality occurs is skipped, and the arrangement of the modelers sequentially positioned after the simulator in which the abnormality occurs is continued. By the aid of the processing method, the simulator with the exception does not influence global configuration, and configuration efficiency can be improved.
208. And configuring a simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system, and the steps are executed 209 and 213.
209. Detecting whether the configuration of the simulator is abnormal or not, and if the configuration of the simulator is abnormal, executing 210 or 211; otherwise, the current flow is ended.
It should be noted that, when detecting the presence of an anomaly, there are two processing mechanisms, step 210 and step 211, which can be freely selected by the user based on specific service requirements before the simulator is configured.
210. If the simulators of the peripheral devices are arranged according to the arrangement sequence, the arrangement of any simulator is abnormal, and the arrangement of the simulator with the abnormality and the simulators sequentially behind the simulator is stopped.
The configuration of any simulator is abnormal, the configuration of the simulator with the abnormality and the configuration of the simulator sequentially behind the simulator with the abnormality are terminated, namely, the batch processing file is stopped, and the configuration of the simulator is stopped. The method can timely process the abnormity so as to ensure that the abnormity of the simulator with the abnormity and the abnormity possibly occurring in the configuration of the simulator positioned behind the simulator in sequence are timely eliminated.
211. And if the simulators of the peripheral equipment are arranged according to the arrangement sequence, the arrangement of any simulator is abnormal, and the arrangement of the simulator with the abnormality is stopped.
And stopping the configuration of the simulator with the abnormality when the configuration of any simulator is abnormal, and not stopping the modelers sequentially behind the simulator with the abnormality.
212. And continuously configuring the modelers sequentially behind the simulator with the exception according to the starting batch processing file.
Skipping the simulator with the exception, and continuing to configure the modelers sequentially behind the simulator with the exception according to the starting batch processing file. By the aid of the processing method, the simulator with the exception does not influence global configuration, and configuration efficiency can be improved.
213. And if a deletion instruction aiming at least one simulator is received, deleting the at least one simulator from the temporary speed limiting server test system and generating a deletion record file.
Further, in order to enable a user to flexibly modify the temporary speed limit server test system according to business requirements, if a deletion instruction for at least one simulator is received, the at least one simulator is deleted from the temporary speed limit server test system, and a deletion record file is generated. The purpose of generating the delete log file is to let the user know which simulators were deleted and not participate in the test of the temporary speed limit server.
Further, in order to enable a user to flexibly modify the temporary speed limit server test system according to business requirements, if an adding instruction for at least one simulator is received, the device name, the device identifier and the device IP of the peripheral device corresponding to each simulator are obtained. And generating a configuration file of each peripheral device based on the device name, the device identification and the device IP of each peripheral device, configuring a simulator of each peripheral device based on the configuration file of each peripheral device, and adding each simulator into the temporary speed limit server testing system to enable the newly added simulator to participate in the test of the temporary speed limit server.
Further, according to the foregoing method embodiment, another embodiment of the present invention further provides a deployment apparatus of a temporary speed limit server test system, as shown in fig. 3, where the apparatus includes:
a determining unit 31, configured to determine a peripheral device related to a temporary speed limit server, where the peripheral device is a device that issues an instruction to the temporary speed limit server and/or a device that executes the instruction issued by the temporary speed limit server;
an obtaining unit 32, configured to obtain a device name, a device identifier, and a device IP of each of the peripheral devices;
a generating unit 33 configured to generate a configuration file of each of the peripheral devices based on a device name, a device identifier, and a device IP of each of the peripheral devices;
and the configuration unit 34 is configured to configure the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
The deployment device of the temporary speed limit server test system provided by the embodiment of the invention firstly determines the peripheral equipment related to the temporary speed limit server and obtains the equipment name, the equipment identifier and the equipment IP of each peripheral equipment. Then, a configuration file of each peripheral device is generated based on the device name, the device identifier, and the device IP of each peripheral device, and a simulator of each peripheral device is configured based on the configuration file of each peripheral device. And the configured simulators of the peripheral equipment and the temporary speed limit server form a temporary speed limit server test system. Therefore, when the simulator of each peripheral device is configured, the simulator of each peripheral device can be automatically configured through the completion of the configuration of each peripheral device without manual configuration of service personnel, so that the deployment time of the temporary speed-limiting server test system can be reduced, and the test efficiency is improved.
Optionally, as shown in fig. 4, the configuration unit 34 includes:
a first generating module 341, configured to generate a startup batch file based on the configuration file of each peripheral device, where the startup batch file defines a configuration order of each peripheral device;
the first configuration module 342 is configured to start the startup batch file, and configure the simulators of the peripheral devices according to the configuration sequence.
Optionally, as shown in fig. 4, the configuration unit 34 further includes:
a second generating module 343, configured to generate a batch stop file based on the configuration file of each peripheral device, where the batch stop file is used to stop configuration when any one of the simulators is abnormally configured;
a termination module 344, configured to, if the simulators of the peripheral devices are configured according to the configuration sequence, cause an abnormality in the configuration of any of the simulators, and terminate the configuration of the simulator with the abnormality and the simulators sequentially behind the simulator.
Optionally, as shown in fig. 4, the configuration unit 34 further includes:
a third generating module 345, configured to generate a stop batch file based on the configuration file of each of the peripheral devices, wherein the stop batch file is configured to stop configuration when any one of the simulators is abnormally configured;
a stopping module 346, configured to, if the simulators of the peripheral devices are configured according to the configuration order, cause an abnormal configuration of any of the simulators, and stop the configuration of the simulator that has caused the abnormal configuration;
and a second configuration module 347, configured to continue to configure the modelers sequentially located after the simulator with the exception according to the startup batch processing file.
Optionally, as shown in fig. 4, the apparatus further includes:
a deleting unit 35, configured to delete at least one simulator from the temporary speed limit server test system and generate a deletion record file when a deletion instruction for the at least one simulator is received after the configuring unit 34 configures the simulator of each peripheral device based on the configuration file of each peripheral device.
Optionally, as shown in fig. 4, the generating unit 33 includes:
an obtaining module 331, configured to obtain a configuration file template corresponding to each peripheral device;
the generating module 332 is configured to correspondingly write the device name, the device identifier, and the device IP of each peripheral device into each configuration file template, so as to generate a configuration file of each peripheral device.
Optionally, as shown in fig. 4, the obtaining unit 32 is configured to obtain a ground device information table and an IP address allocation table corresponding to a line where the temporary speed limit server is located, where the ground device information table records device names and device identifiers of peripheral devices related to the temporary speed limit server, and the IP address allocation table records device names and device IPs of peripheral devices related to the temporary speed limit server; acquiring the equipment name and the equipment identification of each peripheral equipment from the ground equipment information table; and acquiring the equipment IP of each peripheral equipment from the IP address allocation table based on the equipment name.
In the deployment apparatus of the temporary speed limit server test system provided in the embodiment of the present invention, for details of methods adopted in the operation process of each functional module, reference may be made to the corresponding methods in the embodiments of the methods in fig. 1 and fig. 2, and details are not described here again.
Further, according to the above embodiment, another embodiment of the present invention further provides a computer-readable storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus where the storage medium is located is controlled to execute the deployment method of the temporary speed limit server test system described in fig. 1 or fig. 2.
Further, according to the above embodiment, another embodiment of the present invention provides a storage management apparatus, including:
a memory for storing a program;
a processor, coupled to the memory, for executing the program to perform the deployment method of the temporary speed limit server test system described in fig. 1 or fig. 2.
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 are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to 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 herein again.
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 the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method, apparatus and framework for operation of a deep neural network model in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A deployment method of a temporary speed limit server test system is characterized by comprising the following steps:
determining peripheral equipment related to a temporary speed limit server, wherein the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server;
acquiring the equipment name, the equipment identifier and the equipment IP of each peripheral equipment;
generating a configuration file of each peripheral device based on the device name, the device identifier and the device IP of each peripheral device;
and configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
2. The method of claim 1, wherein configuring the simulator of each of the peripheral devices based on the configuration file of each of the peripheral devices comprises:
generating a startup batch file based on the configuration file of each peripheral device, wherein the startup batch file defines a configuration sequence of each peripheral device;
and starting the starting batch processing file, and configuring the simulators of the peripheral equipment according to the configuration sequence.
3. The method of claim 2, further comprising:
generating a stop batch processing file based on the configuration files of the peripheral equipment, wherein the stop batch processing file is used for stopping configuration when the configuration of any simulator is abnormal;
if the simulators of the peripheral devices are arranged according to the arrangement sequence, the arrangement of any simulator is abnormal, and the arrangement of the simulator with the abnormality and the simulators sequentially behind the simulator is stopped.
4. The method of claim 2, further comprising:
generating a stop batch processing file based on the configuration files of the peripheral equipment, wherein the stop batch processing file is used for stopping configuration when the configuration of any simulator is abnormal;
if the simulators of the peripheral equipment are configured according to the configuration sequence, the configuration of any simulator is abnormal, and the configuration of the simulator with the abnormality is stopped;
and continuously configuring the modelers sequentially behind the simulator with the exception according to the starting batch processing file.
5. The method of any of claims 1-4, wherein after configuring the simulator of each of the peripheral devices based on the configuration file of each of the peripheral devices, the method further comprises:
and if a deletion instruction aiming at least one simulator is received, deleting the at least one simulator from the temporary speed limiting server test system and generating a deletion record file.
6. The method according to any one of claims 1 to 4, wherein generating the configuration file of each of the peripheral devices based on the device name, the device identifier, and the device IP of each of the peripheral devices comprises:
acquiring a configuration file template corresponding to each peripheral device;
and correspondingly writing the equipment name, the equipment identification and the equipment IP of each peripheral equipment into each configuration file template to generate the configuration file of each peripheral equipment.
7. The method according to any one of claims 1 to 4, wherein obtaining the device name, the device identifier, and the device IP of each of the peripheral devices comprises:
acquiring a ground equipment information table and an IP address distribution table corresponding to a line where the temporary speed limit server is located, wherein the ground equipment information table records equipment names and equipment identifications of peripheral equipment related to the temporary speed limit server, and the IP address distribution table records equipment names and equipment IPs of the peripheral equipment related to the temporary speed limit server;
acquiring the equipment name and the equipment identification of each peripheral equipment from the ground equipment information table;
and acquiring the equipment IP of each peripheral equipment from the IP address allocation table based on the equipment name.
8. A deployment device of a temporary speed limit server test system is characterized by comprising:
the system comprises a determining unit, a processing unit and a control unit, wherein the determining unit is used for determining peripheral equipment related to a temporary speed limit server, and the peripheral equipment is equipment for issuing instructions to the temporary speed limit server and/or equipment for executing the instructions issued by the temporary speed limit server;
an obtaining unit, configured to obtain a device name, a device identifier, and a device IP of each peripheral device;
a generating unit, configured to generate a configuration file of each of the peripheral devices based on a device name, a device identifier, and a device IP of each of the peripheral devices;
and the configuration unit is used for configuring the simulator of each peripheral device based on the configuration file of each peripheral device, wherein the configured simulator of each peripheral device and the temporary speed limit server form a temporary speed limit server test system.
9. A computer-readable storage medium, wherein the storage medium includes a stored program, and wherein when the program runs, the apparatus on which the storage medium is located is controlled to execute the deployment method of the temporary speed limit server test system according to any one of claims 1 to 7.
10. A storage management apparatus, characterized in that the storage management apparatus comprises:
a memory for storing a program;
a processor, coupled to the memory, for executing the program to perform the deployment method of the temporary speed limit server testing system of any one of claims 1 to 7.
CN202110092689.5A 2021-01-25 2021-01-25 Deployment method and device of temporary speed limiting server test system Pending CN112463510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110092689.5A CN112463510A (en) 2021-01-25 2021-01-25 Deployment method and device of temporary speed limiting server test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110092689.5A CN112463510A (en) 2021-01-25 2021-01-25 Deployment method and device of temporary speed limiting server test system

Publications (1)

Publication Number Publication Date
CN112463510A true CN112463510A (en) 2021-03-09

Family

ID=74802324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110092689.5A Pending CN112463510A (en) 2021-01-25 2021-01-25 Deployment method and device of temporary speed limiting server test system

Country Status (1)

Country Link
CN (1) CN112463510A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438134A (en) * 2021-06-30 2021-09-24 未鲲(上海)科技服务有限公司 Request message processing method, device, server and medium
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
CN113641592A (en) * 2021-10-15 2021-11-12 卡斯柯信号(北京)有限公司 Test sequence generation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649073A (en) * 2015-10-28 2017-05-10 中国移动通信集团公司 Test method and device based on dynamic script template
US20180260309A1 (en) * 2017-03-11 2018-09-13 Wipro Limited Method and system for semantic test suite reduction
CN111026089A (en) * 2019-12-25 2020-04-17 卡斯柯信号(北京)有限公司 Automatic deployment method and device for train control center test environment
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649073A (en) * 2015-10-28 2017-05-10 中国移动通信集团公司 Test method and device based on dynamic script template
US20180260309A1 (en) * 2017-03-11 2018-09-13 Wipro Limited Method and system for semantic test suite reduction
CN111026089A (en) * 2019-12-25 2020-04-17 卡斯柯信号(北京)有限公司 Automatic deployment method and device for train control center test environment
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438134A (en) * 2021-06-30 2021-09-24 未鲲(上海)科技服务有限公司 Request message processing method, device, server and medium
CN113438134B (en) * 2021-06-30 2023-03-31 未鲲(上海)科技服务有限公司 Request message processing method, device, server and medium
CN113485881A (en) * 2021-07-13 2021-10-08 北京全路通信信号研究设计院集团有限公司 Testing method and device of temporary speed limiting server, electronic equipment and medium
CN113485881B (en) * 2021-07-13 2024-04-26 北京全路通信信号研究设计院集团有限公司 Test method and device of temporary speed limiting server, electronic equipment and medium
CN113641592A (en) * 2021-10-15 2021-11-12 卡斯柯信号(北京)有限公司 Test sequence generation method and device

Similar Documents

Publication Publication Date Title
CN112463510A (en) Deployment method and device of temporary speed limiting server test system
CN106940428B (en) Chip verification method, device and system
CN105573902B (en) The test method and system of a kind of application program
CN105074671B (en) For detecting the method and system of concurrency programming mistake in kernel module and device driver
US8606538B2 (en) Method of testing an electronic system
CN104360951B (en) A kind of script method of testing and device
CN105787364B (en) Automatic testing method, device and system for tasks
US11086752B2 (en) Methods, systems, and computer readable media for vendor-neutral testing and scoring of systems under test
US9626263B2 (en) Testing a control unit by means of a test environment
CN104216746B (en) Monitor in real time and method of calibration of a kind of on-board equipment DSP programs ground in line writing
CN108228407A (en) Apparatus function test method, apparatus and readable storage medium storing program for executing
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
CN105892383A (en) Nuclear power plant alarm simulation and diagnostic system and method
CN110990289B (en) Method and device for automatically submitting bug, electronic equipment and storage medium
US9274933B2 (en) Pretest setup planning
CN113676368B (en) Method and device applied to ATS network performance test
CN114281675A (en) Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment
CN105096104A (en) Form operation authority control method, apparatus and office automation system
CN108009086B (en) System automation test method based on case decomposition and function learning
CN112199273A (en) Virtual machine pressure/performance testing method and system
CN109861874B (en) Automatic test system of equipment
KR101933533B1 (en) Method for virtualizing smart factory
CN109947642A (en) Automated hierarchical test method based on case classification, apparatus and system
CN114328126A (en) Automatic testing method and device, storage medium and electronic equipment
CN105389253A (en) Method and system for simulating client to execute network element management based on multithreading technology

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309

RJ01 Rejection of invention patent application after publication