Supercharge Your Innovation With Domain-Expert AI Agents!

Record pointer processing method

A processing method and pointer technology, applied in electrical digital data processing, memory address/allocation/relocation, instruments, etc., can solve the problems of uneven erasing and writing of traditional Flash chips, short service life, etc., to improve service life and space The effect of utilization

Active Publication Date: 2020-05-08
HUIZHOU TECHZEN IOT SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a recording pointer processing method to solve the technical problems of uneven erasing and writing of traditional Flash chips and short service life

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
  • Record pointer processing method
  • Record pointer processing method
  • Record pointer processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The embodiments of the present invention are described in detail below. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention, but should not be construed as limiting the present invention.

[0044] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " "Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Clockwise", "Counterclockwise" and other directions or positions indicated The relationship is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present...

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 present invention discloses a record pointer processing method. The method comprises the following steps: performing a write operation; writing into data records from a starting address of a data recording area; after the writing is completed, setting the starting address of the data recording area as a read record pointer p1, and the starting address of the last data record in the writing as a write record pointer p2; calculating the number X of the total write data records; performing the write operation again; setting the write record pointer p2 last time as the read record pointer p1 this time; adding the length M to the address corresponding to the read record pointer p1, wherein the obtained address is the starting address D1 of the write data record this time; writing into the data records from the starting address D1, and setting the starting address corresponding to the last data record in all data records this time as the write record pointer P2 in the writing this time; calculating the number X1 of the data records in the writing this time; and calculating the number X of the total write data records. According to the method disclosed by the present invention, the service life and the space utilization rate of the Flash chip can be effectively improved.

Description

Technical field [0001] The invention relates to the technical field of Internet of Things equipment, in particular to a method for processing record pointers. Background technique [0002] NorFlash is widely used in embedded data storage solutions due to its advantages of easy erasing, fast reading and writing, and high cost performance. Such as Winbond W25 series Flash chip, the chip storage space is 4M bytes, divided into 64 blocks, each block is 16 sectors, each sector is 4K bytes, a total of 1024 sectors. [0003] Since the Flash write operation can only change the memory cell from 1 to 0, the erase operation (that is, the memory cell becomes 1) must be performed before writing data. The Flash chip mentioned above only supports sector erasure. Suppose you want to write a piece of 100 bytes of data to the nth sector, and the storage location is the 1000th to 1099th byte of the sector. First read all the data in this sector CPU memory, then replace the contents of the 1000th to...

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): G06F12/02
CPCG06F12/0246
Inventor 石教辉黄俊祥曾宪聪
Owner HUIZHOU TECHZEN IOT SCI & 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