Method and device for memorizing and reading data based on Hash algorithm
A data storage and hash algorithm technology, applied in the field of microcode processing, can solve problems such as adverse network device performance, hash table entries and microcode instructions occupying storage space, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] In order to effectively save the storage space of microcode instructions and hash table entries and improve the performance of network equipment, the embodiment of the present invention provides a method and device for storing and reading data based on a hash algorithm. In the embodiment of the present invention, this method is adopted for each type of access, because there is no need to separately use microcode to write corresponding processes for different access types, which saves microcode instructions. In addition, in the embodiment of the present invention, for each All access types use this hash table, but set the identification information corresponding to the obtained keywords according to each access type, and determine the storage of data in the hash table according to the set identification information and keywords Therefore, the storage space of the hash table is saved, thereby effectively improving the performance of the network device.
[0020] In order t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 