Method and system for storing data by using Flash and RAM (random-access memory)

A data storage system and data storage technology, applied in the field of data storage methods and systems including Flash and RAM, can solve the problems of large amount of stored data, short PLC power-off retention time, etc., to reduce the number of times of erasing and writing, and prolong the service life , the effect of increasing the storage capacity

Inactive Publication Date: 2014-04-30
SHENZHEN UNIMAT AUTOMATION TECH
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a data storage method and system including Flash and RAM, aiming to solve the conflict between the short PLC power-down retention time and the large amount of stored data in the prior art. question

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 system for storing data by using Flash and RAM (random-access memory)
  • Method and system for storing data by using Flash and RAM (random-access memory)
  • Method and system for storing data by using Flash and RAM (random-access memory)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention provides a data storage method and system including Flash and RAM. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] The following combination figure 1 The data storage method comprising Flash and RAM described in the present invention is described in detail, wherein, figure 1 It is a flow chart of steps in a preferred embodiment of a data storage method including Flash and RAM provided by the present invention.

[0043] Step S101, when the system is powered on, copy the data to be run in the Flash to the RAM for storage, decompress and decrypt it in the RAM, and then run the decompressed and decrypted data in the...

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 provides a method and a system for storing data by using a Flash and a Ram (random-access memory). The method comprises the following steps of copying data to be run in the Flash into the RAM and storing the data to be run in the RAM when the system is powered on; decompressing and decrypting the data to be run in the RAM; running the decompressed and decrypted data in the RAM; encrypting and compressing the data running in the RAM to obtain encrypted and compressed data when the system is powered down; and copying the encrypted and compressed data into the Flash and storing the encrypted and compressed data in the Flash. Because a compression algorithm is performed on the data, the storage quantity of the data in the Flash is greatly increased, and the downloading speed and the uploading speed of the data are also increased. Moreover, the data only run in the RAM; and when the system is powered down, the data are stored in the FLASH, so that the erasing frequency of the FLASH is reduced, and the service life of the FLASH is prolonged.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method and system including Flash and RAM. Background technique [0002] The PLC (Programmable Logic Controller, programmable logic controller, which is an electronic system operated by digital operations, and a controller specially designed for applications in industrial environments) currently on the market, in order to achieve greater storage capacity and longer Power-down retention time, generally use large capacitors to store more energy to prolong the power-down retention time, and use large-capacity memories such as NAND FLASH and MMC (MultiMedia Card, MultiMedia Card) memory cards with faster read and write speeds to achieve greater Storage capacity. There are also some PLCs that use RAM and battery-powered methods to maintain data. In the prior art, when the MMC card is used, the problem of poor contact of the card slot will occur as the product age...

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 Applications(China)
IPC IPC(8): G06F12/16
Inventor 李华平胡远超
Owner SHENZHEN UNIMAT AUTOMATION TECH
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