CN106951350A - The inspection method and device of a kind of mobile terminal disk - Google Patents
The inspection method and device of a kind of mobile terminal disk Download PDFInfo
- Publication number
- CN106951350A CN106951350A CN201710202315.8A CN201710202315A CN106951350A CN 106951350 A CN106951350 A CN 106951350A CN 201710202315 A CN201710202315 A CN 201710202315A CN 106951350 A CN106951350 A CN 106951350A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- association
- application program
- information
- disk
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/263—Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of inspection method of mobile terminal disk and device, the method comprising the steps of:The use information for having installed application program is collected, according to the use information for having installed application program of collection, sets up and preserves related information data model;When mobile terminal go out and shields standby, mobile terminal is detected, the detection information of mobile terminal is got, the detection information and related information data model are compared judgement, trigger signal is generated;According to the trigger signal of generation, the disk of mobile terminal is checked.The present invention, when mobile terminal go out and shields standby, by detecting, comparing and judge, triggers disk check by collecting the use information of application program and setting up related information data model;Can ensure that disk check is performed in system background, and completes disk check in the case where the non situation of user and mobile terminal are in pause use state;It also can ensure that mobile terminal application data being capable of safety and stablization operation with disk.
Description
Technical field
The present invention relates to the inspection method and device of technical field of mobile terminals, more particularly to a kind of mobile terminal disk.
Background technology
Developing rapidly and popularizing with intelligent terminal, intelligent terminal has become a part for people's daily life, people
Pass through intelligent terminal and carry out instant messaging, play interactive network game, receive various pushed informations, participate in interacting Question-Answer
Deng.
During the present invention is realized, inventor has found that prior art has problems with:Terminal user is limited
The intensive application data that store user is mounted with more application program interested, disk in disk space and is made
With data, in this case, the safety of disk and be stably the thing that terminal user needs to consider and pay close attention to.
The content of the invention
It is a primary object of the present invention to propose the inspection method and device of a kind of mobile terminal disk, it is intended to which how is solution
Mobile terminal disk is checked, the safety and stability of mobile terminal disk is ensured.
To achieve the above object, embodiment of the present invention first aspect provides a kind of inspection method of mobile terminal disk, institute
Stating method includes step:
The use information for having installed application program is collected, according to the use information for having installed application program of collection, is set up
And preserve related information data model;
When mobile terminal go out and shields standby, the mobile terminal is detected, the mobile terminal is got
Detection information, judgement is compared by the detection information and the related information data model, generates trigger signal;
According to the trigger signal of generation, the disk of mobile terminal is checked.
Further, the use information uses ground including application name, application program use time, application program
The association of point and application program uses process.
Further, the association for getting the application program by runtime code detection techniques uses process.
Further, the association type of the related information data model includes association, association in time and place pass
Connection;Association degree of strength in each association type is represented using association factor.
Further, the detection information includes application name information, temporal information or location information.
In addition, to achieve the above object, embodiment of the present invention second aspect provides a kind of inspection dress of mobile terminal disk
Put, described device includes:Application message collection module, related information database, detection process module and disk check module;
The application message collection module, the use information of application program has been installed for collecting, according to the peace of collection
The use information of application program is filled, related information data model is set up;
The related information database, for preserving the related information data mould that the application message collection module is set up
Type;
The detection process module, for when mobile terminal go out and shields standby, being detected to the mobile terminal,
The detection information of the mobile terminal is got, by the related information data in the detection information and the related information database
Model is compared judgement, and generation trigger signal gives the disk check module;
The disk check module, for the trigger signal generated according to the detection process module, to mobile terminal
Disk is checked.
Further, the use information uses ground including application name, application program use time, application program
The association of point and application program uses process.
Further, the association for getting the application program by runtime code detection techniques uses process.
Further, the association type of the related information data model includes association, association in time and place pass
Connection;Association degree of strength in each association type is represented using association factor.
Further, the detection information includes application name information, temporal information or location information.
The inspection method and device of mobile terminal disk provided in an embodiment of the present invention, application program has been installed by collecting
Use information set up related information data model, mobile terminal carry out go out screen it is standby when, by detecting, comparing and judge,
Trigger disk check;On the one hand can ensure that disk check is performed in system background, and in the non situation of user and
Mobile terminal is under pause use state and completes disk check;On the other hand mobile terminal application data and disk energy be can ensure that
Enough safety and stablization operations.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the inspection method schematic flow sheet of the mobile terminal disk of the embodiment of the present invention;
Fig. 4 is the check device structural representation of the mobile terminal disk of the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 illustrates for the hardware configuration of the mobile terminal of realization each embodiment of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or less components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one in wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) electronics
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can be logical including voice
Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115, which is calculated, comes from three or more satellites
Range information and correct time information and for the Information application triangulation of calculating so that according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, defended for calculating the method for position and temporal information using three
Star and the position calculated by using other satellite correction and the error of temporal information.In addition, GPS module 115
Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 122, the static images that 121 pairs of camera is obtained in Video Capture pattern or image capture mode by image capture apparatus
Or the view data of video is handled.Picture frame after processing may be displayed on display unit 151.Handled through camera 121
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (voice data) is received via microphone in record pattern, speech recognition mode etc. operational mode, and can be by so
Acoustic processing be voice data.Audio (voice) data after processing can be converted in the case of telephone calling model can
The form output of mobile communication base station is sent to via mobile communication module 112.Microphone 122 can implement various types of make an uproar
Sound eliminates (or suppression) algorithm to eliminate the noise or dry that (or suppression) produces during receiving and sending audio signal
Disturb.
User input unit 130 can control each of mobile terminal according to the order generation key input data of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape
State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input) of mobile terminal 1 00, mobile terminal
The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses each of mobile terminal 1 00
Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from
The input (for example, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 1 00
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 may be used as allowing by it by electricity
Power provides to the path of mobile terminal 1 00 from base or may be used as allowing passing through it from the various command signals that base is inputted
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from base may be used as being used to recognize that mobile terminal is
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 1 00.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list
Member 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even in
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 1 00 can be with performing memory by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the mobile terminal of the present invention referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link.
If any of interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception
Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals
At least one in 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to obtain desired positioning letter
Breath.GPS tracking techniques or outside GPS tracking techniques are substituted, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00
Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received
Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received
According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with
MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals
It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
As shown in figure 3, a kind of inspection method for mobile terminal disk that first embodiment of the invention is provided, this method includes
Step:
30th, the use information for having installed application program is collected, according to the use information for having installed application program of collection, is built
Stand and preserve related information data model.
In the present embodiment, use information uses ground including application name, application program use time, application program
The association of point and application program uses process.
Wherein, application name refers to the name of the application program.Application program use time refers to the application program
Present period when using.As an example, application program use time may include five values, be respectively:Morning, in
Noon, afternoon, night, undefined, its value is defined as follows shown in table:
Use time | Definition |
Morning | 6:30——8:30 |
Noon | 11:30——13:30 |
Afternoon | 17:30——19:30 |
Evening | 20:30——22:30 |
It is undefined | Remaining period in one day |
Application program place to use refers to the geographical position at mobile terminal when the application program is used, and uses longitude and latitude
Represent.
Association refers to the application in use, the other application or process used can be associated using process, and association process can be with
Including multiple.
In the present embodiment, the association of the application program can be got by runtime code detection techniques using entering
Journey.
Runtime code detection techniques are mainly in application program running, when java virtual machines need to load some
When the code segment and data segment of class, by detecting such code segment and data segment, under specific code scans rule, detection
The other application programs of startup can be associated by going out such, so that setting up the application program associates what is started with system other application programs
Data.Associate log-on data sheet format as follows, a class file can correspond to multiple associations and start application program:
Class name | Association starts application |
In android application programs, an application program will start other application program, typically pass through following four
Mode:Start the Actvitivy, the Service of startup other application programs, startup other application programs of other application programs
Provider, pass through broadcast.So by scan class file detect the presence of call other application programs rule it is as follows:
1) startActivity and startActivityForResult methods, are scanned, the ginseng in the two methods is detected
Number intent component values, if not the class in application, are then added to association by the application program and start number
According in table;
2) startService and bindService methods, are scanned, detect parameter intent's in the two methods
Component values, if not the class in application, nor the service services of system, then add the application program
Enter into association log-on data table;
3) sendBroadcast, sendOrderedBroadcast and sendStickyBroadcast method, inspection, are scanned
The parameter intent surveyed in these three methods component values, if not the class in application, then apply journey by this
Sequence is added in association log-on data table;
4) query, insert, delete, update method call of ContentResolver objects, are scanned, this is detected
The application program, if not the class pointed in application, is then added to by the value of the parameter URI in four method calls
Associate in log-on data table;
According to this four rules it is scanned to each class file after, it is possible to set up the application program association start
Tables of data.
In the present embodiment, the association type of related information data model includes association, association in time and place pass
Connection;Association degree of strength in each association type is represented using association factor.
Association refers to the application set up according to user using the sequencing and function logic precedence relationship of application program
Association type between program and application program;Association in time refers to what is set up according to user in special time period using application program
Association type between period and application program;Place association refers to what is set up according to user in locality using application program
Association type between place and application program.
As an example, association factor can be an integer value, and its span can be 0-8, and 0 represents not close
Connection, 8 represent that correlation degree is most strong, and association factor value is bigger, represent that correlation degree is stronger, are worth smaller expression correlation degree weaker.
As an example, three kinds of incidence relations can be represented by three database tables, as follows respectively:
1), association table:
Application name | Associated application name | Association factor |
2), association in time table:
Use time | Associated application name | Association factor |
3), place contingency table:
Place to use | Associated application name | Association factor |
As an example, the computation rule of association factor can be as follows:
1), for association table, when user starts application program every time, if associated application is in current application program
It is most likely initiated by a user in 10 minutes after startup, then association factor adds 1, if do not started in 10 minutes, association factor subtracts 1;
2), for association in time table, in current slot, if user starts an associated application, association factor
Plus 1, subtract 1 if no startup in current slot, association factor is only calculated once in each period;
3), for place contingency table, on current location, if user starts an associated application, association factor adds
1, subtract 1 if no startup on current location, the interior association factor is only calculated once daily;
Rule and data structure, the use information applied daily according to user, it is possible to calculate pass more than by associating
Join Information Data model.
31st, when mobile terminal go out and shields standby, mobile terminal is detected, the detection letter of mobile terminal is got
Breath, judgement is compared by the detection information and related information data model, generates trigger signal.
In the present embodiment, detection information includes application name information, temporal information or location information.
32nd, according to the trigger signal of generation, the disk of mobile terminal is checked.
As one illustratively, when mobile terminal go out and shields standby, mobile terminal is detected, if get
The detection information of mobile terminal is temporal information, and the association in time table in the temporal information and related information data model is carried out
Compare, the application program, and/or the larger application program of association factor value of the corresponding use time of the temporal information can be directed to
Trigger disk check action.
The inspection method of mobile terminal disk provided in an embodiment of the present invention, the use of application program has been installed by collecting
Information sets up related information data model, when mobile terminal go out and shields standby, by detecting, comparing and judge, triggers magnetic
Disk is checked;On the one hand can ensure that disk check is performed in system background, and in the non situation of user and movement eventually
End completes disk check under pause use state;On the other hand it can ensure that mobile terminal application data can be safe with disk
With stable operation.
The present invention further provides a kind of device.
Reference picture 4, a kind of check device for mobile terminal disk that Fig. 4 provides for second embodiment of the invention, the device
Including:Application message collection module 40, related information database 41, detection process module 42 and disk check module 43.
Application message collection module 40, the use information of application program has been installed for collecting, according to the installation of collection
The use information of application program, sets up related information data model.
In the present embodiment, use information uses ground including application name, application program use time, application program
The association of point and application program uses process.
Wherein, application name refers to the name of the application program.Application program use time refers to the application program
Present period when using.As an example, application program use time may include five values, be respectively:Morning, in
Noon, afternoon, night, undefined, its value is defined as follows shown in table:
Use time | Definition |
Morning | 6:30——8:30 |
Noon | 11:30——13:30 |
Afternoon | 17:30——19:30 |
Evening | 20:30——22:30 |
It is undefined | Remaining period in one day |
Application program place to use refers to the geographical position at mobile terminal when the application program is used, and uses longitude and latitude
Represent.
Association refers to the application in use, the other application or process used can be associated using process, and association process can be with
Including multiple.
In the present embodiment, the association of the application program can be got by runtime code detection techniques using entering
Journey.
Runtime code detection techniques are mainly in application program running, when java virtual machines need to load some
When the code segment and data segment of class, by detecting such code segment and data segment, under specific code scans rule, detection
The other application programs of startup can be associated by going out such, so that setting up the application program associates what is started with system other application programs
Data.Associate log-on data sheet format as follows, a class file can correspond to multiple associations and start application program:
Class name | Association starts application |
In android application programs, an application program will start other application program, typically pass through following four
Mode:Start the Actvitivy, the Service of startup other application programs, startup other application programs of other application programs
Provider, pass through broadcast.So by scan class file detect the presence of call other application programs rule it is as follows:
1) startActivity and startActivityForResult methods, are scanned, the ginseng in the two methods is detected
Number intent component values, if not the class in application, are then added to association by the application program and start number
According in table;
2) startService and bindService methods, are scanned, detect parameter intent's in the two methods
Component values, if not the class in application, nor the service services of system, then add the application program
Enter into association log-on data table;
3) sendBroadcast, sendOrderedBroadcast and sendStickyBroadcast method, inspection, are scanned
The parameter intent surveyed in these three methods component values, if not the class in application, then apply journey by this
Sequence is added in association log-on data table;
4) query, insert, delete, update method call of ContentResolver objects, are scanned, this is detected
The application program, if not the class pointed in application, is then added to by the value of the parameter URI in four method calls
Associate in log-on data table;
According to this four rules it is scanned to each class file after, it is possible to set up the application program association start
Tables of data.
Related information database 41, the related information data model for preserving the foundation of application message collection module 40.
In the present embodiment, the association type of related information data model includes association, association in time and place pass
Connection;Association degree of strength in each association type is represented using association factor.
Association refers to the application set up according to user using the sequencing and function logic precedence relationship of application program
Association type between program and application program;Association in time refers to what is set up according to user in special time period using application program
Association type between period and application program;Place association refers to what is set up according to user in locality using application program
Association type between place and application program.
As an example, association factor can be an integer value, and its span can be 0-8, and 0 represents not close
Connection, 8 represent that correlation degree is most strong, and association factor value is bigger, represent that correlation degree is stronger, are worth smaller expression correlation degree weaker.
As an example, three kinds of incidence relations can be represented by three database tables, as follows respectively:
1), association table:
Application name | Associated application name | Association factor |
2), association in time table:
Use time | Associated application name | Association factor |
3), place contingency table:
Place to use | Associated application name | Association factor |
As an example, the computation rule of association factor can be as follows:
1), for association table, when user starts application program every time, if associated application is in current application program
It is most likely initiated by a user in 10 minutes after startup, then association factor adds 1, if do not started in 10 minutes, association factor subtracts 1;
2), for association in time table, in current slot, if user starts an associated application, association factor
Plus 1, subtract 1 if no startup in current slot, association factor is only calculated once in each period;
3), for place contingency table, on current location, if user starts an associated application, association factor adds
1, subtract 1 if no startup on current location, the interior association factor is only calculated once daily;
Rule and data structure, the use information applied daily according to user, it is possible to calculate pass more than by associating
Join Information Data model.
Detection process module 42, for when mobile terminal go out and shields standby, detecting, obtaining to the mobile terminal
The detection information of the mobile terminal is got, by the related information data model in the detection information and related information database 41
Judgement is compared, generation trigger signal is to disk check module 43.
In the present embodiment, detection information includes application name information, temporal information or location information.
Disk check module 43, for the trigger signal generated according to detection process module 42, to the disk of mobile terminal
Checked.
As one illustratively, when mobile terminal go out and shields standby, mobile terminal is detected, if get
The detection information of mobile terminal is temporal information, and the association in time table in the temporal information and related information data model is carried out
Compare, the application program, and/or the larger application program of association factor value of the corresponding use time of the temporal information can be directed to
Trigger disk check action.
The check device of mobile terminal disk provided in an embodiment of the present invention, the use of application program has been installed by collecting
Information sets up related information data model, when mobile terminal go out and shields standby, by detecting, comparing and judge, triggers magnetic
Disk is checked;On the one hand can ensure that disk check is performed in system background, and in the non situation of user and movement eventually
End completes disk check under pause use state;On the other hand it can ensure that mobile terminal application data can be safe with disk
With stable operation.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are make it that a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of inspection method of mobile terminal disk, methods described includes step:
The use information for having installed application program is collected, according to the use information for having installed application program of collection, sets up and protects
Deposit related information data model;
When mobile terminal go out and shields standby, the mobile terminal is detected, the detection of the mobile terminal is got
Information, judgement is compared by the detection information and the related information data model, generates trigger signal;
According to the trigger signal of generation, the disk of mobile terminal is checked.
2. a kind of inspection method of mobile terminal disk according to claim 1, it is characterised in that the use information bag
Include application name, application program use time, the association of application program place to use and application program and use process.
3. the inspection method of a kind of mobile terminal disk according to claim 2, it is characterised in that pass through runtime code
The association that detection techniques get the application program uses process.
4. a kind of inspection method of mobile terminal disk according to claim 1, it is characterised in that the related information number
Include association, association in time according to the association type of model to associate with place;The strong and weak journey of association in each association type
Degree is represented using association factor.
5. a kind of inspection method of mobile terminal disk according to claim 1, it is characterised in that the detection information bag
Include application name information, temporal information or location information.
6. a kind of check device of mobile terminal disk, described device includes:Application message collection module, related information data
Storehouse, detection process module and disk check module;
The application message collection module, the use information of application program has been installed for collecting, should according to the installation of collection
With the use information of program, related information data model is set up;
The related information database, for preserving the related information data model that the application message collection module is set up;
The detection process module, for when mobile terminal go out and shields standby, detecting, obtaining to the mobile terminal
To the detection information of the mobile terminal, by the related information data model in the detection information and the related information database
Judgement is compared, generation trigger signal gives the disk check module;
The disk check module, for the trigger signal generated according to the detection process module, to the disk of mobile terminal
Checked.
7. a kind of check device of mobile terminal disk according to claim 6, it is characterised in that the use information bag
Include application name, application program use time, the association of application program place to use and application program and use process.
8. the check device of a kind of mobile terminal disk according to claim 7, it is characterised in that pass through runtime code
The association that detection techniques get the application program uses process.
9. a kind of check device of mobile terminal disk according to claim 6, it is characterised in that the related information number
Include association, association in time according to the association type of model to associate with place;The strong and weak journey of association in each association type
Degree is represented using association factor.
10. a kind of check device of mobile terminal disk according to claim 6, it is characterised in that the detection information
Including application name information, temporal information or location information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202315.8A CN106951350B (en) | 2017-03-30 | 2017-03-30 | Method and device for checking mobile terminal disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202315.8A CN106951350B (en) | 2017-03-30 | 2017-03-30 | Method and device for checking mobile terminal disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106951350A true CN106951350A (en) | 2017-07-14 |
CN106951350B CN106951350B (en) | 2021-08-03 |
Family
ID=59473861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710202315.8A Active CN106951350B (en) | 2017-03-30 | 2017-03-30 | Method and device for checking mobile terminal disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951350B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107797858A (en) * | 2017-10-31 | 2018-03-13 | 努比亚技术有限公司 | Disk space optimization method, mobile terminal and computer-readable recording medium |
CN107797871A (en) * | 2017-11-30 | 2018-03-13 | 努比亚技术有限公司 | EMS memory occupation method for releasing resource, mobile terminal and computer-readable recording medium |
CN108037997A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and computer-readable recording medium |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100735376B1 (en) * | 2006-03-29 | 2007-07-04 | 삼성전자주식회사 | Method of executing fast application in mobile communication terminal |
CN101017472A (en) * | 2007-03-01 | 2007-08-15 | 华为技术有限公司 | Hard disk hot swap system in multiple hard disks system and method |
CN101071381A (en) * | 2006-05-09 | 2007-11-14 | 上海乐金广电电子有限公司 | Digital integrated unit fast boot method |
CN101154167A (en) * | 2006-09-28 | 2008-04-02 | 联想(北京)有限公司 | Virtual machine system and its CPU scheduling method |
CN101201791A (en) * | 2007-08-28 | 2008-06-18 | 深圳市同洲电子股份有限公司 | Method and system for developing and debugging application program |
CN103543961A (en) * | 2013-10-12 | 2014-01-29 | 浙江宇视科技有限公司 | PCIe-based storage extension system and method |
CN103942270A (en) * | 2014-03-27 | 2014-07-23 | 上海斐讯数据通信技术有限公司 | Method for intelligently recommending application program and mobile terminal |
US20140258937A1 (en) * | 2013-03-11 | 2014-09-11 | Samsung Electronics Co., Ltd. | Method for controlling display and an electronic device thereof |
CN104049708A (en) * | 2014-07-08 | 2014-09-17 | 山东超越数控电子有限公司 | Method for automatic startup/ shutdown and standby state awakening |
CN104298612A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning memory in mobile terminal and mobile terminal |
US20150052253A1 (en) * | 2014-09-22 | 2015-02-19 | Weaved, Inc. | Multi-server fractional subdomain dns protocol |
CN104714624A (en) * | 2015-03-23 | 2015-06-17 | 深圳市欧珀通信软件有限公司 | Method and device for reducing power dissipation for mobile terminal |
CN104751050A (en) * | 2015-04-13 | 2015-07-01 | 成都睿峰科技有限公司 | Client application program management method |
CN104778049A (en) * | 2014-01-09 | 2015-07-15 | 北京汇智无限传媒技术有限公司 | Implementation method used for human-computer interaction APP (application) on the basis of Android system and interaction system |
CN104778100A (en) * | 2015-04-23 | 2015-07-15 | 成都博元时代软件有限公司 | Safe data backup method |
CN204856294U (en) * | 2015-06-10 | 2015-12-09 | 盛唐文创(北京)科技有限公司 | Personal computer cloud calculates braced system |
US20160124668A1 (en) * | 2014-10-30 | 2016-05-05 | Sandisk Technologies Inc. | Managing data stored in a nonvolatile storage device |
CN106201490A (en) * | 2016-06-30 | 2016-12-07 | 天脉聚源(北京)传媒科技有限公司 | The method and device that a kind of optimization application is run |
CN106331154A (en) * | 2016-09-27 | 2017-01-11 | 湖南纽思曼存储科技有限公司 | Intelligent storage device, background server and mobile terminal |
-
2017
- 2017-03-30 CN CN201710202315.8A patent/CN106951350B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100735376B1 (en) * | 2006-03-29 | 2007-07-04 | 삼성전자주식회사 | Method of executing fast application in mobile communication terminal |
CN101071381A (en) * | 2006-05-09 | 2007-11-14 | 上海乐金广电电子有限公司 | Digital integrated unit fast boot method |
CN101154167A (en) * | 2006-09-28 | 2008-04-02 | 联想(北京)有限公司 | Virtual machine system and its CPU scheduling method |
CN101017472A (en) * | 2007-03-01 | 2007-08-15 | 华为技术有限公司 | Hard disk hot swap system in multiple hard disks system and method |
CN101201791A (en) * | 2007-08-28 | 2008-06-18 | 深圳市同洲电子股份有限公司 | Method and system for developing and debugging application program |
US20140258937A1 (en) * | 2013-03-11 | 2014-09-11 | Samsung Electronics Co., Ltd. | Method for controlling display and an electronic device thereof |
CN103543961A (en) * | 2013-10-12 | 2014-01-29 | 浙江宇视科技有限公司 | PCIe-based storage extension system and method |
CN104778049A (en) * | 2014-01-09 | 2015-07-15 | 北京汇智无限传媒技术有限公司 | Implementation method used for human-computer interaction APP (application) on the basis of Android system and interaction system |
CN103942270A (en) * | 2014-03-27 | 2014-07-23 | 上海斐讯数据通信技术有限公司 | Method for intelligently recommending application program and mobile terminal |
CN104049708A (en) * | 2014-07-08 | 2014-09-17 | 山东超越数控电子有限公司 | Method for automatic startup/ shutdown and standby state awakening |
US20150052253A1 (en) * | 2014-09-22 | 2015-02-19 | Weaved, Inc. | Multi-server fractional subdomain dns protocol |
CN104298612A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for cleaning memory in mobile terminal and mobile terminal |
US20160124668A1 (en) * | 2014-10-30 | 2016-05-05 | Sandisk Technologies Inc. | Managing data stored in a nonvolatile storage device |
CN104714624A (en) * | 2015-03-23 | 2015-06-17 | 深圳市欧珀通信软件有限公司 | Method and device for reducing power dissipation for mobile terminal |
CN104751050A (en) * | 2015-04-13 | 2015-07-01 | 成都睿峰科技有限公司 | Client application program management method |
CN104778100A (en) * | 2015-04-23 | 2015-07-15 | 成都博元时代软件有限公司 | Safe data backup method |
CN204856294U (en) * | 2015-06-10 | 2015-12-09 | 盛唐文创(北京)科技有限公司 | Personal computer cloud calculates braced system |
CN106201490A (en) * | 2016-06-30 | 2016-12-07 | 天脉聚源(北京)传媒科技有限公司 | The method and device that a kind of optimization application is run |
CN106331154A (en) * | 2016-09-27 | 2017-01-11 | 湖南纽思曼存储科技有限公司 | Intelligent storage device, background server and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107797858A (en) * | 2017-10-31 | 2018-03-13 | 努比亚技术有限公司 | Disk space optimization method, mobile terminal and computer-readable recording medium |
CN107797871A (en) * | 2017-11-30 | 2018-03-13 | 努比亚技术有限公司 | EMS memory occupation method for releasing resource, mobile terminal and computer-readable recording medium |
CN108037997A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Memory Optimize Method, mobile terminal and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN106951350B (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094613B (en) | Terminal control mechanism and method | |
CN105100476B (en) | A kind of mobile terminal unlocking device and method | |
CN104750420B (en) | Screenshotss method and device | |
CN104967726B (en) | Phonetic order treating method and apparatus, mobile terminal | |
CN107071760A (en) | Data service automatic switching method and mobile terminal | |
CN104618605B (en) | Mobile terminal locating method and device | |
CN104850443B (en) | A kind of method and mobile terminal for closing error starting application program | |
CN106911806A (en) | A kind of method of PUSH message, terminal, server and system | |
CN106529225A (en) | Device and method for protecting source code of application program | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN104679890B (en) | Picture method for pushing and device | |
CN107066290A (en) | A kind of method and apparatus for starting application according to associating policy | |
CN106157970A (en) | A kind of audio identification methods and terminal | |
CN106131274B (en) | Mobile terminal control device and method | |
CN105278995B (en) | Management method, system, server and the mobile terminal of application program | |
CN106993084A (en) | The method, device and mobile terminal that a kind of control information is shown | |
CN106385333A (en) | Automatic deploying method and system for application program | |
CN106383707A (en) | Picture display method and system | |
CN106412328B (en) | A kind of method and apparatus obtaining field feedback | |
CN106951350A (en) | The inspection method and device of a kind of mobile terminal disk | |
CN107071161A (en) | The aggregation display method and mobile terminal of icon in a kind of status bar | |
CN106125898A (en) | The method and device of screen rotation | |
CN106227454B (en) | A kind of touch trajectory detection system and method | |
CN107249072A (en) | Mobile terminal and its chain operation start method | |
CN106569690A (en) | Mistaken touch prevention device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |