A master-standby control center switching control method and device for a train and related equipment

By adopting the hot standby and cold cut method in the train automatic monitoring system, the backup service equipment in the control center remains in operation and disconnected from the network before being used, solving the problems of long switching time or complex network in the existing technology, and realizing fast and flexible switching of the main and standby control centers and data information acquisition.

CN118560555BActive Publication Date: 2025-10-17BYD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410520539.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2025-10-17
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

The existing main and standby control center switching methods in train automatic monitoring systems have problems such as long switching time and slow business function recovery (cold standby method) or complex network relationships and increased network redundancy risks (hot standby method).

Method used

Using the hot standby and cold cut method, the backup service equipment in the control center is in a state of equipment operation and network disconnection before being used. By obtaining data information from the main service equipment, rapid switching is performed, simplifying network relationships and reducing the complexity of network link switching.

Benefits of technology

It achieves faster, more flexible and effective switching between the primary and standby control centers, improves the efficiency of data information acquisition and the speed of system recovery, and reduces the risk of network redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560555B_ABST
    Figure CN118560555B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a train master and backup control center switching control method and device and related equipment, and the method comprises the following steps: acquiring data information of each master service device in a plurality of master service devices in a control center; in the case that it is determined that a target master service device in each master service device fails, the corresponding data information is acquired from the corresponding backup service device of the target master service device, wherein each backup service device in the control center is in a device running and network disconnection state before being used. In this way, the service device in the control center can be switched more quickly, flexibly and effectively.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of train control technology, in particular to a train master-slave control center switching control method and device and related equipment. BACKGROUND

[0002] At present, most of the automatic train supervision systems (ATS) mainly adopt the redundant deployment strategy of control center double host. The so-called redundant strategy of double host means that each control center has a master-slave application server, a history server and a communication interface server. When the master application server of the master control center fails or is closed, the master application server of the standby control center is automatically upgraded to the master.

[0003] The switching mode of the master-slave control center mainly includes hot standby or cold standby. The cold standby mode of the standby control center is only started when needed. This mode has the problems of long switching time, slow recovery of business functions and inability to realize seamless switching because the system and ATS service of the standby control center need to be started during switching. The hot standby mode of the standby control center starts the signal interface server before switching. This mode has the problems of complex network relationship, doubled network data link, complex network link switching logic and increased network redundancy risk because the system and ATS service of the standby control center need to be started during switching. Therefore, how to better switch the devices in the master-slave control center for controlling trains is very important. SUMMARY

[0004] The embodiments of the present application provide a train master-slave control center switching control method and device and related equipment, which can more quickly, flexibly and effectively switch the service devices of the master-slave control center.

[0005] In a first aspect, the embodiments of the present application provide a train master-slave control center switching control method applied to a switching control device in a train monitoring system. The train monitoring system further includes a control center. The switching control device is in communication connection with the control center. The control center includes a plurality of master service devices and a plurality of standby service devices corresponding to each master service device. The method includes:

[0006] Obtaining data information of each master service device in the plurality of master service devices in the control center;

[0007] In a case where it is determined that a target active service device among the active service devices fails, the corresponding data information is controlled to be acquired from a corresponding standby service device corresponding to the target active service device, wherein each standby service device in the control center is in a device running and network disconnection state before being used.

[0008] In a second aspect, an embodiment of the present application provides a computing device, comprising: a processor and a memory, the processor being configured to execute the method in the first aspect.

[0009] In a third aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing program instructions, the program instructions being executed to implement the method in the first aspect.

[0010] In a fourth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising program instructions, the program instructions being executed by a processor to implement the method in the first aspect.

[0011] The embodiments of the present application can acquire data information of each active service device in a plurality of active service devices in a control center, in a case where it is determined that a target active service device among the active service devices fails, the corresponding data information is controlled to be acquired from a corresponding standby service device corresponding to the target active service device, wherein each standby service device in the control center is in a device running and network disconnection state before being used. In this way, the service devices in the control center can be switched more quickly, flexibly and effectively. BRIEF DESCRIPTION OF DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0013] Figure 1 is a structural schematic diagram of a train monitoring system provided by an embodiment of the present application;

[0014] Figure 2 is a flowchart of a master-standby control center switching control method of a train provided by an embodiment of the present application;

[0015] Figure 3 is a schematic diagram before switching of service devices in a master control center provided by an embodiment of the present application;

[0016] Figure 4is a schematic diagram of service equipment switching in a master control center provided by an embodiment of the present application;

[0017] Figure 5 is a structural schematic diagram of a switching control device provided by an embodiment of the present application;

[0018] Figure 6 is a structural schematic diagram of a computing device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0020] It should be understood that the terms “include” and “contain” as used in the specification and the appended claims indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or sets thereof.

[0021] It should also be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and the appended claims of the present application, the singular forms “a”, “an” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0022] It should be further understood that the term “and / or” as used in the specification and the appended claims of the present application refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0023] In a specific implementation, the train master and standby control center switching control device described in the embodiments of the present application includes, but is not limited to, other portable devices such as mobile phones, laptop computers or tablet computers with touch surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch surface (e.g., a touch screen display and / or a touch pad).

[0024] The train master-slave control center switching control method, device and related equipment provided by the embodiments of the present application can be applied to a train master-slave control center switching control device, which can be arranged in a switching control device in a train control system. In some embodiments, the switching control device can be arranged in a computing device, which can include, but is not limited to, a notebook computer, a tablet, a smart watch, and the like terminal device or a server. The train monitoring system ATS also includes a control center, and the switching control device is in communication connection with the control center. The control center includes a plurality of master service devices and a plurality of standby service devices corresponding to each master service device.

[0025] The control center includes a master control center and a standby control center. The master control center includes a plurality of master service devices (such as a master application server, a master history server, and a master communication interface server) and a plurality of standby service devices corresponding to each master service device (such as a standby application server, a standby history server, and a standby communication interface server). Similarly, the standby control center includes a plurality of standby service devices. Each standby service device in the standby control center includes a master standby service device (such as a master standby application server, a master standby history server, and a master standby communication interface server) and a slave standby service device (such as a slave standby application server, a slave standby history server, and a slave standby communication interface server). In some embodiments, the priority of each master standby service device in the standby control center is higher than the priority of each slave standby service device. In one example, when a failure occurs in each service device of the master control center, data can be preferentially obtained from each master standby service device of the standby control center. If data information cannot be obtained from each master standby service device, data information can be further obtained from each slave standby service device.

[0026] The train master-slave control center switching control method provided by the embodiments of the present application can be applied to the application scenarios of train (such as subway, light rail, cable car, etc.) control. Specifically, it can be applied to the application scenarios where the master control center fails, such as a large-area power failure of the master control center. It can also be applied to the application scenarios where the master control center cannot be recovered due to major disasters and accidents.

[0027] Please refer to Figure 1 , Figure 1Fig. 1 is a structural schematic diagram of a train monitoring system provided by an embodiment of the present application. The train monitoring system comprises a control center 11, a switching control device 12, an ATS station server 13, a computer interlocking (CI) system 14 and other external devices 15. The control center 11 comprises a primary control center 111 and a backup control center 112. The other external devices 15 comprise a vehicle on-board controller (VOBC) and a zone controller (ZC) 151, a train control and management system (TCMS) 152, an interface system 153, which comprises but is not limited to any one or more of an integrated supervision and control system (ISCS) for urban rail transit, a radio, a passenger information system (PIS) and a process automation (PA). The switching control device 12 is in communication connection with the control center 11.

[0028] The primary control center 111 comprises an ATS application server 1111, a communication server 1112, a communication interface server 1113, a vehicle dispatching server 1114, a database server 1115 and a dispatching workstation 1116. Similarly, the backup control center 112 comprises an ATS application server 1121, a communication server 1122, a communication interface server 1123, a vehicle dispatching server 1124, a database server 1125 and a dispatching workstation 1126.

[0029] The communication connection relationship between the servers and devices is as shown in Fig. 2. Figure 1As shown, the ATS application server 1111 in the main control center 111 is respectively connected to the database server 1115, the dispatching workstation 1116, the communication interface server 1113, and the communication server 1112 of the main control center, as well as the ATS application server 1121, the communication server 1122 and the dispatching workstation 1126 of the backup control center 112. Each ATS application server of the control center 11 (including ATS application server 1111 and ATS application server 1121) is communicated with the ATS station server 13, the ATS station server 13 is communicated with CI14, the dispatching workstation 1116 in the main control center 111 is communicated with the database server 1115, the dispatching workstation 1126 in the backup control center 112 is communicated with the database server 1125, the communication interface server 1113 or 1123 is communicated with the interface system 153, the communication server 1112 or 1122 is communicated with the vehicle on-board controller (Vehicle on-board Controller, VOBC) and the zone controller (Zone Controller, ZC) 151, and the vehicle dispatching server 1114 or 1124 is communicated with TCMS.

