Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A read-write protection method for stored data

A technology for data storage, read and write protection, applied in the protection of internal/peripheral computer components, etc., can solve problems such as damage, negative user impact, data damage, etc., to protect important data and prevent rewriting.

Inactive Publication Date: 2018-01-23
SHENZHEN RAPOO TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the similar peripheral products currently on the market, the relevant configuration information is stored in the rewritable storage unit inside the product chip or in the rewritable memory outside the chip. However, when the device is powered off, the product chip often appears The reset circuit of the chip failed to reset immediately, resulting in disordered program operation during the short period of power-off of the chip, which in turn led to rewriting or destroying the data in the storage unit, and such data damage cannot be recovered, and may cause serious damage to the user. Causes a huge negative impact, making users think that the product quality is poor, and returns and exchanges occur frequently

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
  • A read-write protection method for stored data
  • A read-write protection method for stored data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0025] combine figure 1 A first embodiment of the present invention will be described.

[0026] figure 1 It is a flowchart of a method for reading and writing protection of stored data in the first embodiment of the present invention, and is described in detail as follows:

[0027] Step S101, setting an unlock constant, a lock constant, and an unlock / lock variable, and setting the initial value of the unlock / lock variable as the lock constant.

[0028] In this em...

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 discloses a storage data reading and writing protection method. The method comprises setting unlocking constants, locking constants and unlocking / locking variables, setting the initial value of the unlocking constants as the locking constants; creating an unlocking interface, and assigning the unlocking constants to the unlocking / locking constants in a high-to-low bit-by-bit mode; receiving a program command for reading / writing storage data and calling the unlocking interface; determining whether the unlocking / locking variables are equal to the unlocking constants, if so, calling the reading and writing interface of the storage data and executing the operation of storage data reading and writing, and if not, inhibiting the storage data reading and writing. The storage data reading and writing protection method can avoid rewriting data inside a storage device due to program running disorder during power interruption.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a read-write protection method for stored data. Background technique [0002] In electronic devices such as 2.4G / 5G Bluetooth, the paired ID and some configuration information will be stored in storage devices such as EEPROM and FLASH, so that users do not need to re-enter pairing or other configuration information when using the device later. [0003] In the similar peripheral products currently on the market, the relevant configuration information is stored in the rewritable storage unit inside the product chip or in the rewritable memory outside the chip. However, when the device is powered off, the product chip often appears The reset circuit of the chip failed to reset immediately, resulting in disordered program operation during the short period of power-off of the chip, which in turn led to rewriting or destroying the data in the storage unit, and such data damage cannot be rec...

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): G06F21/79
CPCG06F21/79
Inventor 何俊宏
Owner SHENZHEN RAPOO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products