CN103368862B - Load balance dispatching method and load balance dispatching device - Google Patents

Load balance dispatching method and load balance dispatching device Download PDF

Info

Publication number
CN103368862B
CN103368862B CN201310248506.XA CN201310248506A CN103368862B CN 103368862 B CN103368862 B CN 103368862B CN 201310248506 A CN201310248506 A CN 201310248506A CN 103368862 B CN103368862 B CN 103368862B
Authority
CN
China
Prior art keywords
server
scheduling
terminal equipment
load
data
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
CN201310248506.XA
Other languages
Chinese (zh)
Other versions
CN103368862A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201310248506.XA priority Critical patent/CN103368862B/en
Publication of CN103368862A publication Critical patent/CN103368862A/en
Application granted granted Critical
Publication of CN103368862B publication Critical patent/CN103368862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a load balance dispatching method and a load balance dispatching device, which contribute to the realization of balanced distribution of loads on multiple servers. The method comprises the steps: acquiring the data traffic between each terminal device and a server currently connected with the terminal device, and displaying the data traffic on a man-machine interface; receiving a dispatching operation instruction which is used for assigning terminal devices receiving dispatching and servers receiving dispatching; sending a load dispatching instruction to the terminal devices receiving dispatching, wherein the load dispatching instruction is used for indicating the terminal devices receiving dispatching to send data to the servers receiving dispatching.

Description

