Electronic equipment and data read-write method

An electronic device, data reading and writing technology, applied in the direction of electrical digital data processing, data processing input/output process, instruments, etc., can solve the problem of unusable storage space, service life decay, excessive and unbalanced storage space erasing and writing frequency, etc. question

Active Publication Date: 2020-03-20
FAURECIA CLARION ELECTRONICS (XIAMEN) CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide an electronic device and a method for reading and writing data, which can avoid the problems of excessive unbalanced frequency of erasing and writing storage space in the electronic device, resulting in attenuation of service life and unusable storage space when the storage space is damaged. Thereby improving the service life of storage devices and the reliability of data storage

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
  • Electronic equipment and data read-write method
  • Electronic equipment and data read-write method
  • Electronic equipment and data read-write method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0070] The method embodiments provided by the embodiments of the present invention and corresponding to the electronic device embodiments provided above are described below. It should be noted that, for the explanation of relevant content in the following method embodiments, reference may be made to the above-mentioned device embodiments.

[0071] An embodiment of the present invention provides a method for reading and writing data. The method is applied to an electronic device. The storage space of the electronic device includes a first main block, and target data is stored in the first main block. The method include:

[0072] S601. Create a first sub-block in a free storage space in the electronic device.

[0073] S602. Save the update data received by the electronic device in the first sub-block; the update data is used to update the target data.

[0074] S603. After the first sub-block satisfies the first preset condition, update the target data by using the latest data ...

Embodiment 3

[0089] An embodiment of the present invention also provides a computer storage medium, which includes instructions, and when the computer storage medium is run on the electronic device, the electronic device executes the data reading and writing method provided by the above-mentioned embodiments.

[0090] The embodiment of the present invention also provides a computer program product including instructions, which is characterized in that, when it is run on a computer, it causes the computer to execute the method for reading and writing data as provided in the above-mentioned embodiments.

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 embodiment of the invention provides electronic equipment and a data read-write method. The equipment and the method relate to the field of data storage. According to the embodiment of the invention, the problem that the erasing frequency of the storage space in the electronic equipment is excessively unbalanced can be solved. The electronic equipment provided by the embodiment of the invention comprises a storage unit used for storing update data acquired by the electronic equipment into a first auxiliary block in an idle storage space of the electronic equipment; an updating unit which is used for updating the target data by utilizing the latest updating data in the first auxiliary block after the first auxiliary block meets a first preset condition; a storage unit which is further used for storing the updating data acquired by the electronic equipment into the second auxiliary block after the first auxiliary block meets a second preset condition; and a updating unit which is further used for updating the updated target data by utilizing the latest updating data in the second auxiliary block after the second auxiliary block meets a third preset condition. The method and the device are applied to a data storage scene in the electronic equipment.

Description

technical field [0001] The invention relates to the field of data storage, in particular to an electronic device and a method for reading and writing data. Background technique [0002] The storage space in an electronic device has a certain service life, and there is a limit to the number of data writing operations, which is about 100,000 times. At present, when data is stored, the data is usually stored in a designated location in the storage space in a predetermined order, and then when the stored data is updated, the data in the designated location is directly rewritten. It may happen that part of the storage space fails due to frequent erasing and writing, while another part of the storage space has not been used, which seriously affects the service life of the storage device and the reliability of data storage. Contents of the invention [0003] Embodiments of the present invention provide an electronic device and a method for reading and writing data, which can avo...

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 & AuthorityApplications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0616G06F3/0652G06F3/0644
Inventor盘桂云蔡三龙杨鹏飞
OwnerFAURECIA CLARION ELECTRONICS (XIAMEN) CO LTD