CBTC system test environment configuration methods, devices, and electronic equipment
By automating the acquisition and deployment of test environment data for the CBTC system, the problem of low efficiency in existing technologies is solved, achieving efficient and low-error-rate test environment configuration, supporting multi-threaded testing and saving hardware resources.
Patent Information
- Application Number
- CN202111415979.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-25
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2041-11-25
AI Technical Summary
The existing CBTC system test environment configuration on the cloud platform is inefficient and error-prone, requiring frequent manual operations, which makes the setup complex and inconvenient.
By acquiring test requirements, the system automatically obtains a list of test environment requirements and extracts target test environment data from the target database. This data is then sent to the cloud platform to create business virtual machines, achieving fully automated test environment deployment and reducing manual operations.
It improves the efficiency of test environment setup, reduces the error rate, and supports simultaneous testing of multiple trains and multiple centralized stations, reducing reliance on hardware resources and saving costs.
Smart Images

Figure CN114281675B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of testing technology, and in particular to a method, apparatus, and electronic device for configuring a testing environment for a CBTC system. Background Technology
[0002] When testing a CBTC (Communication Based Train Control System) system in a laboratory using a cloud platform, personnel typically need to manually build a test environment on the cloud platform. This includes setting up virtual tracks, trackside equipment, vehicles, and signaling equipment for deploying the CBTC system. The CBTC system is then tested using this built test environment.
[0003] Currently, configuring the testing environment for cloud platforms is quite complex. Testers need to collect and organize various forms and then manually operate frequently to build the environment, which is inefficient and can easily lead to problems with the built environment. Summary of the Invention
[0004] This invention provides a method, apparatus, and electronic device for configuring a test environment for a CBTC system, which addresses the shortcomings of low efficiency in setting up test environments in existing technologies, improves the efficiency of setting up test environments, and reduces the error rate of setting up test environments.
[0005] This invention provides a method for configuring a test environment for a CBTC system, comprising:
[0006] Obtain the testing requirements of the CBTC system, and if it is determined that the cloud platform does not store the target test environment data based on the testing requirements, obtain a list of test environment requirements;
[0007] Based on the test environment requirements list, extract the target test environment data from the target database;
[0008] Once the target test environment data is confirmed, the target test environment data is sent to the cloud platform, and the target test environment data is used to create a business virtual machine;
[0009] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0010] The test environment configuration method for the CBTC system provided by the present invention further includes:
[0011] After the CBTC system completes the test, the target test environment data is stored on the cloud platform.
[0012] The test environment configuration method for the CBTC system provided by the present invention further includes:
[0013] If, based on the test requirements, it is determined that the target test environment data is stored in the cloud platform, the target test environment data is obtained from the cloud platform.
[0014] The test environment configuration method for the CBTC system provided by the present invention further includes:
[0015] Obtain the data requirements list for the auxiliary virtual machine;
[0016] The data requirement list of the auxiliary virtual machine is sent to the cloud platform so that the auxiliary virtual machine can be constructed within the cloud platform based on the data requirement list of the auxiliary virtual machine;
[0017] The auxiliary virtual machine is used to collect data during the testing process of the CBTC system.
[0018] According to the test environment configuration method of the CBTC system provided by the present invention, the test environment requirement list includes the display network IP occupancy table corresponding to the cloud platform;
[0019] The method for configuring the test environment of the CBTC system also includes:
[0020] The target test environment data is displayed to request personnel to confirm the target test environment data;
[0021] Once the target test environment data is confirmed, the display network IP occupancy table is updated based on the target test environment data.
[0022] The test environment configuration method for the CBTC system provided by the present invention further includes:
[0023] After sending the target test environment data to the cloud platform, the monitoring device in the area where the CBTC system is located is controlled to monitor the testing process of the CBTC system.
[0024] The present invention also provides a test environment configuration device for a CBTC system, comprising:
[0025] The first acquisition module is used to acquire the test requirements of the CBTC system, and, if it is determined based on the test requirements that the cloud platform does not store the target test environment data, acquire the test environment requirement list.
[0026] The second acquisition module is used to extract target test environment data from the target database based on the test environment requirement list;
[0027] The first sending module is used to send the target test environment data to the cloud platform when the target test environment data is confirmed, and the target test environment data is used to create a business virtual machine;
[0028] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0029] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the test environment configuration method of any of the CBTC systems described above.
[0030] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the test environment configuration method for any of the CBTC systems described above.
[0031] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the test environment configuration method for any of the CBTC systems described above.
[0032] The CBTC system test environment configuration method, apparatus, and electronic device provided by this invention automatically obtains the test environment requirement list after acquiring the test requirements, and further extracts the target test environment data. After the target test environment data is confirmed, it is sent to the business virtual machine, achieving fully automated test environment deployment without requiring manual step-by-step deployment. This solves the problem of low efficiency in test environment setup in existing technologies, improves the efficiency of test environment setup, and reduces the error rate.
[0033] Furthermore, business virtual machines can be used to test multiple trains and simultaneously test multiple centralized stations. A single project can perform testing work in multiple threads at the same time, improving testing efficiency.
[0034] Furthermore, deploying the test environment on the business virtual machine can reduce the dependence on hardware resources, which is beneficial for business expansion and cost savings. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0036] Figure 1 This is one of the flowcharts illustrating the test environment configuration method for the CBTC system provided by this invention;
[0037] Figure 2 This is a schematic diagram of the test management system provided by the present invention;
[0038] Figure 3 This is a schematic diagram of the connection of the object to be tested in the test management system provided by the present invention;
[0039] Figure 4 This is the second flowchart illustrating the test environment configuration method for the CBTC system provided by this invention.
[0040] Figure 5 This is a schematic diagram of the structure of the test environment configuration device for the CBTC system provided by the present invention;
[0041] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention.
[0042] Figure label:
[0043] 2100: Cloud platform; 2110: Storage module; 2120: Business module;
[0044] 2130: Management module; 2140: Core switch; 2201: First terminal;
[0045] 2202: Second terminal; 2203: Display network switch; 2204: Third terminal;
[0046] 2205: WIFI; 2206: Office network switch; 2207: External network for cloud platform;
[0047] 2208: Border switch; 2209: Border firewall; 2210: Security network switch;
[0048] 2211: Non-secure network switch; 2212: Wireless network switch;
[0049] 2213: Computer interlocking system; 2214: Area controller;
[0050] 2215: Automatic Train Monitoring System; 2216: Automatic Train Protection System;
[0051] 311: Interlocking simulation platform; 312: Simulation host / driver's cab; 313: Vehicle-mounted simulation platform;
[0052] 314: Simulated network switch; 500: Test environment configuration device;
[0053] 510: First acquisition module; 520: Second acquisition module; 530: First transmission module. Detailed Implementation
[0054] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0055] The following is combined Figures 1-6 This invention describes the testing method, apparatus, electronic equipment, and storage medium for the CBTC (Communication Based Train Control System).
[0056] like Figure 1 As shown, the CBTC system test environment configuration method provided by this invention can be used on a terminal. The CBTC system test environment configuration method includes:
[0057] Step 110: Obtain the test requirements of the CBTC system. If it is determined that the cloud platform does not store the target test environment data based on the test requirements, obtain the test environment requirement list.
[0058] Understandably, testers can log into the OA (Office Automation) system on the management terminal and submit test requests through the OA system to request test environment data. When requesting test environment data, testers can automatically trigger the test environment configuration program, which will then retrieve a test environment requirement list in a fixed format.
[0059] The test environment requirements list includes configuration requirements for the number of virtual machine cores, memory, hard disk, network card, and network. The environment configuration program manages the computing and storage resource pool.
[0060] Step 120: Based on the test environment requirements list, extract the target test environment data from the target database.
[0061] Understandably, the target database stores various data corresponding to the test environment. Based on the requirements of the test environment, such as the number of virtual machine cores, memory, hard disk, network card, and network, specific data is queried from the target database. The retrieved data is the target test environment data. Based on the retrieved data, the target test environment data can be constructed, obtaining the hardware and software environment required for testing.
[0062] Step 130: Once the target test environment data is confirmed, send the target test environment data to the cloud platform. The target test environment data is used to create a business virtual machine.
[0063] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system. Therefore, once the business virtual machine is configured, the CBTC system can be tested. The CBTC system resides on a cloud platform.
[0064] It should be noted that the business virtual machine is used to simulate the train operating environment and generate train system equipment. Before simulating the train operating environment, the test environment of the business virtual machine needs to be configured. The target test environment data is sent to the cloud platform. After the target test environment data is used to create the business virtual machine, the test environment configuration of the business virtual machine is completed. Then, the business virtual machine is used to simulate the train operating environment and generate train system equipment.
[0065] Testers can remotely log in to the business virtual machine on the cloud platform using a local wired or wireless terminal to conduct system testing.
[0066] The train operating environment can include the train line, trackside equipment, and the train itself.
[0067] Understandably, the automatically generated target test environment data needs to be fed back to the testers for confirmation before the test environment of the business virtual machine can be configured or restored through the API (Application Programming Interface) opened within the cloud platform. The test environment of the CBTC system can also be configured or restored through the cloud platform's network.
[0068] The CBTC system includes Figure 2 The computer interlocking system 2213, area controller 2214, automatic train monitoring system 2215, and automatic train protection system 2216 are shown.
[0069] In some embodiments, the test environment configuration method for the CBTC system provided by the present invention is applied to Figure 2 The test management system shown includes a cloud platform 2100 comprising a storage module 2110, a service module 2120, a management module 2130, and a core switch 2140.
[0070] Storage module 2110 is used to store data output by business module 2120. Business module 2120 contains a business virtual machine.
[0071] The management module 2130 is used to receive external target test environment data through the core switch 2140, and generate and manage business virtual machines in the business module 2120 based on the target test environment data.
[0072] The first terminal 2201 can be a local wired terminal, which accesses the external network 2207 of the cloud platform through the display network switch 2203. The third terminal 2204 can be a local wireless terminal, which accesses the office network switch 2206 through WIFI 2205, and then accesses the external network 2207 of the cloud platform through the office network switch 2206.
[0073] The second terminal 2202 can be a management terminal, equipped with an environment configuration program, an environment retention program, and an auxiliary testing program. Through the second terminal 2202, the testing requirements of the CBTC system can be obtained, and the environment configuration program can be started. The environment configuration program can batch distribute business virtual machines and auxiliary virtual machines according to project testing requirements, making environment setup more efficient and convenient.
[0074] The environment retention program can encapsulate and store the test environment, and completely restore the original test environment when needed, avoiding the need to repeatedly build the environment.
[0075] The auxiliary testing program allows testers to easily view the status of existing hardware LEDs and quickly identify equipment faults. It also allows for targeted video recording of certain virtual machines, enabling the restoration of the operation process when necessary.
[0076] The second terminal 2202 accesses the external network 2207 of the cloud platform through the display network switch 2203. The external network 2207 of the cloud platform is connected to the computer interlocking system 2213, the area controller 2214, the automatic train monitoring system 2215, and the automatic train protection system 2216 through the security network switch 2210, the non-security network switch 2211, and the wireless network switch 2212.
[0077] The external network 2207 of the cloud platform connects to the cloud platform 2100 through the border switch 2208 and the border firewall 2209.
[0078] like Figure 3 As shown, the computer interlocking system 2213 is also connected to the interlocking simulation platform 311, and the train automatic protection system 2216 is also connected to the simulation network switch 314. Figure 3 The computer interlocking system 2213, area controller 2214, train automatic monitoring system 2215, and train automatic protection system 2216 shown are all objects to be tested.
[0079] In some embodiments, the method for configuring the test environment of a CBTC system further includes:
[0080] After the CBTC system completes testing, the target test environment data is stored on the cloud platform.
[0081] Understandably, after the test, the target test environment data can be stored through an environment retention program for easy access during subsequent tests. Furthermore, the target test environment data can be stored in the cloud platform's resource pool.
[0082] In some embodiments, the method for configuring the test environment of a CBTC system further includes:
[0083] If the target test environment data is determined to be stored in the cloud platform based on the test requirements, the target test environment data is obtained from the cloud platform.
[0084] It should be noted that when testers submit test requirements and request a test environment, if the target test environment already exists, the environment configuration program will be directly invoked to distribute the target test environment data and configure resources and network.
[0085] In some embodiments, the method for configuring the test environment of a CBTC system further includes:
[0086] Obtain the data requirements list for the auxiliary virtual machine;
[0087] Send the data requirements list of the auxiliary virtual machine to the cloud platform so that the auxiliary virtual machine can be built within the cloud platform based on the data requirements list of the auxiliary virtual machine;
[0088] The auxiliary virtual machine is used to collect data during the CBTC system testing process.
[0089] Understandably, the data requirements list for the auxiliary virtual machine is a list of intermediate devices needed to collect the required data during the testing process. Building an auxiliary virtual machine helps testers capture packets to discover problems and assists in diagnosing communication issues between subsystems.
[0090] In some embodiments, the test environment requirements list includes: project data files, hardware data list, business network planning table, and cloud platform display network IP (Internet Protocol Address) occupancy table;
[0091] The data requirements list for auxiliary virtual machines includes: a cloud platform display network IP occupancy table, an auxiliary testing equipment requirements table, and a list of configuration changes made by testers.
[0092] Understandably, the data requirements list for the auxiliary virtual machine is the data list used to build the auxiliary virtual machine. Project data files, hardware configuration lists, network planning tables, cloud platform display network IP address usage tables, and auxiliary testing equipment requirements tables are all in standardized file formats.
[0093] The project data file includes line data such as the project name and the number of centralized stations; the hardware configuration list includes data such as the memory, hard disk and capacity of the business virtual machines required for testing; the network planning table includes the business communication IPs of the virtual machines required for testing; the cloud platform display network IP occupancy table is used by local terminals to remotely log in to the virtual machines in the cloud platform via the display network, and this table will automatically be changed after the environment is set up.
[0094] Furthermore, the test environment requirements list includes a table of display network IP occupancy for the cloud platform.
[0095] The CBTC system test environment configuration method also includes:
[0096] Display the target test environment data to request personnel to confirm the target test environment data;
[0097] Once the target test environment data is confirmed, update the displayed network IP occupancy table based on the target test environment data.
[0098] Understandably, requesting verification of the target test environment data can prevent errors from occurring in the target test environment data.
[0099] In some embodiments, the method for configuring the test environment of a CBTC system further includes:
[0100] After sending the target test environment data to the cloud platform, the monitoring device in the area where the CBTC system is located is controlled to monitor the testing process of the CBTC system.
[0101] Understandably, the monitoring device could be a video capture device installed in the area where the CBTC system is located, capable of monitoring the lights of the CBTC system to monitor the testing process of the CBTC system.
[0102] To ensure efficient laboratory management and ease of operation for technical personnel, the CBTC system is connected to a monitoring device. At this point, the CBTC system is located outside the cloud platform, and the video monitoring information collected by the monitoring device can be synchronized to the management equipment terminal.
[0103] The monitoring device can also monitor the technicians' testing operations on the CBTC system. By watching the recorded personnel operation steps in the video monitoring information, it can help determine the cause of test failures and avoid problems caused by misoperation. It can also remotely view the status of the CBTC system lights when there are problems with the use of the environment, thereby judging the status of the CBTC system.
[0104] In other embodiments, the test environment configuration method for the CBTC system is as follows: Figure 4As shown, after testers submit test requirements in the OA system, the environment configuration program will capture the content of the test requirements and simultaneously interface with the environment retention program to query whether the target test environment data corresponding to the test requirements exists. If the existing target test environment data exists, the target test environment data will be read directly, that is, the configuration file corresponding to the target test environment will be fed back to the testers.
[0105] If the target test environment data is newly created, then query the project data file, hardware configuration list, network planning table, cloud platform display network IP occupancy table, and auxiliary test equipment requirement table to obtain the relevant test environment data required for the test.
[0106] After generating the corresponding test environment requirements list for the test terminals within the cloud platform, it is fed back to the testers for confirmation. If modifications are needed, the testers can make the changes directly or regenerate the initial requirements document. If the confirmation is correct, the program connects to the cloud platform and completes the setup of the test environment for the test terminals within the cloud platform.
[0107] The test configuration program can analyze and determine that communication between different network segments requires the addition of router devices within the cloud platform, thereby completing the network setup between virtual machines within the cloud platform. The auxiliary test equipment requirement table includes the hardware and network configurations of the devices that need to have Wireshark installed for packet capture.
[0108] While setting up the test service virtual machine and network, the program can automatically analyze whether packet capture is needed between subsystems. If packet capture analysis tools are needed, it can read the auxiliary test equipment requirement table and combine it with the service network planning table to complete the setup of the corresponding auxiliary test virtual machine.
[0109] The environment retention program can completely record, save, and compress the deployed test environment for storage, and can fully restore the original test environment when needed.
[0110] In summary, the CBTC system test environment configuration method provided by this invention automatically obtains the test requirements, generates a test environment requirement list based on those requirements, and further extracts the target test environment data. After the target test environment data is confirmed, it is sent to the business virtual machine, thus automatically deploying the test environment without requiring manual step-by-step deployment. This addresses the low efficiency of existing test environment setup technologies, improves the efficiency of test environment setup, and reduces the error rate.
[0111] Multiple trains can be tested simultaneously, as well as multiple centralized stations, using business virtual machines. A single project can run tests concurrently using multiple threads, improving testing efficiency.
[0112] Furthermore, deploying the test environment on the business virtual machine can reduce the dependence on hardware resources, which is beneficial for business expansion and cost savings.
[0113] Furthermore, the testing environment can be automatically and quickly set up and restored, making it easy for technicians to operate without having to go to the computer room to lay cables or check equipment status.
[0114] The following describes the test environment configuration device for the CBTC system provided by the present invention. The test environment configuration device for the CBTC system described below can be referred to in correspondence with the test environment configuration method for the CBTC system described above.
[0115] like Figure 5 As shown, the test environment configuration device 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.
[0116] The first acquisition module 510 is used to acquire the test requirements of the CBTC system. If it is determined that the cloud platform does not store the target test environment data based on the test requirements, the module acquires the test environment requirement list.
[0117] The second acquisition module 520 is used to extract target test environment data from the target database based on the test environment requirements list.
[0118] The first sending module 530 is used to send the target test environment data to the cloud platform after the target test environment data is confirmed. The target test environment data is used to create a business virtual machine.
[0119] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0120] In some embodiments, the test environment configuration device 500 of the CBTC system further includes a storage module.
[0121] The storage module is used to store the target test environment data on the cloud platform after the CBTC system completes testing. Furthermore, it stores the target test environment data in the cloud platform's resource pool.
[0122] In some embodiments, the test environment configuration device 500 of the CBTC system further includes a third acquisition module.
[0123] The third acquisition module is used to acquire the target test environment data from the cloud platform when it is determined that the target test environment data is stored in the cloud platform based on the test requirements.
[0124] In some embodiments, the test environment configuration device 500 of the CBTC system further includes: a fourth acquisition module, a construction module, and a second sending module.
[0125] The fourth acquisition module is used to acquire the data requirement list of the auxiliary virtual machine.
[0126] The second sending module is used to send the data requirement list of the auxiliary virtual machine to the cloud platform, so that the auxiliary virtual machine can be built within the cloud platform based on the data requirement list of the auxiliary virtual machine.
[0127] The auxiliary virtual machine is used to collect data during the CBTC system testing process.
[0128] In some embodiments, the test environment requirements list includes: project data file, hardware data list, business network planning table, and cloud platform display network IP occupancy table;
[0129] The data requirements list for auxiliary virtual machines includes: a table of network IP occupancy within the cloud platform, a table of auxiliary testing equipment requirements, and a list of configuration changes made by testers.
[0130] In some embodiments, the test environment requirements list includes a display network IP occupancy table corresponding to the cloud platform; the test environment configuration device 500 of the CBTC system also includes a prompting module and an update module.
[0131] The prompt module is used to display the target test environment data in order to request personnel to confirm the target test environment data.
[0132] The update module is used to update the displayed network IP occupancy table based on the target test environment data, once the target test environment data has been confirmed.
[0133] The CBTC system test environment configuration device 500 also includes a monitoring module.
[0134] The monitoring module is used to control the monitoring devices in the area where the CBTC system is located after the target test environment data is sent to the cloud platform, and to monitor the testing process of the CBTC system.
[0135] The electronic device, computer program product, and storage medium provided by the present invention are described below. The electronic device, computer program product, and storage medium device described below can be referred to in correspondence with the test environment configuration method of the CBTC system described above.
[0136] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communications interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a test environment configuration method for the CBTC system, which includes:
[0137] Step 110: Obtain the test requirements of the CBTC system. If it is determined that the cloud platform does not store the target test environment data based on the test requirements, obtain the test environment requirement list.
[0138] Step 120: Based on the test environment requirements list, extract the target test environment data from the target database;
[0139] Step 130: Once the target test environment data is confirmed, send the target test environment data to the cloud platform. The target test environment data is used to create a business virtual machine.
[0140] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0141] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0142] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is able to execute the test environment configuration method for the CBTC system provided by the above methods, the method comprising:
[0143] Step 110: Obtain the test requirements of the CBTC system. If it is determined that the cloud platform does not store the target test environment data based on the test requirements, obtain the test environment requirement list.
[0144] Step 120: Based on the test environment requirements list, extract the target test environment data from the target database;
[0145] Step 130: Once the target test environment data is confirmed, send the target test environment data to the cloud platform. The target test environment data is used to create a business virtual machine.
[0146] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0147] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a test environment configuration method for the CBTC system provided by the methods described above, the method comprising:
[0148] Step 110: Obtain the test requirements of the CBTC system. If it is determined that the cloud platform does not store the target test environment data based on the test requirements, obtain the test environment requirement list.
[0149] Step 120: Based on the test environment requirements list, extract the target test environment data from the target database;
[0150] Step 130: Once the target test environment data is confirmed, send the target test environment data to the cloud platform. The target test environment data is used to create a business virtual machine.
[0151] The business virtual machine is used to simulate the train operating environment and generate train system equipment for testing the CBTC system.
[0152] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0153] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for configuring a test environment for a CBTC system, characterized in that, include: Obtain the testing requirements of the CBTC system, and if it is determined that the cloud platform does not store the target test environment data based on the testing requirements, obtain a list of test environment requirements; Based on the test environment requirements list, extract the target test environment data from the target database; Once the target test environment data is confirmed, the target test environment data is sent to the cloud platform, and the target test environment data is used to create a business virtual machine; The business virtual machine is used to simulate the train operating environment and generate train system equipment to test the CBTC system. The method further includes: Obtain the data requirement list for the auxiliary virtual machine, which includes the cloud platform display network IP occupancy table, the auxiliary test equipment requirement table, and the test personnel configuration change list. The data requirement list of the auxiliary virtual machine is sent to the cloud platform so that the auxiliary virtual machine can be constructed within the cloud platform based on the data requirement list of the auxiliary virtual machine; The auxiliary virtual machine is used to collect data during the testing process of the CBTC system.
2. The test environment configuration method for the CBTC system according to claim 1, characterized in that, Also includes: After the CBTC system completes the test, the target test environment data is stored on the cloud platform.
3. The test environment configuration method for the CBTC system according to claim 2, characterized in that, Also includes: If, based on the test requirements, it is determined that the target test environment data is stored in the cloud platform, the target test environment data is obtained from the cloud platform.
4. The test environment configuration method for the CBTC system according to claim 1, characterized in that, The test environment requirements list includes the display network IP occupancy table corresponding to the cloud platform; The method for configuring the test environment of the CBTC system also includes: The target test environment data is displayed to request personnel to confirm the target test environment data; Once the target test environment data is confirmed, the display network IP occupancy table is updated based on the target test environment data.
5. The method for configuring a test environment for a CBTC system according to any one of claims 1-4, characterized in that, Also includes: After sending the target test environment data to the cloud platform, the monitoring device in the area where the CBTC system is located is controlled to monitor the testing process of the CBTC system.
6. A test environment configuration device for a CBTC system, characterized in that, include: The first acquisition module is used to acquire the test requirements of the CBTC system, and, if it is determined that the cloud platform does not store the target test environment data based on the test requirements, acquire the test environment requirement list. The second acquisition module is used to extract target test environment data from the target database based on the test environment requirement list; The first sending module is used to send the target test environment data to the cloud platform when the target test environment data is confirmed, and the target test environment data is used to create a business virtual machine; The business virtual machine is used to simulate the train operating environment and generate train system equipment to test the CBTC system. The device further includes: a fourth acquisition module, a construction module, and a second sending module; The fourth acquisition module is used to acquire the data requirement list of the auxiliary virtual machine. The data requirement list of the auxiliary virtual machine includes the cloud platform display network IP occupancy table, the auxiliary test equipment requirement table, and the test personnel configuration change list. The second sending module is used to send the data requirement list of the auxiliary virtual machine to the cloud platform, so that the auxiliary virtual machine can be built within the cloud platform based on the data requirement list of the auxiliary virtual machine; The auxiliary virtual machine is used to collect data during the CBTC system testing process.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the test environment configuration method for the CBTC system as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the test environment configuration method for the CBTC system as described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the test environment configuration method for the CBTC system as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for setting up test environment, electronic equipment and medium
CN110532170A
CBTC integration test deployment method
CN113342688A