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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com