Unlock instant, AI-driven research and patent intelligence for your innovation.

A message sending method and device

A message sending and server technology, applied in the computer field, can solve problems such as message loss and actual load imbalance, and achieve the effect of relieving pressure and improving bearing capacity

Active Publication Date: 2022-06-21
NEW H3C SECURITY TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is likely to cause the actual load imbalance among multiple servers in the server cluster, and the problem of message loss due to the overload of the server occurs, and the carrying capacity of the server cluster cannot be optimized.

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
  • A message sending method and device
  • A message sending method and device
  • A message sending method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0025] For ease of understanding, the words appearing in the embodiments of the present application are explained below.

[0026] Server cluster: includes multiple servers that provide the same service.

[0027] Weighted round-robin algorithm: Send packets to each server according to the weight of each server in the server cluster. For example, a server cluster includes servers a, b, and c. Server a has a weight of 1, server b has a weight of 2, an...

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 present application provides a message sending method and device, which are applied to LB equipment, including: determining the weight of each server in the server cluster; The ratio of the length of each server is the same as the ratio of the weight of each server; based on the weight of each server, a corresponding number of messages are obtained from the buffer queue corresponding to each server and sent to each server. By applying the technical solutions provided by the embodiments of the present application, lost messages are reduced, and the carrying capacity of the server cluster is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method and device for sending a message. Background technique [0002] With the rapid development of Internet technology, the number of users accessing the Internet and the single-access traffic of users have increased dramatically. In order to adapt to the increase in the number of visiting users and the increase in the single-access traffic of users, server load balancing technology emerges as the times require. In the server load balancing technology, a server cluster is formed by multiple servers with the same service function, and the same service is provided externally through a load balancing (Load Balance, LB) device, thereby improving the service carrying capacity. [0003] When sending a packet based on the server load balancing technology, the LB device receives the packet whose destination address is the virtual address of the server cluster, selec...

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): H04L47/125H04L49/90
Inventor 岳炳词
Owner NEW H3C SECURITY TECH CO LTD