Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for managing cache

A cache and management unit technology, applied in the field of data communication, can solve problems such as poor cache reliability, and achieve the effects of improving reliability, reducing the probability of interruption, and reducing the probability of losing messages

Active Publication Date: 2019-10-29
MAIPU COMM TECH CO LTD
View PDF24 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present application provides a method and device for managing cache, which are used to solve the problem of poor reliability of cache

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
  • Method and device for managing cache
  • Method and device for managing cache
  • Method and device for managing cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0033] Such as figure 1 As shown, the embodiment of the present application provides a method for managing cache, which is applied to a device for managing cache. The device includes a master management unit and at least two slave management units, wherein each slave management unit is used to process a types of messages. in, figure 1 The method steps shown in will be presented below and will not be repeated here.

[0034] It should be noted that in order to reduce the cache cost, differ...

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 application discloses a cache management method and device, which relate to the technical field of communication networks and can solve the technical problem of poor cache reliability. The device includes a master management unit and at least two slave management units, each slave management unit is used to process a type of message, and the method includes: if the total amount of free cache is less than or equal to a first threshold, the master management unit According to the weight of each slave management unit, assign the idle cache to each slave management unit, and the free cache capacity allocated to each slave management unit is positively related to its weight; or when the cache capacity used by the slave management unit is greater than or When it is equal to the third threshold, if the total amount of free cache is greater than or equal to the second threshold, the master management unit increases the cache capacity of the slave management unit, temporarily increases the ability of the slave management unit to occupy the shared cache, and reduces at least one other slave management unit. The cache capacity of the unit, where increased cache capacity is equal to decreased cache capacity. The solution provided by this application is suitable for managing shared cache.

Description

technical field [0001] The present application relates to the technical field of data communication, and in particular to a method and device for managing cache. Background technique [0002] The rapid development of communication technology has greatly facilitated the communication between people, and also created a huge demand for data transmission, which requires communication devices such as routers to have higher data transmission capabilities. It should be noted that when a router sends and receives packets, it needs to perform processing such as encapsulation / decapsulation on the received packets before sending them out. It can be seen that the router also needs to have the ability to store received but unsent packets. ability. [0003] In order to facilitate routers to process various types of packets such as ordinary packets, encrypted packets, flow control packets, and protocol packets, the router usually allocates buffers to different types of packets during 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 Patents(China)
IPC IPC(8): H04L12/917H04L12/861H04L47/76
CPCH04L47/76H04L49/9005
Inventor 孙琳洋
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products