A kind of load equilibration scheduling method and load balance scheduling device
Technical field
The present invention relates to a kind of load equilibration scheduling method and load balance scheduling device.
Background technology
In the architecture design of unified log system, first link is exactly need the daily record data gathering the transmission of thousands of terminal equipment to be then pooled to unified data retransmission center.Limited and the topmost object of retransmission center of number of servers due to retransmission center is exactly that the data retransmission that the client received is sent is gone out, so the maximum bottleneck of retransmission center is exactly network traffics.In order to accomplish flow load balance on the service node of each retransmission center; usually have some algorithms and can do some simple flow equalization strategies; but because terminal equipment transmission daily record presents the uncertainty of randomness and data volume; for retransmission center server the fluctuation of load large and frequent; it is balanced that more existing flow equalization algorithms can only realize most bare flow, is difficult to meet the load balancing requirement for the server of retransmission center.
Summary of the invention
In view of this, the invention provides a kind of load equilibration scheduling method and load balance scheduling device, contribute to realizing the equiblibrium mass distribution of load on multiple server.
For achieving the above object, according to an aspect of the present invention, a kind of load equilibration scheduling method is provided.
Load equilibration scheduling method of the present invention is for dispatching the load of the server of the data of multiple processing terminal equipment transmission, comprise: obtain the data traffic between each terminal equipment with its current server be connected, and described data traffic is presented in man-machine interface; The scheduling operation instruction that receiving management person sends, this scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling; Send load dispatch instruction to the described terminal equipment accepting scheduling, this load dispatch instruction is used to indicate the described terminal equipment accepting scheduling and sends the data to the described server accepting scheduling.
Alternatively, the graphic element representing terminal equipment described in each and the graphic element representing server described in each is comprised in described man-machine interface, for the described terminal equipment and the server that have data interaction, represent between their graphic element and there is line, and near this line, have the numerical value of the data traffic of this data interaction.
Alternatively, described scheduling operation instruction is connected to one end that representative accepts the line of the terminal equipment of scheduling and is dragged to representative from the graphic element of server described in the representative of current connection by current and accepts the graphic element of the server of scheduling.
Alternatively, described data comprise the daily record data of described terminal equipment; Described server is for receiving and forwarding the server of the retransmission center of described daily record.
According to a further aspect in the invention, a kind of load balance scheduling device is provided.
Load balance scheduling device of the present invention, for dispatching the load of the server of the data of multiple processing terminal equipment transmission, comprising: acquisition module, for obtaining the data traffic between the current server be connected of each terminal equipment and its; Present module, for described data traffic is presented on man-machine interface; Receiver module, for the scheduling operation instruction that receiving management person sends, this scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling; Sending module, for sending load dispatch instruction to the described terminal equipment accepting scheduling, this load dispatch instruction is used to indicate the described terminal equipment accepting scheduling and sends the data to the described server accepting scheduling.
Alternatively, the graphic element representing terminal equipment described in each and the graphic element representing server described in each is comprised in described man-machine interface, for the described terminal equipment and the server that have data interaction, represent between their graphic element and there is line, and near this line, have the numerical value of the data traffic of this data interaction.
Alternatively, described scheduling operation instruction is connected to one end that representative accepts the line of the terminal equipment of scheduling and is dragged to representative from the graphic element of server described in the representative of current connection by current and accepts the graphic element of the server of scheduling.
Alternatively, described data comprise the daily record data of described terminal equipment; Described server is for receiving and forwarding the server of the retransmission center of described daily record.
According to technical scheme of the present invention, carrying out adjustment of load by the data traffic between terminal equipment and server being presented in man-machine interface for keeper, load balancing can be realized preferably; If representing client and server with graphic element, being adjusted the scheme of load by pulling mode in use the present embodiment, then can be realized fast load-leveling operations, be adapted to load balance scheduling frequently.
Accompanying drawing explanation
Accompanying drawing is used for understanding the present invention better, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the basic step of load equilibration scheduling method according to the embodiment of the present invention;
Fig. 2 A and Fig. 2 B is the schematic diagram representing load distribution state with graphic element according to the embodiment of the present invention;
Fig. 3 is the schematic diagram of the basic structure of load balance scheduling device according to the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, one exemplary embodiment of the present invention is explained, comprising the various details of the embodiment of the present invention to help understanding, they should be thought it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated in following description.
Fig. 1 is the schematic diagram of the basic step of load equilibration scheduling method according to the embodiment of the present invention.The method can be performed by the server for manage traffic, as shown in Figure 1, mainly comprises the steps:
Step S11: obtain the data traffic between each terminal equipment with its current server be connected.Each terminal equipment connects 1 station server, and every station server is connected with multiple terminal equipment.So this data traffic and terminal equipment are relations one to one.
Step S12: the data traffic obtained in step S11 is presented in man-machine interface.
Step S13: receiving scheduling operational order.This scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling.Scheduling operation instruction in this step is sent by keeper, and concrete form is determined according to the form of above-mentioned man-machine interface.
Such as this man-machine interface can be the mode of list, corresponds to each terminal equipment in table, lists server that this terminal equipment is connected to and the data traffic between the two.Like this, keeper can revise the selected server corresponding to terminal equipment in table, thus realizes the scheduling for this terminal equipment and this server.
And for example, directly usually represent each terminal equipment and server with pattern primitive, and have the terminal equipment of data interaction to be connected with the graphic element of server representative with lines.Fig. 2 A and Fig. 2 B is the schematic diagram representing load distribution state with graphic element according to the embodiment of the present invention.Shown in Fig. 2 A, client 11,12,13 is connected with the server 21 in retransmission center 20, and the flow between they and server 21 is respectively 5M/S, and this flow is shown in above-mentioned client 11, between 12,13 and server 21 near line.Equally, client 14 is connected with server 22.If keeper needs to adjust load, such as alleviate the load of server 21, one end of line between client 13 and server 21 can be dragged to server 22 from server 21, form state as shown in Figure 2 B, data interaction between such client 13 and server 21 stops, and changes and carries out data interaction by between client 13 and server 22.Like this, the load of server 21 drops to 10M/S by 15M/S, and it is 10M/S that the load of server 22 is increased by 5M/S, thus achieves the equilibrium of load between server 21,22 of client 11-14 formation.For the situation of more client and server, the adjustment mode of load is similar to the above.This mode can show load condition intuitively, and the operation of keeper very simple and fast, can realize than operation faster thus be adapted to load balance scheduling frequently.
Step S14: send load dispatch instruction to the terminal equipment accepting scheduling.This load dispatch instruction is used to indicate the terminal equipment accepting scheduling and sends the data to the server accepting scheduling.For the situation shown in Fig. 2 A and Fig. 2 B, the terminal equipment accepting scheduling is terminal equipment 13, and the server accepting scheduling is server 22; Like this, just communicate with server 22 after terminal equipment 13 receives load dispatch instruction.
Fig. 3 is the schematic diagram of the basic structure of load balance scheduling device according to the embodiment of the present invention, and this device can be arranged in the server for manage traffic.As shown in Figure 3, the load balance scheduling device 30 of the embodiment of the present invention mainly comprises: acquisition module 31, present module 32, receiver module 33 and sending module 34.
Acquisition module 31 is for obtaining the data traffic between the current server be connected of each terminal equipment and its; Present module 32 for described data traffic is presented on man-machine interface; The scheduling operation instruction that receiver module 33 sends for receiving management person, this scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling; Sending module 34 is for sending load dispatch instruction to the described terminal equipment accepting scheduling, and this load dispatch instruction is used to indicate the described terminal equipment accepting scheduling and sends the data to the described server accepting scheduling.
Technical scheme in the present embodiment goes for multiple terminal equipment and sends daily record data to the application scenarios of the server at data retransmission center, also may be used for the occasion that other need load balancing.According to the technical scheme of the present embodiment, carrying out adjustment of load by the data traffic between terminal equipment and server being presented in man-machine interface for keeper, load balancing can be realized preferably; If representing client and server with graphic element, being adjusted the scheme of load by pulling mode in use the present embodiment, then can be realized fast load-leveling operations, be adapted to load balance scheduling frequently.
Below general principle of the present invention is described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, whole or any step or the parts of method and apparatus of the present invention can be understood, can in the network of any calculation element (comprising processor, storage medium etc.) or calculation element, realized with hardware, firmware, software or their combination, this is that those of ordinary skill in the art use their basic programming skill just can realize when having read explanation of the present invention.
Therefore, object of the present invention can also be realized by an operation program or batch processing on any calculation element.Described calculation element can be known fexible unit.Therefore, object of the present invention also can realize only by the program product of providing package containing the program code realizing described method or device.That is, such program product also forms the present invention, and the storage medium storing such program product also forms the present invention.Obviously, described storage medium can be any storage medium developed in any known storage medium or future.
Also it is pointed out that in apparatus and method of the present invention, obviously, each parts or each step can decompose and/or reconfigure.These decompose and/or reconfigure and should be considered as equivalents of the present invention.Further, the step performing above-mentioned series of processes can order naturally following the instructions perform in chronological order, but does not need necessarily to perform according to time sequencing.Some step can walk abreast or perform independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.

Claims (4)

1. a load equilibration scheduling method, for dispatching the load of the server of the data that multiple processing terminal equipment sends, is characterized in that, comprise:
Obtain the data traffic between each terminal equipment with its current server be connected, and described data traffic is presented in man-machine interface, the graphic element representing terminal equipment described in each and the graphic element representing server described in each is comprised in described man-machine interface, for the described terminal equipment and the server that have data interaction, represent between their graphic element and there is line, and near this line, have the numerical value of the data traffic of this data interaction;
The scheduling operation instruction that receiving management person sends, this scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling; Described scheduling operation instruction is connected to one end that representative accepts the line of the terminal equipment of scheduling and is dragged to representative from the graphic element of server described in the representative of current connection by current and accepts the graphic element of the server of scheduling;
Send load dispatch instruction to the described terminal equipment accepting scheduling, this load dispatch instruction is used to indicate the described terminal equipment accepting scheduling and sends the data to the described server accepting scheduling.
2. load equilibration scheduling method according to claim 1, is characterized in that,
Described data comprise the daily record data of described terminal equipment;
Described server is for receiving and forwarding the server of the retransmission center of described daily record.
3. a load balance scheduling device, for dispatching the load of the server of the data that multiple processing terminal equipment sends, is characterized in that, comprise:
Acquisition module, for obtaining the data traffic between the current server be connected of each terminal equipment and its;
Present module, for described data traffic is presented on man-machine interface, the graphic element representing terminal equipment described in each and the graphic element representing server described in each is comprised in described man-machine interface, for the described terminal equipment and the server that have data interaction, represent between their graphic element and there is line, and near this line, have the numerical value of the data traffic of this data interaction;
Receiver module, for the scheduling operation instruction that receiving management person sends, this scheduling operation instruction is used to specify the terminal equipment accepting scheduling and the server accepting scheduling; Described scheduling operation instruction is connected to one end that representative accepts the line of the terminal equipment of scheduling and is dragged to representative from the graphic element of server described in the representative of current connection by current and accepts the graphic element of the server of scheduling;
Sending module, for sending load dispatch instruction to the described terminal equipment accepting scheduling, this load dispatch instruction is used to indicate the described terminal equipment accepting scheduling and sends the data to the described server accepting scheduling.
4. load balance scheduling device according to claim 3, is characterized in that,
Described data comprise the daily record data of described terminal equipment;
Described server is for receiving and forwarding the server of the retransmission center of described daily record.
CN201310248506.XA 2013-06-21 2013-06-21 Load balance dispatching method and load balance dispatching device Active CN103368862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310248506.XA CN103368862B (en) 2013-06-21 2013-06-21 Load balance dispatching method and load balance dispatching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310248506.XA CN103368862B (en) 2013-06-21 2013-06-21 Load balance dispatching method and load balance dispatching device

Publications (2)

Publication Number Publication Date
CN103368862A CN103368862A (en) 2013-10-23
CN103368862B true CN103368862B (en) 2015-01-21

Family

ID=49369425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310248506.XA Active CN103368862B (en) 2013-06-21 2013-06-21 Load balance dispatching method and load balance dispatching device

Country Status (1)

Country Link
CN (1) CN103368862B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317764B (en) * 2016-04-26 2021-12-14 北京京东尚科信息技术有限公司 Traffic load balancing method, system, device and computer readable storage medium
CN107680374B (en) * 2017-09-29 2021-07-06 南威软件股份有限公司 Intelligent acquisition and scheduling system for vehicle passing data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611735A (en) * 2011-12-21 2012-07-25 奇智软件(北京)有限公司 Load balancing method and system of application services
CN103164647A (en) * 2013-02-28 2013-06-19 华为技术有限公司 Access control method of network security group and security computer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702668A (en) * 2009-11-12 2010-05-05 上海众恒信息产业有限公司 Gridding load balance system
UA101581C2 (en) * 2010-05-28 2013-04-10 Файберхоум Теликемьюникейшн Текнолоджис Ко., Лтд Method for managing network service flow of ptn

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611735A (en) * 2011-12-21 2012-07-25 奇智软件(北京)有限公司 Load balancing method and system of application services
CN103164647A (en) * 2013-02-28 2013-06-19 华为技术有限公司 Access control method of network security group and security computer

Also Published As

Publication number Publication date
CN103368862A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN107590001B (en) Load balancing method and device, storage medium and electronic equipment
EP3072260B1 (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
CN109618002B (en) Micro-service gateway optimization method, device and storage medium
CN113037869B (en) Method and apparatus for back-sourcing of content distribution network system
CN106227596A (en) Mission Monitor method and apparatus for task scheduling server
CN103442030A (en) Method and system for sending and processing service request messages and client-side device
CN109257320A (en) Message storage method and device
CN103945000A (en) Load balance method and load balancer
CN104618221A (en) Decentralized message service system
US10110446B2 (en) Messaging queue spinning engine
CN102158346A (en) Information acquisition system and method based on cloud computing
CN105471700B (en) A kind of methods, devices and systems of Message Processing
CN107819825A (en) A kind of service scheduling method, device and electronic equipment
WO2023216968A1 (en) Traffic transmission method and apparatus, device, and storage medium
CN111222810B (en) Method and device for distributing grid openings in real time
CN111818131A (en) Message pushing and scheduling system and method
CN103368862B (en) Load balance dispatching method and load balance dispatching device
CN110620722B (en) Order processing method and device
CN102404133A (en) Method and device for internet protocol (IP) network data interaction
CN112866985A (en) Flow control method, resource downloading method, device, equipment and storage medium
CN106657195B (en) Task processing method and relay device
CN114938376B (en) Industrial Internet of things based on priority processing data and control method thereof
JPWO2018123030A1 (en) Priority control method and data processing system
US10291490B1 (en) System and method for collecting data from low-availability devices
CN113448717A (en) Resource scheduling method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant