CN114281675A - Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment - Google Patents

Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment Download PDF

Info

Publication number
CN114281675A
CN114281675A CN202111415979.5A CN202111415979A CN114281675A CN 114281675 A CN114281675 A CN 114281675A CN 202111415979 A CN202111415979 A CN 202111415979A CN 114281675 A CN114281675 A CN 114281675A
Authority
CN
China
Prior art keywords
test environment
test
target
data
cloud platform
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
CN202111415979.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.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co 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 CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202111415979.5A priority Critical patent/CN114281675A/en
Publication of CN114281675A publication Critical patent/CN114281675A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a test environment configuration method and device of a CBTC (communication based train control) system and electronic equipment, wherein the test environment configuration method of the CBTC system comprises the following steps: the method comprises the steps of obtaining a test requirement of a CBTC system, and obtaining a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement; extracting target test environment data from a target database based on a test environment requirement list; under the condition that the target test environment data are confirmed, sending the target test environment data to a cloud platform, wherein the target test environment data are used for creating a service virtual machine; the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system. The test environment configuration method of the CBTC system provided by the invention can overcome the defect of low efficiency of setting up the test environment in the prior art, improve the efficiency of setting up the test environment and reduce the error rate of setting up the test environment.

Description

Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment
Technical Field
The present invention relates to the field of test technologies, and in particular, to a test environment configuration method and apparatus for a CBTC system, and an electronic device.
Background
When a Communication Based Train Control System (CBTC) System is tested in a laboratory by using a cloud platform, a person is generally required to manually set up a test environment on the cloud platform, including setting up a virtual line, a trackside device, a vehicle and a signal device for deploying the CBTC System, and the set-up test environment is used for testing the CBTC System.
At present, the test environment configuration of a cloud platform is complex, a tester is required to collect various forms and arrange the forms, and then the environment is set up through frequent manual operation, so that the efficiency is low, and the set-up environment is prone to being problematic.
Disclosure of Invention
The invention provides a test environment configuration method and device of a CBTC (communication based train control) system and electronic equipment, which are used for solving the defect of low efficiency of setting up a test environment in the prior art, improving the efficiency of setting up the test environment and reducing the error rate of setting up the test environment.
The invention provides a test environment configuration method of a CBTC (communication based train control) system, which comprises the following steps:
the method comprises the steps of obtaining a test requirement of a CBTC system, and obtaining a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement;
extracting target test environment data from a target database based on the test environment requirement list;
under the condition that the target test environment data are confirmed, sending the target test environment data to the cloud platform, wherein the target test environment data are used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
The test environment configuration method of the CBTC system further comprises the following steps:
and after the CBTC finishes testing, storing the target testing environment data in the cloud platform.
The test environment configuration method of the CBTC system further comprises the following steps:
and under the condition that the target test environment data are stored in the cloud platform based on the test requirement, acquiring the target test environment data from the cloud platform.
The test environment configuration method of the CBTC system further comprises the following steps:
acquiring a data demand list of an auxiliary virtual machine;
sending the data demand list of the auxiliary virtual machine to the cloud platform so as to construct the auxiliary virtual machine based on the data demand list of the auxiliary virtual machine in the cloud platform;
the auxiliary virtual machine is used for collecting data in the CBTC system testing process.
According to the test environment configuration method of the CBTC system, the test environment requirement list comprises a display network IP occupation table corresponding to the cloud platform;
the test environment configuration method of the CBTC system further comprises the following steps:
displaying the target test environment data to request personnel to confirm the target test environment data;
and updating the display network IP occupation table based on the target test environment data under the condition that the target test environment data is confirmed.
The test environment configuration method of the CBTC system further comprises the following steps:
and after the target test environment data is sent to the cloud platform, controlling a monitoring device of an area where the CBTC system is located, and monitoring the test process of the CBTC system.
The invention also provides a test environment configuration device of the CBTC system, which comprises:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the test requirements of the CBTC system and acquiring a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirements;
the second acquisition module is used for extracting target test environment data from a target database based on the test environment demand list;
the first sending module is used for sending the target test environment data to the cloud platform under the condition that the target test environment data is confirmed, wherein the target test environment data is used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the test environment configuration method of the CBTC system.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the test environment configuration method of a CBTC system as described in any of the above.
The present invention also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the test environment configuration method for a CBTC system as described in any one of the above.
According to the test environment configuration method and device for the CBTC system and the electronic equipment, after the test requirements are obtained, the test environment requirement list is obtained based on the test requirements, the target test environment data is further extracted, and the whole process of obtaining the target test environment data is automatic. After the target test environment data are confirmed, the data are sent to the service virtual machine, the test environment is deployed in a full-automatic mode, manual operation is not needed for deploying the test environment step by step, the defect that efficiency of building the test environment is low in the prior art can be overcome, efficiency of building the test environment is improved, and error rate of building the test environment is reduced.
In addition, the service virtual machine can be used for realizing the test of a plurality of trains and the simultaneous test of a plurality of centralized stations. One project can simultaneously carry out test work in a multi-thread mode, and test efficiency is improved.
And moreover, the test environment is deployed on the service virtual machine, so that the dependence on hardware resources can be reduced, the service expansion is facilitated, and the cost is saved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a test environment configuration method of a CBTC system according to the present invention;
FIG. 2 is a schematic diagram of a test management system provided by the present invention;
FIG. 3 is a schematic diagram of the connection of objects to be tested in the test management system provided by the present invention;
FIG. 4 is a second flowchart of a test environment configuration method of the CBTC system according to the present invention;
FIG. 5 is a schematic structural diagram of a test environment configuration apparatus of a CBTC system provided in the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Reference numerals:
2100: a cloud platform; 2110: a storage module; 2120: a service module;
2130: a management module; 2140: a core switch; 2201: a first terminal;
2202: a second terminal; 2203: a display network switch; 2204: a third terminal;
2205: WIFI; 2206: an office network switch; 2207: a cloud platform external network;
2208: a border switch; 2209: a border firewall; 2210: a security net switch;
2211: a non-security network switch; 2212: a wireless network switch;
2213: a computer interlock system; 2214: a zone controller;
2215: an automatic train monitoring system; 2216: an automatic train protection system;
311: an interlocking simulation platform; 312: simulating a host/driver's cab; 313: a vehicle-mounted simulation platform;
314: a simulation network switch; 500: a test environment configuration device;
510: a first acquisition module; 520: a second acquisition module; 530: a first sending module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes a CBTC System (Communication Based Train Control System) testing method, apparatus, electronic device and storage medium according to the present invention with reference to fig. 1 to 6.
As shown in fig. 1, the test environment configuration method of the CBTC system provided by the present invention may be used for a terminal, and the test environment configuration method of the CBTC system includes:
and 110, acquiring a test requirement of the CBTC system, and acquiring a test environment requirement list under the condition that the cloud platform is determined not to store the target test environment data based on the test requirement.
It is understood that a tester may log in an Office Automation (OA) system on a management terminal and transmit a test requirement on the OA system to apply for test environment data. When applying for the test environment data, the tester can automatically trigger the test environment configuration program, and further inquire the test environment requirement list with a fixed format.
The test environment requirement list comprises configuration requirements for the core number, the memory, the hard disk, the network card and the network of the virtual machine, and the management of the computing and storage resource pool is realized through an environment configuration program.
Step 120, extracting target test environment data from the target database based on the test environment requirement list.
It can be understood that the target database stores various data corresponding to the test environment, and the specific data corresponding to the data is queried from the target database based on the requirements of the virtual machine core number, the memory, the hard disk, the network card and the network in the test environment requirement list, and the queried data is also the target test environment data. Based on the inquired data, the construction of target test environment data can be realized, and the software and hardware environment required during testing can be obtained.
And step 130, under the condition that the target test environment data is confirmed, sending the target test environment data to the cloud platform, wherein the target test environment data is used for creating the service virtual machine.
The service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system, and therefore the CBTC system can be tested after the configuration of the service virtual machine is completed. The CBTC system is located in the cloud platform.
It should be noted that the service virtual machine is used for simulating a train operation environment and generating train system equipment, and before the train operation environment is simulated, a test environment of the service virtual machine needs to be configured. And sending the target test environment data to the cloud platform, finishing the test environment configuration of the service virtual machine after the target test environment data is used for creating the service virtual machine, simulating the train operation environment through the service virtual machine and generating train system equipment.
A tester can remotely log in a service virtual machine of the cloud platform through a local wired terminal or a wireless terminal to carry out system test work.
The train operation environment can include train lines, trackside equipment, trains and the like.
It can be understood that, after the target test environment data that is automatically generated needs to be fed back to the tester for confirmation, the test environment of the service virtual machine is configured or restored through an Application Programming Interface (API) that is open in the cloud platform, and the test environment of the CBTC system can also be configured or restored through a network of the cloud platform.
The CBTC system includes a computer interlock system 2213, a zone controller 2214, an automatic train monitoring system 2215, and an automatic train protection system 2216 shown in fig. 2.
In some embodiments, the test environment configuration method of the CBTC system provided by the present invention is applied to the test management system shown in fig. 2, in which the cloud platform 2100 includes a storage module 2110, a service module 2120, a management module 2130, and a core switch 2140.
The storage module 2110 is used for storing data output by the service module 2120. A service virtual machine is set in the service module 2120.
The management module 2130 is configured to receive external target test environment data through the core switch 2140, and generate and manage a service virtual machine in the service module 2120 based on the target test environment data.
The first terminal 2201 may be a local wired terminal that accesses the cloud platform external network 2207 through the display network switch 2203. The third terminal 2204 may be a local wireless terminal that accesses the office network switch 2206 through WIFI 2205 and the cloud platform external network 2207 through the office network switch 2206.
The second terminal 2202 may be a management terminal on which an environment configuration program, an environment retention program, and an auxiliary test program are provided, and the test requirements of the CBTC system may be acquired through the second terminal 2202, and the environment configuration program may be started. The environment configuration program can realize the function of issuing the service virtual machines and the auxiliary virtual machines in batches according to the project test requirements, and the environment construction is more efficient and convenient.
The environment retention program can package and store the environment during testing, completely restore the original testing environment when needed, and avoid repeatedly building the environment.
The auxiliary test program is convenient for the tester to check the lamp position state of the original hardware equipment and quickly inquire the equipment fault. Meanwhile, the video recording function can be pertinently started for part of virtual machines, and the operation process can be restored when necessary.
The second terminal 2202 accesses the cloud platform external network 2207 through the display network switch 2203. The cloud platform external network 2207 is connected to a computer interlock system 2213, a zone controller 2214, an automatic train monitoring system 2215, and an automatic train protection system 2216 through a security net switch 2210, a non-security net switch 2211, and a wireless net switch 2212.
The cloud platform external network 2207 accesses the cloud platform 2100 through a border switch 2208 and a border firewall 2209.
As shown in fig. 3, the computer interlocking system 2213 is also communicatively connected to the interlocking simulation platform 311 and the train automatic protection system 2216 is also communicatively connected to the simulation network switch 314. The computer interlocking system 2213, the zone controller 2214, the train automatic monitoring system 2215 and the train automatic protection system 2216 shown in fig. 3 are all objects to be tested.
In some embodiments, the test environment configuration method of the CBTC system further includes:
and after the CBTC finishes testing, storing the target testing environment data in the cloud platform.
It can be understood that after the test is finished, the target test environment data can be stored through the environment retention program, and the target test environment data is convenient to use when the test is carried out again. Further, the target test environment data is stored in a resource pool of the cloud platform.
In some embodiments, the test environment configuration method of the CBTC system further includes:
and under the condition that the target test environment data are determined to be stored in the cloud platform based on the test requirements, acquiring the target test environment data from the cloud platform.
It should be noted that when a tester puts forward a test requirement and applies for a test environment, if a target test environment already exists, an environment configuration program is directly called to issue target test environment data, so as to perform resource and network configuration.
In some embodiments, the test environment configuration method of the CBTC system further includes:
acquiring a data demand list of an auxiliary virtual machine;
sending the data demand list of the auxiliary virtual machine to the cloud platform so as to construct the auxiliary virtual machine based on the data demand list of the auxiliary virtual machine in the cloud platform;
the auxiliary virtual machine is used for collecting data in the CBTC system test process.
It can be understood that the data requirement list of the auxiliary virtual machine is a requirement list of the intermediate device for collecting required data in the test process. The auxiliary virtual machine is constructed, so that a tester can catch a packet to find problems in the test process, and the communication problems among subsystems can be judged in an auxiliary mode.
In some embodiments, a test environment requirements manifest, comprising: project data files, hardware data lists, service network planning tables and display network IP (Internet Protocol Address) occupation tables in the cloud platform;
the data requirement list of the auxiliary virtual machine comprises: and displaying the network IP occupation table, the auxiliary test equipment requirement table and the configuration list changed by the tester in the cloud platform.
It can be understood that the data requirement list of the auxiliary virtual machine is the data list for building the auxiliary virtual machine. Project data files, hardware configuration lists, network planning tables, display network IP occupation tables in the cloud platform and auxiliary test equipment requirement tables are all in standardized file formats.
The project data file comprises line data such as project names, centralized station numbers and the like; the hardware configuration list comprises data such as service virtual machine memory, hard disk and capacity required by testing; the network planning table contains service communication IP of the virtual machine required by the test; the display network IP occupation table in the cloud platform is used for a local terminal to remotely log in a virtual machine in the cloud platform through a display network, and the table can automatically carry out corresponding changes after a trigger environment is built.
Further, the test environment requirement list comprises a display network IP occupation table corresponding to the cloud platform.
The test environment configuration method of the CBTC system further comprises the following steps:
displaying the target test environment data to request personnel to confirm the target test environment data;
and under the condition that the target test environment data is confirmed, updating the display network IP occupation table based on the target test environment data.
It is understood that the requesting person confirms the target test environment data, and thus errors of the target test environment data can be prevented.
In some embodiments, the test environment configuration method of the CBTC system further includes:
and after the target test environment data is sent to the cloud platform, controlling a monitoring device of the area where the CBTC system is located, and monitoring the test process of the CBTC system.
It can be understood that the monitoring device may be a video capture device disposed in an area where the CBTC system is located, and may monitor a light level of the CBTC system to monitor a test process of the CBTC system.
In consideration of the high efficiency of laboratory management and the convenience of operation of technicians, the CBTC system is connected with the monitoring device, the CBTC system is located outside the cloud platform, and video monitoring information collected by the monitoring device can be synchronized to the management equipment terminal.
The monitoring device can also monitor the test operation of a technician on the CBTC system, and the operation steps of the personnel watching the video monitoring information record can assist in judging the reason of the test fault, avoid the test problem caused by misoperation, and remotely check the lamp position state of the CBTC system when the environment is in use, thereby judging the condition of the CBTC system.
In other embodiments, the test environment configuration method of the CBTC system is as shown in fig. 4, after the tester puts forward the test requirement on the OA system, the environment configuration program captures the content of the test requirement, and meanwhile, the environment configuration program is docked with the environment reservation program to query whether the target test environment data corresponding to the test requirement exists, and if the existing target test environment data exists, the target test environment data is directly read, that is, the configuration file corresponding to the target test environment is fed back to the tester.
And if the target test environment data is newly established, inquiring project data files, a hardware configuration list, a network planning table, a display network IP occupation table in the cloud platform and an auxiliary test equipment requirement table to obtain test environment data required by relevant tests.
And after a corresponding test environment requirement list of the test terminal in the cloud platform is formed, feeding the test environment requirement list back to a tester for confirmation, wherein if the test environment requirement list needs to be modified, the tester can directly change the test environment requirement list, or the test environment requirement list is regenerated after an initial requirement document is changed, and if the test environment requirement list is confirmed to be correct, the program is in butt joint with the cloud platform, so that the building of the test environment of the test terminal in the cloud platform is completed.
The test configuration program can analyze different network segment communication and add router equipment in the cloud platform, so that the establishment of the network between the service virtual machines in the cloud platform is completed. The auxiliary test equipment requirement table comprises hardware and network configuration of equipment needing to install Wireshark for packet capturing.
When the test service virtual machine and the network are built, the program can automatically analyze whether a packet capturing service is needed among subsystems, and if a packet capturing analysis tool is needed, the building of the corresponding auxiliary test virtual machine is completed by reading an auxiliary test equipment requirement table and combining a service network planning table.
The environment retention program can completely record and store the arranged test environment, compress the test environment and then store the test environment, and can completely restore the original test environment when needed.
In summary, the test environment configuration method of the CBTC system according to the present invention obtains the test requirements, then obtains the test environment requirement list based on the test requirements, further extracts the target test environment data, and the whole process of obtaining the target test environment data is automatic. After the target test environment data are confirmed, the data are sent to the service virtual machine, the test environment is deployed in a full-automatic mode, manual operation is not needed for deploying the test environment step by step, the defect that efficiency of building the test environment is low in the prior art can be overcome, efficiency of building the test environment is improved, and error rate of building the test environment is reduced.
The test of a plurality of trains and the simultaneous test of a plurality of centralized stations can be realized by utilizing the service virtual machine. One project can simultaneously carry out test work in a multi-thread mode, and test efficiency is improved.
And moreover, the test environment is deployed on the service virtual machine, so that the dependence on hardware resources can be reduced, the service expansion is facilitated, and the cost is saved.
Furthermore, the test environment can realize automatic quick construction and restoration, the operation of technical personnel is convenient, and a machine room is not required to be used for carrying out cable arrangement work and checking equipment conditions.
The test environment configuration apparatus of the CBTC system provided in the present invention is described below, and the test environment configuration apparatus of the CBTC system described below and the test environment configuration method of the CBTC system described above may be referred to correspondingly.
As shown in fig. 5, the test environment configuration apparatus 500 of the CBTC system provided by the present invention includes: a first acquisition module 510, a second acquisition module 520, and a first sending module 530.
The first obtaining module 510 is configured to obtain a test requirement of the CBTC system, and obtain a test environment requirement list when it is determined that the target test environment data is not stored in the cloud platform based on the test requirement.
The second obtaining module 520 is configured to extract target testing environment data from the target database based on the testing environment requirement list.
The first sending module 530 is configured to send the target testing environment data to the cloud platform when the target testing environment data is confirmed, where the target testing environment data is used to create the service virtual machine.
The service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
In some embodiments, the test environment configuration apparatus 500 of the CBTC system further includes: and a storage module.
The storage module is used for storing the target test environment data in the cloud platform after the CBTC system completes the test. Further, the target test environment data is stored in a resource pool of the cloud platform.
In some embodiments, the test environment configuration apparatus 500 of the CBTC system further includes: and a third obtaining module.
The third obtaining module is used for obtaining the target test environment data from the cloud platform under the condition that the target test environment data are determined to be stored in the cloud platform based on the test requirements.
In some embodiments, the test environment configuration apparatus 500 of the CBTC system further includes: the device comprises a fourth acquisition module, a construction module and a second sending module.
The fourth acquisition module is used for acquiring a data demand list of the auxiliary virtual machine.
The second sending module is used for sending the data demand list of the auxiliary virtual machine to the cloud platform so as to construct the auxiliary virtual machine based on the data demand list of the auxiliary virtual machine in the cloud platform.
The auxiliary virtual machine is used for collecting data in the CBTC system test process.
In some embodiments, a test environment requirements manifest, comprising: the system comprises a project data file, a hardware data list, a service network planning table and a display network IP occupation table in a cloud platform;
a data requirements manifest for a secondary virtual machine, comprising: and displaying the network IP occupation table, the auxiliary test equipment requirement table and the configuration list changed by the tester in the cloud platform.
In some embodiments, the test environment requirement list comprises a display network IP occupation table corresponding to the cloud platform; the test environment configuration apparatus 500 of the CBTC system further includes: the device comprises a prompt module and an update module.
The prompting module is used for displaying the target testing environment data so as to request personnel to confirm the target testing environment data.
And the updating module is used for updating the display network IP occupation table based on the target test environment data under the condition that the target test environment data is confirmed.
The test environment configuration apparatus 500 of the CBTC system further includes: and a monitoring module.
The monitoring module is used for controlling a monitoring device of an area where the CBTC system is located after the target test environment data are sent to the cloud platform, and monitoring the test process of the CBTC system.
The electronic device, the computer program product and the storage medium apparatus provided by the present invention are described below, and the electronic device, the computer program product and the storage medium apparatus described below and the test environment configuration method of the CBTC system described above may be referred to in correspondence with each other.
Fig. 6 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 6: a processor (processor)610, a communication Interface (Communications Interface)620, a memory (memory)630 and a communication bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform a test environment configuration method of the CBTC system, the method comprising:
step 110, acquiring a test requirement of the CBTC system, and acquiring a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement;
step 120, extracting target test environment data from a target database based on the test environment requirement list;
step 130, under the condition that the target test environment data is confirmed, sending the target test environment data to a cloud platform, wherein the target test environment data is used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is capable of executing the test environment configuration method of the CBTC system provided by the above methods, the method including:
step 110, acquiring a test requirement of the CBTC system, and acquiring a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement;
step 120, extracting target test environment data from a target database based on the test environment requirement list;
step 130, under the condition that the target test environment data is confirmed, sending the target test environment data to a cloud platform, wherein the target test environment data is used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a test environment configuration method for a CBTC system provided by the above methods, the method comprising:
step 110, acquiring a test requirement of the CBTC system, and acquiring a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement;
step 120, extracting target test environment data from a target database based on the test environment requirement list;
step 130, under the condition that the target test environment data is confirmed, sending the target test environment data to a cloud platform, wherein the target test environment data is used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A test environment configuration method of a CBTC system is characterized by comprising the following steps:
the method comprises the steps of obtaining a test requirement of a CBTC system, and obtaining a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirement;
extracting target test environment data from a target database based on the test environment requirement list;
under the condition that the target test environment data are confirmed, sending the target test environment data to the cloud platform, wherein the target test environment data are used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
2. The method for configuring the test environment of the CBTC system according to claim 1, further comprising:
and after the CBTC finishes testing, storing the target testing environment data in the cloud platform.
3. The method for configuring the test environment of the CBTC system according to claim 2, further comprising:
and under the condition that the target test environment data are stored in the cloud platform based on the test requirement, acquiring the target test environment data from the cloud platform.
4. The method for configuring the test environment of the CBTC system according to any one of claim 1, further comprising:
acquiring a data demand list of an auxiliary virtual machine;
sending the data demand list of the auxiliary virtual machine to the cloud platform so as to construct the auxiliary virtual machine based on the data demand list of the auxiliary virtual machine in the cloud platform;
the auxiliary virtual machine is used for collecting data in the CBTC system testing process.
5. The method of claim 1, wherein the test environment requirement list comprises a display network IP occupancy table corresponding to the cloud platform;
the test environment configuration method of the CBTC system further comprises the following steps:
displaying the target test environment data to request personnel to confirm the target test environment data;
and updating the display network IP occupation table based on the target test environment data under the condition that the target test environment data is confirmed.
6. The method for configuring the test environment of the CBTC system according to any one of claims 1 to 5, further comprising:
and after the target test environment data is sent to the cloud platform, controlling a monitoring device of an area where the CBTC system is located, and monitoring the test process of the CBTC system.
7. A test environment configuration device of a CBTC system is characterized by comprising the following components:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the test requirements of the CBTC system and acquiring a test environment requirement list under the condition that the cloud platform does not store target test environment data based on the test requirements;
the second acquisition module is used for extracting target test environment data from a target database based on the test environment demand list;
the first sending module is used for sending the target test environment data to the cloud platform under the condition that the target test environment data is confirmed, wherein the target test environment data is used for creating a service virtual machine;
the service virtual machine is used for simulating a train operation environment and generating train system equipment so as to test the CBTC system.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the test environment configuration method of the CBTC system according to any of claims 1 to 6 are implemented when the program is executed by the processor.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the test environment configuration method of the CBTC system according to any of the claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, performs the steps of a test environment configuration method for a CBTC system according to any of claims 1 to 6.
CN202111415979.5A 2021-11-25 2021-11-25 Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment Pending CN114281675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111415979.5A CN114281675A (en) 2021-11-25 2021-11-25 Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111415979.5A CN114281675A (en) 2021-11-25 2021-11-25 Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment

