CN103543920A - Method for processing information and electronic device - Google Patents

Method for processing information and electronic device Download PDF

Info

Publication number
CN103543920A
CN103543920A CN201210238610.6A CN201210238610A CN103543920A CN 103543920 A CN103543920 A CN 103543920A CN 201210238610 A CN201210238610 A CN 201210238610A CN 103543920 A CN103543920 A CN 103543920A
Authority
CN
China
Prior art keywords
information
predetermined condition
detect
touch control
touch point
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
CN201210238610.6A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210238610.6A priority Critical patent/CN103543920A/en
Publication of CN103543920A publication Critical patent/CN103543920A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for processing information and an electronic device. The method comprises the steps that first operation information of a user is received; whether the first operation information satisfies a preset condition or not is detected; if the first operation information satisfies the preset condition, whether a running foreground application program exists or not is detected; if the running foreground application program exists, all application programs are ended completely. Occupation of an internal storage by non-running programs is reduced through the method that the set operation information correspondingly achieves the function that the application programs are completely ended.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic communication field, relate in particular to a kind of information processing method and electronic equipment.
Background technology
Abundant application, joyful game allow all intelligent machines more can adapt to user's needs, and the Application Program Interface in still a lot of mobile phones is after user carries out release operation, and these application programs are not directly closed, and just application are placed in to backstage.Although after application program is placed in backstage, can not impact other operations of user, these application meetings that are placed in backstage consume user's network traffics and the battery electric quantity of electronic equipment in a large number.
If user wants to turn off the application that is placed in backstage in prior art, need to exit application with task management tool, concrete implementation is:
First the application management instrument method of calling arranging by system, calls application management instrument; In task management tool, show each application moving in current system;
Then the application program that finds hope to close in task management tool, and carry out the operation of closing application according to the step of closing of systemic presupposition.
Although can realize by the way closing of applying, whole complex operation step, inconvenience.And general few user can be after exiting the use interface of certain application, then the operating system of monitor task management.So it is more difficult to realize thoroughly closing of application program by task management tool.
Summary of the invention
The invention provides a kind of information processing method and electronic equipment, method and apparatus provided by the present invention solves the obsolete application program of user in prior art and as for backstage, wastes the problem of Installed System Memory.
, being applied to electronic equipment, described electronic equipment at least can move the first operating system, and described method comprises:
Receive the first operation information of user;
Detect described the first operation information and whether meet predetermined condition;
If described the first operation information meets predetermined condition, detect and whether have the foreground application moving;
If there is foreground application to exit described application program completely.
Described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Whether identical with default motion track touch point motion track while determining that according to described touch control operation information user inputs touch control operation information, detect described touch point motion track, if so, determines that described the first operation information meets predetermined condition.
Described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Obtain in described touch control operation information touch point number when user inputs touch control operation information, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
Described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Touch point motion track while determining that according to described touch control operation information user inputs touch control operation information and touch point number;
Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
Receive the first operation information of user; Whether detect described the first operation information meets predetermined condition and comprises:
Detect and whether have user to click the pulse information of setting physical button, if had, according to described pulse information, generate the first operation information;
Detect the lasting duration value of the pulse information in described the first operation information, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
According to said method the present invention, also provide a kind of electronic equipment, described electronic equipment at least can move the first operating system, and this electronic equipment comprises:
Information receiving unit, for receiving the first operation information of user;
Whether control module, meet predetermined condition for detection of described the first operation information, if described the first operation information meets predetermined condition; Detect whether there is the foreground application moving, if there is foreground application to exit described application program completely.
Described the first operation information is touch control operation information, the described control module touch point motion track when determining that according to described touch control operation information user inputs touch control operation information also, whether identically with default motion track detect described touch point motion track, if so, determine that described the first operation information meets predetermined condition.
Described the first operation information is touch control operation information, the described control module touch point number when obtaining described touch control operation information user and input touch control operation information also, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
Described the first operation information is touch control operation information, described control module touch point motion track and the touch point number when determining that according to described touch control operation information user inputs touch control operation information also; Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
The pulse information that described the first operation information is physical button, described control module, also for detection of whether having user to click the pulse information of setting physical button, if had, generates the first operation information according to described pulse information; Detect the lasting duration value of the pulse information in described the first operation information, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
One or two in technique scheme, at least has following technique effect:
The method and apparatus that the embodiment of the present invention provides, by receiving the first operation information of user; Detect described the first operation information and whether meet predetermined condition; If described the first operation information meets predetermined condition, detect and whether have the foreground application moving; If there is foreground application to exit described application program completely.By the operation information correspondence of setting, realize the complete exit function of application program, reduce inoperative program taking internal memory.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of information processing method of the embodiment of the present invention ();
Fig. 2 is the process flow diagram of a kind of information processing method of the embodiment of the present invention (two);
Fig. 3 is the schematic diagram exiting by specific touch control operation information realization program in the embodiment of the present invention (two);
Fig. 4 is the process flow diagram of a kind of information processing method of the embodiment of the present invention (three);
Fig. 5 is the structural representation of a kind of electronic equipment of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, and described electronic equipment at least can move the first operating system, and described method comprises: the first operation information that receives user; Detect described the first operation information and whether meet predetermined condition; If described the first operation information meets predetermined condition, detect and whether have the foreground application moving; If there is foreground application to exit described application program completely.
In prior art, for user is easy to use or the needs of operation, the application program of installing in present most electronic equipment can and not exclusively exit after user's click is exited but program is proceeded to running background, but a lot of application programs proceed to running background, a large amount of resources can be wasted, and the reaction velocity that user uses other application programs can be had influence on.
Embodiment mono-, for the problems referred to above embodiment of the present invention, provide a kind of information processing method, the method that the embodiment of the present invention provides is applied in electronic equipment, described electronic equipment at least can move the first operating system, below in conjunction with Figure of description, the specific embodiment of the present invention is elaborated (as shown in Figure 1):
Step 101, the first operation information of reception user;
In embodiments of the present invention, user can input the first operation information in several ways, and concrete implementation can comprise:
If described electronic equipment comprises touch control unit, can receive the first operation information by touch control unit;
In addition, an independent physical button can also be set, when user presses described physical button, electronic equipment can detect the first corresponding pulse signal, according to described the first pulse signal, generates the first operation information.In addition, also can detect a certain setting button and whether be pressed and generate the second pulse signal, if so, according to described the second pulse signal, generate described the first operation information.
Step 102, detects described the first operation information and whether meets predetermined condition, if so, proceeds to step 103, otherwise, by original treatment scheme, process described the first operation information.
In embodiments of the present invention, because the different generating modes of the first operation information, so predetermined condition corresponding to different types of the first operation information.The predetermined condition that the operation information of touch-control class is corresponding different with button generic operation information.
Step 103, detects whether there is the foreground application moving, if there is foreground application to exit described application program completely.
There is maloperation when preventing from quitting a program, so when quitting a program, determine that the application program processed on current foreground is as by running program.
The described specific implementation that exits application program completely can be in embodiments of the present invention:
Determine after the application program that need to exit completely, determine all processes corresponding to described application program;
The instruction that transmission process exits, to system CPU, makes CPU control all processes corresponding to described application program out of service.
Disclosedly in the embodiment of the present invention exit application program completely and as for the difference on backstage, be that exiting application program is completely the operation that stops all processes corresponding to application program by program; And as for backstage, do not stop the operation of process.Exit the shutdown that application program is equal to electronic equipment completely, and application program as for backstage, be equal to the dormancy of electronic equipment.
If described the first operation information of embodiment bis-receives by touch control unit, a kind of information processing method that embodiment of the present invention provides specifically comprises step (as shown in Figure 2):
Step 201, receives the first operation information of user by touch control unit;
Step 202, detects the touch control operation information that described the first operation information comprises and whether meets default touch information condition (being a specific implementation corresponding with touch information in predetermined condition):
Because it is multiple that the kind of touch control operation comprises, so select in embodiments of the present invention touch point and motion track to determine whether touch control operation information meets default touch information condition.Specific implementation comprises:
Whether identical with default motion track A, the touch point motion track while determining that according to described touch control operation information user inputs touch control operation information, detect described touch point motion track, if so, determines that described the first operation information meets predetermined condition.
B, obtain in described touch control operation information touch point number when user inputs touch control operation information, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
C, touch point motion track and touch point number while determining that according to described touch control operation information user inputs touch control operation information;
Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
Instantiation (as shown in Figure 3) is pre-conditioned by two fingers, two motion tracks of mobile generation on described touch control unit, and specific implementation comprises:
Detect described touch point number and whether equal 2, if, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical (being the corresponding touch-control motion track of each touch point) determines that described the first operation information meets predetermined condition.In addition, can also detect in the Zhong,Ru gesture district, specific region whether these two motion tracks be created in touch control unit, if desired trajectory detected in gesture district, determine that described the first operation information meets predetermined condition.
Step 203, detects whether there is the foreground application moving, if there is foreground application to exit described application program completely.
If described the first operation information of embodiment tri-receives by physical button, a kind of information processing method that embodiment of the present invention provides specifically comprises step (as shown in Figure 4):
Whether step 401, detect and have user to click the pulse information of setting physical button, if had, according to described pulse information, generates the first operation information;
In embodiments of the present invention, an independent physical button can be set, when user presses described physical button, electronic equipment can detect the first corresponding pulse signal, according to described the first pulse signal, generates the first operation information.
In addition, also can detect a certain setting button and whether be pressed and generate the second pulse signal, if so, according to described the second pulse signal, generate described the first operation information.Also combination that can a plurality of setting buttons is determined and is generated the first operation information.
Step 402, detects the key information condition (being a specific implementation corresponding with key information in predetermined condition) whether the pulse information in described the first operation information satisfies condition default;
In this example, determine whether described physical button information meets default key information condition, and specific implementation comprises:
A, detect the lasting duration value of described pulse signal, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
If B realizes exiting of program by setting specific physical button,, so long as user presses described specific physical button, can trigger and exit foreground application completely.The specific implementation that exits application program completely can be that whether direct-detection is the pulse signal that specific keys produces, and if so, determines that described the first operation information meets predetermined condition.
C, whether be pulse signal that a plurality of physical button set be combined to form, if so, determine that described the first operation information meets predetermined condition if detecting.
Step 403, detects whether there is the foreground application moving, if there is foreground application to exit described application program completely.
As shown in Figure 5, according to the said method embodiment of the present invention, also provide a kind of electronic equipment, described electronic equipment at least can move the first operating system, and this electronic equipment comprises:
Information receiving unit 501, for receiving the first operation information of user;
Whether control module 502, meet predetermined condition for detection of described the first operation information, if described the first operation information meets predetermined condition; Detect whether there is the foreground application moving, if there is foreground application to exit described application program completely.
Described the first operation information is touch control operation information, and it is pre-conditioned that described control module 502 also determines by different modes whether described the first operation information meets, and comprising:
The described control module 502 touch point motion track when determining that according to described touch control operation information user inputs touch control operation information also, whether identically with default motion track detect described touch point motion track, if so, determine that described the first operation information meets predetermined condition.
The described control module 502 touch point number when obtaining described touch control operation information user and input touch control operation information also, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
Described control module 502 touch point motion track and the touch point number when determining that according to described touch control operation information user inputs touch control operation information also; Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
Described the first operation information is pulse information corresponding to physical button, and described control module 502, also for detection of whether having user to click the pulse information of setting physical button, if had, generates the first operation information according to described pulse information; Detect the lasting duration value of the pulse information in described the first operation information, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
Above-mentioned one or more technical schemes in the embodiment of the present application, at least have following technique effect:
Scheme provided by the present invention receives the first operation information of user; Detect described the first operation information and whether meet predetermined condition; If described the first operation information meets predetermined condition, detect and whether have the foreground application moving; If there is foreground application to exit described application program completely.By the operation information correspondence of setting, realize the complete exit function of application program, reduce inoperative program taking internal memory.
In addition, exit application program completely non-as for backstage, avoid some application program that need to use Internet resources (existing scheme is to be placed in running background) when user does not use, waste user's Internet resources.
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to equally technological innovation scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. an information processing method, is applied to electronic equipment, and described electronic equipment at least can move the first operating system, it is characterized in that, described method comprises:
Receive the first operation information of user;
Detect described the first operation information and whether meet predetermined condition;
If described the first operation information meets predetermined condition, detect and whether have the foreground application moving;
If there is foreground application to exit described application program completely.
2. the method for claim 1, is characterized in that, described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Whether identical with default motion track touch point motion track while determining that according to described touch control operation information user inputs touch control operation information, detect described touch point motion track, if so, determines that described the first operation information meets predetermined condition.
3. the method for claim 1, is characterized in that, described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Obtain in described touch control operation information touch point number when user inputs touch control operation information, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
4. the method for claim 1, is characterized in that, described the first operation information is touch control operation information, detects described the first operation information and whether meets predetermined condition and comprise:
Touch point motion track while determining that according to described touch control operation information user inputs touch control operation information and touch point number;
Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
5. the method for claim 1, is characterized in that, receives the first operation information of user; Whether detect described the first operation information meets predetermined condition and comprises:
Detect and whether have user to click the pulse information of setting physical button, if had, according to described pulse information, generate the first operation information;
Detect the lasting duration value of the pulse information in described the first operation information, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
6. an electronic equipment, described electronic equipment at least can move the first operating system, it is characterized in that, and this electronic equipment comprises:
Information receiving unit, for receiving the first operation information of user;
Whether control module, meet predetermined condition for detection of described the first operation information, if described the first operation information meets predetermined condition; Detect whether there is the foreground application moving, if there is foreground application to exit described application program completely.
7. electronic equipment as claimed in claim 6, it is characterized in that, described the first operation information is touch control operation information, the described control module touch point motion track when determining that according to described touch control operation information user inputs touch control operation information also, whether identically with default motion track detect described touch point motion track, if so, determine that described the first operation information meets predetermined condition.
8. electronic equipment as claimed in claim 6, it is characterized in that, described the first operation information is touch control operation information, the described control module touch point number when obtaining described touch control operation information user and input touch control operation information also, detect described touch point number and whether equal default first threshold, if so, determine that described the first operation information meets predetermined condition.
9. electronic equipment as claimed in claim 6, it is characterized in that, described the first operation information is touch control operation information, described control module touch point motion track and the touch point number when determining that according to described touch control operation information user inputs touch control operation information also; Detect described touch point number and whether be greater than Second Threshold, if so, whether identically with default motion track detect the motion track that each touch point is corresponding, if identical, determine that described the first operation information meets predetermined condition.
10. electronic equipment as claimed in claim 6, it is characterized in that, the pulse information that described the first operation information is physical button, whether described control module is also for detection of having user to click the pulse information of setting physical button, if had, according to described pulse information, generate the first operation information; Detect the lasting duration value of the pulse information in described the first operation information, if described lasting duration value is greater than the 3rd threshold value, determine that described the first operation information meets predetermined condition.
CN201210238610.6A 2012-07-10 2012-07-10 Method for processing information and electronic device Pending CN103543920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210238610.6A CN103543920A (en) 2012-07-10 2012-07-10 Method for processing information and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210238610.6A CN103543920A (en) 2012-07-10 2012-07-10 Method for processing information and electronic device

Publications (1)

Publication Number Publication Date
CN103543920A true CN103543920A (en) 2014-01-29

Family

ID=49967428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210238610.6A Pending CN103543920A (en) 2012-07-10 2012-07-10 Method for processing information and electronic device

Country Status (1)

Country Link
CN (1) CN103543920A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653181A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Control method for application program, device and mobile terminal
CN107066288A (en) * 2017-01-17 2017-08-18 北京光年无限科技有限公司 A kind of multi-modal exchange method and device for intelligent robot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009145680A1 (en) * 2008-05-28 2009-12-03 Infoquest Group Sverige Ab Advertisement banners from any standard application
WO2011029100A1 (en) * 2009-09-07 2011-03-10 Qualcomm Incorporated User interface methods for ending an application
CN102497471A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009145680A1 (en) * 2008-05-28 2009-12-03 Infoquest Group Sverige Ab Advertisement banners from any standard application
WO2011029100A1 (en) * 2009-09-07 2011-03-10 Qualcomm Incorporated User interface methods for ending an application
CN102497471A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Application management method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WUDIHAN: "小米手机MIUI快捷键大全", 《安卓中文网》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653181A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Control method for application program, device and mobile terminal
WO2017076046A1 (en) * 2015-11-06 2017-05-11 乐视控股(北京)有限公司 Method for controlling application, device for the method, and mobile terminal
CN107066288A (en) * 2017-01-17 2017-08-18 北京光年无限科技有限公司 A kind of multi-modal exchange method and device for intelligent robot
CN107066288B (en) * 2017-01-17 2020-06-26 北京光年无限科技有限公司 Multi-mode interaction method and device for intelligent robot

Similar Documents

Publication Publication Date Title
CN104050035A (en) Processing method and device for application program
CN104598134A (en) Fingerprint operating method and system for mobile terminal
CN103699298A (en) Information processing method and electronic equipment
CN105264456B (en) Move fence
CN102981756A (en) Touch screen mobile terminal fast application switch method
CN104765524A (en) Application switching method and device
CN104991820B (en) The method and mobile terminal that a kind of mobile terminal application is switched fast
CN103870356A (en) Information processing method and electronic equipment
CN104679413A (en) Control method and control device for playing music
CN104951335A (en) Processing method and device for application program installation packages
CN104571839A (en) Terminal and processing method and device thereof
WO2015058619A1 (en) Method and device for controlling task speed, and terminal device
CN104601767A (en) Method and system for managing dial pad of mobile phone
CN102830752B (en) Electronic equipment and working method thereof
CN103677551A (en) Information processing method and electronic device
CN104035695A (en) Information processing method and electronic device
CN106851595B (en) Ordered broadcast processing method, device and terminal device
CN105677150A (en) Data cleaning method and device for application program
CN103543920A (en) Method for processing information and electronic device
CN106896907A (en) A kind of method and device according to user gesture operation terminal
CN104123094A (en) Method and system for generating icon operating instructions according to touch width
TW201301140A (en) Electronic device and task control method thereof
CN106909450A (en) process management method, device and terminal
CN107070670A (en) Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message
CN103853467A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
C06 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

Application publication date: 20140129

RJ01 Rejection of invention patent application after publication