Summary of the invention
To solve relevant issues of the existing technology, the present invention provides a kind of installation kits based on user's operation data
Delet method.
According to an aspect of an embodiment of the present invention, a kind of installation kit delet method based on user's operation data is provided,
This method is applied to include in the mobile terminal of touch screen, comprising:
Obtain the operation signal that user executes single operation triggering on the touch screen;
If detecting, current operation signal is the download signal for downloading installation kit, obtains the history of the user
Operation signal, the operation that the historical operation signal triggers the predetermined number triggered before the download signal by the user are believed
Number;
If detecting, the historical operation signal is met the preset deletion condition, and deletes the installation from the mobile terminal
Packet.
Optionally, if described detect that the historical operation signal is met the preset deletion condition, from the mobile terminal
Delete the installation kit, comprising:
Detect whether the historical operation signal is at least two adjacent slip signals;
If it is detected that the historical operation signal is at least two adjacent slip signals, the historical operation letter is obtained
The slip signals adjacent with the download signal in number;
Calculate the user trigger between the time of the slip signals and the time of the triggering download signal first
Time difference;
If it is detected that the first time difference is less than preset time difference, the installation is deleted from the mobile terminal
Packet.
Optionally, if described detect that the historical operation signal is met the preset deletion condition, from the mobile terminal
Delete the installation kit, further includes:
The time difference of each adjacent operation signal triggering in the historical operation signal is calculated separately, and is obtained each
The average value of time difference;
Obtain operation signal adjacent with the download signal in the historical operation signal;
Calculate the user trigger between the time of the operation signal and the time of the triggering download signal second
Time difference;
If it is detected that second time difference is not more than the average value, the installation is deleted from the mobile terminal
Packet.
Optionally, the method also includes:
Detect whether the user triggers the operation signal for being used to open application program;
If it is detected that user's triggering is used to open the operation signal of application program, executes and obtain user in the touching
The step of touching the operation signal that single operation triggering is executed on screen.
Optionally, if it is described detect that the historical operation signal is met the preset deletion condition after, further includes:
The deletion prompt of the installation kit is shown in the touch screen;
If receiving user according to the confirmation signal for deleting prompt triggering, executes from the mobile terminal and delete institute
The step of stating installation kit.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Execute the operation signal of single operation triggering on the touchscreen by obtaining user;If detecting current operation letter
Number for download signal for downloading installation kit, then the historical operation signal of user is obtained, the history operation signal is that user touches
The operation signal of the predetermined number triggered before hair download signal;If detecting, historical operation signal is met the preset deletion condition,
Then installation kit is deleted from mobile terminal.After the present invention detects the download signal of installation kit by mobile terminal, according to the downloading
User's history operation signal determines that installation kit is the installation kit of accidentally downloading before signal, and deletes the installation kit, solves to miss because of user
The problem that excessive installation kit causes mobile terminal free memory less is downloaded in operation, is reached automatic cleaning accidentally downloading installation kit, is protected
Demonstrate,prove the effect of mobile terminal free memory abundance.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of stream of installation kit delet method based on user's operation data shown according to an exemplary embodiment
Cheng Tu, this method are applied to include in the mobile terminal of touch screen.As shown in Figure 1, should the installation based on user's operation data
Packet delet method includes the following steps.
In a step 101, the operation signal that user executes single operation triggering on the touchscreen is obtained.
Single operation can be the operation such as slide, clicking operation.
In a step 102, if detecting, current operation signal is the download signal for downloading installation kit, obtains use
The historical operation signal at family, the operation which triggers the predetermined number triggered before download signal by user are believed
Number.
For example, mobile terminal, which after user triggers download signal, obtains user, triggers default 5 triggered before the download signal
A operation signal is respectively slip signals, slip signals, slip signals, slip signals, slip signals.
In step 103, if detecting, historical operation signal is met the preset deletion condition, and deletes the peace from mobile terminal
Dress packet.
Mobile terminal can determine whether the download signal of installation kit belongs to user without operation according to historical operation signal
Triggering, and when the download signal for detecting installation kit is false triggering, the installation kit downloaded or downloaded is carried out
It deletes.
In conclusion a kind of installation kit delet method based on user's operation data provided by the invention, is used by obtaining
Family executes the operation signal of single operation triggering on the touchscreen;If detecting, current operation signal is for downloading installation kit
Download signal, then obtain the historical operation signal of user, the history operation signal triggers before triggering download signal by user
Predetermined number operation signal;If detecting, historical operation signal is met the preset deletion condition, and is deleted and is pacified from mobile terminal
Dress packet.After the present invention detects the download signal of installation kit by mobile terminal, operated according to user's history before the download signal
Signal determines that installation kit is the installation kit of accidentally downloading, and deletes the installation kit, solves to download excessive installation kit because of user misoperation
The problem for causing mobile terminal free memory less reaches automatic cleaning accidentally downloading installation kit, guarantees mobile terminal free memory
Sufficient effect.
Fig. 2 is a kind of installation kit delet method based on user's operation data shown according to another exemplary embodiment
Flow chart, this method are applied to include in the mobile terminal of touch screen.As shown in Fig. 2, should the peace based on user's operation data
Dress packet delet method includes the following steps.
In step 201, whether detection user triggers the operation signal for being used to open application program.
The download link of installation kit obtains in the interface that icon is usually located at webpage or other applications provide.When with
Using mobile terminal and when being not switched on application program, the operation that mobile terminal determines that user carries out can not be triggered under installation kit at family
Information carrying number.
In step 202, it if it is detected that user's triggering is used to open the operation signal of application program, obtains user and is touching
Touch the operation signal that single operation triggering is executed on screen.
If mobile terminal detects that user's triggering is used to open the operation signal of application program, mobile terminal determines user
The operation of execution may have the risk of the download signal of false triggering installation kit.At this point, acquisition for mobile terminal user is touching
The operation signal of single operation triggering is executed on screen.
For example, the user of acquisition for mobile terminal executes the operation signal of single operation triggering on the touchscreen to click letter
Number.
In step 203, if detecting, current operation signal is the download signal for downloading installation kit, obtains use
The historical operation signal at family, the operation which triggers the predetermined number triggered before download signal by user are believed
Number.
In embodiments of the present invention, mobile terminal can recorde the operation signal of user's execution.
When mobile terminal detects that current operation signal is the download signal for downloading installation kit, mobile terminal is needed
Determine the download signal of the download signal false triggering that whether is user when browsing webpage or using application program, at this point,
The historical operation signal of acquisition for mobile terminal user.
For example, default 5 historical operation signals of acquisition for mobile terminal are followed successively by " slip signals A, cunning according to sequencing
Dynamic signal B, slip signals C, slip signals D, slip signals E "
In step 204, whether detection history operation signal is at least two adjacent slip signals.
For example, mobile terminal detects historical operation signal " slip signals A, slip signals B, slip signals C, sliding letter
Number D, slip signals E " are 5 adjacent slip signals.
In step 205, if it is detected that historical operation signal is at least two adjacent slip signals, the history is obtained
The slip signals adjacent with download signal in operation signal.
For example, slip signals E adjacent with download signal in each historical operation signal of acquisition for mobile terminal.
In step 206, first between the time of user's triggering slip signals and the time of triggering download signal is calculated
Time difference.
Mobile terminal can also record the corresponding triggering of each historical operation signal when recording each historical operation signal
Time.
The available user of mobile terminal triggers time and the triggering download signal of the slip signals adjacent with download signal
Time, and calculate calculate user trigger slip signals time and trigger download signal time between first time it is poor
Value.
For example, acquisition for mobile terminal user trigger the time of the slip signals E adjacent with download signal for 11 points 11 minutes 15
Second, trigger download signal time be 11 points 16 seconds 11 minutes, then calculated first time difference be 1 second.
In step 207, if it is detected that first time difference is less than preset time difference, installation kit is shown in touch screen
Deletion prompt.
If it is detected that first time difference is less than preset time difference, when mobile terminal determines the download signal of installation kit
Very short time internal trigger after user carries out continuous slide, which may be that user is repeatedly slided
The download signal of false triggering when operation.Mobile terminal shows the deletion prompt of installation kit in touch screen at this time.
Wherein, preset time difference is the preset numerical value of staff.
In a step 208, if receiving user according to the confirmation signal for deleting prompt triggering, mobile terminal deletes the peace
Dress packet.
It should be noted that if the operation signal of user's triggering is not detected in mobile terminal within a preset period of time, then move
Dynamic terminal deletes the installation kit.
In conclusion a kind of installation kit delet method based on user's operation data provided by the invention, is used by obtaining
Family executes the operation signal of single operation triggering on the touchscreen;If detecting, current operation signal is for downloading installation kit
Download signal, then obtain the historical operation signal of user, the history operation signal triggers before triggering download signal by user
Predetermined number operation signal;If detecting, historical operation signal is met the preset deletion condition, and is deleted and is pacified from mobile terminal
Dress packet.After the present invention detects the download signal of installation kit by mobile terminal, operated according to user's history before the download signal
Signal determines that installation kit is the installation kit of accidentally downloading, and deletes the installation kit, solves to download excessive installation kit because of user misoperation
The problem for causing mobile terminal free memory less reaches automatic cleaning accidentally downloading installation kit, guarantees mobile terminal free memory
Sufficient effect.
Fig. 3 is a kind of installation kit delet method based on user's operation data shown according to another exemplary embodiment
Flow chart, this method are applied to include in the mobile terminal of touch screen.As shown in figure 3, should the peace based on user's operation data
Dress packet delet method includes the following steps.
In step 301, whether detection user triggers the operation signal for being used to open application program.
The download link of installation kit obtains in the interface that icon is usually located at webpage or other applications provide.When with
Using mobile terminal and when being not switched on application program, the operation that mobile terminal determines that user carries out can not be triggered under installation kit at family
Information carrying number.
In step 302, it if it is detected that user's triggering is used to open the operation signal of application program, obtains user and is touching
Touch the operation signal that single operation triggering is executed on screen.
If mobile terminal detects that user's triggering is used to open the operation signal of application program, mobile terminal determines user
The operation of execution may have the risk of the download signal of false triggering installation kit.At this point, acquisition for mobile terminal user is touching
The operation signal of single operation triggering is executed on screen.
For example, the user of acquisition for mobile terminal executes the operation signal of single operation triggering on the touchscreen to click letter
Number.
In step 303, if detecting, current operation signal is the download signal for downloading installation kit, obtains use
The historical operation signal at family, the operation which triggers the predetermined number triggered before download signal by user are believed
Number.
In embodiments of the present invention, mobile terminal can recorde the operation signal of user's execution.
When mobile terminal detects that current operation signal is the download signal for downloading installation kit, mobile terminal is needed
Determine the download signal of the download signal false triggering that whether is user when browsing webpage or using application program, at this point,
The historical operation signal of acquisition for mobile terminal user.
For example, default 5 historical operation signals of acquisition for mobile terminal are followed successively by " click signal F, point according to sequencing
Hit signal G, click signal H, click signal I, click signal J "
In step 304, the time difference of each adjacent operation signal triggering in historical operation signal is calculated separately, and
Obtain the average value of each time difference.
Mobile terminal can also record the corresponding triggering of each historical operation signal when recording each historical operation signal
Time.
For example, click signal F triggering time be 11 points 16 seconds 11 minutes, click signal G triggering time be 11 points 11 minutes
17 seconds, click signal H triggering time be 11 points 18 seconds 11 minutes, click signal I triggering time be 11 points 19 seconds 11 minutes, click
Signal J triggering time be 11 points 20 seconds 11 minutes.
The time difference that mobile terminal calculates separately each adjacent operation signal triggering in historical operation signal is respectively 1
Second, 1 second, 1 second, 1 second, 1 second, and obtain average value 1 second of each time difference.
In step 305, operation signal adjacent with download signal in historical operation signal is obtained.
For example, operation signal adjacent with download signal in acquisition for mobile terminal historical operation signal is click signal J.
Within step 306, calculate user trigger the time of the operation signal and trigger download signal time between the
Two time differences.
For example, acquisition for mobile terminal user trigger download signal time be 11 points 21 seconds 11 minutes, calculate user triggering
The second time difference between the time of click signal J and the time for triggering download signal is 1 second.
In step 307, if it is detected that the second time difference is not more than average value, deleting for installation kit is shown in touch screen
Except prompt.
If it is detected that the second time difference is not more than average value, mobile terminal determines user in application program or webpage
The installation kit download signal triggered when the middle operational order for carrying out rule repeatability, at this point, the download signal is particularly likely that use
Family false triggering, then in the deletion prompt for showing installation kit in touch screen.
In step 308, if receiving user according to the confirmation signal for deleting prompt triggering, deleting from mobile terminal should
Installation kit.
In conclusion a kind of installation kit delet method based on user's operation data provided by the invention, is used by obtaining
Family executes the operation signal of single operation triggering on the touchscreen;If detecting, current operation signal is for downloading installation kit
Download signal, then obtain the historical operation signal of user, the history operation signal triggers before triggering download signal by user
Predetermined number operation signal;If detecting, historical operation signal is met the preset deletion condition, and is deleted and is pacified from mobile terminal
Dress packet.After the present invention detects the download signal of installation kit by mobile terminal, operated according to user's history before the download signal
Signal determines that installation kit is the installation kit of accidentally downloading, and deletes the installation kit, solves to download excessive installation kit because of user misoperation
The problem for causing mobile terminal free memory less reaches automatic cleaning accidentally downloading installation kit, guarantees mobile terminal free memory
Sufficient effect.
Fig. 4 is shown according to an exemplary embodiment a kind of for the installation kit deletion device based on user's operation data
400 block diagram.For example, device 400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control
Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply
Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/ O), sensor module 414, and
Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 418 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown
Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
Conjunction realization, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile
Journey read-only memory (EPROM), programmable read-only memory (prom), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system
System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 408 includes a front camera and/or rear camera.When device 400 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set
Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/ O Interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor module 414 can detecte the state that opens/closes of device 400, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device
Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400
Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, 4G or their combination.It is exemplary at one
In embodiment, communication component 416 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 416 further includes Near Field Communication (NFC) module, to promote short distance logical
Letter.For example, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra wide band (UWB) can be based in NFC module
Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing equipment (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 418 of device 400 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art will readily occur to of the invention other after considering specification and practice invention here
Embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Adaptive change follow general principle of the invention and including the undocumented common knowledge in the art of the present invention or
Conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following power
Benefit requires to point out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.