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

Packet processing method and device

A processing method and message technology, applied in the Internet field, can solve problems such as inability to process business, business processing errors, etc., and achieve the effect of saving resources, improving performance, and improving performance and processing capabilities.

Inactive Publication Date: 2018-03-27
ALIBABA GRP HLDG LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the load balancing device receives the message 2, it does not provide the message 2 to the processor 1, but provides the message 2 to the processor 2. At this time, the processor 2 will re-select the server, if possible, select the server 2. In this way, message 1 and message 2 are sent to different servers, therefore, the same server cannot use message 1 and message 2 to process the business of client 1, resulting in business processing errors

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
  • Packet processing method and device
  • Packet processing method and device
  • Packet processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The terminology used in this application is for the purpose of describing specific embodiments only, not to limit the application. As used in this application and the claims, the singular forms "a", "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

[0019] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second information may also be called first information. Dependin...

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 provides a packet processing method and device that are applied to a load balance device comprising multiple processors. The method comprises the steps of when a packet is received, determining whether a destination address of the packet is an address of the load balance device; if not, determining that the packet is a packet sent to a serer by a client, and calculating a hash valuecorresponding to an original address of the packet; determining a processor corresponding to the hash value; and sending the packet to the processor, so as to enable the processor to process the packet. In the method, one processor processes multiple packets of the same session, multiple processors do not compete to process the multiple packets, so that a large quantity of processors are used, theprocessor resource is saved, the processors are used more efficiently, the load balance performance and processing capability are improved, and the service performance is improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, and in particular to a message processing method and device. Background technique [0002] Such as figure 1 As shown, it is a schematic diagram of SLB (Server Load Balancing, server load balancing) or LVS (Linux Virtual Server, Linux virtual server), and multiple servers in the server cluster jointly provide the same application, such as WEB application. Multiple servers in the server cluster correspond to a virtual IP address, and each server has a corresponding real IP address. [0003] When the client needs to access the server, it will send a packet whose destination IP address is the virtual IP address to the load balancing device. After receiving the message, the load balancing device can select a server for the message, and use the real IP address of the server to send the message to the server. Wherein, the load balancing device can select a server for the message based ...

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
IPC IPC(8): H04L12/803H04L29/08
CPCH04L47/125H04L67/1023
Inventor 梁军孙成浩薛蹦蹦陈家军
Owner ALIBABA GRP HLDG 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