Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting memory unit

A technology for memory units and devices, applied in error detection/correction, memory address/allocation/relocation, instrumentation, etc., to solve problems such as repeated MMU address release and system paralysis

Inactive Publication Date: 2014-08-13
HUAWEI TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When the storage access module releases the MMU address of the memory unit to the memory management module, the MMU address of the same memory unit may be released repeatedly; and when the storage access module applies for a memory unit from the memory management module, the memory management module may issue the same The MMU address of the memory unit is allocated repeatedly, which may cause system paralysis

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 detecting memory unit
  • Method and device for detecting memory unit
  • Method and device for detecting memory unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0024] see figure 1 , the embodiment of the present invention provides a method for detecting a memory unit, including:

[0025] Step 101: Obtain the address of the memory unit, the address of the memory unit is the address of the memory unit to be released by the storage access module or the address of the memory unit allocated for the memory management module, and the memory unit is a memory unit in the external cache;

[0026] Step 102: Obtain the memory state of the memory unit according to the address of the memory unit;

[0027] Step 103: Detect the legality of the address of the memory unit according to the memory state of the memory unit;

[0028] Step 104: If the address of the memory unit is legal and the address of the mem...

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 invention discloses a method and a device for detecting a memory unit, and belongs to the field of computers. The method comprises the steps of obtaining an address of the memory unit, wherein the address of the memory unit is an address of a memory unit which needs to be released by a memory access module or an address of a memory unit which is allocated by a memory management module; obtaining a memory state of the memory unit according to the address of the memory unit; detecting the legitimacy of the address of the memory unit according to the memory state of the memory unit; controlling the memory management module to recycle the address of the memory unit if the address of the memory unit is legal and is the address of the memory unit which needs to be released by the memory access module; allocating the address of the memory unit to the memory access module if the address of the memory unit is legal and is the address of the memory unit which is allocated by the memory management module. According to the method and the device for detecting the memory unit, disclosed by the invention, system breakdown can be prevented from being caused.

Description

technical field [0001] The invention relates to the field of computer and communication, in particular to a method and equipment for detecting a memory unit. Background technique [0002] With the increase of information capacity in the network, network devices will cache a large amount of data in the external cache during data processing, and effectively manage the external cache in the process of processing data to make full use of the external cache. bandwidth and capacity. [0003] The network device manages the external cache through the storage access module and the memory management module, wherein the external cache is divided into multiple memory units, and the memory management module includes the MMU (Memory Management Unit, memory management unit) of the free memory unit in the external cache unit) address; when the storage access module needs to cache data in the external cache, it applies for a memory unit from the memory management module, and the memory mana...

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): G06F11/00G06F12/02
Inventor 江龙戴崇经张朋
Owner HUAWEI TECH CO LTD