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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap