CN112711780A - Memory unlocking method, system, storage medium and computer equipment - Google Patents

Memory unlocking method, system, storage medium and computer equipment Download PDF

Info

Publication number
CN112711780A
CN112711780A CN201911029932.8A CN201911029932A CN112711780A CN 112711780 A CN112711780 A CN 112711780A CN 201911029932 A CN201911029932 A CN 201911029932A CN 112711780 A CN112711780 A CN 112711780A
Authority
CN
China
Prior art keywords
flash
sector
unlocking
memory
unlocked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911029932.8A
Other languages
Chinese (zh)
Inventor
陈静勇
唐军
蒋国涛
刘望
叶�武
蒋晓艳
余万能
何佩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN201911029932.8A priority Critical patent/CN112711780A/en
Publication of CN112711780A publication Critical patent/CN112711780A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a method, a system, a storage medium and a computer device for unlocking a memory, and belongs to the technical field of computers, wherein the unlocking method comprises the following steps: when the Flash is in a locked state, a locking protection bit on the Flash is removed so as to synchronously unlock all sectors of the Flash; and inquiring each sector of the Flash to determine whether the Flash is successfully unlocked according to an inquiry result. The invention has the beneficial effects that: the whole Flash can be directly unlocked through one-time operation, so that the time required for unlocking the whole Flash is only 1-2 seconds, and the working efficiency can be greatly improved.

Description