[0030] It should be noted that the equipment shown in the train monitoring system is only part of the equipment, and there are other equipment not shown, such as each service device (server) in the main control center is two, Figure 1 Each service device is shown as one, and the other service device is Figure 1 Each service device shown is identical and is used as a backup service device for each service device. Similarly, each service device in the backup control center is also two, Figure 1 Each service device of the backup control center is shown as one, and the other service device is connected to Figure 1 Each service device shown is identical, Figure 1 Each service device in the backup control center is a backup service device corresponding to each service device in the active control center. Figure 1 Each service device not shown is Figure 1 The backup service equipment of each service equipment in the backup control center is shown. That is, each backup service equipment in the backup control center includes a main backup service equipment ( Figure 1 shown) and from the standby service equipment ( Figure 1 (not shown), the priority of the master standby service device is higher than that of the slave standby service device, which will not be described in detail here.

[0031] In the embodiment of the present application, the switching control device obtains data information of each of the plurality of primary service devices in the control center. In the case where a target primary service device among the plurality of primary service devices is determined to be faulty, the switching control device controls to obtain corresponding data information from a standby service device corresponding to the target primary service device. Before being used, each standby service device in the control center is in a state of device running and network disconnection. The service devices in the control center are arranged in a manner of conventional cold standby, and the network addresses IP specified in the primary control center and the standby control center are consistent, the network relationship is simpler, and the problems of network data link multiplication, network link switching logic implementation complexity, and network redundancy risk increase are reduced. Unlike the conventional cold standby, each service device in the standby control center is always in a state of being powered on (i.e., device running) and network connection disconnection. When the service devices in the control center are switched by the hot standby and cold switching manner, the switching time of the devices is short, the business function is recovered quickly, and the switching is easy and imperceptible. The service devices in the control center can be switched more quickly, flexibly and effectively, so as to improve the efficiency of obtaining data information of the train.

[0032] Please refer to Figure 2 , Figure 2 is a flowchart of a train primary and standby control center switching control method provided by the embodiment of the present application, as Figure 2 shown in the embodiment of the present application, the train primary and standby control center switching control method can be applied to a switching control device, which is arranged in a switching control device. The method can at least include the following steps.

[0033] S201: Obtain data information of each of the plurality of primary service devices in the control center.

[0034] In the embodiment of the present application, the switching control device can obtain data information of each of the plurality of primary service devices in the control center. In some embodiments, the control center can include, but is not limited to, ATS application servers, communication interface servers, communication servers, vehicle dispatching servers, database servers, dispatching workstations and other service devices.

[0035] In one embodiment, the control center includes a primary control center, and the plurality of primary service devices are in the primary control center. In addition to the plurality of primary service devices, the primary control center also includes a standby service device corresponding to each primary service device, so that when a primary service device fails, the switching control device can control to obtain corresponding data information by switching to the standby service device corresponding to the primary service device.

[0036] In one embodiment, the control center further comprises a backup control center, the backup control center comprises a plurality of backup service devices, each service device of the backup control center is configured to obtain data information from each service device of the backup control center when the primary control center fails and the data information cannot be obtained from each service device of the primary control center. In some embodiments, the network address of each backup service device is the same as the network address of the corresponding primary service device, so that the network relationship is simpler, the network data link is not doubled, and the complexity of the network link switching logic is reduced.

[0037] In one embodiment, when the primary service device fails, a corresponding backup service device can be selected from each backup service device to obtain corresponding data information. In one example, when the primary service device fails, a corresponding backup service device can be selected from each backup service device in the primary control center to obtain corresponding data information, or a corresponding backup service device can be selected from each backup service device in the backup control center to obtain corresponding data information.

[0038] In one embodiment, the plurality of backup service devices comprises a plurality of master backup service devices and a slave backup service device corresponding to each master backup service device, wherein the priority of the master backup service device is higher than that of the slave backup service device. Specifically, when the switching control device detects that the primary control center fails and the data information cannot be obtained from each service device of the primary control center, the switching control device can be controlled to obtain corresponding data information from each master backup service device of the backup control center first, and if the corresponding data information cannot be obtained from each master backup service device, the switching control device is further controlled to switch to each slave backup service device of the backup control center to obtain corresponding data information.

[0039] In one embodiment, each service device in the primary control center can determine whether the service device in the primary control center is a primary service device or a backup service device by marking the device status, and the marking method of the device status can be identified by numbers, words, letters, etc. For example, the primary service device in the primary control center is marked with the number 1, and the backup service device in the primary control center is marked with the number 2.

[0040] The service devices in the backup control center can also determine whether the backup service devices in the backup control center are master backup service devices or slave backup service devices by marking the device states. The state marks of the service devices in the backup control center can be different from those of the service devices in the master control center, so as to distinguish the service devices in different states in each control center. For example, the master backup service device in the backup control center is marked with the number 3, and the slave backup service device in the backup control center is marked with the number 4.

[0041] Marking the device states helps to quickly and effectively select the corresponding service device for switching when the service device is switched, so as to improve the efficiency of device switching.

[0042] S202: In a case where it is determined that a target master service device in each master service device fails, the switching control apparatus controls to acquire corresponding data information from a backup service device corresponding to the target master service device, wherein each backup service device in the control center is in a device running and network disconnected state before being used.

[0043] In the embodiments of the present application, the switching control apparatus can control to acquire corresponding data information from a backup service device corresponding to a target master service device in each master service device in a case where it is determined that the target master service device fails, wherein each backup service device in the control center is in a device running and network disconnected state before being used.

[0044] By controlling each backup service device to be in a device running and network disconnected state before being used, it is helpful to quickly use the backup service device by establishing a network connection when the backup service device is used, reduce the device startup time caused by starting the device in the prior art, and improve the efficiency of device switching.

[0045] In one embodiment, the control center includes a master control center, the master control center includes a plurality of master service devices and a backup service device corresponding to each master service device; when the switching control apparatus controls to acquire corresponding data information from a backup service device corresponding to a target master service device in each master service device in a case where it is determined that the target master service device fails, it can select a first backup service device corresponding to the target master service device from the master control center in a case where it is determined that the target master service device in the master control center fails; establish a network connection of the first backup service device, and control to acquire corresponding data information from the first backup service device.

[0046] In one embodiment, when the switching control device determines that the target primary service device in the primary control center fails, and selects the first backup service device corresponding to the target primary service device from the primary control center, the switching control device can directly select the target backup service device corresponding to the target primary service device from the backup service devices in the primary control center, and determine the target backup service device as the first backup service device.

[0047] Specifically, the embodiments of the present application can be illustratively described in combination with Figure 3 and Figure 4 , and Figure 3 is a schematic diagram of service device switching in a primary control center provided by an embodiment of the present application, Figure 4 is a schematic diagram of service device switching in a primary control center provided by an embodiment of the present application. As Figure 3 indicated, the primary control center includes a primary service device and a backup service device, wherein the primary service device includes an ATS application server (primary) 31 and a communication server (primary) 32, and the backup service device includes an ATS application server (backup) 33 and a communication server (backup) 34 corresponding to the primary service device. The ATS application server (primary) 31 can obtain data information of a train through the communication server (primary) 32, and the communication server (primary) 32 can obtain data information of the train from an automatic train protection subsystem (ATP) and / or an automatic train operation system (ATO) 35. At this time, the ATS application server (backup) 33 and the communication server (backup) 34 as backup service devices are in a state of device running and network disconnection. When the communication server (primary) 32 as the primary service device in the primary control center fails, the switching control device can establish network connection of the communication server (backup) 34 as the backup service device in the primary control center, so as to control switching from the communication server (primary) 32 as the primary service device to the communication server (backup) 34 as the backup service device in the primary control center to obtain corresponding data information, as Figure 4 indicated.

[0048] In some embodiments, the switching control device can disconnect the network connection of the failed target primary service device, and in other embodiments, the switching control device can keep the network connection of the failed target primary service device, so that the switching control device can timely obtain the signal of the target primary service device failure recovery after the target primary service device failure recovery, so as to flexibly switch back to the target primary service device from the first standby service device, obtain data information from the target primary service device, the network link is simpler and more direct, and the corresponding data information can be more efficiently and quickly obtained.

[0049] In one embodiment, when the switching control device determines that the target primary service device in each primary service device fails, and controls to obtain the corresponding data information from the standby service device corresponding to the target primary service device, the switching control device can determine that the target primary service device in the primary control center fails, obtain the first used amount of the service device in the primary control center and the second used amount of the service device in the standby control center, and if it is detected that the difference between the first used amount and the second used amount is greater than a first preset threshold, determine to select a third standby service device corresponding to the target primary service device from the standby control center; establish a network connection of the third standby service device, and control to obtain the corresponding data information from the third standby service device. If it is detected that the difference between the first used amount and the second used amount is less than or equal to the first preset threshold, it is determined to select a fourth standby service device corresponding to the target primary service device from each standby service device in the primary control center; establish a network connection of the fourth standby service device, and control to obtain the corresponding data information from the fourth standby service device.

[0050] When the switching control device determines that the ratio of the number of used service devices in the primary control center to the number of all service devices in the primary control center and the standby control center is the first used amount, the switching control device can obtain the number of used service devices in the primary control center and the number of used service devices in the standby control center; determine that the ratio of the number of used service devices in the primary control center to the number of all service devices in the primary control center and the standby control center is the first used amount; determine that the ratio of the number of used service devices in the standby control center to the number of all service devices in the primary control center and the standby control center is the second used amount.

[0051] Further, the switching control device can further acquire a third usage amount of each standby service device in the primary control center (i.e., a ratio of the number of used standby service devices in the primary control center to the number of all service devices in the control center) and a second usage amount of each service device in the standby control center (i.e., a ratio of the number of used service devices in the standby control center to the number of all service devices in the control center), and if a difference between the third usage amount and the second usage amount is greater than a second preset threshold, determine to select a third standby service device corresponding to the target primary service device from the standby control center; establish a network connection of the third standby service device, and control to acquire corresponding data information from the third standby service device. If the difference between the third usage amount and the second usage amount is less than or equal to the second preset threshold, determine to select a fourth standby service device corresponding to the target primary service device from each standby service device in the primary control center; establish a network connection of the fourth standby service device, and control to acquire corresponding data information from the fourth standby service device.

[0052] By comparing the third usage amount of each standby service device in the primary control center with the second usage amount of each service device in the standby control center, when the difference between the third usage amount and the second usage amount is greater than the second preset threshold, it is determined that the usage rate of each standby service device in the primary control center is greater than the usage rate of each service device in the standby control center, and therefore the second standby service device corresponding to the target primary service device can be selected from each service device in the standby control center. Similarly, when the difference between the third usage amount and the second usage amount is less than or equal to the second preset threshold, it is determined that the usage rate of each standby service device in the primary control center is less than the usage rate of each service device in the standby control center, and therefore the second standby service device corresponding to the target primary service device can be selected from each standby service device in the primary control center. In this way, the second standby service device corresponding to the target primary service device can be more flexibly selected between the primary control center and the standby control center, to improve the device switching efficiency and the data acquisition efficiency.

[0053] In an embodiment, the switching control device, when selecting the third backup service device corresponding to the target primary service device from the backup control center, can control to select the third backup service device corresponding to the target primary service device from the primary backup service device of the backup control center first, and if the corresponding data information cannot be obtained from the third backup service device corresponding to the target primary service device selected from the primary backup service device of the backup control center, control to select the third backup service device corresponding to the target primary service device from the secondary backup service device of the backup control center, and control to obtain the corresponding data information from the third backup service device corresponding to the target primary service device selected from the secondary backup service device.

[0054] In an embodiment, the control center further comprises a backup control center comprising a plurality of backup service devices; when the switching control device determines that the target primary service device among the primary service devices fails, and controls to obtain the corresponding data information from the backup service device corresponding to the target primary service device, if the corresponding data information cannot be obtained from the first backup service device, the switching control device determines that the first backup service device fails, and selects a second backup service device corresponding to the target primary service device from the backup control center; establishes a network connection of the second backup service device, and controls to obtain the corresponding data information from the second backup service device.

[0055] In an embodiment, the backup control center comprises a plurality of primary backup service devices and secondary backup service devices; when the switching control device selects the second backup service device corresponding to the target primary service device from the backup control center, the switching control device can select a target primary backup service device corresponding to the target primary service device from each primary backup service device of the backup control center, and determine that the target primary backup service device is the second backup service device, if the corresponding data information cannot be obtained from the target primary backup service device, control to select a target secondary backup service device corresponding to the target primary service device from each secondary backup service device of the backup control center, and determine that the target secondary backup service device is the second backup service device, and obtain the corresponding data information from the target secondary backup service device.

[0056] Further, the switching control device can acquire a fourth usage amount of each master-slave service device in the backup control center (i.e., a ratio of the number of the used master-slave service devices in the backup control center to the number of all the backup service devices in the backup control center) and a fifth usage amount of each slave backup service device in the backup control center (i.e., a ratio of the number of the used slave backup service device in the backup control center to the number of all the backup service devices in the backup control center), and determine to select the second backup service device corresponding to the target master service device from each slave backup service device in the backup control center if a difference between the fourth usage amount and the fifth usage amount is greater than a third preset threshold, or determine to select the second backup service device corresponding to the target master service device from each master-slave service device in the backup control center if the difference between the fourth usage amount and the fifth usage amount is less than or equal to the third preset threshold.

[0057] By comparing the fourth usage amount of each master-slave service device in the backup control center with the fifth usage amount of each slave backup service device, it can be determined that the usage rate of each master-slave service device in the backup control center is greater than that of each slave backup service device if the difference between the fourth usage amount and the fifth usage amount is greater than the third preset threshold, and thus the second backup service device corresponding to the target master service device can be selected from each slave backup service device. Similarly, it can be determined that the usage rate of each master-slave service device in the backup control center is less than that of each slave backup service device if the difference between the fourth usage amount and the fifth usage amount is less than or equal to the third preset threshold, and thus the second backup service device corresponding to the target master service device can be selected from each master-slave service device. In this way, the second backup service device corresponding to the target master service device can be more flexibly selected from each master-slave service device and each slave backup service device in the backup control center, so as to improve the device switching efficiency and the data acquisition efficiency.

[0058] In an embodiment, the control center includes a master control center and a backup control center, the master control center includes a plurality of master service devices and a backup service device corresponding to each master service device, and the backup control center includes a plurality of backup service devices; and the switching control device establishes a network connection of each backup service device in the backup control center and controls to acquire corresponding data information from each backup service device in each control center if no corresponding data information is acquired from any service device in the master control center within a preset time range.

[0059] In the case that the data information cannot be obtained from the main control center, the network connection of each service device in the backup control center is established, so that the data information of the train is obtained from the backup control center, thereby reducing the possibility that the data information of the train cannot be obtained in the case that the main control center fails, and improving the reliability and efficiency of obtaining the data information of the train.

[0060] In one embodiment, the switching control device detects whether the failure of the main service device corresponding to any backup service device is recovered in the process of obtaining the corresponding data information from any backup service device; if it is detected that the failure of the main service device corresponding to any backup service device is recovered, the network connection of the any backup service device is disconnected, and the corresponding data information is obtained from the main service device corresponding to the any backup service device. In some embodiments, the switching control device can determine that the failure of the main service device corresponding to any backup service device is recovered when the communication signal of the main service device corresponding to the any backup service device is obtained.

[0061] The embodiments of the present application can obtain the data information of each main service device in the plurality of main service devices in the control center, and in the case that the target main service device in the plurality of main service devices fails, the corresponding data information is obtained from the backup service device corresponding to the target main service device, wherein each backup service device in the control center is in a device running and network disconnection state before being used. In this way, the service devices in the control center can be switched more quickly, flexibly and effectively, so as to improve the efficiency of obtaining the data information of the train.

[0062] Referring to Figure 5 , Figure 5 is a structural schematic diagram of a switching control device provided by the embodiments of the present application, as Figure 5 shown, the switching control device is applied to a switching control device in a train monitoring system, the train monitoring system further includes a control center, the switching control device is in communication connection with the control center, the control center includes a plurality of main service devices and a plurality of backup service devices corresponding to each main service device, and the switching control device includes an obtaining unit 501 and a control unit 502, wherein,

[0063] The obtaining unit 501 is configured to obtain the data information of each main service device in the plurality of main service devices in the control center;

[0064] The control unit 502 is configured to, in a case where it is determined that a target service device in the plurality of service devices fails, control to acquire corresponding data information from a corresponding standby service device of the target service device.

[0065] Further, the primary control center comprises a plurality of service devices and a corresponding standby service device for each service device; and the control unit 502, in a case where it is determined that a target service device in the plurality of service devices fails, controls to acquire corresponding data information from a corresponding standby service device of the target service device, specifically configured to:

[0066] select a first standby service device corresponding to the target service device from the primary control center in a case where it is determined that the target service device in the primary control center fails;

[0067] establish a network connection of the first standby service device and control to acquire corresponding data information from the first standby service device.

[0068] Further, the control center further comprises a standby control center, and the standby control center comprises a plurality of standby service devices; and the control unit 502, in a case where it is determined that a target service device in the plurality of service devices fails, controls to acquire corresponding data information from a corresponding standby service device of the target service device, specifically configured to:

[0069] if the corresponding data information is not acquired from the first standby service device, it is determined that the first standby service device fails, and a second standby service device corresponding to the target service device is selected from the standby control center;

[0070] establish a network connection of the second standby service device and control to acquire corresponding data information from the second standby service device.

[0071] Further, the control unit 502, in a case where it is determined that a target service device in the plurality of service devices fails, controls to acquire corresponding data information from a corresponding standby service device of the target service device, specifically configured to:

[0072] acquire a first used amount of service devices in the primary control center and a second used amount of service devices in the standby control center in a case where it is determined that a target service device in the primary control center fails;

[0073] If it is detected that the difference between the first used amount and the second used amount is greater than a first preset threshold, a third backup service device corresponding to the target primary service device is selected from the backup control center, and network connection of the third backup service device is established to control acquisition of corresponding data information from the third backup service device.

[0074] If it is detected that the difference between the first used amount and the second used amount is less than or equal to the first preset threshold, a fourth backup service device corresponding to the target primary service device is selected from each backup service device of the primary control center, and network connection of the fourth backup service device is established to control acquisition of corresponding data information from the fourth backup service device.

[0075] Further, when the control unit 502 acquires the first used amount of service devices in the primary control center and the second used amount of service devices in the backup control center, specifically for:

[0076] acquiring the number of used service devices in the primary control center and the number of used service devices in the backup control center;

[0077] determining that the ratio of the number of used service devices in the primary control center to the total number of service devices in the primary control center and the backup control center is the first used amount;

[0078] determining that the ratio of the number of used service devices in the backup control center to the total number of service devices in the primary control center and the backup control center is the second used amount.

[0079] Further, the control center includes a primary control center and a backup control center, the primary control center includes a plurality of primary service devices and a backup service device corresponding to each primary service device, and the backup control center includes a plurality of backup service devices; the control unit 502 is further used for:

[0080] If corresponding data information is not acquired from any service device in the primary control center within a preset time range, network connection of each backup service device in the backup control center is established, and corresponding data information is acquired from each backup service device in each control center.

[0081] Further, the control unit 502 is further used for:

[0082] In the process of acquiring corresponding data information from any backup service device, it is detected whether the failure of the primary service device corresponding to the any backup service device is recovered;

[0083] If it is detected that the primary service device corresponding to the any standby service device recovers from failure, the network connection of the any standby service device is disconnected, and the corresponding data information is controlled to be acquired from the primary service device corresponding to the any standby service device.

[0084] In the embodiment of the present application, the switching control device can acquire data information of each primary service device in the plurality of primary service devices in the control center. In the case where it is determined that a target primary service device in the primary service devices fails, the corresponding data information is controlled to be acquired from the standby service device corresponding to the target primary service device. Each standby service device in the control center is in a state of device running and network disconnection before being used. In this way, the service devices in the control center can be switched more quickly, flexibly and effectively, so as to improve the efficiency of acquiring data information of the train.

[0085] Referring to Figure 6 , Figure 6 is a structural schematic diagram of a computing device provided by an embodiment of the present application. The computing device can include one or more processors 601, a memory 602, a bus 603 and a communication interface 604, the processor 601, the communication interface 604 and the memory 602 being connected through the bus 603; the memory 602 is used to store a program; the processor 601 is used to call the program stored in the above memory through the bus 603, and perform the following steps:

[0086] acquire data information of each primary service device in the plurality of primary service devices in the control center;

[0087] In the case where it is determined that a target primary service device in the primary service devices fails, the corresponding data information is controlled to be acquired from the standby service device corresponding to the target primary service device. Each standby service device in the control center is in a state of device running and network disconnection before being used.

[0088] Further, the primary control center includes a plurality of primary service devices and a standby service device corresponding to each primary service device; when the processor 601 controls the corresponding data information to be acquired from the standby service device corresponding to the target primary service device in the case where it is determined that a target primary service device in the primary service devices fails, the processor 601 is specifically used for:

[0089] In the case where it is determined that the target primary service device in the primary control center fails, a first standby service device corresponding to the target primary service device is selected from the primary control center;

[0090] establish a network connection of the first backup service device, and control to acquire corresponding data information from the first backup service device.

[0091] Further, the control center further includes a backup control center, the backup control center includes a plurality of backup service devices; the processor 601 controls to acquire corresponding data information from the corresponding backup service device of the target primary service device in the case that the target primary service device in the primary service device is determined to be faulty, and is specifically used for:

[0092] If the corresponding data information is not acquired from the first backup service device, it is determined that the first backup service device is faulty, and a second backup service device corresponding to the target primary service device is selected from the backup control center;

[0093] establish a network connection of the second backup service device, and control to acquire corresponding data information from the second backup service device.

[0094] Further, the processor 601 controls to acquire corresponding data information from the corresponding backup service device of the target primary service device in the case that the target primary service device in the primary service device is determined to be faulty, and is specifically used for:

[0095] In the case that the target primary service device in the primary control center is determined to be faulty, the first used amount of service devices in the primary control center and the second used amount of service devices in the backup control center are acquired;

[0096] If it is detected that the difference between the first used amount and the second used amount is greater than a first preset threshold, it is determined to select a third backup service device corresponding to the target primary service device from the backup control center, establish a network connection of the third backup service device, and control to acquire corresponding data information from the third backup service device;

[0097] If it is detected that the difference between the first used amount and the second used amount is less than or equal to the first preset threshold, it is determined to select a fourth backup service device corresponding to the target primary service device from the primary control center, establish a network connection of the fourth backup service device, and control to acquire corresponding data information from the fourth backup service device.

[0098] Further, the processor 601 acquires the first used amount of service devices in the primary control center and the second used amount of service devices in the backup control center, and is specifically used for:

[0099] obtaining a number of service devices used in the primary control center and a number of service devices used in the backup control center;

[0100] determining a ratio of the number of service devices used in the primary control center to a total number of service devices in the primary control center and the backup control center as the first used amount;

[0101] determining a ratio of the number of service devices used in the backup control center to the total number of service devices in the primary control center and the backup control center as the second used amount.

[0102] Further, the control center includes a primary control center and a backup control center, the primary control center includes a plurality of primary service devices and a corresponding backup service device for each primary service device, and the backup control center includes a plurality of backup service devices; the processor 601 is further configured to:

[0103] If no corresponding data information is obtained from any service device in the primary control center within a preset time range, network connections of each backup service device in the backup control center are established, and corresponding data information is obtained from each backup service device in the primary control center.

[0104] Further, the processor 601 is further configured to:

[0105] In the process of obtaining corresponding data information from any backup service device, it is detected whether the failure of the primary service device corresponding to the any backup service device is recovered;

[0106] If it is detected that the failure of the primary service device corresponding to the any backup service device is recovered, the network connection of the any backup service device is disconnected, and corresponding data information is obtained from the primary service device corresponding to the any backup service device.

[0107] In the embodiment of the application, the server can obtain data information of each primary service device in a plurality of primary service devices in the control center, and in the case where a target primary service device in the primary service devices fails, corresponding data information is obtained from a backup service device corresponding to the target primary service device, wherein each backup service device in the control center is in a state of device running and network disconnection before being used. In this way, the service devices in the control center can be switched more quickly, flexibly and effectively, so as to improve the efficiency of obtaining data information of the train.

[0108] It should be understood that, in the embodiments of the present application, the processor 601 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0109] The memory 602 can include a read-only memory and a random access memory, and provide instructions and data for the processor 601. A part of the memory 602 can also include a nonvolatile random access memory. For example, the memory 602 can also store device type information.

[0110] In specific implementations, the processor 601 described in the embodiments of the present application can execute the implementation manners of the train primary and backup control center switching control method provided by the embodiments of the present application, and can also execute the implementation manners of the train primary and backup control center switching control device described in the embodiments of the present application, which will not be described here.

[0111] The embodiments of the present application also provide a computer readable storage medium, which stores program instructions, and the program instructions are executed to implement the method described in the embodiments of the present application, which will not be described here.

[0112] The computer readable storage medium can be an internal storage unit of the device, such as a hard disk or a memory of the device. The computer readable storage medium can also be an external storage device of the device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the device. The computer readable storage medium is used to store the computer program and other programs and data required by the mobile device. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.

[0113] The embodiments of the present application further provide a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. A processor of a server reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the server executes the method provided in various embodiments described above.

[0114] Those skilled in the art can clearly understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in the above description in general terms. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the terminal and the unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0116] In several embodiments provided in the present application, it should be understood that the disclosed train master and backup control center switching control device and method can be implemented by other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can also be electrical, mechanical or other form of connection.

[0117] The steps in the method embodiments of the present application can be sequentially adjusted, combined and deleted according to actual needs.

[0118] The units in the terminal embodiments of the present application can be combined, divided and deleted according to actual needs.

[0119] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0120] In addition, each of the functional units in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.

