CN113395342B - Power grid monitoring system preposed service scheduling method based on load balanced distribution - Google Patents

Power grid monitoring system preposed service scheduling method based on load balanced distribution Download PDF

Info

Publication number
CN113395342B
CN113395342B CN202110644541.8A CN202110644541A CN113395342B CN 113395342 B CN113395342 B CN 113395342B CN 202110644541 A CN202110644541 A CN 202110644541A CN 113395342 B CN113395342 B CN 113395342B
Authority
CN
China
Prior art keywords
server instance
target server
server
remote terminal
remainder
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
CN202110644541.8A
Other languages
Chinese (zh)
Other versions
CN113395342A (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.)
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202110644541.8A priority Critical patent/CN113395342B/en
Publication of CN113395342A publication Critical patent/CN113395342A/en
Application granted granted Critical
Publication of CN113395342B publication Critical patent/CN113395342B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/70Smart grids as climate change mitigation technology in the energy generation sector

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Water Supply & Treatment (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a power grid monitoring system preposed service scheduling based on load balancing distribution. The method comprises the following steps: the method comprises the steps of sequencing a plurality of server instances, generating a corresponding server instance sequence, and obtaining a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed. And determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit. Server instances other than the first target server instance are selected from the sequence of server instances as a second target server instance, and a backup tunnel is established between the second target server instance and the current remote terminal unit. By adopting the method, manual channel allocation is not needed, the problem of repeated channel allocation caused by allocation error and leakage is avoided, the required power data can be transmitted on time, and the power data transmission efficiency is improved.

Description

Power grid monitoring system preposed service scheduling method based on load balanced distribution
Technical Field
The application relates to the technical field of digital power grids, in particular to a power grid monitoring system preposed service scheduling method based on load balancing distribution.
Background
With the development of digital power grid technology and the gradual construction of smart power grids, the requirement for transmitting power data in a digital power grid is increasing day by day, wherein when the power data acquired by a front-end system in the digital power grid is transmitted to a server, a manner of transmitting the power data to the server by using a Remote Terminal Unit (RTU) appears.
In a conventional power data transmission method, transmission of the same power data can be performed according to a main channel and a standby channel configured in a remote terminal unit. In order to avoid the loss of the power data, the transmission of the same power data can be realized by adopting a mode that the main channel and the standby channel are respectively connected with different servers, namely, when the transmission of the main channel fails, the same power data transmitted by the standby channel can be acquired.
However, in the current power data transmission method, when data transmission and channel allocation between a plurality of remote terminal units and a plurality of servers are required to be performed simultaneously, a random allocation or manual allocation method is often adopted, and due to the fact that repeated allocation or allocation is still performed in the random allocation or manual allocation, data transmission interruption, disorder or data loss is likely to occur, channel allocation needs to be checked repeatedly and modified in time, power data cannot be transmitted on time, and therefore the power data transmission efficiency is low.
Disclosure of Invention
Based on this, it is necessary to provide a power grid monitoring system pre-service scheduling method based on load balancing distribution, which can improve the transmission efficiency of power data, in order to solve the above technical problems.
A power grid monitoring system preposed service scheduling method based on load balanced distribution is characterized by comprising the following steps:
sequencing the multiple server instances to generate a corresponding server instance sequence;
acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number;
establishing a primary channel between the first target server instance and a current remote terminal unit;
selecting server instances except the first target server instance from the server instance sequence as second target server instances;
a backup tunnel is established between the second target server instance and the current remote terminal unit.
In one embodiment, the determining, according to the first number and the first terminal number, a first target server instance from the server instance sequence includes:
performing a remainder operation on the first terminal number and the first number to generate a corresponding first remainder;
and determining a first target server instance from the server instance sequence according to the first remainder.
In one embodiment, the selecting, from the server instance sequence, a server instance other than the first target server instance as a second target server instance includes:
and randomly selecting one server instance except the first target server instance from the server instance sequence to serve as a second target server instance.
In one embodiment, the selecting, from the server instance sequence, a server instance other than the first target server instance as a second target server instance includes:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit;
performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder;
and according to the second remainder, determining the server instances except the first target server instance from the server instance sequence as second target server instances.
In one embodiment, the establishing a primary channel between the first target server instance and the current remote terminal unit includes:
acquiring a first server number corresponding to the first target server instance;
and establishing a first association relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first association relation.
In one embodiment, said establishing a backup path between said second target server instance and the current remote terminal unit comprises:
acquiring a second server number corresponding to the second target server instance;
and establishing a second incidence relation between the second server number and the first terminal number, and establishing a standby channel between the second target server instance and the current remote terminal unit based on the second incidence relation.
In one embodiment, the sorting the multiple server instances to generate the corresponding server instance sequence includes:
obtaining the access time of each server instance, and sequencing the server instances according to the access time of each server instance to generate a corresponding server instance sequence;
or
And randomly sequencing the plurality of server instances to generate a corresponding server instance sequence.
A power grid monitoring system preposed service dispatching system based on load balancing distribution, the system comprises:
the sequencing module is used for sequencing the server instances to generate a corresponding server instance sequence;
a first obtaining module, configured to obtain a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be allocated;
a first target server instance determining module, configured to determine a first target server instance from the server instance sequence according to the first number and the first terminal number;
a main channel establishing module, configured to establish a main channel between the first target server instance and the current remote terminal unit;
a second target server instance determining module, configured to select, from the server instance sequence, a server instance other than the first target server instance as a second target server instance;
a backup path establishment module to establish a backup path between the second target server instance and a current remote terminal unit.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sequencing the plurality of server instances to generate a corresponding server instance sequence;
acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number;
establishing a primary channel between the first target server instance and a current remote terminal unit;
selecting server instances except the first target server instance from the server instance sequence as a second target server instance;
a backup tunnel is established between the second target server instance and the current remote terminal unit.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
sequencing the multiple server instances to generate a corresponding server instance sequence;
acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number;
establishing a primary channel between the first target server instance and a current remote terminal unit;
selecting server instances except the first target server instance from the server instance sequence as a second target server instance;
a backup tunnel is established between the second target server instance and the current remote terminal unit.
In the power grid monitoring system preposed service scheduling method based on load balancing distribution, a plurality of server instances are sequenced to generate a corresponding server instance sequence, a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed are obtained, and a first target server instance is determined from the server instance sequence according to the first number and the first terminal number. And establishing a primary channel between the first target server instance and the current remote terminal unit. By selecting a server instance other than the first target server instance from the sequence of server instances as a second target server instance and establishing a backup path between the second target server instance and the current remote terminal unit. When data transmission and channel allocation are needed to be carried out between a plurality of remote terminal units and a plurality of server instances, channels do not need to be allocated manually, the problem of channel repeated allocation caused by repeated allocation or allocation error and leakage can be avoided, required power data are transmitted on time, and power data transmission efficiency is further improved.
Drawings
Fig. 1 is an application environment diagram of a power grid monitoring system pre-service scheduling method based on load balancing distribution in an embodiment;
fig. 2 is a schematic flow chart of a power grid monitoring system pre-service scheduling method based on load balancing distribution in an embodiment;
fig. 3 is a schematic diagram illustrating a digital power grid scheduling system after main channel allocation is performed in one embodiment;
fig. 4 is a schematic diagram illustrating a digital grid dispatching system after allocating spare channels in one embodiment;
fig. 5 is an architecture diagram of the digital power grid dispatching system after spare channel allocation in another embodiment;
FIG. 6 is a flow diagram that illustrates the selection of a server instance from a sequence of server instances, in addition to a first target server instance, as a second target server instance, under an embodiment;
fig. 7 is a schematic flowchart of a power grid monitoring system pre-service scheduling method based on load balancing distribution in another embodiment;
FIG. 8 is a block diagram illustrating a configuration of a pre-service scheduling system of a power grid monitoring system based on load balancing distribution in an embodiment;
FIG. 9 is a diagram of an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The power grid monitoring system preposed service scheduling method based on load balancing distribution can be applied to the application environment shown in fig. 1. The application environment shown in fig. 1 includes a scheduling unit 102, a plurality of server instances 104, and a plurality of remote terminal units 106, wherein the scheduling unit 102 and the server instances 104, and the remote terminal units 106 and the server instances 104 communicate with each other via a network. The scheduling unit 102 generates a corresponding server instance sequence by sequencing the plurality of server instances 104, obtains a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit 106 of a channel to be allocated, determines a first target server instance from the server instance sequence according to the first number and the first terminal number, and establishes a main channel between the first target server instance and the current remote terminal unit 106. By selecting a server instance from the sequence of server instances other than the first target server instance as the second target server instance and establishing a backup channel between the second target server instance and the current remote terminal unit 106. Where the remote terminal units 106 may be, but are not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, the server instances 104 may be implemented as individual servers or as a server cluster of multiple servers.
In an embodiment, as shown in fig. 2, a method for scheduling pre-service of a power grid monitoring system based on load balancing distribution is provided, which is described by taking the method as an example of being applied to a scheduling unit in fig. 1, and includes the following steps:
step S202, a plurality of server instances are sequenced, and a corresponding server instance sequence is generated.
Specifically, a corresponding server instance sequence is obtained by obtaining a plurality of connected server instances, obtaining the access time of each server instance, and further sequencing each server instance according to the access time of each server instance.
And sequencing each server instance in the server instance sequence according to the access time, and adding corresponding server numbers according to the access time.
In one embodiment, the plurality of server instances may also be randomly ordered, further generating a corresponding sequence of server instances.
Step S204, a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of the channel to be distributed are obtained.
Specifically, the number of server instances in the server instance sequence, i.e., the first number, is obtained, and the first terminal number of the current remote terminal unit to which the channel is to be allocated is obtained. Wherein, the first number and the first terminal number can be any natural number different from 0, such as 1, 2, 3, 4, 5 … …
And step S206, determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number.
Specifically, a remainder operation is performed on the first terminal number and the first number to generate a corresponding first remainder, and then a first target server instance is determined from the server instance sequence according to the first remainder. Wherein the first remainder may be any natural number.
In one embodiment, when the first terminal number is M, the first number is N, and the first remainder is K, the first remainder K obtained by dividing the first terminal number M by the first number N is calculated by performing a remainder operation on the first terminal number and the first number, and the first target server instance is determined from the server instance sequence according to the first remainder K.
Further, according to the first remainder K, a K +1 th server instance is determined from the server instance sequence and is used as a first target server instance.
For example, when the first number N is 4 and the first terminal number M is 1, the first remainder K is calculated to be 1, and then the K +1 th server instance, i.e. the 2 nd server instance, is determined from the server instance sequence as the first target server instance according to the first remainder K.
Step S208, an active channel is established between the first target server instance and the current remote terminal unit.
Specifically, a primary channel is established between the first target server instance and the current remote terminal unit based on a first association relationship by acquiring a first server number corresponding to the first target server instance and establishing the first association relationship between the first server number and the first terminal number. The first server number may also be any natural number other than 0.
For example, when the first server number is F1 and the first terminal number is M, the primary channel is established between the first target server instance and the current remote terminal unit by establishing the first association relationship between the first server number F1 and the first terminal number M, and further based on the first association relationship.
In an embodiment, the method for scheduling pre-services of a power grid monitoring system based on load balancing allocation in the present application is applied to a digital power grid scheduling system, and as shown in fig. 3, a schematic diagram of the digital power grid scheduling system after main channel allocation is performed is provided, as can be seen from fig. 3, a scheduling unit of the digital power grid scheduling system is connected to multiple server instances, and a main channel is established between each server instance and a corresponding determined remote terminal unit, that is, a solid arrow between a server instance and a remote terminal unit is used to indicate the main channel.
Specifically, when the scheduling unit needs to allocate channels to a plurality of remote terminal units, first, a plurality of server instances are sorted to generate a corresponding server instance sequence, and a first number N corresponding to the server instance sequence is obtained, as can be known by referring to fig. 3, N may be 4. Then, the scheduling unit obtains a first terminal number M of the current remote terminal unit of the channel to be allocated, that is, obtains an mth remote terminal unit of the current channel to be allocated, and calculates a first remainder K after M is divided by N. Illustratively, for the 1 st remote terminal unit, the first remainder K is 1, and then the scheduling unit selects the 1 st +1 st-2 server instance from the sorted multiple server instances as the first target server instance, and establishes an active channel between the 1 st remote terminal unit and the first target server instance, that is, establishes an active channel between the 1 st remote terminal unit and the 2 nd server instance.
Similarly, for the 2 nd to 6 th remote terminal units shown in fig. 3, corresponding first remainders are respectively calculated, and then according to the calculated first remainders, a first target server instance is determined in the server instance sequence, and an active channel is established between the first target server instance and the current remote terminal unit.
Step S210, selecting a server instance other than the first target server instance from the server instance sequence as a second target server instance.
Specifically, any one of the server instances except the first target server instance may be randomly selected from the server instance sequence as the second target server.
In one embodiment, a corresponding second remainder is generated by obtaining a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit and performing a remainder operation on the second terminal number and the first number, and a server instance other than the first target server instance is determined from the server instance sequence according to the second remainder as a second target server instance. Wherein the second remainder may be any natural number.
Specifically, when the first terminal number corresponding to the current remote terminal unit is M, the second terminal number corresponding to the remote terminal unit adjacent to the current remote terminal unit includes M-1 and M +1, and the corresponding second remainder a may be generated by performing a remainder operation on the second terminal number M +1 and the first number, or the corresponding second remainder B may be generated by performing a remainder operation on the second terminal number M-1 and the first number.
Wherein the server instance other than the first target server instance may be determined from the sequence of server instances based on the second remainder a, or the server instance other than the first target server instance may be determined from the sequence of server instances based on the second remainder B.
Further, based on the second remainder a, an a +1 th server instance may be determined from the sequence of server instances as a second target server instance. Wherein the A +1 th server instance is not the first target server instance.
Likewise, based on the second remainder B, a B +1 th server instance may be determined from the sequence of server instances as a second target server instance. Where the B +1 th server instance is not the first target server instance.
In step S212, a backup tunnel is established between the second target server instance and the current remote terminal unit.
Specifically, a second server number corresponding to a second target server instance is obtained, a second association relationship between the second server number and the first terminal number is established, and then a standby channel is established between the second target server instance and the current remote terminal unit based on the second association relationship.
For example, when the second server number is F2 and the first terminal number is M, a backup path is established between the second target server instance and the current remote terminal unit by establishing a second association relationship between the second server number F2 and the first terminal number M, and further based on the second association relationship.
In an embodiment, the method for scheduling pre-services of a power grid monitoring system based on load balancing allocation in the present application is applied to a digital power grid scheduling system, and as shown in fig. 4, a schematic diagram of the digital power grid scheduling system after standby channel allocation is provided, as can be seen in fig. 4, a scheduling unit of the digital power grid scheduling system is connected to multiple server instances, and when a first target server instance is determined, a main channel is established between each server instance and a corresponding determined remote terminal unit, that is, a solid arrow between a server instance and a remote terminal unit is used to indicate the main channel.
Further, a first terminal number corresponding to the current remote terminal unit is M, a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit includes M +1, a corresponding second remainder a is generated by performing a remainder operation on the second terminal number M +1 and the first number N, and further based on the second remainder a, an a +1 th server instance may be determined from the server instance sequence as a second target server instance, and a backup tunnel is further established between the second target server instance and the current remote terminal unit, that is, a dashed arrow between the server instance and the remote terminal unit represents the backup tunnel.
Illustratively, for a remote terminal unit with a first terminal number of 1, that is, the 1 st remote terminal unit, the scheduling unit obtains a second remainder a after M +1 is divided by N by calculation, that is, after 1+1 is divided by 4, the remainder a is 2, and then the scheduling unit selects the 2+1 st server instance from the sorted multiple server instances as a second target server instance, and establishes a standby channel between the 1 st remote terminal unit and the second target server instance, that is, establishes a standby channel between the 1 st remote terminal unit and the 3 rd server instance.
Similarly, for the remote terminal units from 2 nd to 6 th as shown in fig. 4, corresponding second remainders a are respectively calculated, and then a second target server instance is determined in the server instance sequence according to the calculated second remainders a, and a standby channel is established between the second target server instance and the current remote terminal unit.
In an embodiment, the method for scheduling pre-services of a power grid monitoring system based on load balancing distribution in the present application is applied to a digital power grid scheduling system, as shown in fig. 5, a schematic diagram of another digital power grid scheduling system after performing allocation of standby channels is provided, as can be seen from fig. 5, a scheduling unit of the digital power grid scheduling system is connected to a plurality of server instances, and when a first target server instance is determined, a main channel is established between each server instance and a corresponding determined remote terminal unit, that is, a solid arrow between the server instance and the remote terminal unit is used to represent the main channel.
Further, a first terminal number corresponding to the current remote terminal unit is M, a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit includes M-1, a corresponding second remainder B is generated by performing a remainder operation on the second terminal number M-1 and the first number N, and then based on the second remainder B, a B +1 th server instance can be determined from the server instance sequence to serve as a second target server instance, and a standby channel is further established between the second target server instance and the current remote terminal unit, that is, a dashed arrow between the server instance and the remote terminal unit represents the standby channel.
Illustratively, for a remote terminal unit with a first terminal number of 1, that is, the 1 st remote terminal unit, the scheduling unit obtains a second remainder B after dividing M-1 by N through calculation, that is, after calculating 1-1 by 4, the remainder B is 0, and then the scheduling unit selects the 0+1 th server instance from the sorted multiple server instances as a second target server instance, and establishes a standby channel between the 1 st remote terminal unit and the second target server instance, that is, establishes a standby channel between the 1 st remote terminal unit and the 1 st server instance.
Similarly, for the 2 nd to 6 th remote terminal units shown in fig. 5, the corresponding second remainder B is calculated respectively, and then a second target server instance is determined in the server instance sequence according to the calculated second remainder B, and a standby channel is established between the second target server instance and the current remote terminal unit.
In the power grid monitoring system preposed service scheduling method based on load balancing distribution, a plurality of server instances are sequenced to generate a corresponding server instance sequence, a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed are obtained, and then a first target server instance is determined from the server instance sequence according to the first number and the first terminal number. And establishing a primary channel between the first target server instance and the current remote terminal unit. By selecting a server instance other than the first target server instance from the sequence of server instances as a second target server instance and establishing a backup path between the second target server instance and the current remote terminal unit. When data transmission and channel distribution are carried out between a plurality of remote terminal units and a plurality of server instances, due to the fact that manual channel distribution is not needed, the problem of channel repeated distribution caused by repeated distribution or distribution error and leakage can be avoided, required power data are transmitted on time, and power data transmission efficiency is further improved.
In an embodiment, as shown in fig. 6, the step of selecting a server instance other than the first target server instance from the server instance sequence as the second target server instance specifically includes:
step S602, a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit is acquired.
Specifically, when the first terminal number corresponding to the current remote terminal unit is M, that is, when the current remote terminal unit is the mth remote terminal unit, the second terminal number corresponding to the remote terminal unit adjacent to the current remote terminal unit includes M-1 and M +1, that is, the adjacent remote terminal unit includes the M-1 remote terminal unit and the M +1 remote terminal unit.
Step S604, a remainder operation is performed on the second terminal number and the first number to generate a corresponding second remainder.
Specifically, the remainder operation may be performed on the second terminal number M +1 and the first number N to generate a corresponding second remainder a, or the remainder operation may be performed on the second terminal number M-1 and the first number N to generate a corresponding second remainder B.
Illustratively, for the remote terminal unit with the first terminal number 1, that is, the 1 st remote terminal unit, the scheduling unit obtains the second remainder a after dividing M +1 by N by calculation, that is, after calculating 1+1 by 4, the remainder a is 2.
Similarly, for the remote terminal unit with the first terminal number 1, i.e. the 1 st remote terminal unit, the scheduling unit obtains the second remainder B of M-1 divided by N by calculation, i.e. obtains the remainder B equal to 0 after 1-1 is divided by 4.
Step S606, according to the second remainder, determining a server instance other than the first target server instance from the server instance sequence as a second target server instance.
In particular, server instances other than the first target server instance may be determined from the sequence of server instances based on the second remainder a, or determined from the sequence of server instances based on the second remainder B.
Further, based on the second remainder a, an a +1 th server instance may be determined from the sequence of server instances as a second target server instance. Wherein the A +1 th server instance is not the first target server instance.
Illustratively, for a remote terminal unit with a first terminal number of 1, that is, the 1 st remote terminal unit, the scheduling unit obtains a second remainder a after M +1 is divided by N by calculation, that is, after 1+1 is divided by 4, the remainder a is 2, and then the scheduling unit selects the 2+1 st server instance from the sorted multiple server instances as a second target server instance, and establishes a standby channel between the 1 st remote terminal unit and the second target server instance, that is, establishes a standby channel between the 1 st remote terminal unit and the 3 rd server instance.
Likewise, based on the second remainder B, a B +1 th server instance may be determined from the sequence of server instances as a second target server instance. Wherein the B +1 th server instance is not the first target server instance.
For a remote terminal unit with the first terminal number of 1, namely, the 1 st remote terminal unit, the scheduling unit obtains a second remainder B after M-1 is divided by N through calculation, namely, after 1-1 is divided by 4, the remainder B is obtained to be 0, and then the scheduling unit selects the 0+1 th server instance from the sorted multiple server instances as a second target server instance, and establishes a standby channel between the 1 st remote terminal unit and the second target server instance, namely, establishes a standby channel between the 1 st remote terminal unit and the 1 st server instance.
In this embodiment, a corresponding second remainder is generated by obtaining a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit and performing a remainder operation on the second terminal number and the first number, and then a server instance except for the first target server instance can be determined from the server instance sequence according to the second remainder to serve as a second target server instance. When data transmission and channel allocation are carried out between a plurality of remote terminal units and a plurality of server instances, the second target server instance is determined according to the second remainder generated by directly carrying out remainder operation on the second terminal number and the first number without manually allocating channels, the problem of channel repeated allocation caused by repeated allocation or allocation error and leakage can be avoided, required power data are transmitted on time, and power data transmission efficiency is further improved.
In an embodiment, as shown in fig. 7, a method for scheduling pre-service of a power grid monitoring system based on load balancing distribution is provided, which specifically includes the following steps:
(1) and acquiring the access time of each server instance, and sequencing the plurality of server instances according to the access time of each server instance to generate a corresponding server instance sequence.
Specifically, according to the obtained access time of each server instance, the server instances are sorted, and a corresponding server instance sequence is generated. And sequencing each server instance in the server instance sequence according to the access time, and adding corresponding server numbers according to the access time.
In one embodiment, the plurality of server instances may also be randomly ordered, further generating a corresponding sequence of server instances.
(2) And acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed.
Specifically, the number of server instances in the server instance sequence, that is, the first number, is obtained, and the first terminal number of the current remote terminal unit to which the channel is to be allocated is obtained.
(3) And performing remainder operation on the first terminal number and the first quantity to generate a corresponding first remainder.
Specifically, when the first terminal number is M, the first number is N, and the first remainder is K, the first remainder K obtained by dividing the first terminal number M by the first number N is calculated by performing remainder operation on the first terminal number and the first number, and the first target server instance is determined from the server instance sequence according to the first remainder K.
(4) A first target server instance is determined from the sequence of server instances based on the first remainder.
Specifically, according to the first remainder K, a K +1 th server instance is determined from the server instance sequence as the first target server instance.
(5) And acquiring a first server number corresponding to the first target server instance.
Specifically, when the first remainder is K, the first server number of the first target server instance determined from the sequence of server instances may be K + 1.
(6) And establishing a first incidence relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first incidence relation.
Specifically, when the first server number is F1 and the first terminal number is M, the primary channel is established between the first target server instance and the current remote terminal unit by establishing the first association relationship between the first server number F1 and the first terminal number M, and further based on the first association relationship.
(7) A second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit is obtained.
Specifically, when the first terminal number corresponding to the current remote terminal unit is M, the second terminal numbers corresponding to the remote terminal units adjacent to the current remote terminal unit include M-1 and M + 1.
(8) And performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder.
Specifically, a corresponding second remainder a is generated by performing a remainder operation on the second terminal number M +1 and the first number, or a corresponding second remainder B is generated by performing a remainder operation on the second terminal number M-1 and the first number.
(9) And determining the server instance except the first target server instance from the server instance sequence as a second target server instance according to the second remainder.
Specifically, based on the second remainder a, an a +1 th server instance may be determined from the sequence of server instances as the second target server instance. Where the A +1 th server instance is not the first target server instance.
Likewise, based on the second remainder B, a B +1 th server instance can be determined from the sequence of server instances as the second target server instance. Wherein the B +1 th server instance is not the first target server instance.
(10) And acquiring a second server number corresponding to the second target server instance.
Specifically, when the second remainder is a, the second server number of the second target server instance determined from the sequence of server instances may be a + 1.
Likewise, when the second remainder is B, the second server number of the second target server instance determined from the sequence of server instances may be B + 1.
(11) A second association between the second server number and the first terminal number is established, and a backup tunnel is established between the second target server instance and the current remote terminal unit based on the second association.
Specifically, when the second server number is F2 and the first terminal number is M, a standby channel is established between the second target server instance and the current remote terminal unit by establishing a second association relationship between the second server number F2 and the first terminal number M, and further based on the second association relationship.
In the power grid monitoring system preposed service scheduling method based on load balancing distribution, a plurality of server instances are sequenced to generate a corresponding server instance sequence, a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed are obtained, then the first terminal number and the first number are subjected to remainder operation to generate a corresponding first remainder, a first target server instance is determined from the server instance sequence according to the first remainder, and a main channel is established between the first target server instance and the current remote terminal unit. And determining a server instance except the first target server instance from the server instance sequence according to the second remainder to serve as a second target server instance, and establishing a standby channel between the second target server instance and the current remote terminal unit. When data transmission and channel allocation are needed to be carried out between a plurality of remote terminal units and a plurality of server instances, channels do not need to be allocated manually, the problem of channel repeated allocation caused by repeated allocation or allocation error and leakage can be avoided, required power data are transmitted on time, and power data transmission efficiency is further improved.
It should be understood that, although the various steps in the flowcharts related to the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in each flowchart related to the above embodiment may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 8, there is provided a grid monitoring system front-end service scheduling system based on load balancing distribution, including: a sorting module 802, a first obtaining module 804, a first target server instance determining module 806, a main channel establishing module 808, a second target server instance determining module 810, and a standby channel establishing module 812, where:
a sorting module 802, configured to sort multiple server instances and generate a corresponding server instance sequence.
A first obtaining module 804, configured to obtain a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be allocated.
A first target server instance determining module 806, configured to determine a first target server instance from the server instance sequence according to the first number and the first terminal number.
An active channel establishing module 808, configured to establish an active channel between the first target server instance and the current remote terminal unit.
And a second target server instance determining module 810, configured to select, from the server instance sequence, a server instance other than the first target server instance as a second target server instance.
A backup tunnel establishing module 812 for establishing a backup tunnel between the second target server instance and the current remote terminal unit.
In the power grid monitoring system preposed service scheduling system based on load balancing distribution, a plurality of server instances are sequenced to generate a corresponding server instance sequence, a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed are obtained, and then a first target server instance is determined from the server instance sequence according to the first number and the first terminal number. And establishing a primary channel between the first target server instance and the current remote terminal unit. By selecting a server instance other than the first target server instance from the sequence of server instances as a second target server instance and establishing a backup path between the second target server instance and the current remote terminal unit. When data transmission and channel allocation are needed to be carried out between a plurality of remote terminal units and a plurality of server instances, channels do not need to be allocated manually, the problem of channel repeated allocation caused by repeated allocation or allocation error and leakage can be avoided, required power data are transmitted on time, and power data transmission efficiency is further improved.
In one embodiment, the second target server instance determination module is further configured to:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit;
performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder;
and according to the second remainder, determining the server instance except the first target server instance from the server instance sequence as a second target server instance.
In the second target server instance determining module, a corresponding second remainder is generated by obtaining a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit and performing a remainder operation on the second terminal number and the first number, and then a server instance except the first target server instance is determined from the server instance sequence according to the second remainder and serves as the second target server instance. When data transmission and channel distribution are carried out between a plurality of remote terminal units and a plurality of server instances, the second target server instance is determined according to the second remainder generated by directly carrying out remainder operation on the second terminal number and the first number without manually distributing channels, the problem of channel repeated distribution caused by repeated distribution or distribution error and leakage can be avoided, the required power data are transmitted on time, and the power data transmission efficiency is further improved.
In one embodiment, the first target server instance determination module is further configured to:
performing remainder operation on the first terminal number and the first number to generate a corresponding first remainder;
a first target server instance is determined from the sequence of server instances based on the first remainder.
In one embodiment, the second target server instance determination module is further to:
and randomly selecting one server instance except the first target server instance from the server instance sequence to serve as a second target server instance.
In an embodiment, the active channel establishing module is further configured to:
acquiring a first server number corresponding to a first target server instance;
and establishing a first incidence relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first incidence relation.
In one embodiment, the backup tunnel establishment module is further configured to:
acquiring a second server number corresponding to a second target server instance;
a second association between the second server number and the first terminal number is established, and a backup tunnel is established between the second target server instance and the current remote terminal unit based on the second association.
In one embodiment, the ranking module is further to:
acquiring the access time of each server instance, and sequencing the plurality of server instances according to the access time of each server instance to generate a corresponding server instance sequence;
or
And randomly sequencing the plurality of server instances to generate a corresponding server instance sequence.
For specific limitations of the grid monitoring system pre-service scheduling system based on load balancing distribution, reference may be made to the above limitations of the grid monitoring system pre-service scheduling method based on load balancing distribution, and details are not repeated here. All modules in the power grid monitoring system preposed service scheduling system based on load balancing distribution can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the server instance sequence, the first number, the first terminal number and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a power grid monitoring system preposed service scheduling method based on load balancing distribution.
It will be appreciated by those skilled in the art that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
sequencing the plurality of server instances to generate a corresponding server instance sequence;
acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number;
establishing a primary channel between a first target server instance and a current remote terminal unit;
selecting server instances except the first target server instance from the server instance sequence as a second target server instance;
a backup tunnel is established between the second target server instance and the current remote terminal unit.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
performing remainder operation on the first terminal number and the first number to generate a corresponding first remainder;
a first target server instance is determined from the sequence of server instances based on the first remainder.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and randomly selecting one server instance except the first target server instance from the server instance sequence as a second target server instance.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit;
performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder;
and determining the server instance except the first target server instance from the server instance sequence as a second target server instance according to the second remainder.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a first server number corresponding to a first target server instance;
and establishing a first incidence relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first incidence relation.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring a second server number corresponding to a second target server instance;
a second association between the second server number and the first terminal number is established, and a backup tunnel is established between the second target server instance and the current remote terminal unit based on the second association.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the access time of each server instance, and sequencing the plurality of server instances according to the access time of each server instance to generate a corresponding server instance sequence;
or
And randomly sequencing the plurality of server instances to generate a corresponding server instance sequence.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
sequencing the multiple server instances to generate a corresponding server instance sequence;
acquiring a first number corresponding to a server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number;
establishing a primary channel between a first target server instance and a current remote terminal unit;
selecting server instances except the first target server instance from the server instance sequence as a second target server instance;
a backup tunnel is established between the second target server instance and the current remote terminal unit.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing remainder operation on the first terminal number and the first number to generate a corresponding first remainder;
and determining a first target server instance from the server instance sequence according to the first remainder.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and randomly selecting one server instance except the first target server instance from the server instance sequence as a second target server instance.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit;
performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder;
and determining the server instance except the first target server instance from the server instance sequence as a second target server instance according to the second remainder.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a first server number corresponding to a first target server instance;
and establishing a first incidence relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first incidence relation.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a second server number corresponding to a second target server instance;
a second association between the second server number and the first terminal number is established, and a backup tunnel is established between the second target server instance and the current remote terminal unit based on the second association.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the access time of each server instance, and sequencing the plurality of server instances according to the access time of each server instance to generate a corresponding server instance sequence;
or
And randomly sequencing the plurality of server instances to generate a corresponding server instance sequence.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A power grid monitoring system preposed service scheduling method based on load balancing distribution is applied to a digital power grid scheduling system, the digital power grid scheduling system comprises a scheduling unit, the scheduling unit is connected with a plurality of server instances, a main channel or a standby channel is established between each server instance and a corresponding determined remote terminal unit, and the method is characterized by comprising the following steps:
the method comprises the steps of obtaining a plurality of connected server instances and corresponding access time, sequencing the server instances according to the access time, adding corresponding server numbers, and generating a corresponding server instance sequence;
acquiring a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be distributed;
determining a first target server instance from the server instance sequence according to the first quantity and the first terminal number; establishing a main channel between the first target server instance and the current remote terminal unit based on a first server number of the first target server instance and a first incidence relation between the first terminal number;
selecting server instances except the first target server instance from the server instance sequence as a second target server instance; establishing a standby channel between the second target server instance and the current remote terminal unit based on a second association relationship between a second server number of the second target server instance and the first terminal number;
the selecting, from the server instance sequence, a server instance other than the first target server instance as a second target server instance includes:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit; when the first terminal number corresponding to the current remote terminal unit is M, the second terminal number corresponding to the remote terminal unit adjacent to the current remote terminal unit comprises M-1 and M + 1; performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder; the second remainder comprises a second remainder A corresponding to the remote terminal unit with the second terminal number M-1 and a second remainder B corresponding to the remote terminal unit with the second terminal number M + 1; determining server instances except the first target server instance from the server instance sequence according to the second remainder A or the second remainder B to serve as second target server instances; determining an A +1 th server instance from the server instance sequence according to the second remainder A to serve as a second target server instance, or determining a B +1 th server instance from the server instance sequence according to the second remainder B to serve as a second target server instance; the A +1 th server instance and the B +1 th server instance are not first target server instances.
2. The method of claim 1, wherein determining a first target server instance from the sequence of server instances based on the first number and the first terminal number comprises:
performing a remainder operation on the first terminal number and the first number to generate a corresponding first remainder;
and determining a first target server instance from the server instance sequence according to the first remainder.
3. The method of claim 1, wherein said selecting, from the sequence of server instances, a server instance other than the first target server instance as a second target server instance comprises:
and randomly selecting one server instance except the first target server instance from the server instance sequence as a second target server instance.
4. The method of any of claims 1-3, wherein establishing the active channel between the first target server instance and the current remote end unit comprises:
acquiring a first server number corresponding to the first target server instance;
and establishing a first association relation between the first server number and the first terminal number, and establishing a main channel between the first target server instance and the current remote terminal unit based on the first association relation.
5. The method of any of claims 1-3, wherein establishing a backup tunnel between the second target server instance and the current remote terminal unit comprises:
acquiring a second server number corresponding to the second target server instance;
and establishing a second incidence relation between the second server number and the first terminal number, and establishing a standby channel between the second target server instance and the current remote terminal unit based on the second incidence relation.
6. The method according to any one of claims 1 to 3, wherein the sorting the plurality of server instances to generate a corresponding sequence of server instances comprises:
obtaining the access time of each server instance, and sequencing the server instances according to the access time of each server instance to generate a corresponding server instance sequence;
or
And randomly sequencing the plurality of server instances to generate a corresponding server instance sequence.
7. A power grid monitoring system preposed service dispatching system based on load balance distribution is applied to a digital power grid dispatching system, the digital power grid dispatching system comprises a dispatching unit, the dispatching unit is connected with a plurality of server instances, a main channel or a standby channel is established between each server instance and a corresponding determined remote terminal unit, and the system is characterized by comprising:
the sequencing module is used for acquiring a plurality of connected server instances and corresponding access time, sequencing the plurality of server instances according to the access time, adding corresponding server numbers and generating a corresponding server instance sequence;
a first obtaining module, configured to obtain a first number corresponding to the server instance sequence and a first terminal number of a current remote terminal unit of a channel to be allocated;
a first target server instance determining module, configured to determine a first target server instance from the server instance sequence according to the first number and the first terminal number;
a main channel establishing module, configured to establish a main channel between the first target server instance and a current remote terminal unit based on a first association relationship between a first server number of the first target server instance and the first terminal number;
a second target server instance determining module, configured to select, from the server instance sequence, a server instance other than the first target server instance as a second target server instance;
a standby channel establishing module, configured to establish a standby channel between the second target server instance and a current remote terminal unit based on a second association relationship between a second server number of the second target server instance and the first terminal number;
the second target server instance determination module is further configured to:
acquiring a second terminal number corresponding to a remote terminal unit adjacent to the current remote terminal unit; when the first terminal number corresponding to the current remote terminal unit is M, the second terminal number corresponding to the remote terminal unit adjacent to the current remote terminal unit comprises M-1 and M + 1; performing remainder operation on the second terminal number and the first number to generate a corresponding second remainder; the second remainder comprises a second remainder A corresponding to the remote terminal unit with the second terminal number M-1 and a second remainder B corresponding to the remote terminal unit with the second terminal number M + 1; determining server instances except the first target server instance from the server instance sequence according to the second remainder A or the second remainder B to serve as second target server instances; determining an A +1 th server instance from the server instance sequence according to the second remainder A to serve as a second target server instance, or determining a B +1 th server instance from the server instance sequence according to the second remainder B to serve as a second target server instance; the A +1 th server instance and the B +1 th server instance are not first target server instances.
8. The system of claim 7, wherein the first target server instance determination module is further configured to:
performing a remainder operation on the first terminal number and the first number to generate a corresponding first remainder; and determining a first target server instance from the server instance sequence according to the first remainder.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110644541.8A 2021-06-09 2021-06-09 Power grid monitoring system preposed service scheduling method based on load balanced distribution Active CN113395342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110644541.8A CN113395342B (en) 2021-06-09 2021-06-09 Power grid monitoring system preposed service scheduling method based on load balanced distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110644541.8A CN113395342B (en) 2021-06-09 2021-06-09 Power grid monitoring system preposed service scheduling method based on load balanced distribution

Publications (2)

Publication Number Publication Date
CN113395342A CN113395342A (en) 2021-09-14
CN113395342B true CN113395342B (en) 2022-07-22

Family

ID=77620093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110644541.8A Active CN113395342B (en) 2021-06-09 2021-06-09 Power grid monitoring system preposed service scheduling method based on load balanced distribution

Country Status (1)

Country Link
CN (1) CN113395342B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457904A (en) * 2010-10-14 2012-05-16 深圳市泰海科技有限公司 Method and device for balancing load as well as handheld terminal and communication equipment
WO2013186837A1 (en) * 2012-06-11 2013-12-19 株式会社Murakumo Information processing system, method, and program
US11349931B2 (en) * 2016-08-31 2022-05-31 Sap Se Session management for collaboration sessions
CN112532673B (en) * 2019-09-19 2023-12-05 北京京东振世信息技术有限公司 Message sending method and device, computer readable storage medium and electronic equipment
CN111190710A (en) * 2019-11-25 2020-05-22 泰康保险集团股份有限公司 Task allocation method and device

Also Published As

Publication number Publication date
CN113395342A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
EP3637733B1 (en) Load balancing engine, client, distributed computing system, and load balancing method
US8321870B2 (en) Method and system for distributed computation having sub-task processing and sub-solution redistribution
US9805140B2 (en) Striping of directed graphs and nodes with improved functionality
CN109710406B (en) Data distribution and model training method and device thereof, and computing cluster
CN110704177B (en) Computing task processing method and device, computer equipment and storage medium
Vdovin et al. Algorithm for resource allocation in data centers with independent schedulers for different types of resources
CN111447143B (en) Business service data transmission method and device, computer equipment and storage medium
CN111209111B (en) Resource allocation method, device, equipment and storage medium based on block chain system
CN112311902A (en) File sending method and device based on micro-service
Kadhe et al. When do the availability codes make the stored data more available?
US20190149478A1 (en) Systems and methods for allocating shared resources in multi-tenant environments
CN107276912B (en) Memory, message processing method and distributed storage system
CN113395342B (en) Power grid monitoring system preposed service scheduling method based on load balanced distribution
CN117674957A (en) Scheduling method, scheduling apparatus, computer device, storage medium, and program product
CN110609707B (en) Online data processing system generation method, device and equipment
CN114844791B (en) Cloud service automatic management and distribution method and system based on big data and storage medium
CN107784548B (en) Order processing method and device
CN113438678B (en) Method and device for distributing cloud resources for network slices
CN115529249A (en) Task demand-oriented spaceflight measurement and control data transmission resource configuration evaluation method
CN113258679B (en) Power grid monitoring system channel distribution method based on server instance capacity reduction
US10193790B2 (en) Systems and methods for an intelligent, distributed, autonomous, and scalable resource discovery, management, and stitching
CN108834087B (en) Short message sending method and device, computer equipment and storage medium
CN110659288A (en) Case statement calculation method, system, device, computer equipment and storage medium
CN115412738B (en) Scheduling method and device of server and storage medium
Dorogyy et al. Critical IT Infrastructure Resource Distribution Algorithm

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
TR01 Transfer of patent right

Effective date of registration: 20230428

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Patentee after: China Southern Power Grid Digital Grid Technology (Guangdong) Co.,Ltd.

Address before: Room 86, room 406, No.1, Yichuang street, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou City, Guangdong Province

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TR01 Transfer of patent right