Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Decentralized cluster load balancing method, system, mobile terminal and storage medium

A cluster load balancing and decentralization technology, applied in the field of information processing, can solve problems such as load balancing efficiency limitations and mobile terminal performance bottlenecks, and achieve the effects of preventing load balancing efficiency from being limited, improving load balancing efficiency, and ensuring processing efficiency

Active Publication Date: 2022-08-05
雅马哈发动机(厦门)信息系统有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of using the existing load balancing method, all user requests need to pass through the mobile terminal. Since the mobile terminal has its own traffic bottleneck, as the number of visits continues to increase, the mobile terminal will also face its own performance bottleneck. Load balancing efficiency is limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Decentralized cluster load balancing method, system, mobile terminal and storage medium
  • Decentralized cluster load balancing method, system, mobile terminal and storage medium
  • Decentralized cluster load balancing method, system, mobile terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Seefigure 1 It is a flowchart for decentralized cluster load balancing methods provided by the first embodiment of the present invention, including steps:

[0053] Step S10, build a cluster environment, and build a hash ring in the cluster environment;

[0054] Among them, there are multiple service nodes on the hash ring, and each service node corresponds to a server. The hash ring maintains the routing table of each service node. Each service node contains node addresses, node identifications , Corresponding front -drive nodes, corresponding successor nodes, and routing tables.

[0055] Specifically, when the hash ring is established in this step, it mainly includes:

[0056] (1) Create the first node and take the first link to generate the hash ring;

[0057] (2) Create other nodes and join the hash ring one by one. At the specified node n 0 Add new node n k Essence The joining process is to use the existing node N 0 The routing table is a new node n k Find a successor N...

Embodiment 2

[0066] See figure 2 It is a flowchart for decentralized cluster load balancing methods provided by the second embodiment of the present invention, including steps:

[0067] Step S11, build a cluster environment, and build a hash ring in the cluster environment;

[0068] Among them, there are multiple service nodes on the hash ring, and each service node corresponds to a server;

[0069] Step S21, initialize the routing table of each service node on the hash ring;

[0070] Among them, the initialization design of the route table is performed to achieve the effect of updating the front -drive nodes and successor nodes corresponding to each service node;

[0071] Step S31, obtain the system and hardware information of each service node corresponding to each service node, and calculate the load index according to the system and hardware information;

[0072] Among them, the calculation formula used by calculating the load index based on the system and the hardware information calculat...

Embodiment 3

[0110] See Figure 4 It is the structural schematic diagram of the decentralized cluster load balancing system 100 provided by the third embodiment of the present invention, including: environmental construction module 10, initialization module 11, load comparative module 12, and request distribution module 13, of which:

[0111] Environmental Construction Module 10 is used to build a cluster environment and build a hash ring in the cluster environment. There are multiple service nodes on the hash ring. Each service node corresponds to one server;

[0112] Initialization module 11 is used to initialize the routing table of each service node on the hash ring.

[0113] Among them, the initialization module 11 is also used to update the front -drive nodes and successor nodes corresponding to each service node corresponding to each service node.

[0114] The load comparative module 12 is used to continuously obtain the load status of each service node according to the preset interval, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of information processing, and provides a decentralized cluster load balancing method, system, mobile terminal and storage medium. The method includes: building a cluster environment, building a hash ring in the cluster environment, and setting up a hash ring on the hash ring. There are multiple service nodes, and each service node corresponds to a server; the routing table of each service node on the hash ring is initialized; the load status of each service node is continuously obtained according to the preset time interval. When requesting, the load status of all service nodes is compared to obtain the target node with the lowest load; the user request is distributed to the target node, so that the target node can respond to the user request. By adopting the hash ring method to maintain and manage the cluster, the invention effectively utilizes the decentralization idea to distribute user traffic to the cluster, improves the load balancing efficiency, and prevents the load balancing efficiency caused by the performance bottleneck of the mobile terminal itself. restricted phenomenon.

Description

Technical field [0001] The invention is the field of information processing technology, especially involving a decentralized cluster load balancing method, system, mobile terminal and storage medium. Background technique [0002] At present, with the high popularity of Internet technology, explosive Web concurrent access requests have brought huge challenges to network bandwidth and server performance, and it is difficult to respond to user requests quickly by single application servers. In order to improve system performance, in the current mainstream network configuration, the application server is usually used to cluster the application server, thereby improving the system load capacity. [0003] The server cluster consists of multiple high -performance servers that provide the same service. A device that can achieve load balancing at the front end of this set of servers can be distributed by the mobile terminal. The implementation of the load balancing has diverted the user r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/1008H04L67/1029H04L67/54H04L67/63H04L45/02
CPCH04L67/1008H04L67/1029H04L45/02H04L67/54H04L67/63
Inventor 张春刘加林
Owner 雅马哈发动机(厦门)信息系统有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products