CN111193674B - Scene and service state-based load splitting realization method and system - Google Patents
Scene and service state-based load splitting realization method and system Download PDFInfo
- Publication number
- CN111193674B CN111193674B CN201911333743.XA CN201911333743A CN111193674B CN 111193674 B CN111193674 B CN 111193674B CN 201911333743 A CN201911333743 A CN 201911333743A CN 111193674 B CN111193674 B CN 111193674B
- Authority
- CN
- China
- Prior art keywords
- center
- service
- scene
- analysis decision
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004458 analytical method Methods 0.000 claims abstract description 136
- 238000009826 distribution Methods 0.000 claims abstract description 25
- 238000004891 communication Methods 0.000 claims description 15
- 230000000694 effects Effects 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 12
- 230000003993 interaction Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000036541 health Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Marketing (AREA)
- Water Supply & Treatment (AREA)
- Human Resources & Organizations (AREA)
- Public Health (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Cardiology (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a load distribution method and a system based on a scene and a service state, wherein the system comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be realized, the system is switched to the next center until the connection of a certain center is successful; the load splitting method comprises the following steps: responding to a designated service shunting positioning query request sent by a client, acquiring an analysis decision center address of designated service work according to query parameters and client position information in the query request and global scene information, global service information and center state information of a center, and sending the center address to the client; and the client side is used for accessing or calculating the specified service data according to the specified service remote service calling instruction sent by the center address, so as to realize load distribution. The realized load split can split according to the scene and service distribution condition; the method is suitable for services of all centers for providing peer-to-peer services and also for providing master/slave services.
Description
Technical Field
The invention relates to a scene and service state-based load splitting realization method and system in a business multi-activity environment of a power grid dispatching control system, and belongs to the technical field of power automation systems.
Background
The new generation power grid dispatching control system adopts a system architecture with unified physical distribution and logic, under the new architecture, a monitoring system is built locally, an analysis decision center is built intensively, and the supporting capacity of the power grid dispatching control system is further improved by adopting a strategy of combining real-time local monitoring and global analysis decision of the managed power grid. The analysis decision center realizes centralized analysis, optimization and decision, performs multi-point construction in different places for guaranteeing stable and reliable operation of the system, and introduces a multi-activity technology. Multiple activities means that a plurality of analysis decision centers simultaneously provide services to the outside in a normal state, and when one center fails or disasters, other centers can rapidly take over key services, so that failure redundancy of a plurality of centers is realized.
The traditional multi-center load splitting is generally realized through GSLB (global load balancing) equipment, a Domain Name System (DNS) is built in the system, the GSLB equipment resolves the domain name to a certain center according to a strategy, and the method has the advantages that splitting is completed when a client accesses the domain name, no additional API interface is required to be called, and the system of the B/S architecture is very friendly. However, due to the characteristics of the service of the new generation power grid dispatching control system, the distribution mode based on the DNS can not meet specific functional requirements: firstly, a control system adopts a C/S architecture, and the existing service management function can only manage according to an IP address without domain name information; and secondly, some application services of the partial regulation system service cannot be deployed in a multi-center mode, calculation is only carried out in a selected analysis decision center (service main center), and service is provided outwards, at the moment, a calculation control instruction sent by a client can only be sent to the service main center to be executed, only the service main center is connected to human-computer display to obtain correct data information, and load distribution needs to provide support for the situation. In addition, conventional global load splitting based on DNS generally takes a long time to switch to a new center when one center fails due to DNS caching and the like, and cannot meet the needs of analysis decisions.
Disclosure of Invention
The invention relates to a method and a system for realizing load splitting based on a scene and a service state in a service multi-activity environment of a power grid dispatching control system, which solve the problems that multi-center load splitting cannot be applied to a new generation power grid dispatching control system under a C/S architecture of a regulation and control system and switching is slower when a center fails, and realize that client access can be split and quickly switched according to application service distribution conditions.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: a load distribution method based on scene and service state in service multi-activity environment of power grid dispatching control system comprises multiple analysis decision centers, wherein a certain analysis decision center establishes connection with a client, if the connection is impossible, the next analysis decision center is switched until the connection of a certain analysis decision center is successful; the load splitting method comprises the following steps:
the successfully connected analysis decision center responds to the appointed business shunting positioning query request sent by the client, obtains an analysis decision center address of appointed business work according to query parameters and client position information in the query request and global scene information, global service information and global center state information of the analysis decision center, and sends the analysis decision center address to the client;
and the analysis decision center for the specified service work responds to the specified service remote service call instruction sent by the client to access or calculate the specified service data so as to realize load distribution.
Furthermore, the client side designates a plurality of analysis decision center addresses in advance, and information interaction is carried out among each analysis decision center to form global information synchronization.
Further, the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, the same scene four-tuple elects a global working main center, and the global working main center elects the process: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, the center with the highest center priority is selected as the global working master center.
Further, the global service information includes all service information of the plurality of analysis decision centers.
Further, the global center state information comprises the working state of the communication equipment, the service running state of each analysis decision center and the connection state information of each center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting.
The load distribution system based on the scene and the service state in the business multi-activity environment of the power grid dispatching control system comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be realized, the system is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; comprising the following steps:
the distributed positioning query module is used for responding to a designated service distributed positioning query request sent by the client by a successfully connected analysis decision center, acquiring an analysis decision center address of designated service work according to query parameters in the query request and the position information of the client, and global scene information, global service information and global center state information of the analysis decision center, and sending the center address to the client;
and the load distribution realizing module is used for enabling the analysis decision center of the designated service work to access or calculate designated service data in response to the designated service remote service calling instruction sent by the client side so as to realize load distribution.
Furthermore, the client side designates a plurality of analysis decision center addresses in advance, and information interaction is carried out among each analysis decision center to form global information synchronization.
Further, the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, and the same scene four-tuple elects a global working main center; the global service information comprises all service information of a plurality of analysis decision centers; the center state information comprises the working state of the communication equipment of each analysis decision center, the service running state and the connection state information of each center;
the global working main center election process comprises the following steps: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, selecting the center with the highest center priority as a global working main center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting.
The invention has the beneficial effects that: according to the invention, through comprehensively managing the scene and the service state information, the realized load split can be split according to the scene and the service distribution condition; the method is suitable for the service that all centers provide peer-to-peer service and also supports the service that the master/slave service is provided;
the user request can be distributed to the nearby center running the appointed application service, the requirement of data display and operation control of the client of the new generation regulation and control system is met, and the service liveness of the analysis decision center is effectively supported.
Drawings
FIG. 1 is a diagram of an analysis decision center network in accordance with an embodiment of the present invention.
Fig. 2 is a schematic diagram of a load splitting implementation method in an embodiment of the present invention.
Detailed Description
The invention further provides a scene and service state-based load splitting realization method in a multi-activity environment of a power grid control system by combining with the accompanying drawings.
In the new generation power grid dispatching control system, when the business application of the analysis decision center runs, the business application is managed through scene, scene instance, sub-scene and sub-scene instance tetrad information, each business application runs under a specific tetrad, the tetrad comprises a group of running processes, and the processes provide a series of functional services for the outside, and the tetrad is called a scene tetrad for short.
The scene refers to: the scenes are logically classified according to different application service purposes, and include real-time scenes (real time), study scenes (study), planning scenes (plan), test scenes (test), accident inversion scenes (pdr), training simulation scenes (dts) and the like;
the scene example refers to: different working examples of the same scene are identified by serial numbers 1,2,3,4 and …;
the sub-scene refers to: a sub-scenario is a logically tight subset of business functions in the scenario, e.g., data acquisition and monitoring (scada), dispatcher power flow (pas_dpf), front-end acquisition (fes), public business (public), etc.;
sub-scene instance refers to: different working examples in the same sub-scene are identified by serial numbers 1,2,3 and 4 …;
the scene four-component information is managed by the system management module, and the scene four-component real time.1.public.1 represents the combination of a group of processes with scene name real time, scene instance number 1, sub-scene name public and sub-scene instance number 1. Since the real time corresponds to scene number 1 and the public corresponds to sub-scene number 1600000, the above quadruple can also be noted as 1.1.1600000.1. The process is managed through the scene four-tuple, but the externally provided service information is uniformly managed by the service management, so that all the service information of the current analysis decision center can be obtained from the service management. The man-machine cloud terminal is used as a client and deployed on each monitoring system, provides a position-independent man-machine interaction function, supports local and remote indiscriminate access, can be connected to a designated analysis decision center, and performs service call to display information such as calculation states, statistical data, calculation results and the like of analysis decisions.
Example 1:
as shown in fig. 1, a power grid dispatching control system comprises a plurality of monitoring systems and a plurality of analysis decision centers built in different places, and an application service runs in the analysis decision centers.
The monitoring system is connected with or is provided with a man-machine cloud terminal (i.e. man-machine operation interface), the man-machine cloud terminal is communicated with analysis decision centers through client interfaces, and each analysis decision center comprises a group of servers for running application services and a gateway node server cluster for external interfaces. On the whole, each analysis decision center has application service to provide service; for certain specific application services, there is a working master analysis decision center.
The new generation of dispatch control system includes 2 or more analysis decision centers, in this embodiment, only two centers are schematically drawn, namely, analysis decision center 1 and analysis decision center 2. And on a gateway server of each analysis decision center, a center health state checking module, a scene information synchronization and election module, a service information global synchronization module and a center shunting positioning module are operated. The two analysis decision centers interact with the outside through the gateway server, and the gateway node servers are configured in a redundant mode according to requirements. At both analysis decision centers, the dispatcher tide application is entirely peer-to-peer, and users can connect to the services of any center; whereas real-time planning applications only provide computing services (business master centers) on the analysis decision center 1, the analysis decision center 2 only provides redundant redundancy in case of failure.
Example 2:
a load distribution method based on scene and service state in service multi-activity environment of power grid dispatching control system comprises multiple analysis decision centers, wherein a certain analysis decision center establishes connection with a client, if the connection is impossible, the next analysis decision center is switched until the connection of a certain analysis decision center is successful; the load splitting method comprises the following steps:
the successfully connected analysis decision center responds to the appointed business shunting positioning query request sent by the client, obtains an analysis decision center address of appointed business work according to query parameters and client position information in the query request and global scene information, global service information and global center state information of the analysis decision center, and sends the analysis decision center address to the client;
and the analysis decision center for the specified service work responds to the specified service remote service call instruction sent by the client to access or calculate the specified service data so as to realize load distribution.
Furthermore, the client side designates a plurality of analysis decision center addresses in advance, and information interaction is carried out among each analysis decision center to form global information synchronization.
Further, the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, the same scene four-tuple elects a global working main center, and the global working main center elects the process: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, the center with the highest center priority is selected as the global working master center.
Further, the global service information includes all service information of the plurality of analysis decision centers.
Further, the global center state information comprises the working state of the communication equipment, the service running state of each analysis decision center and the connection state information of each center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting.
Example 3:
as shown in fig. 2, a load splitting method based on a scene and a service state in a service multi-activity environment of a power grid dispatching control system includes the steps:
step 1, configuring addresses and ports where a plurality of diversion decision centers are located on a man-machine cloud terminal; the address and the port are virtual addresses and ports of the gateway server cluster;
step 2, the man-machine cloud terminal determines whether to locate and inquire the service through a scene tetrad or a service name according to the display and operation requirements, and gives out whether to locate a working main scene center of the service according to the operation characteristics of service application, and then calls a client interface by taking the information (namely the scene tetrad, the service name or the main center) as an inquiry parameter;
step 3, the client interface tries to connect to the split positioning service of a certain analysis decision center, and when one split positioning service cannot be communicated, the client interface is switched to the split positioning service of the next analysis decision center; after the service is connected, a positioning request is initiated to the shunt positioning service according to the query parameters;
and 4, after receiving the request, the center shunting positioning module synthesizes the global scene information, the global service information, the client position information and the center state information according to the query parameters provided by the client to obtain a center address of specific application work, and sends the positioned center address back to the client.
And step 5, the client returns the center address to the man-machine cloud terminal, and the man-machine cloud terminal performs remote service call through the service bus according to the returned center address information to access specific service data.
From the above steps, it can be seen that the service of the grid regulation system client for accessing the service application is divided into two steps, and the first step calls the client interface to obtain the center where the specified service application is located and obtain the center address; and secondly, carrying out remote service call through a service bus. This forking approach requires the client to actively invoke the client interface, which is intrusive. Because the scene information and the service information of the analysis decision center are completely synchronous, when the client interface is called, a request can be initiated to a center shunting positioning module of any analysis decision center, and the load shunting function of the whole system is not affected by partial analysis decision center faults.
Example 4:
the load distribution system based on the scene and the service state in the business multi-activity environment of the power grid dispatching control system comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be realized, the system is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; comprising the following steps:
the distributed positioning query module is used for responding to a designated service distributed positioning query request sent by the client by a successfully connected analysis decision center, acquiring an analysis decision center address of designated service work according to query parameters in the query request and the position information of the client, and global scene information, global service information and global center state information of the analysis decision center, and sending the center address to the client;
and the load distribution realizing module is used for enabling the analysis decision center of the designated service work to access or calculate designated service data in response to the designated service remote service calling instruction sent by the client side so as to realize load distribution.
Furthermore, the client side designates a plurality of analysis decision center addresses in advance, and information interaction is carried out among each analysis decision center to form global information synchronization.
Further, the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, and the same scene four-tuple elects a global working main center; the global service information comprises all service information of a plurality of analysis decision centers; the center state information comprises the working state of the communication equipment of each analysis decision center, the service running state and the connection state information of each center;
the global working main center election process comprises the following steps: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, selecting the center with the highest center priority as a global working main center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting.
Example 5:
as shown in fig. 2, the load splitting device based on the scene and the service state in the service multi-activity environment of the power grid dispatching control system comprises a central health state checking module, a scene information synchronization and election module, a service information global synchronization module and a central splitting positioning module.
The central health status checking module comprises an intra-central function check and an inter-central heartbeat check to determine the central working status.
The in-center function check is specifically: obtaining state information of the center by checking key communication equipment (such as checking the working state of a core switch through ICMP) and key service running state (such as checking the working state of data access service through service call);
the heart beat check between centers is: and interacting with the central health state checking modules of other analysis decision centers through the heartbeat message to obtain global central state information. The method comprises the following steps: checking the accessibility of the communication equipment and the availability of services, if the function of the internal communication equipment is abnormal, considering the current center to be faulty, and informing other centers through heartbeats; if the heartbeat message of a certain center is not received, the center of the opposite end is considered to be faulty. The center state is provided for the center shunting positioning module for reference during shunting, and if the center fails, the center is not considered for shunting treatment.
And the scene information synchronization and election module is used for managing the scene information of each center. The scene synchronization realizes the global sharing of scene information, and the scene election realizes the election of the service work main center among centers. When the business application runs in the analysis decision center, the business application is managed through scene, scene instance, sub-scene and sub-scene instance tetrad information, each business application runs under a specific tetrad, a process under the business application provides a series of functional services for the outside, and a client program (such as a man-machine cloud terminal) is waited for calling; the scene information synchronously realizes the interaction of four-tuple information of each center to form global scene information; the scene information synchronization is specifically: and obtaining scene four-tuple information operated by the current center from local system management and sending the scene four-tuple information to other centers. For example, the analysis decision center 1 and the analysis decision center 2 both run scene quadruplets real time.1.Public.1 and real time.1.Data_srv.1 (the internal parts are 1.1.1600000.1 and 1.1.3300000.1), and finally a four-component scene list is formed:
wherein fxjc1, fxjc2 are center names of the analysis decision center 1 and the analysis decision center 2, and data_srv is another sub-scene name, numbered 3300000.
Scene election based on scene information synchronization, a global working main center is elected for the same scene quadruple; the method comprises the following steps: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, the center with the highest center priority is selected as the working master center. And determining whether the current center is a working main center or not according to the scene election result by some specific applications of the analysis decision center, and if the current center is the working main center, calculating and providing services to the outside.
And the service information global synchronization module is used for obtaining the service information of the current center from the local service management and synchronizing the service information among the centers to form global service information. At this time, service information and states of all the centers, including service names, port numbers, running nodes, manufacturers, connection numbers, etc., can be obtained at each center.
And the center shunting positioning module is used for responding to the client center positioning query request and realizing client load shunting. The center positioning and distribution module is internally provided with a client source corresponding table, so that the distance between the client and the current center can be judged. And simultaneously, according to the central state information, the global scene information and the global service information acquired from the three modules, and by combining the query parameters (scene tetrad, service name or main scene center) and the client position information sent by the client, the center meeting the client requirement is provided. Under the default condition, adopting a nearby policy distribution center according to the source IP address of the client; when parameters are provided with a scene, a scene instance, a sub-scene and a sub-scene instance, the center of the scene four-element group is selected besides meeting the previous strategy; when the parameter has a service name, a center with the service name is selected, and when the main scene center is appointed to be queried, the main scene center address is returned.
In summary, the load splitting can be implemented according to the scenario and service distribution conditions; the method is suitable for services of all centers for providing peer-to-peer services and also for providing master/slave services.
According to the invention, through comprehensively managing the scene and the service state information, the user request can be distributed to the nearby center running the appointed application service, the requirements of data display and operation control of the client of the new generation regulation and control system are met, and the service liveness of the analysis decision center is effectively supported.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to 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 flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may 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 instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.
Claims (2)
1. A load distribution method based on a scene and a service state in a business multi-activity environment of a power grid dispatching control system is characterized by comprising a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be realized, the next analysis decision center is switched until the connection of the certain analysis decision center is successful; the load splitting method comprises the following steps:
the successfully connected analysis decision center responds to the appointed business shunting positioning query request sent by the client, obtains an analysis decision center address of appointed business work according to query parameters and client position information in the query request and global scene information, global service information and global center state information of the analysis decision center, and sends the analysis decision center address to the client;
the analysis decision center of the appointed service work responds to the appointed service remote service call instruction sent by the client to access or calculate the appointed service data, so as to realize load distribution;
the global scene information of the analysis decision center comprises all four-tuple information of each center, the same scene four-tuple elects a global working main center, and the global working main center elects the process: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, selecting the center with the highest center priority as a global working main center;
the global service information comprises all service information of a plurality of analysis decision centers;
the global center state information comprises the working state of the communication equipment, the service running state and the connection state information of each analysis decision center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting;
the client side pre-designates a plurality of analysis decision center addresses, and information interaction is carried out among each analysis decision center to form global information synchronization;
the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
2. The load distribution system based on the scene and the service state in the service multi-activity environment of the power grid dispatching control system is characterized by comprising a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be realized, the system is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; comprising the following steps:
the distributed positioning query module is used for responding to a designated service distributed positioning query request sent by the client by a successfully connected analysis decision center, acquiring an analysis decision center address of designated service work according to query parameters in the query request and the position information of the client, and global scene information, global service information and global center state information of the analysis decision center, and sending the center address to the client;
the load distribution realizing module is used for enabling the analysis decision center of the designated service work to access or calculate designated service data in response to the designated service remote service calling instruction sent by the client to realize load distribution;
the global scene information of the analysis decision center comprises all four-tuple information of each center, the same scene four-tuple elects a global working main center, and the global working main center elects the process: if the four-element group of a certain scene has a working main center, informing other centers regularly through heartbeat, and maintaining the main center state; if not, selecting the center with the highest center priority as a global working main center;
the global service information comprises all service information of a plurality of analysis decision centers;
the global center state information comprises the working state of the communication equipment, the service running state and the connection state information of each analysis decision center;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of service, if the internal function is abnormal, the center is considered to be faulty, the state of the other analysis decision centers is interacted through heartbeat messages to obtain global center state information, and if the current center cannot receive the heartbeat messages of a certain center, the opposite end center is considered to be faulty; if the center fails, the center is not suitable for shunting;
the client side pre-designates a plurality of analysis decision center addresses, and information interaction is carried out among each analysis decision center to form global information synchronization;
the query parameters include: scene quaternion, service name or main center; the scene quaternion comprises scene, scene instance, sub-scene and sub-scene instance quaternion information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911333743.XA CN111193674B (en) | 2019-12-23 | 2019-12-23 | Scene and service state-based load splitting realization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911333743.XA CN111193674B (en) | 2019-12-23 | 2019-12-23 | Scene and service state-based load splitting realization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111193674A CN111193674A (en) | 2020-05-22 |
CN111193674B true CN111193674B (en) | 2024-03-29 |
Family
ID=70709260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911333743.XA Active CN111193674B (en) | 2019-12-23 | 2019-12-23 | Scene and service state-based load splitting realization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111193674B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114363156A (en) * | 2022-01-25 | 2022-04-15 | 南瑞集团有限公司 | Hydropower station computer monitoring system deployment method based on cluster technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601486A (en) * | 2013-10-30 | 2015-05-06 | 阿里巴巴集团控股有限公司 | Method and device for shunt of network flow |
CN106446268A (en) * | 2016-10-19 | 2017-02-22 | 中国工商银行股份有限公司 | Database lateral extension system and method |
CN107332788A (en) * | 2017-06-08 | 2017-11-07 | 中国电力科学研究院 | A kind of support method and system for being used to transmit wide area information in power dispatching center |
CN109242446A (en) * | 2018-10-16 | 2019-01-18 | 南京工业大学 | City wisdom energy panorama management and control platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100030896A1 (en) * | 2008-06-19 | 2010-02-04 | Microsoft Corporation | Estimating latencies for query optimization in distributed stream processing |
US9674042B2 (en) * | 2013-11-25 | 2017-06-06 | Amazon Technologies, Inc. | Centralized resource usage visualization service for large-scale network topologies |
-
2019
- 2019-12-23 CN CN201911333743.XA patent/CN111193674B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601486A (en) * | 2013-10-30 | 2015-05-06 | 阿里巴巴集团控股有限公司 | Method and device for shunt of network flow |
CN106446268A (en) * | 2016-10-19 | 2017-02-22 | 中国工商银行股份有限公司 | Database lateral extension system and method |
CN107332788A (en) * | 2017-06-08 | 2017-11-07 | 中国电力科学研究院 | A kind of support method and system for being used to transmit wide area information in power dispatching center |
CN109242446A (en) * | 2018-10-16 | 2019-01-18 | 南京工业大学 | City wisdom energy panorama management and control platform |
Non-Patent Citations (1)
Title |
---|
新一代调控***分析决策中心业务多活框架与技术;翟明玉等;《电力***自动化》;20191125;第110-115页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111193674A (en) | 2020-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10721095B2 (en) | Virtual interface system and method for multi-tenant cloud networking | |
US7496668B2 (en) | OPC server redirection manager | |
CN112000448A (en) | Micro-service architecture-based application management method | |
WO2018171565A1 (en) | Disaster recovery deployment method, device and system | |
US20110307541A1 (en) | Server load balancing and draining in enhanced communication systems | |
CN106911648B (en) | Environment isolation method and equipment | |
US20050138517A1 (en) | Processing device management system | |
CN110661641B (en) | Virtual network function VNF deployment method and device | |
KR20040073273A (en) | A scalable method of continuous monitoring the remotely accessible resources against the node failures for very large clusters | |
CN110391940B (en) | Service address response method, device, system, equipment and storage medium | |
WO2019210580A1 (en) | Access request processing method, apparatus, computer device, and storage medium | |
CN109756474B (en) | Service cross-region calling method and device for power dispatching automation system | |
CN109101196A (en) | Host node switching method, device, electronic equipment and computer storage medium | |
CN111083177B (en) | Cross-domain collaborative interaction method based on collaborative gateway | |
WO2017124834A1 (en) | Resource management method, apparatus, and system | |
CN111193674B (en) | Scene and service state-based load splitting realization method and system | |
CN111343251A (en) | Message queue service deployment method and device | |
CN116723077A (en) | Distributed IT automatic operation and maintenance system | |
WO2020056550A1 (en) | Service distribution device and method in software defined network, and storage medium | |
CN114268581B (en) | Method for realizing high availability and load sharing of network equipment | |
CN115967611B (en) | Cross-domain switching processing method, device, equipment and storage medium | |
CN113612732B (en) | Resource calling method and device and multiparty secure computing system | |
CN112261095B (en) | Load distribution realization system and method based on two-stage proxy | |
CN110110004B (en) | Data operation method, device and storage medium | |
KR101648568B1 (en) | Method for using distributed objects by clustering them and system using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |