A method of data writing based on memory replacement

A technology of data writing and memory, which is applied in the direction of input/output to record carrier, etc. It can solve the problems of no memory storage for data streams, time-consuming memory pages, large data volume, etc., and achieve stable data writing and retrieval process Convenient and practical effect

Active Publication Date: 2017-08-11
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of video data storage, the kernel often stores the data in the cache first, and then calls the flash thread to flash the data to storage devices such as disks, and the memory is shared by many processes. The kernel needs to allocate memory for the data stream. It takes a lot of time to apply for the relevant memory pages, and there may not be enough memory to store the data when the memory is applied, which causes video frame loss
[0006] In video surveillance (data backup) applications, there is a very significant feature that the amount of writing is much greater than the probability of reading, and the data writing is relatively stable, but the amount of data written at each moment is very large, and the write After that, there is basically no need to read immediately, that is, after writing to the memory, it can be written to the disk. Don’t worry that this will affect the efficiency of reading

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
  • A method of data writing based on memory replacement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] A method for writing data based on memory replacement of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] as attached figure 1 As shown, a method for writing data based on memory replacement is now provided, and the implementation process is as follows:

[0021] Set up the memory architecture and independently design the part of the memory used for data reading and writing, as shown in the attached figure 1 In the area shown, two VLSIs with the same capacity are integrated together. The capacity of each block is equivalent to the capacity of the heap area in memory. Heap area capacity For traditional memory management methods, the heap area capacity has no fixed value and is an area of ​​variable size. For convenience, you can set the memory size to the total size of the stack area.

[0022] Since the business volume of applications such as video surveillance storage or data backup is relatively single, ...

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 provides a method for writing data based on memory replacement, the realization process of which is as follows: setting up the memory structure, independently designing the part used for data reading and writing in the memory, and integrating two integrated circuits with exactly the same capacity ; Perform memory switching, the system starts in general mode when it is just started, and after running for a period of time, the system-related applications are completely loaded, and the memory management unit detects the capacity used by the stack according to the switching mode set by the system, and then according to The actual capacity plus a certain amount of redundancy sets the stack area, then detects the memory used for reading, and adds a certain amount of redundancy to set the read memory, and the remaining memory is completely mapped to the write memory to complete the memory switching process . Compared with the prior art, the method for writing data based on memory replacement can smooth the entire writing process by replacing the memory when writing files, improve the writing performance, have strong practicability, and be easy to popularize.

Description

technical field [0001] The invention relates to the technical field of computer storage systems, more specifically to a method for writing data based on memory replacement. Background technique [0002] In real life, people are dealing more and more with information-based devices. The main purpose of people using these devices is to obtain information, but where does the information come from? This involves information preservation. If information is not preserved, it is impossible to obtain information. Therefore, information preservation plays a supporting role in the entire information field. When it comes to information storage, it is easy for people to think that they use their mobile phones or PCs to save their own files. For this kind of storage, because of the small amount of data, there is generally enough time for the PC to slowly save it. Therefore, in the storage process Generally, there will be no problems such as data loss. [0003] But in real life, some sit...

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): G06F3/06
Inventor 肖健明
Owner LANGCHAO ELECTRONIC INFORMATION IND 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