Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for reading and writing memory card

A memory card, file system technology, applied in the input/output process of data processing, instruments, input/output to record carriers, etc., can solve problems such as reducing read and write speed

Active Publication Date: 2021-05-28
70MAI CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] An object of the present invention is to provide a memory card reading and writing method and system, which can solve the problem that the user space file system needs to perform three conversions between the user space and the kernel space to read and write data once, and reduce the reading and writing speed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for reading and writing memory card
  • Method and system for reading and writing memory card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0088] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0089] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0090] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static rando...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The purpose of the present invention is to provide a method and system for reading and writing a memory card. By using the file system of the memory card to mount the memory card instead of mounting the memory card with a proprietary file system, it is possible to avoid the user space file system from performing a one-time operation. Data reading and writing requires three conversions between user space and kernel space to improve the reading and writing speed. In addition, write content such as code stream files to the SD card through direct input / output, instead of writing to the cache first, and then write the cache to the SD card, that is, the code stream data is directly written to the memory card, not in the kernel Medium cache reduces memory pressure, and more effective content can be stored in the kernel space cache to improve system performance. The invention can increase the random writing speed of the memory card by 20%-30%.

Description

technical field [0001] The invention relates to the field of computers, in particular to a memory card reading and writing method and system. Background technique [0002] The existing memory card writing method comprises the following steps: [0003] Step 11, user space to kernel space: the first program in user space sends the write request to the proprietary file system in the kernel, such as the Android proprietary file system; [0004] Step 12, kernel to user space: the proprietary file in the kernel is the second program that sends the write request to user space; [0005] Step 13, user space to kernel space: the second program of the user space writes the contents to be written in the write request into the buffer memory of the SD card file system in the kernel; [0006] Step 14, when the content in the cache has accumulated to a certain amount, the SD card file system in the kernel writes the content in the cache into the SD card. [0007] The existing memory card...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0655G06F3/0679
Inventor 吴晓亮
Owner 70MAI CO LTD