Method and device for checking operating system kernel and file system in Nand-flash memory

An operating system and file system technology, applied in the computer field, can solve problems such as reducing startup efficiency, consuming a lot of time, affecting system startup speed, etc., and achieve the effect of improving verification efficiency and startup speed

Inactive Publication Date: 2012-11-28
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, although the CRC value of the kernel and file system is used for data verification, various types of Flash can be supported, but when the operating system kernel and file system are too large, the complete data of the kernel and FS area will be read into the memory It will consume a lot of time, which will affect the startup speed of the system startup (BOOT) and reduce the startup efficiency

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
  • Method and device for checking operating system kernel and file system in Nand-flash memory
  • Method and device for checking operating system kernel and file system in Nand-flash memory
  • Method and device for checking operating system kernel and file system in Nand-flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0040] See figure 1 , figure 1 It is a flow chart of the first embodiment of a NAND-type flash memory kernel file system verification method provided by the present invention. Such as figure 1 As shown, the method may include the following steps:

[0041] S101. Obtain the first check code value of the OOB data of the operating system kernel and the file system in the NAND flash memory;

[0042] Specifically, the Nand-flash in the embodiment of the present inven...

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 method for checking an operating system kernel and a file system in a Nand-flash memory. The method comprises the following steps of: acquiring a first check code value of OOB (Out-Of-Band) data in the operating system kernel and the file system in the Nand-flash memory; acquiring a second check code value of the OOB data of the operating system kernel and the file system stored in the Nand-flash memory; comparing the first check code value with the second check code value, and giving a prompt of successful boot when the two check code values are consistent with each other; and giving a prompt of failed boot when the two check code values are inconsistent with each other. The invention further provides a device for checking the operating system kernel and the file system in the Nand-flash memory. The method and device for checking the operating system kernel and the file system in the Nand-flash memory can improve the check efficiency of large files so as to improve boot efficiency.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for verifying a NAND flash memory operating system kernel and a file system. Background technique [0002] Nand-flash is a kind of flash memory. It has the advantages of large capacity and fast rewriting speed. It is suitable for storing large amounts of data, so it has been more and more widely used in the industry. Due to the Due to the manufacturing process, bad blocks may be generated during the production and use of Nand. In order to effectively manage bad blocks, Nand-flash manufacturers have proposed a variety of solutions, one of which is to use the operating system kernel (Kernel) Perform data verification with the file system (file system, FS) cyclic redundancy check code value CRC. [0003] In the prior art, although the kernel and file system CRC values ​​are used for data verification, various types of Flash can be supported, but when the opera...

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 Applications(China)
IPC IPC(8): G06F11/08G06F9/445
Inventor 周冬冬
Owner SHENZHEN COSHIP ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products