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

Load balancing method, device and system, computer equipment and storage medium

A technology of computer equipment and load balancing, applied in transmission systems, electrical components, etc.

Active Publication Date: 2021-05-28
GUANGZHOU HUYA TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention proposes a load balancing method, device, system, computer equipment and storage medium to solve the problem of how to reduce the cost and ensure the normal operation of the load balancer when balancing the load of the service cluster

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
  • Load balancing method, device and system, computer equipment and storage medium
  • Load balancing method, device and system, computer equipment and storage medium
  • Load balancing method, device and system, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035]figure 1 A flow chart of a load balancing method for the embodiment of the present invention, the present embodiment can be applied to the case where the client actively restarts the server, which can be performed by the load balancing device in the operation of the operation site. The load balancing device can be implemented by software and / or hardware, which can be configured in computer devices, such as servers, workstations, personal computers, and more.

[0036]Such asfigure 2 As shown, in the surveillance business scenario, the following role is usually included:

[0037]1, configure the center 201

[0038]In the present embodiment, the configuration center 201 can be used to monitor the load state of the server 206, determine the overall load balancing of the service cluster 205 based on the load state of the server 206, and control the client 203 when the load is imbalanced in the service cluster 205 load. Execute the Rebalance operation (broken chain restraining operation, o...

Embodiment 2

[0115]Figure 4 For a flow chart of a load balancing method according to Embodiment 2 of the present invention, the present embodiment is based on the above embodiment, further increasing the processing of the client operating data in the local operation of the Rebalance, which includes the following steps:

[0116]Step 401: Receive reset events.

[0117]Among them, reset events represent service cluster load imbalances.

[0118]Step 402, in response to the reset event, identify the status of the scheduler.

[0119]If the load balancer actively disconnects long connections between the client and the server, it is easy to cause the problem of running data of the client to affect the monitoring of computer devices.

[0120]In this embodiment, in the present embodiment, the client actively disconnects the long connection between the server, and the client can control the operation of the semapher connection according to the transmission status of the data, and ensure normal transmission of the running...

Embodiment 3

[0138]Figure 5 A structural block diagram of a load balancing device provided in the third embodiment of the present invention, applied to the client, the client is used to collect operational data of the computer device, transmitting the running data into a service cluster through long connection. End, the apparatus can include the following modules:

[0139]Reset the event receiving module 501 for receiving a reset event, the reset event represents the service cluster load imbalance;

[0140]Long connection disconnecting module 502 is used to disconnect the long connection between the client and the server in response to the reset event;

[0141]Long connection establishment module 503 for requesting the load balancer to re-establish a long connection to the client to make the service cluster load balance.

[0142]In one embodiment of the invention, the service cluster load imbalance behaves as a frequency threshold of the occurrence of an imbalance event;

[0143]The imbalance event is a differ...

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 embodiment of the invention provides a load balancing method, device and system, computer equipment and a storage medium, the method is applied to a client, the client is used for collecting operation data of the computer equipment and transmitting the operation data to a server in a service cluster through long connection, and the method comprises the following steps: receiving a reset event, wherein the reset event indicates that the load of the service cluster is unbalanced, responding to the reset event, disconnecting the long connection between the client and the server, and requesting the load balancer to re-establish the long connection for the client and the server so as to balance the load of the service cluster, and the client actively executes the Rebalance operation without depending on the load balancer of a third party. The logic of the client is relatively simple, the influence of adding the Rebalance operation on the client is relatively small, the flexibility is higher, the customization degree is higher, a load balancer of a third party does not need to be additionally developed, and the development cost is greatly reduced.

Description

Technical field[0001]Embodiments of the present invention relate to the technical field of computer processing, and more particularly to a load balancing method, apparatus, system, computer device, and storage medium.Background technique[0002]Many platforms on the network provide users with live broadcast, short video, instant messaging, shopping, etc., due to many users, the amount of data to be processed is large, and each platform is deployed with a large number of computer equipment.[0003]In order to ensure the safety and reliability of computer equipment, the client is typically deployed in these computer devices, used for long-term monitoring of computer devices, and the operational status is transmitted to the service cluster through long connection, and the computer equipment is running in time. Problems in the process.[0004]There are multiple servers in the service cluster. Some of the server may fail during operation, and the service cluster is re-joined after rebooting. T...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/10H04L67/1012H04L67/1014H04L67/1001
Inventor 陈键冬李旦
Owner GUANGZHOU HUYA TECH CO LTD
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