Supercharge Your Innovation With Domain-Expert AI Agents!

Data storage method, reading method and system for extending memory usage time

A data storage system and technology for storing data, applied in electrical digital data processing, the input/output process of data processing, instruments, etc., can solve the problem that the life of the memory does not meet the system design requirements, the memory usage time is short, and the memory usage rate is low. and other problems to maximize utilization, meet debugging requirements, and reduce cumbersome effects

Active Publication Date: 2017-03-15
HUIZHOU BNET TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, when data is stored, the erasing and writing operations are frequently repeated on a certain area in the memory, while other storage areas rarely or never perform erasing and writing operations, resulting in low memory usage, and ultimately lead to long memory usage time. Short, for data streams that need to be stored frequently, the life of the memory may not meet the system design requirements
In addition, in some applications that need to replace the hardware, the data in the original system may be lost after the replacement of the hardware

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
  • Data storage method, reading method and system for extending memory usage time
  • Data storage method, reading method and system for extending memory usage time
  • Data storage method, reading method and system for extending memory usage time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1 of the present invention provides a method for prolonging storage usage time and storing data query, figure 1 It is a flow chart of the method of Embodiment 1 of the present invention, please refer to figure 1 , the method of the embodiment of the present invention includes the following steps:

[0050] Step S101, pre-allocating more than one storage area in the memory for the data to be stored;

[0051] Step S102 , during the data storage process, the data to be stored is stored in the memory in a manner of switching storage areas in turn.

[0052] For implementing the present invention better, described step 102 comprises the following steps:

[0053] Step S1021, setting a flag variable FLAG for the data to be stored;

[0054] Step S1022, when writing data, determine which storage area the current storage operation will write the data to be stored into according to the flag variable FLAG;

[0055] Step S1023, writing the data to be stored and its flag...

Embodiment 2

[0061] Embodiment 2 of the present invention provides a data reading method for prolonging the usage time of the memory, which is a further technical solution based on Embodiment 1. image 3 It is the method flowchart of the second embodiment of the present invention, please refer to image 3 , the method of the embodiment of the present invention includes the following steps:

[0062] Step S201, read the flag variable FLAG in each storage area;

[0063] Step S202, judging the storage area where the latest data is located according to the flag variable FLAG of each storage area;

[0064] Step S203, reading the data in the storage area corresponding to the judgment result as valid data.

[0065] The specific process of the step S202 is as follows:

[0066] Compare the size of the flag variable FLAG in each storage area, and use the storage area with the largest flag variable FLAG as the storage area where the latest data is located.

Embodiment 3

[0068] Embodiment 3 of the present invention provides a data storage system that prolongs the usage time of the memory, Figure 4 It is a structural block diagram of the third embodiment of the present invention, please refer to Figure 4 , the update system of the embodiment of the present invention includes a storage area allocation module 1 and a data processing module 2;

[0069] The storage area allocation module 1 is used to pre-allocate more than one storage area in the memory for the data to be stored;

[0070] The data processing module 2 is configured to store the data to be stored in the memory in a manner of switching storage areas in turn during the data storage process.

[0071] The data processing module 2 includes a flag variable setting module 21, a storage area selection module 22 and a writing module 23;

[0072] The flag variable setting module 21 is used to set a flag variable FLAG for the data to be stored;

[0073] The storage area selection module 22...

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 data storage method, reading method and systems for prolonging the service life of a memory.The data storage method includes the steps that firstly, one or more storage areas are allocated for data to be stored in the memory in advance; secondly, in the data storage process, the data to be stored is stored in the memory in the mode that the storage areas are switched in turn.The data reading method includes the steps that firstly, marking variables FLAG in the storage areas are read; secondly, according to the marking variables FLAG of the storage areas, the storage area where the latest data is located is judged; thirdly, data of the storage area corresponding to a judgment result is read to serve as effective data.The storage system comprises a storage area allocation module and a data processing module.The reading system comprises a marking variable reading module, a judgment module and an execution module.The utilization rate of the memory is maximized through the methods, system design requirements can still be met even if a memory low in number of operation times is selected and used, and accordingly cost is lowered.

Description

technical field [0001] The invention relates to the technical field of electric vehicles, and more specifically relates to a data storage method, a reading method and a system for prolonging the service time of a memory. Background technique [0002] In recent years, with the development of information technology, the security of data stored on storage media and the ability to restore data have attracted increasing attention, which puts forward higher and higher requirements for the service life of storage media for storing data to ensure that The data is not damaged, and it is also hoped that the accidentally deleted data can be recovered in the case of misoperation or virus infestation. In the prior art, when data is stored, the erasing and writing operations are frequently repeated on a certain area in the memory, while other storage areas rarely or never perform erasing and writing operations, resulting in low memory usage, and ultimately lead to long memory usage time. ...

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
CPCG06F3/0616G06F3/064G06F3/0679
Inventor 徐文赋任素云
Owner HUIZHOU BNET TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More