CN105589663A - Mobile terminal and data processing method thereof - Google Patents

Mobile terminal and data processing method thereof Download PDF

Info

Publication number
CN105589663A
CN105589663A CN201510979593.5A CN201510979593A CN105589663A CN 105589663 A CN105589663 A CN 105589663A CN 201510979593 A CN201510979593 A CN 201510979593A CN 105589663 A CN105589663 A CN 105589663A
Authority
CN
China
Prior art keywords
remaining space
mobile terminal
data partition
file
data
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
CN201510979593.5A
Other languages
Chinese (zh)
Other versions
CN105589663B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510979593.5A priority Critical patent/CN105589663B/en
Publication of CN105589663A publication Critical patent/CN105589663A/en
Application granted granted Critical
Publication of CN105589663B publication Critical patent/CN105589663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0632Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal and a data processing method thereof. The mobile terminal comprises a storage, wherein at least partial storage spaces of the storage are mapped into data partitions in a file system of an operating system of the mobile terminal; and a controller, which is used for detecting residual spaces of the data partitions at an initialization phase for guiding the operating system to operate, detecting the residual spaces are smaller than a residual space threshold and detecting pre-filled files in the data partitions; and the controller is also used for clearing the pre-filled files until the residual spaces of the data partitions are not less than the residual space threshold, and finishing an initialization operation of guiding the operating system based on the data partition. By adopting the mobile terminal and the data processing method thereof provided by the invention, the storage spaces of the mobile terminal can be effectively managed and the condition that the storage spaces are quickly exhausted can be avoided.

Description