[0121] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such an understanding, the technical solutions of the present application essentially, or the part that contributes to the prior art, or all or a part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various other media that can store program codes.

[0122] The above describes only the specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method for switching control between the main and standby control centers of a train, characterized in that: A switching control device applied to a train monitoring system, the train monitoring system also including a control center, the switching control device being communicatively connected to the control center, the control center including a plurality of primary service devices and a plurality of backup service devices corresponding to each primary service device, the control center including a primary control center and a backup control center, the primary control center including a plurality of primary service devices and a backup service device corresponding to each primary service device, the backup control center including a plurality of primary backup service devices and a slave backup service device corresponding to each primary backup service device, the method comprising: Acquiring data information of each of the plurality of active service devices in the control center; When it is determined that a target active service device among the active service devices fails, controlling to obtain corresponding data information from a backup service device corresponding to the target active service device, wherein each backup service device in the control center is in a state of device operation and network disconnection before being used, and the network address of each backup service device is the same as the network address of the corresponding active service device; The controlling, when determining that a target active service device among the active service devices fails, to obtain corresponding data information from a backup service device corresponding to the target active service device, includes: When it is determined that the target primary service device in the primary control center fails, selecting a first backup service device corresponding to the target primary service device from the primary control center, establishing a network connection with the first backup service device, and controlling acquisition of corresponding data information from the first backup service device; If the corresponding data information is not obtained from the first backup service device, it is determined that the first backup service device has failed, and a second backup service device corresponding to the target primary service device is selected from each primary backup service device or each slave backup service device of the backup control center, wherein the priority of the primary backup service device is higher than that of the slave backup service device; Establishing a network connection of the second standby service device and controlling acquisition of corresponding data information from the second standby service device.

2. The method according to claim 1, characterized in that When it is determined that a target active service device among the active service devices fails, controlling to obtain corresponding data information from a backup service device corresponding to the target active service device includes: When it is determined that a target active service device in the active control center fails, obtaining a first usage amount of the service device in the active control center and a second usage amount of the service device in the standby control center; If it is detected that the difference between the first usage amount and the second usage amount is greater than a first preset threshold, determining to select a third backup service device corresponding to the target primary service device from the backup control center, and establishing a network connection with the third backup service device to control acquisition of corresponding data information from the third backup service device; If it is detected that the difference between the first usage amount and the second usage amount is less than or equal to the first preset threshold, it is determined to select a fourth backup service device corresponding to the target main service device from the various backup service devices of the main control center, and establish a network connection for the fourth backup service device to control the acquisition of corresponding data information from the fourth backup service device.

3. The method according to claim 2, characterized in that The obtaining of the first usage amount of the service equipment in the active control center and the second usage amount of the service equipment in the standby control center includes: Acquire the number of service devices used in the active control center and the number of service devices used in the standby control center; Determine the ratio of the number of service devices used in the active control center to the number of all service devices in the active control center and the standby control center as the first usage amount; The ratio of the number of service devices used in the backup control center to the number of all service devices in the active control center and the backup control center is determined as the second usage amount.

4. The method according to claim 1, wherein The control center includes a primary control center and a backup control center, the primary control center includes a plurality of primary service devices and a backup service device corresponding to each primary service device, and the backup control center includes a plurality of backup service devices; the method further includes: If the corresponding data information is not obtained from any service device in the active control center within the preset time range, a network connection is established between each backup service device in the backup control center, and control is performed to obtain the corresponding data information from each backup service device in each control center.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: In the process of obtaining corresponding data information from any standby service device, detecting whether the fault of the active service device corresponding to any standby service device is restored; If the failure recovery of the active service device corresponding to any of the backup service devices is detected, the network connection of any of the backup service devices is disconnected, and corresponding data information is obtained from the active service device corresponding to any of the backup service devices.

6. A computing device, characterized in that The method comprises a processor and a memory, wherein the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the processor is configured to call the computer program to execute the method according to any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program instructions, which, when executed, implement the method according to any one of claims 1 to 5.

8. A computer program product, characterized in that The computer program product comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • ATS main / standby switching method and device

    CN116215618A