Hardware accelerated query method and system, electronic equipment and storage medium

A hardware acceleration and query method technology, which is applied in transmission systems, digital transmission systems, electrical components, etc., can solve problems such as hash conflicts, high query complexity, and low query efficiency, so as to reduce hash conflicts and ensure transmission time Effect

Active Publication Date: 2021-01-08
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The characteristics of the data flow in the home gateway are regular. For example, the destination IP in the LAN system is mostly the same network segment (such as 192.168.1.x). , there will be many hash collisions, making the query complex and the query efficiency reduced

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
  • Hardware accelerated query method and system, electronic equipment and storage medium
  • Hardware accelerated query method and system, electronic equipment and storage medium
  • Hardware accelerated query method and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0033] Such as figure ...

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 relates to the field of communication, and discloses a hardware accelerated query method and system, electronic equipment and a storage medium. In the embodiment of theinvention, the hardware accelerated query method comprises the following steps: acquiring p groups of characteristic values of a data stream; respectively carrying out hash operation on the p groupsof characteristic values to obtain p hash values respectively corresponding to the p groups of characteristic values; performing exclusive-OR operation on the p hash values, and taking an operation result as an index value corresponding to the data stream; and querying a preset array according to the index value, wherein the preset array comprises each data stream needing to be subjected to hardware acceleration and a preset index value of each data stream needing to be subjected to hardware acceleration. According to the method, the hash algorithm in the hardware accelerated query process ismodified by combining the actual use scene of the home gateway, so that the regularity of the internal characteristic value of the data stream is reduced compared with the operation adopting a singlecharacteristic value, and the hash conflict in the hash algorithm is reduced on the premise of ensuring the actual transmission time.

Description

technical field [0001] The embodiments of the present invention relate to the field of communications, and in particular to the field of hardware acceleration. Background technique [0002] Usually, when the intelligent gateway judges whether to perform hardware acceleration on the data flow, it will perform index query from the stored preset array. The hash function calculates the corresponding hash value, and uses the hash value to index into the preset array for searching. [0003] Ideally, one data stream corresponds to one hash value, but there is a situation where multiple data streams correspond to the same hash value, which is called a hash collision. The characteristics of the data flow in the home gateway are regular. For example, the destination IP in the LAN system is mostly the same network segment (such as 192.168.1.x). , there will be many hash collisions, making the query complex and the query efficiency reduced. Contents of the invention [0004] The pu...

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/801
CPCH04L45/7453H04L47/10Y02D10/00
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