Memory unlocking method, system, storage medium and computer equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, a storage medium, and a computer device for unlocking a memory.
Background
Nor Flash (Flash memory) is one of the two major types of non-volatile memory on the market today. When the Nor Flash is used in the embedded system, in order to protect the data on the Nor Flash from being abnormally rewritten, the lock operation on the whole Flash is required. Therefore, when data on the Nor Flash needs to be updated or erased, the whole Flash needs to be unlocked. However, the existing Flash unlocking technology is to perform recursive unlocking on each sector of Flash, which results in too long unlocking time and extremely affects working efficiency.
Disclosure of Invention
The present invention is based on the above technical problem, and provides a memory unlocking method, system, storage medium, and computer device capable of quickly unlocking a memory.
In a first aspect, an embodiment of the present invention provides a memory unlocking method, including:
when the Flash is in a locked state, a locking protection bit on the Flash is removed so as to synchronously unlock all sectors of the Flash;
and inquiring each sector of the Flash to determine whether the Flash is successfully unlocked according to an inquiry result.
Further, querying each sector of the Flash to determine whether the Flash is successfully unlocked according to a query result, including:
inquiring each sector of the Flash to judge whether the sector is successfully unlocked; and when inquiring that each sector of the Flash is successfully unlocked, determining that the Flash is successfully unlocked, and when inquiring that the sector of the Flash is unsuccessfully unlocked, determining that the Flash is unsuccessfully unlocked.
Further, querying each sector of the Flash to determine whether the sector is successfully unlocked includes:
and continuously and repeatedly acquiring the first address data of the same sector of the Flash, determining that the sector is successfully unlocked when the first address data acquired each time are consistent, and determining that the sector is failed to unlock when the first address data acquired each time are inconsistent.
Further, after inquiring that the Flash has sector unlocking failure, the method further comprises the following steps:
after waiting for the preset time, inquiring the sector with the unlocking failure again;
and when the result of inquiring the sector with the unlocking failure again is unlocking failure, determining that the Flash is unlocked failure.
In a second aspect, an embodiment of the present invention further provides a memory unlocking system, including:
the unlocking module is configured to clear the locking protection bit on the Flash when the Flash is in a locking state so as to synchronously unlock all sectors of the Flash;
and the query module is configured to query each sector of the Flash so as to determine whether the Flash is successfully unlocked according to a query result.
Further, the query module includes:
the sector query unit is configured to query each sector of the Flash;
and the Flash unlocking judgment unit is configured to receive the result of inquiring each sector by the sector inquiry unit, determine that the Flash is successfully unlocked when each sector of the Flash is successfully unlocked, and determine that the Flash is unsuccessfully unlocked when the sector unlocking failure exists in the Flash.
Further, the sector querying unit includes:
the address query module is configured to acquire first address data of a sector of the Flash;
and the sector unlocking judging unit is configured to receive the first address data of the same sector of the Flash, which is obtained by the address querying unit continuously for multiple times, judge that the sector is successfully unlocked when the first address data obtained each time are consistent, and judge that the sector is failed to unlock when the first address data obtained each time are inconsistent.
Further, the query module is configured to query the sector with the failed unlocking again after waiting for the preset time, and determine that the Flash is failed to unlock when the result of querying the sector with the failed unlocking again is the unlocking failure.
In a third aspect, an embodiment of the present invention further provides a storage medium, where the storage medium stores program codes, and when the program codes are executed by a processor, the method for unlocking a memory according to any one of the foregoing embodiments is implemented.
In a fourth aspect, an embodiment of the present invention provides a computer device, where the computer device includes a memory, a processor, and a program code stored in the memory and executable on the processor, where the program code, when executed by the processor, implements the memory unlocking method according to any one of the above embodiments.
According to the memory unlocking method provided by the embodiment of the invention, all sectors of the Flash are synchronously unlocked by directly clearing the locking protection bit on the Flash, so that the whole Flash can be unlocked. And inquiring each sector of the Flash to determine whether the Flash is successfully unlocked according to an inquiry result. Therefore, the memory unlocking method provided by the embodiment of the invention does not need to recursively unlock the back block (sector), and directly unlocks the whole Flash through one-time operation, so that the time for unlocking the whole Flash only needs 1-2 seconds, and the working efficiency can be greatly improved.
Drawings
The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. Wherein the included drawings are:
FIG. 1 is a flow chart illustrating a method for unlocking a memory according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a memory unlocking method according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the following will describe in detail an implementation method of the present invention with reference to the accompanying drawings and embodiments, so that how to apply technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
When the Nor Flash is used in the embedded system, in order to protect data on the Nor Flash from being abnormally rewritten, the locking operation on the whole Nor Flash is required. Due to the actual use requirements, such as debugging or field updating, the application target file is often required to be updated, and the Nor Flash is required to be unlocked integrally before updating. Although the Linux kernel provides a command for unlocking Nor Flash, the time required to unlock the entire Flash through the command is long. The procedure of commanding to unlock the Nor Flash is to call a functional interface for unlocking a single block (sector) to unlock the Nor Flash, so that the procedure of commanding to unlock the Nor Flash by the Linux kernel is as follows: unlocking the Nor Flash of the whole block, and locking other blocks except the first block; and continuing to unlock the Nor Flash integral, locking other blocks except the first block and the second block, and circulating until all the blocks are unlocked, so as to unlock the Nor Flash integral.
However, the Linux kernel command is used for unlocking the Nor Flash, and since recursive unlocking is always performed on the Nor Flash sector, many unnecessary operations are performed, so that the unlocking time is too long, and the working efficiency is seriously influenced.
Based on the discovery of the above technical problems, the present invention proposes the following technical solutions to solve or improve the above problems, and it should be noted that the defects of the above prior art solutions are the results of the inventor after practice and careful study, therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present invention to the above problems should be the contribution of the inventor to the present invention in the course of the present invention.
Example one
According to an embodiment of the present invention, a method for unlocking a memory is provided, and fig. 1 shows a schematic flow chart of a method for unlocking a memory according to an embodiment of the present invention, as shown in fig. 1, the method for unlocking a memory may include: step 110 to step 120.
In step 110, when Flash is in a locked state, the locking protection bit on the Flash is cleared, so as to synchronously unlock all sectors of the Flash.
Here, the application target file is usually stored in Flash, and the application target file can be prevented from being abnormally modified by locking the Flash in its entirety. However, in practical applications, the application target file stored in Flash needs to be updated, and then the Flash needs to be unlocked in its entirety. Therefore, when the Flash is in a locked state, the data stored on the Flash cannot be modified. The whole Flash can be unlocked by directly removing the locking protection bit on the Flash, so that the Flash can be operated to erase or update the application target file.
The step of clearing the locking protection bit on the Flash refers to clearing a value on an area storing the locking mark on the Flash so as to set the Flash to be in an unlocking state. For example, function code 1 is a function code for locking Flash, and function code 2 is a function code for unlocking Flash. When the function code 1 is written in a specific area of the Flash, the Flash can be locked; when the function code 1 on the specific area is modified into the function code 2, the Flash can be unlocked.
In step 120, each sector of the Flash is queried to determine whether the Flash is successfully unlocked according to a query result.
And after the Flash is unlocked in a whole piece, each sector of the Flash can be successfully unlocked, so that each sector of the Flash is inquired, and whether the Flash is successfully unlocked can be determined according to the inquiry result.
It is worth to be noted that the memory unlocking method provided by the invention can quickly unlock the whole Cfi Nor Flash. The Cfi is a universal Flash interface, is an open standard interface for reading data from the Flash memory device, and can enable system software to inquire various parameters of the installed Flash memory device. Including array structure parameters, electrical and temporal parameters, and device supported functions, etc. In addition, the memory unlocking method provided by the invention can also be applied to other types of Nor Flash or NAND Flash.
In the embodiment, the whole Flash can be unlocked by directly clearing the locking protection bit on the Flash without calling a Linux kernel command to unlock the whole Flash. The block behind the block is not required to be recursively unlocked, the whole Flash is directly unlocked through one-time operation, so that the time for unlocking the whole Flash only needs 1-2 seconds, and the working efficiency is greatly improved.
In an optional embodiment, in step 120, querying each sector of the Flash to determine whether the Flash is successfully unlocked according to a query result may include:
inquiring each sector of the Flash to judge whether the sector is successfully unlocked; and when inquiring that each sector of the Flash is successfully unlocked, determining that the Flash is successfully unlocked, and when inquiring that the sector of the Flash is unsuccessfully unlocked, determining that the Flash is unsuccessfully unlocked.
And inquiring each sector of the Flash in sequence until all the sectors are polled once. And when inquiring that each sector of the Flash is successfully unlocked, determining that the Flash is successfully unlocked, and when inquiring that the sector of the Flash is unsuccessfully unlocked, determining that the Flash is unsuccessfully unlocked.
In an optional embodiment, querying each sector of the Flash to determine whether the sector is successfully unlocked includes:
and continuously and repeatedly acquiring the first address data of the same sector of the Flash, determining that the sector is successfully unlocked when the first address data acquired each time are consistent, and determining that the sector is failed to unlock when the first address data acquired each time are inconsistent.
Here, the first address data of the same sector is continuously acquired for multiple times, and when the acquired first address data are consistent each time, it is determined that the sector is successfully unlocked. For example, the first address data of the same sector is read twice in succession, and if the first address data read twice are consistent, it can be determined that the sector is successfully unlocked. If the sector unlocking is not consistent with the sector unlocking, the sector unlocking is determined to fail.
In an optional implementation manner, after querying that the Flash has a sector unlocking failure, the method further includes:
after waiting for the preset time, inquiring the sector with the unlocking failure again;
and when the result of inquiring the sector with the unlocking failure again is unlocking failure, determining that the Flash is unlocked failure.
Here, when polling each sector, if there is a sector unlock failure, waiting for a preset time, and then querying the sector with the unlock failure again, where the preset time may be 10 microseconds. And when the result of inquiring the sector with the unlocking failure again is unlocking failure, determining that the Flash is unlocked failure. By inquiring again after the interval of the preset time, the error generated during inquiring can be reduced so as to correctly judge whether the sector is successfully unlocked.
Example two
Fig. 2 is a flowchart illustrating a memory unlocking method according to a second embodiment of the present invention, and as shown in fig. 2, the memory unlocking method may include the following steps:
entering a Flash locking/unlocking setting mode;
clearing a locking protection bit of the Flash to unlock the whole Flash;
here, the application target file is usually stored in Flash, and the application target file can be prevented from being abnormally modified by locking the Flash in its entirety. However, in practical applications, the application target file stored in Flash needs to be updated, and then the Flash needs to be unlocked in its entirety. Therefore, when the Flash is in a locked state, the data stored on the Flash cannot be modified. The whole Flash can be unlocked by directly removing the locking protection bit on the Flash, so that the Flash can be operated to erase or update the application target file.
The step of clearing the locking protection bit on the Flash refers to clearing a value on an area storing the locking mark on the Flash so as to set the Flash to be in an unlocking state. For example, function code 1 is a function code for locking Flash, and function code 2 is a function code for unlocking Flash. When the function code 1 is written in a specific area of the Flash, the Flash can be locked; when the function code 1 on the specific area is modified into the function code 2, the Flash can be unlocked.
Inquiring each sector of the Flash, and judging whether the sector is successfully unlocked;
here, after the Flash is unlocked in a whole piece, each sector of the Flash is successfully unlocked, so that each sector of the Flash is queried, and then whether the Flash is successfully unlocked can be determined according to a query result.
When the current inquired sector is not successfully unlocked, judging whether the inquiry time is overtime or not, if not, inquiring the sector with failed unlocking again after 10us, and if yes, determining that the Flash is failed to unlock and outputting error information;
when the currently inquired sectors are successfully unlocked, judging whether all the sectors are inquired completely, and if all the sectors are inquired completely, exiting to enter a Flash locking/unlocking setting mode; if not, returning to query the sectors which are not queried.
Here, the operation of inquiring whether the sector is unlocked successfully is: and continuously and repeatedly acquiring the first address data of the same sector of the Flash, determining that the sector is successfully unlocked when the first address data acquired each time are consistent, and determining that the sector is failed to unlock when the first address data acquired each time are inconsistent.
EXAMPLE III
There is also provided, in accordance with an embodiment of the present invention, a memory unlocking system, including:
the unlocking module is configured to clear the locking protection bit on the Flash when the Flash is in a locking state so as to synchronously unlock all sectors of the Flash;
and the query module is configured to query each sector of the Flash so as to determine whether the Flash is successfully unlocked according to a query result.
Further, the query module includes:
the sector query unit is configured to query each sector of the Flash;
and the Flash unlocking judgment unit is configured to receive the result of inquiring each sector by the sector inquiry unit, determine that the Flash is successfully unlocked when each sector of the Flash is successfully unlocked, and determine that the Flash is unsuccessfully unlocked when the sector unlocking failure exists in the Flash.
Further, the sector querying unit includes:
the address query module is configured to acquire first address data of a sector of the Flash;
and the sector unlocking judging unit is configured to receive the first address data of the same sector of the Flash, which is obtained by the address querying unit continuously for multiple times, judge that the sector is successfully unlocked when the first address data obtained each time are consistent, and judge that the sector is failed to unlock when the first address data obtained each time are inconsistent.
Further, the query module is configured to query the sector with the failed unlocking again after waiting for the preset time, and determine that the Flash is failed to unlock when the result of querying the sector with the failed unlocking again is the unlocking failure.
Example four
According to an embodiment of the present invention, there is also provided a storage medium having program code stored thereon, which when executed by a processor, implements the memory unlocking method according to any one of the above embodiments.
EXAMPLE five
According to an embodiment of the present invention, there is also provided a computer device including a memory, a processor, and a program code stored on the memory and executable on the processor, wherein when the program code is executed by the processor, the method for unlocking the memory according to any one of the above embodiments is implemented.
The technical scheme of the invention is explained in detail in the above with reference to the accompanying drawings, and in consideration of the prior art, the existing FLASH unlocking technology is to carry out recursive unlocking on each sector of FLASH, which results in overlong unlocking time and extremely influences on working efficiency. The invention provides a memory unlocking method, a memory unlocking system, a storage medium and computer equipment, which can unlock the whole Flash by directly clearing a locking protection bit on the Flash without calling a Linux kernel command to unlock the whole Flash. Therefore, the memory unlocking method provided by the invention does not need to recursively unlock the back block any more, and directly unlocks the whole Flash through one-time operation, so that the time for unlocking the whole Flash only needs 1-2 seconds, and the working efficiency is greatly improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for unlocking a memory, comprising:
when the Flash is in a locked state, a locking protection bit on the Flash is removed so as to synchronously unlock all sectors of the Flash;
and inquiring each sector of the Flash to determine whether the Flash is successfully unlocked according to an inquiry result.
2. The memory unlocking method according to claim 1, wherein querying each sector of the Flash to determine whether the Flash is successfully unlocked according to a query result comprises:
inquiring each sector of the Flash to judge whether the sector is successfully unlocked; and when inquiring that each sector of the Flash is successfully unlocked, determining that the Flash is successfully unlocked, and when inquiring that the sector of the Flash is unsuccessfully unlocked, determining that the Flash is unsuccessfully unlocked.
3. The method for unlocking the memory according to claim 2, wherein querying each sector of the Flash to determine whether the sector is successfully unlocked comprises:
and continuously and repeatedly acquiring the first address data of the same sector of the Flash, determining that the sector is successfully unlocked when the first address data acquired each time are consistent, and determining that the sector is failed to unlock when the first address data acquired each time are inconsistent.
4. The method for unlocking the memory according to claim 2, wherein after querying that the Flash has a sector unlocking failure, the method further comprises:
after waiting for the preset time, inquiring the sector with the unlocking failure again;
and when the result of inquiring the sector with the unlocking failure again is unlocking failure, determining that the Flash is unlocked failure.
5. A memory unlocking system, comprising:
the unlocking module is configured to clear the locking protection bit on the Flash when the Flash is in a locking state so as to synchronously unlock all sectors of the Flash;
and the query module is configured to query each sector of the Flash so as to determine whether the Flash is successfully unlocked according to a query result.
6. The memory unlocking system according to claim 5, wherein the query module includes:
the sector query unit is configured to query each sector of the Flash;
and the Flash unlocking judgment unit is configured to receive the result of inquiring each sector by the sector inquiry unit, determine that the Flash is successfully unlocked when each sector of the Flash is successfully unlocked, and determine that the Flash is unsuccessfully unlocked when the sector unlocking failure exists in the Flash.
7. The memory unlocking system according to claim 6, wherein the sector lookup unit includes:
the address query module is configured to acquire first address data of a sector of the Flash;
and the sector unlocking judging unit is configured to receive the first address data of the same sector of the Flash, which is obtained by the address querying unit continuously for multiple times, judge that the sector is successfully unlocked when the first address data obtained each time are consistent, and judge that the sector is failed to unlock when the first address data obtained each time are inconsistent.
8. The memory unlocking system of claim 6, wherein the query module is further configured to query the sector with failed unlocking again after waiting for a preset time, and determine that the Flash is failed to unlock when the sector with failed unlocking is queried again and the result is that the Flash is failed to unlock.
9. A storage medium having program code stored thereon, wherein the program code, when executed by a processor, implements the memory unlocking method according to any one of claims 1 to 4.
10. A computer device comprising a memory, a processor, the memory having stored thereon program code executable on the processor, the program code when executed by the processor implementing the memory unlocking method as claimed in any one of claims 1 to 4.
CN201911029932.8A 2019-10-25 2019-10-25 Memory unlocking method, system, storage medium and computer equipment Pending CN112711780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911029932.8A CN112711780A (en) 2019-10-25 2019-10-25 Memory unlocking method, system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911029932.8A CN112711780A (en) 2019-10-25 2019-10-25 Memory unlocking method, system, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN112711780A true CN112711780A (en) 2021-04-27

Family

ID=75541073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911029932.8A Pending CN112711780A (en) 2019-10-25 2019-10-25 Memory unlocking method, system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112711780A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5592641A (en) * 1993-06-30 1997-01-07 Intel Corporation Method and device for selectively locking write access to blocks in a memory array using write protect inputs and block enabled status
US6026016A (en) * 1998-05-11 2000-02-15 Intel Corporation Methods and apparatus for hardware block locking in a nonvolatile memory
CN1452167A (en) * 2002-04-17 2003-10-29 三星电子株式会社 Device and method for detecting sector synchronous signal on optical memory medium
CN1702591A (en) * 2005-04-29 2005-11-30 西安三茗科技有限责任公司 Hand disk locking and de-locking control scheme based on USB key apparatus
CN1722092A (en) * 2004-04-30 2006-01-18 微软公司 VEX - virtual extension framework
CN1883008A (en) * 2003-11-21 2006-12-20 爱特梅尔股份有限公司 Embedded memory with security row lock protection
CN101685424A (en) * 2008-09-27 2010-03-31 华基科研有限公司 Locking and unlocking method of flash memory
CN102317948A (en) * 2011-06-23 2012-01-11 华为技术有限公司 Protection method of chip and chip itself
CN103679067A (en) * 2012-09-14 2014-03-26 飞思卡尔半导体公司 Systems and methods for code protection in non-volatile memory systems
CN105138869A (en) * 2015-08-17 2015-12-09 四川长虹电器股份有限公司 Method for automatically locking and protecting flash bootstrap program based on flag detection
CN107211245A (en) * 2014-07-30 2017-09-26 总锁有限责任公司 Position tracking for locking device
CN107810486A (en) * 2015-06-26 2018-03-16 微软技术许可有限责任公司 Lock the value of the operand of the instruction group for atomically performing
CN108154588A (en) * 2017-12-29 2018-06-12 深圳市艾特智能科技有限公司 Unlocking method, system, readable storage medium storing program for executing and smart machine

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5592641A (en) * 1993-06-30 1997-01-07 Intel Corporation Method and device for selectively locking write access to blocks in a memory array using write protect inputs and block enabled status
US6026016A (en) * 1998-05-11 2000-02-15 Intel Corporation Methods and apparatus for hardware block locking in a nonvolatile memory
CN1452167A (en) * 2002-04-17 2003-10-29 三星电子株式会社 Device and method for detecting sector synchronous signal on optical memory medium
CN1883008A (en) * 2003-11-21 2006-12-20 爱特梅尔股份有限公司 Embedded memory with security row lock protection
CN1722092A (en) * 2004-04-30 2006-01-18 微软公司 VEX - virtual extension framework
CN1702591A (en) * 2005-04-29 2005-11-30 西安三茗科技有限责任公司 Hand disk locking and de-locking control scheme based on USB key apparatus
CN101685424A (en) * 2008-09-27 2010-03-31 华基科研有限公司 Locking and unlocking method of flash memory
CN102317948A (en) * 2011-06-23 2012-01-11 华为技术有限公司 Protection method of chip and chip itself
CN103679067A (en) * 2012-09-14 2014-03-26 飞思卡尔半导体公司 Systems and methods for code protection in non-volatile memory systems
CN107211245A (en) * 2014-07-30 2017-09-26 总锁有限责任公司 Position tracking for locking device
CN107810486A (en) * 2015-06-26 2018-03-16 微软技术许可有限责任公司 Lock the value of the operand of the instruction group for atomically performing
CN105138869A (en) * 2015-08-17 2015-12-09 四川长虹电器股份有限公司 Method for automatically locking and protecting flash bootstrap program based on flag detection
CN108154588A (en) * 2017-12-29 2018-06-12 深圳市艾特智能科技有限公司 Unlocking method, system, readable storage medium storing program for executing and smart machine

Similar Documents

Publication Publication Date Title
CN108646982B (en) Automatic data restoration method and device based on UBIFS
EP3682332B1 (en) Method and apparatus for erasing or writing flash data
US10402279B2 (en) Optimization to permit block based incremental backup across system reboot or crash
US11048601B2 (en) Disk data reading/writing method and device
US9916217B2 (en) Accessing hidden diagnostic registers
US4099243A (en) Memory block protection apparatus
JP2005209188A (en) Data recovery apparatus and method used for flash memory
EP3336702B1 (en) Metadata recovery method and device
WO2021174817A1 (en) Database automated auditing method and system, device, and storage medium
US10185508B1 (en) Remote storage device destruction
CN113190256B (en) Upgrading method, device and equipment
CN112711780A (en) Memory unlocking method, system, storage medium and computer equipment
CN110505225B (en) Terminal card locking method and device and computer readable storage medium
CN112162882A (en) Data hot snapshot method, device, equipment and computer readable storage medium
CN105808556B (en) Database operation method and database engine
CN116089327A (en) Data protection method and related equipment
CN112825098A (en) Data protection method and device, computing equipment and storage medium
CN114968694A (en) Hard disk fault injection method, device, equipment and storage medium
CN111813748B (en) File system mounting method and device, electronic equipment and storage medium
CN114925344A (en) U-coil control method, device, equipment and medium
CN113505026A (en) Method, device and equipment for verifying backup data and storage medium
CN109032522B (en) Data reading method of solid state disk and solid state disk
US20060117213A1 (en) Efficient maintenance of memory list
CN115080324B (en) Method, system, device and medium for testing password write protection function of HDD (hard disk drive) disk
CN112562774B (en) Storage device mounting method and device, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427