CN113676368B - Method and device applied to ATS network performance test - Google Patents

Method and device applied to ATS network performance test Download PDF

Info

Publication number
CN113676368B
CN113676368B CN202110785208.9A CN202110785208A CN113676368B CN 113676368 B CN113676368 B CN 113676368B CN 202110785208 A CN202110785208 A CN 202110785208A CN 113676368 B CN113676368 B CN 113676368B
Authority
CN
China
Prior art keywords
communication
ats
information
software
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110785208.9A
Other languages
Chinese (zh)
Other versions
CN113676368A (en
Inventor
聂鹏飞
刘合叶
王勐颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT 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 Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202110785208.9A priority Critical patent/CN113676368B/en
Publication of CN113676368A publication Critical patent/CN113676368A/en
Application granted granted Critical
Publication of CN113676368B publication Critical patent/CN113676368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention provides a method and a device for testing ATS network performance, comprising the following steps: reading a configuration file and an FS (file system) data file of target ATS software in the ATS to acquire communication information of each communication device related to the target ATS software; configuring a simulation network environment according to the communication information; driving each analog ATS software to communicate with ATS equipment in a simulation network environment; and acquiring system information in the communication process to determine the communication performance test result of the ATS. The invention separates the communication equipment from the communication module, drives the test through the data, automatically configures the simulation network environment, drives the simulation ATS software to communicate with the related ATS equipment according to the communication relation configured by the data, determines the communication performance test result according to the communication result, abandons redundant modules and threads, has the advantages of less occupied resources and quick start, can reduce the input cost of manpower and material resources, and improves the building and executing efficiency of the test environment.

Description

Method and device applied to ATS network performance test
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device applied to ATS network performance testing.
Background
An Automatic Train Supervision (ATS) system is a distributed real-time Supervision and control system integrating modern data communication, computer, network and signal technologies, and an ATS subsystem is coordinated and matched with other subsystems in an ATC system to jointly complete management and control of subway operation trains and signal equipment. The core equipment is positioned in the central layer of the signal system and is used for realizing automatic management and scheduling of high-density and large-flow urban rail transit, and the system is a comprehensive driving command scheduling control system.
In the prior art, a communication performance test scheme for an ATS is mainly to improve communication pressure between real ATS software by deploying a large amount of real ATS software, so as to implement a communication performance pressure test under a high load.
According to the scheme of starting a large amount of real ATS software for communication testing, because the real ATS software has a large amount of logic processing and User Interface (UI) drawing task threads and the like which are irrelevant to communication, the real ATS software occupies relatively more system resources and has longer starting time; and a large amount of manpower and material resources are consumed for manually building a test environment, configuring and testing an Internet Protocol (IP), managing test software and the like, so that the scheme of testing the communication performance by adopting a large amount of real ATS software has high test resource and time cost.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a method and a device for testing the performance of an ATS network.
In a first aspect, the present invention provides a method for testing the performance of an ATS network, including: reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software; configuring a simulation network environment according to the communication information; driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one; and determining a communication performance test result of the target ATS according to system information in the communication process.
In one embodiment, said configuring the emulated network environment based on said communication information comprises: determining the yellow-violet network IP address of each communication device according to the communication device information in the communication information; the yellow-violet network IP address is an IP address of a related network card required for starting the communication equipment; generating a first batch of processing files by using the yellow-violet network IP addresses of all the communication devices; and executing the first batch processing file to realize batch configuration of the yellow-violet network IP addresses of the communication devices and acquire the simulation network environment.
In one embodiment, the acquiring communication information of each communication device related to the target ATS software specifically includes acquiring at least one of the following information: the equipment name of each communication equipment, the equipment type and the identification of each communication equipment, the IP address and the port information of each communication equipment, the type and the identification of each ATS communication object equipment, and the IP address and the port information of each ATS communication object equipment.
In one embodiment, under the condition that the target ATS software is multiple, all the simulated ATS software is grouped according to the types of communication devices and ATS communication object devices related to all the target ATS software in the simulation network environment, and a plurality of simulated ATS software groups are obtained; correspondingly, the driving each analog ATS software to communicate with the corresponding ATS device includes: and one-key batch starting or closing, and communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS equipment.
In one embodiment, after grouping all the analog ATS software and obtaining a grouping of a plurality of analog ATS software, the method further includes: displaying the plurality of analog ATS software groups, and setting an operation identifier for each analog ATS software group; the operation mark is a one-key batch starting mark or a one-key batch closing mark.
In one embodiment, before the one-key batch start or shutdown, the communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS device further includes: acquiring a communication IP configuration state of each ATS device; when the IP address configuration state of any ATS equipment is determined to be unconfigured, the IP address of any ATS equipment is called; configuring all IP addresses as the IP addresses of the unconfigured ATS equipment to generate a second batch of processing files; executing the second batch file to realize batch configuration of the IP address of each unconfigured ATS device; and initializing a communication protocol between the ATS equipment and each ATS equipment when the IP address configuration state of each ATS equipment is determined to be configured.
In one embodiment, determining a communication performance test result for the target ATS according to system information in a communication process includes: determining that the communication performance test result is abnormal under the condition that the system information contains communication interruption alarm information; under the condition that the system information does not contain communication interruption alarm information and contains a message collection number log, if the message collection number recorded in the message collection number log is larger than a preset threshold value, determining that the communication performance test result is abnormal; and if the message scraping number recorded in the message scraping number log is not larger than the preset threshold, determining that the communication performance test result is normal.
In a second aspect, the present invention provides a device for testing the performance of an ATS network, including: the information calling unit is mainly used for reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software; the network simulation unit is mainly used for configuring a simulation network environment according to the communication information; the communication simulation unit is mainly used for driving each simulation ATS software to communicate with the corresponding ATS equipment in the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one; the data analysis unit is mainly used for acquiring system information in a communication process so as to determine a communication performance test result of the target ATS.
In a third aspect, the present invention provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the methods for testing the performance of the ATS network.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, which computer program, when executed by a processor, implements the steps of the method as described in any of the above for the performance test of the ATS network.
According to the method and the device for testing the performance of the ATS network, the communication equipment is separated from the communication module, the test is driven through data, the simulation network environment is automatically configured, the simulation ATS software is driven to communicate with the related ATS equipment according to the communication relation configured by the data, the communication performance test result is determined according to the communication result, redundant modules and threads are abandoned, the method and the device have the advantages of being few in occupied resources and rapid in starting, the investment cost of manpower and material resources is reduced, and the building and execution efficiency of the test environment is improved.
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 schematic flow chart of a method for testing the performance of an ATS network according to the present invention;
fig. 2 is a second schematic flowchart of the method for testing the performance of the ATS network according to the present invention;
FIG. 3 is a diagram illustrating an apparatus for testing ATS network performance according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
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.
It should be noted that in the description of the embodiments of the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. The terms "upper", "lower", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The existing ATS network performance test method generally adopts the starting of a large amount of real ATS software to improve the communication pressure between the real ATS software and realize the test of the ATS network performance. However, the start of the real ATS software requires providing a corresponding configuration file, and the Host IP information of the configuration file of each real ATS software needs to be modified, so the whole configuration modification process is complicated, a large amount of manpower and material resources are required, and the test efficiency is low.
In view of this, the present invention provides a method for testing the performance of an ATS network, which obtains a communication relationship and device data between each piece of real ATS software by reading a configuration file and an FS data file of the real ATS software, so as to implement virtualization of the real ATS software by using a simulated ATS software according to a secure communication protocol, thereby implementing detection of the communication performance of the ATS software under a high communication load.
The following describes a method and an apparatus for testing the performance of an ATS network according to an embodiment of the present invention with reference to fig. 1 to 4.
Fig. 1 is a schematic flow chart of a method for testing the performance of the ATS network according to the present invention, as shown in fig. 1, including but not limited to the following steps:
step 101: and reading the configuration file and the FS data file of the target ATS software in the target ATS to acquire the communication information of each communication device related to the target ATS software.
Since different ATS are used, the number and types of communication devices and the communication relationship between the communication devices are different.
In the invention, any ATS is taken as an example for explanation, and for different ATS, only the communication information of each corresponding communication device needs to be modified, so that different network communication performance tests can be met.
The communication information mainly comprises communication equipment information and communication relation information.
In addition, for any ATS, the more target ATS software is selected, the greater the communication pressure for testing is, the more network performance of the ATS can be activated to the greatest extent in the actual testing process, so that an appropriate amount of ATS software can be selected as the target ATS software according to the detection requirement in the actual testing process.
In the actual detection process, only the configuration file and the FS data file of the target ATS software selected in the target ATS need to be read in advance.
Wherein, the configuration file mainly comprises: configuration information related to the target ATS software, such as: the present invention is not particularly limited to configuration information of the function switches, configuration information of the communication relationship, and the like.
Wherein, the FS data file mainly refers to an electronic map data binary file package, including: the target ATS software-related file suffix is a binary data file of.fs, such as: device type, communication IP address, etc.
Step 102: and configuring a simulation network environment according to the communication information.
Configuring a network environment is an operation necessary for testing ATS communication pressure, and in the existing testing method, manual table lookup is needed for starting real ATS software to find and configure IP information required for starting each real ATS software. When a plurality of (for example, hundreds of) real ATS software needs to be started simultaneously for communication in each performance test, a large amount of time is consumed, and the operation is complicated and inflexible only by configuring a network environment.
The method for testing the performance of the ATS network adopts an automatic configuration mode, and automatically configures the simulated network environment by reading the communication information of each communication device without manually reading a table to search the IP address information corresponding to each communication device, thereby effectively saving the step of manually configuring the network environment.
The simulation network environment may be understood as a network environment between the virtual ATS software corresponding to the target ATS software and the communication devices related to the respective virtual ATS software, including communication relationship information between the respective communication devices, such as: IP addresses of the respective communication devices, and the like.
Step 103: driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one.
Specifically, after the simulation network environment is constructed, in the actual detection process, when a large number of communication objects need to be simulated, the simulation of each communication device needs to be managed quickly. Optionally, the invention adopts the sub-device type to display the communication information of each communication device, so as to realize one-key batch startup or shutdown of the required communication devices.
Meanwhile, the communication between the started communication equipment and the corresponding ATS equipment is respectively established by the started communication equipment and each simulation ATS software corresponding to each real ATS software according to the communication relation information configured by the data.
Step 104: and determining a communication performance test result of the target ATS according to system information in the communication process.
When the network performance of the target ATS is tested, the simulation ATS software is driven to communicate with the ATS application server according to the requirement, and the communication performance test of the ATS software is realized by judging the system information in the communication process.
The method for testing the performance of the ATS network separates the communication equipment from the communication module, drives the test through data, automatically configures the simulation network environment, drives the simulation ATS software to communicate with the related ATS equipment according to the communication relation configured by the data, determines the communication performance test result according to the communication result, abandons redundant modules and threads, has the advantages of less occupied resources and quick start, reduces the investment cost of manpower and material resources, and improves the construction and execution efficiency of the test environment.
Based on the content of the foregoing embodiment, as an optional embodiment, the configuring, according to the communication information, a simulated network environment mainly includes:
determining the yellow purple network IP address of each communication device according to the communication device information in the communication information; generating a first batch of processing files by using the yellow-violet network IP addresses of all the communication devices; and executing the first batch processing file to realize batch configuration of the yellow-violet network IP addresses of the communication devices and acquire the simulation network environment.
And the yellow and purple network IP address is the IP address of the relevant network card required for starting the communication equipment.
The method for testing the ATS network performance provided by the invention adopts an automatic configuration mode, does not need to manually read the table to search the corresponding IP address information of each communication device, so that the step of manually configuring the network environment is saved, and the IP addresses of the selected devices can be added and deleted in batches.
Specifically, the step of automatically configuring the simulation network environment provided by the invention mainly comprises the following steps:
1) and acquiring the communication equipment information of each communication equipment according to the equipment type and the equipment name of each communication equipment related to the selected target ATS software by inquiring the FS data information.
2) Based on the communication device information, the yellow-violet network IP address (network card IP address required for starting the communication device) of each communication device can be obtained. It should be noted that, as a redundant design, two network cards may be provided in the communication device.
3) And generating added and deleted batch processing files (namely the first batch processing files) by using the IP addresses of the yellow-violet network cards of the selected communication devices.
4) And executing the batch of processing files so as to realize batch addition and deletion of network card IP, realize batch configuration of the IP addresses of the yellow and purple networks of each communication device and acquire the simulated network environment.
The method for testing the performance of the ATS network separates the communication information of the communication equipment from the communication equipment, so that the communication information of the communication equipment is in a simulation network environment required by configuration test, the network environment can be rapidly configured, and network card IPs are configured/removed in batches aiming at the required communication equipment. And aiming at different test scenes, the communication information of each communication device related to the target ATS software is only required to be modified without modifying the software, so that different communication pressure requirements can be met.
Based on the content of the foregoing embodiment, as an optional embodiment, the acquiring communication information of each communication device related to the target ATS software specifically includes acquiring at least one of the following information:
the equipment name of each communication equipment, the equipment type and the identification of each communication equipment, the IP address and the port information of each communication equipment, the type and the identification of each ATS communication object equipment, and the IP address and the port information of each ATS communication object equipment.
The start of the real ATS software needs to provide a configuration file, and the Host IP information of the configuration file of each real ATS software needs to be modified, so the operation process is complicated.
To solve the problem, the method for testing the performance of the ATS network according to the present invention separates the communication device from the communication module, and implements the driving of the test by reading the configuration file and the FS data file of the target ATS software, and specifically includes:
first, communication device information and communication relationship information of the relevant communication device are acquired from a configuration file and an FS data file of the target ATS software.
Then, the simulated network environment is rapidly configured according to the acquired information of the relationship without manually configuring the network environment.
And finally, driving each analog ATS software to communicate with the related ATS equipment according to the communication relationship configured in the simulation network environment.
The communication device information and the communication relation information included in the communication information mainly refer to the following data information:
(1) a device name of the communication device;
(2) a device type and Identity (ID) of the communication device;
(3) IP address and port information of communication of the communication equipment;
(4) the type and ID of the ATS communication object device of the communication device;
(5) and IP address and port information of ATS communication object equipment communication.
It should be noted that, according to the data-driven network performance testing method provided by the present invention, if the ATS communication target device of the subsequent communication device changes, the content of the test does not need to be modified much, and only the relevant configuration data in the communication information needs to be modified, so that different testing requirements can be met.
Based on the content of the foregoing embodiment, as an optional embodiment, when a plurality of target ATS software is provided, in the simulation network environment, all the simulation ATS software is grouped according to types of communication devices and ATS communication object devices related to all the target ATS software, so as to obtain a plurality of simulation ATS software groups;
correspondingly, the driving each analog ATS software to communicate with the corresponding ATS device includes: and one-key batch starting or closing, and communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS equipment.
The method for testing the ATS network performance can rapidly manage the communication equipment, and can start/close the communication equipment in batches by one key when the test needs to be started.
Specifically, in the time detection process, when more communication objects need to be simulated, the simulation of each communication device needs to be managed quickly. In a specific test, after acquiring a plurality of analog ATS software groups, the method further includes: displaying the plurality of analog ATS software groups, and setting an operation identifier for each analog ATS software group; the operation mark is a one-key batch starting mark or a one-key batch closing mark.
The invention can realize the purpose of one-key batch control of communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS equipment through the setting.
It should be noted that the present invention mainly groups communication devices by device type, which is not considered as a specific limitation to the scope of the present invention, and may also group communication devices according to other factors, such as: name, number, etc. of the communication device.
The method for testing the ATS network performance provided by the invention realizes one-key batch control by grouping all the communication equipment, and can effectively improve the efficiency of network testing.
Based on the content of the foregoing embodiment, as an optional embodiment, before the one-key batch start or shutdown, and before the communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS device, the method further includes:
acquiring a communication IP configuration state of each ATS device;
when the IP address configuration state of any ATS equipment is determined to be unconfigured, the IP address of any ATS equipment is called;
configuring all IP addresses as the IP addresses of the unconfigured ATS equipment to generate a second batch of processing files;
executing the second batch file to realize batch configuration of the IP address of each unconfigured ATS device;
and initializing a communication protocol between the ATS equipment and each ATS equipment when the IP address configuration state of each ATS equipment is determined to be configured.
Fig. 2 is a second schematic flow chart of the method for testing the performance of the ATS network according to the present invention, and as shown in fig. 2, the steps in the above embodiment are packaged into a software tool for testing the performance of the ATS network, and in the actual testing process, the software is started to read the configuration file and the FS data file related to each target ATS software in the ATS.
And acquiring the device type, the device information and the like of each communication device related to the target ATS software according to the read configuration file and the FS data file. And further, selecting communication equipment needing to be started from the communication equipment according to the equipment type and the equipment information of each communication equipment, and acquiring the communication information of the equipment to configure the simulated network environment.
After this step, it is necessary to confirm whether the selected communication device to be activated has the communication IP configuration, that is, it is necessary to judge whether the software establishes a communication connection relationship with each of the associated ATS devices.
For any related ATS equipment, if the related ATS equipment already establishes a communication connection with the software (namely, simulates the communication connection between the ATS software and the corresponding ATS equipment), the communication IP configuration state of the ATS equipment is determined to be configured.
Correspondingly, for any related ATS equipment, if the communication connection with the simulation ATS software is not established, the communication IP configuration state of the ATS equipment is considered to be unconfigured, all the unconfigured ATS equipment are screened out, the IP address of each unconfigured ATS equipment is obtained in a table look-up mode, and all the IP addresses are packaged into a second batch processing file.
The second batch file is executed to complete the reconfiguration of each unconfigured ATS device.
Finally, after the configuration of all the ATS devices is completed, a communication protocol (such as an RP protocol) between each ATS device and the software is initialized to establish a communication connection between each ATS device and each virtual ATS software and implement data interaction.
And after the test is finished, closing the analog communication in batches, analyzing the system information in the whole process, and determining the test result of the communication performance of the ATS.
The method for testing the performance of the ATS network provided by the invention has the advantages that the IP address of the ATS equipment is configured by one key by acquiring the communication IP configuration state of each ATS equipment, so that the aim of quickly establishing the communication connection between each ATS equipment and each virtual ATS software is fulfilled, the operation of a user is facilitated, and the building and executing efficiency of a testing environment is improved.
Based on the content of the foregoing embodiment, as an optional embodiment, determining a communication performance test result for the target ATS according to system information in a communication process includes:
determining that the communication performance test result is abnormal under the condition that the system information contains communication interruption alarm information;
under the condition that the system information does not contain communication interruption alarm information and contains a message collection number log, if the message collection number recorded in the message collection number log is larger than a preset threshold value, determining that the communication performance test result is abnormal; and if the message scraping number recorded in the message scraping number log is not larger than the preset threshold, determining that the communication performance test result is normal.
Optionally, in the method for testing the performance of the ATS network provided by the present invention, the result of the communication performance test is mainly determined by whether the communication interruption alarm information is received during the test.
And if the communication interruption alarm information is received in the test process, the network interruption is indicated in the simulation test process, and the communication network of the target ATS is determined to have a fault.
If the communication interruption alarm information is not received in the whole testing process, the communication network of the target ATS is considered to have no fault, at the moment, the message collection number log is further read, and the message collection number in the message collection number log is compared with a preset threshold value so as to judge whether the network data can be smoothly processed in the network performance testing process. If the message sum is larger than a preset threshold value, determining that the communication performance test result is abnormal; if the message gathering number is not greater than a preset threshold, the communication performance test result can be determined to be normal.
Alternatively, the network performance can be graded by setting a plurality of thresholds with different sizes and according to the preset section where the message scraping number is located.
The method for testing the network performance of the ATS determines the network performance of the ATS by analyzing the communication interruption alarm information and the message collection log, and can accurately reflect the actual network performance.
Fig. 3 is a device for testing the performance of the ATS network according to the present invention, as shown in fig. 3, the device mainly includes: an information retrieval unit 31, a network simulation unit 32, a communication simulation unit 33, and a data analysis unit 34, wherein:
the information retrieving unit 31 is mainly configured to read a configuration file and an FS data file of target ATS software in a target ATS to obtain communication information of each communication device related to the target ATS software;
the network simulation unit 32 is mainly used for configuring a simulation network environment according to the communication information;
the communication simulation unit 33 is mainly used for driving each analog ATS software to communicate with the corresponding ATS device in the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one;
the data analysis unit 34 is mainly configured to obtain system information in a communication process to determine a communication performance test result for the target ATS.
It should be noted that, in the device for testing the performance of the ATS network according to the embodiment of the present invention, when the device is specifically used, the method for testing the performance of the ATS network according to any of the above embodiments may be performed, and details of the method are not described herein.
The device for testing the performance of the ATS network separates the communication equipment from the communication module, drives the test through data, automatically configures the simulation network environment, drives the simulation ATS software to communicate with the related ATS equipment according to the communication relation configured by the data, determines the communication performance test result according to the communication result, abandons redundant modules and threads, has the advantages of less occupied resources and quick start, reduces the investment cost of manpower and material resources, and improves the construction and execution efficiency of the test environment.
Fig. 4 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface (Communications Interface)420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are in communication with each other via the communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a method for use in ATS network performance testing, the method comprising: reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software; the communication information comprises communication equipment information and communication relation information; configuring a simulation network environment according to the communication information; driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one; and determining a communication performance test result of the target ATS according to system information in the communication process.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units 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 various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the method for ATS network performance test provided by the above methods, the method including: reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software; the communication information comprises communication equipment information and communication relation information; configuring a simulation network environment according to the communication information; driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one; and determining a communication performance test result of the target ATS according to system information in the communication process.
In still another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to execute the method for testing the performance of the ATS network provided by the above embodiments, the method including: reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software; the communication information comprises communication equipment information and communication relation information; configuring a simulation network environment according to the communication information; driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one; and determining a communication performance test result of the target ATS according to system information in the communication process.
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 may be implemented by software plus a necessary general hardware platform, and may 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 should 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 (9)

1. A method for ATS network performance testing, comprising:
reading a configuration file and an FS (file system) data file of target ATS software in a target ATS (automatic transfer system) to acquire communication information of each communication device related to the target ATS software;
configuring a simulation network environment according to the communication information;
driving each analog ATS software to communicate with corresponding ATS equipment under the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one;
determining a communication performance test result of the target ATS according to system information in a communication process;
the obtaining of the communication information of each communication device related to the target ATS software includes obtaining the communication device information and the communication relationship information of each communication device;
configuring a simulation network environment according to the communication information, wherein the configuration of the simulation network environment comprises the configuration of the simulation network environment according to the communication relation information;
the driving of each analog ATS software to communicate with the corresponding ATS equipment comprises driving each analog ATS software to communicate with the corresponding ATS equipment according to the communication relation information configured in the simulation network environment;
determining a communication performance test result of the target ATS according to system information in a communication process, wherein the communication performance test result is determined to be abnormal under the condition that the system information contains communication interruption alarm information; under the condition that the system information does not contain communication interruption alarm information and contains a message collection number log, if the message collection number recorded in the message collection number log is larger than a preset threshold value, determining that the communication performance test result is abnormal; and if the message scraping number recorded in the message scraping number log is not larger than the preset threshold, determining that the communication performance test result is normal.
2. The method as claimed in claim 1, wherein the configuring the simulated network environment according to the communication information comprises:
determining the yellow-violet network IP address of each communication device according to the communication device information in the communication information; the yellow-violet network IP address is an IP address of a related network card required for starting the communication equipment;
generating a first batch of processing files by using the yellow-violet network IP addresses of all the communication devices;
and executing the first batch processing file to realize batch configuration of the yellow-violet network IP addresses of the communication devices and acquire the simulation network environment.
3. The method according to claim 1, wherein the obtaining of the communication information of each communication device related to the target ATS software specifically includes obtaining at least one of the following information:
the equipment name of each communication equipment, the equipment type and the identification of each communication equipment, the IP address and the port information of each communication equipment, the type and the identification of each ATS communication object equipment, and the IP address and the port information of each ATS communication object equipment.
4. The method according to claim 3, wherein when there are a plurality of target ATS software, all the simulated ATS software is grouped according to types of communication devices and ATS communication object devices related to all the target ATS software in the simulation network environment to obtain a plurality of groups of simulated ATS software;
correspondingly, the driving each analog ATS software to communicate with the corresponding ATS device includes:
and one-key batch starting or closing, and communication between all the analog ATS software in any analog ATS software grouping and the corresponding ATS equipment.
5. The method as claimed in claim 4, wherein after grouping all the simulated ATS software and obtaining the grouping of the plurality of simulated ATS software, the method further comprises:
displaying the plurality of analog ATS software groups, and setting an operation identifier for each analog ATS software group; the operation mark is a one-key batch starting mark or a one-key batch closing mark.
6. The method as claimed in claim 4, further comprising, before the one-key batch start-up or shut-down, communication between all the simulated ATS software in any one of the simulated ATS software groups and the corresponding ATS device:
acquiring a communication IP configuration state of each ATS device;
when the IP address configuration state of any ATS equipment is determined to be unconfigured, the IP address of any ATS equipment is called;
configuring all IP addresses as the IP addresses of the unconfigured ATS equipment to generate a second batch of processing files;
executing the second batch file to realize batch configuration of the IP address of each unconfigured ATS device;
and initializing a communication protocol between the ATS equipment and each ATS equipment when the IP address configuration state of each ATS equipment is determined to be configured.
7. An apparatus for testing performance of an ATS network, comprising:
the information calling unit is used for reading a configuration file and an FS data file of target ATS software in a target ATS to acquire communication information of each communication device related to the target ATS software, wherein the communication information and the communication relation information of each communication device are acquired;
the network simulation unit is used for configuring a simulation network environment according to the communication information, and the network simulation unit comprises a network simulation unit and a network simulation unit, wherein the network simulation unit is used for configuring the simulation network environment according to the communication relation information;
the communication simulation unit is used for driving each simulation ATS software to communicate with the corresponding ATS equipment in the simulation network environment, and comprises the steps of driving each simulation ATS software to communicate with the corresponding ATS equipment according to the communication relation information configured in the simulation network environment; the simulation ATS software corresponds to the target ATS software one by one;
the data analysis unit is used for acquiring system information in a communication process to determine a communication performance test result of the target ATS, and the communication performance test result is determined to be abnormal under the condition that the system information contains communication interruption alarm information; under the condition that the system information does not contain communication interruption alarm information and contains a message collection number log, if the message collection number recorded in the message collection number log is larger than a preset threshold value, determining that the communication performance test result is abnormal; and if the message scraping number recorded in the message scraping number log is not larger than the preset threshold, determining that the communication performance test result is normal.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method steps as claimed in any one of claims 1 to 6 for use in the performance test of the ATS network when executing the computer program.
9. A non-transitory computer readable storage medium having stored thereon a computer program for implementing the method steps for ATS network performance testing according to any one of claims 1 to 6 when the computer program is executed by a processor.
CN202110785208.9A 2021-07-12 2021-07-12 Method and device applied to ATS network performance test Active CN113676368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110785208.9A CN113676368B (en) 2021-07-12 2021-07-12 Method and device applied to ATS network performance test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785208.9A CN113676368B (en) 2021-07-12 2021-07-12 Method and device applied to ATS network performance test

