Method and device for mounting memory card and mobile terminal

A storage card and mounting technology, applied in the storage field, can solve problems such as long-time interaction, unprocessable commands, unresponsive system or black screen, etc., and achieve the effect of avoiding system unresponsiveness

Active Publication Date: 2017-03-22
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the memory card is inserted into the mobile terminal, the storage daemon (Volume Daemon, vold) will interact with the disk loading service program (mountservice) to mount the memory card. During the interaction process, if there is a link stuck , it will cause the following commands to not be processed
The interaction between the disk loading service program and the storage daemon process takes a long time during the boot process, which may easily cause system abnormalities such as unresponsive or black screen

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 device for mounting memory card and mobile terminal
  • Method and device for mounting memory card and mobile terminal
  • Method and device for mounting memory card and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is a flow chart of a method for mounting a memory card provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of mounting a memory card during the boot process, and the method can be executed by a device for mounting a memory card. The device can be realized by means of software and / or hardware, and the device can be configured in mobile terminals such as mobile phones, tablet computers or digital cameras. The method specifically includes the following steps:

[0023] Step 110, when the memory card is recognized during the boot process, set a flag in the disk loading service program, and record the relevant information of the memory card.

[0024] Among them, the disk loading service program provides storage-related functions, such as mounting, unmounting, and formatting volumes, activating the USB mass storage mode, monitoring changes in the state of the memory card and mass storage mode, and the like. As the control ...

Embodiment 2

[0032] figure 2 It is a flow chart of a method for mounting a memory card provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, and "according to the flag bit and the related information, execute the mount The operation of the memory card is further optimized as "when the memory card is identified according to the flag bit and the relevant information, the file detection system is started to detect the memory card and repair the damaged memory card; when the When the running time of the file detection system reaches the preset time, close the file detection system”.

[0033] In the prior art, when a mobile terminal detects that a memory card is inserted, it will detect and repair the memory card through a file system check (fsck), and some damaged memory cards can be repaired successfully after being repaired by the file system check. Some cannot be repaired successfully. For memory cards that cannot be succes...

Embodiment 3

[0048] image 3 It is a flow chart of a method for mounting a memory card provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments, and "when the running time of the file detection system reaches the preset time , turn off the file detection system" is further optimized as "while starting the file detection system, start the timer whose timing time is the preset time; when the timing time of the timer reaches the preset time, turn off The document detection system". The method specifically includes the following steps:

[0049] Step 310, when the memory card is recognized during the boot process, set a flag in the disk loading service program, and record the relevant information of the memory card.

[0050] Step 320, after receiving the start-up broadcast indicating that the start-up is completed, when the memory card is identified according to the flag bit and the related information, the start-up file detection s...

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 invention discloses a method and device for mounting a memory card and a mobile terminal. The method comprises the steps of setting a mark bit in a disk loading service program and recording related information of the memory card when identifying the memory card in a startup process; and after receiving a startup broadcast for indicating startup completion, executing the operation of mounting the memory card according to the mark bit and the related information. According to the method and the device, the abnormal conditions of no response, a blank screen and the like of the system caused by mounting of the memory in the startup process are avoided.

Description

technical field [0001] Embodiments of the present invention relate to storage technology, and in particular to a method, device and mobile terminal for mounting a memory card. Background technique [0002] Memory card, also known as SD card, is an independent storage medium used in mobile phones, digital cameras, portable computers, MP3 and other digital products. It has excellent characteristics such as small size, fast data transmission speed, and hot-swappable. [0003] When the memory card is inserted into the mobile terminal, the storage daemon (Volume Daemon, vold) will interact with the disk loading service program (mountservice) to mount the memory card. During the interaction process, if there is a link stuck , it will cause the following commands to not be processed. The interaction between the disk loading service program and the storage daemon process takes a long time during the boot process, which may easily lead to system abnormalities such as unresponsive sy...

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 Applications(China)
IPC IPC(8): G06F9/44G06F1/16
CPCG06F1/1632G06F9/4411
Inventor 王伟
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products