File access method and device of SD (Secure Digital) card
A file reading and file technology, applied in the direction of input/output to record carrier, instrument, electrical digital data processing, etc., can solve the problems of discontinuity, resource occupation, memory address discontinuity, etc., to reduce resource occupation and improve speed Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0069] Method Example 1:
[0070] reference figure 2 The flow chart of Embodiment 1 of an SD card file writing method is shown. The file writing involves a DMA transfer process of writing file data from a discontinuous memory address to a continuous physical cluster of the SD card. The embodiment may specifically include the following steps:
[0071] Step 201: Configure first file transfer information, where the first file transfer information includes: starting address and data length information of multiple pieces of file data in the memory, and information about consecutive physical clusters in the SD card;
[0072] Step 202: Read data of corresponding length from the multiple start addresses of the memory in sequence, and continuously write them into the continuous physical clusters of the SD card.
[0073] In practice, the file has an end identifier. In a preferred embodiment of the present invention, step 202 may specifically include the following sub-steps:
[0074] Sub-step S...
Example Embodiment
[0085] Method Example 2:
[0086] reference image 3 As shown in the flowchart of Embodiment 1 of a method for reading a file on an SD card, the file reading involves a DMA transfer process of writing file data from a continuous physical cluster of the SD card to a discontinuous memory address. This implementation The example can specifically include the following steps:
[0087] Step 301: Configure second file transfer information, where the second file transfer information includes: information about consecutive physical clusters in the SD card, and multiple pieces of address information in the memory;
[0088] Step 302: Extract data of corresponding lengths in consecutive physical clusters of the SD card in sequence, and write them into corresponding address segments in the memory respectively.
[0089] In practice, the file has an end identifier. In a preferred embodiment of the present invention, step 302 may specifically include the following sub-steps:
[0090] Sub-step S21, ac...
Example Embodiment
[0101] Method Example 3:
[0102] reference Figure 4 As shown in the flowchart of Embodiment 2 of an SD card file writing method, the file writing involves a DMA transfer process of writing file data from a continuous memory address to a discontinuous physical cluster group in the SD card. This embodiment may specifically include the following steps:
[0103] Step 401: Configure third file transfer information, where the third file transfer information includes: continuous address segment information in the memory and information about multiple physical cluster groups in the SD card;
[0104] Step 402: Extract data of corresponding lengths in consecutive address segments of the memory in sequence, and write them into corresponding physical cluster groups in the SD card.
[0105] In practice, the file has an end identifier. In a preferred embodiment of the present invention, step 402 may specifically include the following sub-steps:
[0106] Sub-step S31, according to the cluster numb...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap