Unlock instant, AI-driven research and patent intelligence for your innovation.

Configuration data storage method, device and equipment

A technology for configuring data and configuring storage, applied in the input/output process of data processing, electrical digital data processing, generation of response errors, etc., can solve problems affecting embedded system performance, frequent erasure of data, etc.

Pending Publication Date: 2021-03-26
ACTIONS ZHUHAI TECH CO
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method, device and equipment for configuring data storage, which solves the problem of frequently erasing data and affecting the performance of embedded systems when NOR Flash stores configuration data

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
  • Configuration data storage method, device and equipment
  • Configuration data storage method, device and equipment
  • Configuration data storage method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0127] An embodiment of the present invention provides a flowchart of a method for configuring data storage, such as figure 1 shown, including:

[0128] Step S101, obtaining the configuration item data to be stored, and determining the expected occupied space of the configuration item data;

[0129] The above-mentioned configuration item data is obtained by encapsulating the configuration data to be stored into a preset format, and adding header data for operations such as verification and auxiliary storage to the above-mentioned configuration data during encapsulation.

[0130] The configuration item data obtained after encapsulation includes header data and configuration parameters, and the configuration parameters include configuration item identification and configuration data, wherein the configuration item identification is used to identify the name of the configuration data.

[0131] The above header data includes but not limited to hash value HASH and cyclic redundanc...

Embodiment approach 1

[0221] Embodiment 1: Set the bit corresponding to the space block to two bits, and determine the above three storage states through the value of the two bits;

[0222] For example, setting 00 corresponds to unstored data, 01 and 10 correspond to storing invalid data, and 11 corresponds to storing valid data;

[0223] For another example, set 00 to correspond to unstored data, 01 to store invalid data, 10 to store the non-start position of valid data, and 11 to store the start position of valid data.

Embodiment approach 2

[0224] Embodiment 2: set a bit corresponding to the space block, and use two values ​​of the bit to map whether the space block stores data.

[0225] Then, when searching for data, the space block with data can be directly located, and whether the data is valid can be judged from the status bit in the space block with data.

[0226] For example, setting 0 corresponds to unstored data, and 1 corresponds to stored data;

[0227] Further, it is possible to map whether the space block stores valid data by setting the value of the bit.

[0228] For example, setting 0 corresponds to non-stored data and stored invalid data, and 1 corresponds to stored valid data;

[0229] Furthermore, the starting position of whether the space block stores valid data can be mapped by setting the value of the bit.

[0230] For example, setting 0 corresponds to the non-starting position of storing no data, storing invalid data and storing valid data, and setting 1 corresponds to the starting position o...

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 configuration data storage method, device and equipment, and the method comprises the steps: obtaining to-be-stored configuration item data, and determining an expected occupied space of the to-be-stored configuration item data; in a plurality of sub-spaces obtained by dividing the configuration storage space, if the free space of the first sub-space for storing the configuration item data last time is greater than the expected occupied space, determining the first sub-space as a target sub-space; otherwise, when it is determined that the next subspace exists and is not occupied, copying the valid data in the first subspace to the next subspace, and updating the next subspace into the target subspace; when it is determined that the next subspace does not exist or is occupied, erasing the subspace where the configuration item data is stored firstly, copying valid data in the first subspace to the erased subspace, and updating the subspace into a target subspace;and sequentially storing the configuration item data into the target subspace. By utilizing the method provided by the invention, the erasure times during data storage of the NOR Flash can be reduced, and the performance is improved.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a method, device and equipment for configuring data storage. Background technique [0002] NOR and NAND are the two main non-volatile flash memory technologies on the market today. The characteristic of NOR is that the application program can run directly in the NOR Flash chip, without having to read the code into the system RAM (Random Access Memory, random access memory); Highly cost-effective when transferring capacity. In addition, NOR FLASH chips also have the advantages of high reliability, small size, high density, erasable, rewritable, etc., so they are widely used in embedded systems. [0003] The NOR Flash chip includes a configuration storage space. The operations of the embedded system on the configuration storage space mainly include reading configuration data, storing configuration data, and erasing configuration data. In the current solution for sto...

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
IPC IPC(8): G06F3/06G06F11/10
CPCG06F3/0607G06F3/0652G06F3/0679G06F11/1004
Inventor 刘炜
Owner ACTIONS ZHUHAI TECH CO