Publications (1)

Publication Number Publication Date
CN114281675A true CN114281675A (en) 2022-04-05

Family

ID=80870550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111415979.5A Pending CN114281675A (en) 2021-11-25 2021-11-25 Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment

Country Status (1)

Country Link
CN (1) CN114281675A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114595106A (en) * 2022-05-10 2022-06-07 景网技术有限公司 Service control equipment debugging method and device
CN115002151A (en) * 2022-05-07 2022-09-02 通号城市轨道交通技术有限公司 Method and device for building test system of automatic train monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002151A (en) * 2022-05-07 2022-09-02 通号城市轨道交通技术有限公司 Method and device for building test system of automatic train monitoring system
CN114595106A (en) * 2022-05-10 2022-06-07 景网技术有限公司 Service control equipment debugging method and device

Similar Documents

Publication Publication Date Title
CN105722081B (en) Intelligent equipment networking method and device
CN114281675A (en) Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment
CN109654666B (en) Method, device and equipment for debugging unit
CN102023922A (en) System and method for testing automotive electronic diagnostic software
CN109634258A (en) It is a kind of for the bus message method of calibration of hardware-in―the-loop test, apparatus and system
CN111176910A (en) System function testing method and device
CN103475526A (en) IP setting and detecting method supporting multi-VLAN virtual machine
CN109656820A (en) Intelligent automation test macro based on CBTC
CN115080299B (en) Software fault feedback processing method, device, medium and equipment
CN112463510A (en) Deployment method and device of temporary speed limiting server test system
CN101594267A (en) Diagnosing gateway failures method and device
CN109379585B (en) HDMI compatibility testing device and method
CN112105025B (en) eSIM-based operator network test system and method
CN110198222B (en) Plug-and-play test method and test master station for power distribution automation terminal
CN109031005B (en) Distributed relay protection device testing method and relay protection tester
JP2014035595A (en) Testing device for communication system, testing program for communication system, and testing method for communication system
CN101551769B (en) Agglomeration method and device of configurable firmware
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN115118577B (en) Remote upgrade abnormality cause determination method, device, electronic equipment and storage medium
CN114490746B (en) Equipment testing method and device, equipment to be tested and storage medium
CN116298574A (en) On-site self-service acceptance device, system and method for power distribution automation terminal
CN110798372B (en) Data testing method and device
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN113886274A (en) Stability testing method, device, equipment and storage medium for Internet of vehicles terminal
CN115878448A (en) Database test method, distributed database and storage medium

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