CN102929500B - The closing process method of mobile terminal and application program - Google Patents
The closing process method of mobile terminal and application program Download PDFInfo
- Publication number
- CN102929500B CN102929500B CN201210365321.2A CN201210365321A CN102929500B CN 102929500 B CN102929500 B CN 102929500B CN 201210365321 A CN201210365321 A CN 201210365321A CN 102929500 B CN102929500 B CN 102929500B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- application program
- current
- monitoring
- response
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of closing process method of mobile terminal and application program, wherein this mobile terminal comprises: monitoring modular, for monitoring the attitudes vibration of mobile terminal in three-dimensional environment; First processing module, for the attitudes vibration in response to described mobile terminal, closes the current application program that running status is nothing response.The present invention closes the current application program without response automatically by the rocking action of monitoring mobile terminal.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of closing process method of mobile terminal and application program.
Background technology
Current smart mobile phone, compared to conventional mobile phone, functionally, in operation, extensibility all has powerful Consumer's Experience.Smart mobile phone, by built-in independently operating system, allows mobile phone not only possess traditional radio communication function, the also almost complete all functions of desktop computer.But because the characteristic of operating system itself, and software version is unstable and the resource bottleneck such as internal memory, CPU factor, allows smart mobile phone in use inevitably there will be application program without problems such as responses, brings no small puzzlement to user.
When there is above-mentioned application program without response condition, needing to open task manager, finding the current application program without response, and performing closing process.Above-mentioned closedown is all manual operation without the application program of response, and especially concerning the unfamiliar user of cell-phone function, shutoff operation just seems comparatively difficulty.
Therefore, be merely able to manual operation in closedown without prior art during response application program, operation steps is comparatively complicated, is necessary that the technological means proposing to improve solves the problem.
Summary of the invention
Fundamental purpose of the present invention is a kind of closing process method providing mobile terminal and application program, with solve prior art exist be merely able to the problem of manual-lock without response application program, wherein:
Mobile terminal according to the embodiment of the present invention comprises: monitoring modular, for monitoring the attitudes vibration of mobile terminal in three-dimensional environment; First processing module, for the attitudes vibration in response to described mobile terminal, closes the current application program that running status is nothing response.
Wherein, this mobile terminal also comprises: current process acquisition module, for after described monitoring module monitors to the attitudes vibration of described mobile terminal, obtains the application program of current operation; Judge module, for judging whether current application program is non-responsive state, and to send a notice described first processing module in the situation that judged result is yes.
Wherein, described monitoring modular notifies described current process acquisition module when the acceleration of described mobile terminal is greater than predetermined threshold value.
Wherein, this mobile terminal also comprises: the second processing module, for when the judged result of described judge module is no, then closes the background application of described mobile terminal.
Wherein, this mobile terminal also comprises: background process acquisition module, for when the judged result of described judge module is no, obtains background application list, and is sent to described second processing module.
Closing process method according to the application program of the embodiment of the present invention comprises: the attitudes vibration of monitoring mobile terminal in three-dimensional environment; In response to the attitudes vibration of described mobile terminal, close the current application program that running status is nothing response.
Wherein, after the attitudes vibration monitoring described mobile terminal, described method also comprises: the application program obtaining current operation; Judge whether current application program is non-responsive state, and perform the step of closing described current application program when judged result is and is.
Wherein, after the step of the attitudes vibration of described monitoring mobile terminal in three-dimensional environment, described method also comprises: perform the step of closing described current application program when the acceleration of described mobile terminal is greater than predetermined threshold value.
Wherein, the method also comprises: when the judged result of described judge module is no, then close the background application of described mobile terminal.
Wherein, before the background application of closing described mobile terminal, described method also comprises: the list obtaining background application.
According to technical scheme of the present invention, by monitoring the rocking action of mobile terminal, automatically closing the current application program without response, effectively improving Consumer's Experience.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structured flowchart of mobile terminal according to an embodiment of the invention;
Fig. 2 is the structured flowchart of mobile terminal according to another embodiment of the present invention;
Fig. 3 is the schematic diagram of the detection procedure state according to the embodiment of the present invention;
Fig. 4 is the structured flowchart of mobile terminal according to yet another embodiment of the invention;
Fig. 5 is method flow diagram according to an embodiment of the invention;
Fig. 6 is method flow diagram according to another embodiment of the present invention.
Embodiment
Main thought of the present invention is, when monitoring the shake operation of mobile terminal, judges that whether current application program is without response, if it is closes this application program; Otherwise closedown background application, cleaning mobile phone EMS memory.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
According to embodiments of the invention, provide a kind of mobile terminal, include but not limited to the terminal devices such as mobile phone, smart mobile phone, panel computer (PAD), PDA(Personal Digital Assistant) according to the terminal device of the embodiment of the present invention.
Fig. 1 is the structured flowchart of the mobile terminal according to the embodiment of the present invention, and as shown in Figure 1, this mobile terminal at least comprises: monitoring modular 10 and the first processing module 20, be described below in detail the structure of each module.
Monitoring modular 10 is for monitoring the attitudes vibration of mobile terminal in three-dimensional environment.In 3 d space coordinate system, the plane at mobile terminal screen place is xy plane, and its horizontal direction is x-axis, and vertical direction is y-axis, and the direction vertical with mobile terminal screen is z-axis.Like this, mobile terminal, in three dimensions towards the motion of either direction, can project, decompose on these three axles.By arranging the change that Sensor monitoring mobile terminal in the terminal occurs in position, direction, angle.Setting sensor in the terminal, namely in this coordinate system, responds to the change of the movement velocity of mobile terminal on these three axles.Above-mentioned sensor can be acceleration transducer, gravity sensor, direction sensor etc., and the present invention does not limit.
According to the interface that operating system provides, utilize the motion of sensor detection of handset, need to carry out following operation: the example first obtaining respective sensor; Then the response function of oneself is realized; Again response function is registered to the sensor instance got.Like this, can realize utilizing acceleration transducer to carry out the motion of monitoring mobile phone.Namely user is when rocking mobile phone, and acceleration transducer will adjust back the response function of our oneself registration, and this response function is just used to the object run realizing us.In one embodiment of the invention, need to pre-set a sizeable threshold value, when after Sensor monitoring to terminal generation attitudes vibration, judge whether the acceleration that terminal is moved meets certain threshold value, namely, on x-axis, y-axis, z-axis three components, whether the value of acceleration is greater than the threshold value of setting, can control the amplitude that user rocks terminal like this, if be greater than, think that user is rocking terminal, notification handler module 20.Perform the operation of closing without response application program; If be not more than, then do not perform.Choose suitable threshold value, the maloperation of user can be avoided as far as possible.
First processing module 20 couples mutually with monitoring modular 10, for the attitudes vibration in response to mobile terminal, closes the current application program that running status is nothing response.
Without response, application program refers to that application program can not respond user's input in time or can not process internal logic in time.The reason causing application program to occur without response has a lot, as the logic error, operating system generation exception etc. of program self.
After determining that current process is without response, the interface that just can be provided by operating system, closes current process.And if current process can send response message in time in official hour, then show current process energy normal response, then without the need to closing current process, then go to close background process, cleaning internal memory.Close the background process that user opens, first will obtain the list of background process, then close the process in this list one by one, if background process is empty, then will not close, these operations can by calling existing system interface to realize.
In one embodiment of the invention, with reference to figure 2, mobile terminal comprises: monitoring modular 10 and the first processing module 20, current process acquisition module 30 and judge module 40.Wherein, the structure of monitoring modular 10 and the first processing module 20 please refer to described in Fig. 1, repeats no more herein.
Current process acquisition module 30 couples mutually with monitoring modular 10, for monitor mobile terminal at monitoring modular 10 attitudes vibration after, obtain the application program of current operation.The application program that system is current, is namely currently in screen foremost and the process mutual with user, and the interface provided by operating system can easily get current application program.
Judge module 40 couples mutually with current process acquisition module 30, for judging whether current application program is non-responsive state, and to send a notice the first processing module 20 in the situation that judged result is yes.
When detecting application program without response, the mechanism that inter-process messages can be utilized to communicate realizes.Send a specific message with reference to figure 3, detection procedure A to current process B, and start timing, after current process B receives this specific message, under normal condition, a response message can be sent to detection procedure A immediately.Like this, if detection procedure A (as 2 seconds) in official hour does not receive the response message that current process B sends, then can think that current process B is in the state without response; Otherwise, then show that current process B is in normal condition.Like this, when rocking mobile phone, detection procedure A can send message to current process B, whether within the limited time, have received response message, just can judge that whether current process is with or without response according to detection procedure.
With reference to figure 4, mobile terminal of the present invention also comprises: the second processing module 50 coupled mutually with judge module 40.When judge module 40 judges that current application program is normal condition, the background application of the second processing module 50 turning-off mobile terminal.When current process can send response message in time in official hour, then show current process energy normal response, then without the need to closing current process, then go to close background process, cleaning tag memory.
Continue with reference to figure 4, between judge module 40 and the second processing module 50, the mobile terminal of the present embodiment is also coupled with background process acquisition module 60.Before the background process that closedown user opens, first will obtain the list of background process, then close the process in this list one by one, if background process is empty, then will not close, these operations can by calling existing system interface to realize.
When without response closing application program after or backstage closing application program after, this system can eject a prompt window, notifies the current buttoned-up application program of user.
According to the abovementioned embodiments of the present invention, by monitoring the rocking action of mobile terminal, automatically closing current without the application program of response or the application program of running background, effectively improving Consumer's Experience.
According to embodiments of the invention, additionally provide a kind of closing process method of application program.
Fig. 5 is the process flow diagram of the closing process method of application program according to the embodiment of the present invention, and as shown in Figure 5, the method comprises:
Step S502, the attitudes vibration of monitoring mobile terminal in three-dimensional environment;
Step S504, in response to the attitudes vibration of mobile terminal, closes the current application program that running status is nothing response.
Above-mentioned process details of the present invention is further described below with reference to Fig. 6.As shown in Figure 6, the method specifically comprises:
Step S602, the attitudes vibration of monitoring mobile terminal in three-dimensional environment.The step of closing current application program is performed when the acceleration of mobile terminal is greater than predetermined threshold value.
Step S604, obtains the application program of current operation.
Step S606, judges whether current application program is non-responsive state, if the determination result is YES then performs step S608, otherwise performs step S610.
Step S608, closes current application program.
Step S610, obtains the list of background application, closes background application.
This flow process terminates.
The operation steps of method of the present invention is corresponding with the architectural feature of device, can be cross-referenced, repeats no longer one by one.
In sum, by monitoring the rocking action of mobile terminal, automatically closing current without the application program of response or the application program of running background, effectively improving Consumer's Experience.
The foregoing is only embodiments of the invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within right of the present invention.
Claims (6)
1. a mobile terminal, is characterized in that, comprising:
Monitoring modular, for monitoring the attitudes vibration of mobile terminal in three-dimensional environment;
Current process acquisition module, for after described monitoring module monitors to the attitudes vibration of described mobile terminal, obtains the application program of current operation;
Judge module, for judging whether current application program is non-responsive state, and to send a notice the first processing module in the situation that judged result is yes;
First processing module, for closing the current application program that running status is nothing response;
Second processing module, for when the judged result of described judge module is no, then closes the background application of described mobile terminal.
2. mobile terminal according to claim 1, is characterized in that, described monitoring modular notifies described current process acquisition module when the acceleration of described mobile terminal is greater than predetermined threshold value.
3. mobile terminal according to claim 1, is characterized in that, also comprises:
Background process acquisition module, for when the judged result of described judge module is no, obtains background application list, and is sent to described second processing module.
4. a closing process method for application program, is characterized in that, comprising:
The attitudes vibration of monitoring mobile terminal in three-dimensional environment;
Obtain the application program of current operation;
Judge whether current application program is non-responsive state, and close the current application program that running status is nothing response when judged result is and is;
When the judged result of described judge module is no, then close the background application of described mobile terminal.
5. method according to claim 4, is characterized in that, after the step of the attitudes vibration of described monitoring mobile terminal in three-dimensional environment, described method also comprises:
The step of closing described current application program is performed when the acceleration of described mobile terminal is greater than predetermined threshold value.
6. method according to claim 4, is characterized in that, before the background application of closing described mobile terminal, described method also comprises:
Obtain the list of background application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210365321.2A CN102929500B (en) | 2012-09-27 | 2012-09-27 | The closing process method of mobile terminal and application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210365321.2A CN102929500B (en) | 2012-09-27 | 2012-09-27 | The closing process method of mobile terminal and application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102929500A CN102929500A (en) | 2013-02-13 |
CN102929500B true CN102929500B (en) | 2016-02-10 |
Family
ID=47644320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210365321.2A Active CN102929500B (en) | 2012-09-27 | 2012-09-27 | The closing process method of mobile terminal and application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102929500B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423782B (en) * | 2013-09-02 | 2017-12-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104158979B (en) * | 2014-08-29 | 2020-01-07 | 上海斐讯数据通信技术有限公司 | System and method for starting music player playing in shaking manner |
CN106201239A (en) * | 2015-05-08 | 2016-12-07 | 中兴通讯股份有限公司 | The control method of a kind of application program, device and mobile terminal |
WO2017020259A1 (en) * | 2015-08-04 | 2017-02-09 | 秦玲娟 | Information reminder method for use when starting up specific application by shaking, and mobile terminal |
CN105117036A (en) * | 2015-08-25 | 2015-12-02 | 深圳信壹网络有限公司 | Resource cleanup method and device of mobile terminal system |
CN105224407A (en) * | 2015-09-11 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind ofly automatically recall and remove the method for background application, system and mobile terminal |
CN106020878A (en) * | 2016-05-16 | 2016-10-12 | 乐视控股(北京)有限公司 | Method for closing application run in background and mobile terminal |
CN106020467A (en) * | 2016-05-16 | 2016-10-12 | 珠海市魅族科技有限公司 | Application closure method and apparatus |
CN106484507B (en) * | 2016-09-18 | 2019-11-29 | 天脉聚源(北京)传媒科技有限公司 | A kind of processing method and processing device using thread |
CN107861770B (en) * | 2017-10-31 | 2019-08-06 | Oppo广东移动通信有限公司 | Application program management-control method, device, storage medium and terminal device |
CN107767712B (en) * | 2017-11-07 | 2019-12-31 | Oppo广东移动通信有限公司 | Method and device for adjusting matching degree, storage medium and electronic equipment |
CN115033306B (en) * | 2022-06-29 | 2024-05-24 | 维沃移动通信有限公司 | Application exit method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638612A (en) * | 2012-02-23 | 2012-08-15 | 华为终端有限公司 | Method and device for ending conversation |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010076436A2 (en) * | 2008-12-31 | 2010-07-08 | Cy Play | Communication between a server and a terminal |
CN102118488B (en) * | 2009-12-30 | 2014-03-19 | 中兴通讯股份有限公司南京分公司 | Method and mobile terminal thereof applying gravity induction function |
CN102135913A (en) * | 2011-03-18 | 2011-07-27 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for responding application |
-
2012
- 2012-09-27 CN CN201210365321.2A patent/CN102929500B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638612A (en) * | 2012-02-23 | 2012-08-15 | 华为终端有限公司 | Method and device for ending conversation |
Also Published As
Publication number | Publication date |
---|---|
CN102929500A (en) | 2013-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102929500B (en) | The closing process method of mobile terminal and application program | |
CN105471704B (en) | A kind of method, apparatus and system for realizing more people's calls | |
CN108509299B (en) | Message processing method, device and computer readable storage medium | |
WO2018045878A1 (en) | Touch screen parameter adjustment method and relevant product | |
CN106484555B (en) | The method and mobile terminal of abnormality detection and recovery | |
CN106327166A (en) | Information processing method and mobile terminal | |
CN104065693A (en) | Method, device and system for accessing network data in webpage applications | |
CN104834529A (en) | Method and device for optimizing performance of application | |
CN109587322A (en) | Message treatment method, message inspection method and terminal | |
CN104899080A (en) | Method and apparatus for switching real-time image in instant messaging | |
US20180088681A1 (en) | Operation recognition method and apparatus | |
WO2018006841A1 (en) | Qr code information transmission method, device and apparatus | |
WO2018040813A1 (en) | Audio/video communication method, terminal, server, and storage medium | |
CN106339070A (en) | Display control method and mobile terminal | |
CN106445721B (en) | The method and mobile terminal of house dog fault-tolerant processing | |
CN110989822A (en) | Sensor control method, sensor control device, storage medium and electronic equipment | |
CN109561014A (en) | A kind of web instant communication method and system | |
CN106791084A (en) | The synchronous method and mobile terminal of personalizing parameters | |
CN107104763A (en) | A kind of method and apparatus that Retransmission timeout duration is set | |
CN106789307B (en) | Configuration data processing method, apparatus and system | |
US10476889B2 (en) | Information interaction method, apparatus and system | |
CN105721282B (en) | Message display method and device | |
CN106339862A (en) | Information processing method and mobile terminal | |
CN106484141B (en) | The setting method and mobile terminal of threshold value | |
CN117407133A (en) | Task processing method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |