Method and device for updating data
A data update and data technology, applied in the field of data processing, to achieve the effect of reducing the number of write operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] The embodiment of the present invention provides a method for updating data. Each area in the data structure used in the method includes a data area, an area valid flag, and area verification data, such as figure 1 As shown, the method includes the following steps:
[0025] 101. Determine an invalid area according to the area validity flag and area verification data. It can be judged whether this area is a valid area or an invalid area through the valid flag of the area and the area verification data.
[0026] 102. Update the data area of the invalid area and the area valid flag and area check data of the invalid area. The data area in each area is used to store data to be updated. The updated area valid flag and area verification data of the invalid area make the updated invalid area a valid area, and the unupdated area becomes an invalid area. This ensures that the data to be updated can be correctly updated to the invalid area during the next data update process...
Embodiment 2
[0032] The embodiment of the present invention provides a method for updating data. The data structure used in the method includes two areas, as shown in Table 2 below, and each area includes a data area, an area valid flag, and an area verification data .
[0033] Table 2
[0034]
[0035] The method of data update, such as image 3 shown, including the following steps:
[0036] 301. Determine an invalid area according to the area validity flag and area verification data.
[0037] In the specific implementation process, determining the invalid area according to the area valid flag and the area verification data can be realized in the following manner:
[0038] Firstly, it is checked whether the area verification data of the two areas are correct. The area verification algorithm can be used to calculate the verification value of the data stored in the current area and the area valid flag, and compare the obtained verification value with the area verification data stored...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com