Mobile terminal and data processing method thereof
Technical field
The present invention relates to the mobile terminal data treatment technology of the communications field, relate in particular to a kind of mobile terminal andData processing method.
Background technology
The application scenarios of the mobile terminal such as smart mobile phone, panel computer is more and more, to the storage sky of mobile terminalBetween requirement also increasing; For example:
1) camera resolution arranging is more and more higher, and the photo of shooting is just increasing, and can be whenever and wherever possibleCan autodyne, mobile phone users also applied ceaselessly and shared by social activity between mutually;
2) increasing in numbers swiftly of the photo that mobile terminal is taken;
3) network speed of the accessing Internet of mobile terminal is also more and more faster, and expense is more and more lower, various videosMore and more; Video is along with the growth that is directly proportional of the quality of duration and video, and file can be increasing;
4) along with the hardware configuration of mobile terminal is more and more higher, mobile terminal install application as game etc. bodyLong-pending is also increasing, and the intermediate data file of games itself and various scenes thereof is also increasing;Use more for a long time, the memory space that takies mobile terminal is also more.
In sum, in the time that the memory space of mobile terminal is reduced to a certain degree meeting and cause mobile terminal beSystem or application occur various extremely, even collapse, screen display do not react (or be called freeze screen) or blank screen(the change plate brick being also commonly called as), how effectively the managing mobile terminal memory space for, avoid storing quick consumptionThe problem that causes to the greatest extent mobile terminal data loss, fault, prior art there is no effective solution.
Summary of the invention
The embodiment of the present invention provides a kind of mobile terminal and data processing method thereof, can be to the storage of mobile terminalSpace is effectively managed.
The technical scheme of the embodiment of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of mobile terminal, and described mobile terminal comprises:
Memory, at least part of memory space of described memory is mapped as the operating system of described mobile terminalData partition in file system;
Described controller, for detecting described data partition at the initial phase of the described operating system of guidingRemaining space; Detect that described remaining space is less than remaining space threshold value, and, described data partition detectedIn pre-filled file;
Described controller, also for described pre-filled file is cleared up, until make the surplus of described data partitionComplementary space is not less than described remaining space threshold value; Based on described data partition complete guiding described operating system at the beginning ofBeginningization operation.
Second aspect, the embodiment of the present invention provides a kind of data processing method, and described data processing method comprises:
Detect the data of described mobile terminal divides at the initial phase of the operating system of guiding mobile terminalThe remaining space in district; Detect that described remaining space is less than remaining space threshold value, and, detect described data and dividePre-filled file in district;
Described pre-filled file is cleared up, until it is described surplus that the remaining space of described data partition is not less thanComplementary space threshold value; Complete the initialization operation of the described operating system of guiding based on described data partition;
Wherein, at least part of memory space of the memory of described mobile terminal is mapped as the behaviour of described mobile terminalMake the described data partition in the file system of system.
In the embodiment of the present invention, at least part of memory space of memory is mapped as the operation system of described mobile terminalData partition (for example, corresponding with Data subregion in Android operating system) in the file system of system, andIn data partition, there is the pre-filled file (does not carry significant information pre-filled file) of predetermined number itself;At the initial phase of the described operating system of guiding, (now the file system in operating system loads controllerComplete, and desktop application there is no startup) detect the remaining space of data partition, when detecting that remaining space is less thanWhen remaining space threshold value, detect the pre-filled file in described data partition; Detected pre-filled file is enteredRow cleaning, until make the remaining space of data partition be not less than remaining space threshold value, the remaining space of data partitionThe minimum essential requirement space that threshold value and mobile terminal operating system guiding start, thus controller can be empty based on residueBetween be greater than residual memory space threshold value data partition complete the initialization operation of guiding operating system, avoid userIn the time of operating mobile terminal, cause the remaining space of data partition empty lower than residue to the excessive use of data partitionBetween threshold value, affect the runnability of operating system, and restart when operation residue sky due to data partitionBetween cause completing the situation of startup lower than remaining space threshold value.
Brief description of the drawings
Fig. 1 is an optional system architecture schematic diagram realizing the mobile terminal of each embodiment of the present invention;
Fig. 2 is an optional hardware configuration schematic diagram realizing the mobile terminal of each embodiment of the present invention;
Fig. 3 is another optional hardware configuration schematic diagram of realizing the mobile terminal of each embodiment of the present invention;
Fig. 4 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 3;
Fig. 5 is an optional schematic flow sheet realizing embodiment of the present invention data processing method;
Fig. 6 is another optional schematic flow sheet of realizing embodiment of the present invention data processing method;
Fig. 7 is another optional schematic flow sheet of realizing embodiment of the present invention data processing method;
Fig. 8 is another optional schematic flow sheet of realizing embodiment of the present invention data processing method.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further elaborated. Should be appreciated that this placeThe specific embodiment of describing, only in order to explain the present invention, is not intended to limit the present invention.
First the institutional framework of the mobile terminal to operation Android operating system describes, referring to table 1, thisAn optional file system of the operating system of the mobile terminal that bright embodiment records comprises following subregion:
Table 1
Boot subregion, the boot partition of mobile terminal operating system, namely the mirror image installation kit of operating system(ROM bag) inner boot.img.
Radio subregion, the driving of mobile terminal or function program, as make a phone call and send short messages and wireless phaseCapacitive certifications (WiFi) etc., it is supporting that the version of different operating system has different radio.
Recovery subregion, the recovery subregion of mobile terminal operating system, different recovery versions can prop upHold different functions, be mainly used in supporting to realize the renewal upgrading of mobile terminal operating system.
System subregion, the whole operating system that has comprised mobile terminal, except kernel (kernel) and virtualRam disk (ramdisk); Comprise the system application of user interface and all prepackages; For example system/appThe core application of memory mobile terminal operating system; System/media memory mobile terminal operating system is usedVarious media files; The font file of system/fonts memory mobile terminal operating system; System/bin storageExecutable file.
Data subregion,, storage user data, photo, video that for example user takes, and user installationApplication program etc., data subregion is actually the data partition of mobile terminal, and the capacity of data subregion is with eventually mobileIn end, user is presented to the capacity of available residue free memory consistent.
Cache subregion, the cache partitions of mobile terminal operating system.
The data (data) of mobile terminal device (for example moving the mobile terminal of Android operating system) pointDistrict is the magnetic disk media for permanent marks system running environment, application parameter configuration etc., if data partitionMemory space is used up, and writing data (for example storing photograph, download file, installation application etc.) will be failed, leadsThe data that cause in reading out data subregion all can occur extremely, the judgement of running status or switch will be failed, systemOr apply (as card), even collapse, stuck extremely while running to certain one-phase, serious even canCause mobile terminal blank screen (being also usually said change plate brick).
Various application (as camera applications, multimedia application, game application) to mobile terminal in prior artWhile carrying out Programming, developer always tentation data can successfully read and write at data partition, alsoThe all codes that are application are all that the hypothesis based on above-mentioned is developed, and this just causes data partition to occur abnormalTime, in the code of application, cause occurring that abnormal position is unpredictable, and then make mobile terminal operating system abnormalBehavior also unpredictable.
The write operation that data section post is had all carries out abnormal judgement to be difficult to realize, this be because: first,Whole operating system and the application code amount of mobile terminal can increase substantially, and are difficult to realize; Secondly, be difficult to requirementThe developer of third party's application realizes third party's application the write operation of data partition is carried out to the abnormal function judging.
Prior art also adopts the write operation to data partition in the following ways extremely to judge:
1) at Framework layer, written document interface is transformed, judged whether the object of write operation is DataSubregion, response judge whether the remaining space of data partition is less than minimum limit and behaviour is write in response when write operationWhether the remaining space of making data partition after data partition writes new data is less than minimum limit, but byIn to data partition data writing very frequent, judge also more complicated, can affect the performance of mobile terminal;Meanwhile, in the time that the remaining space of data partition is less than minimum limit, kernel, Framework and dispatch from the factory application toThe write operation that data partition carries out small data allows, and the application of user installation writing data partition nowOperation is forbidden, this for from operating system inside, (comprising kernel, Frameword and dispatch from the factory shouldWith) and outside (comprising the application that user installs at mobile terminal voluntarily) is not to the write operation setting of data partitionWith the processing mode of authority, the processing that can cause utilizing above-mentioned mode to judge is further complicated.
2) realize by amendment kernel, because kernel is not understood the mechanism of upper layer application, deal with also fiber cropsTired; Meanwhile, also run counter to the specification of the hierarchy Model of mobile terminal operation in kernel modifications.
And, prior art can adopt Fuse scheme allow Data subregion and mobile terminal external storage card (asSDcard) shared partition, can utilize external storage card to store while namely data partition being carried out to write operationThe data that write, to slow down the expending of data partition, cause judgement and process further complicated.
In sum, the monitoring complexity of the operation to data partition in prior art, and also it is right to be difficult to effectively controlThe operation of data partition, for example, in the time adopting any special measures that data partition is filled up, cannot recover mobile terminal behaviourDo the normal operation of system.
The system architecture schematic diagram of the mobile terminal providing referring to the embodiment of the present invention shown in Fig. 1, mobile terminalHardware layer at least comprise memory and controller; Driver layer provides and the communicating by letter of hardware layer operating systemSupport with controlling, application layer is responsible for mutual between user and operating system as the aspect on operating systemCommunication;
For the problems referred to above of prior art, in the mobile terminal providing in the embodiment of the present invention, memory extremelySmall part memory space (for example, is mapped as data partition in the file system of operating system of described mobile terminalCorresponding with data subregion in Android operating system), and in data partition, there is the pre-filled literary composition of predetermined numberPart (itself does not carry significant information pre-filled file); Controller is at the described operating system of guidingInitial phase (now file system loaded as shown in table 1 in operating system, and desktop application there is noStart) detect the remaining space of data partition, when detecting that remaining space detects institute while being less than remaining space threshold valueState the pre-filled file in data partition; Detected pre-filled file is cleared up, until data are dividedThe remaining space in district is not less than remaining space threshold value, the remaining space threshold value of data partition and mobile terminal operation systemThe minimum essential requirement space that system guiding starts, thus controller can be greater than residual memory space threshold based on remaining spaceThe data partition of value completes the initialization operation of guiding operating system, avoids user's logarithm in the time of operating mobile terminalCause the remaining space of data partition lower than remaining space threshold value according to the excessive use of subregion, affect operating systemRunnability, and restart while operation because the remaining space of data partition causes lower than remaining space threshold valueCannot complete the situation of startup.
The mobile terminal of realizing each embodiment of the present invention is described referring now to accompanying drawing. In follow-up description,Use the suffix such as " module ", " parts " or " unit " that is used for representing element only in order to be conducive to thisBright explanation, itself does not have specific meaning. Therefore, " module " can mixedly make with " parts "With.
Mobile terminal can be implemented with various forms, and in conjunction with Fig. 1, Fig. 2 illustrates what the embodiment of the present invention was recordedThe basic hardware structural representation of mobile terminal; Certainly, in practical application, the movement that the embodiment of the present invention is recordedTerminal can be carried out by the hardware that other are set the expansion of practical function, and for example, Fig. 3 shows the invention processAn optional hardware configuration schematic diagram of the mobile terminal that example is recorded, the mobile terminal shown in Fig. 3 is except possessingThe basic hardware structure of mobile terminal shown in Fig. 2, is also provided with other hardware to realize mobile terminal functionExpansion, what it is pointed out that mobile terminal based on shown in Fig. 2 substantially should be by structural representation to movementTerminal arranges extra hardware and is not limited to shown in Fig. 3, and those skilled in the art can be based on moving shown in Fig. 2The basic hardware structure of moving terminal is carried out the expansion of various ways, illustrates no longer one by one here.
The terminal of describing in the present invention can comprise such as mobile phone, smart phone, notebook computer, numeralRadio receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable multimedia broadcastingPut device), the mobile terminal of guider etc. and the fixed terminal such as digital TV, desktop computer etc.Suppose that terminal is mobile terminal below. But, it will be appreciated by those skilled in the art that except being used in particular forOutside the element of mobile object, structure according to the embodiment of the present invention also can be applied to the end of fixed typeEnd.
Fig. 3 is an optional hardware configuration signal that realizes the mobile terminal of each embodiment of the present invention, needsBe pointed out that, when actual enforcement, can in mobile terminal, arrange according to the product form of mobile terminal part orAll corresponding module; As shown in Figure 3, mobile terminal can comprise wireless communication unit 110, A/V (audio frequency/ video) input block 120, user input unit 130, sensing cell 140, output unit 150, memory160, interface unit 170, controller 180 and power subsystem 190 etc. Fig. 3 shows has various assembliesMobile terminal, it should be understood that, and do not require implement all assemblies that illustrate. Can alternatively implementMore or less assembly. Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal and radio communication systemRadio communication between system or network. For example, wireless communication unit can comprise broadcast reception module 111,Mobile communication module 112, wireless Internet module 113, junction service module 114 and positional information module 115In at least one.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/orBroadcast related information. Broadcast channel can comprise satellite channel and/or terrestrial channel. Broadcast management server canTo generate and send the server of broadcast singal and/or broadcast related information or receive the broadcast letter generating beforeNumber and/or broadcast related information and send it to the server of terminal. Broadcast singal can comprise TV broadcastSignal, radio signals, data broadcasting signal etc. And, broadcast singal may further include withThe broadcast singal of TV or radio signals combination. Broadcast related information also can be via mobile communications networkProvide, and in this case, broadcast related information can be received by mobile communication module 112. Broadcast letterNumber can exist with various forms, for example, it can refer to the electronic programming of DMB (DMB)The form of electronic service guidebooks (ESG) of south (EPG), digital video broadcast-handheld (DVB-H) etc. andExist. Broadcast reception module 111 can be by being used various types of broadcast systems to receive signal broadcast. EspeciallyGround, broadcast reception module 111 can be by being used such as multimedia broadcasting-ground (DMB-T), digital many matchmakersBody broadcast-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO)The digit broadcasting system of Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. receive numberWord broadcast. Broadcast reception module 111 can be constructed to be applicable to provide broadcast singal various broadcast systems andAbove-mentioned digit broadcasting system. The broadcast singal and/or the broadcast related information that receive via broadcast reception module 111 canTo be stored in memory 160 (or storage medium of other type).
Mobile communication module 112 by radio signal send to base station (for example, access point, Node B etc.),At least one in exterior terminal and server and/or receive radio signals from it. Such radio signalCan comprise voice call signal, video calling signal or according to text and/or Multimedia Message sends and/Or the various types of data that receive.
Wireless Internet module 113 is supported the Wi-Fi (Wireless Internet Access) of mobile terminal. This module can be inner or outerBe couple to terminal portion. The related Wi-Fi (Wireless Internet Access) technology of this module can comprise that WLAN is (wirelessLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (heightSpeed downlink zoned access) etc.
Junction service module 114 is the modules for supporting junction service. Some example bags of short-range communication technologyDraw together bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the modules for checking or obtain the positional information of mobile terminal. Positional informationThe typical case of module is GPS (global positioning system). According to current technology, GPS module 115 is calculatedFrom the range information of three or more satellites and correct time information and for the information application three of calculatingAngular measurement method, thus according to longitude, latitude and pin-point accuracy calculate three-dimensional current location information. Current, useUse three satellites and proofread and correct by an other satellite of use in the method for calculating location and temporal informationThe position calculating and the error of temporal information. In addition, GPS module 115 can be by calculating in real time continuouslyCurrent location information carrys out computational speed information.
A/V input block 120 is for audio reception or vision signal. A/V input block 120 can comprise phaseMachine 121 and microphone 1220, camera 121 in Video Capture pattern or image capture mode by image captureThe static images that device obtains or the view data of video are processed. Picture frame after treatment may be displayed on aobviousShow on unit 151. Can be stored in memory 160 (or other storage through camera 121 picture frame after treatmentMedium) in or send via wireless communication unit 110, can provide two according to the structure of mobile terminalIndividual or polyphaser 1210 more. Microphone 122 can be at telephone relation pattern, logging mode, speech recognition modeEtc. receive sound (audio frequency) via microphone in operational mode, and can be sound by such acoustic processingFrequently. Audio frequency after treatment (voice) data can be converted to the in the situation that of telephone relation pattern can be via movementCommunication module 112 sends to the formatted output of mobile communication base station. Microphone 122 can be implemented various types ofNoise is eliminated (or inhibition) algorithm and is produced in the process that receives and send audio signal to eliminate (or inhibition)Noise or interference.
User input unit 130 can generate key input data to control mobile terminal according to the order of user's inputVarious operations. User input unit 130 allows user to input various types of information, and can comprise keyDish, pot young sheet, touch pad (for example, detect owing to being touched the resistance that causes, pressure, electric capacity etc.The touch-sensitive assembly changing), roller, rocking bar etc. Especially, when touch pad is superimposed upon demonstration with the form of layerOn unit 151 time, can form touch-screen.
Sensing cell 140 detects the current state of mobile terminal, (for example, mobile terminal open or close shapeState), the position of mobile terminal, user have or not, move for contact (, the touching input) of mobile terminalThe orientation of moving terminal, the acceleration or deceleration of mobile terminal move and direction etc., and generation is used for controlling movementThe order of the operation of terminal or signal. For example, in the time that mobile terminal is embodied as sliding-type mobile phone, sensing listUnit 140 can open or close by this sliding-type phone of sensing. In addition, sensing cell 140 can detect electricityWhether whether source unit 190 provide electric power or interface unit 170 to couple with external device (ED). Sensing cell 140Can comprise that proximity transducer 141 will be described this in conjunction with touch-screen below.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal. For example,External device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port,Wired or wireless FPDP, memory card port, for connecting port, the audio frequency of the device with identification moduleI/O (I/O) port, video i/o port, ear port etc. Identification module can be storage forAuthentication of users uses the various information of mobile terminal and can comprise subscriber identification module (UIM), client's identificationModule (SIM), general client identification module (USIM) etc. In addition, have identification module device (underFace is called " recognition device ") can take the form of smart card, therefore, recognition device can be via port orOther jockey is connected with mobile terminal. Interface unit 170 can be for receiving the input from external device (ED)(for example, data message, electric power etc.) and by the input receiving be transferred in mobile terminal one orMultiple elements or can be for transmit data between mobile terminal and external device (ED).
In addition, in the time that mobile terminal is connected with external base, interface unit 170 can pass through it as permission willElectric power is provided to the path of mobile terminal or can believes as the various command that allows to input from base from baseNumber be transferred to the path of mobile terminal by it. Can be with acting on from various command signals or the electric power of base inputWhether be arranged on exactly the signal on base in identification mobile terminal. Output unit 150 be constructed to vision,Audio frequency and/or tactile manner provide output signal (for example, audio signal, vision signal, alarm signal, vibrationSignal etc.). Output unit 150 can comprise display unit 151, audio frequency output module 152, alarm unit153 etc.
Display unit 151 may be displayed on the information of processing in mobile terminal. For example,, when mobile terminal is in electricityWords are when call mode, display unit 151 can show with call or other and communicate by letter (for example, text messaging,Multimedia file is downloaded etc.) relevant user interface (UI) or graphic user interface (GUI). When eventually mobileEnd in the time of video calling pattern or image capture mode, the image that display unit 151 can display capture and/ or image, the UI that video or image and correlation function are shown or the GUI etc. that receive.
Meanwhile, in the time that display unit 151 and touch pad superpose to form touch-screen with the form of layer each other, showUnit 151 can be used as input unit and output device. Display unit 151 can comprise liquid crystal display(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, softAt least one in property display, three-dimensional (3D) display etc. Some in these displays can be by structureMake as transparence is to allow user to watch from outside, this can be called transparent display, typical transparent displayIt can be for example TOLED (transparent organic light emitting diode) display etc. According to the specific enforcement of wantingMode, mobile terminal can comprise two or more display units (or other display unit), for example, mobileTerminal can comprise outernal display unit (not shown) and inner display unit (not shown). Touch-screen can be usedTouch input pressure and touch input position and touch input area in detecting.
Audio frequency output module 152 can be at mobile terminal in call signal receiving mode, call mode, recordThe isotype such as pattern, speech recognition mode, broadcast reception pattern lower time, wireless communication unit 110 is receivedOr in memory 160 storage voice data convert audio signals and be output as sound. And, audio frequencyOutput module 152 can provide the relevant audio frequency output of specific function of carrying out to mobile terminal (for example, to call outSignal receives sound, message sink sound etc.). Audio frequency output module 152 can comprise loudspeaker, buzzingDevice etc.
Alarm unit 153 can provide output with notifying to mobile terminal event. Typical event canCall out reception, message sink, key signals input to comprise, touch input etc. Except audio or video outputOutside, alarm unit 153 can provide the generation of output with notification event in a different manner. For example, alarmUnit 153 can provide output with the form of vibration, when receiving calling, message or some enter communication(incomingcommunication) time, alarm unit 153 can provide sense of touch output (, vibration) withNotified to user. By such sense of touch output is provided, though at user's mobile phone in user'sIn pocket time, user also can identify the generation of variety of event. Alarm unit 153 also can be single via showingUnit 151 or audio frequency output module 152 provide the output of the generation of notification event.
Memory 160 can be stored the processing carried out by controller 180 and software program of control operation etc.,Or can temporarily store and export data (for example, telephone directory, message, the static map that maybe will exportPicture, video etc.). And memory 160 can be stored about exporting while being applied to touch-screen when touchingThe vibration of variety of way and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, and described storage medium comprises flash memory, hardDish, multimedia card, card type memory (for example, SD or DX memory etc.), random access storage device (RAM),Static random-access memory (SRAM), read-only storage (ROM), the read-only storage of electrically erasableDevice (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And, mobile terminal can with the network storage device that is connected the memory function of execute store 160 by networkCooperation.
Controller 180 is controlled the overall operation of mobile terminal conventionally. For example, controller 180 is carried out with voice logicalThe control that words, data communication, video calling etc. are relevant and processing. In addition, controller 180 can comprise useIn the multi-media module 181 of reproduction or multimedia playback data, multi-media module 181 can be configured in controllerIn 180, or can be configured to separate with controller 180. Controller 180 can pattern recognition processing,So that the handwriting input of carrying out on touch-screen or picture drafting input are identified as to character or image.
Power subsystem 190 receives external power or internal power and operation is provided under the control of controller 180The suitable electric power that each element and assembly are required.
Various embodiment described herein can be to use for example computer software, hardware or its any combinationComputer-readable medium is implemented. For hardware implementation, embodiment described herein can be specific by usingPurposes integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD),Programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontrollerDevice, microprocessor, be designed to carry out in the electronic unit of function described herein at least one implement,In some cases, such embodiment can be implemented in controller 180. For implement software, such asThe embodiment of process or function can be carried out with permission the independent software module of at least one function or operationImplement. Software code can be by the software application (or program) of writing with any suitable programming languageImplement, software code can be stored in memory 160 and by controller 180 and carry out.
So far, according to its functional description mobile terminal. Below, for the sake of brevity, will describe such asSlip in various types of mobile terminals of folded form, board-type, oscillating-type, slide type mobile terminal etc.Type mobile terminal is as example. Therefore, the present invention can be applied to the mobile terminal of any type, and does not limitIn slide type mobile terminal.
As shown in Figure 3 mobile terminal can be constructed to utilize via frame or grouping send data all if anyLine and wireless communication system and satellite-based communication system operate.
The communication system that wherein can operate according to mobile terminal of the present invention is described referring now to Fig. 4.
Such communication system can be used different air interfaces and/or physical layer. For example, made by communication systemWith air interface comprise for example frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA)And UMTS (UMTS) (Long Term Evolution (LTE) especially), global system for mobile communications(GSM) etc. As non-limiting example, description below relates to cdma communication system, but thisThe instruction of sample is equally applicable to the system of other type.
With reference to figure 4, cdma wireless communication system can comprise multiple mobile terminals, multiple base station (BS) 270,Base station controller (BSC) 275 and mobile switching centre (MSC) 280. MSC280 is constructed to publicTelephone-switching network (PSTN) 290 forms interface. MSC280 be also constructed to can be via back haul linkThe BSC275 that is couple to base station 270 forms interface. Back haul link can be according to appointing in some interfaces that oneself knowsOne is constructed, and described interface comprises for example E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSLOr xDSL. Will be appreciated that system can comprise multiple BSC275 as shown in Figure 4.
Each BS270 can serve one or more subregions (or region), by multidirectional antenna or sensing certain partyTo each subregion of antenna cover radially away from BS270. Or each subregion can be by for diversityTwo or more antenna covers that receive. Each BS270 can be constructed to support multiple frequencies to distribute, andEach frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of frequency distribution. BS270 also can be called as base stationTransceiver subsystem (BTS) or other equivalent terms. Under these circumstances, term " base station " can be usedIn broadly representing single BSC275 and at least one BS270. Base station also can be called as " cellular station ". OrPerson, each subregion of particular B S270 can be called as multiple cellular stations.
As shown in Figure 4, broadcast singal is sent to moving of operating in system by broadcsting transmitter (BT) 295Moving terminal. Broadcast reception module as shown in Figure 3 111 is arranged on mobile terminal and sentences reception by BT295The broadcast singal sending. In Fig. 4, show several global positioning systems (GPS) satellite 300. Satellite300 help at least one in the multiple mobile terminals in location.
In Fig. 4, describe multiple satellites 300, but understood, can utilize the satellite of any numberObtain useful locating information. GPS module 115 is constructed to join with satellite 300 conventionally as shown in Figure 3Close to obtain the locating information of wanting. Substitute GPS tracking technique or outside GPS tracking technique, canUse can tracking mobile terminal other technology of position. In addition, at least one gps satellite 300 can selectSelecting property ground or process extraly satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse strand from various mobile terminalsRoad signal. Mobile terminal participates in communicating by letter of call, information receiving and transmitting and other type conventionally. Certain base station 270 connectsEach reverse link signal of receiving is processed in particular B S270. The data that obtain are forwarded to relevantBSC275. BSC provides call resource to distribute and comprise the movement of the coordination of the soft switching process between BS270Management function. BSC275 is also routed to MSC280 by the data that receive, and it is provided for and PSTN290Form the extra route service of interface. Similarly, PSTN290 and MSC280 form interface, MSC withBSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals is sent to and to be movedMoving terminal.
Mobile terminal based on above-mentioned record and communication system propose the following specific embodiment of the present invention; NeedBe pointed out that, in subsequent embodiment of the present invention, all describe as an example of running of mobile terminal Android operating system example,For a person skilled in the art, the technical scheme that the following specific embodiment of the present invention is recorded is equally applicable toMove other operating systems as mobile (SuSE) Linux OS etc.
Embodiment mono-
A kind of mobile terminal of the present invention, referring to Fig. 2 and Fig. 3, mobile terminal at least comprises: memory 160 HesController 180.
At least part of memory space of memory 160 is mapped as in the file system of operating system of mobile terminalData partition, has the pre-filled file of predetermined number in data partition, the volume of pre-filled file can be consistent,Certainly, pre-filled file also can adopt different volumes, and the volume of pre-filled file is according to booting operating systemThe minimum essential requirement space of data partition when startup (corresponding remaining space threshold value) correspondence, conventionally, in data partitionThe remaining space threshold value that adds and should be greater than data partition of the volume of the pre-filled file of predetermined number.
In the time of mobile terminal electrifying startup, controller 180 is at the initial phase (literary composition of guiding operating systemPart system loads is complete, and before desktop application starts) detect the remaining space of data partition, if detectedRemaining space is less than remaining space threshold value, detects the pre-filled file in data partition, and to pre-filled fileClear up.
For example, controller 180 adopts the pre-filled file of pre-filled file being cleared up one by one to data partition,Until make the remaining space of data partition be not less than remaining space threshold value, be not less than at the remaining space of data partitionWhen remaining space threshold value, complete the initialization operation of guiding operating system based on data partition.
Controller 180 detection after the initial phase of guiding operating system (for example complete in initialization,And desktop starts execution detection afterwards), the situation of the pre-filled file of data partition, at least comprises following severalThe situation of kind, describes respectively below.
1) in data partition, exist the pre-filled quantity of documents of pre-filled file and existence to be less than predetermined number, forAvoid the remaining space of data partition to be overused and cannot start that (thereby the mobile terminal of can only resetting causesUser's personal data losing) situation, controller 180 starts unloading application and file delete program confession userOperate and delete unnecessary application and file in data partition, to discharge the memory space of data partition, straightTo the remaining space of data partition be greater than adding of the pre-filled file volume of destination number and remaining space threshold value and,And in data partition, write the pre-filled file of destination number, so that the number of the pre-filled file in data partitionAmount is not less than predetermined number;
Like this, if overusing of data partition caused to data partition in the time that subsequent user is used mobile terminalRemaining space while causing crashing the situations such as blank screen lower than remaining space threshold value, user can be restarted mobile terminal,Controller 180 is by entering the pre-filled file in data partition at the initial phase of guiding operating systemRow cleaning can ensure that mobile terminal can normally start, the data in mobile terminal of having avoided prior art to provideSituation about cannot start shooting when subregion is overused, user can only reset and cause using the data of mobile terminalThe personal data losing at family.
2) controller 180, after the initial phase of guiding operating system, detects in data partitionDo not have pre-filled file, this shows to have cleared up data in the initial phase of guiding operating systemWhole pre-filled file in subregion; If now the remaining space of data partition is greater than the pre-filled of predetermined numberFile volume and remaining space threshold value add and, show that the remaining space of data partition is now being filled predetermined numberPre-filled file after remaining space can also support the startup that reboots of mobile terminal, for fear ofThe remaining space of data partition is overused and cannot starts that (thereby the mobile terminal of can only resetting causes user'sPersonal data losing) situation, controller 180 writes the pre-filled file of predetermined number in data partition;
Like this, if overusing of data partition caused to data partition in the time that subsequent user is used mobile terminalRemaining space while causing crashing the situations such as blank screen lower than remaining space threshold value, user can be restarted mobile terminal,Controller 180 is by entering the pre-filled file in data partition at the initial phase of guiding operating systemRow cleaning can ensure that mobile terminal can normally start, the data in mobile terminal of having avoided prior art to provideSituation about cannot start shooting when subregion is overused, user can only reset and cause using the data of mobile terminalThe personal data losing at family.
3) controller 180, after the initial phase of guiding operating system, detects in data partitionDo not have pre-filled file, this shows to have cleared up data in the initial phase of guiding operating systemWhole pre-filled file in subregion; If now the remaining space of data partition is less than remaining space threshold value, logicalCross output unit 150 and send the operation indicating that recovery data partition is original state, user is to mobile terminal in promptingRecover to make mistakes operation setting (for example recovering the Default Value of mobile terminal) thus clear up data partition completelyUser's personal data.
The present embodiment has following beneficial effect, takies in data partition by the pre-filled file of predetermined numberThe minimum essential requirement space (corresponding remaining space threshold value) of guiding os starting, is dividing because of mobile terminal dataWhen district's remaining space deficiency causes mobile terminal fault (as deadlock, blank screen), on guiding os starting rankPre-filled file in Duan Qingli data partition, makes the remaining space of data partition be enough to support controller 180 and drawsLead and start the operating system;
In the running of mobile terminal, continue (or regularly) remaining space to data partition with correlation techniqueDetect and compare, the present embodiment only carries out pre-filled file startup stage of the booting operating system of mobile terminalCleaning, and guiding start after the pre-filled file in data partition is carried out to Check processing so that data are dividedThe pre-filled file in district with predetermined number, the stage of carrying out operating system at mobile terminal there is no need logarithmRemaining space according to subregion detects, and can not exert an influence to the power consumption of mobile terminal.
Embodiment bis-
The present embodiment is recorded a kind of mobile terminal, and the optional hardware configuration schematic diagram of mobile terminal is referring to Fig. 2 and Tu3, the present embodiment, with running of mobile terminal Android operating system, is preset two in advance in the data partition of mobile terminalFilling file (be made as and fill file 1 and fill file 2) describes for example.
Fill file, content is invalid data, but takies the file of memory space, in the present embodiment, relates toFill files for 2: fill file 1 and fill file 2, as can called after SpaceHolder1.bin andSpaceHolder2.bin。
The size of two files can be all a fixed value, as 10M byte; Also can not of uniform sizely cause, asSpaceHolder1.bin is that 30M byte, SpaceHolder2.bin are 10M byte etc.
1) enough (be greater than the smallest limit of remaining space, correspondence at the remaining space of mobile terminal Data subregionAforesaid remaining space threshold value) situation under, mobile terminal complete normal boot-strap, guiding open after operating system,Fill files for these 2 and all should be placed in Data subregion, for example, be stored in as under/data/system catalogue.
If these 2 files are incomplete, represent not enough use of remaining space of Data subregion.
2) Data subregion smallest limit, the smallest limit of the remaining space of Data subregion, for example canFor 2M byte.
In the Data of mobile terminal subregion, prestore 2 and fill file, in the time that Data subregion is filled, move endEnd can be filled by cleaning the mode of file release Data partition space, and mobile terminal can be completed normallyStart, guide the operation of operating system, save the personal data in mobile terminal thereby be convenient to user, first hereFirst concise and to the point description:
In the onboot joint of the init.rc of the initialization files in mobile terminal operating system, add Monitoring Service(as being DiskFullBailoutChecker), meeting operational monitoring service when mobile terminal starts, monitoring clothesBusiness function is as follows;
1) if the space of Data subregion is less than smallest limit, and fill file 1 exist, delete fill literary compositionPart 1 is to increase the remaining space of Data subregion;
2) if the space of Data subregion is less than smallest limit, and fill file 1 do not exist, delete fillFile 2.
Before resumeHomeActivityLocked () function exits, add the full first aid process letter of Data subregionNumber diskFullBailout (), carries out Data after the namely desktop application of mobile terminal operating system startup and dividesThe full first aid process function diskFullBailout () in district, function is as follows.
1) create when the remaining space of Data subregion enough (being greater than smallest limit) and fill file 1, fill literary compositionPart 2, and be filled into enough sizes.
2) if the remaining space deficiency of Data subregion and fill file 1 and fill file 2 and do not exist,Indicate the remaining space wretched insufficiency of Data subregion, point out the user can only factory reset or shutdown, pleaseUser confirms; If user confirms factory reset, directly enter factory reset flow process;
3) if Data subregion remaining space deficiency, and fill file 1 do not exist, indicate that space is not substantiallyFoot, asks user to unload application or deletes user's oneself file; If find foot of space before exiting applicationEnough, rebuild and fill file 1, user can normally use.
Below in conjunction with flow chart, the implementation of above-mentioned detection service and the full first aid process function of subregion is carried outExplanation.
Referring to Fig. 5, the flow process that controller 180 is carried out Monitoring Service comprises the following steps:
Step 101, stage that controller 180 starts the operating system in guiding (in the onboot joint of init.rc,Add Monitoring Service), whether the remaining space that detects Data subregion is less than smallest limit, if be less than, holdsRow step 102; Otherwise the remaining space that characterizes Data subregion enough uses, end process.
Step 102, whether the filling file 1 that controller 180 detects in Data subregion exists, if existed,Perform step 103; Do not exist if fill file 2, perform step 104.
Step 103, controller 180 is deleted and is filled file 1 to discharge the memory space of Data subregion.
Step 104, whether controller 180 detects in Data subregion and exists and fill file 2, if existed, holdsRow step 105, otherwise end process.
Step 105, controller 180 is deleted and is filled file 2 to discharge the memory space of Data subregion, and finishesProcess.
Referring to Fig. 6, the flow process that controller 180 is carried out the full first aid process function of subregion comprises the following steps:
Step 201, whether controller 180 detects in Data subregion and exists and fill file 2, if existed, holdsRow step 202; Otherwise execution step 206.
The object of the full first aid process function of subregion is that (residue is empty in the time that the remaining space of Date subregion enough usesBetween capacity be greater than two fill files and remaining space smallest limit adding with), and in remaining space deficiencyWhen use, carry out corresponding processing; Can find out in the implementation of Monitoring Service in conjunction with Fig. 5, if DataWhen the remaining space of subregion is not enough, fill file according to the order cleaning of filling file 1-and fill file 2, untilThe remaining space of Data subregion is greater than smallest limit; Correspondingly, in Data subregion, detect and whether fill fileWhile existence, according to filling the contrary order of file with cleaning, first detect in Data subregion, whether there is fillingWhether file 2, exists if fill file 2, be necessary further to detect filling file 1 and exist, if filled outFill file 2 and do not exist and fill that file 1 is inevitable also not existed, there is no need to detect Data subregion and whether exist and fill outFill file 1.
Step 202, whether controller 180 detects in Data subregion and exists and fill file 1, if existed, knotBundle is processed; Otherwise, execution step 203.
Step 203, controller 180 starts unloading application program and file delete program, and points out Data subregionRemaining space wretched insufficiency, mobile terminal has the risk of brick of change; Apply and delete according to user's operation unloadingExcept file, to discharge the memory space of Data subregion.
Step 204, controller 180 judges whether the remaining space of Data subregion is greater than filling file 1 and residueThe smallest limit sum in space, if so, shows that Data subregion is at the remaining space writing after filling file 1Still enough use (guiding that ensures controller 180 complete operation systems starts), perform step 205; NoContinue execution step 204, until clean out enough memory spaces to write filling file in Data subregion1。
Step 205, controller 180 is filled file 1 at Data partition creating.
Step 206, controller 180 judges whether the remaining space of Data subregion is greater than filling file 1, fillsThe smallest limit sum of file 2 and remaining space, if so, show Data subregion write fill file 1,Fill file 2 remaining space afterwards and still enough use (the guiding of guarantee controller 180 complete operation systemsStart), perform step 207; Otherwise execution step 208.
Step 207, controller 180 is filled file 1 and is filled file 2 at Data partition creating.
Step 208, referring to Fig. 7, controller 180 is carried out following steps completing steps 208:
Step 2081, controller 180 generates information and shows prompting at the graphical interfaces of mobile terminalData partition space wretched insufficiency can become brick at once, controls output unit 150 and provides with the form of voice or imageOperation indicating, asks user to select to operate and confirm.
Step 2082, controller 180 detects the operation that user confirms, if user selects, replying makes mistakes arranges streamJourney, performs step 2083; If user selects shutdown, perform step 2084.
Step 2083, controller 180 starts replys the setting procedure of makeing mistakes, and recovers the Default Value of mobile terminal,In Data subregion, user's personal data are cleared.
Step 2084, controller 180 is carried out shutdown process.
Embodiment tri-
Corresponding with the function that in the mobile terminal shown in Fig. 2, each hardware module realizes, the present embodiment is recorded a kind ofData processing method, referring to Fig. 8, data processing method comprises the following steps:
Step 301, detects described mobile terminal at the initial phase of the operating system of guiding mobile terminalThe remaining space of data partition.
Step 302, detects that described remaining space is less than remaining space threshold value, and, detect described data and dividePre-filled file in district.
Step 303, clears up described pre-filled file, until the remaining space that makes described data partition is notBe less than described remaining space threshold value.
Clear up one by one the pre-filled file of described data partition, until make the remaining space of described data partition not littleIn described remaining space threshold value, or, until clean out the pre-filled file in described data partition.
Step 304, completes the initialization operation that guides described operating system based on described data partition.
At least part of memory space of the memory of mobile terminal is mapped as the operating system of described mobile terminalDescribed data partition in file system.
After the initialization of complete operation system, and before the desktop application of operating system starts, alsoBe before mobile terminal loads desktop application, pre-filled file in described data partition detected, and locateReason, comprises following several situation:
1) in data partition, exist the pre-filled quantity of documents of pre-filled file and existence to be less than predetermined number, forAvoid the remaining space of data partition to be overused and cannot start that (thereby the mobile terminal of can only resetting causesUser's personal data losing) situation, start unloading application and file delete program confession user and operate and deleteExcept unnecessary application and file in data partition, to discharge the memory space of data partition, until described dataThe remaining space of subregion be greater than adding of the pre-filled file volume of destination number and described remaining space threshold value and, andIn described data partition, write the described pre-filled file of described destination number, so that in described data partitionThe quantity of pre-filled file is not less than described predetermined number;
Like this, if overusing of data partition caused to data partition in the time that subsequent user is used mobile terminalRemaining space while causing crashing the situations such as blank screen lower than remaining space threshold value, user can be restarted mobile terminal,Can by the pre-filled file in data partition being cleared up at the initial phase of guiding operating systemTo ensure that mobile terminal can normally start, avoid data in mobile terminal subregion that prior art provides by mistakeSituation about cannot start shooting when degree uses, user can only reset and cause user's individual the data of mobile terminalLoss of data.
2), after the initial phase of the described operating system of guiding, detect in data partition and do not existPre-filled file, this shows to have cleared up in data partition in the initial phase of guiding operating systemWhole pre-filled files; If now the remaining space of data partition is greater than the pre-filled file body of predetermined numberLong-pending and remaining space threshold value add and, show that now the remaining space of data partition is being filled filling out in advance of predetermined numberFill the file startup that reboots that mobile terminal can also be supported in remaining space afterwards, divide for fear of dataThe remaining space in district is overused and cannot starts that (thereby the mobile terminal of can only resetting causes user's individual numberAccording to losing) situation, in data partition, write the pre-filled file of predetermined number;
Like this, if overusing of data partition caused to data partition in the time that subsequent user is used mobile terminalRemaining space while causing crashing the situations such as blank screen lower than remaining space threshold value, user can be restarted mobile terminal,Can by the pre-filled file in data partition being cleared up at the initial phase of guiding operating systemTo ensure that mobile terminal can normally start, avoid data in mobile terminal subregion that prior art provides by mistakeSituation about cannot start shooting when degree uses, user can only reset and cause user's individual the data of mobile terminalLoss of data.
3), after the initial phase of the described operating system of guiding, detect in data partition and do not existPre-filled file, this shows to have cleared up in data partition in the initial phase of guiding operating systemWhole pre-filled files; If now the remaining space of data partition is less than remaining space threshold value, send recoveryData partition is the operation indicating of original state, and prompting user recovers to mobile terminal the operation setting of makeing mistakes(for example recovering the Default Value of mobile terminal) thus clear up the user's of data partition personal data completely.
Alternatively, on the basis of the mobile terminal hardware configuration shown in Fig. 2, referring to Fig. 3, mobile terminal alsoExtra module can be set as wireless communication unit 110, output unit 150, A/V input block 120, useFamily input block 130 and sensing cell 140, thus realize following functions:
1) mobile terminal is by the nothing between built-in wireless communication unit 110 and wireless communication system or networkLine telecommunication. For example, the reception of radio signals; Transmitting-receiving mobile cellular signal; Transmitting/receiving wireless WiFiSignal; Carry out the junction service of infrared, purple honeybee mode; Receiving satellite positioning signals is to position.
2) mobile terminal is by built-in A/V input block 120 audio receptions or vision signal, at videoThe static images being obtained by image capture apparatus in acquisition mode or image capture mode or the view data of videoProcess, picture frame after treatment can show or store, or carries out based on aforesaid communication modeSend. In telephone relation pattern, logging mode, speech recognition mode etc. operational mode, receive sound (soundFrequently), and can be audio frequency by such acoustic processing. Audio frequency after treatment (voice) data can be at electricityIn the situation of words call mode, export via aforesaid communication mode.
3) mobile terminal can generate key input number according to the order of user's input via user input unit 130Control according to this various operations of mobile terminal, allow user to input various types of information, and can comprise keyDish, pot young sheet, touch pad (for example, detect owing to being touched the resistance that causes, pressure, electric capacity etc.The touch-sensitive assembly changing), roller, rocking bar etc.
4) mobile terminal detects the current state of mobile terminal, (for example, mobile terminal via sensing cell 140The state that opens or closes), the position of mobile terminal, user for the contact of mobile terminal (, touch defeatedEnter) have or not, the orientation of mobile terminal, the acceleration or deceleration of mobile terminal move and direction etc., and rawBecome order or the signal of the operation for controlling mobile terminal. For example, when being embodied as sliding-type, moves mobile terminalWhen phone, this sliding-type phone of sensing opens or cuts out. In addition, can detect the power supply list of mobile terminalWhether whether unit 190 provide electric power or interface unit 170 to couple with external device (ED).
In sum, the embodiment of the present invention has following beneficial effect:
In maintaining user data to greatest extent, allow data in the timely and effective redemption mobile terminal of user;
Do not need to continue the remaining space to mobile terminal data subregion, only open in mobile terminal operating system guidingWhen moving, do disposable detection and processing, power consumption is substantially negligible, meanwhile, and on the impact of systematic functionSubstantially just do not exist;
Abnormal or the collapse that can effectively prevent from by any special measures, data partition being filled up and cause.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment is passableThe hardware relevant by programmed instruction completes, and aforesaid program can be stored in an embodied on computer readable storage and be situated betweenIn matter, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium bagDraw together: movable storage device, random access memory (RAM, RandomAccessMemory), read-only depositingVarious Jie that can be program code stored such as reservoir (ROM, Read-OnlyMemory), magnetic disc or CDMatter.
Or, if the above-mentioned integrated unit of the present invention is realized and as independently using the form of software function moduleWhen production marketing or use, also can be stored in a computer read/write memory medium. Based on such reasonSeparate, the part that the technical scheme of the embodiment of the present invention contributes to correlation technique in essence in other words can be with softThe form of part product embodies, and this computer software product is stored in a storage medium, comprises some fingersOrder is in order to hold a computer equipment (can be personal computer, server or the network equipment etc.)Described in each embodiment of row the present invention, method is all or part of. And aforesaid storage medium comprises: mobile storageThe various media that can be program code stored such as equipment, RAM, ROM, magnetic disc or CD.
The above, be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this,Any be familiar with those skilled in the art the present invention disclose technical scope in, can expect easily change orReplace, within all should being encompassed in protection scope of the present invention. Therefore, protection scope of the present invention should be with described powerThe protection domain that profit requires is as the criterion.

