A method and system for managing operating modes of a power grid dispatch system
By adopting a master-slave working mode management method, the master dispatch system and the backup dispatch system can operate in parallel and share functional group information, which solves the problem of the lack of connection mechanism between the master dispatch system and the backup dispatch system in the power grid dispatch system, improves the reliability and efficiency of system operation, and realizes flexible configuration and real-time management of functional groups.
Patent Information
- Application Number
- CN202211282288.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-19
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-10-19
AI Technical Summary
In the field of power grid dispatching, the lack of a connection mechanism between the main dispatching system and the backup dispatching system makes it difficult to achieve parallel operation, resulting in a lack of synchronicity and efficiency in system operation.
By using a master-slave working mode management method, the master system and the backup system can run in parallel and share functional group information. They are configured with the same system and act as peer systems to achieve normal and abnormal working mode switching of functional groups. The master-slave communication link and the slave communication link are used to synchronize functional group information to ensure that the system can still operate normally when communication is abnormal.
This improves the reliability and efficiency of system operation, ensuring that dispatchers can monitor and control the main mode function group regardless of whether the communication link is normal, and enabling flexible configuration and real-time management of the function group.
Smart Images

Figure CN115766403B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of power grid dispatching, and particularly relates to a working mode management method and system for a power grid dispatching system. BACKGROUND
[0002] At present, in the field of power grid dispatching, system operation usually adopts a master-backup dispatching mechanism. The master dispatching system performs daily operation, but the backup dispatching system is generally independently operated in actual implementation, and normal switching drills are carried out. There is a lack of a connection mechanism between the master dispatching system and the backup dispatching system. In the process of use, the master dispatching system and the backup dispatching system lack synchronization and are difficult to realize parallel operation. SUMMARY
[0003] To solve the problems in the prior art, the application provides a working mode management method and system for a power grid dispatching system, realizes master-slave working mode management at the function group level, and enables the master dispatching system and the backup dispatching system to jointly undertake business, thereby improving the reliability and efficiency of system operation as a whole.
[0004] To achieve the above object, the application adopts the following technical scheme:
[0005] In a first aspect, a working mode management method for a power grid dispatching system is provided. The master dispatching system and the backup dispatching system operate in parallel and share function group information. The master dispatching system and the backup dispatching system are configured identically and are opposite end systems. The working mode of a function group includes a normal working mode and an abnormal working mode. The normal working mode includes a master mode and a slave mode. The abnormal working mode includes a fault. The working mode management method for the power grid dispatching system includes: acquiring function group information of a local system; switching the working mode of a specified function group in response to a control instruction for switching the working mode of the specified function group; adjusting the working mode of each function group in the local system in response to function group information synchronized from an opposite end system to the local system; displaying function group information of the local system and the opposite end system to a user in response to a query request of the user; synchronizing the function group information of the local system to the opposite end system through a master communication link and receiving function group information synchronized from the opposite end system to the local system in the case that the master communication link is normal and can interact information; and synchronizing the function group information of the local system to the opposite end system through a slave communication link and receiving function group information synchronized from the opposite end system to the local system in the case that the master communication link is abnormal and cannot interact information.
[0006] Further, the function group is configured with a function group application, the function group application includes a key application and a non-key application. If the key application of the function group is abnormal, the working mode of the function group becomes a fault. If the key application of the function group returns to normal, the working mode of the function group is set to the slave mode.
[0007] Further, in response to the control instruction of switching the working mode of the specified function group, the working mode of the specified function group is switched, including: if the working mode of the function group before switching is the master mode, the working mode of the function group after switching is the slave mode; if the working mode of the function group before switching is the slave mode, the working mode of the function group after switching is the master mode.
[0008] Further, in the case that the main communication link is normal and can interact information, the priority of the master system is higher than that of the standby system, the working mode of the function group in the master system is the master mode, and the working mode of the same function group in the standby system is the slave mode.
[0009] Further, in response to the function group information of the peer system synchronized to the local system, the working mode of each function group in the local system is adjusted, including: if the working mode of a certain function group in the local system is the master mode, the working mode of the same function group in the peer system is also the master mode and has a higher priority than the local system, the working mode of the function group in the local system is switched to the slave mode; if a certain function group in the peer system changes from the master mode to the fault, the same function group in the local system is automatically upgraded from the slave mode to the master mode.
[0010] Further, in the case that the main communication link is abnormal and cannot interact information, in response to the control instruction of switching the working mode of the specified function group, the working mode of the specified function group is switched, including: judging the lock state of the current function group, if it is in the non-lock state, updating itself to the lock state, and then waiting; after the peer system obtains the lock state of the function group of the local system, updating to the lock state; at the same time, the local system waits for the update information of the peer system, and then updates its own lock state to the lock state, and then updates the function group mode to the mode required by the control instruction; at the same time, the same function group mode of the peer system is also updated accordingly; if a certain time is waited, the lock state of the function group of the peer system is not updated, the lock state of the function group of the local system is rolled back to the non-lock state, and the switching fails.
[0011] Further, in the case that the main communication link is abnormal and cannot interact information, if the lock state of the current function group in the master system and the standby system is both non-lock, the master mode of the function group is switched to the master system with higher priority, and the working mode of the same function group in the standby system is switched to the slave mode; if the lock state of the current function group in the master system and the standby system is both locked, if the function group of the master system is the slave mode with the highest priority, and the standby system is also the slave mode, the function group of the master system is automatically upgraded to the master mode; if the lock state of the current function group in the master system and the standby system is both locked, if the function group of the master system is the master mode, and the function group of the standby system is also the master mode, the function group with lower priority is automatically downgraded to the slave mode.
[0012] In a second aspect, a working mode management system for a power grid dispatching system is provided. A primary dispatching system and a backup dispatching system operate in parallel and share function group information. The primary dispatching system and the backup dispatching system are configured identically and are opposite end systems. The working mode of a function group includes a normal working mode and an abnormal working mode. The normal working mode includes a master mode and a slave mode. The abnormal working mode includes a fault. The working mode management system for the power grid dispatching system includes: a function group management module, configured to acquire function group information of a local system when a primary communication link is normal and can interact information; further configured to switch the working mode of a specified function group in response to a control instruction for switching the working mode of the specified function group; further configured to adjust the working mode of each function group in the local system in response to function group information synchronized to the local system by an opposite end system; a function group interaction module, configured to synchronize the function group information of the local system to the opposite end system through the primary communication link, and receive the function group information synchronized to the local system by the opposite end system; a function group monitoring module, configured to display the function group information of the local system and the opposite end system to a user in response to a query request of the user; a function group arbitration management module, configured to acquire the function group information of the local system when the primary communication link is abnormal and cannot interact information; further configured to switch the working mode of the specified function group in response to the control instruction for switching the working mode of the specified function group; further configured to adjust the working mode of each function group in the local system in response to the function group information synchronized to the local system by the opposite end system; and a function group arbitration interaction module, configured to synchronize the function group information of the local system to the opposite end system through a slave communication link, and receive the function group information synchronized to the local system by the opposite end system.
[0013] Further, when the primary communication link is abnormal and cannot interact information, the function group arbitration management module is configured to switch the working mode of the specified function group in response to the control instruction for switching the working mode of the specified function group, including: judging the lock state of a current function group, if the current function group is in a non-locked state, updating itself to a locked state, and then waiting; after the opposite end system acquires the locked state of the function group of the local system, updating to a locked state; at the same time, the local system waits for the update information of the opposite end system, and then updates the locked state of itself to a locked state, and then updates the function group mode to the mode required by the control instruction; at the same time, the opposite end system updates the same function group mode correspondingly; if a certain time is waited, the lock state of the function group of the opposite end system is not updated, the lock state of the function group of the local system is rolled back to a non-locked state, and a switching failure is returned.
[0014] Further, in the case that the main communication link is abnormal and cannot interact information, the function group arbitration management module is further used to perform the following operations: if the lock state of the current function group in the main dispatching system and the standby dispatching system is both unlocked, the main mode of the function group is switched to the main dispatching system with higher priority, and the working mode of the same function group in the standby dispatching system is switched to the slave mode; if the lock state of the current function group in the main dispatching system and the standby dispatching system is both locked, if the function group of the main dispatching system is the slave mode with the highest priority, and the standby dispatching system is also in the slave mode, the function group of the main dispatching system is automatically upgraded to the main mode; if the lock state of the current function group in the main dispatching system and the standby dispatching system is both locked, if the function group of the main dispatching system is the main mode, and the function group of the standby dispatching system is also the main mode, the function group with lower priority is automatically downgraded to the slave mode.
[0015] Compared with the prior art, the present application has the following beneficial effects:
[0016] (1) The present application runs the main dispatching system and the standby dispatching system in parallel and shares the function group information; the main dispatching system and the standby dispatching system are configured identically and are opposite end systems; the working mode of the function group includes a normal working mode and an abnormal working mode; the normal working mode includes a main mode and a slave mode; the abnormal working mode includes a fault; the function group information of the local system is obtained; in response to a control instruction for switching the working mode of a specified function group, the working mode of the specified function group is switched; in response to the function group information of the local system synchronized by the opposite end system, the working mode of each function group in the local system is adjusted; in the case that the main communication link is normal and can interact information, the function group information of the local system is synchronized to the opposite end system through the main communication link, and the function group information of the opposite end system synchronized to the local system is received; in the case that the main communication link is abnormal and cannot interact information, the function group information of the local system is synchronized to the opposite end system through the slave communication link, and the function group information of the opposite end system synchronized to the local system is received; the master-slave working mode management at the function group level can make the main dispatching system and the standby dispatching system jointly undertake the business, and improve the system operation reliability and efficiency as a whole;
[0017] (2) The present application can ensure that the dispatcher can monitor and control the function group in the main mode through the management mechanism, regardless of whether the communication link between the main dispatching system and the standby dispatching system is normal;
[0018] (3) The present application can flexibly configure the function group, real-time monitoring and management, and ensure the reliability of the working mode of the function group in the main dispatching system and the standby dispatching system. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 is a function group configuration schematic diagram in the embodiment of the present application;
[0020] Figure 2Figure 1 is a schematic diagram of application configuration of a function group in an embodiment of the present application;
[0021] Figure 3 Figure 2 is a system diagram of master-slave mode management in an embodiment of the present application;
[0022] Figure 4 Figure 3 is a logic function diagram of a function group management module in an embodiment of the present application;
[0023] Figure 5 Figure 4 is a logic function diagram of a function group arbitration management module in an embodiment of the present application;
[0024] Figure 6 Figure 5 is a flow chart of fault management in an embodiment of the present application;
[0025] Figure 7 Figure 6 is a flow chart of master-slave switching of a function group management module in an embodiment of the present application;
[0026] Figure 8 Figure 7 is a flow chart of master-slave mode management of a function group management module in an embodiment of the present application;
[0027] Figure 9 Figure 8 is a flow chart of master-slave switching of a function group arbitration management module in an embodiment of the present application;
[0028] Figure 10 Figure 9 is a state transition diagram of a function group arbitration management module in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The present application will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present application, and cannot be used to limit the protection scope of the present application.
[0030] Embodiment 1:
[0031] A working mode management method for a power grid dispatching system, a main dispatching system and a backup dispatching system run in parallel and share function group information; the main dispatching system and the backup dispatching system are configured identically and are opposite end systems; the working mode of a function group includes a normal working mode and an abnormal working mode; the normal working mode includes a master mode and a slave mode; the abnormal working mode includes a fault; the working mode management method for the power grid dispatching system includes: obtaining function group information of a local system; in response to a control instruction for switching the working mode of a specified function group, switching the working mode of the specified function group; in response to function group information synchronized from an opposite end system to the local system, adjusting the working mode of each function group in the local system; in the case that a main communication link is normal and can interact information, synchronizing the function group information of the local system to the opposite end system through the main communication link, and receiving the function group information synchronized from the opposite end system to the local system; in the case that the main communication link is abnormal and cannot interact information, synchronizing the function group information of the local system to the opposite end system through a slave communication link, and receiving the function group information synchronized from the opposite end system to the local system.
[0032] In the embodiment, in the case that a communication link is normal, the function group management module of the master-slave management module supports that any function group instance of the main dispatching system and the backup dispatching system has a master-slave working mode; a master-slave management tool is provided to support switching the working mode of any function group instance in the main dispatching system and the backup dispatching system, and after switching, the function group instance of the main dispatching system and the backup dispatching system still has a master-slave working mode; any function group has an abnormal working mode, and the function group management module of the master-slave management module ensures that the function group has a master mode in the main dispatching system and the backup dispatching system. The function group management module of the master-slave management module supports a health detection function of the working mode of the function group, and when a master mode function group fails, through a management mechanism, it is ensured that the function group has a master mode in the main dispatching system and the backup dispatching system.
[0033] In the embodiment, flexible configuration of a working mode group is supported, and each application can be flexibly configured under a corresponding function group, and the function group itself can be flexibly added or reduced. A function group application includes a key application and a non-key application; the key application and the non-key application are distinguished by attribute values of the key application, and a running state of the key application will affect the working mode of the function group; if the key application of the function group is abnormal, the working mode of the function group becomes a fault; if the key application of the function group returns to normal, the working mode of the function group is set to a slave mode.
[0034] In response to the control instruction of switching the working mode of the specified function group, the working mode of the specified function group is switched, including: if the working mode of the function group before switching is the master mode, the working mode of the function group after switching is the slave mode; if the working mode of the function group before switching is the slave mode, the working mode of the function group after switching is the master mode.
[0035] In the case that the main communication link is normal and can interact information, the priority of the main system is higher than that of the standby system, the working mode of the function group in the main system is the master mode, and the working mode of the same function group in the standby system is the slave mode.
[0036] In response to the function group information of the peer system synchronized to the local system, the working mode of each function group in the local system is adjusted, including: if the working mode of a function group in the local system is the master mode, the working mode of the same function group in the peer system is also the master mode and has a higher priority than the local system, the working mode of the function group in the local system is switched to the slave mode; if a function group in the peer system changes from the master mode to the fault, the same function group in the local system is automatically upgraded from the slave mode to the master mode.
[0037] In the case that the main communication link is abnormal and cannot interact information, in response to the control instruction of switching the working mode of the specified function group, the working mode of the specified function group is switched, including: judging the lock state of the current function group, if the current is the non-lock state, updating itself to the lock state, and then waiting; after the peer system obtains the lock state of the function group of the local system, updating to the lock state; at the same time, the local system waits for the update information of the peer system, and then updates the lock state of itself to the lock state, and then updates the function group mode to the mode required by the control instruction; at the same time, the same function group mode of the peer system is also updated accordingly; if a certain time is waited, the lock state of the function group of the peer system is not updated, the lock state of the function group of the local system is rolled back to the non-lock state, and the switching fails.
[0038] In the case that the main communication link is abnormal and cannot interact information, if the lock state of the current function group in the main system and the standby system is both non-lock, the master mode of the function group is switched to the main system with higher priority, and the working mode of the same function group in the standby system is switched to the slave mode; if the lock state of the current function group in the main system and the standby system is both lock, if the function group of the main system is the slave mode with the highest priority, and the standby system is also the slave mode, the function group of the main system is automatically upgraded to the master mode; if the lock state of the current function group in the main system and the standby system is both lock, if the function group of the main system is the master mode, and the function group of the standby system is also the master mode, the function group with lower priority is automatically downgraded to the slave mode.
[0039] The application can manage the master-slave mode of the "function group" level, so that the main and standby dispatching systems can jointly undertake the business, and the system operation reliability and efficiency are improved as a whole; whether the communication link between the main and standby dispatching systems is normal or not, the management mechanism can ensure that the dispatcher can monitor and control the function group in the main mode; the application can flexibly configure the function group, real-time monitoring and management, and ensure the reliable working mode of the function group in the main and standby dispatching systems.
[0040] Embodiment two
[0041] Based on the working mode management method for the power grid dispatching system in embodiment one, the embodiment provides a working mode management system for the power grid dispatching system, the main dispatching system and the standby dispatching system run in parallel and share the function group information; the main dispatching system and the standby dispatching system are configured identically and are opposite systems; the working mode of the function group includes a normal working mode and an abnormal working mode; wherein the normal working mode includes a main mode and a slave mode; the abnormal working mode includes a fault; the working mode management system for the power grid dispatching system includes: a function group monitoring module, configured to acquire the function group information of the local system; in the case that the main communication link is normal and can interact information, a function group management module, configured to switch the working mode of the specified function group in response to the control instruction of switching the working mode of the specified function group; and further configured to adjust the working mode of each function group in the local system in response to the function group information synchronized to the local system by the opposite system; a function group interaction module, configured to synchronize the function group information of the local system to the opposite system through the main communication link, and receive the function group information synchronized to the local system by the opposite system; in the case that the main communication link is abnormal and cannot interact information, a function group arbitration management module, configured to switch the working mode of the specified function group in response to the control instruction of switching the working mode of the specified function group; and further configured to adjust the working mode of each function group in the local system in response to the function group information synchronized to the local system by the opposite system; a function group arbitration interaction module, configured to synchronize the function group information of the local system to the opposite system through the slave communication link, and receive the function group information synchronized to the local system by the opposite system.
[0042] The function group management module can configure the function group information and the function group application information. A flexible way is provided to configure the function group information and the function group application information. The function group information can be flexibly configured, and the addition and deletion are supported; in addition, the corresponding application information can be configured for each function group, that is, after the configuration is completed, the application belongs to the function group. Among them, the application needs to be clear whether it is a key application, and the running state of the key application will affect the working mode of the belonging function group, and the running state of the non-key application has no effect on the working mode of the belonging function group.
[0043] The primary and backup systems each have a function group management module that coordinates the synchronization of function group information. The primary and backup systems share function group information through the interaction function of the master-slave management module. Through this interaction, the primary system can obtain function group information from the backup system, and the backup system can obtain function group information defined in the primary system. When the communication link between the primary and backup systems is normal, the function group interaction module is responsible for the information exchange of function groups. If the communication link is abnormal, the function group arbitration management module proactively detects the disconnection and takes over the functions of the function group management modules of the primary and backup systems; the function group arbitration interaction module then takes over the information exchange of function groups.
[0044] The function group management module of the primary and backup systems monitors and manages the operating modes of function group information. It manages the operating modes of function groups in both systems, ensuring that each function group has one master mode and one slave mode when the communication link between the primary and backup systems is normal and information can be exchanged. If a function group fails to switch from master mode in one system, the same function group in the other system automatically upgrades from slave mode to master mode. If the primary and backup systems experience communication link failures and cannot exchange information, the function group arbitration management module proactively detects the connection loss and takes over the function group management functions of both the primary and backup systems. Working in conjunction with the function group management module, it ensures by default that the master mode of the function group instance is in the primary system and the slave mode is in the backup system.
[0045] Regardless of whether the communication link between the primary and backup systems is functioning correctly, master-slave switching of a specified function group within a system is supported. The normal operating mode of a function group can be manually switched. Within a specified system, if the function group was in master mode before the switch, it will be in slave mode after the switch; conversely, if it was in slave mode before the switch, it will be in master mode after the switch. Furthermore, if the operating mode of a function group changes on the local system, the function group mode on the remote system will also change accordingly.
[0046] like Figure 3 As shown, master-slave management is mainly divided into a function group management module and a function group arbitration management module. When the communication link between the master and backup systems is normal, the function group management module and the function group interaction module are responsible for monitoring, managing, and interacting with the function groups in master-slave mode, synchronizing monitoring and management information to the function group arbitration management module in real time. The function group monitoring module obtains function group information from the function group interaction module and provides it to users for querying. When the communication link between the master and backup systems is abnormal, the management and monitoring functions are handed over to the function group arbitration management module and the function group arbitration interaction module. The function group arbitration management module is responsible for obtaining the function group configuration within its system in real time (…). Figure 1 ) and feature group application configuration (Figure 2 ), and synchronizes the management information to the function group management module. The function group arbitration interaction module is responsible for obtaining the function group configuration of the local system, and then sending the information to the opposite system; at the same time, receiving the function group information of the opposite system sent by the function group arbitration interaction module of the opposite system, and providing the information to the function group arbitration management module.
[0047] As shown in Figure 4 , the function group management module is subdivided into a function group information acquisition module, a system link monitoring module, a function group switching module, a function group fault management module, and a function group mode management module. Among them, the function group information acquisition module obtains the function group information in the local system in real time according to the user's configuration, and obtains the function group information of the opposite system from the function group interaction module. The communication link monitoring module detects the state of the communication link between the systems in real time. If an abnormality is found in the communication link, the function group interaction mode is switched, the master and standby system function group information interaction is responsible by the function group arbitration interaction module, and is synchronized to the function group management module; the management is taken over by the function group arbitration management module. If the communication link is found to be restored, the interaction function and the management function are returned to the function group management module and the function group interaction module. The state change of the communication link has a certain influence on the function group mode of the opposite system. The function group switching module is responsible for listening to the user's manual switching function group request, and determining whether to receive the request after legal verification. The function group fault management module only manages the function group in the local system, and manages the function group in real time according to the application information defined in the function group. The function group mode management module is the core module, which monitors and maintains the mode of each function group in the local system.
[0048] As shown in Figure 5 , the module division of the function group arbitration management module is basically the same as that of the function group management module. When the master system and the standby system are linked normally, the function group arbitration management module obtains the function group communication information from the function group management module. When the disconnection occurs, the function group arbitration module is responsible for the function group switching management, mode management and fault management of the master system and the standby system. The function group arbitration switching module and the function group arbitration mode management module in the function group arbitration management module have logical differences with the function group switching module and the function group mode management module of the function group management module, which will be described in detail below. Figure 9 and Figure 10 .
[0049] As shown in Figure 6The diagram illustrates how to perform fault detection and management for functional groups within this system. This module sequentially checks the application status of each functional group: if an application status is abnormal (i.e., there are no available hosts in the entire system), it further determines whether the application is a critical application; if it is a critical application, the functional group's mode is set to fault mode; if it is not a critical application, the functional group's operating mode remains unchanged. If a critical application in a faulty functional group recovers from its abnormality, the functional group's operating mode is set to slave mode.
[0050] like Figure 7 The diagram shows the flowchart for the validity verification and management of the master-slave switching module in the function group management module. First, it listens for user requests to manually switch function groups. Based on the request content, it checks the validity of the current function group mode: first, only function groups in normal mode (master and slave modes) can be switched; second, it checks if the desired working mode is correct—it can only switch to master or slave mode; if not, it replies with a request failure; then, it determines if the desired working mode is consistent with the current working mode. If they are consistent, it returns a request failure; otherwise, it updates the function group mode to the desired new mode.
[0051] like Figure 8 The diagram shows the logical flowchart of the function group mode management in the function group management module. Under normal communication conditions between the primary and backup systems, the primary system's function group mode, with higher priority, is in primary mode, while the backup system's function group mode is in secondary mode. If the working mode of a function group in the local system changes from primary mode to fault mode, the function group mode of the remote system will be upgraded from secondary mode to primary mode. When the remote system's function group switching module receives a switching request, if the remote system's function group mode changes from primary mode to secondary mode, the local system's function group mode will be upgraded to primary mode. Conversely, when the remote system's function group switching module receives a switching request, if the remote system's function group mode changes from secondary mode to primary mode, the local system's function group mode will be updated to secondary mode.
[0052] like Figure 9The diagram shown is a flowchart of the master-slave switching process for the functional group arbitration management module. During arbitration management, a lock state is added for each functional group to prevent the functional group mode management module from switching the functional group's master mode back to the master system according to the default policy after manually switching the master mode of a functional group to the standby system. First, it listens for user requests to manually switch functional groups. Based on the request content, it performs a switch validity check on the current functional group mode: first, only functional groups in normal mode (master mode and slave mode) can be switched; second, it checks whether the desired working mode is correct—it can only switch to master mode or slave mode; if not, it replies with a request failure; then, it determines whether the desired working mode is consistent with the current working mode. If they are consistent, it returns a request failure; if they are inconsistent, it updates the functional group mode to the switched mode. Next, the lock state of the current function group is checked. If it is currently unlocked, the system updates itself to locked and then waits. Once the peer system obtains the lock state of the function group from the local system, it updates itself to locked. Simultaneously, the local system waits for the peer system's update information and updates its own lock state to locked, then updates the function group mode to the requested mode. The peer system also updates the corresponding function group mode accordingly. If, after a certain period, the peer system's function group lock state has not been updated, the local system's function group lock state reverts to unlocked, and the request fails.
[0053] like Figure 10 The diagram shown illustrates the master-slave mode state transition in the arbitration management of this invention. The functional group arbitration mode management module manages the functional groups according to this transition diagram. When the communication link between the master and backup systems is normal, the functional group information initially obtained by the functional group arbitration management module all comes from the synchronization information of the functional group management module. When the communication link between the master and backup systems is abnormal, the functional group arbitration management module will by default switch the functional group's master mode to the higher-priority master system, and switch the backup system's functional group mode to slave mode. This automatic switching process is performed after confirming that the current functional group is unlocked in both the master and backup systems. If the functional group's lock state is locked, it indicates that a manual switching operation has already occurred, and this default automatic mechanism will fail. Furthermore, when a functional group is in a locked state in the system, if the current system's functional group is in the highest-priority slave mode, and the peer system is also in slave mode, then the functional group of this system will automatically generate the master mode; if it is found that the functional group of this system is in master mode, and the functional group of the peer system is also in master mode, then the lower-priority functional group will automatically be downgraded to slave mode.
[0054] Embodiments of the present application can be implemented in a method, system, or computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer program code thereon for use by or in connection with an instruction execution system. Program code embodied on one or more computer-usable storage media can be downloaded over a network from one computer to another computer. The present application can also be embodied in a computer program product which can be executed on one or more computing devices and that includes one or more computer programs. The computer programs can be written in any of a number of high level computer languages such as object oriented programming languages Java and JavaScript, and / or conventional procedural programming languages.
[0055] The present application is described in reference to the flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in one or more blocks Figure 1 one or more functions specified in one or more blocks
[0056] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in one or more blocks Figure 1 one or more functions specified in one or more blocks
[0057] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in one or more blocks Figure 1 one or more functions specified in one or more blocks
[0058] While preferred embodiments of the application have been described, modifications and alterations thereto can occur to those skilled in the art upon reading the preceding description. It is intended to include all such modifications and alterations insofar as they come within the scope of the basic inventive concepts disclosed herein. Accordingly, the following claims are intended to embrace all such alterations and modifications as fall within the scope of the application.
[0059] Obviously, many modifications and variations of the present application are possible in light of the above teachings. It is, therefore, to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A method for managing working modes in a power grid dispatching system, characterized in that, The main dispatching system and the backup dispatching system run in parallel and share the function group information; the main dispatching system and the backup dispatching system are configured identically and are opposite end systems; the working mode of the function group includes a normal working mode and an abnormal working mode; wherein the normal working mode includes a master mode and a slave mode; the abnormal working mode includes a fault; The working mode management method for the power grid dispatching system includes: Obtaining the function group information of the local system; Switching the working mode of the specified function group in response to the control instruction for switching the working mode of the specified function group; Adjusting the working mode of each function group in the local system in response to the function group information synchronized from the opposite end system to the local system, including: if the working mode of a certain function group in the local system is the master mode, the working mode of the same function group in the opposite end system is also the master mode and has a higher priority than the local system, then the working mode of the function group in the local system is switched to the slave mode; if a certain function group in the opposite end system changes from the master mode to the fault, then the same function group in the local system is automatically upgraded from the slave mode to the master mode; Displaying the function group information of the local system and the opposite end system to the user in response to the user's query request; Synchronizing the function group information of the local system to the opposite end system through the main communication link and receiving the function group information synchronized from the opposite end system to the local system in the case that the main communication link is normal and can interact information; Synchronizing the function group information of the local system to the opposite end system through the slave communication link and receiving the function group information synchronized from the opposite end system to the local system in the case that the main communication link is abnormal and cannot interact information.
2. The operation mode management method for a power grid dispatching system according to claim 1, characterized in that, The function group is configured with a function group application, and the function group application includes a key application and a non-key application; If the key application of the function group is abnormal, the working mode of the function group becomes the fault; if the key application of the function group is restored to normal, the working mode of the function group is set to the slave mode.
3. The operating mode management method for a power grid dispatching system according to claim 1, characterized by, Switching the working mode of the specified function group in response to the control instruction for switching the working mode of the specified function group, including: if the working mode of the function group before switching is the master mode, then the working mode of the function group after switching is the slave mode; if the working mode of the function group before switching is the slave mode, then the working mode of the function group after switching is the master mode.
4. The operating mode management method for a power grid dispatching system according to Claim 1, wherein In the case that the main communication link is normal and can interact information, the priority of the main dispatching system is higher than the priority of the backup dispatching system, the working mode of the function group in the main dispatching system is the master mode, and the working mode of the same function group in the backup dispatching system is the slave mode.
5. The operating mode management method for a power grid dispatching system according to Claim 1, wherein, In the case that the main communication link is abnormal and cannot interact information, switching the working mode of the specified function group in response to the control instruction for switching the working mode of the specified function group, including: Judging the lock state of the current function group, if the current is non-lock state, updating itself to the lock state, and then waiting; after the opposite end system obtains the lock state of the function group of the current system, updating to the lock state; meanwhile, the current system waits for the updating information of the opposite end system, and updates the lock state of the current system to the lock state, and then updates the function group mode to the mode required by the control instruction; meanwhile, the opposite end system updates the same function group mode; if waiting for a certain time, the lock state of the function group of the opposite end system is not updated, and the lock state of the function group of the current system reverts to the non-lock state, and returns the switching failure.
6. The operating mode management method for a power grid dispatching system according to Claim 1, wherein In the case that the main communication link is abnormal and cannot interact information, If the lock state of the current function group in the main control system and the standby control system is non-lock, the main mode of the function group is switched to the main control system with higher priority, and the working mode of the same function group in the standby control system is switched to the slave mode; If the lock state of the current function group in the main control system and the standby control system is locked, if the function group of the main control system is the slave mode with the highest priority, and the standby control system is also the slave mode, the function group of the main control system is automatically upgraded to the main mode; If the lock state of the current function group in the main control system and the standby control system is locked, if the function group of the main control system is the main mode, and the function group of the standby control system is also the main mode, the function group with lower priority is automatically downgraded to the slave mode.
7. A working mode management system for a power grid dispatch system, characterized by, The main control system and the standby control system run in parallel and share function group information; the main control system and the standby control system are configured to be the same and opposite to each other; the working mode of the function group includes normal working mode and abnormal working mode; wherein, the normal working mode includes main mode and slave mode; the abnormal working mode includes fault; In the case that the main communication link is normal and can interact information, The working mode management system for the power grid dispatching system comprises: a function group management module for obtaining function group information of the current system; Also used for responding to the control instruction for switching the working mode of the specified function group, switching the working mode of the specified function group; Also used for adjusting the working mode of each function group in the current system in response to the function group information synchronized by the opposite end system to the current system, including: if the working mode of a certain function group in the current system is the main mode, the working mode of the same function group in the opposite end system is also the main mode and has higher priority than the current system, then the working mode of the function group in the current system is switched to the slave mode; if a certain function group in the opposite end system changes from the main mode to the fault, the same function group in the current system is automatically upgraded from the slave mode to the main mode; A function group interaction module for synchronizing the function group information of the current system to the opposite end system through the main communication link, and receiving the function group information synchronized by the opposite end system to the current system; A function group monitoring module for responding to the query request of the user, displaying the function group information of the current system and the opposite end system to the user; In the case that the main communication link is abnormal and cannot interact information, The working mode management system for the power grid dispatching system further comprises: a function group arbitration management module for obtaining function group information of the current system; The function group arbitration management module is further configured to switch the working mode of the specified function group in response to a control instruction for switching the working mode of the specified function group. The function group arbitration management module is further configured to adjust the working mode of each function group in the local system in response to the function group information synchronized from the peer system to the local system. The function group arbitration interaction module is configured to synchronize the function group information of the local system to the peer system through the communication link and receive the function group information synchronized from the peer system to the local system.
8. The operating mode management system for a grid dispatch system of claim 7, wherein, In the case that the main communication link is abnormal and cannot interact information, the function group arbitration management module is configured to switch the working mode of the specified function group in response to a control instruction for switching the working mode of the specified function group, including: determining the lock state of the current function group, if the current function group is in the non-lock state, updating itself to the lock state, and then waiting; after the peer system acquires the lock state of the function group of the local system, updating to the lock state; meanwhile, the local system waits for the update information from the peer system and updates the lock state of itself to the lock state, and then updates the function group mode to the mode required by the control instruction; meanwhile, the peer system updates the same function group mode accordingly; if a certain time is waited and the lock state of the function group of the peer system is not updated, the lock state of the function group of the local system is rolled back to the non-lock state, and the switching fails.
9. The operating mode management system for a grid dispatch system of claim 7, wherein, In the case that the main communication link is abnormal and cannot interact information, the function group arbitration management module is further configured to perform the following operations: if the lock states of the current function group in the main control system and the standby control system are both non-lock, the main mode of the function group is switched to the main control system with higher priority, and the working mode of the same function group in the standby control system is switched to the slave mode; if the lock states of the current function group in the main control system and the standby control system are both locked, if the function group of the main control system is in the slave mode with the highest priority, and the standby control system is also in the slave mode, the function group of the main control system is automatically upgraded to the main mode; if the lock states of the current function group in the main control system and the standby control system are both locked, if the function group of the main control system is in the main mode, and the function group of the standby control system is also in the main mode, the function group with lower priority is automatically downgraded to the slave mode.
Citation Information
Patent Citations
Control device and method of robot and robot
CN108500978A
Master-slave mode control method based on D5000 master-standby dispatching system and management system
CN113253643A