CN113791329A - Full-electronic interlocking test system and method - Google Patents

Full-electronic interlocking test system and method Download PDF

Info

Publication number
CN113791329A
CN113791329A CN202110984060.1A CN202110984060A CN113791329A CN 113791329 A CN113791329 A CN 113791329A CN 202110984060 A CN202110984060 A CN 202110984060A CN 113791329 A CN113791329 A CN 113791329A
Authority
CN
China
Prior art keywords
board card
tested
tooling
test
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110984060.1A
Other languages
Chinese (zh)
Inventor
熊伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110984060.1A priority Critical patent/CN113791329A/en
Publication of CN113791329A publication Critical patent/CN113791329A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • 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/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The invention provides a full electronic interlocking test system and a method thereof, wherein the system comprises: the system comprises an upper computer, a switch, an all-electronic interlocking motherboard, a checking fixture board card and a fixture board card to be tested; the upper computer is connected with the switch through UDP communication, the switch is connected with the all-electronic interlocking motherboard through a control board, the switch is connected with the inspection tooling board card, and the all-electronic interlocking motherboard is connected with the tooling board card to be tested; the upper computer is used for sending a test control command to the to-be-tested tooling board card according to a predefined communication frame, sending an interlocking control command to the inspection tooling board card, and receiving test data fed back by the inspection tooling board card and the to-be-tested tooling board card so as to obtain a test result of the to-be-tested tooling board card according to the test data. The invention can effectively reduce the complexity of system connection, thereby effectively reducing the maintenance cost.

Description