Claims (10)

1. a mobile terminal, is characterized in that, described mobile terminal comprises:
Memory, at least part of memory space of described memory is mapped as the operating system of described mobile terminalFile system in data partition;
Described controller, divides for detecting described data at the initial phase of the described operating system of guidingThe remaining space in district; Detect that described remaining space is less than remaining space threshold value, and, described data detectedPre-filled file in subregion;
Described controller, also for described pre-filled file is cleared up, until make described data partitionRemaining space is not less than described remaining space threshold value; Complete the described operating system of guiding based on described data partitionInitialization operation.
2. mobile terminal as claimed in claim 1, is characterized in that,
Described controller, also for clearing up one by one the pre-filled file of described data partition, until make described numberBe not less than described remaining space threshold value according to the remaining space of subregion, or, divide until clean out described dataPre-filled file in district.
3. mobile terminal as claimed in claim 1, is characterized in that,
Described controller, also, for after the initial phase of the described operating system of guiding, detectsIn described data partition, exist pre-filled file and quantity to be less than predetermined number, start unloading application and file and deleteExcept program is to discharge the memory space of described data partition, until the remaining space of described data partition is greater than orderPre-filled file volume and the described remaining space threshold value of mark quantity add with, and,
In described data partition, write the described pre-filled file of described destination number, so that described data are dividedThe quantity of the pre-filled file in district is not less than described predetermined number.
4. mobile terminal as claimed in claim 1, is characterized in that,
Described controller, also, for after the initial phase of the described operating system of guiding, detectsIn described data partition, do not have pre-filled file, and the remaining space of described data partition is greater than predetermined numberPre-filled file volume and described remaining space threshold value add and, and,
In described data partition, write the described pre-filled file of described predetermined number.
5. the mobile terminal as described in claim 1 to 4 any one, is characterized in that,
Described controller, also, for after the initial phase of the described operating system of guiding, detectsIn described data partition, do not have pre-filled file, and the remaining space of described data partition is less than predetermined numberPre-filled file volume and described remaining space threshold value add and, send and recover described data partition for initialThe operation indicating of state is so that the remaining space of described data partition is greater than described remaining space threshold value.
6. a data processing method, is characterized in that, described data processing method comprises:
Detect the data of described mobile terminal divides at the initial phase of the operating system of guiding mobile terminalThe remaining space in district;
Detect that described remaining space is less than remaining space threshold value, and, pre-in described data partition detectedFill file;
Described pre-filled file is cleared up, until make described in the remaining space of described data partition is not less thanRemaining space threshold value;
Complete the initialization operation of the described operating system of guiding based on described data partition;
Wherein, at least part of memory space of the memory of described mobile terminal is mapped as described mobile terminalDescribed data partition in the file system of operating system.
7. data processing method as claimed in claim 6, is characterized in that, described pre-filled file is enteredRow cleaning, comprising:
Clear up one by one the pre-filled file of described data partition, until the remaining space that makes described data partition is notBe less than described remaining space threshold value, or, until clean out the pre-filled file in described data partition.
8. data processing method as claimed in claim 6, is characterized in that, described method also comprises:
After the initial phase of the described operating system of guiding, detect in described data partition and existPre-filled file and quantity are less than predetermined number, start unloading application and file delete program to discharge described numberAccording to the memory space of subregion, until the remaining space of described data partition is greater than the pre-filled file of destination numberVolume and described remaining space threshold value add and, and,
In described data partition, write the described pre-filled file of described destination number, so that described data are dividedThe quantity of the pre-filled file in district is not less than described predetermined number.
9. data processing method as claimed in claim 6, is characterized in that, described method also comprises:
After the initial phase of the described operating system of guiding, detect in described data partition and do not depositAt pre-filled file, and the remaining space of the described data partition pre-filled file volume that is greater than predetermined number withDescribed remaining space threshold value add and, and,
In described data partition, write the described pre-filled file of described predetermined number.
10. the data processing method as described in claim 6 to 9 any one, is characterized in that, described sideMethod also comprises:
After the initial phase of the described operating system of guiding, detect in described data partition and do not depositAt pre-filled file, and the remaining space of the described data partition pre-filled file volume that is less than predetermined number withDescribed remaining space threshold value add and, the operation indicating that sends that to recover described data partition be original state so thatThe remaining space of described data partition is greater than described remaining space threshold value.
CN201510979593.5A 2015-12-23 2015-12-23 Mobile terminal and its data processing method Active CN105589663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510979593.5A CN105589663B (en) 2015-12-23 2015-12-23 Mobile terminal and its data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510979593.5A CN105589663B (en) 2015-12-23 2015-12-23 Mobile terminal and its data processing method

