CN111193674A - Method and system for realizing load distribution based on scene and service state - Google Patents

Method and system for realizing load distribution based on scene and service state Download PDF

Info

Publication number
CN111193674A
CN111193674A CN201911333743.XA CN201911333743A CN111193674A CN 111193674 A CN111193674 A CN 111193674A CN 201911333743 A CN201911333743 A CN 201911333743A CN 111193674 A CN111193674 A CN 111193674A
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.)
Granted
Application number
CN201911333743.XA
Other languages
Chinese (zh)
Other versions
CN111193674B (en
Inventor
彭晖
葛以踊
郭海龙
孙卫芳
徐春雷
高宝山
吴海伟
万书鹏
雷宝龙
易强
张凯
张平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, NARI Group Corp, Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201911333743.XA priority Critical patent/CN111193674B/en
Publication of CN111193674A publication Critical patent/CN111193674A/en
Application granted granted Critical
Publication of CN111193674B publication Critical patent/CN111193674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Abstract

The invention discloses a load distribution method and a system based on scenes and service states, which comprise a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be established, the connection is switched to the next center until the connection of the certain center is successful; the load shunting method comprises the following steps: responding to a specified service distribution positioning query request sent by a client, acquiring an analysis decision center address of specified service work according to query parameters and client position information in the query request, and global scene information, global service information and central state information of a center, and sending the center address to the client; and responding to a remote service calling instruction of the specified service sent by the client according to the central address, accessing or calculating specified service data, and realizing load distribution. The realized load distribution can be distributed according to the scene and the service distribution condition; the method is suitable for all the services of which the centers provide peer-to-peer services and also supports the services of which the master/slave services are provided.

Description

Method and system for realizing load distribution based on scene and service state
Technical Field
The invention relates to a method and a system for realizing load distribution based on scenes and service states in a multi-service environment of a power grid dispatching control system, and belongs to the technical field of power automation systems. A
Background
The new generation of power grid dispatching control system adopts a physical distribution and logic unification system architecture, under the new architecture, a monitoring system is locally built, an analysis decision center is centrally built, and the supporting capability 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 governed power grid. The analysis and decision center realizes centralized analysis, optimization and decision, and performs multipoint construction in different places and introduces a multi-activity technology in order to guarantee stable and reliable operation of the system. The multi-activity means that a plurality of analysis decision centers simultaneously provide services to the outside in a normal state, and when one center fails or has a disaster, other centers can quickly take over key services to realize the fault redundancy of the plurality of centers.
The traditional load distribution among multiple centers is generally realized by GSLB (global load balancing) equipment, a Domain Name System (DNS) is built in the system, and the GSLB equipment resolves a domain name to a certain center according to a strategy. However, due to the characteristics of the new generation of power grid dispatching control system service, the DNS-based distribution mode cannot meet specific functional requirements: firstly, a regulation and control system adopts a C/S architecture, the existing service management function can only be managed according to an IP address, and domain name information is not available; secondly, some application services of part of the regulation and control system services cannot be deployed in a multi-center peer-to-peer manner, only one selected analysis decision center (service main center) is used for calculating and providing services to the outside, at the moment, a calculation control instruction sent by a client can only be executed by the service main center, correct data information can only be acquired by connecting the client to the service main center through man-machine display, and load distribution needs to support the situation. In addition, in the conventional global load distribution based on DNS, due to DNS caching and other reasons, when one center fails, it usually takes a long time to switch to a new center, and the need for analysis and decision cannot be met.
Disclosure of Invention
The invention relates to a load distribution realization method and a system based on scenes and service states under a power grid dispatching control system service multi-living environment, which solve the problems that multi-center load distribution under a regulation and control system C/S framework cannot be suitable for a new generation power grid dispatching control system and the switching is slow when a center fails, and realize that client access can be distributed and rapidly switched according to the distribution condition of application services.
In order to achieve the purpose, the invention adopts the technical scheme that: a load distribution method based on scenes and service states in a power grid dispatching control system service multi-living environment comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the load shunting method comprises the following steps:
responding to a specified service distribution positioning query request sent by a client by the successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the analysis decision center address to the client;
and the analysis decision center for the specified service work accesses or calculates the specified service data in response to the specified service remote service call instruction sent by the client, so as to realize load distribution.
Furthermore, the client pre-designates a plurality of analysis decision center addresses, and information interaction between each analysis decision center forms global information synchronization.
Further, the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
Further, the global scene information of the analysis decision center includes all four-tuple information of each center, the same scene four-tuple elects a global work master center, and the global work master center election process is as follows: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; if not, the center with the highest center priority is selected as the global main center of work.
Further, the global service information includes all service information of the plurality of analysis decision centers.
Further, the global center state information includes the working state of the communication equipment of each analysis decision center, the service running state 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 the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
A load distribution system based on scenes and service states in a power grid dispatching control system service multi-living environment comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the method comprises the following steps:
the distribution positioning query module is used for responding to a specified service distribution positioning query request sent by a client by a successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the center address to the client;
and the load distribution implementation module is used for responding to a specified service remote service call instruction sent by the client by an analysis decision center of specified service work, accessing or calculating specified service data and implementing load distribution.
Furthermore, the client pre-designates a plurality of analysis decision center addresses, and information interaction between each analysis decision center forms global information synchronization.
Further, the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, and a global working main center is selected for the same scene four-tuple; 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 work center election process comprises the following steps: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; 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 the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
The invention achieves the following beneficial effects: according to the invention, by comprehensively managing scene and service state information, the realized load distribution can be distributed according to the scene and service distribution condition; the method is suitable for all centers to provide peer-to-peer service services and also supports service providing master/slave services;
the method can distribute the user request to a nearby center running the specified application service, meet the requirements of data display and operation control of a client of a new generation of regulation and control system, and effectively support the service activity of an analysis decision center.
Drawings
Fig. 1 is a diagram of an analysis decision center network according to 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 following describes the method for implementing load shedding based on scenes and service states in a power grid control system multi-activity environment in further detail with reference to the accompanying drawings.
In a new generation of power grid dispatching control system, service applications of an analysis decision center are managed through scene, scene instance, sub-scene and sub-scene instance four-tuple information when running, each service application runs under a specific four-tuple, the four-tuple comprises a group of running processes, and the processes provide a series of functional services for the outside, and the four-tuple is called as a scene four-tuple for short.
The scene means: the scenes are logically classified according to different application service purposes, and comprise a real-time scene (realtime), a research scene (study), a planning scene (plan), a test scene (test), an accident inversion scene (pdr), a training simulation scene (dts) and the like;
the scene instance refers to: different working instances of the same scene, identified by the numbers 1, 2, 3, 4 …;
the sub-scene means: a sub-scenario is a logically compact subset of business functions in a scenario, such as data collection and monitoring (scada), dispatcher trend (pas _ dpf), pre-collection (fes), public business (public), etc.;
the sub-scene example refers to: different working examples under the same sub-scene are identified by the serial numbers 1, 2, 3, 4 …;
the scene four-tuple information is managed by the system management module, and the scene four-tuple time.1.public.1 represents a combination of a group of processes with a scene name of time, a scene instance number of 1, a sub-scene name of public and a sub-scene instance number of 1. Since realtime corresponds to scene number 1 and public corresponds to sub-scene number 1600000, the above four-tuple can also be noted as 1.1.1600000.1. The process is managed through scene quadruplets, but the service information provided externally is managed by service management in a unified way, and all the service information of the current analysis decision center can be obtained from the service management. The human-computer cloud terminal serves as a client and is deployed in each monitoring system, a position-independent human-computer interaction function is provided, local and remote undifferentiated access is supported, and the human-computer cloud terminal can be connected to a designated analysis decision center to call services to display information such as a calculation state, statistical data and calculation results of an analysis decision.
Example 1:
as shown in fig. 1, a power grid dispatching control system includes a plurality of monitoring systems, and a plurality of analysis decision centers built in different places, and application services run in the analysis decision centers.
The monitoring system is connected or provided with a man-machine cloud terminal (namely a man-machine operation interface), the man-machine cloud terminal is communicated with the 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 business to provide services to the outside; for some specific application services, there is a working master analysis decision center.
The new generation dispatch control system includes 2 or more than 2 analysis decision centers, only two centers are schematically shown in the embodiment, which are respectively an analysis decision center 1 and an analysis decision center 2. And a central health state checking module, a scene information synchronization and election module, a service information global synchronization module and a central distribution positioning module are operated on a gateway server of each analysis decision center. The two analysis decision centers interact with the outside through a gateway server, and the gateway node server is configured redundantly according to the requirement. In two analysis decision centers, dispatcher trend application is completely equivalent, and users can be connected to the service of any center; while the real-time planning application only provides computing services (service main center) on the analysis decision center 1, and the analysis decision center 2 only provides redundancy for standby in case of failure.
Example 2:
a load distribution method based on scenes and service states in a power grid dispatching control system service multi-living environment comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the load shunting method comprises the following steps:
responding to a specified service distribution positioning query request sent by a client by the successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the analysis decision center address to the client;
and the analysis decision center for the specified service work accesses or calculates the specified service data in response to the specified service remote service call instruction sent by the client, so as to realize load distribution.
Furthermore, the client pre-designates a plurality of analysis decision center addresses, and information interaction between each analysis decision center forms global information synchronization.
Further, the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
Further, the global scene information of the analysis decision center includes all four-tuple information of each center, the same scene four-tuple elects a global work master center, and the global work master center election process is as follows: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; if not, the center with the highest center priority is selected as the global main center of work.
Further, the global service information includes all service information of the plurality of analysis decision centers.
Further, the global center state information includes the working state of the communication equipment of each analysis decision center, the service running state 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 the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
Example 3:
as shown in fig. 2, a load splitting method based on scenario and service state in a power grid dispatching control system service multi-active environment includes the steps of:
step 1, configuring addresses and ports where a plurality of shunting decision centers are located on a man-machine cloud terminal; the address and port are virtual addresses and ports of the gateway server cluster;
step 2, the man-machine cloud terminal determines whether to position the service by the scene quadruple or the service name according to the display and operation requirements, and gives out whether to position the work main scene center of the service according to the operation characteristics of the service application, and then the information (namely the scene quadruple, the service name or the main center) is used as a query parameter to call a client interface;
step 3, the client interface tries to connect to the shunt positioning service of a certain analysis decision center, and when one shunt positioning service cannot be connected, the shunt positioning service of the next analysis decision center is switched; after the service is connected, a positioning request is sent to the shunting positioning service according to the query parameters;
and 4, after receiving the request, the central distribution positioning module integrates the global scene information, the global service information, the client position information and the central state information to obtain a specific central address of the application work according to the query parameters provided by the client, and sends the positioned central address back to the client.
And 5, the client returns the central address to the man-machine cloud terminal, and the man-machine cloud terminal carries out remote service calling through the service bus according to the returned central address information to access specific service data.
The first step calls a client interface to obtain a center of the designated service application to obtain a center address; and the second step is to carry out remote service calling through a service bus. The split mode requires the client program to actively call the client interface, and 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 central distribution positioning module of any analysis decision center, and the whole load distribution function of the system is not influenced by partial analysis decision center faults.
Example 4:
a load distribution system based on scenes and service states in a power grid dispatching control system service multi-living environment comprises a plurality of analysis decision centers, wherein a certain analysis decision center establishes connection with a client, and if the connection cannot be established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the method comprises the following steps:
the distribution positioning query module is used for responding to a specified service distribution positioning query request sent by a client by a successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the center address to the client;
and the load distribution implementation module is used for responding to a specified service remote service call instruction sent by the client by an analysis decision center of specified service work, accessing or calculating specified service data and implementing load distribution.
Furthermore, the client pre-designates a plurality of analysis decision center addresses, and information interaction between each analysis decision center forms global information synchronization.
Further, the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
Further, the global scene information of the analysis decision center comprises all four-tuple information of each center, and a global working main center is selected for the same scene four-tuple; 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 work center election process comprises the following steps: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; 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 the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
Example 5:
as shown in fig. 2, a load shunting device based on scenario and service state in a multi-service environment of a power grid scheduling control system includes a central health state checking module, a scenario information synchronization and election module, a service information global synchronization module, and a central shunting positioning module.
And the central health state checking module comprises an intra-center function check and an inter-center heartbeat check to determine the working state of the center.
The function inspection in the center is specifically as follows: the state information of the center is obtained by checking the key communication equipment (such as checking the working state of a core switch through ICMP) and the running state of the key service (such as checking the working state of a data access service through service call);
the center-to-center heartbeat check is: and interacting with the central health state check module of other analysis and decision centers through the heartbeat message to obtain global central state information. The method specifically comprises the following steps: the accessibility of the communication equipment and the availability of the service are checked, if the function of the internal communication equipment is abnormal, the current center is considered to be in fault, and other centers are informed through heartbeat; if the heartbeat message of a certain center cannot be received, the opposite end center is also considered to be in fault. The central state is provided for the central shunting positioning module for reference during shunting, and if the central state is in fault, the central state is not considered to be used for shunting processing.
And the scene information synchronization and election module is used for managing the scene information of each center. Scene synchronization realizes global sharing of scene information, and scene election realizes election of a service working main center among centers. When the service application runs in the analysis decision center, the service application is managed through scene, scene example, sub-scene and sub-scene example four-tuple information, each service application runs under a specific four-tuple, and a process under the service application provides a series of functional services for the outside world to wait for a client program (such as a human-computer cloud terminal) to call; scene information synchronization realizes interaction between the four-tuple information of each center to form global scene information; the scene information synchronization specifically comprises: scene four-tuple information operated by the current center is obtained from local system management and sent to other centers. For example, both analytics decision center 1 and analytics decision center 2 run the scene four-tuple real time.1.public.1 and real time.1.data _ srv.1 (internal representations are 1.1.1600000.1 and 1.1.3300000.1), and finally form a four-component scene list as:
scene quadruplet work center
1.1.1600000.1 fxjc1
1.1.1600000.1 fxjc2
1.1.3300000.1 fxjc1
1.1.3300000.1 fxjc2
Wherein fxjc1 and fxjc2 are the center names of the analysis decision center 1 and the analysis decision center 2, and data _ srv is another sub-scene name, which is numbered 3300000.
Scene election elects a global working main center for the same scene quadruple on the basis of scene information synchronization; the method specifically comprises the following steps: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; if not, the center with the highest center priority is selected as the master center. And some specific applications of the analysis decision center determine whether the current center is a working main center or not according to the scene election result, and if the current center is the working main center, calculation is carried out and service is provided for the outside.
And the service information global synchronization module is used for acquiring the service information of the current center from 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 running can be obtained at each center, including service name, port number, running node, manufacturer, connection number, and the like.
And the central distribution positioning module is used for responding to the client central positioning query request and realizing client load distribution. The central positioning and shunting module is internally provided with a client source corresponding table and can judge the distance between the client and the current center. Meanwhile, a center meeting the requirements of the client is provided according to the central state information, the global scene information and the global service information which are obtained from the three modules, and by combining the query parameters (scene quadruple, service name or main scene center) and the client position information which are sent by the client. Under the default condition, adopting a nearby strategy distribution center according to the source IP address of the client; when the parameters include providing scenes, scene instances, sub-scenes and sub-scene instances, the centers of the scene quadruples are selected besides the prior strategy is met; when the parameter has the name of the service, the center with the service name is selected, and when the main scene center is appointed to be inquired, the address of the main scene center is returned.
In summary, the realized load distribution can be distributed according to the scene and the service distribution condition; the method is suitable for all the services of which the centers provide peer-to-peer services and also supports the services of which the master/slave services are provided.
The invention can distribute the user request to the nearby center running the appointed application service by comprehensively managing the scene and the service state information, meets the requirements of data display and operation control of the client of the new generation of regulation and control system, and effectively supports the service activity of the analysis decision center.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A load distribution method based on scenes and service states in a power grid dispatching control system service multi-living environment 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 established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the load shunting method comprises the following steps:
responding to a specified service distribution positioning query request sent by a client by the successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the analysis decision center address to the client;
and the analysis decision center for the specified service work accesses or calculates the specified service data in response to the specified service remote service call instruction sent by the client, so as to realize load distribution.
2. The load shunting method based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 1, characterized in that: the client pre-designates a plurality of analysis decision center addresses, and information interaction is performed among the analysis decision centers to form global information synchronization.
3. The load shunting method based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 1, characterized in that: the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
4. The load shunting method based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 1, characterized in that: the global scene information of the analysis decision center comprises all four-tuple information of each center, the same scene four-tuple gives an election of a global working main center, and the election process of the global working main center comprises the following steps: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; if not, the center with the highest center priority is selected as the global main center of work.
5. The load shunting method based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 1, characterized in that: the global service information includes all service information of a plurality of analysis decision centers.
6. The load shunting method based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 1, characterized in that: the global 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;
each analysis decision center respectively checks the accessibility of the communication equipment of the center and the availability of the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
7. A load distribution system based on scenes and service states in a power grid dispatching control system service multi-living environment 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 established, the connection is switched to the next analysis decision center until the connection of the certain analysis decision center is successful; the method comprises the following steps:
the distribution positioning query module is used for responding to a specified service distribution positioning query request sent by a client by a successfully connected analysis decision center, acquiring an analysis decision center address of specified service 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 sending the center address to the client;
and the load distribution implementation module is used for responding to a specified service remote service call instruction sent by the client by an analysis decision center of specified service work, accessing or calculating specified service data and implementing load distribution.
8. The load shunting system based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 7, characterized in that: the client pre-designates a plurality of analysis decision center addresses, and information interaction is performed among the analysis decision centers to form global information synchronization.
9. The load shunting system based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 7, characterized in that: the query parameters include: a scene quadruplet, a service name or a main center; the scene quadruplet comprises scene, scene instance, sub-scene and sub-scene instance quadruplet information.
10. The load shunting system based on the scene and the service state in the power grid dispatching control system service multi-activity environment according to claim 7, characterized in that: analyzing the global scene information of the decision center, wherein the global scene information comprises all four-tuple information of each center, and a global working main center is selected for the same scene four-tuple; 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 work center election process comprises the following steps: if the quadruple of a scene has a working main center, regularly informing other centers through heartbeat to maintain the state of the main center; 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 the service, if the internal function is abnormal, the center is considered to be in a fault, the state of 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 in a fault; if the center fails, the center is not applicable to shunting.
CN201911333743.XA 2019-12-23 2019-12-23 Scene and service state-based load splitting realization method and system Active CN111193674B (en)

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 true CN111193674A (en) 2020-05-22
CN111193674B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (6)

* Cited by examiner, † Cited by third party
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
CN104601486A (en) * 2013-10-30 2015-05-06 阿里巴巴集团控股有限公司 Method and device for shunt of network flow
US20150149611A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Centralized Resource Usage Visualization Service For Large-Scale Network Topologies
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 南京工业大学 A kind of city intelligent energy panorama control platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN104601486A (en) * 2013-10-30 2015-05-06 阿里巴巴集团控股有限公司 Method and device for shunt of network flow
US20150149611A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Centralized Resource Usage Visualization Service For Large-Scale Network Topologies
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 南京工业大学 A kind of city intelligent energy panorama control platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
翟明玉等: "新一代调控系统分析决策中心业务多活框架与技术", 《电力系统自动化》 *
翟明玉等: "新一代调控系统分析决策中心业务多活框架与技术", 《电力系统自动化》, 25 November 2019 (2019-11-25), pages 110 - 115 *

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111193674B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN107872525B (en) Micro-service calling system
CN112000448A (en) Micro-service architecture-based application management method
CN113037560B (en) Service flow switching method and device, storage medium and electronic equipment
CN108173959B (en) Cluster storage system
CN106790436B (en) Traffic system monitoring method based on cloud architecture and control center cloud server
CN110661641B (en) Virtual network function VNF deployment method and device
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
US11743146B2 (en) Systems and methods for automated verification and reconfiguration of disconnected network devices
CN107682411A (en) A kind of extensive SDN controllers cluster and network system
CN110008005B (en) Cloud platform-based power grid communication resource virtual machine migration system and method
CN111193674A (en) Method and system for realizing load distribution based on scene and service state
CN109587062B (en) Load balancing information synchronization method, device and processing equipment
CN114363164B (en) Cloud network service arrangement control method, system, storage medium and electronic equipment
CN114268581B (en) Method for realizing high availability and load sharing of network equipment
CN116723077A (en) Distributed IT automatic operation and maintenance system
CN104486447A (en) Large platform cluster system based on Big-Cluster
CN114615320A (en) Service governance method, service governance device, electronic equipment and computer-readable storage medium
CN112261095A (en) Load distribution implementation system and method based on two-stage agent
Zhang et al. The reliability mapping monitoring method of network function virtualization
CN115865932B (en) Traffic scheduling method and device, electronic equipment and storage medium
CN115865651B (en) Data acquisition method and device, electronic equipment and storage medium
Chang et al. An M2M computing model for improving the performance among devices
CN112559113B (en) CMDB-based NFV configuration management method, system, server and storage medium
CN112351118B (en) Multicast method and system for physical machine

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