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

Data processing method and device, server and storage medium

A data processing and server technology, which is applied in the field of network communication and can solve the problems of large performance loss of load balancing servers and slowing of data forwarding speed of load balancing servers.

Active Publication Date: 2021-03-19
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the technical characteristics of Tengine, the Tengine-based load balancing server needs to forward data in the user mode. When the load balancing server receives data from the network card, the data is cached in the kernel-mode memory space, and there is a data copy from the kernel-mode memory space to The process of memory space in the user state, which has a large performance loss on the load balancing server, reduces the data forwarding speed of the load balancing server

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
  • Data processing method and device, server and storage medium
  • Data processing method and device, server and storage medium
  • Data processing method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0079] Such as figure 1 As shown, the embodiment of the present invention provides a data processing method, the method may include the following steps:

[0080] S101. Receive traffic data sent by a data sending end through a first communication link, and acquire a data flow identifier of the first communication link.

[0081] The embodiment of the present invention can be applied to a load balancing server based on Tengine technology, and the load balancing ...

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 data processing method and device, a server and a storage medium, and the method comprises the steps: receiving flow data transmitted by a data transmittingend through a first communication link, and obtaining a data flow direction identification of the first communication link; under the condition that the data flow direction identifier of the first communication link exists in a pre-established data forwarding rule table, searching a data receiving end corresponding to the data sending end in the data forwarding rule table through the data flow direction identifier; and forwarding the flow data to the searched data receiving end through the second communication link by utilizing the kernel virtual machine in the kernel state. The data processing method provided by the embodiment of the invention can further improve the data forwarding speed of the load balancing server.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a data processing method, a processing device, a server and a storage medium. Background technique [0002] The load balancing server is a network service device that distributes traffic to multiple back-end servers. It usually forwards the data in the WebSocket link between the client and the business server in the form of an intermediate proxy. Among them, WebSocket is a protocol for performing full-duplex communication on a TCP (Transmission Control Protocol, Transmission Control Protocol) connection. [0003] The specific process for the existing Tengine-based load balancing server to forward WebSocket link data is as follows: the load balancing server forwards the WebSocket handshake message sent by the client to the business server, so that a WebSocket connection is established between the business server and the client, and then Forward the data between the ...

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/02H04L67/1031H04L67/1001
Inventor 杨帆
Owner BEIJING KINGSOFT CLOUD NETWORK 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