CN103077122A - Management method of internal storage space of mobile terminal and mobile terminal - Google Patents

Management method of internal storage space of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN103077122A
CN103077122A CN 201310012244 CN201310012244A CN103077122A CN 103077122 A CN103077122 A CN 103077122A CN 201310012244 CN201310012244 CN 201310012244 CN 201310012244 A CN201310012244 A CN 201310012244A CN 103077122 A CN103077122 A CN 103077122A
Authority
CN
China
Prior art keywords
space
free space
size
built
portable terminal
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
Application number
CN 201310012244
Other languages
Chinese (zh)
Other versions
CN103077122B (en
Inventor
刘建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310012244.7A priority Critical patent/CN103077122B/en
Publication of CN103077122A publication Critical patent/CN103077122A/en
Application granted granted Critical
Publication of CN103077122B publication Critical patent/CN103077122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a management method of the internal storage space of a mobile terminal and the mobile terminal. The method comprises the following steps of: detecting the size of the free space of the internal storage space of the mobile terminal; and if the ratio of the size of the free space to the size of the internal storage space is smaller than a first threshold value, locking a first space in the free space to prevent a system of the mobile terminal from using the first space in the free space. According to the embodiment of the invention, the mobile terminal is used for locking a part of the space in the free space after detecting that the ratio of the size of the free space of the internal storage space to the size of the internal storage space is smaller than the first threshold value, so that the system of the mobile terminal from is prevented from using the part of locked space; and the internal storage space of the mobile terminal is prevented from being rapidly exhausted by the application program running data of the system, so that halting of the system due to space exhaustion can be delayed.

Description

The management method of the built-in storage space of portable terminal and portable terminal
Technical field
The embodiment of the invention relates to electronic communication field, management method and the portable terminal of the built-in storage space of especially a kind of portable terminal.
Background technology
Along with the applied business of smart mobile phone is more and more abundanter, the download that the user can be a large amount of and running application, more depleted than the built-in storage space that is easier to cause mobile phone (Flash space) thus, thus cause mobile phone to crash even can't start shooting.
In order to solve the depleted problem of built-in storage space, in the existing Android system basic Flash space real time monitoring function is arranged, when the Flash of mobile phone free space less than 15% the time, will stop the user to continue set up applications to Flash, eject simultaneously the prompting sign, warning Flash space is with deficiency, and reminding user deletion application program or user data normally move to guarantee the enough support systems in residual F lash space.
Yet, existing Android system has just stoped the user to continue to install new application, and the user does not often go to note that warning notice, just do not go to do the Flash space yet and remove work, thus so that remaining Flash space still is easy to the service data approach exhaustion of some application programs of having been moved, thereby causes mobile phone to crash even can't start shooting.
Summary of the invention
The embodiment of the invention provides management method and the portable terminal of the built-in storage space of a kind of portable terminal, to avoid because built-in storage space is consumed totally and the problem that the portable terminal that causes crashes.
First aspect, the management method of the built-in storage space of a kind of portable terminal, described method comprises:
The size of the free space of the built-in storage space of detection portable terminal;
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with the first locking space in the described free space, so that the system of described portable terminal can't use the first space in the described free space.
In the possible implementation of the first of first aspect, if the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, described method also comprises:
If the size of the free space in the described free space, then discharges the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, if the size of the free space in the described free space less than Second Threshold, then discharges the part in the first space in the blocked described free space, comprising:
If the size of the free space in the described free space is less than Second Threshold, then the interval Preset Time discharges the part of the default size in the first space in the blocked described free space.
In conjunction with the possible implementation of the first of first aspect or first aspect or the possible implementation of the second of first aspect, in the third possible implementation, if the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, described method also comprises:
If detect ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
In conjunction with the possible implementation of the second of the possible implementation of the first of first aspect or first aspect or first aspect or the third possible implementation of first aspect, in the 4th kind of possible implementation, described method also comprises:
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, eject the first information, be used for prompting user free space inadequate resource; Perhaps
If the free space in the described free space accounts for the ratio of described built-in storage space less than Second Threshold, then discharge after the part in the first space in the blocked described free space, eject the second information, be used for prompting user free space inadequate resource.
Second aspect, a kind of portable terminal comprises:
Detection module is for detection of the size of the free space of the built-in storage space of portable terminal;
Locking module, account for the ratio of size of described built-in storage space less than first threshold if be used for the size of the described free space that described detection module detects, then with the first locking space in the described free space, so that the system of described portable terminal can't use the first space in the described free space.
In the possible implementation of the first of second aspect, described portable terminal also comprises:
Release module is used for after first locking space of described locking module with described free space, if the size of the free space in the described free space, then discharges the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, described release module specifically is used for: if the size of the free space of described free space less than Second Threshold, then the interval Preset Time discharges the part of the default size in the first space in the blocked described free space.
In conjunction with the possible implementation of the first of second aspect or second aspect or the possible implementation of the second of second aspect, in the third possible implementation, described portable terminal also comprises:
Detect trigger module, be used for triggering the free space that described detection module detects described built-in storage space;
The latch-release module, be used for after first locking space of described locking module with described free space, if described detection module detects ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
In conjunction with the possible implementation of the second of the possible implementation of the first of second aspect or second aspect or second aspect or the third possible implementation of second aspect, in the 4th kind of possible implementation, described portable terminal also comprises:
The information indicating module is used for ejecting the first information after first locking space of described locking module with described free space, is used for prompting user free space inadequate resource; Perhaps, be used for ejecting the second information after the part in the first space that described release module discharges blocked described free space, be used for prompting user free space inadequate resource.
In the embodiment of the invention, portable terminal accounts for built-in storage space in the size of the free space that detects built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space; Thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the below will do to introduce simply to the accompanying drawing of required use among the embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the management method process flow diagram of the built-in storage space of a kind of portable terminal of the embodiment of the invention;
Fig. 2 is the management method process flow diagram of the built-in storage space of another kind of portable terminal of the embodiment of the invention;
Fig. 3 is the management method process flow diagram of the built-in storage space of another kind of portable terminal of the embodiment of the invention;
Fig. 4 be embodiment illustrated in fig. 3 in quantitative built-in storage space management processing flow chart;
Fig. 5 is the management flow chart to the space of middle locking embodiment illustrated in fig. 4;
A kind of start detection procedure figure that Fig. 6 provides for the embodiment of the invention;
The structural representation of a kind of portable terminal that Fig. 7 provides for the embodiment of the invention;
The structural representation of the another kind of portable terminal that Fig. 8 provides for the embodiment of the invention;
The structural representation of the another kind of portable terminal that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
When mentioning the ordinal numbers such as " first ", " second " when the embodiment of the invention, unless the meaning of its certain order of representation based on context, should be understood to only has been the usefulness of differentiation.
Fig. 1 is the management method process flow diagram of the built-in storage space of a kind of portable terminal of the embodiment of the invention, and as shown in Figure 1, the method comprises:
The size of the free space of the built-in storage space of step 101, detection portable terminal.
Portable terminal has built-in storage space, for example the storage space in the handset.Portable terminal can detect the size of free space in self the built-in storage space.
If the size of step 102 free space accounts for the ratio of size of built-in storage space less than first threshold, then with the first locking space in the free space, so that the system of portable terminal can't use the first space in the free space.
After portable terminal detects the size of free space in the built-in storage space, can judge that this free space accounts for the ratio of built-in storage space, if the size of free space accounts for the ratio of size of built-in storage space less than first threshold, then can be with the first locking space in the free space; Wherein, first threshold can be for according to the predefined value of actual conditions, for example preset first threshold according to the size of built-in storage space and the system situation of portable terminal, the first space is the part of free space, and the size in the first space also can preset according to actual conditions.
Behind the first locking space in the free space, the system of portable terminal just can't use this first space, thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts.
The embodiment of the invention, portable terminal accounts for built-in storage space in the size of the free space that detects built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space; Thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts.
Fig. 2 is the management method process flow diagram of the built-in storage space of another kind of portable terminal of the embodiment of the invention, and on basis shown in Figure 1, as shown in Figure 2, the method comprises:
The size of the free space of the built-in storage space of step 201, detection portable terminal.
Portable terminal can regularly detect the size of the free space of built-in storage space.
If the size of step 202 free space accounts for the ratio of size of built-in storage space less than first threshold, then with the first locking space in the free space, so that the system of portable terminal can't use the first space in the free space, and eject the first information, be used for prompting user free space inadequate resource.
For example: this first threshold can be 15%, and the size in this first space can be 5MB.Can set lock flag to the first space in the free space, to lock this first space.
After with the first locking space, portable terminal can eject the first information in user interface, be used for prompting user free space inadequate resource, so that the user can discharge some current built-in storage spaces that are used, reserve the chance of redemption system for the user thus.
Need to prove, the present embodiment does not limit locking the first space and ejects the sequencing of the first information, the ratio of size that namely accounts for built-in storage space in the size that detects free space is during less than first threshold, can lock first the first space and eject again the first information, also can eject first the first information and lock again the first space.
The size of the free space in step 203, the detection free space.
If the size of the free space in step 204 free space, then discharges the part in the first space in the blocked free space less than Second Threshold, and eject the second information, be used for prompting user free space inadequate resource.Wherein, the free space in the free space is the space except the first space in the free space.
Portable terminal can be according to Preset Time, the size of the free space in the detection free space regularly, and when the size of the free space in the free space was not enough, portable terminal can discharge blocked space; Concrete, when the size of the free space in the free space during less than Second Threshold, portable terminal can partly discharge the first space in the blocked free space.
Further, when the size of the free space in the free space during less than Second Threshold, portable terminal partly discharge the first space in the blocked free space process can for:
This first space is divided into some in advance, and for example every block size is 250KB; When the size of the free space in the free space during less than Second Threshold (for example being 300KB), portable terminal can interval Preset Time (for example 5 minutes) discharges the part of the default size in blocked the first space, for example once discharges the storage space that a block size is 250KB.
After part discharges the first space, portable terminal can eject the second information in user interface, be used for prompting user free space inadequate resource, so that the user can discharge some current built-in storage spaces that are used, reserve the chance of redemption system for the user thus.
Need to prove, the present embodiment not qualifying part discharges the first space and the sequencing that ejects the second information, when namely the size of the free space in detecting free space is less than Second Threshold, can partly discharge first the first space and eject again the second information, also can eject first the second information and partly discharge again the first space.
Step 205, portable terminal detect the free space of built-in storage space.
Portable terminal is the free space of the built-in storage space of duplicate detection regularly.
If step 206 detects ratio that the free space of built-in storage space accounts for built-in storage space more than or equal to first threshold, then remove the locking to the first space in the free space.
After user or system have discharged some built-in storage spaces, the free space that portable terminal can detect built-in storage space accounts for the ratio of built-in storage space more than or equal to first threshold, the free space resource that built-in storage space in the current mobile terminal is described is sufficient, can not cause situation about crashing owing to inadequate resource, so can need not to lock the first space this moment.
The embodiment of the invention, portable terminal accounts for built-in storage space in the size of the free space that detects built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space, and after spendable free space is less than Second Threshold, part discharges blocked space, thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts; And in space, lock part and part when discharging blocked space, it is not enough that portable terminal all can the prompting user space resources, so that the user can initiatively discharge some current built-in storage spaces that are used.
Fig. 3 is the management method process flow diagram of the built-in storage space of another kind of portable terminal of the embodiment of the invention, and on basis illustrated in figures 1 and 2, the method comprises:
The timing of step 301, portable terminal detects the free space of built-in storage space (flash).
Whether the system of portable terminal can regularly detect the free space of built-in storage space, locked to detect this free space.Wherein, whether blocked identification method can have multiple the free space of built-in storage space, for example can whether set represents whether the free space of built-in storage space is locked with quantitative internal memory sign, if set, represent that then this free space is locked, if do not have set, represent that then this free space does not have locked.
Step 302, portable terminal are judged the whether set of quantitative internal memory sign, if execution in step 303 then, if not execution in step 304 then.
Step 303, enter quantitative built-in storage space management treatment scheme.
If judge quantitative internal memory flag set, represent that then the free space of built-in storage space is locked, enter built-in storage space management treatment scheme this moment, and need not need to judge whether the lock idle space again.
Step 304, whether judge ratio that free space accounts for built-in storage space less than 15%, if execution in step 305 then, if not repeated execution of steps 301 then.Wherein, this can be other default value 15% for illustrating.
Step 305, the quantitative built-in storage space management treatment scheme that starts.
Fig. 4 be embodiment illustrated in fig. 3 in quantitative built-in storage space management processing flow chart, as shown in Figure 4, this treatment scheme comprises:
Step 401, timing detect the size of the free space of built-in storage space.
Whether step 402, free space be less than 5MB, if then execution in step 403, if not, then execution in step 407.
Step 403, except 300KB, the remaining space in the lock idle space.During remaining space in the lock idle space, for example can be with quantitative internal memory flag set.
Wherein, because system is regularly execution in step 401, so when needs execution in step 403, if the remaining space in this free space is locked, then do not need to carry out new action.
Whether in the space of step 404, locking available free, if then execution in step 405, if not, then execution in step 406.
Wherein, blocked space under certain conditions (actual conditions is referring to the description in embodiment illustrated in fig. 5) can partly or entirely be discharged, whether all discharged so need to detect blocked space, if all discharged, then just do not had free block in the lock space.
Step 405, ejection message box, the prompting user space is nervous, requires the cleaning space.
Step 406, eject serious caution frame, the free space wretched insufficiency.
5MB in step 407, the lock idle space.
Wherein, because system is regularly execution in step 401, so when needs execution in step 407, if the 5MB in this free space is locked, then do not need to carry out new action.
Step 408, judge non-locking free space whether less than 300KB, if execution in step 409 then then withdraws from if not.
Step 409, from the space of locking, discharge a block space (for example 250KB), for system.
Concrete, when discharging a block space from the space of locking, portable terminal can the interval Preset Time discharges the part of the default size in the blocked space, for example can every interval discharges the storage space of 250KB in 5 minutes.
Step 410, ejection message box, the prompting user space is nervous, requires the cleaning space.
In step 403 and the step 407, system all locks a part of free space, and Fig. 5 is the management flow chart to the space of middle locking embodiment illustrated in fig. 4, and as shown in Figure 5, this management process is:
Step 501, whether judge ratio that free space accounts for built-in storage space less than 15%, if execution in step 502 then if not is execution in step 503 then.
Step 502, discharge blocked space, remove quantitative lock flag, namely remove quantitative internal memory flag set.
The ratio that accounts for built-in storage space when free space is greater than 15% the time, and free space is larger, and need not to lock a part of free space this moment, so can discharge blocked space.
Step 503, whether judge free space less than 300KB, if execution in step 504 then then finishes if not, can repeated execution of steps 501 (not shown)s.
Step 504, judge whether available free in blocked space, if execution in step 506 then, if not execution in step 505 then.
Wherein, if blocked space does not have free block, illustrate that then blocked space is all discharged, namely this moment, free space was 0KB.
Step 505, eject serious caution frame, prompting free space wretched insufficiency.
Block space (for example 250KB) in step 506, the blocked space of release is for system.
Step 507, ejection message box, the prompting user space is nervous, requires the cleaning space.
A kind of start detection procedure figure that Fig. 6 provides for the embodiment of the invention, as shown in Figure 6, this treatment scheme comprises:
After step 601, the start, detect the free space of built-in storage space.
Step 602, judge the whether set of quantitative internal memory sign, if not, then enter the start flow process next step, if execution in step 603 then.
Step 603, whether judge free space less than 300KB, if not, then enter the start flow process next step, if execution in step 604 then.
Step 604, judge whether available free in the space of locking, if execution in step 605 then if not is execution in step 606 then.
Serious caution frame is ejected in step 605, start, and the free space wretched insufficiency requires the cleaning space, then enter the start flow process next step.
Block space in step 606, the blocked space of release is for system.
Step 607, eject message box, the prompting user space is nervous, requires the cleaning space, then enter the start flow process next step.
Need to prove the concrete numerical value among Fig. 3-embodiment illustrated in fig. 6, be and illustrate, be not intended to limit the present invention embodiment.
Various embodiments of the present invention, portable terminal accounts for built-in storage space in the size of the free space that detects built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space, and after spendable free space is less than Second Threshold, part discharges blocked space, thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts; And in space, lock part and part when discharging blocked space, it is not enough that portable terminal all can the prompting user space resources, so that the user can initiatively discharge some current built-in storage spaces that are used.
The structural representation of a kind of portable terminal that Fig. 7 provides for the embodiment of the invention, the portable terminal that the embodiment of the invention provides can be used for implementing the method that above-mentioned Fig. 1-various embodiments of the present invention shown in Figure 6 realize, for convenience of explanation, only show the part relevant with the embodiment of the invention, concrete ins and outs do not disclose, and please refer to Fig. 1-various embodiments of the present invention shown in Figure 6.
This portable terminal can be mobile phone, panel computer, notebook computer, UMPC (super mobile personal computer, ultra-mobile PC), net book or PDA (personal digital assistant, personal digital assistant) terminal device such as, the embodiment of the invention describes take portable terminal as mobile phone as example, and shown in Fig. 7 is the part-structure schematic diagram of the mobile phone 100 relevant with various embodiments of the present invention.
As shown in Figure 7, mobile phone 100 comprises: RF (radio frequency, radio frequency) parts such as circuit 110, storer 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wirelessfidelity, Wireless Fidelity) module 170, processor 180 and power supply 190.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 does not consist of the restriction to mobile phone, can comprise the parts more more or less than diagram, perhaps make up some parts, perhaps different arrangements of components.
Below in conjunction with Fig. 7 each component parts of mobile phone 100 is carried out concrete introduction: RF circuit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission especially, after the downlink information of base station received, process for processor 180; In addition, the up data of design are sent to the base station.Usually, the RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, LNA (low noiseamplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM (global system of mobile communication, global system for mobile communications), GPRS (general packet radio service, general packet radio service), CDMA (code divisionmultiple access, CDMA), WCDMA (wideband code division multiple access, Wideband Code Division Multiple Access (WCDMA)), LTE (long term evolution, Long Term Evolution), Email, SMS (shortmessaging service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by operation, thereby the various functions of carrying out mobile phone 100 are used and the data processing.Storer 120 can mainly comprise storage program district and storage data field, wherein, but the required application program (such as sound-playing function, visual playing function etc.) of storage program district storage operating system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to mobile phone 100 creates etc. can be stored in the storage data field.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 130 can be used for receiving numeral or the character information of input, and generation is inputted with the key signals that the user arranges and function control is relevant of mobile phone 100.Particularly, input block 130 can comprise contact panel 131 and other input equipments 132.Other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, the control lever etc.
Display unit 140 can be used for showing the information of being inputted by the user or offering user's information and the various menus of mobile phone 100.Display unit 140 can comprise display panel 141, optionally, can adopt the forms such as LCD (liquid crystal display, liquid crystal display), OLED (organic light-emitting diode, Organic Light Emitting Diode) to configure display panel 141.Further, contact panel 131 can cover display panel 141, when contact panel 131 detect thereon or near touch operation after, send processor 180 to determining the type of touch event, provide corresponding vision output according to the type of touch event at display panel 141 with preprocessor 180.Although in Fig. 7, contact panel 131 and display panel 141 be as two independently parts realize input and the input function of mobile phone 100, but in certain embodiments, can contact panel 131 and display panel 141 is integrated and realize the input and output function of mobile phone 100.
Mobile phone 100 also can comprise at least a sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated according to the light and shade of ambient light the brightness of display panel 141, proximity transducer can when mobile phone 100 moves in one's ear, cut out display panel 141 and/or backlight.As for mobile phone 100 other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and the mobile phone 100.Voicefrequency circuit 160 can be transferred to loudspeaker 161 with the electric signal after the voice data conversion that receives, and is converted to voice signal output by loudspeaker 161; On the other hand, microphone 162 is converted to electric signal with the voice signal of collecting, by being converted to voice data after voicefrequency circuit 160 receptions, again voice data is exported to RF circuit 110 to send to such as another mobile phone, perhaps export voice data to storer 120 in order to further process.
WiFi belongs to the short range wireless transmission technology, mobile phone 100 by WiFi module 170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Fig. 7 shows WiFi module 170, be understandable that, it does not belong to must consisting of of mobile phone 100, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 180 is control centers of mobile phone 100, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module that is stored in the storer 120, and call the data that are stored in the storer 120, carry out various functions and the deal with data of mobile phone 100, thereby mobile phone is carried out integral monitoring.Optionally, processor 180 can comprise one or more processing units; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in the processor 180.
Mobile phone 100 also comprises the power supply 190 (such as battery) to all parts power supply, and preferred, power supply can link to each other with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, discharge and power consumption by power-supply management system.
Although not shown, mobile phone 100 can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, processor 180 is also for detection of the size of the free space of the built-in storage space of mobile phone in the storer 120; If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with the first locking space in the described free space, so that the system of described mobile phone can't use the first space in the described free space.
Further, if also being used for the size of described free space, processor 180 accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, if the size of the free space in the described free space, then discharges the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
Concrete, the size of the free space of processor 180 in described free space is during less than Second Threshold, discharge the part in the first space in the blocked described free space, specifically can comprise: the size of the free space in described free space is during less than Second Threshold, and processor 180 interval Preset Times discharge the part of the default size in the first space in the blocked described free space.
Further, if also being used for the size of described free space, processor 180 accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, if detect ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
Further, processor 180 also is used for: if the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, eject the first information, be used for prompting user free space inadequate resource; Perhaps, if the free space in the described free space accounts for the ratio of described built-in storage space less than Second Threshold, then discharge after the part in the first space in the blocked described free space, eject the second information, be used for prompting user free space inadequate resource.
The structural representation of the another kind of portable terminal that Fig. 8 provides for the embodiment of the invention, as shown in Figure 8, this portable terminal 800 comprises: detection module 81 and locking module 83.
Detection module 81 is for detection of the size of the free space of the built-in storage space of portable terminal.
Locking module 83, account for the ratio of size of described built-in storage space less than first threshold if be used for the size of the described free space that detection module 81 detects, then with the first locking space in the described free space, so that the system of described portable terminal can't use the first space in the described free space.
Further, in another embodiment, this portable terminal can also comprise: release module 85.
Release module 85, be used for after first locking space of locking module 83 with described free space, if detection module 81 detects the size of the free space in the described free space less than Second Threshold, then discharge the part in the first space in the blocked described free space; Free space in the described free space is the space except described the first space in the described free space.
Concrete, release module 85 specifically is used for: if the size of the free space of described free space less than Second Threshold, then the interval Preset Time discharges the part of the default size in the first space in the blocked described free space.
Further, in another embodiment, this portable terminal can also comprise: detect trigger module 87 and latch-release module 89.
Detect trigger module 87, be used for the free space that detection trigger module 81 detects described built-in storage space.
Latch-release module 89, be used for after first locking space of locking module 83 with described free space, if detection module 81 detects ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
Further, in another embodiment, this portable terminal can also comprise: information indicating module 82.
Information indicating module 82 is used for ejecting the first information after first locking space of locking module 83 with described free space, is used for prompting user free space inadequate resource; Perhaps, be used for ejecting the second information after the part in the first space that release module 85 discharges blocked described free space, be used for prompting user free space inadequate resource.
The portable terminal that the present embodiment provides is used for realizing above-mentioned each embodiment of the method that the workflow of this portable terminal and principle of work do not repeat them here referring to the description in above-mentioned each embodiment of the method.
The embodiment of the invention, locking module accounts for built-in storage space in the size that detection module detects the free space of built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space, and after spendable free space is less than Second Threshold, partly discharge blocked space by release module, thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts; And in space, lock part and part when discharging blocked space, it is not enough that the information indicating module of portable terminal all can the prompting user space resources, so that the user can initiatively discharge some current built-in storage spaces that are used.
The structural representation of the another kind of portable terminal that Fig. 9 provides for the embodiment of the invention, as shown in Figure 9, this portable terminal 900 comprises:
One or more processors 902;
Storer 904; And
One or more programs, wherein these one or more procedure stores are in storer 904 and be configured to be carried out by described one or more processors 902, and described one or more programs comprise:
The instruction of the size of the free space of the built-in storage space of detection portable terminal;
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with the first locking space in the described free space, so that the system of described portable terminal can't use the instruction in the first space in the described free space.
Further, described one or more program also comprises:
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, if the size of the free space in the described free space, then discharges the instruction of the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
Further, if the size of the free space in the described free space less than Second Threshold, then discharges the instruction of the part in the first space in the blocked described free space, specifically comprise:
If the size of the free space in the described free space is less than Second Threshold, then the interval Preset Time discharges the instruction of a part of the default size in the first space in the blocked described free space.
Further, described one or more program also comprises:
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, if detect ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the instruction to the locking in the first space in the described free space.
Further, described one or more program also comprises:
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, eject the first information, be used for the instruction of prompting user free space inadequate resource; Perhaps
If the free space in the described free space accounts for the ratio of described built-in storage space less than Second Threshold, then discharge after the part in the first space in the blocked described free space, eject the second information, be used for the instruction of prompting user free space inadequate resource.
The embodiment of the invention, portable terminal accounts for built-in storage space in the size of the free space that detects built-in storage space the ratio of size less than first threshold after, with a part of locking space in the free space, so that the system of portable terminal can't use blocked this part space, and after spendable free space is less than Second Threshold, part discharges blocked space, thus so that the built-in storage space of portable terminal can not run out of fast by the application program service data of system, thereby the safeguards system of can delaying time can not crash because the space exhausts; And in space, lock part and part when discharging blocked space, it is not enough that portable terminal all can the prompting user space resources, so that the user can initiatively discharge some current built-in storage spaces that are used.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize with hardware, or the firmware realization, or their array mode realizes.When using software to realize, above-mentioned functions can be stored in the computer-readable medium or as one or more instructions or code on the computer-readable medium and transmit.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium of being convenient to transmit from a place to another place computer program.Storage medium can be any usable medium that computing machine can access.As example but be not limited to: computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or can be used in the program code that carries or store the expectation with instruction or data structure form and can be by any other medium of computer access.In addition, any connection can be suitable becomes computer-readable medium.For example, if software be use concentric cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (DSL) or the wireless technology such as infrared ray, radio and microwave from the website, server or the transmission of other remote source, under concentric cable, optical fiber cable, twisted-pair feeder, DSL or the wireless technology such as infrared ray, radio and microwave are included in so in the photographic fixing of medium.As used in the present invention, dish (disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, digital universal laser disc (DVD), floppy disk and Blu-ray Disc, the copy data of the common magnetic of its mid-game, dish then come the copy data of optics with laser.Top combination also should be included within the protection domain of computer-readable medium.
In a word, the above is preferred embodiment of the present invention only, is not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the management method of the built-in storage space of portable terminal is characterized in that, described method comprises:
The size of the free space of the built-in storage space of detection portable terminal;
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with the first locking space in the described free space, so that the system of described portable terminal can't use the first space in the described free space.
2. method according to claim 1 is characterized in that, if the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, described method also comprises:
If the size of the free space in the described free space, then discharges the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
3. method according to claim 2 is characterized in that, if the size of the free space in the described free space less than Second Threshold, then discharges the part in the first space in the blocked described free space, comprising:
If the size of the free space in the described free space is less than Second Threshold, then the interval Preset Time discharges the part of the default size in the first space in the blocked described free space.
4. arbitrary described method according to claim 1-3, it is characterized in that, if the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, described method also comprises:
If detect ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
5. arbitrary described method is characterized in that according to claim 1-4, and described method also comprises:
If the size of described free space accounts for the ratio of size of described built-in storage space less than first threshold, then with after the first locking space in the described free space, eject the first information, be used for prompting user free space inadequate resource; Perhaps
If the free space in the described free space accounts for the ratio of described built-in storage space less than Second Threshold, then discharge after the part in the first space in the blocked described free space, eject the second information, be used for prompting user free space inadequate resource.
6. a portable terminal is characterized in that, comprising:
Detection module is for detection of the size of the free space of the built-in storage space of portable terminal;
Locking module, account for the ratio of size of described built-in storage space less than first threshold if be used for the size of the described free space that described detection module detects, then with the first locking space in the described free space, so that the system of described portable terminal can't use the first space in the described free space.
7. portable terminal according to claim 6 is characterized in that, also comprises:
Release module is used for after first locking space of described locking module with described free space, if the size of the free space in the described free space, then discharges the part in the first space in the blocked described free space less than Second Threshold; Free space in the described free space is the space except described the first space in the described free space.
8. portable terminal according to claim 7, it is characterized in that, described release module specifically is used for: if the size of the free space of described free space less than Second Threshold, then the interval Preset Time discharges the part of the default size in the first space in the blocked described free space.
9. arbitrary described portable terminal is characterized in that according to claim 6-8, also comprises:
Detect trigger module, be used for triggering the free space that described detection module detects described built-in storage space;
The latch-release module, be used for after first locking space of described locking module with described free space, if described detection module detects ratio that the free space of described built-in storage space accounts for described built-in storage space more than or equal to described first threshold, then remove the locking to the first space in the described free space.
10. arbitrary described portable terminal is characterized in that according to claim 6-9, also comprises:
The information indicating module is used for ejecting the first information after first locking space of described locking module with described free space, is used for prompting user free space inadequate resource; Perhaps, be used for ejecting the second information after the part in the first space that described release module discharges blocked described free space, be used for prompting user free space inadequate resource.
CN201310012244.7A 2013-01-14 2013-01-14 The management method of mobile terminal internal storage space and mobile terminal Active CN103077122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310012244.7A CN103077122B (en) 2013-01-14 2013-01-14 The management method of mobile terminal internal storage space and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310012244.7A CN103077122B (en) 2013-01-14 2013-01-14 The management method of mobile terminal internal storage space and mobile terminal

Publications (2)

Publication Number Publication Date
CN103077122A true CN103077122A (en) 2013-05-01
CN103077122B CN103077122B (en) 2016-03-30

Family

ID=48153654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310012244.7A Active CN103077122B (en) 2013-01-14 2013-01-14 The management method of mobile terminal internal storage space and mobile terminal

Country Status (1)

Country Link
CN (1) CN103077122B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488575A (en) * 2013-08-12 2014-01-01 记忆科技(深圳)有限公司 Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104902093A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for preventing mobile terminal from non-smoothing and crashing
CN106294188A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 Memory space processing method and processing device
CN107291394A (en) * 2017-06-27 2017-10-24 北京小米移动软件有限公司 Memory space method for obligating and device
WO2018233668A1 (en) * 2017-06-21 2018-12-27 中兴通讯股份有限公司 Android system-based abnormality recovery method and apparatus, smart device and storage medium
CN111078586A (en) * 2019-12-10 2020-04-28 Oppo(重庆)智能科技有限公司 Memory recovery method and device, storage medium and electronic equipment
CN113741980A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Electronic equipment starting method based on android system, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1374040A1 (en) * 2001-03-30 2004-01-02 Nokia Corporation Downloading application software to a mobile terminal
CN1874563A (en) * 2006-06-15 2006-12-06 中山大学 Handset program, file management system and method
CN100476726C (en) * 2007-08-03 2009-04-08 北京握奇数据***有限公司 Resource limited equipment and data accessing method
CN101286878B (en) * 2008-04-22 2012-02-29 中兴通讯股份有限公司 Management method of memory pool for terminal
CN101321353B (en) * 2008-07-14 2011-08-24 中兴通讯股份有限公司 Method for supporting Java application download spacing detection
CN101908022B (en) * 2010-08-13 2012-03-28 优视科技有限公司 Method and device for managing internal memory of mobile communication equipment terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488575A (en) * 2013-08-12 2014-01-01 记忆科技(深圳)有限公司 Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk
CN103488575B (en) * 2013-08-12 2017-02-01 记忆科技(深圳)有限公司 Method for dynamically adjusting reserved space of solid-state hard disk and solid-state hard disk
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN106294188A (en) * 2015-05-18 2017-01-04 中兴通讯股份有限公司 Memory space processing method and processing device
CN104902093A (en) * 2015-05-28 2015-09-09 广东欧珀移动通信有限公司 Method and device for preventing mobile terminal from non-smoothing and crashing
CN104902093B (en) * 2015-05-28 2017-09-01 广东欧珀移动通信有限公司 A kind of method and device for preventing mobile terminal interim card from crashing
WO2018233668A1 (en) * 2017-06-21 2018-12-27 中兴通讯股份有限公司 Android system-based abnormality recovery method and apparatus, smart device and storage medium
CN107291394A (en) * 2017-06-27 2017-10-24 北京小米移动软件有限公司 Memory space method for obligating and device
CN111078586A (en) * 2019-12-10 2020-04-28 Oppo(重庆)智能科技有限公司 Memory recovery method and device, storage medium and electronic equipment
CN113741980A (en) * 2020-05-29 2021-12-03 青岛海信移动通信技术股份有限公司 Electronic equipment starting method based on android system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103077122B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN103077122B (en) The management method of mobile terminal internal storage space and mobile terminal
CN103500002B (en) The method of application program management, device and terminal unit
CN104780164A (en) Method and device for operating game client
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN104407804B (en) Screenshotss method, apparatus and electronic equipment
CN105278937A (en) Method and device for displaying pop-up box messages
CN105188037A (en) Message push method, mobile terminal, and message push server
CN105119806A (en) Message updating method and device
CN103473163A (en) Application program detection method and device
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN104717341A (en) Message prompting method and terminal
CN103336925A (en) Scanning acceleration method and device
CN103634311A (en) Safety protection method and device, and terminal
CN104133757A (en) Method for obtaining memory information and terminal
CN104519262A (en) Method, device for acquiring video data, and terminal
CN106095489A (en) A kind of application controls method and mobile terminal
CN103312597A (en) Voice message generating method and voice message generating device
CN103368828A (en) Message temporary storage method and system
CN106055400A (en) Method and device for accelerated awakening of terminal
CN103546632A (en) Method and device for alarm ringing of mobile terminal and mobile terminal
CN103544457B (en) The recognition methods of a kind of near field communication tag, device and mobile terminal
CN103677565A (en) Screen unlocking method and device and terminal
CN104426926A (en) Processing method and apparatus for regularly issued data
CN104468961A (en) Method and device for prompting position of terminal
CN104901992A (en) Resource transfer method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171115

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210429

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right