CN113765751B - Communication connection test method, device, equipment and storage medium - Google Patents

Communication connection test method, device, equipment and storage medium Download PDF

Info

Publication number
CN113765751B
CN113765751B CN202111050445.7A CN202111050445A CN113765751B CN 113765751 B CN113765751 B CN 113765751B CN 202111050445 A CN202111050445 A CN 202111050445A CN 113765751 B CN113765751 B CN 113765751B
Authority
CN
China
Prior art keywords
simulation software
signal
equipment
information
communication connection
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
CN202111050445.7A
Other languages
Chinese (zh)
Other versions
CN113765751A (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 CN202111050445.7A priority Critical patent/CN113765751B/en
Publication of CN113765751A publication Critical patent/CN113765751A/en
Application granted granted Critical
Publication of CN113765751B publication Critical patent/CN113765751B/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the disclosure provides a communication connection testing method, a communication connection testing device, equipment and a storage medium. The method includes receiving connection request information, wherein the connection request information includes an identification of a signal device and an identification of at least one target non-signal device; establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment; and determining a test result according to the data sent to the simulation software by the signal equipment and the data received by the simulation software. In this way, the efficiency and accuracy of testing the communication connection between the signaling device and the non-signaling device may be improved.

Description

Communication connection test method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications, and more particularly, to the field of testing communication connections between signal devices and non-signal devices.
Background
The connection of each system is an important detection task in the early stage of engineering project construction, and is particularly important for a signal system to link the communication of other non-signal products.
However, at present, due to the fact that the field environment is complex, the types of non-signal systems linked with the signal systems are multiple, the interfaces are numerous, the interface logs are complex in the connection testing process, and corresponding information is not easy to find out, so that errors are easy to generate in the debugging process, and time consumption is long.
Disclosure of Invention
The disclosure provides a communication connection testing method, device, equipment and storage medium.
According to a first aspect of the present disclosure, a communication connection testing method is provided. The method comprises the following steps:
receiving connection request information, wherein the connection request information comprises an identification of the signal device and an identification of the at least one target non-signal device;
establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment;
and determining a test result according to the data sent by the signal equipment to the simulation software and the data received by the simulation software.
In some implementations of the first aspect, the interface information includes an interface protocol identification and a communication means; establishing a communication connection between the signal device and the simulation software corresponding to the at least one target non-signal device based on the connection request information and the database, including:
determining an interface protocol and a software interface used by simulation software corresponding to at least one target non-signal device based on the interface protocol identifier;
and establishing communication connection between the signal equipment and the simulation software corresponding to the at least one target non-signal equipment based on the identification of the signal equipment and the identification of the at least one target non-signal equipment included in the connection request information according to the interface protocol, the software interface and the communication mode.
In some implementations of the first aspect, determining the test result according to the data sent by the signal device to the simulation software and the data received by the simulation software includes:
when the data sent by the signal equipment to the simulation software is different from the data received by the simulation software, the test result is that the test fails;
and when the data sent by the signal equipment to the simulation software is the same as the data received by the simulation software, the test result is that the test is passed.
In some implementations of the first aspect, the method further comprises:
determining error data according to the difference between the data sent by the signal device to the simulation software and the data received by the simulation software;
at least one of an interface protocol, a software interface, and a communication mode is adjusted based on the error data.
In some implementations of the first aspect, determining the test result according to the data sent by the signal device to the simulation software and the data received by the simulation software further includes:
receiving feedback information sent by simulation software, wherein the feedback information is input by a user based on display information generated by data sent by signal equipment and received by the simulation software;
and determining a test result according to the feedback information.
In some implementations of the first aspect, the method further comprises:
and when the software interface used by the simulation software corresponding to the at least one target non-signal device does not exist, creating the software interface used by the simulation software.
According to a second aspect of the present disclosure, there is provided a communication connection testing apparatus, the apparatus comprising:
a receiving module, configured to receive connection request information, where the connection request information includes an identifier of a signal device and an identifier of at least one target non-signal device;
the communication connection establishing module is used for establishing communication connection between the signal equipment and the simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment;
and the test module is used for determining a test result according to the data sent by the signal equipment to the simulation software and the data received by the simulation software.
According to a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: a memory having a computer program stored thereon and a processor that, when executing the program, implements a communication connection testing method as in the first aspect described above, and some implementations of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a communication connection testing method as in the first aspect described above, and in some implementations of the first aspect.
The communication connection test method, the communication connection test device, the communication connection test equipment and the storage medium provided by the disclosure are characterized in that firstly, connection request information is received, wherein the connection request information comprises an identifier of signal equipment and an identifier of at least one target non-signal equipment; then establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment; and finally, determining a test result according to the data sent to the simulation software by the signal equipment and the data received by the simulation software. Because the signal equipment realizes the simulation communication connection with the non-signal equipment through the interface information of the simulation software corresponding to the non-signal equipment in the database, and determines the test result according to the data transmitted based on the communication connection, the simulation communication test of the signal equipment and the non-signal equipment can be performed in advance before the project falls to the ground, thereby improving the debugging efficiency and ensuring the normal operation of the project.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. The accompanying drawings are included to provide a further understanding of the present disclosure, and are not incorporated in or constitute a part of this specification, wherein like reference numerals refer to like or similar elements throughout the several views and wherein:
fig. 1 shows a flow diagram of a communication connection testing method according to an embodiment of the present disclosure;
FIG. 2 shows a database schematic according to an embodiment of the present disclosure;
FIG. 3 shows a schematic diagram of data received by emulation software in accordance with an embodiment of the present disclosure;
FIG. 4 shows a schematic diagram of data received and displayed by simulation software according to an embodiment of the present disclosure;
FIG. 5 shows a schematic structural diagram of a communication connection testing apparatus according to an embodiment of the present disclosure;
FIG. 6 illustrates a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
At present, urban rails develop rapidly, connection of various systems in the early stage of construction of engineering projects is an important detection task, and particularly important linkage of communication of other non-signal products is achieved for signal systems in the urban rails. The linkage of the signal system and the non-signal system realizes the normal operation of the line, and is particularly important after the line is opened, so that the test task of the signal system and the non-signal system is an important stage of a project. However, at present, due to the complex field environment, the types of non-signal systems linked with the signal systems are multiple, the interfaces are numerous, the interface logs in the test process are complex, corresponding information cannot be found easily, errors are easy to generate in the test, and the time consumption is long.
In order to solve the problems that errors are easy to generate and long time is consumed in the debugging process in the existing scheme, the disclosure provides a communication connection testing method, a device, equipment and a storage medium, wherein connection request information is received firstly, wherein the connection request information comprises an identifier of signal equipment and an identifier of at least one target non-signal equipment; then, based on the connection request information and a database, establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment; and finally, determining a test result according to the data sent to the simulation software by the signal equipment and the data received by the simulation software. Because the signal equipment realizes the simulation communication connection with the non-signal equipment through the interface information of the simulation software corresponding to the plurality of non-signal equipment in the database and determines the test result according to the data transmitted based on the communication connection, the simulation communication test of the signal equipment and the non-signal equipment can be carried out in advance before the project falls to the ground, thereby improving the debugging efficiency and ensuring the normal operation of the project.
The technical solutions provided by the embodiments of the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a communication connection testing method provided in an embodiment of the present disclosure, where an execution subject of the method may be a terminal device or another server with a computing processing capability, for example, a communication front-end processor or an application server of an Automatic Train Supervision (ATS) system.
As shown in fig. 1, the communication connection testing method may specifically include:
s101: connection request information is received, wherein the connection request information includes an identification of the signal device and an identification of the at least one target non-signal device.
It should be noted that the signal device is a device for realizing "signal, interlock, block", and includes various signal displays, track circuits, point switches, and other devices, and is used for train route control, train interval control, scheduling command, information management, device condition monitoring and maintenance management, and the like, and is responsible for real-time control and state supervision tasks of various traveling devices and operating trains on a road network, and plays an important role in coordinating the operation of trains and ground devices.
The non-signal equipment is completely different from the signal equipment, the non-signal equipment has no correlation, the interface form, the interface content, the internal architecture and the logic function of the equipment are different, the equipment needs to be processed independently, and the non-signal equipment performs the functions of line correlation analysis, information prediction and information prompt in subway operation.
The identifier of the signal device may specifically be name information or a unique feature code of the signal device, and similarly, the identifier of the target non-signal device may also specifically be name information or a unique feature code of the signal device.
Taking an urban rail test line as an example, the connection request information may be a signal device and at least one target non-signal device to be subjected to a communication test automatically determined by a server or a processor associated with the urban rail test line according to a preset program instruction, and then determined according to an identifier of the signal device and an identifier of the at least one target non-signal device, or a user may determine a signal device and at least one target non-signal device to be subjected to a communication test according to a current actual requirement, and then determined according to an identifier of the signal device and an identifier of the at least one target non-signal device, so as to perform a subsequent communication test of the signal device and the at least one target non-signal device, that is, S102 and S103, where the user may be, for example, a test engineer associated with a test project, and it should be noted that a source of the connection request information is not limited in this disclosure.
S102: and establishing a communication connection between the signal equipment and the simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment.
In an embodiment, as shown in fig. 2, the database may be an interface protocol and a communication mode used by simulation software corresponding to various non-signal devices, which are counted and recorded in advance, where the simulation software corresponding to various non-signal devices may be, for example, power monitoring System (SCC) simulation software, rail Traffic Control Center (TCC) simulation software, subway line network Control Center (COCC) simulation software, passenger Information (PIS) simulation software, and passenger broadcast (Pa) simulation software, and based on the SCC simulation software, as shown in fig. 2, an interface protocol name is specifically ATS-SCC security Control Center system interface protocol, and a communication mode is internet access-TCP.
On the basis of the database, the interface protocol and the software interface used by the simulation software corresponding to the at least one target non-signal device can be determined according to the identifier of the at least one target non-signal device in the connection request information and the interface protocol identifier corresponding to the non-signal device in the database, namely the interface protocol name; and then establishing a simulation environment according to the determined interface protocol, the software interface and the communication mode corresponding to the non-signal equipment in the database, establishing a simulation software communication connection corresponding to the target non-signal equipment based on the simulation environment, so as to realize the establishment of an accurate simulation environment based on the interface protocol, the software interface and the communication mode corresponding to the non-signal equipment in the database, and carrying out correct communication connection between the signal equipment and the target non-signal equipment for subsequent connection test, namely executing S103.
In addition, in an embodiment, as shown in fig. 2, according to the identifier of the target non-signal device and the interface protocol identifier corresponding to the non-signal device in the database, that is, the interface protocol name, the plug-in name of the emulation software corresponding to the target non-signal device, the type of the protocol used, the state of the software interface, the number of interfaces, and the line to which the communication connection belongs may also be determined, so as to establish the communication connection between the signal device and the emulation software corresponding to the target non-signal device.
It will be appreciated that the database may facilitate the configuration of suitable simulation software from the implemented simulation software of the non-signal device for various items to be tested, to test the communication connection between the signal device and the non-signal device for the various items.
It should be noted that, when the software interface used by the simulation software corresponding to the target non-signal device does not exist, the software interface used by the simulation software may be created to ensure the normal establishment of the communication connection by generating necessary information in the case of missing part of the necessary information.
The non-signal device may specifically include a Clock (Clock) device, a wireless (Radio) device, an Integrated Supervisory Control System (ISCS) for urban rail transit, a subway access System (PSCADA), a driver dispatch, a global dispatch, an Integrated Automation System for subway stations (MDIAS), a Data sharing device, an Automatic Train monitoring System (ATS), an Integrated monitoring device, and a vehicle dispatching device.
S103: and determining a test result according to the data sent by the signal equipment to the simulation software and the data received by the simulation software.
After the communication connection between the signal device and the simulation software corresponding to the at least one target non-signal device is established, data transmission is necessarily performed, so that a test result of the established communication connection can be determined according to the data sent by the signal device to the simulation software and the data received by the simulation software.
In one embodiment, the specific process of determining the test result of the established communication connection according to the data sent by the signal device to the simulation software and the data received by the simulation software may be: when the data sent by the signal equipment to the simulation software is different from the data received by the simulation software, the test result is that the test fails; when the data sent by the signal equipment to the simulation software is the same as the data received by the simulation software, the test result is that the test is passed, and in the process, the test result can be accurately determined by comparing the data sent by the signal equipment to the simulation software with the data received by the simulation software. The data received by the emulation software may specifically be as shown in fig. 3, where the data has a header, a data field, and a check field.
Because the traditional test mode needs to check whether the information of the interface code bit in the log corresponding to the interface file sent by the signal equipment and received by the non-signal equipment is correct or not through checking the information sent by the interface specification and the signal system by manpower, the checking process is slow, and log dislocation is easy to occur, the checking process based on the machine to realize the communication test can improve the efficiency and ensure the accuracy.
In one embodiment, in order to adjust and optimize the communication connection established between the signal device and the target non-signal device to ensure the correctness of the communication, the difference between the data transmitted by the signal device to the simulation software and the data received by the simulation software may be compared to determine error data, and then at least one of an interface protocol, a software interface and a communication mode is adjusted according to the error data to adjust the established communication connection, so as to ensure that the adjusted communication connection can be normally used according to requirements, and ensure the correctness of the communication connection.
In one embodiment, feedback information sent by the simulation software may also be received, wherein the feedback information is input by a user based on display information generated by data sent by the signal device and received by the simulation software, and then the test result is determined according to the feedback information.
Specifically, in the process of determining the test result according to the feedback information, the simulation software of the target non-signal device, i.e., the simulation environment, may identify the meaning of each byte in the received data sent by the signal device and the information that the simulation software needs to be configured independently for the item, generate display information (e.g., characters) to determine the test result, or perform optimal adjustment of the communication connection. Specifically, the information that is required to be uniquely configured for the item may be stored in the plug-in indicated by the plug-in name in fig. 2, the data transmitted by the signal device and received by the simulation software may be numeric string information indicated by an arrow 1 in fig. 4, and the generated display information may be character information indicated by an arrow 2 in fig. 4. It is further possible that, after viewing the generated display information, the user inputs feedback information, for example, correct or incorrect information output feedback, to the simulation software based on the display information, so that the simulation software sends feedback information to the execution main body of the present disclosure for the execution main body to determine the test result according to the feedback information, where the user may be the user who determines the connection request information in S101, i.e., the test engineer related to the test project, or other experienced professional user. In the process, the accuracy of the test result can be further ensured through a man-machine interaction mode based on feedback information input by experienced professional users.
The further process of adjusting the communication connection is that when the feedback information is the information output error, at least one of the interface protocol, the software interface and the communication mode can be adjusted according to the deviation data in the feedback information to optimize the communication connection and ensure that the communication connection meets the actual requirement, wherein the deviation data is the data difference between the information which is output by the signal equipment and is supposed to be displayed on the simulation software corresponding to the non-signal equipment and the current actual display information.
In a communication connection testing method provided by the present disclosure, by receiving connection request information, wherein the connection request information includes an identification of a signal device and an identification of at least one target non-signal device; then establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment; and finally, determining a test result according to the data sent to the simulation software by the signal equipment and the data received by the simulation software. Because the signal equipment realizes the simulation communication connection with the non-signal equipment through the interface information of the simulation software corresponding to the plurality of non-signal equipment in the database and determines the test result according to the data transmitted based on the communication connection, the simulation communication test of the signal equipment and the non-signal equipment can be carried out in advance before the project falls to the ground, thereby improving the debugging efficiency and ensuring the normal operation of the project. And the test is executed based on a machine, so that the condition that errors easily occur in manual test is avoided.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the communication connection testing method shown in fig. 1, the present disclosure also provides a communication connection testing apparatus.
Fig. 5 shows a schematic structural diagram of a communication connection testing apparatus, and as shown in fig. 5, the communication connection testing apparatus may include a receiving module 501, a communication connection establishing module 502, and a testing module 503.
A receiving module 501, configured to receive connection request information, where the connection request information includes an identifier of a signal device and an identifier of at least one target non-signal device;
a communication connection establishing module 502, configured to establish a communication connection between a signal device and emulation software corresponding to at least one target non-signal device based on connection request information and a database, where the database includes interface information of the emulation software corresponding to a plurality of non-signal devices, and the plurality of non-signal devices include the target non-signal device;
the test module 503 may be configured to determine a test result according to data sent by the signal device to the simulation software and data received by the simulation software.
In one embodiment, the interface information includes an interface protocol identification and a communication mode; the communication connection establishing module 502 may be further configured to determine, based on the interface protocol identifier, an interface protocol and a software interface used by simulation software corresponding to the at least one target non-signal device; and establishing communication connection between the signal equipment and the simulation software corresponding to the at least one target non-signal equipment based on the identification of the signal equipment and the identification of the at least one target non-signal equipment included in the connection request information according to the interface protocol, the software interface and the communication mode.
In one embodiment, the test module 503 may be further configured to determine that the test result is a test failure when the data sent by the signal device to the simulation software is different from the data received by the simulation software; and when the data sent by the signal equipment to the simulation software is the same as the data received by the simulation software, determining that the test result is that the test is passed.
In one embodiment, the apparatus may further include an adjustment module, not shown, which may be configured to determine error data based on a difference between data sent by the signal device to the simulation software and data received by the simulation software; and adjusting at least one of an interface protocol, a software interface, and a communication mode based on the error data.
In one embodiment, the test module 503 may be further configured to receive feedback information sent by the simulation software, where the feedback information is input by a user based on display information generated by data sent by the signal device and received by the simulation software; and determining a test result according to the feedback information.
In one embodiment, the apparatus may further include a software interface creating module, not shown in the figure, which may be configured to create a software interface used by the simulation software in the absence of a software interface used by the simulation software corresponding to the at least one target non-signal device.
In a communication connection testing apparatus provided by the present disclosure, by receiving connection request information, wherein the connection request information includes an identification of a signal device and an identification of at least one target non-signal device; then establishing communication connection between the signal equipment and simulation software corresponding to at least one target non-signal equipment based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal equipment, and the plurality of non-signal equipment comprises the target non-signal equipment; and finally, determining a test result according to the data sent to the simulation software by the signal equipment and the data received by the simulation software. Because the signal equipment realizes the simulation communication connection with the non-signal equipment through the interface information of the simulation software corresponding to the plurality of non-signal equipment in the database and determines the test result according to the data transmitted based on the communication connection, the simulation communication test of the signal system and the non-signal system can be performed in advance before the project falls to the ground, thereby improving the debugging efficiency and ensuring the normal operation of the project. And the test is executed based on a machine, so that the condition that errors easily occur in manual test is avoided.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
It can be understood that each module in the communication connection testing apparatus shown in fig. 5 has a function of implementing each step in fig. 1, and can achieve the corresponding technical effect, and for brevity, is not described again here.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the customs of public sequences.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
The device 600 comprises a computing unit 601, which may perform various suitable actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, and the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the communication connection test method in fig. 1. For example, in some embodiments, the communication connection testing method of fig. 1 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the communication connection testing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the communication connection testing method of fig. 1 in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (8)

1. A communication connection testing method, the method comprising:
receiving connection request information, wherein the connection request information comprises an identification of a signal device and an identification of at least one target non-signal device;
establishing a communication connection between the signal device and the simulation software corresponding to the at least one target non-signal device based on the connection request information and a database, wherein the database comprises interface information of the simulation software corresponding to a plurality of non-signal devices, and the plurality of non-signal devices comprise the target non-signal device;
determining a test result according to the data sent by the signal equipment to the simulation software and the data received by the simulation software;
the signal equipment is equipment for realizing signals, interlocking or blocking in rail transit operation; the non-signal equipment is equipment for performing line-related analysis, information prediction or information prompt in rail transit operation;
the determining a test result according to the data sent by the signal device to the simulation software and the data received by the simulation software includes:
when the data sent by the signal equipment to the simulation software is different from the data received by the simulation software, the test result is that the test fails;
and when the data sent to the simulation software by the signal equipment is the same as the data received by the simulation software, the test result is that the test is passed.
2. The method of claim 1, wherein the interface information comprises an interface protocol identifier and a communication mode; establishing a communication connection between the signal device and the simulation software corresponding to the at least one target non-signal device based on the connection request information and the database, including:
determining an interface protocol and a software interface used by simulation software corresponding to the at least one target non-signal device based on the interface protocol identifier;
and establishing communication connection between the signal equipment and the simulation software corresponding to at least one target non-signal equipment based on the identification of the signal equipment and the identification of at least one target non-signal equipment in the connection request information according to the interface protocol, the software interface and the communication mode.
3. The method of claim 2, further comprising:
determining error data according to the difference between the data sent by the signal equipment to the simulation software and the data received by the simulation software;
and adjusting at least one of the interface protocol, the software interface, and the communication mode based on the error data.
4. The method of claim 1, wherein determining the test result based on the data sent by the signal device to the simulation software and the data received by the simulation software further comprises:
receiving feedback information sent by the simulation software, wherein the feedback information is input by a user browsing display information generated by the simulation software, and the display information is generated by the simulation software according to data sent by received signal equipment;
and determining a test result according to the feedback information.
5. The method of claim 2, further comprising:
and when the software interface used by the simulation software corresponding to the at least one target non-signal device does not exist, creating the software interface used by the simulation software.
6. A communication connection testing apparatus, characterized in that the apparatus comprises:
a receiving module, configured to receive connection request information, where the connection request information includes an identifier of a signal device and an identifier of at least one target non-signal device;
a communication connection establishing module, configured to establish a communication connection between the signal device and the emulation software corresponding to the at least one target non-signal device based on a database and the connection request information, where the database includes interface information of emulation software corresponding to a plurality of non-signal devices, and the plurality of non-signal devices include the target non-signal device;
the test module is used for determining a test result according to the data sent by the signal equipment to the simulation software and the data received by the simulation software;
the signal equipment is equipment for realizing signals, interlocking or blocking in rail transit operation; the non-signal equipment is equipment for performing line-related analysis, information prediction or information prompt in rail transit operation;
the test module is specifically configured to:
when the data sent by the signal equipment to the simulation software is different from the data received by the simulation software, the test result is that the test fails;
and when the data sent by the signal equipment to the simulation software is the same as the data received by the simulation software, the test result is that the test is passed.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
8. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202111050445.7A 2021-09-08 2021-09-08 Communication connection test method, device, equipment and storage medium Active CN113765751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111050445.7A CN113765751B (en) 2021-09-08 2021-09-08 Communication connection test method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111050445.7A CN113765751B (en) 2021-09-08 2021-09-08 Communication connection test method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113765751A CN113765751A (en) 2021-12-07
CN113765751B true CN113765751B (en) 2022-12-02

Family

ID=78794015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111050445.7A Active CN113765751B (en) 2021-09-08 2021-09-08 Communication connection test method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113765751B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109470498A (en) * 2018-09-27 2019-03-15 交控科技股份有限公司 Fully automatic operation system integration testing method
CN111007837A (en) * 2019-12-18 2020-04-14 交控科技股份有限公司 Test system and method for testing TCMS
CN111103864A (en) * 2019-12-19 2020-05-05 卡斯柯信号(北京)有限公司 Method and device suitable for train control center test
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111708345A (en) * 2020-05-14 2020-09-25 北京西南交大盛阳科技股份有限公司 Simulation test system, test method and test device for signal equipment
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center
CN112208587A (en) * 2020-09-24 2021-01-12 交控科技股份有限公司 Simulation system and simulation method for CBTC non-signal system
CN113219855A (en) * 2021-04-20 2021-08-06 卡斯柯信号有限公司 Simulation verification method and device for TACS (terminal-to-terminal Security System)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917442B (en) * 2010-08-24 2012-11-21 北京全路通信信号研究设计院有限公司 Method and device for realizing communication between ground equipment and simulation test system
US20170096154A1 (en) * 2015-10-02 2017-04-06 Westinghouse Air Brake Technologies Corporation Locomotive Control Signal Generator
CN112181752B (en) * 2020-12-01 2021-04-30 上海小慧智能科技有限公司 Vehicle bus test method and device, electronic equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109470498A (en) * 2018-09-27 2019-03-15 交控科技股份有限公司 Fully automatic operation system integration testing method
CN111007837A (en) * 2019-12-18 2020-04-14 交控科技股份有限公司 Test system and method for testing TCMS
CN111103864A (en) * 2019-12-19 2020-05-05 卡斯柯信号(北京)有限公司 Method and device suitable for train control center test
CN111309533A (en) * 2020-02-10 2020-06-19 北京交大微联科技有限公司 Automatic test system
CN111708345A (en) * 2020-05-14 2020-09-25 北京西南交大盛阳科技股份有限公司 Simulation test system, test method and test device for signal equipment
CN112208587A (en) * 2020-09-24 2021-01-12 交控科技股份有限公司 Simulation system and simulation method for CBTC non-signal system
CN112099478A (en) * 2020-11-10 2020-12-18 卡斯柯信号(北京)有限公司 Automatic test method and device for temporary speed limit message of train control center
CN113219855A (en) * 2021-04-20 2021-08-06 卡斯柯信号有限公司 Simulation verification method and device for TACS (terminal-to-terminal Security System)

Also Published As

Publication number Publication date
CN113765751A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US10296685B2 (en) Failure logic modeling method for a high-speed railway train operation control on-board system
CN114896166A (en) Scene library construction method and device, electronic equipment and storage medium
CN114084204A (en) Data transmission system, method, device and storage medium for urban railway
CN114547884A (en) Automatic driving simulation method, device, equipment, readable storage medium and product
CN114448802B (en) Gateway configuration method, device, electronic equipment and storage medium
CN114444718B (en) Training method of machine learning model, signal control method and device
CN114064371A (en) Electronic interlocking simulation test method, system, equipment and storage medium
CN113765751B (en) Communication connection test method, device, equipment and storage medium
CN113835413A (en) Interlocking automation test system, method, device and storage medium
CN117252420A (en) Job risk assessment method, device, equipment and storage medium
CN115730872A (en) Urban rail transit parallel deduction system and method
CN115649246A (en) Simulation test platform and method compatible with CBTC and urban (suburban) railway
CN115391158A (en) Time delay determination method, system and device and electronic equipment
CN115357023A (en) Method, device and equipment for replaying running data of mobile robot and storage medium
CN113986380A (en) Data processing method, device and system, electronic equipment and storage medium
CN115923889A (en) Automatic driving system and method compatible with C2ATO and CBTC
CN115923889B (en) Automatic driving system and method compatible with C2ATO and CBTC
US11772681B2 (en) Method and apparatus for processing autonomous driving simulation data, and electronic device
CN116318571B (en) Wireless block center host, communication data storage method, device and medium
CN115361290B (en) Configuration comparison method, device, electronic equipment and storage medium
CN115904764B (en) Version management method and device for wireless block center
CN116001875B (en) Automatic test method and device for checking train safety position calculation
CN114093170B (en) Generation method, system and device of annunciator control scheme and electronic equipment
CN116935647A (en) Data verification method and device, electronic equipment and storage medium
CN117369414A (en) Automatic test method, device and equipment for vehicle-mounted control system 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