WO2007107073A1 - Système de mémoire sur carte à puce, et son procédé de gestion de fichier - Google Patents
Système de mémoire sur carte à puce, et son procédé de gestion de fichier Download PDFInfo
- Publication number
- WO2007107073A1 WO2007107073A1 PCT/CN2007/000427 CN2007000427W WO2007107073A1 WO 2007107073 A1 WO2007107073 A1 WO 2007107073A1 CN 2007000427 W CN2007000427 W CN 2007000427W WO 2007107073 A1 WO2007107073 A1 WO 2007107073A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- data block
- entry
- allocation table
- control unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/08—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
Definitions
- the present invention relates to the field of embedded circuits, and more particularly to a smart card storage system in the field of smart cards and USB TOKEN, and a method for implementing file creation management in the smart card storage system.
- All applications and data on the smart card are stored in the form of files.
- the file types in the smart card are completely defined in the IS07816 specification, and are divided into a directory file DF and a basic file EF.
- the EF file can be divided into binary files.
- External access to data on smart cards is ultimately access to specific file content in smart card memory.
- Traditional smart card chips have very limited storage capacity due to their small storage capacity. In this case, the management of the file system on the card is relatively simple. Usually, the file space is allocated sequentially, and the flexible creation, deletion, and space recycling of the file are not supported.
- Figure 1 shows the file structure on an exemplary smart card.
- Figure 2 is the file structure on a traditional smart card Storage allocation method.
- Each file consists of two parts: a file directory entry and a file body space.
- the file directory entry records basic information about the file, such as: file name, file size, and so on.
- MF is automatically allocated as the maximum space on the card when it is created.
- Other files are allocated space in the order they are created and in order of size. For example, when creating a subfile for the current directory file, first check whether the remaining space in the current directory is larger than the size of the subfile to be created. If the remaining space is large enough, the subfile will start from the start address of the remaining space. It is created sequentially; if the remaining space is not large enough, the subfile cannot be created.
- the system allocates space according to the size specified when the file is created; since it is allocated in order of address space, once the allocation is successful, the file location is fixed;
- the object of the present invention is to provide a smart card storage system and a file creation management method of the smart card storage system, and to store, read, update, delete, and modify the file footprint of the created file, and the smart card storage system allocates the file.
- the File Allocation Table (abbreviated as FAT), combined with the traditional smart card system, adopts a new file creation management method to solve the problem of flexible creation, deletion and space recycling of files that are not supported by the prior art.
- FAT File Allocation Table
- the present invention provides a smart card storage system, including a storage area and a control unit, the storage area includes a file allocation table storage area and a data storage area for storing file contents, and the file allocation table storage area includes a plurality of file allocation tables.
- the data storage area includes a plurality of data blocks; each of the file allocation table entries corresponds to one data block, wherein the control unit searches for a file allocation table of the file allocation table storage area, according to the file allocation table entry The correspondence of the data blocks controls the files within the data block.
- the data storage area includes a file directory entry storage unit for storing a file directory entry and a file body space storage unit for storing the file body space, wherein the file directory entry storage unit and the file body space storage unit are in different data blocks.
- the content recorded in the file allocation table entry is the block number of the next data block occupied by the current file. If the current file has no next data block, the value in the file allocation table entry is a specific value indicating the end; If the data block is not occupied, the value in the corresponding file allocation table entry indicates a specific value that is not occupied.
- the present invention proposes a method for file creation management of a smart card storage system, creating a new file, including the following steps:
- the control unit searches the file allocation table storage area, searches for an unoccupied file allocation entry in the file allocation table, and finds an unoccupied data block according to the corresponding relationship between the file allocation table item and the data block;
- the control unit allocates the found unoccupied data block to the file directory entry of the file to be created, writes the file information, and modifies the value of the file allocation entry corresponding to the data block to the specific value occupied;
- step A perform the unoccupied data block search again, allocate the plurality of data blocks found this time to the file body space of the file to be created, and modify the value of the file allocation entry corresponding to the data block to be occupied.
- a specific value forming a file allocation table necklace table, recording the block number of the first data block in the file directory entry determined in step B, and modifying the file allocation entry corresponding to the last data block occupied by the file to an end value .
- the file information written in step B is at least the file size, the file start block number.
- control unit further includes the step of determining the remaining space in the current directory. If the size of the remaining space in the current directory is greater than or equal to the space required for the file to be created, the control unit performs step A.
- step C the file start block number record in the file directory entry
- the data block block number occupied by the file directory entry of the first subfile created under the directory file, and the file allocation entry corresponding to the data block occupied by the file directory entry of the first subfile is recorded in the file.
- the block number of the data block occupied by the file directory entry of the next subfile created under the directory file, and so on, all the data blocks are linked to form a file allocation table necklace table of the file body space of the directory file.
- the file start data block block number in the file directory entry in step C records the block number of the first data block occupied by the file body space of the basic file, the start data.
- the file allocation entry corresponding to the block records the block number of the second data block occupied by the file body space of the basic file.
- step C There is also a step of calculating, by the control unit, the number of data blocks of the file body space of the basic file before step C; and in step C, the control unit needs to find a corresponding number of unoccupied file allocation tables in the file allocation table. Item, and link these file allocation entries, and then assign these data blocks to the file body space of the base file.
- control unit obtains the data block block number of the starting data block of the file body space storage data according to the directory entry of the created file;
- the control unit obtains the file allocation table corresponding to the data block from the block number of the starting data block of the file, and further obtains the file allocation table necklace table of the data occupying block of the file to be stored, and then performs the file content according to the file allocation table necklace table. Store until the file content is stored.
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be updated, and obtains a data block block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit obtains the file allocation table corresponding to the data block from the block number of the starting data block of the file, and further obtains the file allocation table necklace table of the data occupying block of the file to be updated, and then according to the starting data block obtained by step F.
- the block number of the data block and the offset of the start address to be updated with respect to the start address of the file body space are found in the linked list to the data block number of the start address to be updated, and the data block is updated until the specified length The contents of the file have been updated.
- H The control unit searches for a matching file directory entry according to the identifier or file name of the file to be read, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- I The control unit obtains the file allocation table corresponding to the start data from the data block number of the file start data block, and obtains the file allocation table necklace table of the data block to be read by the file allocation table item, and then according to the steps
- the data block number of the starting data block obtained by H and the offset of the starting address to be read relative to the starting address of the file body space are found in the linked list, and the data block number of the starting address to be read is found in the linked list.
- the data block is read until the file content of the specified length is read.
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be deleted, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit obtains a file allocation table corresponding to the data block number of the file start data block obtained in step J, and obtains a file allocation table necklace table of the data block to be deleted by the file allocation table item, according to the The linked list deletes the file content of each data block until the file content of the last data block of the file is deleted, and the value of the file allocation table corresponding to the data block of each deleted file content is set to an unoccupied state. Entry value
- the control unit deletes the data block occupied by the directory entry of the file to be deleted, and sets the value of the corresponding file allocation entry to the value of the entry in the unoccupied state.
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be modified, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit searches the file allocation table corresponding to the data block according to the data block number of the starting data block obtained by the step M, and obtains a file allocation table necklace table of the data block to be modified, according to the chain table. Find the file allocation entry corresponding to the last data block of the file;
- the control unit sets the file allocation table according to the size of the space to be modified.
- the control unit modifies the value of the file space size in the file directory entry of the modified file.
- step N the control unit further needs to determine the usage status of the data block corresponding to each file allocation entry.
- Step 0 should also include the following steps:
- the control unit reduces the size of the file according to the file space, and one of the unoccupied data blocks of the file or The value of the file allocation entry corresponding to the multiple data blocks is set to the value of the entry of the unoccupied state; and the value of the file allocation entry corresponding to the last data block occupied by the file is modified to the end value of the file allocation entry.
- step 0 If the file footprint is expanded, in step 0, the following steps are included:
- the control unit searches for the unoccupied file allocation entry in the file allocation table, and assigns the data block corresponding to the unoccupied file allocation entry to the file according to the pre-expanded size of the file, and modifies the file occupation.
- the file allocation entry corresponding to the last data block is an end value, and the file allocation table item originally occupied by the file is linked with the newly allocated file allocation table item to generate a new file allocation table necklace table of the file.
- Figure 1 is a schematic file structure diagram
- FIG. 2 is a diagram showing a file allocation method in a conventional smart card
- Figure 3 is a schematic diagram showing the storage structure of the file a of the present invention.
- Figure 4 is a schematic diagram of file space redistribution (before redistribution);
- FIG. 5 is a schematic diagram of file space reallocation (after redistribution). detailed description
- the present invention indicates a smart card storage system and a method for creating a file in the system.
- the smart card storage system of the present invention includes a storage area and a control unit, the storage area including a file allocation (FAT) table storage area and data for storing file contents.
- a storage area the FAT table storage area includes a plurality of FAT entries
- the data storage area includes a plurality of data blocks; each FAT entry corresponds to one data block, wherein the control unit searches for FAT table storage.
- the FAT entry of the zone controls the files in the data block according to the correspondence between the FAT entry and the data block.
- the data storage area includes a file directory entry storage unit that stores a file directory entry, and a file body space storage unit that stores the file body space, the file directory entry storage unit and the file body space storage unit.
- the file directory entry storage unit stores basic information such as a file name, size, type, access control authority, file start block number, and file identifier;
- the file body space storage unit is for the directory file DF and the base file.
- EF is different: DF is a special file whose main body space stores a collection of all subfiles below it; and the main body space of the EF file stores the actual file contents.
- the content recorded in the file allocation table entry is the block number of the next data block occupied by the current file, and if the current file has no next data block, the value in the file allocation table entry is A specific value indicating the end; if the data block is not occupied, the value in the corresponding file allocation table entry indicates a specific value that is not occupied.
- the FAT entry storage area includes a plurality of FAT entries, each FAT entry corresponds to one data block, and the number of blocks in the data storage area is divided into a number of FAT entries.
- the FAT file system has FAT12, FAT16, and FAT32 points, which respectively indicate the number of bits of the FAT entry used to record the data block: 12 bits, 16 bits, or 32 bits. Taking FAT16 as an example, each data block occupies 2 bytes (16 bits) in the FAT table.
- the data area is divided into a plurality of equal-sized data blocks to store the created file.
- the data blocks are numbered starting from 1, which are the first block, the second block, the third block..., respectively corresponding to the first FAT entry of the FAT table area,
- the third FAT entry >, that is, the FAT entry of the FAT table area is paired with the data block of the data area.
- the present invention provides a method for file creation management of the above smart card storage system, that is, when creating a new file, the following steps are included:
- the control unit searches the file allocation table storage area, searches for an unoccupied file allocation entry in the file allocation table, and finds an unoccupied data block according to the corresponding relationship between the file allocation table item and the data block;
- the control unit allocates the found unoccupied data block to the file directory entry of the file to be created, writes the file information, and modifies the value of the file allocation entry corresponding to the data block to the specific value occupied;
- step A perform the unoccupied data block search again, allocate the plurality of data blocks found this time to the file body space of the file to be created, and modify the value of the file allocation entry corresponding to the data block to be occupied.
- a specific value forming a file allocation table necklace table, recording the block number of the first data block in the file directory entry determined in step B, and modifying the file allocation entry corresponding to the last data block occupied by the file to an end value .
- step A the step of determining the remaining space in the current directory by the control unit before step A, for example, if the remaining space in the current directory is greater than or equal to the space required for the file to be created, the control unit Perform step A.
- Step C needs to be performed separately for the creation of the catalog file, that is, if the catalog file is included in its subfile, then step C is executed.
- the process for creating a directory file is: Since DF is a directory file, a subfile can be created under it, and its file body space is a collection of several subfiles below it. Therefore, when creating, you only need to find and allocate empty data block space for the directory items of the DF file.
- the file body space of DF can be allocated when the subfile is created under it; that is, the process of creating the subfile under DF is DF.
- step C the control unit needs to find a corresponding number of unoccupied FAT entries in the FAT table, and link the FAT entries, and then allocate the data blocks.
- the control unit needs to find a corresponding number of unoccupied FAT entries in the FAT table, and link the FAT entries, and then allocate the data blocks.
- the file start directory block number in the file directory entry of the directory file is recorded under the directory file.
- the block number of the data block occupied by the file directory entry of the first subfile; the file allocation entry corresponding to the data block occupied by the file directory entry of the first subfile is the second created under the directory file.
- the data block block number occupied by the file directory entry of the subfile; the file allocation entry corresponding to the data block occupied by the file directory entry of the second subfile records the file directory of the third subfile created under the directory file.
- the file start data block block number in the file directory entry of the basic file records the first data block occupied by the body space of the basic file.
- Block number; the file allocation entry corresponding to the starting data block records the block number of the second data block occupied by the file body space of the basic file, and so on, thereby forming a file allocation of the basic file Table necklace table.
- control unit obtains the data block block number of the starting data block of the file body space storage data according to the directory entry of the created file;
- the control unit obtains the file allocation table corresponding to the data block from the block number of the starting data block of the file, and further obtains the file allocation table necklace table of the data occupying block of the file to be stored, and then performs the file content according to the file allocation table necklace table. Store until the file content is stored.
- the file system of the present invention uniformly manages all the data blocks by the FAT table, when storing a file, the files can be stored discontinuously, and the FAT entry can record the linked list of the data blocks occupied by the file normally. Access the file.
- the control unit allocates different data blocks for the directory entry of the file to be stored and the file body space, wherein, for the data block occupied by the file directory entry, the corresponding FAT entry records the data block of the directory entry of the sibling file.
- Block number if the file does not currently have a sibling file, the value of the FAT entry is the end value, for example, FFFF; for the file body space, the FAT entry corresponding to each data block is recorded for the file. The block number of a data block. If there is no next data block, the FAT entry value is the end value.
- the storage method of the present invention does not lose the flexibility of FAT file management on the one hand, and speeds up access during file reading and writing on the other hand.
- Figure 3 shows the storage of the file in detail:
- File a is an EF file, when storing files:
- the control unit finds a matching file directory entry according to the identifier or file name of the file to be updated, by the file directory
- the recording item obtains the data block block number of the starting data block of the file body space storage data
- the control unit obtains the file allocation table corresponding to the data block from the block number of the starting data block of the file, and further obtains the file allocation table necklace table of the data occupying block of the file to be updated, and then according to the starting data block obtained by step F.
- the data block block number and the offset of the file to be updated relative to the start data are found in the linked list in the data block number of the start address to be updated, and the data block is updated until the file content of the specified length is updated.
- the update process will be described with reference to FIG. 3:
- the control unit first calculates the offset to be updated (the offset refers to the offset between the position of the updated or read file and the start position of the file) and the length of the data block.
- the starting address to be updated is in the first data block. The following is an example in which the starting address to be updated is located in the first data block.
- the control unit searches for the directory entry of the file a, and then according to the directory entry of the file a.
- the block number of the starting data block recorded in the middle finds the first data block of the file a, that is, the data block No. 5, and updates the file content in the data block; the value of the FAT entry of the data block No. 5 is 6,
- the next data block of file a is data block No.
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be read, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit obtains the file allocation table corresponding to the start data from the data block number of the file start data block, and obtains the file allocation table necklace table of the data block to be read by the file allocation table item, and then according to the steps
- the data block block number of the starting data block obtained by H and the offset of the file to be read relative to the starting data are found in the linked list to the data block number where the starting address to be read is located, and the data block is read. , until the file content of the specified length is read.
- the control unit searches for the directory entry of the file a, and then finds the file a according to the block number of the starting data block recorded in the directory entry of the file a.
- a data block that is, data block No. 5, reads the content of the data block; if the value of the FAT entry of the data block No. 5 is 6, it can be known that the next data block of file a is data block No. 6; If the value of the FAT entry is 7, it can be seen that the next data block of the file a is the data block No. 7; the value of the FAT entry of the data block No. 7 is 11, the next data block of the file a is the data block No. 11; Dependent on this class Pushing the file content reading; until the FAT entry value of the 13th data block is FFFF, it can be seen that there is no next data block, and the file a ends here, so the file a can be completely read.
- the present invention also provides a method for deleting a file of the above smart card storage system.
- the method includes the following steps:
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be deleted, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit obtains a file allocation table corresponding to the data block number of the file start data block obtained in step J, and obtains a file allocation table necklace table of the data block to be deleted by the file allocation table item, according to the The linked list deletes the file content of each data block until the file content of the last data block of the file is deleted, and the value of the file allocation table corresponding to the data block of each deleted file content is set to an unoccupied state. Entry value
- the control unit deletes the data block occupied by the directory entry of the file to be deleted, and sets the value of the corresponding file allocation entry to the value of the entry in the unoccupied state.
- the control unit searches for the directory entry of the file a, and then searches for the first data block of the file a according to the block number of the starting data block recorded in the directory entry of the file a, that is, Data block No. 5, delete the contents of the file in the data block; the value of the FAT entry of the data block No. 5 is 6, it is known that the next data block of file a is the data block No. 6; the FAT entry value of the data block No. 6 If it is 7, it can be seen that the next data block of file a is data block No. 7; if the FAT entry value of data block No. 7 is 11, it can be known that the next data block of file a is data block No. 11; and so on.
- the file content of the data block, and the FAT entry corresponding to the data block is set to 0, indicating that the data block is not occupied, so that the system allocates it to other files to be created; until the last data block of the file is deleted.
- the present invention also indicates a method for modifying a file footprint of the above-mentioned smart card storage system.
- the following steps are included:
- the control unit searches for a matching file directory entry according to the identifier or file name of the file to be modified, and obtains the data block number of the starting data block of the file body space storage data from the file directory entry;
- the control unit searches for the file corresponding to the data block according to the data block number of the starting data block obtained by step M. Allocating an entry, and obtaining a file allocation table necklace table of the data block to be modified, and finding a file allocation entry corresponding to the last data block of the file according to the linked list;
- the control unit sets the file allocation table according to the size of the space to be modified.
- the control unit modifies the value of the file space size in the file directory entry of the modified file.
- step N the control unit further needs to determine the usage status of the data block corresponding to each file allocation entry.
- Step 0 should also include the following steps:
- the control unit sets the value of the file allocation entry corresponding to one or more data blocks in the unoccupied data block to the unoccupied state of the file according to the size of the file after the file space is reduced;
- the file allocation entry value corresponding to the last data block occupied is modified to the end value of the file allocation table entry.
- step 0 the following steps are included:
- the control unit searches the file allocation table for the unoccupied file allocation entry, and assigns the data block corresponding to the unoccupied file allocation entry to the file according to the pre-expanded size of the file, and modifies the file occupation.
- the file allocation entry corresponding to the last data block is an end value, and the file allocation table item originally occupied by the file is linked with the newly allocated file allocation table item to generate a new file allocation table necklace table of the file.
- file a occupies six data blocks of 5th, 6th, 7th, 11th, 12th, and 13th; file b occupies 8, 9, 10 three data blocks; Assume that the current file a uses only the first four data blocks, that is, the 12th and 13th shaded data blocks are not used yet;
- the space that has not been used by the file a can be transferred to the file b, that is, let the file a occupy the 5th, 6th, 7th, and 11th.
- the method for modifying the file space of the present invention can redistribute the file size, that is, when one file space is too large and waste, and when another file space is too small to be used, the unused file space in the large file can be used. Transfer to small files for use, giving users the flexibility to use storage space.
- the smart card file system and the management method thereof according to the present invention can overcome the defects existing in the prior art, and realize flexible creation, deletion, and space recycling of files.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP07710874A EP2006774A4 (en) | 2006-03-23 | 2007-02-07 | CHIP CARD MEMORY SYSTEM, AND FILE MANAGEMENT METHOD THEREOF |
KR1020087025862A KR101157171B1 (ko) | 2006-03-23 | 2007-02-07 | 스마트카드를 위한 저장 시스템 및 그 저장시스템에서 파일생성관리방법 |
US12/300,333 US20090307291A1 (en) | 2006-03-23 | 2007-02-07 | Smart card storage system and file management method therein |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610065158.2 | 2006-03-23 | ||
CNB2006100651582A CN100485681C (zh) | 2006-03-23 | 2006-03-23 | 智能卡存储系统及该系统中文件创建管理的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007107073A1 true WO2007107073A1 (fr) | 2007-09-27 |
Family
ID=38522020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/000427 WO2007107073A1 (fr) | 2006-03-23 | 2007-02-07 | Système de mémoire sur carte à puce, et son procédé de gestion de fichier |
Country Status (5)
Country | Link |
---|---|
US (1) | US20090307291A1 (zh) |
EP (1) | EP2006774A4 (zh) |
KR (1) | KR101157171B1 (zh) |
CN (1) | CN100485681C (zh) |
WO (1) | WO2007107073A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100965147B1 (ko) | 2008-09-29 | 2010-06-23 | 에스케이씨앤씨 주식회사 | 이동통신 단말기용 유심의 엘레멘트 파일들을 효율적으로 확장시키는 방법 및 이를 위한 저장장치 |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221581B (zh) * | 2008-01-24 | 2010-06-02 | 北京中星微电子有限公司 | 一种数据文件生成方法及装置 |
CN101510332B (zh) * | 2008-12-25 | 2013-04-24 | 北京握奇数据系统有限公司 | 一种智能卡中存储空间的管理方法和装置 |
CN101446984B (zh) * | 2009-01-09 | 2011-04-13 | 成都市华为赛门铁克科技有限公司 | 一种文件存储方法、装置及文件删除方法和装置 |
JP2011090436A (ja) * | 2009-10-21 | 2011-05-06 | Sony Corp | 情報処理装置、通信装置、及びプログラム |
CN102103596B (zh) * | 2009-12-18 | 2014-10-29 | 康佳集团股份有限公司 | 在嵌入式系统中实现文件系统的方法 |
CN102004700A (zh) * | 2010-11-26 | 2011-04-06 | 华为终端有限公司 | 闪存的存储空间分配方法及装置 |
CN102073558B (zh) * | 2010-12-30 | 2012-11-28 | 东方口岸科技有限公司 | 实现智能卡中文件安全完整的方法 |
CN102929884B (zh) * | 2011-08-10 | 2016-05-04 | 阿里巴巴集团控股有限公司 | 一种收缩虚拟磁盘镜像文件的方法及装置 |
CN102279805A (zh) * | 2011-09-06 | 2011-12-14 | 四川九洲电器集团有限责任公司 | 一种存储器数据存放及读取方法 |
CN102298645B (zh) * | 2011-09-21 | 2013-06-26 | 深圳万兴信息科技股份有限公司 | 一种构建文件目录结构的方法及其系统 |
CN102508782B (zh) * | 2011-09-29 | 2014-09-10 | 北京星网锐捷网络技术有限公司 | 数据读写方法、装置、存储体及网络设备 |
FR2983622B1 (fr) * | 2011-12-02 | 2014-01-24 | Morpho | Ecriture de donnees dans une memoire non volatile de carte a puce |
JP2015507798A (ja) | 2011-12-29 | 2015-03-12 | メモリー テクノロジーズ リミティド ライアビリティ カンパニー | メモリ・モジュールにおいてデータ・エンティティを消去するための方法 |
CN102855327B (zh) * | 2012-09-18 | 2015-12-02 | 中国石油天然气股份有限公司 | 一种小型嵌入式文件存储管理系统 |
CN102968652B (zh) * | 2012-11-20 | 2015-10-07 | 北京海泰方圆科技有限公司 | 智能卡的访问方法及访问装置 |
CN103051977A (zh) * | 2013-01-11 | 2013-04-17 | 乐视网信息技术(北京)股份有限公司 | 一种处理p2p缓存数据的方法 |
CN103646063B (zh) * | 2013-11-27 | 2016-08-17 | 中国航天科技集团公司第五研究院第五一三研究所 | 一种星载高速文件管理系统 |
CN104050251B (zh) * | 2014-06-11 | 2017-03-08 | 深圳市茁壮网络股份有限公司 | 一种文件管理方法及管理系统 |
CN104573571B (zh) * | 2015-02-04 | 2017-09-19 | 郑州信大捷安信息技术股份有限公司 | 一种智能卡安全文件系统的生成方法 |
US10482065B1 (en) * | 2015-03-31 | 2019-11-19 | EMC IP Holding Company LLC | Managing deletion of replicas of files |
CN105159608B (zh) * | 2015-08-28 | 2019-02-22 | 北京奇艺世纪科技有限公司 | 一种用于读写p2p数据的方法及装置 |
CN105468304B (zh) * | 2015-11-26 | 2018-05-11 | 恒宝股份有限公司 | 一种Native存储卡及其管理方法 |
CN106326384A (zh) * | 2016-08-16 | 2017-01-11 | 中国科学院长春光学精密机械与物理研究所 | 基于fpga的适用于高速海量存储的文件存储方法 |
CN107479834A (zh) * | 2017-08-28 | 2017-12-15 | 北京智芯微电子科技有限公司 | 一种基于cos的文件存储方法及装置 |
CN109697019B (zh) * | 2017-10-20 | 2022-12-27 | 北京京东尚科信息技术有限公司 | 基于fat文件系统的数据写入的方法和系统 |
CN107918527B (zh) * | 2017-11-01 | 2021-04-23 | 北京小米移动软件有限公司 | 存储空间分配方法及装置以及文件存储方法及装置 |
EP3736705B1 (en) * | 2018-02-05 | 2024-09-18 | Huawei Technologies Co., Ltd. | Date query method and device |
US20190320008A1 (en) * | 2018-04-16 | 2019-10-17 | Qbic Technology Co., Ltd. | Data transfer system and method thereof |
CN112241393B (zh) * | 2019-07-18 | 2024-04-19 | 国民技术股份有限公司 | 文件存储方法、终端和计算机可读存储介质 |
CN111159114A (zh) * | 2019-12-30 | 2020-05-15 | 中国科学院寒区旱区环境与工程研究所 | 文件存储方法、装置及服务器 |
CN111290707B (zh) * | 2020-01-17 | 2023-06-27 | 深圳市芯智科技有限公司 | 一种在小系统行车记录仪上实现特定存储的方法 |
CN111782605A (zh) * | 2020-07-06 | 2020-10-16 | 东信和平科技股份有限公司 | 一种芯片卡文件管理方法、装置、终端及存储介质 |
CN112732198B (zh) * | 2021-01-15 | 2023-11-14 | 广州Tcl互联网小额贷款有限公司 | 文件管理方法、装置、设备和存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1285549A (zh) * | 2000-10-23 | 2001-02-28 | 大唐电信科技股份有限公司微电子分公司 | 采用逻辑区间链表寻址的智能卡嵌入式软件的实现方法 |
JP2003288258A (ja) * | 2002-03-28 | 2003-10-10 | Toppan Printing Co Ltd | Icカード及びicカードのメモリ管理方法 |
US20050050108A1 (en) * | 2003-08-21 | 2005-03-03 | Texas Instruments Incorporated | File system for digital processing systems with limited resources |
JP2005141335A (ja) * | 2003-11-04 | 2005-06-02 | Sony Corp | 情報記録再生装置とそのファイルアクセス方法 |
CN1632765A (zh) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | 一种闪存文件系统管理方法 |
US20060041709A1 (en) * | 2004-08-23 | 2006-02-23 | Sony Corporation | Memory card and reproducing apparatus |
CN1744090A (zh) * | 2005-09-13 | 2006-03-08 | 北京中星微电子有限公司 | 文件分配表文件系统读写方法及装置 |
Family Cites Families (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US256470A (en) * | 1882-04-18 | Oeoege | ||
US288710A (en) * | 1883-11-20 | Automatically releasing safety-valve weights | ||
GB2251324B (en) * | 1990-12-31 | 1995-05-10 | Intel Corp | File structure for a non-volatile semiconductor memory |
JP2734391B2 (ja) * | 1995-01-18 | 1998-03-30 | 日本電気株式会社 | 不揮発性メモリのファイル管理装置 |
US5832525A (en) * | 1996-06-24 | 1998-11-03 | Sun Microsystems, Inc. | Disk fragmentation reduction using file allocation tables |
US6208999B1 (en) * | 1996-12-12 | 2001-03-27 | Network Associates, Inc. | Recoverable computer file system with a signature area containing file integrity information located in the storage blocks |
US6564995B1 (en) * | 1997-09-19 | 2003-05-20 | Schlumberger Malco, Inc. | Smart card application-selection |
KR100704998B1 (ko) * | 1999-02-26 | 2007-04-09 | 소니 가부시끼 가이샤 | 기록방법, 관리방법 및 기록장치 |
JP4281185B2 (ja) * | 1999-03-25 | 2009-06-17 | ソニー株式会社 | 編集装置および方法 |
KR100330164B1 (ko) * | 1999-04-27 | 2002-03-28 | 윤종용 | 무효 블록들을 가지는 복수의 플래시 메모리들을 동시에 프로그램하는 방법 |
US7660902B2 (en) * | 2000-11-20 | 2010-02-09 | Rsa Security, Inc. | Dynamic file access control and management |
US6970891B1 (en) * | 2000-11-27 | 2005-11-29 | Microsoft Corporation | Smart card with volatile memory file subsystem |
US6823417B2 (en) * | 2001-10-01 | 2004-11-23 | Hewlett-Packard Development Company, L.P. | Memory controller for memory card manages file allocation table |
EP1435576B1 (en) * | 2003-01-03 | 2013-03-20 | Austria Card Plastikkarten und Ausweissysteme GmbH | Method and apparatus for block-oriented memory management provided in smart card controllers |
JP2004280752A (ja) * | 2003-03-19 | 2004-10-07 | Sony Corp | データ記憶装置、およびデータ記憶装置における管理情報更新方法、並びにコンピュータ・プログラム |
JP4773828B2 (ja) * | 2004-01-26 | 2011-09-14 | パナソニック株式会社 | 半導体メモリ装置 |
US8607016B2 (en) * | 2004-07-21 | 2013-12-10 | Sandisk Technologies Inc. | FAT analysis for optimized sequential cluster management |
KR100617775B1 (ko) * | 2004-11-08 | 2006-08-28 | 삼성전자주식회사 | 멀티미디어 메시징 서비스에서 중복된 도달 통지 메시지에대한 관리 방법 |
US7315917B2 (en) * | 2005-01-20 | 2008-01-01 | Sandisk Corporation | Scheduling of housekeeping operations in flash memory systems |
US7877539B2 (en) * | 2005-02-16 | 2011-01-25 | Sandisk Corporation | Direct data file storage in flash memories |
US20060184719A1 (en) * | 2005-02-16 | 2006-08-17 | Sinclair Alan W | Direct data file storage implementation techniques in flash memories |
US20060184718A1 (en) * | 2005-02-16 | 2006-08-17 | Sinclair Alan W | Direct file data programming and deletion in flash memories |
US7984084B2 (en) * | 2005-08-03 | 2011-07-19 | SanDisk Technologies, Inc. | Non-volatile memory with scheduled reclaim operations |
US7669003B2 (en) * | 2005-08-03 | 2010-02-23 | Sandisk Corporation | Reprogrammable non-volatile memory systems with indexing of directly stored data files |
US7350049B1 (en) * | 2005-09-13 | 2008-03-25 | Vimicro Corporation | Method and apparatus for managing access to a file allocation table |
US20080189554A1 (en) * | 2007-02-05 | 2008-08-07 | Asad Ali | Method and system for securing communication between a host computer and a secure portable device |
-
2006
- 2006-03-23 CN CNB2006100651582A patent/CN100485681C/zh not_active Expired - Fee Related
-
2007
- 2007-02-07 KR KR1020087025862A patent/KR101157171B1/ko not_active IP Right Cessation
- 2007-02-07 WO PCT/CN2007/000427 patent/WO2007107073A1/zh active Application Filing
- 2007-02-07 EP EP07710874A patent/EP2006774A4/en not_active Ceased
- 2007-02-07 US US12/300,333 patent/US20090307291A1/en not_active Abandoned
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1285549A (zh) * | 2000-10-23 | 2001-02-28 | 大唐电信科技股份有限公司微电子分公司 | 采用逻辑区间链表寻址的智能卡嵌入式软件的实现方法 |
JP2003288258A (ja) * | 2002-03-28 | 2003-10-10 | Toppan Printing Co Ltd | Icカード及びicカードのメモリ管理方法 |
US20050050108A1 (en) * | 2003-08-21 | 2005-03-03 | Texas Instruments Incorporated | File system for digital processing systems with limited resources |
JP2005141335A (ja) * | 2003-11-04 | 2005-06-02 | Sony Corp | 情報記録再生装置とそのファイルアクセス方法 |
US20060041709A1 (en) * | 2004-08-23 | 2006-02-23 | Sony Corporation | Memory card and reproducing apparatus |
CN1632765A (zh) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | 一种闪存文件系统管理方法 |
CN1744090A (zh) * | 2005-09-13 | 2006-03-08 | 北京中星微电子有限公司 | 文件分配表文件系统读写方法及装置 |
Non-Patent Citations (2)
Title |
---|
"Microsoft Extensible Firmware Initiative FAT32 File System Specification, FAT: General Overview of On-Disk Format, Version 1.03", 6 December 2000 (2000-12-06), XP002389632, Retrieved from the Internet <URL:http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx> * |
See also references of EP2006774A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100965147B1 (ko) | 2008-09-29 | 2010-06-23 | 에스케이씨앤씨 주식회사 | 이동통신 단말기용 유심의 엘레멘트 파일들을 효율적으로 확장시키는 방법 및 이를 위한 저장장치 |
Also Published As
Publication number | Publication date |
---|---|
US20090307291A1 (en) | 2009-12-10 |
CN100485681C (zh) | 2009-05-06 |
KR20090007357A (ko) | 2009-01-16 |
EP2006774A4 (en) | 2010-10-20 |
EP2006774A1 (en) | 2008-12-24 |
CN101042696A (zh) | 2007-09-26 |
KR101157171B1 (ko) | 2012-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007107073A1 (fr) | Système de mémoire sur carte à puce, et son procédé de gestion de fichier | |
US7594062B2 (en) | Method for changing data of a data block in a flash memory having a mapping area, a data area and an alternative area | |
JP6779838B2 (ja) | メモリシステムおよび制御方法 | |
CN108628753B (zh) | 内存空间管理方法和装置 | |
CN110018998B (zh) | 一种文件管理方法、系统及电子设备和存储介质 | |
CN107239526B (zh) | 文件系统实现方法、碎片整理方法、操作位置定位方法 | |
US20030065866A1 (en) | Memory controller for memory card manages file allocation table | |
US20060218347A1 (en) | Memory card | |
JP2010026933A (ja) | メモリシステム、ホスト装置 | |
CN111414315A (zh) | 用来管理一记忆装置的方法以及其相关的记忆装置 | |
CN101488153A (zh) | 嵌入式Linux下大容量闪存文件系统的实现方法 | |
CN108710578A (zh) | 基于闪存的数据存储方法和装置 | |
CN107391774A (zh) | 基于重复数据删除的日志文件系统的垃圾回收方法 | |
CN110347643B (zh) | 一种磁盘间ntfs卷克隆方法及装置 | |
CN107679182B (zh) | 一种目录配置方法及装置 | |
CN111522507B (zh) | 一种低延迟的文件系统地址空间管理方法、系统及介质 | |
CN111143285A (zh) | 一种小文件存储文件系统以及小文件处理方法 | |
CN100399294C (zh) | 文件的有效数据管理的方法和设备 | |
EP4336336A1 (en) | Data compression method and apparatus | |
WO2005008499A1 (ja) | 情報記録媒体におけるデータ領域管理方法、及びデータ領域管理方法を用いた情報処理装置 | |
TWI397060B (zh) | 物件導向儲存裝置之磁碟配置方法 | |
CN110297781B (zh) | 一种基于写时复制来恢复apfs中被删除数据的方法 | |
WO2016106757A1 (zh) | 一种存储数据的管理方法、存储管理器及存储系统 | |
CN102004697B (zh) | 一种Flash的回收方法和装置 | |
CN109727629B (zh) | 使用利用多间隙进度字段的磨损均衡的方法和系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07710874 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 8891/DELNP/2008 Country of ref document: IN Ref document number: 1020087025862 Country of ref document: KR Ref document number: 2007710874 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 12300333 Country of ref document: US |