Invention Application
- Patent Title: ELECTRONIC DEVICE AND METHOD FOR INITIALIZING DATA STORAGE
- Patent Title (中): 用于初始化数据存储的电子设备和方法
-
Application No.: US12954550Application Date: 2010-11-24
-
Publication No.: US20120079166A1Publication Date: 2012-03-29
- Inventor: ZHANG-YONG ZHENG , BI-QING LUO , XIN LU , SHIH-FANG WONG
- Applicant: ZHANG-YONG ZHENG , BI-QING LUO , XIN LU , SHIH-FANG WONG
- Applicant Address: TW Tu-Cheng CN ShenZhen City
- Assignee: HON HAI PRECISION INDUSTRY CO., LTD.,FU TAI HUA INDUSTRY (SHENZHEN) CO., LTD.
- Current Assignee: HON HAI PRECISION INDUSTRY CO., LTD.,FU TAI HUA INDUSTRY (SHENZHEN) CO., LTD.
- Current Assignee Address: TW Tu-Cheng CN ShenZhen City
- Priority: CN201010296584.3 20100929
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/02

Abstract:
An electronic device for initializing a data storage is provided. The data storage has been accessed. The data storage includes a plurality blocks, which comprise some bad blocks. Each block comprising a block marking area for writing a block identifier. The block identifier is for marking whether the block is a bad block or a good block. After the data storage is accessed, a bad-block table for recording the block identifier of each block is stored at a predetermined location of the data storage. When initializing the data storage, the electronic device accesses the bad-block table from the predetermined location of the data storage, erases data stored on the data storage, obtains the block identifier of each block from the bad-block table; and writes the block identifier to the block marking area of each block.
Information query