Publications (2)

Publication Number Publication Date
CN105589663A true CN105589663A (en) 2016-05-18
CN105589663B CN105589663B (en) 2019-01-15

Family

ID=55929281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510979593.5A Active CN105589663B (en) 2015-12-23 2015-12-23 Mobile terminal and its data processing method

Country Status (1)

Country Link
CN (1) CN105589663B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598563A (en) * 2016-10-19 2017-04-26 广东欧珀移动通信有限公司 Method and device for restarting intelligent terminal, and intelligent terminal
CN107092504A (en) * 2017-03-30 2017-08-25 努比亚技术有限公司 A kind of mobile terminal and its upgrade method
CN107291394A (en) * 2017-06-27 2017-10-24 北京小米移动软件有限公司 Memory space method for obligating and device
CN107741828A (en) * 2017-09-19 2018-02-27 维沃移动通信有限公司 A kind of memory space fill method and mobile terminal
CN107888971A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for deleting audio-video document
CN109101363A (en) * 2017-06-21 2018-12-28 中兴通讯股份有限公司 Abnormal restoring method, device, smart machine and storage medium based on android system
CN112182652A (en) * 2020-09-27 2021-01-05 广州朗国电子科技有限公司 Method and device for protecting data partition from being fully written, storage medium and terminal equipment
CN112333544A (en) * 2020-11-09 2021-02-05 四川长虹电器股份有限公司 Method for partitioned protection of Android smart television data
CN113672435A (en) * 2021-07-09 2021-11-19 济南浪潮数据技术有限公司 Data recovery method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068015A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Data storage method and system of portable terminal
CN104102498A (en) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 Mobile terminal and booting method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140068015A1 (en) * 2012-08-29 2014-03-06 Samsung Electronics Co., Ltd. Data storage method and system of portable terminal
CN104102498A (en) * 2013-04-01 2014-10-15 中兴通讯股份有限公司 Mobile terminal and booting method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888971A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for deleting audio-video document
CN106598563A (en) * 2016-10-19 2017-04-26 广东欧珀移动通信有限公司 Method and device for restarting intelligent terminal, and intelligent terminal
CN107092504A (en) * 2017-03-30 2017-08-25 努比亚技术有限公司 A kind of mobile terminal and its upgrade method
CN109101363A (en) * 2017-06-21 2018-12-28 中兴通讯股份有限公司 Abnormal restoring method, device, smart machine and storage medium based on android system
CN109101363B (en) * 2017-06-21 2023-09-22 中兴通讯股份有限公司 Exception recovery method and device based on Android system, intelligent equipment and storage medium
CN107291394A (en) * 2017-06-27 2017-10-24 北京小米移动软件有限公司 Memory space method for obligating and device
CN107741828A (en) * 2017-09-19 2018-02-27 维沃移动通信有限公司 A kind of memory space fill method and mobile terminal
CN107741828B (en) * 2017-09-19 2020-04-24 维沃移动通信有限公司 Storage space filling method and mobile terminal
CN112182652A (en) * 2020-09-27 2021-01-05 广州朗国电子科技有限公司 Method and device for protecting data partition from being fully written, storage medium and terminal equipment
CN112182652B (en) * 2020-09-27 2021-10-08 广州朗国电子科技有限公司 Method and device for protecting data partition from being fully written, storage medium and terminal equipment
CN112333544A (en) * 2020-11-09 2021-02-05 四川长虹电器股份有限公司 Method for partitioned protection of Android smart television data
CN113672435A (en) * 2021-07-09 2021-11-19 济南浪潮数据技术有限公司 Data recovery method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105589663B (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN105589663A (en) Mobile terminal and data processing method thereof
US10552263B2 (en) System running method and intelligent terminal
US9037906B2 (en) Mobile terminal and controlling method thereof
CN106201756A (en) Log acquisition device, mobile terminal and method
CN106293507B (en) Electronic device with external memory and method of operating the same
CN105511928B (en) System upgrade device and method
US10346359B2 (en) Electronic device and method providing an object management user interface
CN106933593B (en) System switching method and device based on mobile terminal
CN106648725A (en) Terminal, server and configuration file upgrading method
CN105373440A (en) Fault detection and recovery apparatus and method
US20190155792A1 (en) Electronic device and file data journaling method of electronic device
CN108605261B (en) Electronic device and operation method thereof
CN106055324B (en) System theme replaces device and method
CN106559579B (en) Mobile terminal and CPU/GPU scheduling parameter updating method
CN105446779A (en) Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN107341013B (en) Boot fault processing method and device and computer readable storage medium
CN106528576B (en) Page search method, terminal, system and storage medium
US20180181999A1 (en) Electronic device and method for displaying web page using the same
US10489135B2 (en) Electronic device and method for improving installation speed of theme package
CN106021029A (en) Backup-recovery device and method of NV parameters
CN104657181A (en) Method and device for mounting application program
CN110109528A (en) Management-control method, mobile terminal and the computer readable storage medium of application program
Dongre et al. A Research On Android Technology With New Version Naugat (7.0, 7.1)
CN105893080A (en) Application management method and device
CN106650413A (en) Method for determining Root right and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant