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

Storage method and device for swap equipment anonymous page, equipment and storage medium

A technology for storage media and storage devices, applied in the input/output process of data processing, instruments, input/output to record carriers, etc., can solve the problems of affecting the life of flash, low reading efficiency, and fragmentation of flash, and achieve improvement Effects of user experience, improved reading efficiency, and service life

Pending Publication Date: 2022-06-03
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are several problems in this kind of random swapping to the swap device. The first is that the reading efficiency is low. The multiple addresses of the anonymous page of the same process on the swap device need to be read multiple times; the second is especially in the embedded system. For example, in mobile phone products, the swap device is flash, and random reading and writing will cause flash fragmentation and affect the life of the flash; thirdly, when the swap device is a hard disk, it needs to move the magnetic head multiple times to read multiple data of the same process, and the efficiency will be lower

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
  • Storage method and device for swap equipment anonymous page, equipment and storage medium
  • Storage method and device for swap equipment anonymous page, equipment and storage medium
  • Storage method and device for swap equipment anonymous page, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0020] In the following description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.

[0021] figure 2 is a flow chart of a method for storing anonymous pages of a swap device provided in Embodiment 1 of the present invention, as shown in figure 2 shown, including:

[0022] Step S101: when the target anonymous page needs to be swapped out from the system to the swap device, determine the application process to which the target anonymous page belongs;

[0023] Step S102: when the application process to which the target anonymous page belongs is swapped out from the system to the swap device for the first time, ...

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 discloses a storage method and device for exchanging an anonymous page of a swap device, equipment and a storage medium, and the method comprises the steps: determining an application process to which a target anonymous page belongs when the target anonymous page needs to be swapped from a system to the swap device; and when the application process to which the target anonymous page belongs is switched out from the system to the swap equipment for the first time, allocating a first block for storing the anonymous page to the application process, and storing the target anonymous page of the application process in a free address of the first block.

Description

technical field [0001] The invention relates to the technical field of swap device data storage, in particular to a method, device, device and storage medium for storing anonymous pages of a swap device. Background technique [0002] In the existing technology, when the memory is tight, the system will select some anonymous pages of the process to swap to the swap device. At this time, when the anonymous page of the same process is swapped out to the swap device, it will be randomly swapped to a different address of the swap device. The processing method is as follows: figure 1 shown. There are several problems in this random swap to the swap device. The first is the low reading efficiency. The anonymous pages of the same process need to be read multiple times on the swap device. Second, especially in embedded systems, For example, in mobile phone products, the swap device is flash, and random read and write will lead to fragmentation of the flash and affect the life of th...

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): G06F3/06
CPCG06F3/061G06F3/0665G06F3/064G06F3/0652G06F3/067
Inventor 刘洪霞阮美思
Owner ZTE CORP