Control method and device for driving relay acquisition of driving machine in interlocking system
By using two-system redundant driver and communication ring network transmission in rail transit, the real-time and accuracy of signal equipment acquisition and driving information is solved, and the computing power and driving safety of the interlocking system are improved.
Patent Information
- Application Number
- CN202510491106.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-07-11
AI Technical Summary
In rail transit, the real-time and accuracy of signal equipment collection and driving information are poor, resulting in a decrease in the computing power of the interlocking system and affecting driving safety.
The same driver and harvester of two systems are adopted, each system includes at least two acquisition channels. Redundant data is obtained through the acquisition channels, status information is transmitted using the communication ring network, and processing it in the interlock machine to ensure the real-time and accuracy of the information.
It improves the real-time and accuracy of collecting information and driving information, and enhances the computing power and driving safety of the interlocking system.
Smart Images

Figure CN120288098A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of rail transit, and particularly relates to a control method and device for a driving and collecting machine to collect driving relays in an interlocking system. Background Art
[0002] The demand for China Train Control System (CTCS)-level trains to transport goods or passengers is increasing, the working lines are becoming busier, and the requirements for the real-time performance and accuracy of signal equipment collection and driving are also getting higher. In related technologies, in some places, due to environmental factors (such as humid environments), the service life of relays is greatly reduced. In the case of partial interruption of the line, the status information of relays collected by the driving and collecting machine often gets lost, and the real-time performance and accuracy of the collected information and driving information are poor, thus affecting the computing power of the interlocking system and further affecting train operation safety. Summary of the Invention
[0003] This application aims to solve at least one of the technical problems existing in the related technologies. For this purpose, this application provides a control method and device for a driving and collecting machine to collect driving relays in an interlocking system, which improves the real-time performance and accuracy of the collected information and driving information, thereby improving the computing power of the interlocking system and train operation safety.
[0004] In a first aspect, this application provides a control method and device for a driving and collecting machine to collect driving relays in an interlocking system.
[0005] The interlocking system includes:
[0006] At least one group of driving and collecting machines, where the driving and collecting machine includes a first sub-system driving and collecting machine and a second sub-system driving and collecting machine, and each sub-system driving and collecting machine is respectively provided with at least two collecting paths; the driving and collecting machine is communicatively connected to at least one relay, and the driving and collecting machine is configured to, when the interlocking system is operating, obtain first status information of the relay corresponding to each collecting path through each collecting path.
[0007] At least one interlocking machine, and each interlocking machine is respectively communicatively connected to each driving and collecting machine.
[0008] The method includes:
[0009] Obtain first status information of the relays transmitted by a plurality of collecting paths corresponding to a target driving and collecting machine in the at least one group of driving and collecting machines within a plurality of collecting cycles.
[0010] Process the plurality of first status information to obtain second status information.
[0011] Send the second status information to each interlocking machine.
[0012] Receive the drive instructions sent by each of the interlocking machines, where the drive instructions are obtained by the interlocking machines processing the second state information based on the target control logic;
[0013] Based on the drive instructions sent by the target interlocking machine among at least one of the interlocking machines, control the working states of the relays.
[0014] According to the control method for the drive and acquisition machine to acquire and drive relays in the interlocking system provided by the embodiments of the present application, by setting two identical drive and acquisition machines, and each drive and acquisition machine includes at least two acquisition channels to acquire the state information of the relays through the acquisition channels, multiple redundant data can be acquired, avoiding the situation that there is no acquisition information instantaneously due to the failure of one of the drive and acquisition machines, avoiding the loss of the acquired state information of the relays, improving the real-time performance and accuracy of the acquired information and drive information, thereby improving the computing power of the interlocking system and the train operation safety.
[0015] In the control method for the drive and acquisition machine to acquire and drive relays in the interlocking system according to an embodiment of the present application, the drive and acquisition machine is configured to send the second state information to each of the interlocking machines once within one operation cycle, where the second state information is obtained by the drive and acquisition machine processing the first state information under multiple acquisition cycles; the duration of the operation cycle of the interlocking machine is the duration of the target multiple of the acquisition cycle.
[0016] In the control method for the drive and acquisition machine to acquire and drive relays in the interlocking system according to an embodiment of the present application, each of the interlocking machines is respectively communicatively connected to each of the drive and acquisition machines through a communication ring network.
[0017] In the control method for the drive and acquisition machine to acquire and drive relays in the interlocking system according to an embodiment of the present application, the first sub-system drive and acquisition machine and the second sub-system drive and acquisition machine are communicatively connected through an internal ring network.
[0018] In the control method for the drive and acquisition machine to acquire and drive relays in the interlocking system according to an embodiment of the present application, the obtaining of the first state information of each relay acquired by the target drive and acquisition machine within multiple acquisition cycles includes:
[0019] Obtain the first sub-state information of each relay transmitted by each acquisition channel corresponding to the target drive and acquisition machine within each acquisition cycle;
[0020] Based on the communication states between each sub-system drive and acquisition machine included in the target drive and acquisition machine and the interlocking machine, screen out the first state information from the multiple first sub-state information.
[0021] The control method for the drive collection relay of the drive collection machine in an interlocking system according to an embodiment of the present application, which screens the first state information from multiple pieces of the first sub-state information based on the communication status between each sub-drive collection machine included in the target drive collection machine and the interlocking machine, includes:
[0022] When the communication status between each sub-drive collection machine and the interlocking machine is normal, the first state information is obtained by processing the first sub-state information based on the difference information between the first sub-state information collected by each sub-drive collection machine;
[0023] When the communication status between the first sub-drive collection machine and the interlocking machine is normal and the communication status between the second sub-drive collection machine and the interlocking machine is abnormal, the first state information collected by the first sub-drive collection machine is determined as the first state information;
[0024] When the communication status between each sub-drive collection machine and the interlocking machine is abnormal, the first state information collected by the target drive collection machine in the collection cycle closest to the current processing moment among the multiple collection cycles is determined as the first state information.
[0025] The control method for the drive collection relay of the drive collection machine in an interlocking system according to an embodiment of the present application, which processes the first state information based on the difference information between the first state information collected by each sub-drive collection machine to obtain the first state information, includes:
[0026] When the first state information collected by each sub-drive collection machine is the same, the first state information is determined as the first state information;
[0027] When the first state information collected by each sub-drive collection machine is different, the first state information in which the state of the target relay is in the pulled-in state for at least two consecutive collection cycles is determined as the first state information.
[0028] The control method for the drive collection relay of the drive collection machine in an interlocking system according to an embodiment of the present application, which processes multiple pieces of the first state information to obtain the second state information, includes:
[0029] When the current operation cycle of the interlocking machine is the first operation cycle, the second state information is obtained by performing a fitting process on the first state information in the multiple collection cycles corresponding to the current operation cycle;
[0030] When the current operation cycle is not the first operation cycle, the first status information collected by the target drive and extraction machine in the last collection cycle within the previous operation cycle of the current operation cycle is determined as the first status information collected by the target drive and extraction machine in the first collection cycle within the current operation cycle, so as to perform fitting processing on the first status information within multiple collection cycles corresponding to the current operation cycle to obtain the second status information.
[0031] In the control method for the drive and extraction machine to collect the drive relay in an embodiment of the present application, the processing of multiple pieces of the first status information to obtain the second status information includes:
[0032] When the second status information is 0 in a continuous first number of operation cycles, obtain the first status information of each relay transmitted by each collection path corresponding to the target drive and extraction machine within the continuous second number of collection cycles closest to the current processing moment within the current operation cycle;
[0033] When the first status information of each relay transmitted by each collection path corresponding to the target drive and extraction machine within the continuous second number of collection cycles closest to the current processing moment is all 1, determine the second status information within the current operation cycle as 1.
[0034] In a second aspect, the present application provides a control device for the drive and extraction machine to collect the drive relay in an interlocking system.
[0035] The interlocking system includes:
[0036] At least one group of drive and extraction machines, the drive and extraction machine includes a first sub-system drive and extraction machine and a second sub-system drive and extraction machine, and each sub-system drive and extraction machine is respectively provided with at least two collection paths; the drive and extraction machine is communicatively connected to at least one relay, and the drive and extraction machine is configured to obtain the first status information of the relay corresponding to the collection path through each of the collection paths when the interlocking system is working;
[0037] At least one interlocking machine, and each of the interlocking machines is communicatively connected to each of the drive and extraction machines;
[0038] The device includes:
[0039] A first processing module, configured to obtain the first status information of the relays transmitted by multiple collection paths corresponding to the target drive and extraction machine in the at least one group of drive and extraction machines within multiple collection cycles;
[0040] A second processing module, configured to process multiple pieces of the first status information to obtain the second status information;
[0041] A third processing module, configured to send the second status information to each of the interlocking machines;
[0042] A fourth processing module, configured to receive the drive instructions sent by each of the interlocking machines, where the drive instructions are obtained by the interlocking machines based on target control logic for processing the second status information;
[0043] A fifth processing module, configured to control the working states of the relays based on the drive instructions sent by a target interlocking machine in at least one of the interlocking machines.
[0044] According to the control device for a driving and collecting machine to collect and drive a relay in the interlocking system provided by the embodiments of the present application, by setting two identical driving and collecting machines, and each driving and collecting machine includes at least two collecting paths to collect the status information of the relay through the collecting paths, multiple redundant data can be collected, avoiding the situation that there is no collected information instantaneously due to the failure of one of the driving and collecting machines, avoiding the loss of the collected status information of the relay, improving the real-time performance and accuracy of the collected information and the driving information, and thus improving the computing power of the interlocking system and the train operation safety.
[0045] In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements the control method for a driving and collecting machine to collect and drive a relay in the interlocking system as described in the first aspect above.
[0046] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the control method for a driving and collecting machine to collect and drive a relay in the interlocking system as described in the first aspect above.
[0047] In a fifth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the control method for a driving and collecting machine to collect and drive a relay in the interlocking system as described in the first aspect above.
[0048] One or more of the above technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0049] By setting two identical driving and collecting machines, and each driving and collecting machine includes at least two collecting paths to collect the status information of the relay through the collecting paths, multiple redundant data can be collected, avoiding the situation that there is no collected information instantaneously due to the failure of one of the driving and collecting machines, avoiding the loss of the collected status information of the relay, improving the real-time performance and accuracy of the collected information and the driving information, and thus improving the computing power of the interlocking system and the train operation safety.
[0050] Furthermore, by acquiring the first state information transmitted by each acquisition path corresponding to the target driving machine within multiple acquisition cycles, multiple redundant data can be collected, avoiding the loss of the state information of the collected relay, improving the real-time and accuracy of the collected information, thereby improving the computing power and driving safety of the interlocking system; then, the first state information within multiple acquisition cycles is processed to obtain the second state information, and the working state of each relay can be controlled when the driving instruction sent by the interlocking machine is received, thereby improving the real-time and accuracy of the driving information.
[0051] Furthermore, by determining the first state information in the last acquisition cycle in the previous operation cycle as the first state information corresponding to the first acquisition cycle in the current operation cycle, and obtaining the second state information of the current operation cycle based on the historical state information in the previous cycle and the newly acquired state information, and by setting asymmetric processing of the drive and interlocking machine cycles, the continuity of the drive information is guaranteed, the accuracy and real-time nature of the data can be improved, and the timeliness of the data is guaranteed, thereby improving the accuracy of control and improving driving safety.
[0052] Furthermore, when the target mining machine has sent 0 information to the interlocking machine for the first number of consecutive operating cycles and the collection information for the most recent second number of consecutive collection cycles is 1, the collection information sent to the interlocking machine in the current operating cycle can be 1, so that when the large station cycle is long, it can respond to the changes in the collection in a timely manner, avoiding the delay in the collection information sent by the target mining machine to the interlocking machine.
[0053] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0055] Figure 1 It is a schematic diagram of the structural relationship between the railway signal system and the interlocking system provided in the embodiment of the present application;
[0056] Figure 2 It is one of the structural schematic diagrams of the interlocking system provided in the embodiment of the present application;
[0057] Figure 3 It is one of the principle schematic diagrams of the control method of the mining machine collection drive relay in the interlocking system provided in the embodiment of the present application;
[0058] Figure 4It is the second schematic diagram of the principle of the control method of the drive and acquisition machine for collecting drive relays in the interlocking system provided by the embodiments of the present application;
[0059] Figure 5 It is the first schematic diagram of the process of the control method of the drive and acquisition machine for collecting drive relays in the interlocking system provided by the embodiments of the present application;
[0060] Figure 6 It is the schematic diagram of the principle of summarizing the state information of multiple groups of drive and acquisition machine collecting relays in the interlocking system provided by the embodiments of the present application;
[0061] Figure 7 It is the schematic diagram of the connection structure between a single group of drive and acquisition machines and the interlocking machine in the interlocking system provided by the embodiments of the present application;
[0062] Figure 8 It is the schematic diagram of the connection structure between multiple groups of drive and acquisition machines and the interlocking machine in the interlocking system provided by the embodiments of the present application;
[0063] Figure 9 It is the schematic diagram of the principle of the input and output data interface information of the drive and acquisition machine in the interlocking system provided by the embodiments of the present application;
[0064] Figure 10 It is the schematic diagram of the principle of the interface information interaction of the drive and acquisition machine in the interlocking system provided by the embodiments of the present application;
[0065] Figure 11 It is the schematic diagram of the principle of the working state of the drive and acquisition machine in the interlocking system provided by the embodiments of the present application;
[0066] Figure 12 It is the second schematic diagram of the process of the control method of the drive and acquisition machine for collecting drive relays in the interlocking system provided by the embodiments of the present application;
[0067] Figure 13 It is the third schematic diagram of the process of the control method of the drive and acquisition machine for collecting drive relays in the interlocking system provided by the embodiments of the present application;
[0068] Figure 14 It is the schematic diagram of the structure of the control method of the drive and acquisition machine for collecting drive relays in the interlocking system provided by the embodiments of the present application;
[0069] Figure 15 It is the schematic diagram of the structure of the electronic device provided by the embodiments of the present application. Detailed implementation manners
[0070] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, rather than all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0071] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0072] An embodiment of this application provides an interlocking system.
[0073] It should be noted that the interlocking system can be a railway interlocking system, which is a safety device in the railway signal system. The interlocking system can achieve the interlocking relationship between signal lights, turnouts and routes through logical control.
[0074] Such as Figure 1 An example of a railway signal system is illustrated. The railway signal system includes signal systems such as an interlocking system, a train control center system, and a radio block center system.
[0075] Among them, the interlocking system of this station can be respectively communicatively connected to the interlocking system of the adjacent station, the radio block center system, and the train control center system.
[0076] Such as Figure 2 As shown, the interlocking system includes: at least one set of drive and acquisition machines and at least one interlocking machine.
[0077] In this embodiment, the drive and acquisition machine is a drive and acquisition computer (Input / output Computer), which is a computer system that realizes relay acquisition and drive in the interlocking system.
[0078] The driving and collecting machine is communicatively connected to at least one relay. Under normal circumstances, the driving and collecting machine can be communicatively connected to the relevant relays under the jurisdiction of the interlocking station of this station. In some embodiments, the driving and collecting machine can be controlled to be communicatively connected to the relevant relays under the jurisdiction of the interlocking system of the adjacent station and the train control center system based on actual collection requirements. For example, when there is a display connection between the departure signal of this station and the signal machine of the adjacent station and it is necessary to repeat the status of the signal machine of the adjacent station, the driving and collecting machine can also be communicatively connected to the relevant relays under the jurisdiction of the interlocking system of the adjacent station to collect the relevant status of the relay of the repeat signal machine of the adjacent station; when the approach locking of the receiving and departure route of this station is extended to the adjacent station, the driving and collecting machine can be communicatively connected to the relevant relays under the jurisdiction of the interlocking system of the adjacent station to collect the status of the approach track or departure track relay of the adjacent station; when there is no communication between the interlocking and the train control and it is necessary to obtain the foreign object information or earthquake information status of some train control block sections, the driving and collecting machine can collect the status information of the corresponding foreign object or earthquake relay.
[0079] The driving and collecting subsystem includes at least one set of driving and collecting machines. The number of at least one set of driving and collecting machines can be determined according to the size of the interlocking station. For example, it can be determined based on the number of relays under the jurisdiction of the interlocking station of this station; or it can be determined in combination with the number of relevant relays in the interlocking system of some adjacent stations and the train control center system. For example, one set of driving and collecting machines can be set to be communicatively connected to n relays. When the number of multiple relays is greater than n and less than or equal to 2n, two sets of driving and collecting machines can be set.
[0080] The hardware of each driving and collecting machine is the same, and the corresponding ID identity is configured through hardware jumpers.
[0081] As Figure 11 shown, the driving and collecting machine includes two operating states: non-operating and normal operating states.
[0082] The non-operating state is the state where the software of the driving and collecting machine fails to work properly. In this state, the software does not call the collection driver-related processing.
[0083] The non-operating state includes shutdown and running without a host.
[0084] Among them, shutdown means that the software of the driving and collecting machine fails to start or run properly, including two situations: before the driving and collecting machine is powered on and the software of the driving and collecting machine shuts down due to a fault.
[0085] Running without a host means that the driving and collecting machine software has never received information from the interlocking machine after it starts up normally.
[0086] The normal operating state is the operating state after the driving and collecting machine software starts up, receives information from the interlocking machine, and correctly obtains the configuration information of this machine.
[0087] The normal operating state includes normal operation with a host and normal operation without a host.
[0088] Among them, the normal operation under the mainframe is the normal operation state when the driving and collecting machine software communicates normally with the interlocking machine.
[0089] The normal operation without the mainframe is the normal operation state when the communication between the driving and collecting machine software and the interlocking machine is interrupted.
[0090] The driving and collecting machine includes a first sub-system driving and collecting machine and a second sub-system driving and collecting machine. The first sub-system driving and collecting machine and the second sub-system driving and collecting machine can load the same software, and the first sub-system driving and collecting machine and the second sub-system driving and collecting machine can be distinguished by hardware jumper configuration.
[0091] The driving and collecting machine is configured to obtain the first state information of the relay corresponding to each acquisition path when the interlocking system is working.
[0092] The first state information of each relay can be used to represent different road states. For example, the first state information may include track circuit state (such as section occupied / idle), signal machine state (such as green light, red light), switch state (such as normal position / reverse position, locked / unlocked), and route state (such as route established / cancelled), etc.
[0093] The first sub-system driving and collecting machine and the second sub-system driving and collecting machine are redundant to each other, and the first sub-system driving and collecting machine and the second sub-system driving and collecting machine collect the state information of the same relay.
[0094] The operating state of each sub-system driving and collecting machine includes two states: normal operation and deactivation. When any one of the first sub-system driving and collecting machine and the second sub-system driving and collecting machine is operating normally, the driving and collecting machine can work normally, thus realizing the redundancy of the dual systems and dual networks in the dual-machine parallel structure of the driving and collecting machine. In the case of power failure or failure of a certain system of the driving and collecting machine and interruption of a certain network, it does not affect the normal acquisition and driving work of the entire interlocking system, thus ensuring the safety of train operation.
[0095] Each sub-system driving and collecting machine is respectively provided with at least two acquisition paths, and the two acquisitions are redundant to each other.
[0096] For example, when the driving and collecting machine includes a first sub-system driving and collecting machine and a second sub-system driving and collecting machine, and each sub-system driving and collecting machine is respectively provided with two acquisition paths, the driving and collecting machine can obtain the state information of the relay collected by the four acquisition paths, and the four sets of data are redundant to each other.
[0097] Such as Figure 3As shown, the upper part is the status information of the relays collected by each acquisition channel of each first sub-system drive and extraction machine in a group of drive and extraction machines, and the lower part is the status information of the relays collected by each acquisition channel of each second sub-system drive and extraction machine in a group of drive and extraction machines. Each circle in the figure can represent the status information of a relay. The green circles in the figure can represent that the status information of the relay is 1. The x[I]-th and x[II]-th channels collected by the first sub-system drive and extraction machine are redundant with each other, and x can be 0, 1, 2, 3, 4, …, 63; the x[I]-th and x[II]-th channels collected by the second sub-system drive and extraction machine are redundant with each other, and x can be 0, 1, 2, 3, 4, …, 63; that is, the drive and extraction sub-system can support 64-channel acquisition.
[0098] The sub-system drive and extraction machine can output relevant information based on the collected status information, such as Figure 4 As shown, in the same drive and extraction machine, the output y of the first sub-system drive and extraction machine and the output y of the second sub-system drive and extraction machine are redundant with each other, and y can be 0, 1, 2, 3, 4, …, 63. That is, the drive and extraction sub-system can support 64-channel output.
[0099] The interlocking machine is an interlocking computer, which is a computer system that realizes the interlocking function and safety input and output in the interlocking system.
[0100] The number of at least one interlocking machine can be two systems, and the two systems of interlocking machines are redundant with each other, such as Figure 2 As shown, two systems of interlocking machines can be set. The information received by each system of interlocking machines is the same, and each system of interlocking machines can send information such as instructions to the drive and extraction machine. A main system interlocking machine and a standby system interlocking machine can be set, and both the main system interlocking machine and the standby system interlocking machine are working properly. When the drive and extraction machine receives the information such as instructions sent by each interlocking machine, it can work based on the instructions sent by the main system interlocking machine.
[0101] According to the interlocking system provided by the embodiments of the present application, by setting two identical drive and extraction machines, and each system of drive and extraction machines includes at least two acquisition channels to collect the status information of the relays through the acquisition channels, multiple redundant data can be collected, avoiding the situation that there is no acquisition information instantaneously due to the failure of one system of drive and extraction machines, avoiding the loss of the status information of the collected relays, improving the real-time performance and accuracy of the collected information and the drive information, thereby improving the computing power of the interlocking system and the train operation safety.
[0102] In some embodiments, the drive and extraction machine is configured to send the second status information to each interlocking machine once within one operation cycle.
[0103] In this embodiment, the duration of the operation cycle of the interlocking machine is the duration of the acquisition cycle of the target multiple.
[0104] For example, the acquisition period of the drive and acquisition machine can be set to 50 ms, that is, the drive and acquisition machine acquires data 20 times within 1 second, or it can also be set to other values, such as 25 ms or 125 ms, etc. The operation period of the interlocking machine can be set to a target multiple (the target multiple is a positive integer) of the acquisition period, and the operation period of the interlocking machine should not be greater than 500 ms. For example, when the acquisition period is 50 ms, the operation period of the interlocking machine can be set to 5 times the acquisition period, that is, the operation period of the interlocking machine can be 250 ms, or it can also be other durations. The target multiple can be a positive integer, which is not limited in this application.
[0105] In this application, by setting the duration of the operation period of the interlocking machine to the duration of the acquisition period of the target multiple, it is possible to avoid situations such as data edge jamming in the data transmitted between the interlocking machine and the drive and acquisition machine, thereby avoiding the impact on the control accuracy due to uneven data.
[0106] The communication period between the drive and acquisition machine and the interlocking machine can be set to the operation period of the interlocking machine, that is, within one operation period, the drive and acquisition machine can send multiple status messages to the interlocking machine.
[0107] The second status message is obtained by the drive and acquisition machine processing the first status messages under multiple acquisition periods.
[0108] For example, the first status messages under multiple acquisition periods can be subjected to fitting processing to obtain a second status message, and the drive and acquisition machine can send the second status message to each interlocking machine.
[0109] For example Figure 2 As shown, in some embodiments, each interlocking machine can be communicatively connected to each subsystem drive and acquisition machine through a communication ring network.
[0110] In this embodiment, the communication ring network can be a redundant optical fiber ring network. Among them, the redundant optical fiber ring network can adopt a ring or double-ring structure (such as a double optical fiber ring network), and a primary and backup channel (such as a dual-channel optical fiber) can be configured on each communication link.
[0111] During the actual execution process, the drive and acquisition machine can send the second status message to the interlocking machine through the communication ring network, and the interlocking machine can send drive instructions, etc. to the drive and acquisition machine through the communication ring network.
[0112] In some embodiments, the first subsystem drive and acquisition machine and the second subsystem drive and acquisition machine can be communicatively connected through an internal ring network.
[0113] In this embodiment, the internal ring network can be an internal redundant ring network, and each communication link can adopt a dual-channel design (such as optical fiber and cable) to support hot standby.
[0114] In some embodiments, the interlocking system may further include: at least one operation display machine and a monitoring machine.
[0115] In this embodiment, each operation display machine may be communicatively connected to each interlocking machine respectively, and the operation display machine is used to issue commands to the interlocking machine, etc.
[0116] The monitoring machine is communicatively connected to the operation display machine, and the monitoring machine (or maintenance machine) may be used to monitor the status of the signal equipment of the interlocking system.
[0117] In some embodiments, the driving and collecting machine may include a first interface, a second interface, and a third interface.
[0118] In this embodiment, as Figure 9 and Figure 10 shown, the first interface may be used to access each relay, and the driving and collecting machine may collect the status information of the relays at the relay circuit interface through the first interface. Among them, the relay circuit is a collection and control circuit for outdoor equipment (such as signal lights, switches, and sections, etc.) built by safety relays on the railway.
[0119] The second interface may be used to access each interlocking machine, and the driving and collecting machine may send the collected status information and fault information to each interlocking machine through the second interface, and receive the driving commands and configuration information sent by each interlocking machine through the second interface.
[0120] The third interface may be used to access the system platform (safety platform). The driving and collecting machine may collect the hardware configuration through the third interface to configure information such as its own ID, and may display its own status through the indicating lights on the driving and collecting machine system platform. Among them, the system platform may be a motherboard, and multiple daughter boards may be provided on the motherboard for accessing other devices. For example, the system platform may be the control motherboard of a mobile terminal.
[0121] As Figure 10 shown, the driving and collecting machine may check and process faults of the hardware board in real time, etc., and check the communication status with the interlocking machine in real time, and may, in the case of a fault causing a shutdown, process and record other faults, and send the relevant information to the interlocking machine.
[0122] Next, in conjunction with the accompanying drawings, through specific embodiments and their application scenarios, the control method for the driving and collecting machine of the interlocking system to collect and drive relays, the control device for the driving and collecting machine of the interlocking system to collect and drive relays, the electronic device, and the readable storage medium provided by the embodiments of the present application will be described in detail.
[0123] Among them, the control method for the driving and collecting machine of the interlocking system to collect and drive relays can be applied to a terminal, and specifically can be executed by the hardware or software in the terminal.
[0124] The terminal includes, but is not limited to, portable communication devices such as mobile phones or tablet computers having a touch-sensitive surface (e.g., a touch screen display and / or a touchpad). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touchpad).
[0125] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse, and a joystick.
[0126] In the interlocking system provided by the embodiments of the present application, the control method of the driving and collecting machine for collecting driving relays. The execution subject of the control method of the driving and collecting machine for collecting driving relays in the interlocking system can be an electronic device or a functional module or functional entity in the electronic device that can implement the control method of the driving and collecting machine for collecting driving relays in the interlocking system. The electronic devices mentioned in the embodiments of the present application include, but are not limited to, mobile phones, tablet computers, computers, cameras, and wearable devices, etc. Hereinafter, taking the electronic device as the execution subject as an example, the control method of the driving and collecting machine for collecting driving relays provided by the embodiments of the present application will be described.
[0127] As Figure 13 shown, the control method of the driving and collecting machine for collecting driving relays in the interlocking system includes: step 110, step 120, step 130, step 140, and step 150.
[0128] It should be noted that the execution subject of the control method of the driving and collecting machine for collecting driving relays in the interlocking system can be the interlocking system described in any of the above embodiments.
[0129] Step 110: Obtain the first status information of the relays transmitted by at least one set of collecting channels corresponding to the target driving and collecting machine among multiple collecting machines within multiple collecting cycles;
[0130] In this step, the target driving and collecting machine is any driving and collecting machine among at least one set of driving and collecting machines.
[0131] The collecting cycle is the collecting cycle of the target driving and collecting machine. For example, the collecting cycle of the driving and collecting machine can be set to 50 ms, that is, the driving and collecting machine collects data 20 times within 1 second, or it can also be set to other values, such as 25 ms or 125 ms, etc., which are not limited in the present application.
[0132] The target driving and collecting machine includes a first sub-system driving and collecting machine and a second sub-system driving and collecting machine. Each sub-system driving and collecting machine is respectively provided with at least two collecting channels. The target driving and collecting machine is correspondingly communicatively connected to at least one relay. Each collecting channel can collect the first status information of the same relay to obtain redundant status information.
[0133] The first status information includes the status information of each relay corresponding to the target drive and extraction machine. For example, Figure 3 as shown, a circle in the figure can represent the status information of one relay.
[0134] Step 120: Process multiple first status information to obtain second status information;
[0135] In this step, multiple first status information corresponds to multiple acquisition cycles, and the multiple first status information can be fitted to obtain the second status information.
[0136] For example, when the target drive and extraction machine communicates with the interlocking machine once every 5 acquisition cycles, multiple first status information corresponding to 6 acquisition cycles can be obtained, and then the multiple first status information corresponding to 6 acquisition cycles is fitted to obtain the second status information.
[0137] Step 130: Send the second status information to each interlocking machine;
[0138] In this step, within one communication cycle between the target drive and extraction machine and the interlocking machine, the target drive and extraction machine can send the second status information to the interlocking machine once. The target drive and extraction machine can send the same content information to each series of interlocking machines respectively, and the two series of interlocking machines are redundant to each other.
[0139] The communication cycles between the target drive and extraction machine and each interlocking machine can be the same or different.
[0140] The target drive and extraction machine and each interlocking machine can be communicatively connected through a communication ring network.
[0141] The target drive and extraction machine can send the second status information to each interlocking machine through the communication ring network.
[0142] Step 140: Receive the drive instructions sent by each interlocking machine;
[0143] In this step, the drive instruction is obtained by the interlocking machine based on the target control logic for processing the second status information.
[0144] Each sub-system drive and extraction machine in the target drive and extraction machine can receive the drive instructions sent by each interlocking machine.
[0145] Step 150: Control the working status of each relay based on the drive instructions sent by the target interlocking machine in at least one interlocking machine.
[0146] In this step, the target interlocking machine is the main system (primary) interlocking machine in at least one interlocking machine.
[0147] After receiving the driving instructions sent by each interlocking machine, each sub-system driving and collecting machine can control the working states of each relay based on the driving instructions sent by the target interlocking machine (i.e., the main system interlocking machine).
[0148] Among them, the working states of the relays can include the picked-up state (excitation) and the dropped state (demagnetization).
[0149] For example, when the green light relay of the signal machine is picked up, the green light is turned on; when the red light relay of the signal machine is dropped, the red light is defaultly displayed; when the normal position operation relay of the switch is picked up, the switch is driven to the normal position; when the track relay is dropped, it indicates that the section is occupied or faulty.
[0150] According to the control method for driving and collecting relays by the driving and collecting machine in the interlocking system provided by the embodiments of the present application, by obtaining the first state information transmitted by each collection path corresponding to the target driving and collecting machine within multiple collection cycles, multiple copies of redundant data can be collected, avoiding the loss of the state information of the collected relays, improving the real-time performance and accuracy of the collected information, thereby improving the computing power of the interlocking system and the train operation safety; then, the first state information within multiple collection cycles is processed to obtain the second state information, and the working states of each relay can be controlled when receiving the driving instructions sent by the interlocking machine, improving the real-time performance and accuracy of the driving information.
[0151] In some embodiments, step 110 may include:
[0152] Obtain the first sub-state information of each relay transmitted by each collection path corresponding to the target driving and collecting machine within each collection cycle;
[0153] Based on the communication states between each sub-system driving and collecting machine included in the target driving and collecting machine and the interlocking machine, screen out the first state information from multiple first sub-state information.
[0154] In this embodiment, the target driving and collecting machine corresponds to multiple collection paths. Within one collection cycle, at least one relay's first sub-state information can be collected by one collection path, and the corresponding first sub-state information within multiple collection cycles can be obtained.
[0155] The dual-system collection information of the target driving and collecting machine is the collection information of the same relay. In the case where the channels through which the data flows are inconsistent, the collection information of the dual-system driving and collecting machine may be inconsistent due to situations such as timing or system failures.
[0156] Such as Figure 7As shown, for a group of driving and extracting machines, each sub-driving and extracting machine in the driving and extracting machines communicates with each interlocking machine through a communication ring network, and the first state information can be filtered from multiple first sub-state information according to the communication status between each sub-driving and extracting machine and the interlocking machine.
[0157] In some embodiments, filtering the first state information from multiple first sub-state information based on the communication status between each sub-driving and extracting machine included in the target driving and extracting machine and the interlocking machine may include:
[0158] When the communication status between each sub-driving and extracting machine and the interlocking machine is normal, the first state information is obtained by processing the first sub-state information based on the difference information between the first sub-state information collected by each sub-driving and extracting machine;
[0159] When the communication status between the first sub-driving and extracting machine and the interlocking machine is normal and the communication status between the second sub-driving and extracting machine and the interlocking machine is abnormal, the first sub-state information collected by the first sub-driving and extracting machine is determined as the first state information;
[0160] When the communication status between each sub-driving and extracting machine and the interlocking machine is abnormal, the first sub-state information collected by the target driving and extracting machine in the collection cycle closest to the current processing time among multiple collection cycles is determined as the first state information.
[0161] In this embodiment, when the communication between the interlocking machine and the dual-system driving and extracting machine is normal, it can be determined whether the information collected by the dual-system driving and extracting machine is consistent, and then the first state information is filtered from multiple first sub-state information.
[0162] In some embodiments, processing the first state information based on the difference information between the first state information collected by each sub-driving and extracting machine to obtain the first state information may include:
[0163] When the first sub-state information collected by each sub-driving and extracting machine is the same, the first sub-state information is determined as the first state information;
[0164] When the first sub-state information collected by each sub-driving and extracting machine is different, the first sub-state information in which the state of the target relay is in the pulled-in state for at least two consecutive collection cycles is determined as the first state information.
[0165] In this embodiment, when the state information collected by the dual-system driving and extracting machine is consistent, the collected information bits can be directly used, that is, any first sub-state information can be determined as the first state information.
[0166] In the case where the status information collected by the dual-system driving and collecting machine is inconsistent, in the collected information of the driving and collecting machine in one of the two systems, if the status of the target relay is in the pulled-in state for at least two consecutive collection cycles (for example, the information bit corresponding to the target relay is "1" for two consecutive collection cycles, where "1" indicates that the relay is pulled in, which is data on the dangerous side, and "0" indicates that the relay is dropped, which is data on the safe side), the first sub-status information can be determined as the first status information.
[0167] In the case where the communication status between the first sub-system driving and collecting machine and the interlocking machine in the dual-system driving and collecting machine is normal, and the communication status between the second sub-system driving and collecting machine and the interlocking machine is abnormal, the first sub-status information collected by the first sub-system driving and collecting machine can be determined as the first status information.
[0168] In the case where the communication status between the dual-system driving and collecting machine and the interlocking machine is interrupted, the first sub-status information collected by the target driving and collecting machine in the collection cycle closest to the current processing moment among multiple collection cycles can be determined as the first status information, that is, the most recent valid collection information can be used.
[0169] In the case where the communication status between the dual-system driving and collecting machine and the interlocking machine is interrupted for more than three operation cycles of the interlocking machine, fault-safe processing is performed on the collection information of the target driving and collecting machine.
[0170] In this application, in the dual-machine parallel structure of the driving and collecting machine, the two systems and two networks are redundant with each other. When one of the systems is powered off or fails, and when one of the networks is interrupted, it does not affect the normal collection and driving work of the entire interlocking system, thus ensuring the safety of train operation.
[0171] In this application, by performing fitting processing on the first status information corresponding to multiple collection cycles, the second status information is obtained, ensuring the stability and reliability of the collection information.
[0172] As Figure 6 shown, in the actual execution process, the status information received by the interlocking machine consists of the status information collected by multiple groups of driving and collecting machines. The two systems of each group of driving and collecting machines are in a parallel mode, and the collection information of the dual-system driving and collecting machine is all valid data.
[0173] Among them, IOC-1, IOC-2,..., IOC-N respectively represent the 1st, 2nd,..., Nth set / group of driving and collecting machines. Each set of driving and collecting machines includes two systems, namely System I and System II. The driving and collecting subsystem supports 64-channel collection and 64-channel output.
[0174] As Figure 8 shown, in some embodiments, when the number of at least one group of driving and collecting machines is multiple, and the communication status between any one of the multiple groups of driving and collecting machines and the interlocking machine is normal, the interlocking system operates normally.
[0175] In this embodiment, each driving and collecting machine may include a dual-system driving and collecting machine. Each sub-system driving and collecting machine is communicatively connected to the interlocking machine through a communication ring network. The collected information of each driving and collecting machine is independent of each other, and the interlocking machine can process the collected information of each driving and collecting machine separately.
[0176] In the case where the communication states between the interlocking machine and all the driving and collecting machines are abnormal, the interlocking system is reset.
[0177] In the case where the communication state between the target driving and collecting machine and the interlocking machine among multiple groups of driving and collecting machines is abnormal, the collected information of the target driving and collecting machine is cleared, without affecting the processing of the collected information of other driving and collecting machines.
[0178] In some embodiments, step 120 may include:
[0179] In the case where the current operation cycle of the interlocking machine is the first operation cycle, perform fitting processing on the first state information within multiple collection cycles corresponding to the current operation cycle to obtain second state information;
[0180] In the case where the current operation cycle is not the first operation cycle, determine the first state information collected by the target driving and collecting machine in the last collection cycle within the previous operation cycle of the current operation cycle as the first state information collected by the target driving and collecting machine in the first collection cycle within the current operation cycle, so as to perform fitting processing on the first state information within multiple collection cycles corresponding to the current operation cycle to obtain second state information.
[0181] In this embodiment, the operation cycle is the time window for the interlocking machine to complete one full logical operation and output.
[0182] After the interlocking machine is powered on and enters the first operation cycle, in the case where multiple collection cycles corresponding to the current operation cycle end, perform fitting processing on the first state information within the multiple collection cycles to obtain second state information.
[0183] In the case where the current operation cycle is not the first operation cycle and there is historical collection data, the last state information in the previous operation cycle may be determined as the starting point of the current operation cycle, and combined with the historical state information (such as the first state information collected in the last collection cycle within the previous operation cycle) and the first state information corresponding to multiple collection cycles within the current operation cycle to obtain second state information.
[0184] According to the control method of the drive collection relay of the interlocking system provided by the embodiments of the present application, by determining the first state information in the last acquisition cycle of the previous operation cycle as the first state information corresponding to the first acquisition cycle in the current operation cycle, the second state information of the current operation cycle can be obtained based on the historical state information in the previous cycle and the newly acquired state information. By setting the asymmetry processing of the cycles of the drive collection machine and the interlocking machine, the continuity of the drive information is ensured, the accuracy and real-time performance of the data can be improved, the timeliness of the data is ensured, thereby improving the accuracy of the control and the driving safety.
[0185] In the actual execution process, taking the operation cycle of 250 ms and the acquisition cycle of 50 ms as an example, the logic of the drive collection machine software for fitting and processing the acquisition state is described.
[0186] Six acquisition buffers (denoted by B0, B1, B2, B3, B4, and B5 respectively) can be set to record the first state information collected in six acquisition cycles, and communicate with the interlocking machine every five acquisition cycles to send the second state information (denoted by IN) to the interlocking machine.
[0187] The data transmission relationship between the interlocking machine and the drive collection machine is shown in Table 1:
[0188] Table 1
[0189]
[0190] Among them, N represents the Nth cycle of the drive collection machine, and M represents the Mth cycle of the interlocking machine. After the acquisition of each B5 is completed, the drive collection machine calculates the second state information IN based on the first state information of B0 - B5 and sends IN to the interlocking machine. The information stored in B0 in the current calculation cycle is the content of B5 in the previous calculation cycle.
[0191] Taking a certain bit of IN(M) as an example, the operation logic of IN is described:
[0192] When there are i (i can be 1, 2, 3, 4, 5, or 6) zeros in B0 - B5, the IN sent by the drive collection machine to the interlocking machine is 0;
[0193] When there are j (j can be 1, 2, 3, 4, or 5) zeros or all are 1s in B0 - B5, the IN sent by the drive collection machine to the interlocking machine is 1.
[0194] Among them, the magnitudes of i and j can be customized based on actual requirements, and the present application does not make any limitations.
[0195] For example, it can be set that when there is only 1 zero in B0 - B5 of IN(M) and the others are all 1s, IN(M) is 1; in other cases, IN(M) is 0.
[0196] B0 in IN(M) is used to store the data of B5 in IN(M - 1) of the previous cycle, which can prevent capturing even when two consecutive 0s (both B0 and B1 are 0) occur exactly between two operating cycles.
[0197] When the status information collected in two consecutive acquisition cycles in IN(M) is both 0, the IN(M) sent to the interlocking machine is 0.
[0198] If only one 0 appears among B0 to B5, the IN(M) sent to the interlocking machine is 1.
[0199] When B1 is 0 and B3 is 0 in IN(M), the IN(M) sent to the interlocking machine is 0.
[0200] When only B4 is 0 in IN(M - 1) and only B1 is 0 in IN(M), the IN(M) sent to the interlocking machine is 1.
[0201] During the actual execution process, when the driving and acquisition machine communicates with the interlocking machine, there will be acquisition data for multiple cycles. The transmission of the acquisition information and driving information of the interlocking machine is as Figure 12 shown.
[0202] Based on Figure 12 it can be known that the communication cycle (operating cycle) is set to N times the acquisition cycle of the driving and acquisition machine. Within each communication cycle, the driving and acquisition machine will have acquisition information for N acquisition cycles. To ensure the continuity of the driving information, the acquisition information (the first status information) of the nearest N + 1 acquisition cycles can be logically combined into the acquisition information (the second status information) sent to the interlocking machine.
[0203] For example, Figure 12 It exemplifies the transmission of acquisition information within three operating cycles. Within the Zth operating cycle, IN(X - 4), IN(X - 3), …, IN(X + 1) collected by the target driving and acquisition machine can be processed to obtain IN(Y), and then IN(Y) is sent to the interlocking machine;
[0204] Within the (Z + 1)th operating cycle, IN(X + 1), IN(X + 2), …, IN(X + 6) can be processed to obtain IN(Y + 1), and then IN(Y + 1) is sent to the interlocking machine;
[0205] At the (Z + 2)th operating cycle, IN(X + 1), IN(X + 2), …, IN(X + 6) can be processed to obtain IN(Y + 1), and then IN(Y + 1) is sent to the interlocking machine.
[0206] In some embodiments, step 120 may include:
[0207] When the second state information is 0 in the first consecutive number of operating cycles, obtain, in the current operating cycle, the first state information of each relay transmitted by each acquisition path corresponding to the target drive and extraction machine in the second consecutive number of acquisition cycles closest to the current processing time.
[0208] When the first state information of each relay transmitted by each acquisition path corresponding to the target drive and extraction machine is 1 in the second consecutive number of acquisition cycles closest to the current processing time, determine the second state information in the current operating cycle as 1.
[0209] In this embodiment, the values of the first quantity and the second quantity can be user-defined. For example, the first quantity can be set to 2, the second quantity can be set to 3, or other values can also be set. This application does not make any limitations.
[0210] When the second state information is 0 in the first consecutive number of operating cycles, the first state information in the second consecutive number of acquisition cycles closest to the current time can be obtained.
[0211] When the first state information in the second consecutive number of acquisition cycles closest to the current time is 1, the second state information in the current operating cycle can be determined as 1.
[0212] As Figure 12 shown, when IN(Y)=0 and IN(Y + 1)=0, and IN(X + 9), IN(X + 10), and IN(X + 11) are all 1, regardless of the values of IN(X + 6), IN(X + 7), and IN(X + 8), IN(Y + 2) can be determined as 1.
[0213] According to the control method for the drive and extraction machine to collect drive relays in the interlocking system provided by the embodiments of the present application, when the target drive and extraction machine has sent 0 information to the interlocking machine in the first consecutive number of operating cycles, and the acquisition information in the second consecutive number of acquisition cycles closest to the current time is 1, the acquisition information sent to the interlocking machine in the current operating cycle can be 1, so as to timely respond to the changes in acquisition in the case of a long large station cycle, and avoid the hysteresis of the acquisition information sent by the target drive and extraction machine to the interlocking machine from picking up.
[0214] As Figure 5 and Figure 9As shown, during the actual execution process, the driving and collecting machine can receive the input from the system platform, and in response to the system input, communicate with the interlocking machine. When the driving and collecting machine receives the collection instruction sent by the interlocking machine, it can, in response to the collection instruction, collect the status information of the relay connected to the driving and collecting machine, process the status information, and send the processed status information to the interlocking machine. Moreover, the driving and collecting machine can real-time check the fault information of the processing hardware board, and in the case of a fault causing a shutdown, process and record the fault, and send the processing result information to the interlocking machine. When the driving and collecting machine receives the driving command sent by the interlocking machine, it can, in response to the driving command, drive the corresponding relay.
[0215] The control device for the driving and collecting machine to collect and drive the relay in the interlocking system provided by the present application will be described below. The control device for the driving and collecting machine to collect and drive the relay in the interlocking system described below can be mutually corresponding and referred to with the control method for the driving and collecting machine to collect and drive the relay in the interlocking system described above.
[0216] The control method for the driving and collecting machine to collect and drive the relay in the interlocking system provided by the embodiments of the present application may have the control device for the driving and collecting machine to collect and drive the relay in the interlocking system as the execution subject. In the embodiments of the present application, taking the control device for the driving and collecting machine to collect and drive the relay in the interlocking system to execute the control method for the driving and collecting machine to collect and drive the relay in the interlocking system as an example, the control device for the driving and collecting machine to collect and drive the relay in the interlocking system provided by the embodiments of the present application is described.
[0217] The embodiments of the present application further provide a control device for the driving and collecting machine to collect and drive the relay in the interlocking system.
[0218] As Figure 14 shown, the control device for the driving and collecting machine to collect and drive the relay in the interlocking system includes: a first processing module 1410, a second processing module 1420, a third processing module 1430, a fourth processing module 1440, and a fifth processing module 1450.
[0219] The first processing module 1410 is configured to obtain the first status information of the relays transmitted by at least one set of target driving and collecting machines corresponding to multiple collection channels within multiple collection cycles;
[0220] The second processing module 1420 is configured to process the multiple first status information to obtain second status information;
[0221] The third processing module 1430 is configured to send the second status information to each interlocking machine;
[0222] The fourth processing module 1440 is configured to receive the driving instructions sent by each interlocking machine, where the driving instructions are obtained by the interlocking machine based on the target control logic for processing the second status information;
[0223] The fifth processing module 1450 is configured to control the working states of the relays based on the driving instructions sent by the target interlocking machine in at least one interlocking machine.
[0224] According to the control device for driving and collecting relays in the interlocking system provided by the embodiments of the present application, by obtaining the first state information transmitted by each acquisition path corresponding to the target driving and collecting machine in multiple acquisition cycles, multiple redundant data can be collected, avoiding the loss of the state information of the collected relays, improving the timeliness and accuracy of the collected information, thereby improving the computing power of the interlocking system and the train operation safety; then, the first state information in multiple acquisition cycles is processed to obtain the second state information, and the working states of the relays can be controlled when receiving the driving instructions sent by the interlocking machine, improving the timeliness and accuracy of the driving information.
[0225] In some embodiments, the first processing module 1410 may further be configured to:
[0226] Obtain the first sub-state information of each relay transmitted by each acquisition path corresponding to the target driving and collecting machine in each acquisition cycle;
[0227] Based on the communication status between each sub-driving and collecting machine included in the target driving and collecting machine and the interlocking machine, screen out the first state information from multiple first sub-state information.
[0228] In some embodiments, the first processing module 1410 may further be configured to:
[0229] When the communication status between each sub-driving and collecting machine and the interlocking machine is normal, process the first sub-state information based on the difference information between the first sub-state information collected by each sub-driving and collecting machine to obtain the first state information;
[0230] When the communication status between the first sub-driving and collecting machine and the interlocking machine is normal, and the communication status between the second sub-driving and collecting machine and the interlocking machine is abnormal, determine the first sub-state information collected by the first sub-driving and collecting machine as the first state information;
[0231] When the communication status between each sub-driving and collecting machine and the interlocking machine is abnormal, determine the first sub-state information collected by the target driving and collecting machine in the acquisition cycle closest to the current processing moment in multiple acquisition cycles as the first state information.
[0232] In some embodiments, the first processing module 1410 may further be configured to:
[0233] When the first sub-state information collected by each sub-driving and collecting machine is the same, determine the first sub-state information as the first state information;
[0234] In the case where the first sub-state information collected by each sub-system drive and acquisition machine is different, the first sub-state information in which the states of the target relay are both in the pulled-in state in at least two consecutive acquisition cycles is determined as the first state information.
[0235] In some embodiments, the second processing module 1420 may further be configured to:
[0236] In the case where the current operation cycle of the interlocking machine is the first operation cycle, perform fitting processing on the first state information in multiple acquisition cycles corresponding to the current operation cycle to obtain second state information;
[0237] In the case where the current operation cycle is not the first operation cycle, the first state information collected by the target drive and acquisition machine in the last acquisition cycle in the previous operation cycle of the current operation cycle is determined as the first state information collected by the target drive and acquisition machine in the first acquisition cycle in the current operation cycle, so as to perform fitting processing on the first state information in multiple acquisition cycles corresponding to the current operation cycle to obtain second state information.
[0238] In some embodiments, the second processing module 1420 may further be configured to:
[0239] In the case where the second state information is 0 in a continuous first number of operation cycles, obtain the first state information of each relay transmitted by each acquisition path corresponding to the target drive and acquisition machine in the second number of consecutive acquisition cycles closest to the current processing time in the current operation cycle;
[0240] In the case where the first state information of each relay transmitted by each acquisition path corresponding to the target drive and acquisition machine in the second number of consecutive acquisition cycles closest to the current processing time is 1, determine the second state information in the current operation cycle as 1.
[0241] In the interlocking system according to the embodiments of the present application, the control device for the driving and collecting machine to collect the driving relay can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a palm computer, an in-vehicle electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0242] The control device for the driving and collecting machine to collect the driving relay in the interlocking system according to the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the IOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0243] The control device for the driving and collecting machine to collect the driving relay provided by the embodiments of the present application can implement Figures 3 to 13 each process implemented by the method embodiments. To avoid repetition, it will not be elaborated here.
[0244] The embodiments of the present application further provide a control method for the driving and collecting machine to collect the driving relay in an interlocking system, which is applied to a target interlocking machine in at least one interlocking machine.
[0245] The control method for the driving and collecting machine to collect the driving relay in the interlocking system includes:
[0246] When receiving the second status information sent by the target driving and collecting machine, processing the second status information based on the target control logic to obtain a driving instruction;
[0247] Sending the driving instruction to each sub-driving and collecting machine in the target driving and collecting machine.
[0248] In this embodiment, as Figure 12As shown, when the target interlocking machine receives IN(Y), it can process IN(Y) to obtain OUT(Z), and then send OUT(Z) to each sub-system drive and acquisition machine.
[0249] The target interlocking machine can perform multiple judgments based on a predefined interlocking table (such as defining all legal routes and safety conditions): conflict detection, condition verification, and timing control, etc. Among them, conflict detection can be used to check whether there are conflicting routes; condition verification can include verifying whether the section is idle, whether the switch position is correct, and whether the signal machine status is legal; timing control can include opening the signal after the switch conversion is completed to avoid state conflicts during the operation process.
[0250] After determining that the safety conditions are met, a drive instruction can be generated. For example, the drive instruction can include: signal machine control, switch drive, and route locking, etc. Among them, signal machine control can include outputting an instruction to light the allowed signal (such as a green light), or maintaining the prohibited state (red light); switch drive can include changing the switch position by energizing the relay coil (pulling up / dropping), and locking it in place; route locking can include locking the relevant section after establishing the route to prevent other conflicting operations.
[0251] When each interlocking machine generates a drive instruction based on the second state information, each interlocking machine can send the drive instruction to each sub-system drive and acquisition machine in the target drive and acquisition machine.
[0252] It should be noted that the control method for the drive and acquisition machine to collect drive relays in the interlocking system provided by the embodiments of the present application can also be applied to a dual-machine hot standby drive and acquisition system.
[0253] For a dual-machine hot standby drive and acquisition system, only the primary drive and acquisition machine in the dual-system of the drive and acquisition machine outputs data, and the standby drive and acquisition machine does not output data. After the primary drive and acquisition machine fails, the standby drive and acquisition machine is promoted to the primary drive and acquisition machine to continue to complete the drive and acquisition work.
[0254] In some embodiments, as Figure 15 shown, the embodiments of the present application also provide an electronic device 1500, including a processor 1501, a memory 1502, and a computer program stored on the memory 1502 and executable on the processor 1501. When the program is executed by the processor 1501, it realizes each process of the control method embodiment for the drive and acquisition machine to collect drive relays in the above interlocking system, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0255] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0256] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute each process of the control method embodiment of the drive collection machine collecting the drive relay in the above-mentioned interlocking system, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0257] On another aspect, the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it can execute each process of the control method embodiment of the drive collection machine collecting the drive relay in the above-mentioned interlocking system, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0258] On another aspect, the embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the control method embodiment of the drive collection machine collecting the drive relay in the above-mentioned interlocking system, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0259] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system-on-chip, system chip, chip system, or system-on-chip.
[0260] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0261] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, also by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the related technology, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0262] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims
1. A control method for a drive and acquisition machine to collect drive relays in an interlocking system, characterized in that the interlocking system includes: at least one set of drive and acquisition machines, the drive and acquisition machines include a first sub-system drive and acquisition machine and a second sub-system drive and acquisition machine, and each sub-system drive and acquisition machine is respectively provided with at least two acquisition channels; the drive and acquisition machines are communicatively connected to at least one relay, and the drive and acquisition machines are configured to obtain first state information of the relays corresponding to the acquisition channels through each of the acquisition channels when the interlocking system is operating; at least one interlocking machine, each of the interlocking machines is communicatively connected to each of the drive and acquisition machines; the method includes: obtaining first state information of the relays transmitted by a plurality of acquisition channels corresponding to a target drive and acquisition machine in the at least one set of drive and acquisition machines within a plurality of acquisition cycles; processing the plurality of first state information to obtain second state information; sending the second state information to each of the interlocking machines; receiving drive instructions sent by each of the interlocking machines, the drive instructions being obtained by the interlocking machines based on target control logic for processing the second state information; controlling the operating states of the relays based on the drive instructions sent by a target interlocking machine in at least one of the interlocking machines.
2. The control method of the drive collection drive relay in the interlocking system according to claim 1, wherein The drive and acquisition machines are configured to send the second state information to each of the interlocking machines once within one operation cycle, and the second state information is obtained by the drive and acquisition machines processing the first state information obtained in a plurality of acquisition cycles; the duration of the operation cycle of the interlocking machines is a target multiple of the duration of the acquisition cycle.
3. The control method of the drive relay collected by the driving and mining machine in the interlock system according to claim 1, characterized in that, Each of the interlocking machines is communicatively connected to each of the sub-system drive and acquisition machines through a communication ring network.
4. The control method of the driving relay collected by the driving and mining machine in the interlocking system according to any one of claims 1-3, characterized in that, The first sub-system drive and acquisition machine and the second sub-system drive and acquisition machine are communicatively connected through an internal ring network.
5. The control method of the drive collection drive relay in the interlocking system according to any one of claims 1-3, characterized in that, The obtaining of the first state information of each relay collected by the target drive and acquisition machine within a plurality of acquisition cycles includes: obtaining first sub-state information of each relay transmitted by each acquisition channel corresponding to the target drive and acquisition machine in each of the acquisition cycles; screening the first state information from the plurality of first sub-state information based on the communication states between each sub-system drive and acquisition machine included in the target drive and acquisition machine and the interlocking machine.
6. The control method of the drive collection drive relay in the interlocking system according to claim 5, characterized in that, The screening of the first state information from the plurality of first sub-state information based on the communication states between each sub-system drive and acquisition machine included in the target drive and acquisition machine and the interlocking machine includes: when the communication states between each sub-system drive and acquisition machine and the interlocking machine are all normal, processing the first sub-state information based on the difference information between the first sub-state information collected by each sub-system drive and acquisition machine to obtain the first state information; when the communication state between the first sub-system drive and acquisition machine and the interlocking machine is normal and the communication state between the second sub-system drive and acquisition machine and the interlocking machine is abnormal, determining the first sub-state information collected by the first sub-system drive and acquisition machine as the first state information; When the communication status between each of the sub - system drive - collection machines and the interlocking machine is abnormal, the first sub - status information collected by the target drive - collection machine in the collection cycle closest to the current processing moment among the multiple collection cycles is determined as the first status information.
7. The control method of the drive relay collected by the driving and mining machine in the interlocking system according to claim 6, characterized in that, Processing the first sub - status information based on the difference information between the first sub - status information collected by each of the sub - system drive - collection machines to obtain the first status information includes: When the first sub - status information collected by each of the sub - system drive - collection machines is the same, the first sub - status information is determined as the first status information; When the first sub - status information collected by each of the sub - system drive - collection machines is different, the first sub - status information in which the status of the target relay is in the pulled - in state in at least two consecutive collection cycles is determined as the first status information.
8. The control method of the driving relay collected by the driving and mining machine in the interlocking system according to any one of claims 1-3, characterized in that, Processing the multiple first status information to obtain the second status information includes: When the current operation cycle of the interlocking machine is the first operation cycle, performing a fitting process on the first status information in the multiple collection cycles corresponding to the current operation cycle to obtain the second status information; When the current operation cycle is not the first operation cycle, the first status information collected by the target drive - collection machine in the last collection cycle in the previous operation cycle of the current operation cycle is determined as the first status information collected by the target drive - collection machine in the first collection cycle in the current operation cycle, so as to perform a fitting process on the first status information in the multiple collection cycles corresponding to the current operation cycle to obtain the second status information.
9. The control method of the drive relay collected by the drive and extraction machine in the interlocking system according to any one of claims 1-3, characterized in that, Processing the multiple first status information to obtain the second status information includes: When the second status information is 0 in a consecutive first number of operation cycles, obtaining the first status information of each relay transmitted by each collection path corresponding to the target drive - collection machine in the consecutive second number of collection cycles closest to the current processing moment in the current operation cycle; When the first status information of each relay transmitted by each collection path corresponding to the target drive - collection machine in the consecutive second number of collection cycles closest to the current processing moment is 1, the second status information in the current operation cycle is determined to be 1.
10. A control device for a drive - collection machine to collect a driving relay in an interlocking system, characterized in that: The interlocking system includes: At least one group of drive - collection machines, the drive - collection machines include a first sub - system drive - collection machine and a second sub - system drive - collection machine, and each sub - system drive - collection machine is respectively provided with at least two collection paths; the drive - collection machine is communicatively connected to at least one relay, and the drive - collection machine is configured to obtain the first status information of the relay corresponding to the collection path through each of the collection paths when the interlocking system is working; At least one interlocking machine, and each interlocking machine is respectively communicatively connected to each of the drive - collection machines; The device includes: The first processing module is configured to obtain, within a plurality of acquisition cycles, first status information of relays transmitted by a plurality of acquisition paths corresponding to a target driving and pumping machine among the at least one group of driving and pumping machines; The second processing module is configured to process the plurality of pieces of first status information to obtain second status information; The third processing module is configured to send the second status information to each of the interlocking machines; The fourth processing module is configured to receive a driving instruction sent by each of the interlocking machines, where the driving instruction is obtained by the interlocking machine processing the second status information based on a target control logic; The fifth processing module is configured to control the working status of each of the relays based on the driving instruction sent by a target interlocking machine among the at least one interlocking machine.