Method and device for controlling inspection operations of a high-speed inspection train

Through Socket network communication and multi-threading technology, the high-speed integrated inspection train realizes centralized control and distributed computing, which solves the problem of manpower occupation of inspection equipment, improves inspection efficiency and equipment adaptability in complex environments.

CN116582463BActive Publication Date: 2026-05-01CHINA ACADEMY OF RAILWAY SCI CORP LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA ACADEMY OF RAILWAY SCI CORP LTD
Filing Date
2023-02-15
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The existing high-speed comprehensive inspection trains require a large number of inspection personnel, which leads to excessive human resource consumption, increases inspection costs and affects efficiency, and cannot meet the inspection needs in complex environments.

Method used

By employing Socket network communication and multi-threading technology, a connection is established between the testing equipment and the server network port pre-configured by the testing personnel, enabling centralized control and distributed computing, reducing manpower consumption, and improving the adaptability and reliability of the testing equipment.

Benefits of technology

It has enabled efficient execution of testing operations, reduced manpower requirements, lowered testing costs, and improved the adaptability and reliability of testing equipment in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116582463B_ABST
    Figure CN116582463B_ABST
Patent Text Reader

Abstract

The application discloses a kind of detection service control method and device of high-speed comprehensive detection train, the method includes: according to the server network port of detection personnel pre-configured, create Socket object, wait for multiple detection equipment connection;When there is detection equipment to issue connection request, respectively with each detection equipment establishes Socket network communication, wherein each detection equipment corresponds to a thread;When receiving the detection service start instruction issued by detection personnel, according to pre-configured detection service information, control instruction is issued to detection equipment through Socket network communication;Each control instruction corresponds to a detection equipment, and each control instruction is received and analyzed after in the thread of corresponding detection equipment, and is executed by corresponding detection equipment;The control instruction execution result fed back by receiving detection equipment through corresponding thread is shown to detection personnel, can reduce the occupation of human resources, improve detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Inspection Operation Control Methods and Devices for High-Speed ​​Integrated Inspection Trains Technical Field

[0001] This invention relates to the field of infrastructure inspection technology for high-speed integrated inspection trains, and in particular to a method and device for controlling the inspection operations of high-speed integrated inspection trains. Background Technology

[0002] This section is intended to provide background or context for embodiments of the present invention. The description herein is not intended to imply that it is prior art simply because it is included in this section.

[0003] Currently, because the existing high-speed comprehensive inspection trains adopt an architecture that integrates and interacts with inspectors based on inspection equipment, the operation and maintenance of the equipment requires that each inspection device must be equipped with one inspector to manage the equipment's operating status. This consumes too much human resources, increases inspection costs, and affects inspection efficiency. At the same time, due to the gradual accumulation of high-speed railway operation experience, the professional integration of inspection equipment, the improvement of comprehensive evaluation requirements, and the emergence of application scenarios such as the construction of new lines with higher speeds, new demands have been placed on the inspection business control methods of high-speed comprehensive inspection trains.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a method for controlling the inspection operations of a high-speed integrated inspection train, which reduces the occupation of human resources, saves inspection costs, improves inspection efficiency, and enhances the adaptability and reliability of inspection equipment in complex environments when performing inspection operations. The method includes:

[0006] Based on the server network port pre-configured by the testing personnel, a Socket object is created, waiting for multiple testing devices to connect;

[0007] When a detection device sends a connection request, a Socket network communication is established with each detection device, with each detection device corresponding to a thread.

[0008] Upon receiving the inspection service start instruction from the inspection personnel, the system sends control instructions to the inspection equipment via Socket network communication based on the pre-configured inspection service information. Each control instruction corresponds to one inspection equipment, and each control instruction is received and parsed in the thread of the corresponding inspection equipment before being executed by the corresponding inspection equipment.

[0009] The system receives the execution results of control commands from the testing equipment via the corresponding thread and displays these results to the testing personnel.

[0010] This invention also provides a testing operation control device for a high-speed integrated testing train, used to reduce the occupation of human resources, save testing costs, improve testing efficiency, and enhance the adaptability and reliability of testing equipment in complex environments when performing testing operations. The device includes:

[0011] The object creation module is used to create Socket objects based on the server network port pre-configured by the inspectors, and wait for multiple inspection devices to connect.

