Data aging method for network processor

A network processor and data technology, applied in electrical digital data processing, instruments, memory systems, etc., can solve problems such as data security that cannot be solved, and achieve the effects of improving security, improving efficiency, and reducing resource consumption

Inactive Publication Date: 2005-02-16
HUAWEI TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the existing methods

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 aging method for network processor
  • Data aging method for network processor
  • Data aging method for network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to prevent the data in the memory from occupying too much storage resources and improve the utilization of storage resources, it is usually necessary to delete the infrequently used data stored in the memory to reclaim its resources. Perform an aging operation. Although there are many standards for data aging operations, the actual aging basis is essentially time, that is, delete unused data after timeout and release the storage resources it occupies. Because the existing aging method requires two aging processes and a write operation is required to complete the aging process for an entry in the data table, the efficiency is reduced. At the same time, when data aging operations and data usage operations need to be completed by multiple threads, it will inevitably lead to data operation errors. The essence of this kind of error is caused by multiple threads writing data in the same area at the same time. Therefore, to improve the aging efficiency of data and av...

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 present invention discloses a data ageing method for network processor. Said method includes the following steps: firstly, setting data ageing time interval; according to said time interval, when the data is operated, setting or updating time stamp value of said data; when the data is undergone the proces sof ageing operation, utilizing obtained system time stamp value, and according to the difference of system time stamp value and time stamp value of data which is greater than or equal to the set data ageing time interval or not, judging that said data storage is over time or not, if it is over time, deleting said data. Said method not only can raise efficiency of ageing operation, but also can ensure safety of data.

Description

technical field [0001] The invention relates to a method for updating data stored in a memory, especially a method for updating data based on a network processor (NP). Background technique [0002] For the data stored in the memory, due to the difference in utilization rate, it is usually necessary to perform aging processing on these data, that is, delete long-term unused data in time, so as to save storage resources and store data with high utilization rate. For example, for a data table stored in a network processor (NP), the resources allocated in the NP memory are limited. How to make reasonable use of data table item resources, store useful information as much as possible, and delete useless information , Improve memory utilization? It is an important issue in data table management. Taking the Layer 2 Media Access Control (Mac) forwarding table in the network switching device as an example, the content of the table is the continuously learned Mac address information ...

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
IPC IPC(8): G06F12/00
Inventor 牛琨熊鹰龚华
Owner HUAWEI 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