CN106371737A - Application closing method and system - Google Patents

Application closing method and system Download PDF

Info

Publication number
CN106371737A
CN106371737A CN201610683595.4A CN201610683595A CN106371737A CN 106371737 A CN106371737 A CN 106371737A CN 201610683595 A CN201610683595 A CN 201610683595A CN 106371737 A CN106371737 A CN 106371737A
Authority
CN
China
Prior art keywords
terminal
application program
module
characteristic parameter
eigenvalue
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.)
Pending
Application number
CN201610683595.4A
Other languages
Chinese (zh)
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 CN201610683595.4A priority Critical patent/CN106371737A/en
Publication of CN106371737A publication Critical patent/CN106371737A/en
Pending legal-status Critical Current

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

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

Abstract

The invention discloses an application closing method and system. The method comprises the steps of S1, obtaining feature parameters of a terminal; S2, determining a feature value of the terminal according to the feature parameter of the terminal; S3, judging whether an application is closed or not according to the feature value of the terminal; and S4, if a judgment result is that the application is closed, closing the application. According to the application closing method and system provided by the invention, the application of the terminal can be automatically closed after a user falls asleep at night, so that the power consumption of the terminal is reduced and the user experience is improved.

Description

A kind of method for closing of application program and system
Technical field
The present invention relates to communication technical field, more particularly, to a kind of method for closing of application program and system.
Background technology
With the continuous development of mobile communication technology, increasing application program occurs in the terminal, mobile whole The demand to meet daily life for the application program on the commonly used mobile terminal of end subscriber, make mobile phone users life and Work becomes more convenience and comfort.
A lot of mobile phone users customs, before night falls asleep, open the music player application program of mobile terminal, Listen the light music releived, the rhythm of releiving with music is fallen asleep gradually.In order that music player application program can with Family is closed after falling asleep, and common method is setting timing turning-off mobile terminal or music player application is closed in timing Program.
But, this set method has certain defect, and if shut-in time setting is shorter, sometimes user does not also have Sleep, mobile terminal or music player application program is had to be closed.If shut-in time setting is longer, to movement For terminal, power consumption is larger.Shut-in time setting is relatively complicated, and Consumer's Experience sense is also poor.
Content of the invention
Present invention is primarily targeted at proposing a kind of it is intended to after solution night sleep, be automatically switched off the application of terminal Program, reduces the power consumption of terminal, improves the experience sense of user.
For achieving the above object, first aspect present invention provides a kind of method for closing of application program, and methods described includes Step:
S1: obtain the characteristic parameter of terminal;
S2: according to the characteristic parameter of described terminal, determine the eigenvalue of described terminal;
S3: determine whether to close application program according to the eigenvalue of described terminal;
S4: if it is determined that result is to close application program, then described application program is closed.
In conjunction with the embodiment of the present invention in a first aspect, the embodiment of the present invention first aspect the first implementation in, Described step s2 includes:
S2.0: obtain the supplemental characteristic information of terminal;
S2.1: the characteristic parameter according to described terminal and supplemental characteristic information, determine the eigenvalue of described terminal.
The possible implementation of the second of the first aspect of the embodiment of the present invention, in conjunction with the first aspect of the embodiment of the present invention The first implementation, by close application program be monitored obtaining the supplemental characteristic information of described terminal.
The third possible implementation of the first aspect of the embodiment of the present invention, in conjunction with the first aspect of the embodiment of the present invention The first implementation, obtain the supplemental characteristic information of described terminal by cloud server.
4th kind of possible implementation of the first aspect of the embodiment of the present invention, in conjunction with the first party of the embodiment of the present invention The first or the second of first aspect or the third implementation of first aspect of face or first aspect, described feature Parameter includes one of position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter and breath screen time characteristic parameters Or multiple combination.
Additionally, for achieving the above object, second aspect present invention also provides a kind of closing system of application program, described system System includes acquisition module, extraction module, determination module and closedown module;
Described acquisition module, for obtaining the characteristic parameter of terminal;
Described extraction module, for the characteristic parameter according to described acquisition module, determines the eigenvalue of described terminal;
Described determination module, for determining whether to close application program according to the eigenvalue of described extraction module;
Described closedown module, during for the result of determination according to described determination module for closing application program, answers described Closed with program.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention, Described system also includes supplemental characteristic data obtaining module;
Described supplemental characteristic data obtaining module, for obtaining the supplemental characteristic information of described terminal;
Described extraction module, for the characteristic parameter according to described acquisition module and described supplemental characteristic acquisition of information mould The supplemental characteristic information of block, determines the eigenvalue of described terminal.
The possible implementation of the second of the second aspect of the embodiment of the present invention, in conjunction with the second aspect of the embodiment of the present invention The first implementation, described system also includes monitoring module;
Described monitoring module, for being monitored to the application program closed, and generates monitoring information;
Described supplemental characteristic data obtaining module, for obtaining the monitoring information of described monitoring module.
The third possible implementation of the second aspect of the embodiment of the present invention, in conjunction with the second aspect of the embodiment of the present invention The first implementation, described system also includes cloud server;
Described cloud server, for storing the supplemental characteristic information of terminal;
Described supplemental characteristic data obtaining module, for obtaining the supplemental characteristic information of described cloud server.
4th kind of possible implementation of the second aspect of the embodiment of the present invention, in conjunction with the second party of the embodiment of the present invention The first or the second of second aspect or the third implementation of second aspect of face or second aspect, described feature Parameter includes one of position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter and breath screen time characteristic parameters Or multiple combination.
The method for closing of application program provided in an embodiment of the present invention and system, user, can be automatic after night sleep The application program closed a terminal, reduces the power consumption of terminal, improves the experience sense of user.
Brief description
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
A kind of method for closing schematic flow sheet of application program that Fig. 3 provides for first embodiment of the invention;
A kind of method for closing schematic flow sheet of application program that Fig. 4 provides for second embodiment of the invention;
A kind of closing system structure diagram of application program that Fig. 5 provides for third embodiment of the invention;
A kind of closing system structure diagram of application program that Fig. 6 provides for fourth embodiment of the invention;
A kind of closing system structure diagram of application program that Fig. 7 provides for fifth embodiment of the invention;
A kind of closing system structure diagram of application program that Fig. 8 provides for sixth embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself Not specific meaning.Therefore, " module " and " part " can mixedly use.
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, desk computer etc. consolidate 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 moving 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 is that the hardware configuration of the mobile terminal realizing each embodiment of the present invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, user input unit 130, sensing unit 140, output list Unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows with various assemblies Mobile terminal, it should be understood that being not required for implementing all assemblies illustrating.Can alternatively implement more 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 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 of 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 generating before the server of broadcast singal and/or broadcast related information or reception and/or broadcast related information And send it to the server of terminal.Broadcast singal can include tv broadcast singal, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combining with tv or radio signals.Broadcast phase Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can exist in a variety of manners, and for example, it can be with the electronics of DMB (dmb) 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 be broadcasted by using various types of broadcast system receipt signals.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 may be constructed such that and is adapted to provide for extensively Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memorizer 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 at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to Words signal, video calling signal or the various types of data 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.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include wlan (wireless lan) (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, RF identification (rfid), Infrared Data Association (irda), ultra broadband (uwb), purple honeybee tm etc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module Typical case be gps (global positioning system).According to current technology, gps module 115 calculates and is derived from three or more satellites Range information and correct time information and for the Information application triangulation calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information is defended using three Star and the error of the position that calculates by using other satellite correction and temporal information.Additionally, gps module 115 Can be by Continuous plus current location information in real time come calculating speed information.
User input unit 130 can generate key input data to control each of mobile terminal according to the order 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 touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detect mobile terminal 1 00 current state, (for example, mobile terminal 1 00 open or close shape State), the position of mobile terminal 1 00, user is for the presence or absence of the contact (that is, touch input) of mobile terminal 1 00, mobile terminal 100 orientation, the acceleration or deceleration movement of 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 sense This sliding-type phone opens or cuts out.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 is coupled with external device (ED).
Interface unit 170 is connected, with mobile terminal 1 00, the interface that can pass through as at least one external device (ED).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 of device for connection with identification module, audio input/output (i/o) end Mouth, video i/o port, ear port etc..Identification module can be storage for verifying that user uses each of mobile terminal 1 00 Kind of 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 with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for reception and is derived from The input (for example, data message, electric power etc.) of the external device (ED) and input receiving is transferred in mobile terminal 1 00 One or more elements or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from the various command signals of base input or electric power The no signal being accurately fitted within base.
Output unit 150 is configured to provide output signal (for example, audio frequency letter with vision, audio frequency and/or tactile manner Number, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151, audio output mould Block 152 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show (for example, text messaging, the multimedia file that communicate with call or other 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, illustrate video or figure Ui or gui of picture and correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch screen with formation superposed on one another as a layer, display unit 151 can serve as input equipment 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 A kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, 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 The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display device), for example, moves Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches 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, When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memorizer 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide and move The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation of terminal 100 execution. Dio Output Modules 152 can include speaker, buzzer etc..
Memorizer 160 can store software program of the process being executed by controller 180 and control operation etc., or can Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memorizer 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen Data.
Memorizer 160 can include the storage medium of at least one type, and described storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, sd or dx memorizer etc.), random access storage device (ram), static random-access storage Device (sram), read only memory (rom), Electrically Erasable Read Only Memory (eeprom), programmable read only memory (prom), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memorizer with by network connection The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that and controls Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executing 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 unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.Hardware is implemented, 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 Program gate array (fpga), processor, controller, microcontroller, microprocessor, be designed to execute function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment. Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe 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 is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 1 00 may be constructed such that using via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system are operating.
The communication system being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 2 description.
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 station (bs) 270, base station Controller (bsc) 275 and mobile switching centre (msc) 280.Msc280 is configured to and Public Switched Telephony Network (pstn) 290 formation interfaces.Msc280 is also structured to and can form interface via the bsc275 that back haul link is couple to base station 270. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as e1/t1, atm, ip, Ppp, frame relay, hdsl, adsl or xdsl.It will be appreciated that system as shown in Figure 2 can include multiple bsc2750.
Each bs270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction Each subregion that line covers is radially away from bs270.Or, each subregion can by for diversity reception two or more Antenna covers.Each bs270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25mhz, 5mhz etc.).
Intersecting that subregion and frequency are distributed 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, each subregion of specific bs270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal of operation in system by broadcsting transmitter (bt) 295 100.Broadcasting reception module 111 is arranged at mobile terminal 1 00 to receive the broadcast being sent by bt295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning system (gps) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains useful Location information.Gps module 115 is generally configured to coordinate with satellite 300 to obtain the positioning letter wanted as shown in Figure 1 Breath.Substitute gps tracking technique or outside gps tracking technique, it is possible to use other of the position of mobile terminal can be followed the tracks of Technology.In addition, at least one gps satellite 300 can optionally or additionally process 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.Each of certain base station 270 reception is anti- Processed in specific bs270 to link signal.The data obtaining is forwarded to the bsc275 of correlation.Bsc provides call Resource allocation and the mobile management function of including the coordination of soft switching process between bs270.Bsc275 is also by the number receiving According to being routed to msc280, it provides the extra route service for forming interface with pstn290.Similarly, pstn290 with Msc280 forms interface, and msc and bsc275 form interface, and bsc275 correspondingly controls 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, first embodiment of the invention provides a kind of method for closing of application program, the method comprising the steps of:
S1: obtain the characteristic parameter of terminal;
S2: according to the characteristic parameter of described terminal, determine the eigenvalue of described terminal;
In the present embodiment, characteristic parameter include position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter, And breath shields the combination of one or more of time characteristic parameters.It should be noted that characteristic parameter is not that to be only defined in this several Kind.
Specifically, eigenvalue can be determined according to the characteristic parameter of terminal, as an example:
1), the eigenvalue f of position feature parameterλ
Can be positioned by gps or the function such as wlan focus, get the position feature parameter lambda of terminal use current location. The eigenvalue f of position feature parameterλRealize nearest neighbor classifier by calculating the current location of user:
Wherein λ represents current location, lcRepresent the center of location sets c, for example: family's occasion, workplace etc. Deng.
2), the eigenvalue f of ambient light characteristic parametercd
Light intensity sensor can be passed through, get ambient light characteristic parameter cdi.User night prepare fall asleep when, generally The light in bedroom can be turned off or only open bedside lamp, light intensity now can less than under daylight lamp or daytime light intensity. When by light intensity sensor, the ambient light characteristic parameter cd gettingiLess than preset value cd0Afterwards, count lasting duration δ t, The eigenvalue of ambient light characteristic parameter is fcd=δ t/cdi.δ t and cdiRatio is bigger, shows that terminal is under half-light environment Time is longer, degree is deeper.
3), eigenvalue d (x) of acceleration characteristic parameter
Gravity sensor can be passed through, get acceleration characteristic parameter xi.Eigenvalue d (x) of acceleration characteristic parameter can Determined by formula:
The stationary value of wherein μ=e (x), as acceleration.Acceleration characteristic parameter xiBigger with the difference of stationary value μ, plus Eigenvalue d (x) of turn of speed characteristic parameter is bigger;Otherwise less, now the position of terminal is relatively stable, the operation to terminal for the user Less.
4), the eigenvalue t of breath screen time characteristic parametersoff
Usually, user is more fixing in the time for falling asleep at night.The breath screen time characteristic parameters t of terminal can be obtaineds, that is, Can determine that the eigenvalue t of breath screen time characteristic parametersoff.
S3: determine whether to close application program according to the eigenvalue of described terminal;
S4: if it is determined that result is to close application program, then described application program is closed.
After determining eigenvalue, whether can close application program by synthetic determination.Specifically, as an example, below with position The eigenvalue f of characteristic parameterλ, the eigenvalue f of ambient light characteristic parametercd, eigenvalue d (x) of acceleration characteristic parameter to be carrying out Illustrate therein a kind of judge and bolt down procedure pattern:
Process 1: by the eigenvalue f of position feature parameterλ, judge whether be family field under the current location of terminal Close;
Process 2: by the eigenvalue f of ambient light characteristic parametercd, judge whether terminal is under half-light environment;
Process 3: by eigenvalue d (x) of acceleration characteristic parameter, judge whether the position of terminal is relatively stable, that is, use Family is less to the operation of terminal;
Process 4: if under the current location of terminal being family's occasion and terminal is under half-light environment and user is to terminal Operation less, then result of determination be close application program, and execute close application program action.
Refer to Fig. 4, in order to improve the accuracy judging to close application program, second embodiment of the invention provides a kind of answering With the method for closing of program, the method comprising the steps of:
S1: obtain the characteristic parameter of terminal;
S2.0: obtain the supplemental characteristic information of terminal;
S2.1: the characteristic parameter according to described terminal and supplemental characteristic information, determine the eigenvalue of described terminal.
S3: determine whether to close application program according to the eigenvalue of described terminal;
S4: if it is determined that result is to close application program, then described application program is closed.
In the present embodiment, supplemental characteristic information includes but is not limited to: the supplemental characteristic information of position feature parameter, environment The supplemental characteristic information of light characteristic parameter, the supplemental characteristic information of acceleration characteristic parameter, the auxiliary of breath screen time characteristic parameters Characteristic information etc..
The acquiring way of supplemental characteristic information mays include: by being monitored obtaining described terminal to the application program closed Supplemental characteristic information;Obtain the supplemental characteristic information of described terminal by cloud server, obtain from cloud server pre- The supplemental characteristic information of the terminal first storing.
The present embodiment passes through supplemental characteristic information and characteristic parameter and jointly determines eigenvalue, so can improve that judgement closes should Accuracy with program.
The method for closing of the application program that the present embodiment provides is so that user, after night sleep, can be automatically switched off end The application program at end, reduces the power consumption of terminal, improves the experience sense of user.
The present invention further provides a kind of system.
With reference to Fig. 5, third embodiment of the invention provides a kind of closing system of application program, and closing system 400 includes: obtains Delivery block 401, extraction module 402, determination module 403 and closedown module 404;
Acquisition module 401, for obtaining the characteristic parameter of terminal;
Extraction module 402, for the characteristic parameter according to acquisition module 401, determines the eigenvalue of described terminal;
In the present embodiment, characteristic parameter include position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter, And breath shields the combination of one or more of time characteristic parameters.It should be noted that characteristic parameter is not that to be only defined in this several Kind.
Specifically, eigenvalue can be determined according to the characteristic parameter of terminal, as an example:
1), the eigenvalue f of position feature parameterλ
Can be positioned by gps or the function such as wlan focus, get the position feature parameter lambda of terminal use current location. The eigenvalue f of position feature parameterλRealize nearest neighbor classifier by calculating the current location of user:
Wherein λ represents current location, lcRepresent the center of location sets c, for example: family's occasion, workplace etc. Deng.
2), the eigenvalue f of ambient light characteristic parametercd
Light intensity sensor can be passed through, get ambient light characteristic parameter cdi.User night prepare fall asleep when, generally The light in bedroom can be turned off or only open bedside lamp, light intensity now can less than under daylight lamp or daytime light intensity. When by light intensity sensor, the ambient light characteristic parameter cd gettingiLess than preset value cd0Afterwards, count lasting duration δ t, The eigenvalue of ambient light characteristic parameter is fcd=δ t/cdi.δ t and cdiRatio is bigger, shows that terminal is under half-light environment Time is longer, degree is deeper.
3), eigenvalue d (x) of acceleration characteristic parameter
Gravity sensor can be passed through, get acceleration characteristic parameter xi.Eigenvalue d (x) of acceleration characteristic parameter can Determined by formula:
The stationary value of wherein μ=e (x), as acceleration.Acceleration characteristic parameter xiBigger with the difference of stationary value μ, plus Eigenvalue d (x) of turn of speed characteristic parameter is bigger;Otherwise less, now the position of terminal is relatively stable, the operation to terminal for the user Less.
4), the eigenvalue t of breath screen time characteristic parametersoff
Usually, user is more fixing in the time for falling asleep at night.The breath screen time characteristic parameters t of terminal can be obtaineds, that is, Can determine that the eigenvalue t of breath screen time characteristic parametersoff.
Determination module 403, for determining whether to close application program according to the eigenvalue of extraction module 402;
Closedown module 404, during for the result of determination according to determination module 403 for closing application program, by described application Program is closed.
After determining eigenvalue, whether can close application program by synthetic determination.Specifically, as an example, below with position The eigenvalue f of characteristic parameterλ, the eigenvalue f of ambient light characteristic parametercd, eigenvalue d (x) of acceleration characteristic parameter to be carrying out Illustrate therein a kind of judge and bolt down procedure pattern:
Process 1: by the eigenvalue f of position feature parameterλ, judge whether be family field under the current location of terminal Close;
Process 2: by the eigenvalue f of ambient light characteristic parametercd, judge whether terminal is under half-light environment;
Process 3: by eigenvalue d (x) of acceleration characteristic parameter, judge whether the position of terminal is relatively stable, that is, use Family is less to the operation of terminal;
Process 4: if under the current location of terminal being family's occasion and terminal is under half-light environment and user is to terminal Operation less, then result of determination be close application program, and execute close application program action.
Refer to Fig. 6, in order to improve the accuracy judging to close application program, fourth embodiment of the invention provides a kind of answering With the closing system of program, closing system 400 includes: acquisition module 401, extraction module 402, determination module 403, closedown module 404 and supplemental characteristic data obtaining module 405;
Acquisition module 401, for obtaining the characteristic parameter of terminal;
Supplemental characteristic data obtaining module 405, for obtaining the supplemental characteristic information of terminal;
Extraction module 402, for the characteristic parameter according to acquisition module 401 and supplemental characteristic data obtaining module 405 Supplemental characteristic information, determine the eigenvalue of described terminal;
Determination module 403, for determining whether to close application program according to the eigenvalue of extraction module 402;
Closedown module 404, during for the result of determination according to determination module 403 for closing application program, by described application Program is closed.
In the present embodiment, supplemental characteristic information includes but is not limited to: the supplemental characteristic information of position feature parameter, environment The supplemental characteristic information of light characteristic parameter, the supplemental characteristic information of acceleration characteristic parameter, the auxiliary of breath screen time characteristic parameters Characteristic information etc..
Refer to Fig. 7, a kind of closing system of application program that fifth embodiment of the invention provides, closing system 400 is wrapped Include: acquisition module 401, extraction module 402, determination module 403, closedown module 404, supplemental characteristic data obtaining module 405 and Monitoring module 406;
Acquisition module 401, for obtaining the characteristic parameter of terminal;
Monitoring module 406, for being monitored to the application program closed, and generates monitoring information;
Supplemental characteristic data obtaining module 405, for obtaining the monitoring information of described monitoring module;
Extraction module 402, for the characteristic parameter according to acquisition module 401 and supplemental characteristic data obtaining module 405 Monitoring information, determine the eigenvalue of described terminal;
Determination module 403, for determining whether to close application program according to the eigenvalue of extraction module 402;
Closedown module 404, during for the result of determination according to determination module 403 for closing application program, by described application Program is closed.
It should be noted that the monitoring information in the present embodiment, it is also one kind of supplemental characteristic information.
Refer to Fig. 8, a kind of closing system of application program that sixth embodiment of the invention provides, closing system 400 is wrapped Include: acquisition module 401, extraction module 402, determination module 403, closedown module 404, supplemental characteristic data obtaining module 405 and Cloud server 407;
Acquisition module 401, for obtaining the characteristic parameter of terminal;
Cloud server 407, for storing the supplemental characteristic information of terminal;
Supplemental characteristic data obtaining module 405, for obtaining the supplemental characteristic information of cloud server 407;
Extraction module 402, for the characteristic parameter according to acquisition module 401 and supplemental characteristic data obtaining module 405 Supplemental characteristic information, determine the eigenvalue of described terminal;
Determination module 403, for determining whether to close application program according to the eigenvalue of extraction module 402;
Closedown module 404, during for the result of determination according to determination module 403 for closing application program, by described application Program is closed.
The closing system of the application program that the present embodiment provides is so that user, after night sleep, can be automatically switched off end The application program at end, reduces the power consumption of terminal, improves the experience sense of user.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant are intended to non-row The comprising of his property, so that including a series of process of key elements, method, article or device not only include those key elements, and And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or device institute Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Go out partly can embodying in the form of software product of contribution, this computer software product is stored in a storage medium In (as rom/ram, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) method described in execution each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description 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 method for closing of application program is it is characterised in that methods described includes step:
S1: obtain the characteristic parameter of terminal;
S2: according to the characteristic parameter of described terminal, determine the eigenvalue of described terminal;
S3: determine whether to close application program according to the eigenvalue of described terminal;
S4: if it is determined that result is to close application program, then described application program is closed.
2. a kind of method for closing of application program according to claim 1 is it is characterised in that described step s2 includes:
S2.0: obtain the supplemental characteristic information of terminal;
S2.1: the characteristic parameter according to described terminal and supplemental characteristic information, determine the eigenvalue of described terminal.
3. a kind of method for closing of application program according to claim 2 is it is characterised in that pass through to the application journey closed Sequence is monitored obtaining the supplemental characteristic information of described terminal.
4. a kind of method for closing of application program according to claim 2 is it is characterised in that obtained by cloud server The supplemental characteristic information of described terminal.
5. the method for closing according to a kind of arbitrary described application program of claim 1-4 is it is characterised in that described characteristic parameter Including one of position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter and breath screen time characteristic parameters or many Plant combination.
6. a kind of closing system of application program is it is characterised in that described system includes acquisition module, extraction module, judges mould Block and closedown module;
Described acquisition module, for obtaining the characteristic parameter of terminal;
Described extraction module, for the characteristic parameter according to described acquisition module, determines the eigenvalue of described terminal;
Described determination module, for determining whether to close application program according to the eigenvalue of described extraction module;
Described closedown module, during for the result of determination according to described determination module for closing application program, by described application journey Sequence is closed.
7. a kind of closing system of application program according to claim 6 is it is characterised in that described system also includes assisting Characteristic information acquisition module;
Described supplemental characteristic data obtaining module, for obtaining the supplemental characteristic information of described terminal;
Described extraction module, for the characteristic parameter according to described acquisition module and described supplemental characteristic data obtaining module Supplemental characteristic information, determines the eigenvalue of described terminal.
8. a kind of closing system of application program according to claim 7 is it is characterised in that described system also includes monitoring Module;
Described monitoring module, for being monitored to the application program closed, and generates monitoring information;
Described supplemental characteristic data obtaining module, for obtaining the monitoring information of described monitoring module.
9. a kind of closing system of application program according to claim 7 is it is characterised in that described system also includes high in the clouds Server;
Described cloud server, for storing the supplemental characteristic information of terminal;
Described supplemental characteristic data obtaining module, for obtaining the supplemental characteristic information of described cloud server.
10. the closing system according to a kind of arbitrary described application program of claim 6-9 is it is characterised in that described feature is joined Number includes position feature parameter, ambient light characteristic parameter, acceleration characteristic parameter and breath shield one of time characteristic parameters or Multiple combination.
CN201610683595.4A 2016-08-17 2016-08-17 Application closing method and system Pending CN106371737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610683595.4A CN106371737A (en) 2016-08-17 2016-08-17 Application closing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610683595.4A CN106371737A (en) 2016-08-17 2016-08-17 Application closing method and system

Publications (1)

Publication Number Publication Date
CN106371737A true CN106371737A (en) 2017-02-01

Family

ID=57878927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610683595.4A Pending CN106371737A (en) 2016-08-17 2016-08-17 Application closing method and system

Country Status (1)

Country Link
CN (1) CN106371737A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273157A (en) * 2017-06-05 2017-10-20 广东欧珀移动通信有限公司 Application control method and related product
CN108509135A (en) * 2018-04-09 2018-09-07 Oppo广东移动通信有限公司 Using the method, apparatus, terminal and computer readable storage medium of closing
US11419055B2 (en) 2018-08-22 2022-08-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Occupation control method for camera application based on operating state of device and camera data requests

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199670A (en) * 2014-09-16 2014-12-10 太仓红码软件技术有限公司 Mobile terminal and closing method and device of applications
CN104375839A (en) * 2014-11-28 2015-02-25 东莞宇龙通信科技有限公司 Data processing method and device in sleep mode and mobile terminal
CN104660820A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Implementation method of management mode of mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199670A (en) * 2014-09-16 2014-12-10 太仓红码软件技术有限公司 Mobile terminal and closing method and device of applications
CN104375839A (en) * 2014-11-28 2015-02-25 东莞宇龙通信科技有限公司 Data processing method and device in sleep mode and mobile terminal
CN104660820A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Implementation method of management mode of mobile terminal and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273157A (en) * 2017-06-05 2017-10-20 广东欧珀移动通信有限公司 Application control method and related product
CN108509135A (en) * 2018-04-09 2018-09-07 Oppo广东移动通信有限公司 Using the method, apparatus, terminal and computer readable storage medium of closing
US11419055B2 (en) 2018-08-22 2022-08-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Occupation control method for camera application based on operating state of device and camera data requests

Similar Documents

Publication Publication Date Title
CN106990828A (en) A kind of apparatus and method for controlling screen display
CN104916270B (en) A kind of method and apparatus adjusting screen intensity
CN104679890B (en) Picture method for pushing and device
CN105100411A (en) Display control method and device
CN106303089A (en) A kind of mobile terminal and the method controlling pocket lamp
CN106126065A (en) A kind of mobile terminal and double screen method for information display thereof
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106101455A (en) Page jump management method, device and terminal
CN105975052A (en) Screen switching method and device
CN106993084A (en) The method, device and mobile terminal that a kind of control information is shown
CN106020706A (en) Touch operation processing method and mobile terminal
CN106371737A (en) Application closing method and system
CN106488035A (en) A kind of mobile terminal and control method
CN106658470A (en) Master card setting device and method
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN106341554A (en) Fast search method and device of data content and mobile terminal
CN106469221A (en) Picture searching method, device and terminal
CN106161790A (en) A kind of mobile terminal and control method thereof
CN106227454B (en) A kind of touch trajectory detection system and method
CN106792921A (en) The regulating power consumption device and method of mobile terminal
CN106375842A (en) Image sharing device and method
CN106131942A (en) Communication means and terminal
CN106303080B (en) A kind of method and apparatus prompting new information on a display screen
CN105120052B (en) A kind of mobile terminal and information processing method
CN106547424A (en) A kind of icon sort method and a kind of terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201