Data acceleration method and device, gateway equipment and readable storage medium

A gateway device and data technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as low hardware acceleration efficiency

Active Publication Date: 2020-06-30
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a data acceleration method, device, gateway device and readable storage medium to solve the problem of low efficiency of hardware acceleration in the prior art

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 acceleration method and device, gateway equipment and readable storage medium
  • Data acceleration method and device, gateway equipment and readable storage medium
  • Data acceleration method and device, gateway equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 2 A schematic diagram of a data acceleration process provided by an embodiment of the present invention, the process includes the following steps:

[0045] S201: For the received stream data, perform a hash operation on preset data of the stream data, and determine a hash value of the stream data.

[0046] The data acceleration method provided by the embodiment of the present invention is applied to a gateway device, and the gateway device can receive stream data. Specifically, the stream data can be as follows figure 1 It is shown that the gateway device is reached through the Lan Port.

[0047]The gateway device can determine the preset data in the received flow data, and the process of determining which preset data and determining the preset data can be related to the relevant rules configured by the operators of the operator, or can be realized by using existing technologies. No further description will be given in the embodiments of the invention.

[004...

Embodiment 2

[0063] The hash table of the gateway device can save the hash value according to the conventional data table. However, due to the problem of hash collision and conflict during actual use, the accuracy of the QoS service is greatly reduced. Therefore, in order to further improve hardware acceleration The determination accuracy, on the basis of the foregoing embodiments, in the embodiment of the present invention, the hash value in the hash table is stored in the form of a linked list, different hash values ​​are stored in different linked lists, and the hash value is also stored in the linked list The corresponding destination MAC address and / or destination IP address.

[0064] In the actual use process, the preset data of multiple different flow data may have the same hash value calculated during the hash operation, and the actual value may not match the expectation. In order to improve the accuracy of judgment and QoS service, you can use the "zipper "Method" is an efficient ...

Embodiment 3

[0069] On the basis of the above-described embodiments, in the embodiments of the present invention, if the flow data belongs to unicast layer 2 flow data, at least the destination MAC address corresponding to the hash value is stored in the linked list, and the hardware for the flow data is Before accelerating, the method also includes:

[0070] Judging whether the destination MAC address of the flow data is stored in the linked list storing the hash value of the flow data;

[0071] If yes, proceed to next steps.

[0072] In order to further improve the determination accuracy of hardware acceleration, in the embodiment of the present invention, the destination MAC address of the flow data is used as the key in the hash table for unicast layer 2 (TCP / IP) flow data. When the hash value conflicts, it can be used in The bucket corresponding to the hash value, that is, the linked list, is distinguished by the destination MAC address of the flow data.

[0073] If there is hardwar...

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 discloses a data acceleration method and device, gateway equipment and a readable storage medium, and the method comprises the steps: carrying out the hash operation of received streaming data, and determining a hash value of the streaming data; judging whether a hash value of the streaming data exists in a pre-stored hash table or not; and if so, performing hardware acceleration onthe streaming data. According to the method, the hash operation is carried out on the preset data in the received streaming data to obtain the hash value of the streaming data, and whether hardware acceleration needs to be carried out on the streaming data or not can be determined only by judging the hash value once, so that the hardware acceleration efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of bearer control and QoS, in particular to a data acceleration method, device, gateway device and readable storage medium. Background technique [0002] As an implementation link in the QoS (Quality of Service) service of the home gateway, hardware acceleration can directly forward the uplink and downlink data streams through hardware without CPU processing, greatly improving the throughput and performance of the network. Such as figure 1 As shown, the normal stream data ( figure 1 (shown by the dotted line in ) enters the CPU of the software controller through the Lan Port of the hardware, and then forwards it to the WAN Port through the CPU to be sent out, while the stream data accelerated by the hardware ( figure 1 (shown by the solid line in ) enters the acceleration rule forwarding controller through the hardware Lan Port. After the acceleration rule forwarding controller determines that 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): H04L12/743H04L12/761H04L45/16
CPCH04L45/7453H04L45/16
Inventor 杨卫东李峰张海李坤艳
Owner CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products