CN106528158B - The method, device and mobile terminal of carry storage card - Google Patents
The method, device and mobile terminal of carry storage card Download PDFInfo
- Publication number
- CN106528158B CN106528158B CN201611026206.7A CN201611026206A CN106528158B CN 106528158 B CN106528158 B CN 106528158B CN 201611026206 A CN201611026206 A CN 201611026206A CN 106528158 B CN106528158 B CN 106528158B
- Authority
- CN
- China
- Prior art keywords
- storage card
- detection system
- file detection
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000008569 process Effects 0.000 claims abstract description 51
- 239000003550 marker Substances 0.000 claims abstract description 31
- 238000001514 detection method Methods 0.000 claims description 100
- 230000008439 repair process Effects 0.000 claims description 13
- 230000004044 response Effects 0.000 abstract description 4
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000007 visual effect Effects 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 kind of method, device and mobile terminal of carry storage card.This method comprises: a marker bit is arranged in disk load service routine, and record the relevant information of the storage card when recognizing storage card in start process;After receiving the booting broadcast that instruction booting is completed, according to the marker bit and the relevant information, the operation of storage card described in carry is executed.The invention avoids systems caused by carry storage card in start process without system exceptions situations such as response, system blank screens.
Description
Technical field
The present embodiments relate to memory technology more particularly to a kind of method, device and mobile terminal of carry storage card.
Background technique
Storage card, also referred to as SD card are for mobile phone, digital camera, portable computer, MP3 and other digital products
Independent storage medium, have that small in size, data transmission bauds is fast, the excellent characteristic such as hot-swappable.
It, can be by the finger daemon (Volume Daemon, vold) and disk of storage class when storage card is inserted into mobile terminal
Load service routine (mountservice) interacts to realize the carry of storage card, in interactive process, if there is one
Link is blocked, and will lead to subsequent order cannot be handled.Disk loads service routine and is being switched on the finger daemon for storing class
Interaction is time-consuming more long in the process, is easy for that system is caused to occur without the system exceptions situation such as response or blank screen.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, device and mobile terminal of carry storage card, to avoid opening
System exception caused by carry storage card during machine.
In a first aspect, the embodiment of the invention provides a kind of methods of carry storage card, which comprises
When recognizing storage card in start process, a marker bit is set in disk load service routine, and record
The relevant information of the storage card;
After receiving the booting broadcast that instruction booting is completed, according to the marker bit and the relevant information, execute
The operation of storage card described in carry.
Second aspect, the embodiment of the invention also provides a kind of device of carry storage card, described device includes:
Setup module being marked, when for recognizing storage card in start process, being arranged in disk load service routine
One marker bit, and record the relevant information of the storage card;
Storage card carry module, after being broadcasted in the booting for receiving instruction booting completion, according to the marker bit
With the relevant information, the operation of storage card described in carry is executed.
The third aspect, the embodiment of the invention also provides a kind of mobile terminal, including storage card slot, the mobile terminal
It further include the device of carry storage card described in any embodiment of that present invention.
The technical solution of the embodiment of the present invention when by recognizing storage card in start process, being loaded in disk and being serviced
One marker bit of middle setting and the relevant information for recording the storage card, and it is broadcasted receiving the booting that instruction booting is completed
Afterwards, according to the marker bit and the relevant information, the operation of storage card described in carry is executed, so as to avoid in start process
System caused by carry storage card is without system exceptions situations such as response, system blank screens.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the method for carry storage card provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the method for carry storage card that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram of the device for carry storage card that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for mobile terminal that the embodiment of the present invention six provides.
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 limiting the invention.It also should be noted that in order to just
In description, only some but not all contents related to the present invention are shown in the drawings.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, 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 provides, and the present embodiment is applicable
In the carry storage card in start process the case where, this method can be executed by the device of carry storage card, which can be with
It is realized by the mode of software and/or hardware, which can be only fitted to the mobile terminals such as mobile phone, tablet computer or digital camera
In.This method specifically comprises the following steps:
Step 110, when recognizing storage card in start process, one label of setting in disk load service routine
Position, and record the relevant information of the storage card.
Wherein, disk load service routine, which provides, stores relevant function, such as carry, unloading, formatted volume, activates USB
Massive store mode monitors storage card and the variation of massive store mode state etc..The finger daemon of storage class, which is used as, to be deposited
The control center for storing up equipment needs to receive the operational order of the disk load service routine from upper layer, disk load service journey
Sequence resides in the process of system service, and the finger daemon process different as two of storage class, the communication between them
Mode is communicated using socket (socket).The operations such as carry, the unloading volume of disk load service routine pass through socket
It is transmitted to the finger daemon of storage class, the finger daemon for storing class passes through again completes corresponding function with inner nuclear layer communication.Wherein,
Socket is the handle of a communication chain for describing IP address and port, for realizing different virtual machine or different computers
Between communication.
Wherein, the storage card includes T card, and T card, i.e. TF card, also known as microSD are a kind of superfine small flash
Device card is founded by the invention of SanDisk (dodging enlightening) company.This card is mainly used in mobile phone, but because it possesses minimum excellent of volume
Point slowly starts with the capacity constantly promoted for GPS (Global Positioning System, global positioning system)
In equipment, portable music player and some flash memory disks.
User is inserted into storage card when mobile terminal shuts down, or storage card is inserted into start process, then mobile whole
End can recognize storage card by testing mechanism in start process.At this moment, in order to enable the storage card of damage does not interfere with out
A marker bit is arranged in the disk load service routine of system service, by depositing described in marker bit record in the operation of machine
The relevant information of card storage to not execute the operation of carry storage card first, and executes the operation of booting (as waken up system, waking up
Application program and the display etc. for opening touch screen).Wherein, the relevant information of the storage card includes storage card on the road of inner nuclear layer
The information such as diameter.
Step 120, after receiving the booting broadcast that instruction booting is completed, according to the marker bit and the related letter
Breath executes the operation of storage card described in carry.
Mobile terminal can wake up various application programs in start process.After the completion of booting, it is wide that system can initiate booting
It broadcasts, is used to indicate booting and completes.
After the completion of booting, according to the marker bit and the relevant information, storage card is obtained in the path of inner nuclear layer, from
And interact to realize the carry of storage card by the disk load service routine in the finger daemon and system service of storage class.
If there is no the relevant information of storage card in marker bit after the completion of booting, shows no storage card insertion mobile terminal, be then not required to
Execute the operation of carry storage card.
The technical solution of the present embodiment when by recognizing storage card in start process, is set in disk load service
It sets a marker bit and records the relevant information of the storage card, and after receiving the booting broadcast that instruction booting is completed,
According to the marker bit and the relevant information, the operation of storage card described in carry is executed, so as to avoid hanging in start process
System caused by storage card is carried without system exceptions situations such as response, system blank screens.
Embodiment two
Fig. 2 is a kind of flow chart of the method for carry storage card provided by Embodiment 2 of the present invention, 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 executed
Operation " advanced optimize for " when having recognized storage card according to the marker bit and the relevant information, startup file detection system
It unites and the storage card detect and is repaired for the storage card of damage;When the runing time of the file detection system
When reaching preset time, the file detection system is closed ".
In the prior art, mobile terminal can pass through file detection system (file when detecting storage card insertion
System check, fsck) storage card is detected and repaired, the storage card of some damages is by file detection system
Reparation can repair success, some cannot then repair success.For that cannot repair successful storage card, mobile terminal meeting one is straight-through
File detection system is crossed to repair the storage card, in this way, will lead to the system exceptions situations such as system Caton, system blank screen,
Seriously affect user experience.Caused system exception feelings are inserted into order to solve mobile terminal storage card in normal operation
Condition, the present embodiment provide following solution on the basis of the above embodiments.
A kind of method of carry storage card provided in this embodiment specifically comprises the following steps:
Step 210, when recognizing storage card in start process, one label of setting in disk load service routine
Position, and record the relevant information of the storage card.
Step 220, after receiving the booting broadcast that instruction booting is completed, according to the marker bit and the related letter
When breath has recognized storage card, startup file detection system detect to the storage card and be carried out for the storage card of damage
It repairs.
Wherein, file detection system is used to the inconsistent file system of examination and maintenance, and such as system is powered down or disk occurs
Problem is checked and is repaired to file system using file detection system.The storage card of damage refers to the text on storage card
Part system failure is problematic.
After the completion of booting, identification disk loads the marker bit in service routine, if record has storage card in marker bit
In relevant informations such as the paths of inner nuclear layer, then storage card insertion mobile terminal is recognized according to relevant information, at this moment starting text
Part detection system detects the file system on storage card, and for the damage that detects or problematic file system into
Row is repaired.
Step 230, when the runing time of the file detection system reaches preset time, the file detection system is closed
System.
Preset time is set, for limiting the runing time of file detection system, when to avoid the operation of file detection system
Between too long lead to the system exceptions situation such as system Caton.
When startup file detection system repairs storage card, the runing time of file detection system is counted
When, if the runing time of file detection system reaches preset time (such as 90 seconds), illustrate that storage card has damaged, and
The file system of damage therein cannot repair success by file detection system, at this moment close the file detection system, eventually
Only reparation of the file detection system to the file system in storage card, no longer the carry storage card avoid the storage card pair of damage
Mobile terminal causes failure etc. to threaten.
Wherein, close that the file detection system is optional to include:
According to the process identification (PID) of the file detection system, judge that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
The process identification (PID) that file detection system is inquired in process identification table, according to the process identification (PID) of file detection system,
The process that whether there is the file detection system in currently running process is judged, if there is also illustrate on storage card
File system has damage and cannot repair success, kills the process of the file detection system, at this moment to terminate file detection system
The reparation united to storage card.If determining to be not present in currently running process according to the process identification (PID) of file detection system
The process of the file detection system, then supporting paper detection system, can be with carry storage card to storage card reparation success.
The technical solution of the present embodiment, after being broadcasted in the booting for receiving instruction booting completion, according to the mark
Note position and relevant information, startup file detection system are detected and are repaired to storage card, and in the operation of file detection system
Time is turned off when reaching preset time.By the way that the timeout mechanism of file detection system is arranged, file detection system is avoided
It is too long to the repair time of storage card, lead to the system exceptions situations such as system Caton, 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 provides, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment, " when the runing time of the file detection system reaches preset time, institute will be closed
State file detection system " it advanced optimizes as " while startup file detection system, when starting timing is described default
Between timer;When the timing of the timer reaches the preset time, the file detection system is closed ".It should
Method specifically comprises the following steps:
Step 310, when recognizing storage card in start process, one label of setting in disk load service routine
Position, and record the relevant information of the storage card.
Step 320, after receiving the booting broadcast that instruction booting is completed, according to the marker bit and the related letter
When breath has recognized storage card, startup file detection system detect to the storage card and be carried out for the storage card of damage
It repairs.
Step 330, while startup file detection system, starting timing is the timer of the preset time.
The timer that one timing is preset time is set.While startup file detection system, it is fixed to start this
When the time be preset time timer, overtime limitation is carried out with the runing time to file detection system.
Step 340, when the timing of the timer reaches the preset time, the file detection system is closed
System.
When the timing of timer reaches the preset time, the file detection system is closed, file is avoided to examine
The runing time of examining system is too long to lead to system abnormity.
Wherein, close that the file detection system is optional to include:
According to the process identification (PID) of the file detection system, judge that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
The technical solution of the present embodiment, by the way that while startup file detection system, starting timing is when presetting
Between timer, and timing reach the preset time when, close file detection system.By setting timer come pair
The runing time of file detection system is limited, and the runing time of file detection system can be accurately controlled.
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 provides, and the present embodiment is above-mentioned
It is optimized on the basis of embodiment, the storage card detect in startup file detection system and is deposited for damage
After card storage is repaired, it may further comprise: when the runing time of the file detection system does not reach described default
Between when, storage card described in carry.This method specifically comprises the following steps:
Step 410, when recognizing storage card in start process, one label of setting in disk load service routine
Position, and record the relevant information of the storage card.
Step 420, after receiving the booting broadcast that instruction booting is completed, according to the marker bit and the related letter
When breath has recognized storage card, startup file detection system detect to the storage card and be carried out for the storage card of damage
It repairs.
Step 430, when the runing time of the file detection system reaches preset time, the file detection system is closed
System.
Step 440, it when the runing time of the file detection system does not reach the preset time, is deposited described in carry
Card storage.
When the runing time of the file detection system does not reach the preset time and stopped operation, show text
Part detection system has successfully repaired the file system of storage card, at this moment, continues to execute the operation of carry storage card, storage card carry
Successful, on the accessible storage card of user file.
The technical solution of the present embodiment, carry stores when being less than preset time by the runing time of file detection system
Card realizes successfully operation of the carry storage card without influencing system.
Embodiment five
Fig. 5 is a kind of structural schematic diagram of the device for carry storage card that the embodiment of the present invention five provides, as shown in figure 5,
The device of carry storage card described in the present embodiment includes: label setup module 510 and storage card carry module 520.
Wherein, setup module 510 being marked, when for recognizing storage card in start process, loading service journey in disk
One marker bit is set in sequence, and records the relevant information of the storage card;
Storage card carry module 520, after being broadcasted in the booting for receiving instruction booting completion, according to the label
Position and the relevant information execute the operation of storage card described in carry.
Preferably, the storage card carry module includes:
Storage card repairs unit, when for having recognized storage card according to the marker bit and the relevant information, starting
File detection system detect to the storage card and be repaired for the storage card of damage;
Overtime limiting unit, for when the runing time of the file detection system reaches preset time, described in closing
File detection system.
Optionally, the overtime limiting unit includes:
Timer promoter unit, for while startup file detection system, starting timing to be described default
The timer of time;
Subunit over time limit, for when the timing of the timer reaches the preset time, described in closing
File detection system.
Optionally, the subunit over time limit is specifically used for:
When the timing of the timer reaches the preset time, according to the process mark of the file detection system
Know, judges that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
Optionally, the overtime limiting unit is specifically used for:
When the runing time of the file detection system reaches preset time, according to the process of the file detection system
Mark, judges that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
Optionally, the storage card carry module further include:
Storage card carry unit, for detect and for damage to the storage card in startup file detection system
After storage card is repaired, when the runing time of the file detection system does not reach the preset time, carry institute
State storage card.
The method that carry storage card provided by any embodiment of the invention can be performed in the device of above-mentioned carry storage card, tool
The standby corresponding functional module of execution method and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to this
The method for the carry storage card that invention any embodiment provides.
Embodiment six
A kind of mobile terminal is present embodiments provided, which may include the extension that any embodiment of that present invention provides
Carry the device of storage card.Fig. 6 is a kind of structural schematic diagram for mobile terminal that the embodiment of the present invention six provides, as shown in fig. 6, should
Mobile terminal may include: memory 601, central processing unit (Central Processing Unit, hereinafter referred to as CPU)
602, Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power supply pipe
Manage chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control devicess 610 and outside port
604, these components are communicated by one or more communication bus or signal wire 607.Wherein, the outside port 604 includes
Storage card slot.
It should be understood that illustrating the example that mobile terminal 600 is only mobile terminal, and mobile terminal 600
It can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the mobile terminal provided in this embodiment for carry storage card is described in detail below, the mobile terminal
It takes the mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603
Reservoir 601.
I/O subsystem 609, the I/O subsystem 609 can be by the input/output peripherals in equipment, such as touch screen 602
(being equivalent to the screen in above-described embodiment) and other input/control devicess 610, are connected to Peripheral Interface 603.I/O subsystem
609 may 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 from other input/control devicess 610 receive electric signal or to other
Input/control devices 610 sends electric signal, other input/control devicess 610 may include physical button (push button, rocker arm
Button etc.), dial, slide switch, control stick, click idler wheel.It is worth noting that input controller 6092 can with it is following
Any one connection: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 612, the touch screen 612 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 6091 in I/O subsystem 609 receives electric signal from touch screen 612 or sends out to touch screen 612
Electric signals.Touch screen 612 detects the contact on touch screen, and the contact that display controller 6091 will test is converted to and is shown
The interaction of user interface object on touch screen 612, i.e. realization human-computer interaction, the user interface being shown on touch screen 612
Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 605 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 605 receives and sends RF letter
Number, RF signal is also referred to as electromagnetic signal, and RF circuit 605 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 605 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611 is reduced to sound for mobile phone to be passed through RF circuit 605 from the received voice signal of wireless network
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 operation of CPU602 provided in an embodiment of the present invention:
When recognizing storage card in start process, a marker bit is set in disk load service routine, and record
The relevant information of the storage card;
After receiving the booting broadcast that instruction booting is completed, according to the marker bit and the relevant information, execute
The operation of storage card described in carry.
Method provided by any embodiment of the invention can be performed in above-mentioned mobile terminal, has the corresponding function of execution method
Module and beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (9)
1. a kind of method of carry storage card, which is characterized in that the described method includes:
When recognizing storage card in start process, a marker bit is set in disk load service routine, and described in record
The relevant information of storage card;
After receiving the booting broadcast that instruction booting is completed,
When having recognized storage card according to the marker bit and the relevant information, startup file detection system is to the storage card
Detect and is repaired for the storage card of damage;
When the runing time of the file detection system reaches preset time, the file detection system is closed.
2. the method according to claim 1, wherein being preset when the runing time of the file detection system reaches
When the time, closing the file detection system includes:
While startup file detection system, starting timing is the timer of the preset time;
When the timing of the timer reaches the preset time, the file detection system is closed.
3. method according to claim 1 or 2, which is characterized in that closing the file detection system includes:
According to the process identification (PID) of the file detection system, judge that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
4. the method according to claim 1, wherein being examined in startup file detection system to the storage card
Survey and be directed to damage storage card repaired after, further includes:
When the runing time of the file detection system does not reach the preset time, storage card described in carry.
5. a kind of device of carry storage card, which is characterized in that described device includes:
Setup module being marked, when for recognizing storage card in start process, being arranged one in disk load service routine
Marker bit, and record the relevant information of the storage card;
Storage card carry module, after being broadcasted in the booting for receiving instruction booting completion, according to the marker bit and institute
Relevant information is stated, the operation of storage card described in carry is executed;
Wherein, the storage card carry module includes:
Storage card repairs unit, when for having recognized storage card according to the marker bit and the relevant information, startup file
Detection system detect to the storage card and be repaired for the storage card of damage;
Overtime limiting unit, for closing the file when the runing time of the file detection system reaches preset time
Detection system.
6. device according to claim 5, which is characterized in that it is described time-out limiting unit include:
Timer promoter unit, for while startup file detection system, starting timing to be the preset time
Timer;
Subunit over time limit, for closing the file when the timing of the timer reaches the preset time
Detection system.
7. device according to claim 6, which is characterized in that the subunit over time limit is specifically used for:
When the timing of the timer reaches the preset time, according to the process identification (PID) of the file detection system,
Judge that the process of the file detection system whether there is;
If it is, killing the process of the file detection system.
8. device according to claim 5, which is characterized in that the storage card carry module further include:
Storage card carry unit, for detect and for the storage of damage to the storage card in startup file detection system
After card is repaired, when the runing time of the file detection system does not reach the preset time, deposited described in carry
Card storage.
9. a kind of mobile terminal, including storage card slot, which is characterized in that the mobile terminal further includes that claim 5-8 appoints
The device of carry storage card described in one.
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 CN106528158A (en) | 2017-03-22 |
CN106528158B true 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) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423064B (en) * | 2017-07-26 | 2020-12-08 | Oppo广东移动通信有限公司 | Message processing method and device, terminal equipment and storage medium |
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 |
CN110365839B (en) * | 2019-07-04 | 2020-08-28 | Oppo广东移动通信有限公司 | Shutdown method, shutdown device, shutdown medium and electronic equipment |
CN110543376A (en) * | 2019-08-02 | 2019-12-06 | 上海绿联软件股份有限公司 | Android system equipment fault self-repairing method and android system equipment |
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106528158A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528158B (en) | The method, device and mobile terminal of carry storage card | |
CN105320598A (en) | Software testing method and device | |
CN105094903A (en) | Method and device for upgrading firmware | |
CN104516812A (en) | Method and device for testing software | |
CN103473163A (en) | Application program detection method and device | |
CN109375937A (en) | Method for upgrading system, device, terminal device and storage medium | |
CN106502461B (en) | Restore the method, device and mobile terminal of touch screen state before electrostatic resets | |
CN104317699A (en) | Application program verifying method and device | |
CN109614267A (en) | A kind of method, apparatus, storage medium and terminal for repairing booting abnormal problem | |
CN114565070A (en) | Label binding method and device and mobile terminal | |
CN109257652B (en) | Configuration information switching method and device, electronic device, system and storage medium | |
CN111065086A (en) | SIM (subscriber identity module) identification method and device, storage medium and mobile terminal | |
CN107391180A (en) | Point screen method, apparatus and computer-readable recording medium | |
EP3129883B1 (en) | Method and apparatus for repairing dynamic link library file | |
CN107608923B (en) | Test processing method and related product | |
CN106776847B (en) | Method and device for deleting media file and mobile terminal | |
CN110109529B (en) | SD card power supply control method and device, storage medium and electronic equipment | |
CN112199246A (en) | Terminal testing method and device, storage medium and mobile terminal | |
CN109634782B (en) | Method and device for detecting system robustness, storage medium and terminal | |
CN107451067B (en) | Processing method for downloading test and related product | |
CN112463199A (en) | System upgrading method and terminal | |
CN109783261A (en) | The collapse processing method and processing device of terminal applies, electronic equipment, storage medium | |
CN109491825B (en) | Method, device, storage medium and terminal for positioning abnormal starting problem | |
CN115098468A (en) | Flexible data migration method and device, storage medium and electronic equipment | |
CN105808297B (en) | A kind of program operation management method and terminal |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190430 |