CN104253859B - Centralized dispatching resource allocation load balancing apparatus and method - Google Patents

Centralized dispatching resource allocation load balancing apparatus and method Download PDF

Info

Publication number
CN104253859B
CN104253859B CN201410461508.1A CN201410461508A CN104253859B CN 104253859 B CN104253859 B CN 104253859B CN 201410461508 A CN201410461508 A CN 201410461508A CN 104253859 B CN104253859 B CN 104253859B
Authority
CN
China
Prior art keywords
centralized dispatching
intelligent terminal
server
centralized
resource allocation
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
Application number
CN201410461508.1A
Other languages
Chinese (zh)
Other versions
CN104253859A (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
Jiangsu Fangtian Power Technology Co Ltd
Changzhou Power Supply Co of Jiangsu Electric Power Co
Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Fangtian Power Technology Co Ltd
Changzhou Power Supply Co of Jiangsu Electric Power Co
Maintenance Branch of State Grid Jiangsu Electric Power 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, Jiangsu Fangtian Power Technology Co Ltd, Changzhou Power Supply Co of Jiangsu Electric Power Co, Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410461508.1A priority Critical patent/CN104253859B/en
Publication of CN104253859A publication Critical patent/CN104253859A/en
Application granted granted Critical
Publication of CN104253859B publication Critical patent/CN104253859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of centralized dispatching resource allocation load balancing apparatus and method, the pressure that intelligent terminal calculates analysis has been shared, intelligent terminal and centralized dispatching service system are carried out separating decoupling, architecturally flexibility has been reached;Resource allotting server makes each centralized dispatching server obtain associated intelligent terminal, centralized dispatching service is issued, synchronizing information to intelligent terminal, receives, the work such as data of storage intelligent terminal upload;In addition data double-way is also eliminated synchronous, the drawback such as service complexity is called simplifies system complexity, improves system maintainability;Extract the tasks such as centralized dispatching service system is uploaded as unified task distribution, equipment account, stipulations distribution, data summarization, alarm, program is issued, load balancing is carried out to system using distributed deployment, and realize that system is adjusted according to number of servers work transformation matrix, the stability of system is better ensured that, not because dispatch service delays machine and influences the stability of system operation.

Description

Centralized dispatching resource allocation load balancing apparatus and method
Technical field
The present invention relates to a kind of centralized dispatching resource allocation load balancing apparatus and method, belong to field of computer technology.
Background technology
Transformer station monitors on-line and auxiliary equipment monitoring system need to consider the on-line monitoring of up to 3000 transformer stations and The access of auxiliary equipment monitoring data, so big access amount, are a greatly test to system, how to ensure in data Report, the efficiency of data polling and system run all right, are a problems in the urgent need to address, only solve this and ask Topic, just can ensure that the accuracy and reliability of on-line monitoring.
The content of the invention
To solve the deficiencies in the prior art, it is an object of the invention to provide a kind of centralized dispatching resource allocation load balancing Apparatus and method, so as to build centralized management, load balancing, the centralized dispatching service system of United Dispatching.
In order to realize above-mentioned target, the present invention is adopted the following technical scheme that:
Centralized dispatching resource allocation load balancing apparatus, including:Web application systems, system database, centralized dispatching service System, intelligent terminal;The Web application systems are sent by Web page by user and instructed, and the system database is used to store Have in the strategy configuration bag of generation in Web application systems, the centralized dispatching service system:It is multiple to obtain task automatically The centralized dispatching server of configuration, the resource allotting server for receiving log-on message, each centralized dispatching server are issued It is configured to intelligent terminal.
The invention also discloses a kind of centralized dispatching resource allocation load-balancing method, including following flow:
(1) resource allotting server and centralized dispatching server, are started, and centralized dispatching server takes to resource allocation Business device registration;
(2) current intelligent terminal situation and generation strategy configuration, are read:Obtain each centralized dispatching server corresponding The quantity of intelligent terminal, finds out quantity at most and minimum centralized dispatching server, at the same calculate quantity at most and quantity most Few difference n1;Current unappropriated n intelligent terminal is obtained, the n1 centralized dispatching for distributing to minimum number are taken out Server;
(3), configured repeatedly according to the method generation strategy of flow (2), most all unappropriated intelligent terminals are balanced at last Distribute to centralized dispatching server in ground;
(4) centralized dispatching service system set, at regular intervals, is obtained, judges whether nearest 5 minutes be not detected by The centralized dispatching server of heartbeat;If so, then calling centralized dispatching hessian to service, return value to be received is waited;Herein one Fix time and be manually set according to actual conditions, generally 10min;
(5) polling tasks table, is generated:Intelligent terminal is polled in configuration process, judges whether intelligent terminal opens Dynamic, stopping or more new task, and last state is synchronized to system database;Added if starting then centralized dispatching server Device polling task, notifies centralized dispatching server to have new intelligent terminal access;If stopping then centralized dispatching server Stop the polling tasks related to this intelligent terminal, notify centralized dispatching server to stop corresponding collection;If more newly appointed Then pause completes to update for business, while synchronous adjustment task status.
Preferably, aforementioned intelligent terminal is transformer station.
Further, in foregoing schemes (4), judge whether reception return value is overtime, if it times out, updating corresponding collection The newest heart time of middle dispatch service machine, while judging whether heart time is more than setting value, if it is redistributes intelligence Centralized dispatching server belonging to energy terminal.
Further, in addition to flow (6), obtain intelligent terminal last state data, call intelligent terminal interface to obtain Take most 50 data information and be put into and line up, unified deposit system database.
Foregoing last state data include:Alarm data, poll centralized dispatching status data.
The present invention is advantageous in that:The centralized dispatching resource allocation load balancing apparatus and method of the present invention, shares Intelligent terminal calculates the pressure of analysis, and intelligent terminal and the progress of centralized dispatching service system separated into decoupling, has been reached in frame Flexibility on structure;Resource allotting server makes each centralized dispatching server obtain associated intelligent terminal, makes centralized dispatching Service can be issued, synchronizing information to intelligent terminal, received, stored the work such as the data that intelligent terminal is uploaded;Additionally eliminate Data double-way is synchronous, the drawback such as service complexity is called, and simplifies system complexity, improves system maintainability;Extract concentration Dispatching service system is appointed as unified task distribution, equipment account, stipulations distribution, data summarization, alarm upload, program issue etc. Business, load balancing is carried out to system using distributed deployment, and realizes that system is adjusted according to number of servers work transformation matrix, more Ensure the stability of system well, not because dispatch service delays machine and influences the stability of system operation.
Brief description of the drawings
Fig. 1 is the structural representation of a preferred embodiment of the centralized dispatching resource allocation load balancing apparatus of the present invention Figure;
Fig. 2 is the flow chart of the centralized dispatching resource allocation load-balancing method of the present invention.
Embodiment
Make specific introduce to the present invention below in conjunction with the drawings and specific embodiments.
Referring to Fig. 1, the centralized dispatching resource allocation load balancing apparatus of the present embodiment includes:Web application systems, system number According to storehouse, centralized dispatching service system and N number of intelligent terminal, in power system, intelligent terminal is usually transformer station.Wherein, concentrate Dispatching service system is to calculate the pressure of analysis and intelligent terminal and centralized dispatching service described later to share intelligent terminal Device carries out separation decoupling, to reach architecturally flexibility, and the system includes a resource allotting server and M platform centralized dispatching Server, centralized dispatching server configures for automatic acquisition task and receives the log-on message of resource allotting server, each Centralized dispatching server, which is responsible for issuing, is configured to intelligent terminal, and resource allotting server makes each centralized dispatching server obtain institute The intelligent terminal of association, enables centralized dispatching service to issue, synchronizing information to intelligent terminal, receives, on storage intelligent terminal The work such as the data of biography.Web application systems are sent by Web page by user and instructed, and system database is used to store Web applications The strategy configuration bag of generation in system and during Various types of data information.
With reference to Fig. 2, the invention also discloses a kind of centralized dispatching resource allocation load-balancing method, including following flow:
(1) resource allotting server and centralized dispatching server, are started, and centralized dispatching server takes to resource allocation Business device registration;
(2) current intelligent terminal situation and generation strategy configuration, are read:Obtain each centralized dispatching server corresponding The quantity of intelligent terminal, finds out quantity at most and minimum centralized dispatching server, at the same calculate quantity at most and quantity most Few difference n1;Current unappropriated n intelligent terminal is obtained, the n1 centralized dispatching for distributing to minimum number are taken out Server;
(3), configured repeatedly according to the method generation strategy of flow (2), most all unappropriated intelligent terminals are balanced at last Distribute to centralized dispatching server in ground;
(4) centralized dispatching service system set, at regular intervals, is obtained, judges whether nearest 5 minutes be not detected by The centralized dispatching server of heartbeat;If so, then calling centralized dispatching hessian to service, return value to be received is waited;Herein one Fix time and be manually set according to actual conditions, generally 10min;
(5) polling tasks table, is generated:Intelligent terminal is polled in configuration process, judges whether intelligent terminal opens Dynamic, stopping or more new task, and last state is synchronized to system database;Added if starting then centralized dispatching server Device polling task, notifies centralized dispatching server to have new intelligent terminal access;If stopping then centralized dispatching server Stop the polling tasks related to this intelligent terminal, notify centralized dispatching server to stop corresponding collection;If more newly appointed Then pause completes to update for business, while synchronous adjustment task status.
Further, in flow (4), in addition to heartbeat detection whether time-out judgment step, with according to actual conditions Timely adjustable strategies, if it times out, the newest heart time of corresponding centralized dispatching server is updated, while when judging heartbeat Between whether be more than setting value, if it is redistribute the centralized dispatching server belonging to intelligent terminal.
In addition, the centralized dispatching resource allocation load-balancing method of the present invention also includes flow (6), obtains intelligent terminal Last state data, call intelligent terminal interface to obtain most 50 data information and be put into and line up, unified deposit system data Storehouse, herein so-called last state data include:Alarm data, poll centralized dispatching status data etc., with work in deposit system Back up and check.
The basic principles, principal features and advantages of the present invention have been shown and described above.The technical staff of the industry should Understand, the invention is not limited in any way for above-described embodiment, it is all to be obtained by the way of equivalent substitution or equivalent transformation Technical scheme, all falls within protection scope of the present invention.

Claims (5)

1. centralized dispatching resource allocation load-balancing method, it is characterised in that based on centralized dispatching resource allocation load balancing dress Put, the centralized dispatching resource allocation load balancing apparatus includes:Web application systems, system database, centralized dispatching service system System, intelligent terminal;The Web application systems are sent by Web page by user and instructed, and the system database is used to store Have in the strategy configuration bag of generation in Web application systems, the centralized dispatching service system:It is multiple to obtain task automatically The centralized dispatching server of configuration, the resource allotting server for receiving log-on message, each centralized dispatching server are issued It is configured to intelligent terminal;
Including following flow:
(1) resource allotting server and centralized dispatching server, are started, and centralized dispatching server is to resource allotting server Registration;
(2) current intelligent terminal situation and generation strategy configuration, are read:Obtain the corresponding intelligence of each centralized dispatching server The quantity of terminal, finds out the most and minimum centralized dispatching server of quantity, while it is most and minimum number to calculate quantity Difference n1;Current unappropriated n intelligent terminal is obtained, the n1 centralized dispatching services for distributing to minimum number are taken out Machine;
(3), configured repeatedly according to the method generation strategy of flow (2), most all unappropriated intelligent terminals balancedly divide at last Dispensing centralized dispatching server;
(4) centralized dispatching service system set, at regular intervals, is obtained, judges whether nearest 5 minutes be not detected by heartbeat Centralized dispatching server;If so, then calling centralized dispatching hessian to service, return value to be received is waited;
(5) polling tasks table, is generated:Intelligent terminal is polled in configuration process, judges whether intelligent terminal has startup, stops Only or more new task, and last state is synchronized to system database;If starting then centralized dispatching server addition equipment Polling tasks, notify centralized dispatching server to have new intelligent terminal access;Stop if stopping then centralized dispatching server The polling tasks related to this intelligent terminal, notify centralized dispatching server to stop corresponding collection;If more new task then Pause completes to update, while synchronous adjustment task status.
2. centralized dispatching resource allocation load-balancing method according to claim 1, it is characterised in that the intelligent terminal For transformer station.
3. centralized dispatching resource allocation load-balancing method according to claim 1 or 2, it is characterised in that the flow (4) in, judge whether reception return value is overtime, if it times out, when updating the newest heartbeat of corresponding centralized dispatching server Between, while judging whether heart time is more than setting value, if it is redistribute the centralized dispatching service belonging to intelligent terminal Machine.
4. centralized dispatching resource allocation load-balancing method according to claim 3, it is characterised in that also including flow (6) the last state data of intelligent terminal, are obtained, call intelligent terminal interface to obtain most 50 data information and be put into row Team, unified deposit system database.
5. centralized dispatching resource allocation load-balancing method according to claim 4, it is characterised in that the last state Data include:Alarm data, poll centralized dispatching status data.
CN201410461508.1A 2014-09-12 2014-09-12 Centralized dispatching resource allocation load balancing apparatus and method Active CN104253859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410461508.1A CN104253859B (en) 2014-09-12 2014-09-12 Centralized dispatching resource allocation load balancing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410461508.1A CN104253859B (en) 2014-09-12 2014-09-12 Centralized dispatching resource allocation load balancing apparatus and method

Publications (2)

Publication Number Publication Date
CN104253859A CN104253859A (en) 2014-12-31
CN104253859B true CN104253859B (en) 2017-08-11

Family

ID=52188382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410461508.1A Active CN104253859B (en) 2014-09-12 2014-09-12 Centralized dispatching resource allocation load balancing apparatus and method

Country Status (1)

Country Link
CN (1) CN104253859B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227676A (en) * 2015-10-20 2016-01-06 珠海许继芝电网自动化有限公司 A kind of method of distribution terminal data acquisition
US10671433B2 (en) 2017-06-13 2020-06-02 Tata Consultancy Services Limited Load balancing and job scheduling manager within a high-performance computing environment
CN108121312B (en) * 2017-11-29 2020-10-30 南瑞集团有限公司 ARV load balancing system and method based on integrated hydropower management and control platform
CN108200185B (en) * 2018-01-15 2020-12-04 杭州迪普科技股份有限公司 Method and device for realizing load balance
CN109005224B (en) * 2018-07-26 2021-10-22 中国建设银行股份有限公司 Data distribution method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009055368A2 (en) * 2007-10-21 2009-04-30 Citrix Systems, Inc. Systems and methods to adaptively load balance user sessions to reduce energy consumption
CN102508709A (en) * 2011-11-30 2012-06-20 国电南瑞科技股份有限公司 Distributed-cache-based acquisition task scheduling method in purchase, supply and selling integrated electric energy acquiring and monitoring system
CN202486965U (en) * 2011-11-30 2012-10-10 河北省电力公司 Purchasing, supplying and selling integrated electric energy acquiring and monitoring system
CN103023695A (en) * 2012-11-28 2013-04-03 绍兴电力局 Master station system monitoring model based on power dispatching automation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009055368A2 (en) * 2007-10-21 2009-04-30 Citrix Systems, Inc. Systems and methods to adaptively load balance user sessions to reduce energy consumption
CN102508709A (en) * 2011-11-30 2012-06-20 国电南瑞科技股份有限公司 Distributed-cache-based acquisition task scheduling method in purchase, supply and selling integrated electric energy acquiring and monitoring system
CN202486965U (en) * 2011-11-30 2012-10-10 河北省电力公司 Purchasing, supplying and selling integrated electric energy acquiring and monitoring system
CN103023695A (en) * 2012-11-28 2013-04-03 绍兴电力局 Master station system monitoring model based on power dispatching automation

Also Published As

Publication number Publication date
CN104253859A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN104253859B (en) Centralized dispatching resource allocation load balancing apparatus and method
CN103514730B (en) Power line carrier meter reading method and system
CN102685237B (en) Method for requesting session maintaining and dispatching in cluster environment
CN106817408B (en) Distributed server cluster scheduling method and device
CN105323640A (en) Method, system and equipment for realizing after-sales service of smart television based on Internet
CN108322358B (en) Method and device for sending, processing and consuming multi-live distributed messages in different places
CN107968797B (en) Video transmission method, device and system
CN103390933B (en) The centralized detecting method of dispatch automated system distributed data acquisition mode
CN105978950A (en) Server resource distribution method, apparatus and system thereof
CN104167817B (en) Power equipment real-time information integration system and method
US9448286B2 (en) Preventive diagnostic system for GIS based on IEC 61850
CN103810552A (en) Snack industry meal serving scheduling system
CN107347022A (en) Wireless aps automatic election generates AC system and method
CN104010038A (en) Method for uploading transformer substation graphic to scheduling master station according to JMS technology
CN104301244A (en) Cluster communication system and method of large-scale power distribution network system
KR101048496B1 (en) Remote Power Control System Using Distributed Network Protocol
CN103747061A (en) Power environment monitoring system allowing multiple networks to access and operation method thereof
CN111818131A (en) Message pushing and scheduling system and method
CN108181845A (en) A kind of intelligent electric meter information acquisition system
CN105449855A (en) Real time data run-through method for intelligent power grid deployment automatic system
CN107231437A (en) A kind of task backup management method and device
CN104753957A (en) Mass communication terminal connection management method of electricity information acquisition system
US20170235288A1 (en) Process control program, process control device, and process control method
CN206698241U (en) A kind of distributed power grid secondary device managing and control system
CN104714875A (en) Distributed automatic collecting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant