Area controller double-system synchronization failure early warning method and device
By monitoring and counting the number of master-slave synchronization failures of the boards in the regional controller, and generating hierarchical early warning information, the problem of the inability to effectively identify ZC dual-system synchronization failures in the existing technology is solved. This enables early warning and proactive management of potential faults, improving the reliability and operation and maintenance efficiency of the system.
Patent Information
- Application Number
- CN202511155709.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-12-26
AI Technical Summary
Existing technologies cannot effectively identify and warn of potential risks of dual-system synchronization failure of the Zone Controller (ZC), resulting in a passive response state for system operation and maintenance, which increases the risk of sudden system failure and operation and maintenance costs.
By acquiring the current early warning event information of each board in the regional controller, identifying the master-slave synchronization failure alarm code, and counting the number of consecutive master-slave synchronization failures of each board based on the dictionary list, hierarchical early warning information is generated to realize continuous monitoring and early warning of the ZC dual-system synchronization status.
Timely detection of potential security risks reduces the likelihood of system failures, improves system reliability and maintenance efficiency, optimizes resource allocation, and reduces operating costs.
Smart Images

Figure CN121201152A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of rail transit signal control technology, and in particular to a regional controller dual-system synchronization failure early warning method and device. BACKGROUND
[0002] The rail transit signal system is the core technical equipment for ensuring the safe and efficient operation of trains. Among them, the ZC subsystem (Zone Controller) as a key component of the signal system is responsible for train route control, switch conversion and signal display within the station yard range and other safety-critical functions. Since it is directly related to train safety, the ZC subsystem must have very high reliability and availability. The ZC subsystem in the prior art generally uses a redundant design-based safety computer platform. Among them, the "2-out-of-2" (2oo2) architecture is a widely used technical solution. This architecture configures two sets of functionally identical processing systems, i.e., dual systems (also known as primary and backup systems), which work in a master-slave manner. In normal operation, the primary system is responsible for executing all real-time control tasks, and the secondary system acts as a hot backup and keeps synchronized operation with the primary system, ready to take over control at any time in the event of a primary system failure, thereby realizing seamless switching and uninterrupted operation of the system.
[0003] The secondary system receives the periodic start synchronization signal sent by the primary system at the beginning of each control cycle and uses this signal as the time reference for the system, ensuring that the dual systems remain strictly consistent in timing. This periodic synchronization mechanism enables the secondary system to replicate the primary system's running state in real time, including various control data, device state information, and safety logic judgment results. Only under the condition of complete synchronization of the dual systems can the primary-backup switching ensure the continuity and correctness of the control logic. When the dual systems fail to synchronize once or twice, it does not affect the ZC's execution of critical tasks and the system self-checking attempts to restore the process. If the synchronization fails three times, it will directly cause the backup system to crash and affect the operation of the ZC.
[0004] The prior art cannot effectively identify and warn of the potential risks of ZC dual-system synchronization failure, leaving the system operation and maintenance in a passive state and unable to achieve early detection and proactive prevention of faults. This not only increases the risk of system failure but also increases the cost and difficulty of operation and maintenance. Therefore, how to continuously monitor, analyze and provide early warning for the synchronization state of the ZC dual system has become a technical problem that needs to be solved in the industry. SUMMARY
[0005] The present application provides a regional controller dual-system synchronization failure early warning method and device to solve the defect that the prior art cannot effectively identify and warn of the potential risks of ZC dual-system synchronization failure, and to realize continuous monitoring, analysis and early warning of the synchronization state of the ZC dual system.
[0006] The application provides a regional controller double-system synchronization failure early warning method, comprising: obtaining current early warning event information sent by each board card in the regional controller; in the case that the current early warning event information contains a master-slave synchronization failure alarm code, determining a current board card corresponding to the current early warning event information, and updating the number of times of continuous master-slave synchronization failure of the current board card based on the current early warning event information; generating master-slave synchronization failure early warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card.
[0007] In some embodiments, before the updating of the number of times of continuous master-slave synchronization failure of the current board card based on the current early warning event information, the method further comprises: defining a dictionary list; the dictionary list is used for storing board card information, a first statistical value and a second statistical value of each board card; the first statistical value is used for counting the number of times of continuous master-slave synchronization failure of each board card until the last period; and the second statistical value is used for counting the number of times of continuous master-slave synchronization failure of each board card until the current period.
[0008] In some embodiments, the updating of the number of times of continuous master-slave synchronization failure of the current board card based on the current early warning event information comprises: determining that the current board card has once master-slave synchronization failure in the current period based on the current early warning event information; if the current board card information exists in the dictionary list, assigning the second statistical value corresponding to the current board card to the first statistical value corresponding to the current board card, and performing an increment operation on the second statistical value corresponding to the current board card; if the current board card information does not exist in the dictionary list, adding the current board card information in the dictionary list, setting the value of the first statistical value corresponding to the current board card to zero, setting the value of the second statistical value corresponding to the current board card to one, and storing in the dictionary list; and clearing the second statistical value corresponding to the board card information of other board cards except the current board card in the dictionary list, and assigning the corresponding first statistical value before clearing.
[0009] In some embodiments, before the generation of master-slave synchronization failure early warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card, the method further comprises: in the case that the first statistical value of any board card is not zero and the second statistical value is zero, generating master-slave synchronization failure early warning information of the any board card based on the number of times of continuous master-slave synchronization failure of the any board card.
[0010] In some embodiments, the generating the master-slave synchronization failure warning information of the current board card based on the number of times of continuous master-slave synchronization failure of the current board card comprises: generating the first master-slave synchronization failure warning information in the case that the number of times of continuous master-slave synchronization failure of the current board card is less than or equal to a first threshold value; the first master-slave synchronization failure warning information is used to prompt the master-slave synchronization failure of the current board card; generating the second master-slave synchronization failure warning information in the case that the number of times of continuous master-slave synchronization failure of the current board card is greater than the first threshold value; the second master-slave synchronization failure warning information is used to control the standby system of the area controller to be down.
[0011] In some embodiments, after the generating the master-slave synchronization failure warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card, the method further comprises: deleting the board card information, the first statistical value and the second statistical value corresponding to any board card in the dictionary list in the case that the second statistical value of the any board card is zero.
[0012] In some embodiments, the method further comprises: determining an analysis interval; determining the number of master-slave synchronization failures in the analysis interval based on the master-slave synchronization failure warning information of each board card; determining the time interval of the centralized occurrence of master-slave synchronization failures in the analysis interval based on the master-slave synchronization failure warning information of each board card; determining the distribution of master-slave synchronization failures in each centralized station in the analysis interval based on the master-slave synchronization failure warning information of each board card.
[0013] The application provides a kind of area controller double system synchronization failure warning device, comprising: warning automatic identification filtering module, for obtaining the current warning event information sent by each board card in area controller;In the case that the current warning event information contains master-slave synchronization failure alarm code, determine the current board card corresponding to the current warning event information, and update the number of times of continuous master-slave synchronization failure of the current board card based on the current warning event information; warning diagnosis module, for generating the master-slave synchronization failure warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card.
[0014] The application provides a kind of electronic equipment, comprising memory, processor and computer program stored on the memory and running on the processor, when the processor executes the computer program, the area controller double system synchronization failure warning method is realized.
[0015] The application provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program realizes the double-system synchronization failure early warning method of the area controller when executed by a processor.
[0016] The double-system synchronization failure early warning method and device of the area controller provided by the embodiments of the application can automatically identify ZC double-system synchronization failure early warning, accumulate and statistically record the number of ZC double-system master-slave synchronization failures of each board card, discover potential safety hazards in time, help the system more comprehensively understand the frequency and trend of synchronization failures, and thus take measures in advance to reduce the possibility of system failure. Moreover, the number of ZC double-system synchronization failures continuously sent by each board card is used for hierarchical early warning management, which can effectively distinguish between occasional transient interference and continuously deteriorating defects, facilitate reasonable allocation of maintenance resources according to the severity of synchronization failure, realize the change from passive response to active early warning, enable the system to early warn potential major failure risks, significantly improve the reliability, maintenance efficiency and safety of the system, simultaneously optimize resource allocation, and reduce operating costs. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
[0018] In order to more clearly illustrate the technical solutions in the application or prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the application, and for those skilled in the art, other drawings can be obtained without creative labor based on these drawings.
[0019] Figure 1 is a flowchart of the double-system synchronization failure early warning method of the area controller provided by the application.
[0020] Figure 2 is an automatic identification and filtering process diagram of the double-system synchronization failure early warning method of the area controller provided by the application.
[0021] Figure 3 is a warning diagnosis flowchart of the double-system synchronization failure early warning method of the area controller provided by the application.
[0022] Figure 4 is a structure diagram of the double-system synchronization failure early warning device of the area controller provided by the application.
[0023] Figure 5 is a structure diagram of the electronic device provided by the application. DETAILED DESCRIPTION
[0024] In order to make the person skilled in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of the present application.
[0025] It should be noted that the terms "first", "second" and the like in the present application are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units or modules does not necessarily have to be limited to those steps or units or modules clearly listed, but can include other steps or units or modules that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] Figure 1 is a flowchart of the method for early warning of double-system synchronization failure of a regional controller provided by the present application, as shown in the figure, the method comprises steps 110, 120 and 130. Figure 1
[0027] Step 110, obtaining the current early warning event information sent by each board card in the regional controller.
[0028] Specifically, the execution subject of the method for early warning of double-system synchronization failure of a regional controller provided by the embodiments of the present application is a device for early warning of double-system synchronization failure of a regional controller. The device can be realized by software, such as a regional controller double-system synchronization failure early warning program running in a computer, or by hardware, such as a computer or a server that executes the method for early warning of double-system synchronization failure of a regional controller.
[0029] The regional controller is a core safety computer device in a communication-based train control system (CBTC), which is responsible for real-time calculation and management of train movement authorization (MA) in a specific track area under its jurisdiction, to realize trackside subsystems for train interval protection and safe operation control.
[0030] In the control system of rail transit and other systems, ZC dual system is a kind of redundant design. It is usually used to improve the reliability and safety of the system. Dual system means that there are two systems, which can operate independently of each other, and can check each other. For example, in the train operation control system, ZC dual system is responsible for processing the position, speed and other information of the train, and provides protection for the safe operation of the train.
[0031] A (CPU board), B (communication interface board), C (Ethernet board) three board cards are important components of ZC dual system. Board card is an electronic device that performs different functions in ZC system. A and B board cards have the function of issuing ZC dual system synchronization failure alarm code.
[0032] ZC dual system needs to keep synchronization. Synchronization means that the two systems are consistent in data, state and other aspects. When A and B board cards detect that the synchronization between ZC dual systems fails, an alarm code will be issued. Synchronization failure may be caused by many reasons, such as communication link failure (communication line connecting two systems fails), data processing error (two systems get different results when processing the same data), etc.
[0033] In the prior art, the single occurrence of ZC dual system synchronization failure will not directly affect the operation of the device, but the continuous multiple issuance of ZC dual system synchronization failure by the same board card will seriously affect the operation of the device. If ZC dual system synchronization failure occurs once and then occurs again after a period of time, although it does not affect the operation of ZC, it still needs to be paid attention to and investigated.
[0034] In the embodiment of the present application, the current warning event information sent by each board card in the area controller is obtained. That is, other servers collect real-time warning event data, and convert the fault information of the signal system device into a unified format and store it in Kafka. Kafka is a distributed stream processing platform, mainly used to build real-time data pipelines and streaming applications, widely used in big data processing, log collection, event-driven architecture and other fields.
[0035] Step 120, in the case that the current warning event information contains the master-slave synchronization failure alarm code, determining the current board card corresponding to the current warning event information, and updating the number of times of continuous occurrence of master-slave synchronization failure of the current board card based on the current warning event information.
[0036] Specifically, according to the master-slave synchronization failure alarm code contained in the current warning event information, the information of the board card that has occurred master-slave synchronization failure is determined, and the number of times of continuous occurrence of master-slave synchronization failure of the current board card is updated based on the current warning event information.
[0037] In the embodiment of the present application, the early warning event information generated by the signal system is consumed from the Kafka message queue, whether the alarm code of master-slave synchronization failure is contained is judged by analyzing the message content, if the alarm is detected, the specific board card information of the alarm is further extracted and recorded. Then, based on the extracted specific board card information, the number of times of continuous occurrence of master-slave synchronization failure of the method is updated.
[0038] Step 130, based on the number of times of continuous occurrence of master-slave synchronization failure of each board card, the master-slave synchronization failure early warning information of each board card is generated.
[0039] Specifically, based on the number of times of continuous occurrence of master-slave synchronization failure of each board card, the master-slave synchronization failure early warning information corresponding to each board card is generated, and hierarchical early warning is performed.
[0040] In the embodiment of the present application, based on the board card information, the number of times of continuous occurrence of ZC double system synchronization failure of the board card and the number of times of ZC double system synchronization failure in the last period, the early warning information is generated, and the early warning prompt of "xxx system xxx board card: master-slave synchronization failure xxx times" is given. It should be noted that the number of times of ZC double system synchronization failure in the last period is zero because the last period has no ZC double system synchronization failure warning or the warning diagnosis is triggered by a board card other than this board card.
[0041] The regional controller double system synchronization failure early warning method provided by the embodiment of the present application can automatically identify the ZC double system synchronization failure early warning, respectively accumulate and count the number of times of ZC double system master-slave synchronization failure of each board card, and timely find potential safety hazards, which helps the system to more comprehensively understand the frequency and trend of synchronization failure, so as to take measures in advance and reduce the possibility of system failure. Moreover, hierarchical early warning management is performed based on the number of times of continuous ZC double system synchronization failure of each board card, which can effectively distinguish between occasional transient interference and continuous deterioration defects, facilitate reasonable allocation of maintenance resources according to the severity of synchronization failure, realize the change from passive response to active early warning, enable the system to early warn potential major failure risks, significantly improve the reliability, maintenance efficiency and safety of the system, optimize resource allocation, and reduce operating costs.
[0042] In some embodiments, before the number of times of continuous occurrence of master-slave synchronization failure of the current board card is updated based on the current early warning event information, the method further comprises: defining a dictionary list; the dictionary list is used to store the board card information of each board card, a first statistical value and a second statistical value; the first statistical value is used to count the number of times of continuous occurrence of master-slave synchronization failure of each board card until the last period; and the second statistical value is used to count the number of times of continuous occurrence of master-slave synchronization failure of each board card until the current period.
[0043] Specifically, since the number of times of ZC double-system synchronization failure in signal intelligent operation and maintenance is different, the severity of ZC operation is different. The ZC subsystem master system and the backup system each have three board cards, and the number of times of ZC master-slave synchronization failure of each board card is counted. In the embodiment of the application, with the help of a dictionary list, the number of times of continuous master-slave synchronization failure of each board card is updated based on the current early warning event information.
[0044] In the embodiment of the application, a dictionary list is defined to count the number of times of double-system synchronization failure of each board card. When the same board card continuously sends double-system synchronization failure early warning information in a continuous period, the number of times is accumulated. The key value in the dictionary is the board card information, for example, 11 represents the I system A board card, and 12 represents the I system B board card. The value includes a first statistical value last_count: the number of times of ZC double-system synchronization failure received by the board card in the last continuous period, and a second statistical value current_count: if the board card does not send ZC double-system synchronization failure in the current period, it is cleared to zero, and if the board card sends ZC double-system synchronization failure in the current period, it represents the number of times of ZC double-system synchronization failure received in the continuous period including the current period.
[0045] The regional controller double-system synchronization failure early warning method provided in the embodiment of the application counts the number of times of continuous master-slave synchronization failure of each board card through a dictionary list, provides a clear and efficient data management framework for fault diagnosis, greatly simplifies the complexity of fault troubleshooting, avoids blind checking of the entire double-system, lays a solid data foundation for subsequent hierarchical early warning and trend judgment based on the number of continuous failures, makes the early warning system more intelligent and operable.
[0046] In some embodiments, the updating of the number of times of continuous master-slave synchronization failure of the current board card based on the current early warning event information comprises: determining that the current board card has one master-slave synchronization failure in the current period based on the current early warning event information; if the current board card information exists in the dictionary list, assigning the second statistical value corresponding to the current board card to the first statistical value corresponding to the current board card, and performing a plus one operation on the second statistical value corresponding to the current board card; if the current board card information does not exist in the dictionary list, adding the current board card information in the dictionary list, setting the value of the first statistical value corresponding to the current board card to zero, setting the value of the second statistical value corresponding to the current board card to one, and storing in the dictionary list; and clearing the second statistical value corresponding to the board card information other than the current board card in the dictionary list, and assigning the first statistical value corresponding to the current board card before clearing.
[0047] Specifically, based on the current early warning event information, the number of master-slave synchronization failures of each board card is counted respectively based on the dictionary list after determining that the board card where the master-slave synchronization failure occurs. In the embodiment of the present application, if the ZC master-slave synchronization failure alarm code is continuously received in a period and is sent by the same board card, the count is increased by 1. If the ZC master-slave synchronization failure alarm is continuously received in a period but the board card sending the information is different, the respective count is increased. If the ZC master-slave synchronization failure alarm code received in the current period is not sent by the same board card as the ZC synchronization failure alarm code received in the last period or the ZC master-slave synchronization failure alarm code is not received in the current period, the data counted in the last period is diagnosed for early warning, and the board card information that has been diagnosed for early warning is emptied and counted again.
[0048] Figure 2 The early warning automatic identification filtering flowchart provided by the present application is shown in FIG. 1. Figure 2 In the embodiment of the present application, the early warning event information in the Kafka is consumed, it is judged whether the master-slave synchronization failure alarm code is included, and the current board card information is obtained. If the master-slave synchronization failure alarm code is included, it is queried whether the key value of the current board card exists in the above dictionary list.
[0049] If the current board card information exists in the dictionary list, i.e. the master-slave synchronization failure alarm is sent by the board card in the last period, the master-slave synchronization failure occurs again in the current period. The last_current is updated, the current_count is assigned to the last_current, and the value of the current_count is increased by 1.
[0050] If the current board card information does not exist in the dictionary list, i.e. the master-slave synchronization failure alarm code is sent by the board card for the first time. Therefore, the master-slave synchronization failure alarm code of the board card that already exists in the dictionary list does not occur continuously, the current_count of the existing board card is assigned to the last_current, the value of the current_count is cleared, and the diagnosis module is triggered automatically. In addition, it is recorded that the number of continuous master-slave synchronization failures of the board card until the last period is 0, i.e. the last_count is 0, and the number of continuous master-slave synchronization failures of the board card until the current period is 1, i.e. the current_count is 1.
[0051] In addition, in the embodiment of the present application, if the master-slave synchronization failure does not occur continuously in the current period, the current_count is assigned to the last_count, the current_count is cleared, and the alarm diagnosis is triggered automatically.
[0052] The regional controller double-system synchronization failure early warning method provided by the embodiment of the application counts the number of times of master-slave synchronization failure of each board card through a dictionary list, records information of the number of times of continuous master-slave synchronization failure of each board card, and generates and outputs an alarm based on the information, so that hidden dangers can be found in time, and the cumbersome process of step-by-step troubleshooting of the board card with problems by operation and maintenance personnel is avoided, the stability and reliability of the system are improved, and the operation and maintenance cost is reduced.
[0053] In some embodiments, before the generating of the master-slave synchronization failure early warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card, the method further comprises: In the case that the first statistical value of any board card is not zero and the second statistical value is zero, generating master-slave synchronization failure early warning information of any board card based on the number of times of continuous master-slave synchronization failure of any board card.
[0054] Specifically, the statistical result of the board card filtered and output by the early warning automatic identification is taken as the input of the early warning diagnosis module. In the dictionary list, in the case that the first statistical value of any board card is not zero and the second statistical value is zero, the master-slave synchronization failure early warning information of any board card is generated based on the number of times of continuous master-slave synchronization failure of any board card.
[0055] In the embodiment of the application, the input contains the board card information, the number of times of continuous master-slave synchronization failure, and the number of times of master-slave double-system synchronization failure in the last period, and the master-slave synchronization failure early warning information corresponding to the board card is generated. It should be noted that, since no master-slave double-system synchronization failure early warning or non-board card triggers the early warning diagnosis module, the number of times is zero.
[0056] The regional controller double-system synchronization failure early warning method provided by the embodiment of the application generates alarm information based on the number of times of continuous master-slave synchronization failure of the board card, finds potential hidden dangers of the system in time, reserves a time window for the operation and maintenance personnel to troubleshoot, guarantees the safe and stable operation of the system, improves the reliability of the system, and improves the operation and maintenance efficiency.
[0057] In some embodiments, the generating of the master-slave synchronization failure early warning information of the current board card based on the number of times of continuous master-slave synchronization failure of the current board card comprises: In the case that the number of times of continuous master-slave synchronization failure of the current board card is less than or equal to a first threshold value, generating first master-slave synchronization failure early warning information; the first master-slave synchronization failure early warning information is used to prompt the current board card to have master-slave synchronization failure; In the case that the number of times of continuous master-slave synchronization failure of the current board card is greater than the first threshold value, generating second master-slave synchronization failure early warning information; the second master-slave synchronization failure early warning information is used to control the standby system of the regional controller to be down.
[0058] Specifically, the data on the number of consecutive master-slave synchronization failures of the boards is filtered by thresholds, and corresponding diagnostic results are output through different threshold filters, and the diagnostic results are stored in the database.
[0059] In this embodiment of the invention, a threshold can be set to filter the number of consecutive master-slave synchronization failures of the board to be diagnosed, generating a master-slave synchronization failure warning message for that board. For example, by setting three thresholds, 1, 2, and 3 respectively, a warning message "xxx series xxx board: master-slave synchronization failed xxx times" can be given.
[0060] If the number of consecutive master-slave synchronization failures of the current board is less than or equal to the first threshold, a first master-slave synchronization failure warning message is generated; the first master-slave synchronization failure warning message is used to indicate that the current board has experienced a master-slave synchronization failure.
[0061] If the number of consecutive master-slave synchronization failures on the current board exceeds the first threshold, a second master-slave synchronization failure warning message is generated; the second master-slave synchronization failure warning message is used to control the backup system of the area controller to shut down.
[0062] For example, if the first threshold is set to 2, when the number of consecutive master-slave synchronization failures of the current board is less than or equal to 2, an early warning message will be given: "xxx series xxx board: master-slave synchronization failure xxx times".
[0063] Figure 3 This is the early warning and diagnosis flowchart provided by the present invention, such as... Figure 3 As shown: For example, when the last_count of the current board is 1, the warning message "xxx series xxx board: master-slave synchronization failed once" is output; when the last_count of the current board is 3, the warning message "master-slave synchronization failed three times, standby system is downgraded to standby" is output.
[0064] In addition, it can output early warning diagnostic results. The diagnostic results include the diagnostic start time, diagnostic end event, early warning content, the name and version of the triggered area controller dual-system synchronization failure early warning device, the execution status of the area controller dual-system synchronization failure early warning device, diagnostic results, and guidance steps for handling the fault. The diagnostic results are displayed on the front-end interface, and the current status of handling the fault is also displayed in real time.
[0065] The regional controller dual-system synchronization failure early warning method provided in this invention allows the system to generate different levels of early warning information based on the severity of the synchronization failure by setting different thresholds. This hierarchical early warning mechanism enables the system to respond more flexibly to problems of different levels, improving system reliability and maintenance efficiency.
[0066] In some embodiments, after the master-slave synchronization failure warning information of each board card is generated based on the number of times of continuous master-slave synchronization failure of each board card, the method further comprises: In the case that the second statistical value of any board card is zero, the board card information, the first statistical value and the second statistical value corresponding to the any board card are deleted from the dictionary list.
[0067] Specifically, after any board card generates an alarm based on the number of times of continuous master-slave synchronization failure, in order not to affect the subsequent statistics of the number of times of continuous master-slave synchronization failure of the board card in the dictionary list, the board card information that has generated the warning information needs to be deleted from the dictionary list.
[0068] In the embodiments of the present application, the dictionary list is traversed, and the entries that have triggered the diagnosis module, i.e. the entries with a current_count value of zero, are deleted. Specifically, in the case that the second statistical value of any board card is zero, the board card information, the first statistical value and the second statistical value corresponding to the any board card are deleted from the dictionary list.
[0069] The regional controller double-system synchronization failure warning method provided by the embodiments of the present application removes the board card information that has generated the alarm information from the dictionary list, which facilitates the list to statistically record the number of times of continuous master-slave synchronization failure of each board card, maintains the simplicity of the dictionary list, reduces the memory occupation and traversal overhead, and improves the real-time processing performance of the system. More importantly, this mechanism provides clear data boundaries for fault mode analysis, enables the operation and maintenance personnel to accurately identify the continuity and periodicity of faults, provides reliable data support for formulating targeted maintenance strategies, and ultimately achieves the goal of accurate early warning and efficient operation and maintenance.
[0070] In some embodiments, the method further comprises: determining an analysis interval; determining the number of master-slave synchronization failures in the analysis interval based on the master-slave synchronization failure warning information of each board card; determining the time interval in which the master-slave synchronization failures are concentrated in the analysis interval based on the master-slave synchronization failure warning information of each board card; determining the distribution of the master-slave synchronization failures at each centralized station in the analysis interval based on the master-slave synchronization failure warning information of each board card.
[0071] Specifically, based on the alarm diagnosis information, the information such as the proportion of each fault belonging to a subsystem, the distribution of each fault in a time period, the execution of each fault, the diagnosis result, etc. is statistically recorded.
[0072] In the embodiment of the application, the diagnosis result generated based on the number of times of master-slave synchronization failure of each board card is displayed in a page, mainly including: occurrence time, warning content, area controller double system synchronization failure warning device name and version used for analysis, area controller double system synchronization failure warning device execution state, area controller double system synchronization failure warning device diagnosis result, whether manual processing is required and the like.
[0073] According to the information displayed above, statistical analysis can be performed, for example, the number of master-slave synchronization failures occurring in a certain period of time; the time interval in which ZC double system master-slave synchronization failures concentratedly occurred in a certain period of time is counted; and the distribution of ZC double system master-slave synchronization failures in each centralized station in a certain period of time is counted.
[0074] The area controller double system synchronization failure warning method provided by the embodiment of the application converts originally scattered and isolated alarm data into a fault trend atlas with actual guiding significance by performing statistical analysis on historical data of alarm related information, so that the operation and maintenance personnel can grasp the system health status from a macro perspective, quickly identify high-risk hidden trouble points, improve the operation and maintenance efficiency, reduce the maintenance cost, and ensure the safe and stable operation of the system.
[0075] The device provided by the embodiment of the application is described below, and the device described below can be correspondingly referred to the method described above.
[0076] Figure 4 The device is a structure diagram of the area controller double system synchronization failure warning device provided by the application, as shown in Figure 4 The device includes a warning automatic identification filtering module 410 and a warning diagnosis module 420 connected in sequence.
[0077] The warning automatic identification filtering module 410 is configured to acquire current warning event information sent by each board card in the area controller; in the case that the current warning event information contains a master-slave synchronization failure alarm code, determine a current board card corresponding to the current warning event information, and update the number of times of continuous master-slave synchronization failure of the current board card based on the current warning event information. The warning diagnosis module 420 is configured to generate master-slave synchronization failure warning information of each board card based on the number of times of continuous master-slave synchronization failure of each board card.
[0078] The regional controller double-system synchronization failure early warning method provided by the embodiment of the present application can automatically identify ZC double-system synchronization failure early warning, accumulatively count the number of ZC double-system master-slave synchronization failures of each board card, discover potential safety hazards in time, help the system more comprehensively understand the frequency and trend of synchronization failures, and thus take measures in advance to reduce the possibility of system failure. Moreover, based on the number of ZC double-system synchronization failures continuously sent by each board card, hierarchical early warning management is performed, which can effectively distinguish between occasional transient interference and continuously deteriorating defects, facilitate reasonable allocation of maintenance resources according to the severity of synchronization failure, realize the change from passive response to active early warning, enable the system to early warn potential major failure risks, significantly improve the reliability, maintenance efficiency and safety of the system, simultaneously optimize resource allocation, and reduce operating costs.
[0079] Figure 5 is a structural schematic diagram of an electronic device provided by the present application, as shown in Figure 5 The electronic device can include a processor (Processor) 510, a communication interface (Communications Interface) 520, a memory (Memory) 530 and a communication bus (Communications Bus) 540, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus. The processor can invoke a logical command in the memory to execute the method described in the above embodiment, for example: obtain current early warning event information sent by each board card in the regional controller; in the case that the current early warning event information contains a master-slave synchronization failure alarm code, determine a current board card corresponding to the current early warning event information, and update the number of consecutive master-slave synchronization failures of the current board card based on the current early warning event information; and generate master-slave synchronization failure early warning information of each board card based on the number of consecutive master-slave synchronization failures of each board card.
[0080] In addition, the logic commands in the memory described above can be realized in the form of a software function unit and sold or used as a separate product, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of commands to make a computer device (which can be a personal computer, server, or network device, etc.) execute all or part of the steps of the method described in various 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 media that can store program codes.
[0081] The processor in the electronic device provided by the embodiments of the present application can call the logic instructions in the memory to realize the above-mentioned method, and the specific implementation manners and the same beneficial effects as the foregoing method implementation manners are consistent, and will not be described here.
[0082] The embodiments of the present application further provide a computer-readable storage medium, which has a computer program stored thereon, and the computer program is executed by a processor to realize the method provided by the above-mentioned embodiments.
[0083] The specific implementation manners and the same beneficial effects as the foregoing method implementation manners are consistent, and will not be described here.
[0084] The embodiments of the present application provide a computer program product, which includes a computer program, and the computer program is executed by a processor to realize the above-mentioned method.
[0085] The system embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, that is, they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. Those skilled in the art can understand and implement without creative labor.
[0086] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in the various embodiments or some parts of the embodiments.
[0087] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; 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 embodiments of the present application.
Claims
1. A method for early warning of dual-system synchronization failure in a regional controller, characterized in that, include: Obtain current warning event information sent by each board in the area controller; If the current warning event information contains a master-slave synchronization failure alarm code, determine the current board corresponding to the current warning event information, and update the number of consecutive master-slave synchronization failures of the current board based on the current warning event information; Based on the number of consecutive master-slave synchronization failures of each board, early warning information for master-slave synchronization failures of each board is generated.
2. The method for early warning of dual-system synchronization failure of a regional controller according to claim 1, characterized in that, Before updating the number of consecutive master-slave synchronization failures of the current board based on the current early warning event information, the method further includes: Define a dictionary list; the dictionary list is used to store the board information, first statistical value and second statistical value of each board; the first statistical value is used to count the number of consecutive master-slave synchronization failures of each board up to the previous period; the second statistical value is used to count the number of consecutive master-slave synchronization failures of each board up to the current period.
3. The method for early warning of dual-system synchronization failure of a regional controller according to claim 2, characterized in that, The step of updating the number of consecutive master-slave synchronization failures of the current board based on the current early warning event information includes: Based on the current early warning event information, it is determined that the current board has experienced a master-slave synchronization failure in the current period; If the current board information exists in the dictionary list, the second statistical value corresponding to the current board is assigned to the first statistical value corresponding to the current board, and the second statistical value corresponding to the current board is incremented by one. If the current board information does not exist in the dictionary list, the current board information is added to the dictionary list, and the value of the first statistical value corresponding to the current board is set to zero, and the value of the second statistical value corresponding to the current board is set to one, and stored in the dictionary list; and the second statistical values corresponding to the information of other boards in the dictionary list other than the current board are cleared to zero, and the corresponding first statistical values are assigned before clearing to zero.
4. The method for early warning of dual-system synchronization failure of a regional controller according to claim 3, characterized in that, Before generating master-slave synchronization failure warning information for each board based on the number of consecutive master-slave synchronization failures for each board, the method further includes: If the first statistical value of any board is not zero and the second statistical value is zero, a master-slave synchronization failure warning message for any board is generated based on the number of consecutive master-slave synchronization failures of the board.
5. The method for early warning of dual-system synchronization failure of a regional controller according to claim 2, characterized in that, The generation of master-slave synchronization failure warning information for the current board based on the number of consecutive master-slave synchronization failures of the current board includes: If the number of consecutive master-slave synchronization failures of the current board is less than or equal to a first threshold, a first master-slave synchronization failure warning message is generated; the first master-slave synchronization failure warning message is used to indicate that the current board has experienced a master-slave synchronization failure. If the number of consecutive master-slave synchronization failures of the current board exceeds a first threshold, a second master-slave synchronization failure warning message is generated; the second master-slave synchronization failure warning message is used to control the backup system of the area controller to shut down.
6. The method for early warning of dual-system synchronization failure of a regional controller according to claim 4, characterized in that, After generating master-slave synchronization failure warning information for each board based on the number of consecutive master-slave synchronization failures for each board, the method further includes: If the second statistical value of any board is zero, delete the board information, the first statistical value, and the second statistical value corresponding to that board from the dictionary list.
7. The method for early warning of dual-system synchronization failure of a regional controller according to claim 1, characterized in that, The method further includes: Determine the analysis interval; Based on the master-slave synchronization failure warning information of each board, the number of master-slave synchronization failures that occurred within the analysis interval is determined. Based on the master-slave synchronization failure warning information of each board, the time interval in which master-slave synchronization failures occur concentratedly within the analysis interval is determined. Based on the master-slave synchronization failure warning information of each board, the distribution of master-slave synchronization failures in each centralized station within the analysis interval is determined.
8. A regional controller dual-system synchronization failure early warning device, characterized in that, include: The automatic warning identification and filtering module is used to obtain current warning event information sent by each board in the area controller; If the current warning event information contains a master-slave synchronization failure alarm code, determine the current board corresponding to the current warning event information, and update the number of consecutive master-slave synchronization failures of the current board based on the current warning event information; The early warning and diagnosis module is used to generate early warning information for master-slave synchronization failure of each board based on the number of consecutive master-slave synchronization failures of each board.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the regional controller dual-system synchronization failure early warning method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the regional controller dual-system synchronization failure early warning method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
ZC double-system downtime fault early-warning method and device based on autonomous learning
CN104460651A
Sampling data anomaly detection method and device
CN111983309A
Equipment redundancy synchronous switching method and system of regional controller
CN116938628A
Redundant time synchronization method and device for regional controller architecture
CN119945605A
Jurisdiction management device and right information management system
JP2019215604A