[0012] The network communication establishment module is used to establish Socket network communication with each detection device when a detection device sends a connection request, with each detection device corresponding to one thread;

[0013] The control command issuing module is used to send control commands to the testing equipment via Socket network communication based on the pre-configured testing service information when it receives the testing service start command issued by the testing personnel. Each control command corresponds to a testing equipment, and each control command is received and parsed in the thread of the corresponding testing equipment and then executed by the corresponding testing equipment.

[0014] The execution result receiving and display module is used to receive the execution results of control commands fed back by the testing equipment through the corresponding thread, and display the execution results of the control commands to the testing personnel.

[0015] This invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the above-mentioned high-speed integrated inspection train inspection operation control method.

[0016] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned high-speed integrated inspection train inspection business control method.

[0017] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described high-speed integrated inspection train inspection business control method.

[0018] In this embodiment of the invention, a Socket object is created based on the server network port pre-configured by the inspector, and multiple inspection devices are allowed to connect. When an inspection device sends a connection request, Socket network communication is established with each inspection device, with each inspection device corresponding to a thread. Upon receiving the inspection service start instruction from the inspector, control instructions are sent to the inspection devices via Socket network communication based on the pre-configured inspection service information. Each control instruction corresponds to one inspection device, and each control instruction is received and parsed in the thread of the corresponding inspection device before being executed by the corresponding inspection device. The execution result of the control instruction is received from the inspection device through the corresponding thread and displayed to the inspector.

[0019] By pre-configuring server network ports and detection business information, running multi-threaded control distributed computing technology and centralized data management mode, and using Socket network communication to transmit control commands to the corresponding detection devices, and simultaneously scheduling and controlling multiple detection devices, the use of manpower can be reduced, detection costs can be saved, detection efficiency can be improved, and the adaptability and reliability of detection equipment in complex environments can be enhanced when performing detection business. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0021] Figure 1 is a flowchart of the detection business control method of the high-speed integrated inspection train in an embodiment of the present invention;

[0022] Figure 2 is a flowchart of a method for creating, activating, and reclaiming threads in an embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of a specific example of a thread pool thread in an embodiment of the present invention;

[0024] Figure 4 is a flowchart of a specific method for the detection operation control method of a high-speed integrated inspection train in an embodiment of the present invention;

[0025] Figure 5 is a schematic diagram of the structure of the inspection business control device of the high-speed comprehensive inspection train in an embodiment of the present invention;

[0026] Figure 6 is a schematic diagram of a specific example of the detection business control device of the high-speed integrated inspection train in an embodiment of the present invention;

[0027] Figure 7 is a schematic diagram of a specific example of the detection business control device of the high-speed integrated inspection train in an embodiment of the present invention;

[0028] Figure 8 is a schematic diagram of a computer device structure according to an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0030] First, let's explain the technical terms used in this invention:

[0031] Socket: A socket is an abstraction of an endpoint for bidirectional communication between application processes on different hosts on a network. A socket is one end of the communication between processes on the network, providing a mechanism for application-layer processes to exchange data using network protocols. In terms of its position, a socket connects to the application process above and the network protocol stack below; it is the interface through which applications communicate via network protocols and the interface through which applications interact with the network protocol stack.

[0032] The inventors discovered that, due to the current architecture of high-speed integrated inspection trains, which integrates inspection equipment with inspectors, the operation and maintenance of the equipment requires one inspector for each piece of equipment to manage its operational status. This consumes excessive human resources, increases inspection costs, and affects inspection efficiency. Furthermore, with technological advancements, increased comprehensive evaluation requirements, and the emergence of more application scenarios, new demands have been placed on the inspection operation control methods for high-speed integrated inspection trains. Therefore, the inventors propose a new inspection operation control method for high-speed integrated inspection trains to address these issues.

[0033] Figure 1 is a flowchart of the inspection service control method for a high-speed integrated inspection train in an embodiment of the present invention. As shown in Figure 1, the inspection service control method for a high-speed integrated inspection train in an embodiment of the present invention may include:

[0034] Step 101: Create a Socket object based on the server network port pre-configured by the testing personnel, and wait for multiple testing devices to connect;

[0035] Step 102: When a detection device sends a connection request, establish Socket network communication with each detection device, with each detection device corresponding to one thread;

[0036] Step 103: Upon receiving the inspection service start instruction from the inspection personnel, control instructions are sent to the inspection equipment via Socket network communication according to the pre-configured inspection service information; each control instruction corresponds to one inspection equipment, and each control instruction is received and parsed in the thread of the corresponding inspection equipment and then executed by the corresponding inspection equipment.

[0037] Step 104: Receive the control command execution results fed back by the testing equipment through the corresponding thread, and display the control command execution results to the testing personnel.

[0038] The specific steps of the high-speed integrated inspection train inspection service control method in this embodiment of the invention are described below:

[0039] Before implementing the high-speed integrated inspection train inspection service control method of the present invention, the inspection personnel can first perform the following configuration operations on the human-machine interface: configure the server network port and inspection service information.

[0040] In one embodiment, the detection service information includes detection route information, detection train information, and detection equipment information; wherein, the detection route information includes: detection route name information, detection route number information, detection route mileage information, detection route starting station information, and detection route ending station information; the detection train information includes: detection train number information, detection train heading direction information, and detection train pantograph information; the detection equipment information includes: detection equipment attribute information, detection equipment software installation information, detection equipment network IP address, and detection equipment communication protocol information.

[0041] After the inspector completes the configuration operation on the human-machine interface, the background system of the human-machine interface can create a Socket object according to the pre-configured server network port and wait for multiple inspection devices to connect. When an inspection device sends a connection request, a Socket network communication is established with each inspection device, with each inspection device corresponding to a thread.

[0042] In practice, when a detection device sends a connection request, the HMI backend system can establish Socket network communication with each detection device through a three-way handshake. Socket network communication allows for real-time monitoring, multiplexing, and full-duplex communication; under the Socket protocol, both the detection device and the HMI backend system can send and receive information simultaneously.

[0043] When a testing service start command is received from the testing personnel on the human-machine interface, a control command can be sent to the testing device via Socket network communication based on the pre-configured testing service information. Each control command corresponds to a testing device, and after being received and parsed in the thread of the corresponding testing device, it can be executed by the corresponding testing device.

[0044] For each testing device, corresponding operations can be executed based on the parsed control instructions, and the execution results of the control instructions can be fed back to the human-machine interface backend system through the corresponding thread. Next, the human-machine interface backend system can display the execution results of the control instructions fed back by all testing devices to the testing personnel.

[0045] The following describes in detail the thread creation, activation, and termination process in an embodiment of the present invention. Figure 2 is a flowchart of a method for creating, activating, and terminating threads in an embodiment of the present invention. As shown in Figure 2, in one embodiment, it may further include:

[0046] Step 201: Create a fixed number of threads based on the detection equipment information, and suspend the threads to wait for tasks, where the number of threads is equal to the number of detection devices;

[0047] Step 202: When establishing Socket network communication with each detection device, activate the thread corresponding to each detection device;

[0048] Step 203: After each control command is received, parsed, and the execution result is fed back in the thread of the corresponding detection device, the thread of the corresponding detection device is reclaimed.

[0049] In practice, a fixed number of threads can be created based on the information of the detection equipment, and these threads can be suspended to wait for tasks. The tasks refer to the reception and parsing of control commands, as well as the feedback of the execution results, all accomplished through multi-threading. Parsing involves resolving the control commands according to the communication protocol information corresponding to the detection equipment, locating the corresponding detection equipment using the identifier obtained after parsing the control commands, and sending the required commands to the corresponding detection equipment.

[0050] Alternatively, tasks can be set in the thread pool based on Socket network communication, and the thread can be activated to execute the task. After the task is completed, the thread can be recycled, which can avoid resource waste. Figure 3 is a schematic diagram of a specific example of a thread pool thread in an embodiment of the present invention. As shown in Figure 3, a thread pool thread can specifically include the following states:

[0051] In state ①, the thread pool thread has successfully created the task thread, and the task thread is suspended at point ③.

[0052] In state ②, the thread pool thread has already run a V, P operation to activate the task; the task thread will also run to state ④ to execute the task.

[0053] Here, the purpose of m_Cond_Run is to tell the task thread that it needs to start; m_Cond_IsTaskRun is the task thread replying to the thread pool thread that the task has started normally.

[0054] ⑤ The location is where the thread pool sent the instruction to terminate the task thread, and the P operation is used to wait for the task thread to finish;

[0055] The purpose of m_Cond_IsRunning is to inform the task thread that it can now be reclaimed after the task has been paused and its resources have been successfully recycled.