Publications (2)

Publication Number Publication Date
CN113676368A CN113676368A (en) 2021-11-19
CN113676368B true CN113676368B (en) 2022-07-19

Family

ID=78538933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110785208.9A Active CN113676368B (en) 2021-07-12 2021-07-12 Method and device applied to ATS network performance test

Country Status (1)

Country Link
CN (1) CN113676368B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143213B (en) * 2021-11-30 2024-03-26 中国工商银行股份有限公司 Benchmarking test system, benchmarking test method, benchmarking test device, benchmarking test computer equipment and benchmarking test storage medium
CN115002151A (en) * 2022-05-07 2022-09-02 通号城市轨道交通技术有限公司 Method and device for building test system of automatic train monitoring system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402440A (en) * 2010-09-17 2012-04-04 联想(北京)有限公司 Method and device for pushing and prompting of application program
CN103001823A (en) * 2012-11-13 2013-03-27 中国科学院信息工程研究所 Method and system for establishing virtual network on basis of multi-grit abstract theory
CN107499307A (en) * 2016-06-14 2017-12-22 Lg电子株式会社 Automatic stopping servicing unit and the vehicle for including the automatic stopping servicing unit
CN109614321A (en) * 2018-11-24 2019-04-12 卡斯柯信号有限公司 For the continuous integrating of ATS software and the system of delivery
CN109842534A (en) * 2019-02-20 2019-06-04 成都成电光信科技股份有限公司 A kind of equipment test verification method based on switch type FC artificial card
CN110909460A (en) * 2019-11-12 2020-03-24 中国第一汽车股份有限公司 Internet of vehicles V2X simulation test method, device, equipment and storage medium
CN111125710A (en) * 2019-11-29 2020-05-08 联想(北京)有限公司 Information processing method and device, electronic equipment and storage medium
CN111310313A (en) * 2020-01-21 2020-06-19 北京北方华创微电子装备有限公司 IAP-based simulation method and device and wafer cleaning equipment
CN111611709A (en) * 2020-05-20 2020-09-01 北京百度网讯科技有限公司 Method, apparatus, electronic device, and storage medium for controlling simulated vehicle
CN111858220A (en) * 2020-08-24 2020-10-30 天津铁路信号有限责任公司 Test bench for testing ATS system and interlocking system interface information transmission
CN111857090A (en) * 2020-05-26 2020-10-30 卡斯柯信号有限公司 Method and device for ATS performance test
CN111897715A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 Method and device for automatically generating configuration data of simulation test environment
CN111919225A (en) * 2018-03-27 2020-11-10 辉达公司 Training, testing, and validating autonomous machines using a simulated environment
CN112124378A (en) * 2020-09-23 2020-12-25 卡斯柯信号(北京)有限公司 Point-to-point automatic testing method and device for interlocking and ATS
CN112235155A (en) * 2020-09-24 2021-01-15 交控科技股份有限公司 Performance test method and device for cooperative formation service communication environment
CN112732552A (en) * 2020-12-18 2021-04-30 中国电力科学研究院有限公司 Automatic detection system and method for platform area intelligent terminal application APP
CN112799683A (en) * 2019-10-24 2021-05-14 普天信息技术有限公司 Terminal device program programming and testing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140134451A (en) * 2013-05-14 2014-11-24 한국전자통신연구원 Test environment setting apparatus and, method for network simulation apparatus using the same
DE102015101388A1 (en) * 2015-01-30 2016-08-04 Deutsche Telekom Ag Test system for testing a computer of a computer system in a test network
US10548034B2 (en) * 2017-11-03 2020-01-28 Salesforce.Com, Inc. Data driven emulation of application performance on simulated wireless networks
US11233703B2 (en) * 2018-11-20 2022-01-25 Cisco Technology, Inc. Extending encrypted traffic analytics with traffic flow data

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402440A (en) * 2010-09-17 2012-04-04 联想(北京)有限公司 Method and device for pushing and prompting of application program
CN103001823A (en) * 2012-11-13 2013-03-27 中国科学院信息工程研究所 Method and system for establishing virtual network on basis of multi-grit abstract theory
CN107499307A (en) * 2016-06-14 2017-12-22 Lg电子株式会社 Automatic stopping servicing unit and the vehicle for including the automatic stopping servicing unit
CN111919225A (en) * 2018-03-27 2020-11-10 辉达公司 Training, testing, and validating autonomous machines using a simulated environment
CN109614321A (en) * 2018-11-24 2019-04-12 卡斯柯信号有限公司 For the continuous integrating of ATS software and the system of delivery
CN109842534A (en) * 2019-02-20 2019-06-04 成都成电光信科技股份有限公司 A kind of equipment test verification method based on switch type FC artificial card
CN112799683A (en) * 2019-10-24 2021-05-14 普天信息技术有限公司 Terminal device program programming and testing method
CN110909460A (en) * 2019-11-12 2020-03-24 中国第一汽车股份有限公司 Internet of vehicles V2X simulation test method, device, equipment and storage medium
CN111125710A (en) * 2019-11-29 2020-05-08 联想(北京)有限公司 Information processing method and device, electronic equipment and storage medium
CN111310313A (en) * 2020-01-21 2020-06-19 北京北方华创微电子装备有限公司 IAP-based simulation method and device and wafer cleaning equipment
CN111611709A (en) * 2020-05-20 2020-09-01 北京百度网讯科技有限公司 Method, apparatus, electronic device, and storage medium for controlling simulated vehicle
CN111857090A (en) * 2020-05-26 2020-10-30 卡斯柯信号有限公司 Method and device for ATS performance test
CN111897715A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 Method and device for automatically generating configuration data of simulation test environment
CN111858220A (en) * 2020-08-24 2020-10-30 天津铁路信号有限责任公司 Test bench for testing ATS system and interlocking system interface information transmission
CN112124378A (en) * 2020-09-23 2020-12-25 卡斯柯信号(北京)有限公司 Point-to-point automatic testing method and device for interlocking and ATS
CN112235155A (en) * 2020-09-24 2021-01-15 交控科技股份有限公司 Performance test method and device for cooperative formation service communication environment
CN112732552A (en) * 2020-12-18 2021-04-30 中国电力科学研究院有限公司 Automatic detection system and method for platform area intelligent terminal application APP

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Hamid F. Bagce,et al.,."Visuomotor discordance in virtual reality: Effects on online motor control".《2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society》.2011, *
黄晓帆,."基于场景模拟的地铁ATS软件自动化测试***".《通信信号技术》.2021,第30卷(第1期), *

Also Published As

Publication number Publication date
CN113676368A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
CN113676368B (en) Method and device applied to ATS network performance test
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
CN105205003A (en) Automated testing method and device based on clustering system
CN104518917A (en) Automatic server patrol inspection method
CN107506295B (en) Virtual machine backup testing method and device and computer readable storage medium
CN109284140B (en) Configuration method and related equipment
CN106959927A (en) The method and device of the positional information of logical partition in acquisition virtual machine
CN111813495A (en) Node testing method and device, storage medium and electronic device
CN110990289B (en) Method and device for automatically submitting bug, electronic equipment and storage medium
KR101985635B1 (en) Method and system for creating template scripts based container orchestrator
CN110750445A (en) Method, system and equipment for testing high-availability function of YARN component
CN107277163A (en) A kind of long-range mapping method of equipment and device
CN112199273A (en) Virtual machine pressure/performance testing method and system
CN114124727B (en) Network management communication pressure testing method and system
CN110795304A (en) Method and device for testing performance of distributed storage system
CN115373916A (en) Abnormality detection method, abnormality detection device, electronic apparatus, and computer-readable storage medium
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN102053862B (en) Method and device for inspecting material files in instant messenger
CN115237441A (en) Upgrade test method, device and medium based on cloud platform
CN107506271A (en) A kind of method of testing and device
CN114328196A (en) Method, device and equipment for testing data leakage prevention system and storage medium
CN111090553B (en) Test system, test method and test device
CN113746676A (en) Container cluster-based network card management method, device, equipment, medium and product
CN111124889B (en) ICOS system-based host Numa test method, system and equipment
CN109710483A (en) A kind of smashclp function test method, device, terminal 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
GR01 Patent grant
GR01 Patent grant