Full-electronic interlocking test system and method
Technical Field
The invention relates to the technical field of rail transit, in particular to a full-electronic interlocking test system and a full-electronic interlocking test method.
Background
The full electronic computer interlocking system is used as a novel railway station automatic control device, takes a computer control technology as a core, takes an electronic switch technology as a basis, adopts the technologies of computer communication, automatic detection and the like, and realizes electronic railway signal control computer interlocking equipment.
At present, for the test of the full electronic interlocking, because the types of the full electronic interlocking board cards are numerous and the design is complex, a test system adopts a plurality of communication control modes, the integral structure is complex, and the hardware connection complexity and the maintenance cost are high.
Disclosure of Invention
The invention provides a full electronic interlocking test system and a full electronic interlocking test method, which are used for solving the defect that the full electronic interlocking test system in the prior art is complex in structure and high in maintenance cost, and achieving the aim of effectively reducing the complexity of system connection so as to reduce the maintenance cost.
The invention provides a full electronic interlocking test system, comprising: the system comprises an upper computer, a switch, an all-electronic interlocking motherboard, a checking fixture board card and a fixture board card to be tested;
the upper computer is in communication connection with the switch through a User Datagram Protocol (UDP), the switch is connected with the all-electronic interlocking motherboard through a communication control board, the switch is connected with the inspection tooling board card, and the all-electronic interlocking motherboard is connected with the tooling board card to be tested;
the upper computer is used for sending a test control command to the to-be-tested tooling board card according to a predefined communication frame, sending an interlocking control command to the inspection tooling board card, and receiving test data fed back by the inspection tooling board card and the to-be-tested tooling board card so as to obtain a test result of the to-be-tested tooling board card according to the test data.
According to the all-electronic interlocking test system provided by the invention, the upper computer comprises a plurality of processing modules, and the processing modules correspond to the tooling board cards to be tested one by one;
and the processing module sends the test control command to the corresponding to-be-tested tooling board card and sends the interlocking control command to the inspection tooling board card to perform independent test management on the corresponding to-be-tested tooling board card.
The upper computer also comprises a plurality of linkage modules, the linkage modules correspond to the inspection tooling board cards one by one, and the linkage modules comprise interface functions;
the processing module sends a linkage control command to the inspection tooling board card corresponding to the linkage module by calling an interface function of the linkage module, and receives test data fed back by the corresponding inspection tooling board card.
According to the all-electronic interlocking test system provided by the invention, the processing module comprises a sending submodule and a receiving submodule;
the sending module is used for probing a current sending information queue according to a first set frequency by using a first thread and sending information needing to be sent in the current sending information queue according to a second set frequency;
the receiving module is used for receiving the test data fed back by the inspection tooling board card and the tooling board card to be tested in real time by using a second thread and pressing the information comprising the test data into different message queues.
According to the all-electronic interlocking test system provided by the invention, the to-be-tested tooling board card comprises at least one of the following components:
a safety input board card;
scattered input board cards;
a safety output board card;
scattered output board cards;
a signal machine board card;
a switch board card;
reorder Buffer (ROB) board card;
the inspection tooling board card comprises at least one of the following components:
the tool inputs and/or outputs the port board card;
a tooling signal machine board card;
and (5) tooling a switch board card.
The invention also provides an all-electronic interlocking test method based on the all-electronic interlocking test system, which comprises the following steps:
the upper computer adopts a User Datagram Protocol (UDP) for communication, sequentially passes through the switch, the communication control board and the all-electronic interlocking motherboard, sends a test control command to the tool board card to be tested according to a predefined communication frame, and sends an interlocking control command to the inspection tool board card through the switch;
and the upper computer receives the test data fed back by the inspection tooling board card and the tooling board card to be tested and acquires a test result of the tooling board card to be tested according to the test data.
According to the full electronic interlock test method provided by the invention, the method further comprises the following steps:
correspondingly starting a plurality of threads aiming at different tooling board cards to be tested;
and based on the multiple threads, performing parallel test management on the to-be-tested tooling board cards by respectively sending the test control command to the to-be-tested tooling board cards and sending the interlocking control command to the inspection tooling board cards.
According to the all-electronic interlocking test method provided by the invention, the threads correspond to the tooling board cards to be tested one by one, and the method further comprises the following steps:
and under each single thread in the multiple threads, carrying out independent test management on the tooling board card to be tested corresponding to the single thread.
According to the full electronic interlock test method provided by the invention, the method further comprises the following steps:
and automatically carrying out multiple rounds of aging tests according to the set safety logic by using the upper computer through presetting the total times of the aging tests, and carrying out aging analysis on the tooling board card to be tested according to the results of the multiple tests.
According to the all-electronic interlocking test method provided by the invention, the sending of the test control command to the tooling board card to be tested according to the predefined communication frame and the sending of the interlocking control command to the inspection tooling board card through the switch comprises the following steps:
based on a first thread, probing a current sending information queue according to a first set frequency, and sending information needing to be sent in the current sending information queue according to a second set frequency;
the receiving of the test data fed back by the inspection tooling board card and the tooling board card to be tested comprises the following steps:
and based on a second thread, receiving test data fed back by the inspection tooling board card and the tooling board card to be tested in real time, and pressing information comprising the test data into different message queues.
According to the system and the method for testing the full electronic interlocking, provided by the invention, the upper computer is connected with the switch, UDP network communication can be used for simultaneously communicating with the full electronic interlocking motherboard and each inspection tooling board card, and according to a defined communication frame, commands are sent to the full electronic interlocking board card and the lower computer of the inspection tooling board card and test data are obtained, so that the test on all the board cards in the full electronic interlocking is realized, the complexity of system connection can be effectively reduced, and the maintenance cost can be effectively reduced.
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 structural diagram of an all-electronic interlock test system provided by the present invention;
FIG. 2 is a schematic flow chart of a fully electronic interlock test method provided by the present invention;
fig. 3 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 in the embodiments of the present invention, 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.
Aiming at the problem that the structure of the fully electronic interlocking test system in the prior art is complex and high in maintenance cost, the upper computer is connected with the switch, UDP network communication can be used for simultaneously communicating with the fully electronic interlocking main board and each inspection tooling board card, commands are sent to the fully electronic interlocking board card and the lower computer of the inspection tooling board card according to a defined communication frame, test data are obtained, the test of all the fully electronic interlocking board cards is realized, the system connection complexity can be effectively reduced, and therefore the maintenance cost can be effectively reduced. The fully electronic interlock test system and method provided by the present invention will be described and illustrated with reference to various embodiments.
Fig. 1 is a schematic structural diagram of an all-electronic interlock test system provided by the present invention, which can be used to implement a test on an all-electronic interlock inspection tool. As shown in fig. 1, the system includes an upper computer 101, a switch 102, an all-electronic interlocking motherboard 103, a checking fixture card 104, and a fixture card to be tested 105.
The upper computer 101 is connected with the switch 102 through User Datagram Protocol (UDP) communication, the switch 102 is connected with the all-electronic interlocking motherboard 103 through the communication control board 106, the switch 102 is connected with the inspection tooling board card 104, and the all-electronic interlocking motherboard 103 is connected with the tooling board card 105 to be tested.
The upper computer 101 is configured to send a test control command to the to-be-tested tooling board card 105 according to a predefined communication frame, send an interlock control command to the inspection tooling board card 104, and receive test data fed back by the inspection tooling board card 104 and the to-be-tested tooling board card 105, so as to obtain a test result for the to-be-tested tooling board card 105 according to the test data.
It should be understood that, as shown in fig. 1, the all-electronic interlocking test system of the present invention at least includes an upper computer 101, a switch 102, an all-electronic interlocking motherboard 103, a checking fixture card 104, and a fixture card to be tested 105, which are connected to each other through UDP communication. The upper computer 101 sends commands to the all-electronic interlocked board card and the lower computer of the inspection tooling board card according to the defined communication frame and obtains test data so as to test the availability and reliability of all the all-electronic interlocked board cards according to the fed-back result.
The tool board card to be tested 105 is a target to be tested, and includes a generic term of various types of board cards to be tested for availability or reliability, which are associated with the all-electronic interlocking host 103. Optionally, the tooling board card to be tested 105 includes at least one of: a safety input board card; scattered input board cards; a safety output board card; scattered output board cards; a signal machine board card; a switch board card; and reordering the cache ROB boards.
It should be understood that, as shown in fig. 1, according to an actual application scenario, the all-electronic interlock host 103 may be associated with any one or a combination of any plurality of the listed fixture boards to be tested, and is certainly not limited to the type of the listed fixture boards to be tested. According to the practical application scene, other related types of to-be-tested tooling board cards can be further included. That is, the test of the present invention is performed by using a single board card as a unit, and the purpose of testing the required board card can be achieved by freely combining different board cards, which is not specifically limited by the present invention.
The inspection tooling board card 104 is used for assisting in testing the performance of the tooling board card 105 to be tested, and the upper computer 101 comprehensively judges whether the current test content passes or not by sending a control command of the tooling board card 105 to be tested in a full electronic interlocking manner and acquiring corresponding feedback information, and simultaneously linking the control command and the feedback information of the inspection tooling board card 104.
Optionally, the inspection tooling card 104 includes at least one of: the tool inputs and/or outputs the port board card; a tooling signal machine board card; and (5) tooling a switch board card. That is, as shown in fig. 1, the inspection tooling board 104 may include any one or a combination of any plurality of the listed tooling boards to be tested according to an actual application scenario, and is certainly not limited to the listed types of the inspection tooling boards. According to the practical application scenario, other relevant types of inspection tooling board cards may also be included, which is not specifically limited in the present invention.
The invention has stronger pertinence and practicability by limiting the specific types of the tool board card to be tested and the inspection tool board card to be important board cards related to full electronic interlocking.
The upper computer 101 comprises related software, and the software can select the tool board card to be tested to execute one test and can also set an aging test to perform multiple tests. The software sends a test control command to the tool board card to be tested 105 and sends an interlock control command to the inspection tool board card 104 according to a set logic.
In combination with the test data returned by the inspection tool board 104, the upper computer 101 determines whether the current test content passes by comparing the stored motherboard data with the data of the tool board 105 to be tested, so as to test the availability and reliability of the tool board to be tested.
That is to say, the upper computer 101 in the invention simultaneously links the all-electronic interlocking board card and the inspection tooling board card completely in a UDP communication mode, and accurately provides the overall hardware condition of the all-electronic interlocking board card tested at present through the control and acquisition results of the two board card lower computers. Because the interactive frames at the side of the all-electronic interlocking board card are unified, the interactive frames at the side of the inspection tooling board card are also unified, and different testing parties can conveniently further expand the test of the tooling board card to be tested.
According to the invention, the whole test framework is simple and easy to understand and expand, the efficiency and accuracy of the full-electronic interlocking hardware test can be effectively improved, the human intervention is reduced, test reports and the like can be automatically printed, the test result of the board card can be accurately fed back, and the automation degree is improved.
According to the all-electronic interlocking test system provided by the invention, the upper computer is connected with the switch, UDP network communication can be used for simultaneously communicating with the all-electronic interlocking motherboard and each inspection tooling board card, and commands are sent to the all-electronic interlocking board card and the lower computer of the inspection tooling board card and test data are obtained according to the defined communication frame, so that the test of all the all-electronic interlocking board cards is realized, the complexity of system connection can be effectively reduced, and the maintenance cost can be effectively reduced.
The all-electronic interlocking test system provided by each embodiment is optional, the upper computer comprises a plurality of processing modules, and the processing modules correspond to the tooling board cards to be tested one by one; and the processing module sends the test control command to the corresponding to-be-tested tooling board card and sends the interlocking control command to the inspection tooling board card to perform independent test management on the corresponding to-be-tested tooling board card.
It can be understood that the software included in the upper computer of the present invention can be divided into different processing modules according to structure and function, and the processing modules and the tested tooling board cards of the test object have a one-to-one correspondence relationship, and each processing module individually controls and tests the corresponding single to-be-tested tooling board card. The upper computer can simultaneously communicate with the lower computer of the all-electronic interlocking mainboard and the lower computer of the inspection tool through unified management of different modules.
That is to say, for the test content of each tool board card to be tested under the all-electronic interlock, the test content is respectively and correspondingly mastered by the separate processing module, and different processing modules correspondingly control and test different tool board cards to be tested. Any processing module is used as a test main body, and all test contents of the corresponding tool board to be tested are carried out in the processing module.
Specifically, when the processing module performs test control on the tool board card to be tested, the processing module can send a test control command to the corresponding tool board card to be tested and simultaneously send an interlocking control command to the inspection tool board card so as to realize linkage test control. After receiving the control command, the to-be-tested tooling board card and the inspection tooling board card can respectively return corresponding test data according to the control command. The processing module can perform independent test control on the corresponding tool board card to be tested by combining the test data returned by the tool board card to be tested and the test data returned by the inspection tool board card.
According to the invention, the independent test module management is carried out on the independent tool board card to be tested, so that the expandability of the upper computer is improved, and the newly added board card can be integrated into the existing test system only by adding a new module.
The all-electronic interlocking test system provided according to the above embodiments is optional, and the processing module includes a sending submodule and a receiving submodule; the sending module is used for probing a current sending information queue according to a first set frequency by using a first thread and sending information needing to be sent in the current sending information queue according to a second set frequency; the receiving module is used for receiving the test data fed back by the inspection tooling board card and the tooling board card to be tested in real time by using a second thread and pressing the information comprising the test data into different message queues.
As can be understood from the above embodiments, for each processing module in the upper computer, on one hand, a control command needs to be issued to the inspection tooling board card and the tooling board card to be tested, and on the other hand, test data returned by the inspection tooling board card and the tooling board card to be tested needs to be received. Therefore, it may be provided that the processing module further comprises two sub-modules for control command issuing and test data receiving, respectively, namely a sending sub-module and a receiving sub-module.
For the sending of the control instruction, the upper computer independently starts one thread, namely the first thread. By running the thread, according to the first set frequency, the current transmission information queue is probed in a mode of scanning once every corresponding period (such as 100ms), and the information needing to be transmitted is transmitted at the second set frequency or at the period (such as 100ms) corresponding to the second set frequency.
For receiving the test data, the upper computer independently uses one thread, namely a second thread, to receive all information targeting the host computer continuously, wherein the information comprises test data fed back by the inspection tooling board card and the tooling board card to be tested, and the like. And then, the collected information can be pushed into different queues according to a certain rule for other modules to use.
The invention enables different threads for sending and receiving information respectively, so that the sending and receiving of the information can be carried out in parallel, the efficiency is higher, and errors caused by mutual interference can be effectively avoided.
The all-electronic interlocking test system provided by each embodiment is optional, the upper computer further comprises a plurality of linkage modules, the linkage modules correspond to the inspection tooling board cards one to one, and each linkage module comprises an interface function; the processing module sends a linkage control command to the inspection tooling board card corresponding to the linkage module by calling an interface function of the linkage module, and receives test data fed back by the corresponding inspection tooling board card.
The control module can be a linkage module, and corresponds to a plurality of different inspection tool board cards, and the upper computer can comprise a plurality of different linkage modules. And, to realize the linkage, can set up the linkage module to include the interface function. The processing module calls an interface function of the linkage module, so that linkage control of the inspection tool board card can be realized.
That is to say, to the linkage test of inspection frock integrated circuit board, can adopt independent linkage module to realize. Through the mode of interface function, open control authority to the processing module of test subject, the processing module of test subject can control and data acquisition to inspection frock integrated circuit board side through calling the interface function, has realized the module separation of integrated circuit board test and frock linkage.
According to the invention, the individual linkage module management is carried out on the individual inspection tool board card, so that the expandability of the upper computer is improved, and the interface function of the linkage module is set, so that the processing module can realize the control on the inspection tool board card by directly calling the interface function, and the complexity of the control can be effectively reduced while the module separation is realized.
Optionally, the upper computer in the present invention may further include an expansion processing module and/or an expansion linkage module. The expansion processing module is used for accessing and expanding the to-be-tested tooling board card, and the expansion processing module carries out individual test management on the corresponding expansion inspection tooling board card by sending a test control command to the corresponding expansion to-be-tested tooling board card and sending an interlocking control command to the inspection tooling board card; the extension linkage module is used for accessing the extension inspection tool board card and comprises an interface function, and the processing module and/or the extension processing module sends a linkage control command to the extension inspection tool board card corresponding to the extension linkage module by calling the interface function of the extension linkage module and receives test data fed back by the corresponding extension inspection tool board card.
The upper computer in the invention completely adopts a UDP communication and switch connection mode, and simultaneously communicates with the all-electronic interlocked board card lower computer and the inspection tool lower computer, so that the connection mode and the communication mode among all the components in the system are consistent, and the expandability is stronger.
The expansion can be the expansion of the tooling board card to be tested, the expansion of the inspection tooling board card or the expansion of the tooling board card and the inspection tooling board card simultaneously. The expanded board cards can be respectively and correspondingly called an expanded tooling board card to be tested and an expanded inspection tooling board card.
Similar to the above embodiments, the upper computer also includes a processing module and a linkage module, which are respectively corresponding to the extended to-be-tested tooling board card and the extended inspection tooling board card, and are respectively called an extended processing module and an extended linkage module. Moreover, the function and the processing procedure of the extended processing module are similar to those of the processing modules in the above embodiments, and are not described here again to avoid repetition. For the extended linkage module, the action and the processing procedure are also similar to those of the linkage modules in the above embodiments, and are not repeated for avoiding repetition.
In the invention, because the lower computer controls the frame format to be uniform, the expandability degree is higher, and the newly added board card can be integrated into the existing test system only by accessing the expansion module through the arrangement of the expansion processing module and the expansion linkage module, and the operation is simple.
Based on the same inventive concept, the invention further provides a full electronic interlocking test method according to the embodiments, and the method realizes the test of the all electronic interlocking related tool board card to be tested by applying the full electronic interlocking test system provided by the embodiments. Therefore, the description and definition in the all-electronic interlock test system of the above embodiments may be used for understanding the related processing steps in the present invention, and specific reference may be made to the above embodiments, which are not described herein again.
According to an embodiment of the present invention, a processing flow of the all-electronic interlock testing method is shown in fig. 2, which is a schematic flow chart of the all-electronic interlock testing method provided by the present invention, and the method can be implemented by applying the all-electronic interlock testing system of each of the above embodiments, and specifically includes the following processing steps:
s201, the upper computer communicates by using a user datagram protocol UDP, sequentially passes through the switch, the communication control board and the all-electronic interlocking motherboard, sends a test control command to the to-be-tested tooling board card according to a predefined communication frame, and sends an interlocking control command to the inspection tooling board card through the switch.
The upper computer is completely connected with the switchboard through UDP communication, and simultaneously communicates with the board card lower computer and the inspection tool lower computer which are all interlocked electronically, and the current test item result is comprehensively judged through data fed back by the lower computer.
Specifically, in the step, the upper computer sends control commands to the tool board card to be tested and the inspection tool board card respectively according to the predefined communication frame so as to realize linkage control.
When a test control command is issued to the tooling board card to be tested, according to the connection mode shown in fig. 1, UDP communication is adopted to issue the test control command step by step through the switch, the pass-through control board and the all-electronic interlocking motherboard, and finally the test control command reaches the tooling board card to be tested.
When the linkage control command is issued to the inspection tooling board card, according to the connection mode shown in fig. 1, the linkage control command is forwarded to the inspection tooling board card needing linkage through the switch by adopting UDP communication.
S202, the upper computer receives test data fed back by the inspection tooling board card and the tooling board card to be tested, and obtains a test result of the tooling board card to be tested according to the test data.
It can be understood that after the control command is issued to the inspection tooling board card and the tooling board card to be tested, the test result data, that is, the test data, can be returned to the upper computer through the test processing of the inspection tooling board card and the tooling board card to be tested.
And then, the upper computer checks the respective test contents of different tool board cards to be tested according to the set logic, and the control commands and the feedback information of the tools are checked in a linkage manner through the control commands and the feedback information of the fully electronic interlocking board cards, so that whether the current test contents pass or not is comprehensively judged, and the test result can be displayed on an interface.
It should be understood that the test in the invention can be carried out by taking a single tool board card to be tested as a unit, and can also be carried out by freely combining different tool board cards to be tested, so as to achieve the purpose of testing the required combined board card.
According to the all-electronic interlocking test method provided by the invention, the upper computer is connected with the switch, UDP network communication can be used for simultaneously communicating with the all-electronic interlocking motherboard and each inspection tooling board card, and according to a defined communication frame, commands are sent to the all-electronic interlocking board card and the lower computer of the inspection tooling board card and test data are obtained, so that the test of all the all-electronic interlocking board cards is realized, the complexity of system connection can be effectively reduced, and the maintenance cost can be effectively reduced.
The all-electronic interlock test method provided according to the above embodiments is optional, and the method further includes: correspondingly starting a plurality of threads aiming at different tooling board cards to be tested; and based on the multiple threads, performing parallel test management on the to-be-tested tooling board cards by respectively sending the test control command to the to-be-tested tooling board cards and sending the interlocking control command to the inspection tooling board cards.
It can be understood that, in the present invention, based on a plurality of processing modules included in the upper computer, a plurality of different threads are started to respectively test different tooling board cards to be tested, wherein each thread can run in parallel at the same time. By running a plurality of threads in parallel, parallel verification testing of a plurality of different tool board cards to be tested can be realized.
And under each thread, the independent processing module sends a test control command to a single tool board card to be tested corresponding to the processing module, simultaneously sends an interlocking control command to a related inspection tool board card, receives test data returned by the tool board card to be tested and the inspection tool, and then carries out verification test on the corresponding tool board card to be tested according to the test data.
According to the invention, the upper computer starts a plurality of threads to control different modules to run, so that the test process is simple to operate, the test speed is high, the result is accurate, the unfriendly blocking phenomenon on the interface can be avoided or reduced, and the smooth running of software is ensured.
The all-electronic interlock testing method provided according to the above embodiments is optional, the threads correspond to the tooling board cards to be tested one to one, and the method further includes: and under each single thread in the multiple threads, carrying out independent test management on the tooling board card to be tested corresponding to the single thread.
It can be understood that a plurality of different threads can be started to test a plurality of different tool boards to be tested, and the threads and the test object, namely the tool boards to be tested, have a one-to-one correspondence relationship, and each thread individually controls and tests a single tool board to be tested corresponding to the thread.
That is to say, the test content of each tooling board card to be tested under the all-electronic interlocking is correspondingly and respectively carried out under a single thread, and the corresponding control and test of different tooling board cards to be tested are carried out under different threads. And for any thread, all the test contents of the corresponding tool board to be tested are carried out under the thread.
According to the invention, by testing a single tool board card to be tested under a single thread, the expandability of the scheme is improved, the interference influence among different testing processes can be effectively avoided, and the accuracy is higher.
The all-electronic interlock test method provided according to the above embodiments is optional, and the method further includes: and automatically carrying out multiple rounds of aging tests according to the set safety logic by using the upper computer through presetting the total times of the aging tests, and carrying out aging analysis on the tooling board card to be tested according to the results of the multiple tests.
It can be understood that, in addition to the single tool board to be tested being selected to perform a test, the present invention can also automatically perform multiple rounds of aging test experiments by setting the total number of aging tests according to the set safety logic, and in each round of testing experiments, the upper computer determines whether the current test content passes through by comparing the data of the motherboard and the tool board to be tested.
On the basis that the test results of each test are obtained by finishing multiple aging test experiments, the aging condition of the tool board card to be tested can be determined by performing aging analysis on the test results of multiple tests. Optionally, the aging test report can be automatically printed according to the result of the aging analysis, so as to realize visual display of the test result.
According to the invention, through setting the aging test times, the multi-round automatic aging test and analysis are carried out on the tooling board card to be tested, and the aging condition of the tooling board card to be tested can be determined according to the test result, so that the quality of the board card is guaranteed, and the risk items caused by the quality problem of the board card are effectively reduced. Meanwhile, the automation degree is high, so that the labor cost of testers can be reduced.
The method for testing the full-electronic interlock provided by each embodiment is optional, and the sending of the test control command to the tooling board card to be tested according to the predefined communication frame and the sending of the interlock control command to the inspection tooling board card through the switch includes: based on the first thread, probing the current sending information queue according to a first set frequency, and sending information needing to be sent in the current sending information queue according to a second set frequency. The receiving of the test data fed back by the inspection tooling board card and the tooling board card to be tested comprises the following steps: and based on a second thread, receiving test data fed back by the inspection tooling board card and the tooling board card to be tested in real time, and pressing information comprising the test data into different message queues.
It can be understood that, for each processing module in the upper computer, on one hand, a control command needs to be issued to the inspection tooling board card and the tooling board card to be tested, and on the other hand, test data returned by the inspection tooling board card and the tooling board card to be tested needs to be received. Therefore, to improve efficiency and reduce the interaction between information transmission and reception, two separate threads, referred to as a first thread and a second thread, may be activated for transmission and reception of information, respectively.
For the sending of the control instruction, the upper computer independently starts the first thread. By running the thread, according to the first set frequency, the current transmission information queue is probed in a mode of scanning once every corresponding period (such as 100ms), and the information needing to be transmitted is transmitted at the second set frequency or at the period (such as 100ms) corresponding to the second set frequency.
For receiving the test data, the upper computer independently uses the second thread to receive all information targeting the host continuously, and the information comprises test data fed back by the inspection tool board card and the tool board card to be tested and the like. And then, the collected information can be pushed into different queues according to a certain rule for other modules to use.
The invention enables different threads for sending and receiving information respectively, so that the sending and receiving of the information can be carried out in parallel, the efficiency is higher, and errors caused by mutual interference can be effectively avoided.
As a further aspect of the present invention, the present invention further provides an electronic device according to the above embodiments, where the electronic device includes a memory, a processor, and a program or instructions stored in the memory and executable on the processor, and the processor executes the program or instructions to implement the steps of the all-electronic interlock testing method according to the above embodiments.
Further, the electronic device of the present invention may further include a communication interface and a bus. Referring to fig. 3, an entity structure diagram of the electronic device provided by the present invention includes: at least one memory 301, at least one processor 302, a communication interface 303, and a bus 304.
The memory 301, the processor 302 and the communication interface 303 complete mutual communication through the bus 304, and the communication interface 303 is used for information transmission between the electronic device and an upper computer; stored in memory 301 are programs or instructions that are executable on processor 302 and when executed by processor 302 perform the steps of the all-electronic interlock testing method as described in the various embodiments above.
It is understood that the electronic device at least comprises a memory 301, a processor 302, a communication interface 303 and a bus 304, and the memory 301, the processor 302 and the communication interface 303 are connected to each other through the bus 304 in a communication manner, and can complete the communication with each other, for example, the processor 302 reads the program instructions of the all-electronic interlocking test method from the memory 301. In addition, the communication interface 303 may also implement communication connection between the electronic device and an upper computer, and may complete mutual information transmission, for example, implement reading of test data through the communication interface 303.
When the electronic device is running, the processor 302 calls the program instructions in the memory 301 to execute the methods provided by the above-mentioned method embodiments, including for example: adopting a User Datagram Protocol (UDP) for communication, sequentially passing through the switch, the communication control board and the all-electronic interlocking motherboard, sending a test control command to the tool board card to be tested according to a predefined communication frame, and sending an interlocking control command to the inspection tool board card through the switch; and receiving test data fed back by the inspection tool board card and the tool board card to be tested, and acquiring a test result and the like of the tool board card to be tested according to the test data.
The program instructions in the memory 301 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Alternatively, all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, where the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present invention also provides a non-transitory computer readable storage medium according to the above embodiments, on which a program or instructions are stored, the program or instructions, when executed by a computer, implement the steps of the all-electronic interlock testing method according to the above embodiments, for example, including: adopting a User Datagram Protocol (UDP) for communication, sequentially passing through the switch, the communication control board and the all-electronic interlocking motherboard, sending a test control command to the tool board card to be tested according to a predefined communication frame, and sending an interlocking control command to the inspection tool board card through the switch; and receiving test data fed back by the inspection tool board card and the tool board card to be tested, and acquiring a test result and the like of the tool board card to be tested according to the test data.
As a further aspect of the present invention, the present embodiment further provides a computer program product according to the above embodiments, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the all-electronic interlocking testing method provided by the above method embodiments.
According to the electronic equipment, the non-transitory computer readable storage medium and the computer program product provided by the invention, by executing the steps of the all-electronic interlocking test method described in each embodiment, the all-electronic interlocking motherboard and each inspection tooling board card can be simultaneously communicated by using UDP network communication, and according to a defined communication frame, commands are sent to the all-electronic interlocking board card and the lower computer of the inspection tooling board card and test data are obtained, so that the test on all the all-electronic interlocking board cards is realized, the complexity of system connection can be effectively reduced, and the maintenance cost can be effectively reduced.
It will be appreciated that the embodiments of the system described above are merely illustrative, in that elements illustrated as separate components may or may not be physically separate, may be located in one place, or may be distributed over different network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the technical solutions mentioned above may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a usb disk, a removable hard disk, a ROM, a RAM, a magnetic or optical disk, etc., and includes several instructions for causing a computer device (such as a personal computer, a server, or a network device, etc.) to execute the methods described in the method embodiments or some parts of the method embodiments.
In addition, it should be understood by those skilled in the art that the terms "comprises," "comprising," or any other variation thereof, in the specification of the present invention, 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.
In the description of the present invention, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description. Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
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 invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An all electronic interlock test system, comprising: the system comprises an upper computer, a switch, an all-electronic interlocking motherboard, a checking fixture board card and a fixture board card to be tested;
the upper computer is in communication connection with the switch through a User Datagram Protocol (UDP), the switch is connected with the all-electronic interlocking motherboard through a communication control board, the switch is connected with the inspection tooling board card, and the all-electronic interlocking motherboard is connected with the to-be-tested tooling board card;
the upper computer is used for sending a test control command to the to-be-tested tooling board card according to a predefined communication frame, sending an interlocking control command to the inspection tooling board card, and receiving test data fed back by the inspection tooling board card and the to-be-tested tooling board card so as to obtain a test result of the to-be-tested tooling board card according to the test data.
2. The all-electronic interlocking test system according to claim 1, wherein the upper computer comprises a plurality of processing modules, and the processing modules correspond to the tooling boards to be tested one to one;
and the processing module sends the test control command to the corresponding to-be-tested tooling board card and sends the interlocking control command to the inspection tooling board card to perform independent test management on the corresponding to-be-tested tooling board card.
3. The all-electronic interlocking test system according to claim 2, further comprising a plurality of linkage modules in the upper computer, wherein the linkage modules correspond to the inspection tooling boards one to one, and the linkage modules comprise interface functions;
the processing module sends a linkage control command to the inspection tooling board card corresponding to the linkage module by calling an interface function of the linkage module, and receives test data fed back by the corresponding inspection tooling board card.
4. The all-electronic interlock test system according to any of claims 1-3, wherein the processing module comprises a transmitting sub-module and a receiving sub-module;
the sending module is used for probing a current sending information queue according to a first set frequency by using a first thread and sending information needing to be sent in the current sending information queue according to a second set frequency;
the receiving module is used for receiving the test data fed back by the inspection tooling board card and the tooling board card to be tested in real time by using a second thread and pressing the information comprising the test data into different message queues.
5. The all-electronic interlocking test system according to any one of claims 1 to 3, wherein the tooling board card to be tested comprises at least one of:
a safety input board card;
scattered input board cards;
a safety output board card;
scattered output board cards;
a signal machine board card;
a switch board card;
reordering the cache ROB board card;
the inspection tooling board card comprises at least one of the following components:
the tool inputs and/or outputs the port board card;
a tooling signal machine board card;
and (5) tooling a switch board card.
6. An all-electronic interlock test method based on the all-electronic interlock test system according to any one of claims 1 to 5, comprising:
the upper computer adopts a User Datagram Protocol (UDP) for communication, sequentially passes through the switch, the communication control board and the all-electronic interlocking motherboard, sends a test control command to the tool board card to be tested according to a predefined communication frame, and sends an interlocking control command to the inspection tool board card through the switch;
and the upper computer receives the test data fed back by the inspection tooling board card and the tooling board card to be tested and acquires a test result of the tooling board card to be tested according to the test data.
7. The all-electronic interlock test method according to claim 6, further comprising:
correspondingly starting a plurality of threads aiming at different tooling board cards to be tested;
and based on the multiple threads, performing parallel test management on the to-be-tested tooling board cards by respectively sending the test control command to the to-be-tested tooling board cards and sending the interlocking control command to the inspection tooling board cards.
8. The all-electronic interlocking test method according to claim 7, wherein the threads correspond to the tooling boards to be tested one to one, the method further comprising:
and under each single thread in the multiple threads, carrying out independent test management on the tooling board card to be tested corresponding to the single thread.
9. The all-electronic interlock test method according to any one of claims 6 to 8, further comprising:
and automatically carrying out multiple rounds of aging tests according to the set safety logic by using the upper computer through presetting the total times of the aging tests, and carrying out aging analysis on the tooling board card to be tested according to the results of the multiple tests.
10. The all-electronic interlock test method according to any one of claims 6 to 8, wherein the sending a test control command to the tooling board to be tested according to a predefined communication frame and sending an interlock control command to the inspection tooling board through the switch comprises:
based on a first thread, probing a current sending information queue according to a first set frequency, and sending information needing to be sent in the current sending information queue according to a second set frequency;
the receiving of the test data fed back by the inspection tooling board card and the tooling board card to be tested comprises the following steps:
and based on a second thread, receiving test data fed back by the inspection tooling board card and the tooling board card to be tested in real time, and pressing information comprising the test data into different message queues.
CN202110984060.1A 2021-08-25 2021-08-25 Full-electronic interlocking test system and method Pending CN113791329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110984060.1A CN113791329A (en) 2021-08-25 2021-08-25 Full-electronic interlocking test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110984060.1A CN113791329A (en) 2021-08-25 2021-08-25 Full-electronic interlocking test system and method

Publications (1)

Publication Number Publication Date
CN113791329A true CN113791329A (en) 2021-12-14

Family

ID=79182220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110984060.1A Pending CN113791329A (en) 2021-08-25 2021-08-25 Full-electronic interlocking test system and method

Country Status (1)

Country Link
CN (1) CN113791329A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060004435A (en) * 2004-07-09 2006-01-12 한국철도기술연구원 Auto-testing device for electronic interlocking system and control method thereof
JP2008249330A (en) * 2007-03-29 2008-10-16 Nec Saitama Ltd Apparatus and method for testing device under test, and tool for cutting and connecting transmission cable
CN107831392A (en) * 2017-11-29 2018-03-23 卡斯柯信号有限公司 A kind of all-electronin interlocks hardware intelligent test system
CN108922641A (en) * 2018-05-31 2018-11-30 北京广利核系统工程有限公司 The routine test device and method of high temperature reactor of nuclear power plant protection system
CN109270373A (en) * 2018-09-14 2019-01-25 北京全路通信信号研究设计院集团有限公司 A kind of all-electronin interlocking test macro and method
CN112202832A (en) * 2020-08-25 2021-01-08 通号城市轨道交通技术有限公司 Method and system for monitoring and processing data of main and sub-stations
CN112230562A (en) * 2020-08-25 2021-01-15 通号城市轨道交通技术有限公司 System and method for full-electronic interlocking simulation test of urban rail
CN112306039A (en) * 2020-10-15 2021-02-02 通号城市轨道交通技术有限公司 Debugging method and system for full-electronic interlocking system
CN112737886A (en) * 2020-12-29 2021-04-30 交控科技股份有限公司 Tool testing method and system
CN112977543A (en) * 2021-05-10 2021-06-18 北京全路通信信号研究设计院集团有限公司 Full electronic computer interlocking method and system based on closed link
CN113060185A (en) * 2021-04-06 2021-07-02 新誉庞巴迪信号系统有限公司 Novel full-electronic interlocking turnout control method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060004435A (en) * 2004-07-09 2006-01-12 한국철도기술연구원 Auto-testing device for electronic interlocking system and control method thereof
JP2008249330A (en) * 2007-03-29 2008-10-16 Nec Saitama Ltd Apparatus and method for testing device under test, and tool for cutting and connecting transmission cable
CN107831392A (en) * 2017-11-29 2018-03-23 卡斯柯信号有限公司 A kind of all-electronin interlocks hardware intelligent test system
CN108922641A (en) * 2018-05-31 2018-11-30 北京广利核系统工程有限公司 The routine test device and method of high temperature reactor of nuclear power plant protection system
CN109270373A (en) * 2018-09-14 2019-01-25 北京全路通信信号研究设计院集团有限公司 A kind of all-electronin interlocking test macro and method
CN112202832A (en) * 2020-08-25 2021-01-08 通号城市轨道交通技术有限公司 Method and system for monitoring and processing data of main and sub-stations
CN112230562A (en) * 2020-08-25 2021-01-15 通号城市轨道交通技术有限公司 System and method for full-electronic interlocking simulation test of urban rail
CN112306039A (en) * 2020-10-15 2021-02-02 通号城市轨道交通技术有限公司 Debugging method and system for full-electronic interlocking system
CN112737886A (en) * 2020-12-29 2021-04-30 交控科技股份有限公司 Tool testing method and system
CN113060185A (en) * 2021-04-06 2021-07-02 新誉庞巴迪信号系统有限公司 Novel full-electronic interlocking turnout control method and system
CN112977543A (en) * 2021-05-10 2021-06-18 北京全路通信信号研究设计院集团有限公司 Full electronic computer interlocking method and system based on closed link

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
乔增光: "全电子联锁执行单元的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 01, 15 January 2019 (2019-01-15), pages 140 - 2249 *

Similar Documents

Publication Publication Date Title
CN106294120B (en) Method, apparatus and computer program product for testing code
CN110375961B (en) Automatic test method and system for optical module
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
US20120095718A1 (en) Automatic testing system and method
KR101414720B1 (en) Functional safety testing device for train control system software and the method thereof
CN108802511B (en) Method and system for testing battery management unit
CN112737886B (en) Tool testing method and system, electronic equipment and storage medium
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
CN113255271A (en) Automatic verification system and method for IO pin of chip
CN110708214B (en) Service data display method, device, equipment and computer readable storage medium
WO2016061936A1 (en) Single-board test method and device, storage medium
CN114281675A (en) Test environment configuration method and device of CBTC (communication based train control) system and electronic equipment
CN110596569A (en) PCBA board testing method and device
CN113791329A (en) Full-electronic interlocking test system and method
CN110008074B (en) Method, device and equipment for automatically testing and inquiring upper-layer interface of hardware information
CN114564405A (en) Test case checking method and system based on log monitoring
CN113986753A (en) Interface test method, device, equipment and storage medium
CN115878448A (en) Database test method, distributed database and storage medium
CN110554936A (en) SSD (solid State disk) testing method and system
CN110493078A (en) A kind of method and its system promoting SSD product test efficiency
CN117871037A (en) Method, system, computing device and medium for testing display screen
CN115825704B (en) Method, device, system, equipment and medium for testing projection mainboard
CN115507050A (en) Fan board testing system and method
CN115454734A (en) Safety computer platform test system and method
CN111061249A (en) Automatic test system of enhanced train control system wireless block controller

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