CN106528158A - Method and device for mounting memory card and mobile terminal - Google Patents
Method and device for mounting memory card and mobile terminal Download PDFInfo
- Publication number
- CN106528158A CN106528158A CN201611026206.7A CN201611026206A CN106528158A CN 106528158 A CN106528158 A CN 106528158A CN 201611026206 A CN201611026206 A CN 201611026206A CN 106528158 A CN106528158 A CN 106528158A
- Authority
- CN
- China
- Prior art keywords
- storage card
- detecting system
- file detecting
- carry
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 230000008569 process Effects 0.000 claims abstract description 53
- 239000003550 marker Substances 0.000 claims description 31
- 230000008439 repair process Effects 0.000 claims description 8
- 230000015654 memory Effects 0.000 abstract description 9
- 230000004044 response Effects 0.000 abstract description 4
- 230000002159 abnormal effect Effects 0.000 abstract 1
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000003780 insertion Methods 0.000 description 4
- 230000037431 insertion Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1632—External expansion units, e.g. docking stations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
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
The present embodiments relate to memory technology, more particularly to a kind of method of carry storage card, device and mobile terminal.
Background technology
Storage card, also referred to as SD card, are for mobile phone, digital camera, portable computer, MP3 and other digital products
Independent storage medium, with the excellent characteristic such as small volume, data transmission bauds be fast, hot-swappable.
When storage card inserts mobile terminal, can be by the finger daemon (Volume Daemon, vold) of storage class and disk
Loading service routine (mountservice) interacts to realize the carry of storage card, in interaction, if one
Link is blocked, and the order that may result in below can not be processed.Disk loads service routine with the finger daemon of storage class in start
During interaction it is time-consuming relatively long, be easy for causing system to occur without the system exception situation such as response or blank screen.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method of carry storage card, device and mobile terminal, to avoid out
System exception caused by carry storage card during machine.
In a first aspect, embodiments providing a kind of method of carry storage card, methods described includes:
When storage card is recognized in start process, a marker bit is set in disk loading service routine, and is recorded
The relevant information of the storage card;
After the start broadcast that instruction start is completed is received, according to the marker bit and the relevant information, perform
The operation of storage card described in carry.
Second aspect, the embodiment of the present invention additionally provide a kind of device of carry storage card, and described device includes:
Mark setup module, during for recognizing storage card in start process, is arranged in disk loading service routine
One marker bit, and record the relevant information of the storage card;
Storage card carry module, for after the start broadcast that instruction start is completed is received, according to the marker bit
With the relevant information, the operation of storage card described in carry is performed.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including storage card slot, the mobile terminal
Also include the device of the carry storage card described in any embodiment of the present invention.
The technical scheme of the embodiment of the present invention, during by recognizing storage card in start process, services in disk loading
It is middle that a marker bit is set and the relevant information of the storage card is recorded, and indicate that the start that start is completed broadcasts it receiving
Afterwards, the operation of storage card described in carry according to the marker bit and the relevant information, is performed, so as to avoid in start process
Caused by carry storage card, system is without system exception situations such as response, system blank screens.
Description of the drawings
Fig. 1 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention one is provided;
Fig. 2 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention two is provided;
Fig. 3 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention three is provided;
Fig. 4 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention four is provided;
Fig. 5 is a kind of structural representation of the device of carry storage card that the embodiment of the present invention five is provided;
Fig. 6 is a kind of structural representation of mobile terminal that the embodiment of the present invention six is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The process described as flow chart or method.Although each step to be described as flow chart the process of order, many of which
Step can by concurrently, concomitantly or while implement.Additionally, the order of each step can be rearranged.When its operation
Process when completing can be terminated, it is also possible to have the additional step being not included in accompanying drawing.The process can be with
Corresponding to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention one is provided, and the present embodiment is applicable
In the situation of the carry storage card in start process, the method can be performed by the device of carry storage card, and the device can be with
Realized by the mode of software and/or hardware, the device can be only fitted to the mobile terminals such as mobile phone, panel computer or digital camera
In.The method specifically includes following steps:
Step 110, when recognizing storage card in start process, arranges a mark in disk loading service routine
Position, and record the relevant information of the storage card.
Wherein, disk loading service routine provides storage related function, such as carry, unloading, formatted volume, activates USB
Massive store pattern, monitors change of storage card and massive store mode state etc..The finger daemon of storage class is used as depositing
The management and control center of storage equipment, needs the disk received from upper strata to load the operational order of service routine, disk loading service journey
Sequence is resided in the process of system service, with storage class finger daemon as two different processes, the communication between them
Mode uses socket (socket) communications.Disk loads the operations such as the carry of service routine, unloading volume by socket
The finger daemon of storage class is sent to, and stores the finger daemon of class again by corresponding function being completed with inner nuclear layer communication.Wherein,
Socket is used to describe IP address and port, is the handle of a communication chain, for realizing different virtual machine or different computers
Between communication.
Wherein, the storage card includes T cards, and T cards, i.e. TF cards, also known as microSD, are a kind of superfine little flash
Device card, is founded by the invention of SanDisk (sudden strain of a muscle enlightening) company.This card is mainly used in mobile phone, but because it possesses minimum excellent of volume
Point, with the continuous capacity for being lifted, slowly starts for GPS (Global Positioning System, global positioning system)
In equipment, portable music player and some flash memory disks.
User inserts storage card when mobile terminal shuts down, or storage card is inserted in start process, then mobile whole
End can recognize storage card by testing mechanism in start process.At this moment, in order that the storage card for damaging is not interfered with out
The operation of machine, arranges a marker bit, in the disk loading service routine of system service by depositing described in the marker bit record
The relevant information of card storage, so as to first not perform the operation of carry storage card, and performs the operation of start (as waken up system, waking up
Display of application program and unlatching touch-screen etc.).Wherein, the relevant information of the storage card includes storage card on the road of inner nuclear layer
The information such as footpath.
Step 120, after the start broadcast that instruction start is completed is received, according to the marker bit and the related letter
Breath, performs the operation of storage card described in carry.
Mobile terminal can wake up various application programs in start process.After the completion of start, it is wide that system can initiate start
Broadcast, for indicating that start is completed.
After the completion of start, according to the marker bit and the relevant information, storage card is obtained in the path of inner nuclear layer, from
And the finger daemon by storage class interacts to realize the carry of storage card with the disk loading service routine in system service.
If after the completion of start, there is no the relevant information of storage card in marker bit, show no storage card insertion mobile terminal, be then not required to
The operation performed by carry storage card.
The technical scheme of the present embodiment, during by recognizing storage card in start process, sets in disk loading service
Put a marker bit and record the relevant information of the storage card, and after the start broadcast that instruction start is completed is received,
According to the marker bit and the relevant information, the operation of storage card described in carry is performed, hung so as to avoid in start process
Caused by carrying storage card, system is without system exception situations such as response, system blank screens.
Embodiment two
Fig. 2 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention two is provided, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment, " according to the marker bit and the relevant information, storage card described in carry will be performed
Operate " be further optimized for " when having recognized storage card according to the marker bit and the relevant information, startup file detection system
System is detected to the storage card and the storage card for damaging is repaired;When the run time of the file detecting system
When reaching Preset Time, the file detecting system is closed ".
In prior art, mobile terminal can pass through file detecting system (file when storage card insertion is detected
System check, fsck) storage card is detected and repaired, the storage card that some damage is through file detecting system
Reparation can be repaired successfully, and some can not then be repaired successfully.For repairing successful storage card, mobile terminal meeting one is led directly to
Cross file detecting system to repair the storage card, so, the system exception situations such as system interim card, system blank screen can be caused,
Have a strong impact on Consumer's Experience.In order to solve mobile terminal caused system exception feelings of storage card insertion in normal operation
Condition, the present embodiment provide following solution on the basis of above-described embodiment.
A kind of method of carry storage card that the present embodiment is provided specifically includes following steps:
Step 210, when recognizing storage card in start process, arranges a mark in disk loading service routine
Position, and record the relevant information of the storage card.
Step 220, after the start broadcast that instruction start is completed is received, according to the marker bit and the related letter
When breath has recognized storage card, startup file detecting system is detected to the storage card and the storage card for damaging is carried out
Repair.
Wherein, file detecting system is used for the inconsistent file system of examination and maintenance, and such as system power failure or disk occurs
Problem, is checked to file system and is repaired using file detecting system.The storage card of damage refers to the text on storage card
Part system failure is problematic.
After the completion of start, the marker bit in disk loading service routine is recognized, if record has storage card in marker bit
The relevant informations such as the path in inner nuclear layer, then recognized storage card insertion mobile terminal according to relevant information, at this moment started text
Part detecting system is detected to the file system on storage card, and the damage for detecting or problematic file system are entered
Row is repaired.
Step 230, when the run time of the file detecting system reaches Preset Time, closes the file detection system
System.
Preset Time is set, for limiting the run time of file detecting system, during avoiding file detecting system from running
Between long cause the system exception situation such as system interim card.
When startup file detecting system is repaired to storage card, the run time of file detecting system is counted
When, if the run time of file detecting system reaches Preset Time (such as 90 seconds), illustrate that storage card has been damaged, and
The file system of damage therein can not be repaired successfully by file detecting system, at this moment close the file detecting system, eventually
Only reparation of the file detecting system to the file system in storage card, no longer the carry storage card, it is to avoid the storage card pair of damage
Mobile terminal causes failure etc. to threaten.
Wherein, close the file detecting system it is optional including:
According to the process identification (PID) of the file detecting system, judge that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
The process identification (PID) of file detecting system is inquired about in process identification table, according to the process identification (PID) of file detecting system,
Whether there is the process of the file detecting system in the process for judging current operation, if also existed, illustrate on storage card
File system has damage and can not repair successfully, at this moment kills the process of the file detecting system, to terminate file detection system
Reparation of the system to storage card.If according to the process identification (PID) of file detecting system, do not existed in the process for judging current operation
The process of the file detecting system, then supporting paper detecting system storage card is repaired successfully, can be with carry storage card.
The technical scheme of the present embodiment, by after the start broadcast that instruction start is completed is received, according to the mark
Remember position and relevant information, startup file detecting system is detected to storage card and repaired, and in the operation of file detecting system
Time is turned off when reaching Preset Time.By the timeout mechanism for arranging file detecting system, it is to avoid file detecting system
It is too long to the repair time of storage card, cause the system exception situations such as system interim card, the system blank screen of mobile terminal.
Embodiment three
Fig. 3 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention three is provided, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment, " when the run time of the file detecting system reaches Preset Time, institute will be closed
State file detecting system " further it is optimized for " while startup file detecting system, when startup timing is described default
Between timer;When the timing of the timer reaches the Preset Time, the file detecting system is closed ".Should
Method specifically includes following steps:
Step 310, when recognizing storage card in start process, arranges a mark in disk loading service routine
Position, and record the relevant information of the storage card.
Step 320, after the start broadcast that instruction start is completed is received, according to the marker bit and the related letter
When breath has recognized storage card, startup file detecting system is detected to the storage card and the storage card for damaging is carried out
Repair.
Step 330, while startup file detecting system, starts the timer that timing is the Preset Time.
Timer of one timing for Preset Time is set.While startup file detecting system, start this fixed
When the time for Preset Time timer, overtime restriction is carried out with the run time to file detecting system.
Step 340, when the timing of the timer reaches the Preset Time, closes the file detection system
System.
When the timing of timer reaches the Preset Time, the file detecting system is closed, it is to avoid file is examined
The run time of examining system is long to lead to system abnormity.
Wherein, close the file detecting system it is optional including:
According to the process identification (PID) of the file detecting system, judge that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
The technical scheme of the present embodiment, by while startup file detecting system, start timing for it is default when
Between timer, and timing reach the Preset Time when, close file detecting system.By arranging timer come right
The run time of file detecting system is limited, and can control the run time of file detecting system exactly.
Example IV
Fig. 4 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention four is provided, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment, the storage card is detected and is deposited for damage in startup file detecting system
After card storage is repaired, still further comprise:When the run time of the file detecting system does not reach described default
Between when, storage card described in carry.The method specifically includes following steps:
Step 410, when recognizing storage card in start process, arranges a mark in disk loading service routine
Position, and record the relevant information of the storage card.
Step 420, after the start broadcast that instruction start is completed is received, according to the marker bit and the related letter
When breath has recognized storage card, startup file detecting system is detected to the storage card and the storage card for damaging is carried out
Repair.
Step 430, when the run time of the file detecting system reaches Preset Time, closes the file detection system
System.
Step 440, when the run time of the file detecting system does not reach the Preset Time, deposits described in carry
Card storage.
When the run time of the file detecting system does not reach the Preset Time and stopped operation, show text
Part detecting system has successfully repaired the file system of storage card, at this moment, continues executing with the operation of carry storage card, storage card carry
Success, user can access the file on storage card.
The technical scheme of the present embodiment, carry storage when being less than Preset Time by the run time of file detecting system
Card, realizes successfully carry storage card and does not affect the operation of system.
Embodiment five
Fig. 5 is a kind of structural representation of the device of carry storage card that the embodiment of the present invention five is provided, as shown in figure 5,
The device of the carry storage card described in the present embodiment includes:Mark setup module 510 and storage card carry module 520.
Wherein, setup module 510 is marked, during for storage card being recognized in start process, in disk loading service journey
One marker bit is set in sequence, and records the relevant information of the storage card;
Storage card carry module 520, for after the start broadcast that instruction start is completed is received, according to the mark
Position and the relevant information, perform the operation of storage card described in carry.
Preferably, the storage card carry module includes:
Storage card repairs unit, during for having recognized storage card according to the marker bit and the relevant information, starts
File detecting system is detected to the storage card and the storage card for damaging is repaired;
Overtime limiting unit, for when the run time of the file detecting system reaches Preset Time, closing described
File detecting system.
Optionally, the overtime limiting unit includes:
Timer promoter unit, presets for described for while startup file detecting system, starting timing
The timer of time;
Subunit over time limit, for when the timing of the timer reaches the Preset Time, closing described
File detecting system.
Optionally, the subunit over time limit specifically for:
When the timing of the timer reaches the Preset Time, according to the process mark of the file detecting system
Know, judge that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
Optionally, the overtime limiting unit specifically for:
When the run time of the file detecting system reaches Preset Time, according to the process of the file detecting system
Mark, judges that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
Optionally, the storage card carry module also includes:
Storage card carry unit, for being detected to the storage card and for damage in startup file detecting system
After storage card is repaired, when the run time of the file detecting system does not reach the Preset Time, carry institute
State storage card.
The method that the device of above-mentioned carry storage card can perform the carry storage card provided by any embodiment of the present invention, tool
For the corresponding functional module of execution method and beneficial effect.Ins and outs of detailed description in the present embodiment, not can be found in this
The method of the carry storage card that invention any embodiment is provided.
Embodiment six
A kind of mobile terminal is present embodiments provided, the mobile terminal can include the extension that any embodiment of the present invention is provided
Carry the device of storage card.Fig. 6 is a kind of structural representation of mobile terminal that the embodiment of the present invention six is provided, as shown in fig. 6, should
Mobile terminal can include:Memory 601, central processing unit (Central Processing Unit, hereinafter referred to as CPU)
602nd, Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power supply pipe
Reason chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/control devicess 610 and outside port
604, these parts are communicated by one or more communication bus or holding wire 607.Wherein, the outside port 604 includes
Storage card slot.
It should be understood that diagram mobile terminal 600 is only an example of mobile terminal, and mobile terminal 600
Can be with than the more or less part shown in figure, can combining two or more parts, or can be with
Configure with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Integrated circuit is realized in the combination of interior hardware, software or hardware and software.
The mobile terminal for carry storage card for providing with regard to the present embodiment below is described in detail, the mobile terminal
By taking mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can
Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU602 and be deposited by Peripheral Interface 603, the Peripheral Interface 603
Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals on equipment, such as touch-screen 602
(equivalent to the screen in above-described embodiment) and other input/control devicess 610, are connected to Peripheral Interface 603.I/O subsystems
609 can include display controller 6091 and one or more input controllers for controlling other input/control devicess 610
6092.Wherein, one or more input controllers 6092 receive electric signal or to other from other input/control devicess 610
Input/control devices 610 sends electric signal, and other input/control devicess 610 can include physical button (pressing button, rocking arm
Button etc.), dial, slide switch, control stick, click on roller.What deserves to be explained is, input controller 6092 can with it is following
Any one connection:The instruction equipment of keyboard, infrared port, USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 are the input interfaces and output interface between user terminal and user, can
Depending on output display to user, visual output can include figure, text, icon, video etc..
Display controller 6091 in I/O subsystems 609 receives electric signal or to touch-screen 612 from touch-screen 612
Electric signals.The contact for detecting is converted to and display by the contact on the detection touch-screen of touch-screen 612, display controller 6091
The interaction of the user interface object on touch-screen 612, that is, realize man-machine interaction, the user interface being displayed on touch-screen 612
Object can be the icon of running game, be networked to icon of corresponding network etc..What deserves to be explained is, equipment can also include light
Mouse, light mouse are not show the visual touch sensitive surface for exporting, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 605, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Short message, Email etc. are received and dispatched for example.Specifically, RF circuits 605 are received and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 605 can be included for performing
The known circuit of these functions, its include but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, is mainly used in receiving voice data from Peripheral Interface 603, the voice data is converted to telecommunications
Number, and the electric signal is sent to into loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone by RF circuits 605 from wireless network, is reduced to sound
And the sound is played to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered
And power management.
The executable following operations of CPU602 provided in an embodiment of the present invention:
When storage card is recognized in start process, a marker bit is set in disk loading service routine, and is recorded
The relevant information of the storage card;
After the start broadcast that instruction start is completed is received, according to the marker bit and the relevant information, perform
The operation of storage card described in carry.
Above-mentioned mobile terminal can perform the method provided by any embodiment of the present invention, possess the corresponding function of execution method
Module and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (11)
1. a kind of method of carry storage card, it is characterised in that methods described includes:
When storage card is recognized in start process, a marker bit is set in disk loading service routine, and records described
The relevant information of storage card;
After the start broadcast that instruction start is completed is received, according to the marker bit and the relevant information, carry is performed
The operation of the storage card.
2. method according to claim 1, it is characterised in that according to the marker bit and the relevant information, perform extension
The operation for carrying the storage card includes:
When having recognized storage card according to the marker bit and the relevant information, startup file detecting system is to the storage card
Detected and the storage card for damaging is repaired;
When the run time of the file detecting system reaches Preset Time, the file detecting system is closed.
3. method according to claim 2, it is characterised in that when the run time of the file detecting system reaches default
During the time, closing the file detecting system includes:
While startup file detecting system, start the timer that timing is the Preset Time;
When the timing of the timer reaches the Preset Time, the file detecting system is closed.
4. according to the method in claim 2 or 3, it is characterised in that closing the file detecting system includes:
According to the process identification (PID) of the file detecting system, judge that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
5. method according to claim 2, it is characterised in that the storage card is examined in startup file detecting system
Survey and for damage storage card repaired after, also include:
When the run time of the file detecting system does not reach the Preset Time, storage card described in carry.
6. a kind of device of carry storage card, it is characterised in that described device includes:
Mark setup module, during for recognizing storage card in start process, arranges one in disk loading service routine
Marker bit, and record the relevant information of the storage card;
Storage card carry module, for after the start broadcast that instruction start is completed is received, according to the marker bit and institute
Relevant information is stated, the operation of storage card described in carry is performed.
7. device according to claim 6, it is characterised in that the storage card carry module includes:
Storage card repairs unit, during for having recognized storage card according to the marker bit and the relevant information, startup file
Detecting system is detected to the storage card and the storage card for damaging is repaired;
Overtime limiting unit, for when the run time of the file detecting system reaches Preset Time, closing the file
Detecting system.
8. device according to claim 7, it is characterised in that the overtime limiting unit includes:
Timer promoter unit, for, while startup file detecting system, startup timing is the Preset Time
Timer;
Subunit over time limit, for when the timing of the timer reaches the Preset Time, closing the file
Detecting system.
9. device according to claim 8, it is characterised in that the subunit over time limit specifically for:
When the timing of the timer reaches the Preset Time, according to the process identification (PID) of the file detecting system,
Judge that the process of the file detecting system whether there is;
If it is, killing the process of the file detecting system.
10. device according to claim 7, it is characterised in that the storage card carry module also includes:
Storage card carry unit, for being detected to the storage card and for the storage of damage in startup file detecting system
After card is repaired, when the run time of the file detecting system does not reach the Preset Time, deposit described in carry
Card storage.
A kind of 11. mobile terminals, including storage card slot, it is characterised in that the mobile terminal also includes claim 6-10
The device of arbitrary described carry storage card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611026206.7A CN106528158B (en) | 2016-11-18 | 2016-11-18 | The method, device and mobile terminal of carry storage card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611026206.7A CN106528158B (en) | 2016-11-18 | 2016-11-18 | The method, device and mobile terminal of carry storage card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528158A true CN106528158A (en) | 2017-03-22 |
CN106528158B CN106528158B (en) | 2019-04-30 |
Family
ID=58352644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611026206.7A Expired - Fee Related CN106528158B (en) | 2016-11-18 | 2016-11-18 | The method, device and mobile terminal of carry storage card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528158B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423064A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | Message treatment method, device, terminal device and storage medium |
CN109976812A (en) * | 2017-12-27 | 2019-07-05 | 合肥杰发科技有限公司 | Vehicle device starts method, system and vehicle and the device with store function |
CN110134543A (en) * | 2018-02-02 | 2019-08-16 | 中兴通讯股份有限公司 | File system guard method, device, system and computer readable storage medium |
CN110365839A (en) * | 2019-07-04 | 2019-10-22 | Oppo广东移动通信有限公司 | Closedown method, device, medium and electronic equipment |
CN110543376A (en) * | 2019-08-02 | 2019-12-06 | 上海绿联软件股份有限公司 | Android system equipment fault self-repairing method and android system equipment |
CN113032130A (en) * | 2021-05-24 | 2021-06-25 | 荣耀终端有限公司 | System exception handling method and device |
CN113157647A (en) * | 2021-03-29 | 2021-07-23 | 普联技术有限公司 | Method and device for accessing mounted file |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664990A (en) * | 2012-03-28 | 2012-09-12 | 广东欧珀移动通信有限公司 | Installation and display method of dynamic wallpaper of Android mobile phone |
CN102902488A (en) * | 2012-08-06 | 2013-01-30 | 广东欧珀移动通信有限公司 | Memory card of handheld equipment and dynamic mounting method of memory card |
CN104104783A (en) * | 2013-04-10 | 2014-10-15 | 展讯通信(上海)有限公司 | Mobile phone terminal and power-on method thereof |
CN104580669A (en) * | 2013-10-22 | 2015-04-29 | 中兴通讯股份有限公司 | Mobile terminal and virtual memory card use method thereof |
CN105892609A (en) * | 2016-04-06 | 2016-08-24 | 惠州Tcl移动通信有限公司 | Method for synchronous operation of terminal booting and identification of memory card and smart terminal |
-
2016
- 2016-11-18 CN CN201611026206.7A patent/CN106528158B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664990A (en) * | 2012-03-28 | 2012-09-12 | 广东欧珀移动通信有限公司 | Installation and display method of dynamic wallpaper of Android mobile phone |
CN102902488A (en) * | 2012-08-06 | 2013-01-30 | 广东欧珀移动通信有限公司 | Memory card of handheld equipment and dynamic mounting method of memory card |
CN104104783A (en) * | 2013-04-10 | 2014-10-15 | 展讯通信(上海)有限公司 | Mobile phone terminal and power-on method thereof |
CN104580669A (en) * | 2013-10-22 | 2015-04-29 | 中兴通讯股份有限公司 | Mobile terminal and virtual memory card use method thereof |
CN105892609A (en) * | 2016-04-06 | 2016-08-24 | 惠州Tcl移动通信有限公司 | Method for synchronous operation of terminal booting and identification of memory card and smart terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423064A (en) * | 2017-07-26 | 2017-12-01 | 广东欧珀移动通信有限公司 | Message treatment method, device, terminal device and storage medium |
CN107423064B (en) * | 2017-07-26 | 2020-12-08 | Oppo广东移动通信有限公司 | Message processing method and device, terminal equipment and storage medium |
CN109976812A (en) * | 2017-12-27 | 2019-07-05 | 合肥杰发科技有限公司 | Vehicle device starts method, system and vehicle and the device with store function |
CN109976812B (en) * | 2017-12-27 | 2022-07-12 | 合肥杰发科技有限公司 | Vehicle starting method and system, vehicle and device with storage function |
CN110134543A (en) * | 2018-02-02 | 2019-08-16 | 中兴通讯股份有限公司 | File system guard method, device, system and computer readable storage medium |
CN110365839A (en) * | 2019-07-04 | 2019-10-22 | Oppo广东移动通信有限公司 | Closedown method, device, medium and electronic equipment |
CN110543376A (en) * | 2019-08-02 | 2019-12-06 | 上海绿联软件股份有限公司 | Android system equipment fault self-repairing method and android system equipment |
CN113157647A (en) * | 2021-03-29 | 2021-07-23 | 普联技术有限公司 | Method and device for accessing mounted file |
CN113157647B (en) * | 2021-03-29 | 2024-04-26 | 普联技术有限公司 | Method and device for accessing mounted file |
CN113032130A (en) * | 2021-05-24 | 2021-06-25 | 荣耀终端有限公司 | System exception handling method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106528158B (en) | 2019-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528158A (en) | Method and device for mounting memory card and mobile terminal | |
US20200241891A1 (en) | Enhanced mobileq for ios and android | |
CN107861830A (en) | Detection method, device, storage medium and the mobile terminal of application crash | |
CN109947449B (en) | System upgrading method and device, storage medium and electronic equipment | |
CN106649098B (en) | The method and apparatus of released version software debugging are realized on the terminal device | |
CN106062763A (en) | Method and apparatus for displaying application and picture, and electronic device | |
CN109375937A (en) | Method for upgrading system, device, terminal device and storage medium | |
US20200351671A1 (en) | System and method for identifying best location for 5g in-residence router location | |
CN106980436A (en) | Record screen method and record screen terminal | |
CN107743164A (en) | A kind of exception falls the processing method and terminal of card | |
CN107066343A (en) | The restorative procedure of partition table, device and mobile terminal in mobile terminal | |
CN111065086A (en) | SIM (subscriber identity module) identification method and device, storage medium and mobile terminal | |
CN109491825B (en) | Method, device, storage medium and terminal for positioning abnormal starting problem | |
CN106445719A (en) | Recovery-mode Recovery instruction reading and writing method and device | |
CN106528163A (en) | Page switching method and device | |
CN112463199A (en) | System upgrading method and terminal | |
CN109408282A (en) | Application Backup restoration methods, equipment and computer readable storage medium | |
CN107608923B (en) | Test processing method and related product | |
CN107742076A (en) | System is forbidden to put forward the method, apparatus, storage medium and terminal device of power | |
CN103870564A (en) | Data updating method and electronic equipment | |
CN106686100A (en) | Storage method and apparatus of registry information, and terminal | |
CN106843440B (en) | A kind of mobile terminal restarts control method, device and mobile terminal | |
US20220114718A1 (en) | Enhanced automatic cosmetic grading | |
CN104572349A (en) | Data backup method | |
CN107908410A (en) | Plug-in unit backup, operation method, device, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190430 |
|
CF01 | Termination of patent right due to non-payment of annual fee |