1. Field of the Invention
The invention relates to flash memory devices, more particularly to systems and methods of managing memory addresses in a large capacity multi-level cell (MLC) based flash memory device housed in a tubular casing.
2. Description of the Related Art
As flash memory technology becomes more advanced, flash memory is replacing traditional magnetic disks as storage media for mobile systems. Flash memory has significant advantages over floppy disks or magnetic hard disks such as having high-G resistance and low power dissipation. Because of the smaller physical size of flash memory, they are also more conducive to mobile systems. Accordingly, the flash memory trend has been growing because of its compatibility with mobile systems and low-power feature. However, advances in flash technology have created a greater variety of flash memory device types that vary for reasons of performance, cost and capacity. As such, a problem arises when mobile systems that are designed for one type of flash memory are constructed using another, incompatible type of flash memory.
New generation personal computer (PC) card technologies have been developed that combine flash memory with architecture that is compatible with the Universal Serial Bus (USB) standard. This has further fueled the flash memory trend because the USB standard is easy to implement and is popular with PC users. In addition, flash memory is replacing floppy disks because flash memory provides higher storage capacity and faster access speeds than floppy drives.
In addition to the limitations introduced by the USB standard, there are inherent limitations with flash memory. First, flash memory sectors that have already been programmed must be erased before being reprogrammed. Also, flash memory sectors have a limited life span; i.e., they can be erased only a limited number of times before failure. Accordingly, flash memory access is slow due to the erase-before-write nature and ongoing erasing will damage the flash memory sectors over time.
To address the speed problems with USB-standard flash memory, hardware and firmware utilize existing small computer systems interface (SCSI) protocols so that flash memory can function as mass-storage devices similarly to magnetic hard disks. SCSI protocols have been used in USB-standard mass-storage devices long before flash memory devices have been widely adopted as storage media. Accordingly, the USB standard has incorporated traditional SCSI protocols to manage flash memory.
As the demands for larger capacity storage increase, the flash memory device needs to keep up. Instead of using single-level cell flash memory, which stores one-bit of information per cell, multi-level cell (MLC) flash memory, or hybrid flash memory, which is assembled partially SLC and partially MLC, is used. The MLC flash memory allows at least two bits per cell. However, there are a number of problems associated with the MLC flash memory. First, the MLC flash memory has a low reliability. Secondly, the MLC flash memory data programming rules require writing to an ascending page in the same block or writing to a blank new page if there are data existed in the original page. Finally, a larger capacity requires a large logical-to-physical address look up table. In the prior art approach, the size look up table is in direct portion with the capacity of the flash memory. This creates a huge problem not only to the cost, but also to the physical size of the flash memory device. Furthermore, the traditional usage of the flash memory devices is generally in a very clean and relatively mild environment, thus the packaging design such as enclosure of the flash memory device is not suitable for hostile environment such as military and heavy industrial applications.
Modern portable computer peripheral devices for storing confidential data take many mechanical forms. In most cases, such peripheral devices have been reduced to “pocket size”, meaning that they can literally be carried in a user's pocket in the same manner as a wallet or set of keys. One example of particular interest is a pen-type flash device having a USB connector plug that can be connected to a USB port of a standard computer. The USB plug connector is protected by a removable cap when not in use. A problem with convention pen-type peripheral devices is that the removable cap can become inadvertently lost while the device is in use, thereby leaving the USB plug connector exposed to damage or contamination.
An alternative to conventional pen-type peripheral devices is a “press-push” memory device, which provides a connector that retracts into a housing of the memory device for protection when not in use. A device with a retractable connector generally has a button feature on the outside of its housing that allows a user to manually slide the connector between a retracted position and an extended (deployed) position. In the extended position, the connector extends through an opening in the housing so that it may be plugged into a receptacle. In the retracted position, the connector is contained within the housing and is protected by the housing, thereby obviating the need for a separate cap that can be lost.
Although “press-push” memory devices avoid the problems of conventional pen-type peripheral devices, e.g., by avoiding the need for a separate cap, the molded plastic housing typically used for these devices can be easily crushed when the device is accidentally dropped or subjected to a blunt impact force, leading to undesirable resistance or jamming that prevents the desired retraction of the connector when not in use.
To address the strength/durability issues associated with conventional all-plastic “press-push” memory devices, many recently produced “press-push” memory devices are made with durable metal tubular casings. The metal tubular casing houses a plastic “press-push” mechanism that supports the PCBA and is movable inside the metal tubular casing to deploy or retract a USB plug connector. In addition to providing durability, metal tubular casings also help with heat dissipation, which is particularly important in newer USB 3.0 flash drives that can consume more power (generates more heat) than USB 2.0 flash drives (the current usage for USB 2.0 is rated up to 500 mA compared to 950 mA of USB 3.0; therefore, the maximum power consumption of USB 2.0 is 2.5 W (500 mA×5V) compared to 4.75 W of USB 3.0). The bus power 5V is supplied by the USB computer host.
Although using metal tubular casings to produce durable “press-push” memory devices addresses the durability and heat dissipation issues associated with conventional all-plastic “press-push” memory devices, the metal tubular casings introduce a new set of problems.
One problem with “press-push” memory devices made with metal tubular casing is that the use of different housing materials (i.e., metal and plastic) complicates the manufacturing process due to the different manufacturing techniques that are required, which can result in mismatched structures that fail to connect properly, leading to defective devices that fall apart prematurely fail to operate properly, leading to undesirable resistance or jamming that prevents the desired retraction of the connector when not in use.
Another problem associated with such “press-push” memory devices is that the metal tubular casing is much harder than the plastic “press-push” mechanism, causing accelerated wear of the plastic mechanism, leading to undesirable resistance or jamming that prevents the desired retraction of the connector when not in use.
Therefore, it would be desirable to have improved methods and systems of managing memory addresses in a large capacity multi-level cell (MLC) flash memory device. What is also needed is a retractable portable computer peripheral apparatus for housing a large capacity multi-level cell (MLC) flash memory device that overcomes the problems associated with conventional press-push memory devices housed in metal tubular casings.
Methods and systems of managing memory addresses in a large capacity multi-level cell (MLC) based flash memory device are disclosed. According to one aspect of the present invention, a MLC based flash memory device comprises a card body with a processing unit, an input/output (I/O) circuit and at least one MLC flash memory chip mounted thereon. The card body may comprise a print circuit board (PCB). The I/O circuits generally are coupled to the processing unit in form of an integrated circuit. The processing unit manages data transfers between a host computing device (e.g., personal computer, consumer electronic device) and the at least one flash memory chip. The MLC based flash memory chip is configured to provide data storage for the host.
According to an aspect of the present invention, a press-push flash drive device includes a housing formed by a tubular casing and a plastic housing assembly, and a carrier assembly that is selectively movably disposed in an inner chamber of the housing to move a plug connector between a deployed and retracted position. The tubular casing includes an integral tubular (e.g., box-like) wall surrounding an inner chamber, the tubular wall having a front end portion defining a front (first) opening, a rear end portion defining a rear (second) opening, and an elongated actuating (third) opening defined in the tubular wall between the first and second end portions. Because the tubular casing includes an integral structure (e.g., single-piece molded or machined from a single block of metal or other hard material), the tubular casing provides durable and reliable protection for the electronic components disposed in the housing of the device. The plastic housing assembly includes a front (first) cap portion fixedly connected over the front end portion of the tubular casing, a rear (second) cap portion fixedly connected over the rear end portion of the tubular casing, and a sleeve portion disposed in the inner chamber of the tubular casing between the front cap portion and the rear cap portion. Because the plastic housing assembly includes cap portions that are respectively disposed over the opposing front and rear ends of the tubular casing and includes a portion that extends entirely through the metal tube casing between the cap portions, the present invention addresses the manufacturing problems associated with the use of plastic and metal by providing for minor defects in the tubular casing size, and also prevents cuts or other injury that can occur if the metal tubular casing includes burrs or other defects along its front or rear edges. The carrier assembly includes a PCBA that is fixedly connected to a plastic positioning member including an actuating button that protrudes through the actuating opening of the tubular casing. The PCBA positioning member is fixedly connected to the PCBA and restricted to slide in the inner chamber such that manual movement of actuating button along the actuating opening causes the plug connector to move between a deployed (first) position and a retracted (second) position. According to another aspect of the invention, the positioning member is disposed relative to the sleeve portion such that when the actuating button is manually pushed along the actuating opening during movement of the plug connector between the deployed and retracted positions, a portion of the positioning member slides against the sleeve portion, thereby avoiding the excessive wear and early failure that can occur when plastic slides directly on metal.
According to another aspect of the present invention, the plastic housing assembly includes a snap-coupling mechanism arranged such that, when the plastic housing assembly is mounted onto the tubular casing and the snap-coupling mechanism is operably engaged, the tubular casing is fixedly and rigidly held between the front and rear cap portions of the plastic housing assembly, and the sleeve portion is rigidly held in the inner chamber of the tubular casing between the front and rear cap portions. This arrangement greatly simplifies the assembly process and provides an aesthetically pleasing final product, thus providing both low cost and high customer appeal. In one specific embodiment, the snap-coupling mechanism is implemented by elongated pawls that are respectively formed on the front and rear cap portions, and corresponding locking grooves that are formed on an inside surface of the tubular casing, whereby the front and rear cap portions become snap-coupled when pressed onto the front and rear ends of the tubular casing, respectively, until the elongated pawls engage the corresponding locking grooves. In another specific embodiment, the snap-coupling mechanism is implemented solely by structures formed on the plastic housing assembly, wherein the sleeve portion is integrally connected to the front cap and includes locking grooves that receive locking pawls disposed on the rear cap portion during assembly.
According to another aspect of the present invention, a locking mechanism is provided for maintaining the plug connector in the retracted and deployed positions. In one embodiment the locking mechanism is formed by a lock tab integrally molded on the positioning member adjacent to the actuating button that is selectively manually engaged with a lock slots formed on the tubular casing adjacent to the actuating opening for securely maintaining the plug connector in the retracted and deployed positions. In one specific embodiment, a plastic side portion of the plastic housing assembly includes corresponding lock slots that receive the lock tabs in a manner that minimizes plastic-on-metal contact.
Other features and advantages of the present invention will become apparent in the following detailed description of the preferred embodiment with reference to the accompanying drawings, of which:
The present invention relates to an improvement in flash memory devices such as USB flash drives. The following description is presented to enable one of ordinary skill in the art to make and use the invention as provided in the context of a particular application and its requirements. As used herein, directional terms such as “upper”, “upwards”, “lower”, “downward”, “front”, “rear”, are intended to provide relative positions for purposes of description, and are not intended to designate an absolute frame of reference. In addition, the phrases “integrally connected” and “integrally molded” is used herein to describe the connective relationship between two portions of a single molded or machined structure, and are distinguished from the terms “connected” or “coupled” (without the modifier “integrally”), which indicates two separate structures that are joined by way of, for example, adhesive, fastener, clip, or movable joint. Various modifications to the preferred embodiment will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.
Card body 121 is configured for providing electrical and mechanical connection for the processing unit 122, the flash memory module 123, the I/O interface circuit 125, and all of the optional components. Card body 121 may comprise a printed circuit board (PCB) or an equivalent substrate such that all of the components as integrated circuits may be mounted thereon. The substrate may be manufactured using surface mount technology (SMT) or chip on board (COB) technology.
Processing unit 122 and the I/O interface circuit 125 are collectively configured to provide various control functions (e.g., data read, write and erase transactions) of the flash memory module 123. Processing unit 122 may also be a standalone microprocessor or microcontroller, for example, an 8051, 8052, or 80286 Intel® microprocessor, or ARM®, MIPS® or other equivalent digital signal processor. Processing unit 122 and the I/O interface circuit 125 may be made in a single integrated circuit, for application specific integrated circuit (ASIC).
The at least one flash memory module 123 may comprise one or more flash memory chips or integrated circuits. The flash memory chips may be single-level cell (SLC) or multi-level cell (MLC) based. In SLC flash memory, each cell holds one bit of information, while more than one bit (e.g., 2, 4 or more bits) are stored in a MLC flash memory cell. A detail data structure of an exemplary flash memory is described and shown in
Input/output interface circuit 125 is mounted on the card body 121, and can be activated so as to establish communication with the host computing device 90 by way of a socket 95 via an interface bus 93 that is established when a plug connector 150 attached to card body 121 is coupled with socket 95. Input/output interface circuit 125 may include circuits and control logic associated with a Universal Serial Bus (USB) interface structure that is connectable to an associated socket connected to or mounted on the host computing device 90.
Processing unit 122 is controlled by a software program module (e.g., a firmware (FW)), which may be stored partially in a ROM (not shown) such that processing unit 122 is operable selectively in: (1) a data programming or write mode, where processing unit 122 activates input/output interface circuit 125 to receive data from the host computing device 90 under the control of the host computing device 90, and store the data in the flash memory module 123; (2) a data retrieving or read mode, where the processing unit 122 activates the input/output interface circuit 125 to transmit data stored in the flash memory module 123 to the host computing device 90; or (3) a data resetting or erasing mode, where data in stale data blocks are erased or reset from the flash memory module 123. In operation, host computing device 90 sends write and read data transfer requests to flash memory device 100 via the interface bus 93, then input/output interface circuit 125 to the processing unit 122, which in turn utilizes a flash memory controller (not shown or embedded in the processing unit) to read from or write to the associated at least one flash memory module 123. In one embodiment, for further security protection, the processing unit 122 automatically initiates an operation of the data resetting mode upon detecting a predefined time period has elapsed since the last authorized access of the data stored in flash memory module 123.
Referring now to
Each block is further divided into a plurality of pages 208 (e.g., P0, P1, . . . , Pnp). Each of the pages 208 includes a data area 210 and a spare area 212. The data area is partitioned into a plurality of sectors (e.g., S0, S1, Sns). In one embodiment, each sector stores 512-byte of data. The spare area 212 is configured to provide three different fields: 1) a block indicator (BB) 214, a logical address area 216 and an error correction code (ECC) area 218. When a block is tested no good by the manufacturer, the block indicator 214 of that block is set to a special code to indicate a bad block that cannot be used. The logical address area 216 is configured for identifying of that particular physical block for initialization of the flash memory device. More details are described in
In order to access the data stored in the normal usage blocks 204 of the flash memory module 201, the host computing device 90 transmits a data transaction request (e.g., data read or write) along with a logical sector address (LSA) to the flash memory device. The processing unit 102 of the flash memory device converts the received LSA into a physical address (i.e., specific block, page and sector numbers) before any data transaction can be performed. Traditionally, the conversion is performed by an address look up table with a one-to-one relationship to the physical address. This solution works for a flash memory device with relatively small capacity, because the address look up table is implemented with a static random access memory (SRAM). It would not be feasible in terms of cost and physical space to include SRAM that grows linearly as the capacity of the flash memory device especially for a large capacity MLC based flash memory device. For example, a large capacity (say 32 Giga-Byte (GB)) MLC based flash memory device using 2112-byte page (i.e., 2048-byte data plus 64-byte spare) and 128 pages per block, it would require more than 2 MB bytes of SRAM to hold the entire address look up table.
To carry out the address partition scheme of the present invention, the manufacturer may predefine number of sets and entries in the first physical block (i.e., PBK#0) by the IMP. Instead of mapping all of the logical sector addresses (LSA) to a physical address in a memory, only a portion of the LSA (i.e., a set) is included such that only a limited size of memory is required for address correlation and page usage information. In other words, a limited size memory is configured to hold one set of entries with each entry including an address of the corresponding physical block and a plurality of corresponding page usage flags (see
However, in order to correlate a logical block address to a unique physical block, every entry in each of the plurality of sets must correlate to a unique physical address and a set of page usage flags. Since the limited size memory only has capacity of holding one set of such information, an embodiment of the present invention requires that information of all of the plurality of sets be stored in reserved area 206 of the flash memory 201. Only a relevant set of the plurality of sets is loaded into the limited size memory in response to a particular data transfer request from a host computing system 109. The relevant set is defined as the set with one of the entries matches the entry number derived from the LSA associated with the received data transfer request.
Since there are N sets of address correlation and page usage information stored in the flash memory, each of the N sets is referred to as a partial logical-to-physical address and page usage information (hereinafter ‘PLTPPUI’) appended with a set number (e.g., ‘PLTPPUI0’, ‘PLTPPUI1’, ‘PLTPPUIN’).
In order to simplify the examples and drawings in the Specification, an example with small numbers is used for demonstrate the relationship between LSA, LBA, sector, page, entry and set numbers. Those of ordinary skill in the art will understand implementation of an embodiment of the present invention can be with larger numbers. The following example uses a flash memory with four sectors per page, four pages per block and four entries per set and a logical sector address 159 (i.e., LSA=159) is represented by a binary number “10 01 11 11”. As a result, the least significant four bits of LSA represent sector and page numbers with the two lowest bits for the sector number and the next two for the page number, as each two-bit represents four distinct choices—0, 1, 2 and 3. After truncating the four least significant bits of LSA, the remaining address becomes the corresponding logical block address (LBA). In this example, LBA has a binary value of ‘1001’. Because there are four entries per set in this example, two least significant bits of LBA represent the entry number (i.e., offset number in each set). The remaining high bits of LBA represent the set number. A summary of this example is listed in Table 1.
According to one aspect of the present invention, an indexing scheme enables the processing unit 102 to translate logical sector addresses (LSAs) and/or logical block addresses (LBAs) provided, in conjunction with a data transfer request, by the host computing device 109 to physical block numbers or addresses (PBK#) in the flash memory device. The indexing scheme comprises a plurality of sets of PLTPPUI and physical characteristics of the flash memory such as total number of sets, entries, pages and sectors. And ratios among the set, entry, page and sector. The processing unit 102 can utilize the indexing scheme to determine which sectors of the flash memory are available for each particular data transfer request.
The microcontroller 302 with a flash memory controlling program module 304 (e.g., a firmware (FW)) installed thereon is configured to control the data transfer between the host computing device 109 and the at least one flash memory module 103. The ACPUM 306 is configured to provide an address correlation table, which contains a plurality of entries, each represents a correlation between a partial logical block address (i.e., entries) to the corresponding physical block number. In addition, a set of page usage flags associated with the physical block is also included in each entry. The ACPUM 306 represents only one of the N sets of PLTPPUI, which is stored in the reserved area of the flash memory. In order to keep tracking the physical location (i.e., physical block number) of each of the N sets of PLTPPUI, the physical location is stored in the PLTPPUI tracking table 308. Each item is the PLTPPUI tracking table 308 corresponds a first special logical address to one of the N sets of PLTPPUI. The wear leveling counters and bad block indicator for each physical block is stored in a number of physical blocks referred by corresponding second special logical addresses (e.g., ‘0xFFFFFF00’). The WL/BB tracking table 310 is configured to store physical block numbers that are assigned or allocated for storing these physical block wear leveling counters and bad blocks. The ACPUM modification flag (ACPUMF) 312 is configured to hold an indicator bit that tracks whether the ACPUM 306 has been modified or not. The page buffer 314 is configured to hold data in a data transfer request. The page buffer 314 has a size equaling to the page size of the flash memory 201. The sector update flags 316 are configured to hold valid data flag for each of the corresponding sectors written into data area of the page buffer 314. For example, four sector update flags are be required for a page buffer comprising four sectors. The page buffer 314 also includes a spare area for holding other vital information such as error correction code (ECC) for ensuring data integrity of the flash memory.
Each set of the PLTPPUI is stored in the reserved area 206 of the flash memory 201 of
Similar to the data structure of the PLTPPUI tracking table, an exemplary data structure 450 of a WL/BB tracking table 310 is shown in
Referring now to
The process 500 starts in an ‘IDLE’ state until the microcontroller 302 receives a data transfer request from a host (e.g., the host computing device 90 of
If the decision 504 is ‘no’, the process 500 moves to decision 506. The process 500 checks whether the contents of the page buffer 430 need to be stored. In one implementation, the process 500 checks the sector update flags 432 that correspond to sectors in the page buffer 430. If any one of the flags 432 has been set to ‘valid’, then the contents of the page buffer 430 must be stored to the corresponding page of the corresponding physical block of the MLC flash memory at 550 (i.e., the decision 506 is ‘yes’). Detailed process of step 550 is shown and described in
Otherwise if ‘no’ at decision 506, the process 500 moves the decision 510 directly. It is then determined if the ACPUM 306 has been modified. If ‘yes’, the process 500 moves to 580, in which, the process 500 writes the contents of the ACPUM 306 to one of a plurality of first special logical addresses (e.g., ‘0xFFFF0000’ for PLTPPUI0, or ‘0xFFFF0001’ for PLTPPUI1, etc.) for storing corresponding set of PLTPPUI in the reserved area of the flash memory. The ACPUM modification flag 412 is reset at the end of 580. Detailed process of step 580 is shown and described in
Next, at decision 518, if the data transfer request is a data read request, the process 500 continues with a sub-process 520 shown in
If the data transfer request is a data write or program request, the process 500 continues with a sub-process 530 shown in
If ‘yes’ at decision 532, the process 500 moves to decision 534. It is determined if the received data sector is in the same entry and page numbers. If ‘yes’, the process 500 writes the received data sector to the page buffer 430 at 538 before going to the ‘IDLE’. If ‘no’ at decision 534, the process 500 writes the page buffer contents to the corresponding page of the physical block of the flash memory at 550. Next, the process 500 sets the ACPUM modification flag 412 to a ‘modified’ status at 536. Next, at 538, the process 500 writes the received data sector to the page buffer before going back to the ‘IDLE’ state.
Finally, in additional to managing data read and write requests, the process 500 regularly performs a background physical block recycling process so that the blocks containing only stale data can be reused later. When the process 500 is in the ‘IDLE’ state, it performs test 540, in which it is determined if the idle time has exceeded a predefine time period. If ‘yes’, the process 500 performs the background recycling process, which may include issuing a dummy data write request to force the page buffer 430 and/or modified ACPUM 306 to be written to corresponding locations of the flash memory at 542. In one embodiment, the dummy data write/program command may be issued to rewrite some of seldom touched physical blocks, for example, physical blocks used for storing user application or system program modules.
Referring to
If ‘yes’ at decision 552, the process 500 searches for a blank physical block based on the wear leveling (WL) rule; once found, the process 500 designates it as a new block at 562. Then, the process 500 updates the ACPUM 306 with the new physical block number for the entry number and keeps the page usage flags the same. It is noted that the entry number is derived from the received LSA. Next, at 566, the process 500 copies all valid pages with page number less than the current page number from the old to the new physical block if needed. The current page number if the page number derived from the received LSA. Then, the process 500 writes the valid data sectors based on the sector update flags 432 from the page buffer 430 to the page register of the corresponding page of the new physical block at 568. Finally if necessary, the process 500 copies all valid pages with page number greater than the current page number from the old to the new physical block at 570. The process 500 resets the sector update flags at 558 before returning.
Referring back to decision 584, if ‘yes’, the process 500 searches a blank physical block as a new physical block (e.g., new physical block (PBK#1012) in
The sequence of the data write requests starts with (a) writing to LSA=0, which corresponds to set 0 (i.e., PLTPPUI0), entry 0, page 0 and sector 0. PLTPPUI0 is loaded into ACUPUM 604, in which the first entry (i.e., entry 0) corresponds to physical block ‘PBK#2’ and page usage flags 606 are not set. The ACPUMF 614 is set to a ‘un-modified’ status. The sector data (S0) is written to the first sector of the page buffer 610 and the corresponding flag in the sector update flags 612 is set to a ‘V’ for valid data. The corresponding path in the process 500 for writing LSA=0 is as follows:
The next data write request (b) is to write to LSA=1. The corresponding path is the process 500 is as follows:
The next data write request (c) is to write to LSA=3 (
The next data write request (d) is to write to LSA=9 (
The next data write request (e) is to write to LSA=54 (
Finally, the next data write request (f) is to write to LSA=171 (
Referring now to
Shown in
If ‘yes’ at the decision 716, the process 700 follows the ‘yes’ branch to another decision 718. It is then determined whether the stored tracking number is newer than the one listed in the PLTPPUI tracking table 308. For example, the contents in the PLTPPUI tracking table is initialized to zero, any stored tracking number (TN) greater than zero indicates that the stored records are newer. If ‘no’ at decision 718, the process 700 skips this physical block similar to the ‘no’ branch of decision 716. However, if ‘yes’ at decision 718, the process 700 searches and locates a highest written page in this physical block ‘PBK#’ at 720. Next, at 722, the process 700 writes the ‘PBK#’, TN and highest page number in the PLTPPUI tracking table corresponding to the first special logical address. Finally, the process 700 increments the physical block count ‘PBK#’ by one at 724, then moves to decision 726 to determine either moving back to 714 for processing another physical block or ending the step 710.
Details of step 730 are shown in
Next, at 742, the physical block counter ‘PBK#’ is incremented by one. The process 700 moves to another decision 744, it is determined if there is additional block in the ‘mth’ group. If ‘yes’, the process 700 goes back to step 736 reading another WL counters of another physical block to repeat the above steps until the decision 744 becomes ‘no’. The process 700 updates the stored WL/BB tracking table 310 at 746. At next decision 748, it is determined if there is any more physical block. If ‘yes’, the process 700 increments the group counter at 749 then goes back to 734 for repeating the above steps for another group. Otherwise, the step 730 returns when the decision 748 is ‘no’.
Each entry record of PLTPPUI is 18-byte, which is a sum of 2-byte physical block number plus 128-bit (i.e., 16-byte) of page usage flags (i.e., 128 pages per block). Using 2048-byte page buffer as a scratch memory can only hold a group of 113 entry records. One may use a larger memory such as ACPUM 306 as the scratch memory, which may hold more entry records thereby reducing the initialization time.
Referring again to
Tubular casing 110 includes a tubular wall 111 that surrounds and defines an inner chamber 112, where tubular wall 111 has a front end portion 113 defining a front (first) opening 114, a rear end portion 115 defining a rear (second) opening 116, and an elongated actuating (third) opening 118 defined in tubular wall 111 between front and second end portions. As used herein, the term “tubular casing” is intended to denote a single-piece (e.g., integrally molded or machined) structure, such as those described with reference to the specific embodiments set forth below. Because tubular casing 110 includes an integral structure (e.g., single-piece molded or machined from a single block of metal or other hard material), the tubular casing provides durable and reliable protection for the electronic components disposed in the device.
Plastic housing assembly 130 includes a front (first) cap portion 132 that is fixedly connected over front end portion 113 of tubular casing 110, a rear (second) cap portion 134 that is fixedly connected over the rear end portion 115 of tubular casing 110, and a sleeve portion 136 that is disposed in inner chamber 112 of tubular casing 110 between front cap portion 132 and rear cap portion 134. Front cap portion 132 defines a front opening 137 that facilitates the deploying and retracting of plug connector 150 in the manner described below. Because plastic housing assembly 130 includes front cap portion 132 and rear cap portion 134 that are respectively disposed over opposing front and rear ends of tubular casing 110, and because assembly 130 includes sleeve portion 136 that extends entirely through tubular casing 110 between cap portions 132 and 134, the present invention addresses the manufacturing problems associated with the use of plastic and metal by providing for minor defects in the tubular casing size, and also prevents cuts or other injury that can occur if tubular casing 110 includes burrs or other defects along the front or rear edges that define front opening 114 or rear opening 116.
As indicated on the right side of
In addition to PCBA 120 and plug connector 150, carrier assembly 140 also includes a plastic positioning member 160 that is selectively movably disposed in inner chamber 112 of tubular casing 110, and is fixedly connected to PCBA 120 and plug connector 150 such that selective movement of positioning member 160 relative to tubular casing 110 causes a corresponding movement of PCBA 120 and plug connector 150. Positioning member 160 is sized relative to tubular casing 110 such that relative movement between positioning member 160 and tubular casing 160 is restricted to a sliding motion along inner chamber 112 between front end portion 113 and rear end portion 114 (e.g., in a vertical direction in
According to an aspect of the present invention, positioning member 160 is disposed relative to the sleeve portion 136 such that when actuating button 163 is manually slid along actuating opening 118 during movement of the plug connector 150 between the deployed and retracted positions, a portion of the positioning member 160 slides against the sleeve portion 136 instead of tubular casing 110. That is, when actuating button 163 is manually slid along actuating opening 118 a force component P associated with the sliding action pushes positioning member 160 into tubular casing 110 (e.g., to the left in
According to another aspect of the present invention, at least one of plastic housing assembly 130 and tubular casing 110 include a snap-coupling mechanism (e.g., snap-coupling mechanism 139, shown in
According to yet another aspect of the invention, device 100 includes a locking mechanism for maintaining plug connector in each of the retracted and deployed position. For example, as indicated by the simplified embodiment of
Two exemplary MLC retractable flash memory devices incorporating the mechanism described with reference to
As indicated in
As shown at the bottom of
Referring to the center of
Referring to lower center of
Referring to upper center of
According to an aspect of the present embodiment, a key chain feature 170A of device 100A is formed by an opening 172A defined in side wall 111A-3 of tubular casing 110A, and by a protrusion 174A defining a corresponding opening 176A that extends through protrusion 174A to rear wall 138A-2. As described below, when rear cap portion 134A is mounted onto tubular casing 110A, protrusion 174A enters inner chamber 112A such that opening 176A aligns with opening 172A, thereby allowing a key chain or other elongated structure to be fed through opening 176A to secure device 100A.
The assembly of press-push flash drive device 100A will now be described with reference to
As indicated in
Referring to
Referring to
Referring to
As indicated at the upper portion of
As shown at the bottom of
According to an aspect of the present embodiment, side sleeve portion 135B is shaped to fit against side wall portion 111B-3 of tubular casing 110B, and defines an actuating slot 133B that is sized to generally align with actuating opening 118B of tubular casing 110B. In addition, side sleeve portion 135B also defines locking groove portions 133B-1 and 133B-2 that communicate with actuating slot 133B and are sized to generally align with lock slots (second locking structures) 119B-1 and 119B-2, respectively, of tubular casing 110B. In one embodiment, actuating slot 133B and locking groove portions 133B-1 and 133B-2 are slightly smaller than actuating opening 118B and lock slots 119B-1 and 119B-2 in order to prevent plastic-on-metal contact between actuating button 163B and tubular casing 110B.
According to another aspect of the present embodiment, a main sleeve portion 136B is integrally molded to and extends from a rear surface of front wall 138B-1 of front cap portion 132B, and includes an upper sleeve wall portion 136B-1, a lower sleeve wall portion 136B-2, and a side sleeve wall portion 136B-3 that collectively form a substantially box-like structure that is sized to fit inside tubular casing 110B such that upper sleeve wall portion 136B-1 presses against an inside surface of upper wall portion 111B-1, lower sleeve wall portion 136B-2 presses against an inside surface of lower wall portion 111B-2, and side sleeve wall portion 136B-3 presses against an inside surface of side wall portion 111B-4.
According to another yet aspect of the present embodiment, a snap-coupling mechanism is implemented by structures formed solely on the plastic housing assembly 130B, thereby further avoiding manufacturing errors due to different manufacturing processes used to form tubular casing 110B and plastic housing assembly 130B. In the present embodiment, the snap-coupling mechanism is formed by a pair of lock pawls (first lock structures) 139B-1 integrally molded on rear cap portion 134B, and a pair of lock grooves (second lock structures) 139B-2 respectively formed on upper sleeve wall portion 136B-1 and lower sleeve wall portion 136B-2. As described below, these structures are disposed such that, when rear cap portion 134B is pressed onto rear end portion 115B of tubular casing 110B when front cap portion 132B is operably fixedly connected over the front end portion 113B, lock pawls 139B-1 snap-couple into the pair of lock grooves 139B-2. Those skilled in the art will recognize that the described lock structures may be reversed (e.g., the pawls formed on sleeve portion 136B and the grooves formed on rear cap portion 134B), or other locking structures may be utilized.
Referring to the lower portion of
Similar to the previously described embodiment, PCBA 120B includes a PCB 121B and plug connector 150B that is attached to a front end of PCB 121B using known techniques.
Positioning member 160B is an integrally molded plastic structure that includes a base portion 161B and a flexible wall 162B that is connected to and separated from base portion 161B by way of an elongated slot (opening) 168B such that flexible wall 162B is resiliently bendable relative to base portion 161B. Press-push button 163B extends upward from flexible wall 162B. Lock tabs (first locking structures) 164B are disposed on flexible surface 162B on opposite sides of button 163B. First and second slide rails 167B-1 and 167B-2 are fixedly connected to and extend substantially perpendicular to base portion 161B, and a third slide rail 167B-3 is connected between ends of first and second slide rails 167B-1 and 167B-2, such that base portion 161B, first slide rail 167B-1, second slide rail 167B-2 and third slide rail 167B-3 define a hollow cavity. Positioning grooves 165B are defined on opposing inside surfaces of base portion 161B and third slide rail 167B-3 and extend through the hollow cavity.
The assembly of press-push flash drive device 100B will now be described with reference to
As indicated in
Referring to
Referring to
Some portions of the preceding detailed descriptions have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the above discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Embodiments of the present invention also relate to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable medium. A machine-readable medium includes any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium (e.g., read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices, etc.), a machine (e.g., computer) readable transmission medium (electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.)), etc.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method operations. The required structure for a variety of these systems will appear from the description below. In addition, embodiments of the present invention are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the invention as described herein.
Although the present invention has been described with reference to specific embodiments thereof, these embodiments are merely illustrative, and not restrictive of, the present invention. Various modifications or changes to the specifically disclosed exemplary embodiments will be suggested to persons skilled in the art. For example, whereas a USB connector has been shown and described, other types of connectors such as a Secure Digital (SD) interface circuit, a Micro SD interface circuit, a Multi Media Card (MMC) interface circuit, a Compact Flash (CF) interface circuit, a Memory Stick (MS) interface circuit, a PCI-Express interface circuit, an Integrated Drive Electronics (IDE) interface circuit, a Serial Advanced technology Attachment (SATA) interface circuit, an external SATA interface circuit, a Radio Frequency Identification (RFID) interface circuit, a fiber channel interface circuit, and an optical connection interface circuit may be used to achieve the same function. Additionally, whereas the size of the data area of a page has been shown to hold four sectors of 512-data, a page holds other number of sectors such as eight may be used. Further, although the present invention is describe with specific reference to tubular casings formed from a metal material, beneficial aspects of the present invention may also be utilized formed using other suitable materials, such as hard plastic or ceramic. In summary, the scope of the invention should not be restricted to the specific exemplary embodiments disclosed herein, and all modifications that are readily suggested to those of ordinary skill in the art should be included within the spirit and purview of this application and scope of the appended claims.
This application is continuation-in-part of U.S. patent application for “FLASH DRIVE WITH SPRING-LOADED RETRACTABLE CONNECTOR”, U.S. application Ser. No. 12/361,772, filed on Jan. 29, 2009. This application is also a (CIP) of co-pending U.S. patent application for “Methods and Systems of Managing Memory Addresses in a Large Capacity Multi-Level Cell (MLC) based flash memory device”, Ser. No. 12/025,706, filed Feb. 4, 2008. This application is also a (CIP) of co-pending U.S. patent application for “Press/Push USB Flash Drive with Deploying and Retracting Functionalities with Elasticity Material and Fingerprint Verification Capability”, Ser. No. 11/845,747, filed Aug. 27, 2007. This application is also a CIP of co-pending U.S. patent application for “Slide Flash Memory Device”, Ser. No. 12/604,309, filed Oct. 22, 2009. This application is a CIP of co-pending U.S. patent application for “MLC COB USB Flash Memory Device with Sliding Plug Connector”, Ser. No. 12/171,194, filed Jul. 10, 2008. This application relates to U.S. Pat. No. 7,004,780, filed on May 13, 2004, and entitled “PORTABLE COMPUTER PERIPHERAL APPARATUS WITH RETRACTABLE PLUG CONNECTOR”.
Number | Name | Date | Kind |
---|---|---|---|
4582985 | Lofberg | Apr 1986 | A |
4630201 | White | Dec 1986 | A |
4766293 | Boston | Aug 1988 | A |
4833554 | Dalziel et al. | May 1989 | A |
4926480 | Chaum | May 1990 | A |
5020105 | Rosen et al. | May 1991 | A |
5180901 | Hiramatsu | Jan 1993 | A |
5280527 | Gullman et al. | Jan 1994 | A |
5404485 | Ban | Apr 1995 | A |
5430859 | Norman et al. | Jul 1995 | A |
5479638 | Assar et al. | Dec 1995 | A |
5623552 | Lane | Apr 1997 | A |
5797771 | Garside | Aug 1998 | A |
5835760 | Harmer | Nov 1998 | A |
5859766 | Van Scyoc et al. | Jan 1999 | A |
5899773 | Cheng | May 1999 | A |
5907856 | Estakhri et al. | May 1999 | A |
5959541 | DiMaria et al. | Sep 1999 | A |
5984731 | Laity | Nov 1999 | A |
6000006 | Bruce et al. | Dec 1999 | A |
6012636 | Smith | Jan 2000 | A |
6044428 | Rayabhari | Mar 2000 | A |
6069920 | Schulz et al. | May 2000 | A |
6069970 | Salatino et al. | May 2000 | A |
6081858 | Abudayyeh et al. | Jun 2000 | A |
6125192 | Bjorn et al. | Sep 2000 | A |
6132243 | Hirata et al. | Oct 2000 | A |
6148354 | Ban et al. | Nov 2000 | A |
6159039 | Wu | Dec 2000 | A |
6193152 | Fernando et al. | Feb 2001 | B1 |
6202138 | Estakhri et al. | Mar 2001 | B1 |
6230233 | Lofgren et al. | May 2001 | B1 |
6275894 | Kuo et al. | Aug 2001 | B1 |
6279955 | Fisher | Aug 2001 | B1 |
6292863 | Terasaki et al. | Sep 2001 | B1 |
6321478 | Klebes | Nov 2001 | B1 |
6334793 | Amoni et al. | Jan 2002 | B1 |
6438638 | Jones et al. | Aug 2002 | B1 |
6456500 | Chen | Sep 2002 | B1 |
6480390 | Matsumiya et al. | Nov 2002 | B2 |
6547130 | Shen | Apr 2003 | B1 |
6554648 | Shi et al. | Apr 2003 | B2 |
6567273 | Liu et al. | May 2003 | B1 |
6615404 | Garfunkel et al. | Sep 2003 | B1 |
6618243 | Tirosh | Sep 2003 | B1 |
6636929 | Frentz et al. | Oct 2003 | B1 |
6676419 | Lin et al. | Jan 2004 | B1 |
6717817 | Liu et al. | Apr 2004 | B2 |
6718407 | Martwick | Apr 2004 | B2 |
6737591 | Lapstun et al. | May 2004 | B1 |
6743030 | Lin et al. | Jun 2004 | B2 |
6763410 | Yu | Jul 2004 | B2 |
D494969 | Lin | Aug 2004 | S |
6778401 | Yu et al. | Aug 2004 | B1 |
6792487 | Kao | Sep 2004 | B2 |
6808400 | Tu | Oct 2004 | B2 |
6854984 | Lee et al. | Feb 2005 | B1 |
6880024 | Chen et al. | Apr 2005 | B2 |
6999322 | Lin | Feb 2006 | B1 |
7004780 | Wang | Feb 2006 | B1 |
7021971 | Chou et al. | Apr 2006 | B2 |
7044802 | Chiou et al. | May 2006 | B2 |
7069370 | Sukegawa et al. | Jun 2006 | B2 |
7074052 | Ni et al. | Jul 2006 | B1 |
7090541 | Ho | Aug 2006 | B1 |
7092256 | Salazar et al. | Aug 2006 | B1 |
7097472 | Parker | Aug 2006 | B2 |
7103684 | Chen et al. | Sep 2006 | B2 |
7103765 | Chen | Sep 2006 | B2 |
7104848 | Chou et al. | Sep 2006 | B1 |
7125287 | Chou et al. | Oct 2006 | B1 |
7155545 | Wang | Dec 2006 | B1 |
7182646 | Chou et al. | Feb 2007 | B1 |
7214075 | He et al. | May 2007 | B2 |
7249978 | Ni | Jul 2007 | B1 |
7257714 | Shen | Aug 2007 | B1 |
7259967 | Ni | Aug 2007 | B2 |
7264992 | Hsueh et al. | Sep 2007 | B2 |
7269004 | Ni et al. | Sep 2007 | B1 |
7287705 | Tang | Oct 2007 | B2 |
7359208 | Ni | Apr 2008 | B2 |
7361059 | Harkabi et al. | Apr 2008 | B2 |
7366028 | Kagan et al. | Apr 2008 | B2 |
7376011 | Conley et al. | May 2008 | B2 |
7386655 | Gorobets et al. | Jun 2008 | B2 |
7389397 | Paley et al. | Jun 2008 | B2 |
7395384 | Sinclair et al. | Jul 2008 | B2 |
7524198 | Nguyen et al. | Apr 2009 | B2 |
7540786 | Koser et al. | Jun 2009 | B1 |
7581967 | Collantes, Jr. et al. | Sep 2009 | B2 |
20010043174 | Jacobsen et al. | Nov 2001 | A1 |
20020036922 | Roohparvar | Mar 2002 | A1 |
20020166023 | Nolan et al. | Nov 2002 | A1 |
20030046510 | North | Mar 2003 | A1 |
20030100203 | Yen | May 2003 | A1 |
20030163656 | Ganton | Aug 2003 | A1 |
20030177300 | Lee et al. | Sep 2003 | A1 |
20030182528 | Ajiro | Sep 2003 | A1 |
20040034765 | James | Feb 2004 | A1 |
20040148482 | Grundy et al. | Jul 2004 | A1 |
20040153595 | Sukegawa et al. | Aug 2004 | A1 |
20040255054 | Pua et al. | Dec 2004 | A1 |
20050009388 | Chao | Jan 2005 | A1 |
20050085133 | Wang et al. | Apr 2005 | A1 |
20050102444 | Cruz | May 2005 | A1 |
20050114587 | Chou et al. | May 2005 | A1 |
20050120146 | Chen et al. | Jun 2005 | A1 |
20050160213 | Chen | Jul 2005 | A1 |
20050182858 | Lo et al. | Aug 2005 | A1 |
20050193161 | Lee et al. | Sep 2005 | A1 |
20050193162 | Chou et al. | Sep 2005 | A1 |
20050216624 | Deng et al. | Sep 2005 | A1 |
20050223158 | See et al. | Oct 2005 | A1 |
20050246243 | Adams et al. | Nov 2005 | A1 |
20050268082 | Poisner | Dec 2005 | A1 |
20050271458 | Kui | Dec 2005 | A1 |
20060065743 | Fruhauf | Mar 2006 | A1 |
20060075174 | Vuong | Apr 2006 | A1 |
20060106962 | Woodbridge et al. | May 2006 | A1 |
20060161725 | Lee et al. | Jul 2006 | A1 |
20060184709 | Sukegawa et al. | Aug 2006 | A1 |
20060206702 | Fausak | Sep 2006 | A1 |
20060234533 | Lei et al. | Oct 2006 | A1 |
20060242395 | Fausak | Oct 2006 | A1 |
20070079043 | Yu et al. | Apr 2007 | A1 |
20070094489 | Ota et al. | Apr 2007 | A1 |
20070113067 | Oh et al. | May 2007 | A1 |
20070113267 | Iwanski et al. | May 2007 | A1 |
20070130436 | Shen | Jun 2007 | A1 |
20080232060 | Yu et al. | Sep 2008 | A1 |
Number | Date | Country |
---|---|---|
63-163589 | Jul 1988 | JP |
02-118790 | May 1990 | JP |
11-039483 | Feb 1999 | JP |
Number | Date | Country | |
---|---|---|---|
20100281209 A1 | Nov 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12361772 | Jan 2009 | US |
Child | 12834647 | US | |
Parent | 12025706 | Feb 2008 | US |
Child | 12361772 | US | |
Parent | 11845747 | Aug 2007 | US |
Child | 12025706 | US | |
Parent | 12604309 | Oct 2009 | US |
Child | 11845747 | US | |
Parent | 12171194 | Jul 2008 | US |
Child | 12604309 | US |