[0056] In one embodiment, after displaying the control command execution result to the testing personnel, the method may further include: receiving a testing service adjustment instruction issued by the testing personnel; re-issuing a new control instruction to the testing device via Socket network communication based on the testing service adjustment instruction issued by the testing personnel; receiving the new control command execution result fed back by the testing device through the corresponding thread; and displaying the new control command execution result to the testing personnel.

[0057] In practice, after obtaining the control command execution results through the human-machine interface (HMI), the testing personnel can understand the actual execution status of each testing device's testing tasks based on these results. At this point, the testing personnel can also adjust the execution content of the testing tasks based on the actual execution status of each testing device and issue testing task adjustment instructions to the HMI backend system. The HMI backend system then reissues new control commands to the testing devices via Socket network communication. A star network topology can be used, connecting the HMI control system and all testing devices on the testing line using a switch with routing capabilities.

[0058] Figure 4 is a flowchart of a specific method for the detection operation control method of a high-speed integrated inspection train in an embodiment of the present invention. As shown in Figure 4, from left to right, the following operation steps can be included:

[0059] (1) The testing personnel can first configure the server network port and testing business information in the human-machine interface and send it to the background system of the human-machine interface. The background system of the human-machine interface can create a Socket object according to the server network port pre-configured by the testing personnel and wait for the connection of testing device 1, testing device 2, testing device 3... testing device N; the testing personnel can also start the testing business, adjust the testing business, and issue other related instructions in the human-machine interface.

[0060] (2) When a connection request is sent by detection device 1, detection device 2, detection device 3... detection device N, the human-machine interface backend system can establish Socket network communication with each detection device respectively, where detection device 1, detection device 2, detection device 3... detection device N correspond to thread 1, thread 2, thread 3... thread N respectively;

[0061] (3) When the human-machine interface backend system receives the inspection service start instruction issued by the inspection personnel, it can send control instructions to inspection device 1, inspection device 2, inspection device 3... inspection device N through Socket network communication according to the pre-configured inspection service information; wherein, each control instruction corresponds to one inspection device;

[0062] (4) Next, a distributed processing mechanism cluster is used to complete the reception, parsing, and feedback of control commands through processing mechanism 1, processing mechanism 2, processing mechanism 3... processing mechanism N. That is, in thread 1, thread 2, thread 3... thread N: first, the control commands of detection device 1, detection device 2, detection device 3... detection device N are received and parsed respectively, so that detection device 1, detection device 2, detection device 3... detection device N can perform corresponding operations according to the parsed content of the control commands; then, the control command execution results fed back by detection device 1, detection device 2, detection device 3... detection device N are received respectively; finally, the control command execution results fed back by detection device 1, detection device 2, detection device 3... detection device N are sent to the human-machine interface backend system through Socket network communication.

[0063] The distributed testing control technology employs internationally standardized Socket network communication programming. By pre-setting network listening ports, it utilizes multi-threaded distributed computing technology and a centralized data management model. Based on pre-configured testing business information by testing personnel, it issues various commands to each testing device, including control commands, parameter commands, and task initiation commands. This enables the testing devices to automatically and coordinately complete the entire testing process and allows for real-time control of each device. A star network topology can also be used, connecting the human-machine interface backend system and all testing devices on the testing line via a switch with routing capabilities.

[0064] The beneficial effects of the embodiments of the present invention are as follows:

[0065] (1) Based on the existing high-speed comprehensive inspection train, the various inspection equipment of the high-speed comprehensive inspection train can be centrally controlled by the centralized control and distributed control technology.

[0066] (2) Optimize the human-machine interaction mode of the detection system to achieve unified control of the entire vehicle detection subsystem, thereby reducing the number of on-board inspection personnel.

[0067] (3) Establish a testing and production center to achieve unified scheduling and management of testing tasks, testing equipment, and testing personnel, thereby improving overall testing efficiency. This will enhance the adaptability and reliability of testing equipment in complex environments.

[0068] (4) By adopting wired network communication and data synchronization control technology, technical support is provided for the remote control real-time transmission and vehicle-to-ground collaborative analysis of the ground execution detection system.

[0069] This invention also provides a detection service control device for a high-speed integrated inspection train, as described in the following embodiments. Since the principle by which this device solves the problem is similar to the detection service control method for a high-speed integrated inspection train, the implementation of this device can refer to the implementation of the detection service control method for a high-speed integrated inspection train; repeated details will not be elaborated further.

[0070] Figure 5 is a schematic diagram of the inspection operation control device of the high-speed comprehensive inspection train in an embodiment of the present invention. As shown in Figure 5, the inspection operation control device of the high-speed comprehensive inspection train in an embodiment of the present invention may specifically include:

[0071] The object creation module 501 is used to create Socket objects based on the server network port pre-configured by the inspectors, and wait for multiple inspection devices to connect.

[0072] The network communication establishment module 502 is used to establish Socket network communication with each detection device when a detection device sends a connection request, wherein each detection device corresponds to one thread;

[0073] The control command issuing module 503 is used to send control commands to the testing equipment via Socket network communication based on the pre-configured testing service information when it receives a testing service start command issued by the testing personnel. Each control command corresponds to a testing equipment, and each control command is received and parsed in the thread of the corresponding testing equipment and then executed by the corresponding testing equipment.

[0074] The execution result receiving and display module 504 is used to receive the execution result of the control command fed back by the testing equipment through the corresponding thread, and display the execution result of the control command to the testing personnel.

[0075] In one embodiment, the testing service information includes testing line information, testing train information, and testing equipment information;

[0076] The route information includes: route name, route number, route mileage, starting station, and ending station.

[0077] The information for the inspected train includes: the train number, the direction of the train's head, and the pantograph information.

[0078] The testing equipment information includes: the testing equipment's attribute information, the testing equipment's software installation information, the testing equipment's network IP address, and the testing equipment's communication protocol information.

[0079] Figure 6 is a schematic diagram of a specific example of the inspection service control device for a high-speed integrated inspection train in an embodiment of the present invention. As shown in Figure 6, in this embodiment, the inspection service control device for the high-speed integrated inspection train shown in Figure 5 may further include:

[0080] Thread creation module 601 is used for:

[0081] A fixed number of threads are created based on the detection equipment information, and the threads are suspended to wait for tasks, where the number of threads is equal to the number of detection devices.

[0082] When establishing Socket network communication with each detection device, the thread corresponding to each detection device is activated;

[0083] After each control command is received and parsed in the corresponding detection device's thread, the corresponding detection device's thread is reclaimed.

[0084] Figure 7 is a schematic diagram of a specific example of the inspection service control device for a high-speed integrated inspection train in an embodiment of the present invention. As shown in Figure 7, in this embodiment, the inspection service control device for the high-speed integrated inspection train shown in Figure 5 may further include:

[0085] The control command retransmission module 701 is used after the execution result receiving and display module 504 displays the control command execution result to the inspection personnel:

[0086] Receive the testing service adjustment instructions issued by the testing personnel, and resend new control instructions to the testing equipment through Socket network communication according to the testing service adjustment instructions issued by the testing personnel;

[0087] The system receives the execution results of new control commands from the testing equipment via the corresponding thread and displays these results to the testing personnel.

[0088] Based on the aforementioned inventive concept, as shown in Figure 8, this invention also proposes a computer device 800, including a memory 810, a processor 820, and a computer program 830 stored in the memory 810 and executable on the processor 820. When the processor 820 executes the computer program 830, it implements the aforementioned high-speed comprehensive inspection train inspection service control method. This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the aforementioned high-speed comprehensive inspection train inspection service control method.

[0089] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described high-speed integrated inspection train inspection business control method.

[0090] In this embodiment of the invention, a Socket object is created based on the server network port pre-configured by the inspector, and multiple inspection devices are allowed to connect. When an inspection device sends a connection request, Socket network communication is established with each inspection device, with each inspection device corresponding to a thread. Upon receiving the inspection service start instruction from the inspector, control instructions are sent to the inspection devices via Socket network communication based on the pre-configured inspection service information. Each control instruction corresponds to one inspection device, and each control instruction is received and parsed in the thread of the corresponding inspection device before being executed by the corresponding inspection device. The execution result of the control instruction is received from the inspection device through the corresponding thread and displayed to the inspector.

[0091] By pre-configuring server network ports and detection business information, running multi-threaded control distributed computing technology and centralized data management mode, and using Socket network communication to transmit control commands to the corresponding detection devices, and simultaneously scheduling and controlling multiple detection devices, the use of manpower can be reduced, detection costs can be saved, detection efficiency can be improved, and the adaptability and reliability of detection equipment in complex environments can be enhanced when performing detection business.

[0092] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.

[0095] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.

[0096] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for controlling the inspection operations of a high-speed integrated inspection train, characterized in that, This system, applied to the human-machine interface backend system, includes: creating a Socket object based on the server network port pre-configured by the inspector, and waiting for multiple inspection devices to connect; establishing Socket network communication with each inspection device when it sends a connection request, with each inspection device corresponding to a thread; upon receiving the inspection service start command from the inspector, sending control commands to the inspection devices via Socket network communication based on pre-configured inspection service information; each control command corresponds to one inspection device, and each control command is received and parsed in the corresponding inspection device's thread before being executed by the corresponding inspection device; receiving the control command execution results fed back by the inspection devices through their corresponding threads, and displaying the control command execution results to the inspector; and displaying the control command execution results to the inspector... Subsequently, it also includes: receiving inspection service adjustment instructions issued by inspection personnel; re-issuing new control instructions to the inspection equipment via Socket network communication based on the inspection personnel's inspection service adjustment instructions; receiving the execution results of the new control instructions fed back by the inspection equipment through the corresponding thread; and displaying the execution results of the new control instructions to the inspection personnel; the inspection service information includes inspection line information, inspection train information, and inspection equipment information; it also includes: creating a fixed number of threads based on the inspection equipment information, suspending the threads to wait for tasks, wherein the number of threads is equal to the number of inspection equipment; activating the thread corresponding to each inspection equipment when establishing Socket network communication with each inspection equipment; and reclaiming the thread of the corresponding inspection equipment after each control instruction is received, parsed, and the execution result is fed back in the thread of the corresponding inspection equipment.

2. The method as described in claim 1, characterized in that, in, The testing line information includes: testing line name, testing line number, testing line mileage, testing line starting station, and testing line ending station; the testing train information includes: testing train number, testing train heading direction, and testing train pantograph information; the testing equipment information includes: testing equipment attribute information, testing equipment software installation information, testing equipment network IP address, and testing equipment communication protocol information.

3. A detection operation control device for a high-speed integrated inspection train, characterized in that, This system, applied to the human-machine interface backend, includes: an object creation module for creating Socket objects based on pre-configured server network ports by the inspectors, awaiting connections from multiple inspection devices; a network communication establishment module for establishing Socket network communication with each inspection device when a connection request is received, with each inspection device corresponding to a thread; a control command issuance module for issuing control commands to the inspection devices via Socket network communication based on pre-configured inspection service information upon receiving an inspection service start command from the inspectors, with each control command corresponding to one inspection device, and each control command being received, parsed, and executed by the corresponding inspection device after being executed in its thread; and an execution result receiving and display module for receiving the control command execution results fed back by the inspection devices through their corresponding threads and displaying the results to the inspectors; it also includes a control command re-issuance module. This module, after the execution result receiving and display module displays the control command execution result to the inspection personnel, is used to: receive inspection service adjustment instructions issued by the inspection personnel; based on the inspection service adjustment instructions issued by the inspection personnel, reissue new control instructions to the inspection equipment via Socket network communication; receive the new control command execution result fed back by the inspection equipment through the corresponding thread, and display the new control command execution result to the inspection personnel; the inspection service information includes inspection line information, inspection train information, and inspection equipment information; it also includes a thread creation module, used to: create a fixed number of threads based on the inspection equipment information, suspend the threads to wait for tasks, wherein the number of threads is equal to the number of inspection equipment; activate the thread corresponding to each inspection equipment when establishing Socket network communication with each inspection equipment; and reclaim the thread of the corresponding inspection equipment after each control instruction is received, parsed, and the execution result is fed back in the thread of the corresponding inspection equipment.

4. The apparatus as described in claim 3, characterized in that, in, The testing line information includes: testing line name, testing line number, testing line mileage, testing line starting station, and testing line ending station; the testing train information includes: testing train number, testing train heading direction, and testing train pantograph information; the testing equipment information includes: testing equipment attribute information, testing equipment software installation information, testing equipment network IP address, and testing equipment communication protocol information.

5. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 2.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 2.

7. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 2.

Citation Information

Patent Citations

  • Distributed video quality diagnosis method and system

    CN104754328A

  • Train signal dynamic detection system for railway detection

    CN201413366Y