CN103440092A - Return key processing method, system and mobile terminal - Google Patents

Return key processing method, system and mobile terminal Download PDF

Info

Publication number
CN103440092A
CN103440092A CN2013103520183A CN201310352018A CN103440092A CN 103440092 A CN103440092 A CN 103440092A CN 2013103520183 A CN2013103520183 A CN 2013103520183A CN 201310352018 A CN201310352018 A CN 201310352018A CN 103440092 A CN103440092 A CN 103440092A
Authority
CN
China
Prior art keywords
key
press event
application interface
returning
current residing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103520183A
Other languages
Chinese (zh)
Other versions
CN103440092B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310352018.3A priority Critical patent/CN103440092B/en
Publication of CN103440092A publication Critical patent/CN103440092A/en
Application granted granted Critical
Publication of CN103440092B publication Critical patent/CN103440092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a return key processing method, system and mobile terminal. The method comprises the following steps of detecting whether the currently positioned application interface is skipped to the last opened application interface after a return key event is intercepted; if the currently positioned application interface is not skipped, detecting whether the currently positioned application interface re-intercepts the next one or more return key events; if the currently positioned application interface re-intercepts the next one or more return key events, discarding the next re-intercepted one or more return key events. The return button processing method, system and mobile terminal can achieve the aim of still returning to the last opened application interface even if the return key is clicking for multiple times under the condition that the system is paused or slowly reacts.

Description

A kind of disposal route, system and mobile terminal that returns to button
Technical field
The present invention relates to the communication facilities technical field, more particularly, relate to a kind of disposal route, system and mobile terminal that returns to button.
Background technology
In the use procedure of intelligent mobile terminal, occasional runs into that system card pauses or sluggish situation.When occurring that system card pauses or sluggish the time, user's instinct is all often to click to return to button, hope can be exited current interface, falls back on the last layer interface at this interface, falls back in other words conj.or perhaps the last layer catalogue of this catalogue.Such as be such in the step of the application interface of following application program, first click Baidu, then click Baidu's news, then click a webpage, if but this web interface has occurred that system card pauses, we often can click and return to button, find that interface does not change, then continue to click, even repeatedly click, but the key-press event of returning of repeatedly clicking all is saved, by the time system is not blocked when timing, we will find that mobile terminal directly has been withdrawn into desktop, rather than the last layer interface of this webpage, because the key-press event of returning that those are saved has been focused on.
Summary of the invention
The object of the invention is to overcome above-mentioned defect of the prior art, a kind of disposal route of returning to button is provided, be intended to that the resolution system card pauses or return to the processing problem of button during sluggish.
For achieving the above object, technical scheme provided by the invention is as follows: a kind of disposal route of returning to button, be applied to have the mobile terminal of touch-screen, and the method comprises the following steps:
Whether the application interface of once opening is returned in redirect after key-press event is returned in one of intercepting and capturing to detect current residing application interface;
If redirect does not also occur current residing application interface, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning;
If current residing application interface again intercepts the next one and returns to key-press event or a plurality of key-press event of returning, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing.
Furthermore, the current residing application interface of described detection intercept and capture one return to key-press event after whether redirect before returning the step of the application interface of once opening, also comprise:
After opening application program and entering its corresponding application interface, detect and report the key-press event of returning occurred on touch-screen.
Furthermore, whether the current residing application interface of described detection again intercepts the next one and also comprises after returning to key-press event or a plurality of step of returning to key-press event:
If current residing application interface does not again intercept the next one and returns to key-press event or a plurality of key-press event of returning, wait for current residing application interface generation redirect and process according to normal treatment scheme.
Another object of the present invention is to provide a kind of disposal system of returning to button, be applied to have the mobile terminal of touch-screen, this system comprises:
Interface redirect detection module, for detection of current residing application interface, after key-press event is returned in one of intercepting and capturing, whether the application interface of once opening is returned in redirect;
Return to the key-press event detection module, if whether intercept one for detection of current residing application interface return to key-press event and current residing application interface detected for interface redirect detection module redirect does not also occur, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning;
The discard processing module, if current residing application interface detected and again intercept the next one and return to key-press event or a plurality of key-press event of returning for returning to the key-press event detection module, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing.
Furthermore, the driving layer of described touch-screen, for after opening application program and entering its corresponding application interface, detects and reports the key-press event of returning occurred on touch-screen.
Another purpose of the present invention is to provide a kind of mobile terminal, and it comprises the disposal system of returning to button described in technique scheme.
Compared with prior art, beneficial effect of the present invention is:
By detecting current residing application interface, after key-press event is returned in one of intercepting and capturing, whether the application interface of once opening is returned in redirect in the present invention, if redirect does not also occur in current residing application interface, whether detect current residing application interface again intercepts the next one and returns to key-press event or a plurality of key-press event of returning, if current residing application interface again intercepts the next one and returns to key-press event or a plurality of key-press event of returning, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing, pause or react more slowly and repeatedly click and return to the purpose that button still just returns to the application interface of once opening in situation even can reach at system card.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow figure that returns to button that the embodiment of the present invention one provides;
Fig. 2 is the structured flowchart of the disposal system of returning to button that provides of the embodiment of the present invention two.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Embodiment mono-
Embodiments of the invention one provide a kind of disposal route of returning to button, are applied to have the mobile terminal of touch-screen, below in conjunction with accompanying drawing, the present embodiment are elaborated.
Fig. 1 is the method flow diagram of the embodiment of the present invention one, please refer to Fig. 1, and the method for the embodiment of the present invention comprises the following steps:
Step S101, open application program and enter its corresponding application interface after, detect and report the key-press event of returning occurred on touch-screen;
After user's point touching screen, touch-screen can detect user's operation, can read coordinate figure or detect button and press and report key information.
Step S102, whether the application interface of once opening is returned in redirect after returning to key-press event intercepting and capturing one to detect current residing application interface, if, there do not is problem of the present invention, if not, perform step S103;
Concrete, any one application interface can respond processing to key-press event, for instance, if system is current in application interface A, received this time and returned to key-press event, will intercept and capture so this and return to key-press event, carried out the keystroke handling that returns of application interface A.
In addition, any one application interface all can carry out the composition processing, composition completes by coordinate setting, for instance, click the webpage of Sohu's news, will download the information of this webpage, then the coordinates regional of various other links of existing in webpage be navigated to current residing application interface, then show.Whether current residing application interface redirect occurs, and the location of the coordinate by application interface is judged exactly.In Android system, the redirect at interface is exactly mutually calling between a plurality of Activity.
Step S103, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning, if, perform step S104, if not, perform step S105;
Concrete, current residing application interface has occurred that system card pauses or during sluggish, the user often can click and return to button, find that redirect does not occur application interface yet, can continue to click, even repeatedly click, therefore current residing application interface can again intercept the next one and return to key-press event or a plurality of key-press event of returning.
Step S104, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing;
Concrete, discard processing refers to and does not respond this and return to key-press event.Step is: system is current in application interface A, then receive and return to button, due to reasons such as system card pause, also do not turn back to the last layer application interface B of application interface A, return to button when application interface A receives again, so just not processing this time returns to key-press event.
Step S105, wait for current residing application interface generation redirect and process according to normal treatment scheme.
The method applied in the present invention is simple and practical, after using the present invention, when when the reasons such as card pauses appear in some application interface, if now return to button in click always, also only can process one returns to key-press event, and turn back to the application interface that the last time opens, and can not wait until when system recovers normal, a plurality of key-press event of returning carried out together.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
Embodiment bis-
Embodiments of the invention two provide a kind of disposal system of returning to button, are applied to have the mobile terminal of touch-screen, and Fig. 2 is the structured flowchart of the embodiment of the present invention two, please refer to Fig. 2, and this system comprises:
Interface redirect detection module 201, for detection of current residing application interface, after key-press event is returned in one of intercepting and capturing, whether the application interface of once opening is returned in redirect;
Return to key-press event detection module 202, if whether intercept one for detection of current residing application interface return to key-press event and current residing application interface detected for interface redirect detection module 201 redirect does not also occur, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning.
Discard processing module 203, if current residing application interface detected and again intercept the next one and return to key-press event or a plurality of key-press event of returning for returning to key-press event detection module 202, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing.
In the present embodiment, the driving layer 204 of described touch-screen, for after opening application program and entering its corresponding application interface, detects and reports the key-press event of returning occurred on touch-screen.
Even the disposal system of returning to button of the present invention can reach at system card pauses or reacts more slowly and repeatedly click and return to the purpose that button still just returns to the application interface of once opening in situation.
It should be noted that, it is a kind of that above-described embodiment provides, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure of the system of being about to is divided into different functional modules, to complete all or part of function described above.
Embodiment tri-
Embodiments of the invention three provide a kind of mobile terminal, and it comprises the disposal system of returning to button described in touch-screen and embodiment bis-, does not repeat them here.
Described mobile terminal can be that mobile phone, panel computer, human-computer interaction terminal or other have the mobile terminal device of touch-screen.
Above-described embodiment is preferably embodiment of the present invention; but embodiments of the present invention are not restricted to the described embodiments; other any do not deviate from change, the modification done under Spirit Essence of the present invention and principle, substitutes, combination, simplify; all should be equivalent substitute mode, within being included in protection scope of the present invention.

Claims (6)

1. a disposal route of returning to button, be applied to have the mobile terminal of touch-screen, it is characterized in that, the method comprises the following steps:
Whether the application interface of once opening is returned in redirect after key-press event is returned in one of intercepting and capturing to detect current residing application interface;
If redirect does not also occur current residing application interface, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning;
If current residing application interface again intercepts the next one and returns to key-press event or a plurality of key-press event of returning, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing.
2. a kind of disposal route of returning to button according to claim 1, is characterized in that, the current residing application interface of described detection intercept and capture one return to key-press event after whether redirect before returning the step of the application interface of once opening, also comprise:
After opening application program and entering its corresponding application interface, detect and report the key-press event of returning occurred on touch-screen.
3. a kind of disposal route of returning to button according to claim 1, is characterized in that, whether the current residing application interface of described detection intercepts the next one again also comprises after returning to key-press event or a plurality of step of returning to key-press event:
If current residing application interface does not again intercept the next one and returns to key-press event or a plurality of key-press event of returning, wait for current residing application interface generation redirect and process according to normal treatment scheme.
4. a disposal system of returning to button, be applied to have the mobile terminal of touch-screen, it is characterized in that, this system comprises:
Interface redirect detection module, for detection of current residing application interface, after key-press event is returned in one of intercepting and capturing, whether the application interface of once opening is returned in redirect;
Return to the key-press event detection module, if whether intercept one for detection of current residing application interface return to key-press event and current residing application interface detected for interface redirect detection module redirect does not also occur, detect current residing application interface and whether again intercept the next one and return to key-press event or a plurality of key-press event of returning;
The discard processing module, if current residing application interface detected and again intercept the next one and return to key-press event or a plurality of key-press event of returning for returning to the key-press event detection module, to again intercepting, the next one returns to key-press event or a plurality of key-press event of returning is carried out discard processing.
5. a kind of disposal system of returning to button according to claim 4, is characterized in that, the driving layer of described touch-screen, for after opening application program and entering its corresponding application interface, detects and report the key-press event of returning occurred on touch-screen.
6. a mobile terminal, is characterized in that, this mobile terminal comprises the described disposal system of returning to button of claim 4 or 5.
CN201310352018.3A 2013-08-13 2013-08-13 A kind of processing method returning button, system and mobile terminal Active CN103440092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310352018.3A CN103440092B (en) 2013-08-13 2013-08-13 A kind of processing method returning button, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310352018.3A CN103440092B (en) 2013-08-13 2013-08-13 A kind of processing method returning button, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN103440092A true CN103440092A (en) 2013-12-11
CN103440092B CN103440092B (en) 2017-03-08

Family

ID=49693783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310352018.3A Active CN103440092B (en) 2013-08-13 2013-08-13 A kind of processing method returning button, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN103440092B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702191A (en) * 2013-12-16 2014-04-02 Tcl集团股份有限公司 Method for avoiding ANR (Application Not Responding) occurring on smart television starter
CN104679407A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Interface response method and device
CN105094826A (en) * 2015-07-23 2015-11-25 上海斐讯数据通信技术有限公司 Response method and device thereof for interactive interface views in client terminal system
CN106598613A (en) * 2016-12-20 2017-04-26 珠海市魅族科技有限公司 Control method and device for mobile terminal
CN106648629A (en) * 2016-11-29 2017-05-10 珠海市魅族科技有限公司 Complex command misoperation prevention method and device
CN106681625A (en) * 2016-11-29 2017-05-17 珠海市魅族科技有限公司 Method and device for preventing misoperations
CN106708645A (en) * 2016-12-01 2017-05-24 珠海市魅族科技有限公司 Misoperation treatment method, misoperation treatment device and terminal
CN106708314A (en) * 2016-12-01 2017-05-24 珠海市魅族科技有限公司 Incorrect operation handling method, device and terminal
CN106775727A (en) * 2016-12-20 2017-05-31 珠海市魅族科技有限公司 A kind of control method and device of mobile terminal
CN106775728A (en) * 2016-12-20 2017-05-31 珠海市魅族科技有限公司 A kind of control method and device of mobile terminal
CN107943917A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 The page returns to control method, device, terminal and storage medium
CN108829313A (en) * 2018-04-28 2018-11-16 安徽四创电子股份有限公司 A kind of Android APP exits the design method of application program
CN111143709A (en) * 2019-12-18 2020-05-12 成都星时代宇航科技有限公司 Revocation method and device in 3D map scene

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102388356A (en) * 2009-04-15 2012-03-21 索尼公司 Menu display device, menu display method, and program
US20120089950A1 (en) * 2010-10-11 2012-04-12 Erick Tseng Pinch gesture to navigate application layers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102388356A (en) * 2009-04-15 2012-03-21 索尼公司 Menu display device, menu display method, and program
US20120089950A1 (en) * 2010-10-11 2012-04-12 Erick Tseng Pinch gesture to navigate application layers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹琨等: "基于Struts 的Web 系统表单重复提交问题的解决方案", 《河南机电高等专科学校学报》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702191B (en) * 2013-12-16 2017-09-05 Tcl集团股份有限公司 It is a kind of to avoid intelligent television starter from ANR method occur
CN103702191A (en) * 2013-12-16 2014-04-02 Tcl集团股份有限公司 Method for avoiding ANR (Application Not Responding) occurring on smart television starter
CN104679407A (en) * 2015-03-12 2015-06-03 深圳市欧珀通信软件有限公司 Interface response method and device
CN104679407B (en) * 2015-03-12 2018-01-16 广东欧珀移动通信有限公司 Interface response method and device
CN105094826A (en) * 2015-07-23 2015-11-25 上海斐讯数据通信技术有限公司 Response method and device thereof for interactive interface views in client terminal system
CN105094826B (en) * 2015-07-23 2018-04-10 上海斐讯数据通信技术有限公司 The response method and its device of interactive interface view in client terminal system
CN106681625A (en) * 2016-11-29 2017-05-17 珠海市魅族科技有限公司 Method and device for preventing misoperations
CN106648629A (en) * 2016-11-29 2017-05-10 珠海市魅族科技有限公司 Complex command misoperation prevention method and device
CN106648629B (en) * 2016-11-29 2021-01-01 珠海市魅族科技有限公司 Method and device for preventing complex instruction misoperation
CN106708645B (en) * 2016-12-01 2020-05-15 珠海市魅族科技有限公司 Misoperation processing method, misoperation processing device and terminal
CN106708645A (en) * 2016-12-01 2017-05-24 珠海市魅族科技有限公司 Misoperation treatment method, misoperation treatment device and terminal
CN106708314A (en) * 2016-12-01 2017-05-24 珠海市魅族科技有限公司 Incorrect operation handling method, device and terminal
CN106775728A (en) * 2016-12-20 2017-05-31 珠海市魅族科技有限公司 A kind of control method and device of mobile terminal
CN106598613A (en) * 2016-12-20 2017-04-26 珠海市魅族科技有限公司 Control method and device for mobile terminal
CN106775727B (en) * 2016-12-20 2020-09-25 珠海市魅族科技有限公司 Control method and device of mobile terminal
CN106775727A (en) * 2016-12-20 2017-05-31 珠海市魅族科技有限公司 A kind of control method and device of mobile terminal
CN107943917A (en) * 2017-11-20 2018-04-20 珠海市魅族科技有限公司 The page returns to control method, device, terminal and storage medium
CN108829313A (en) * 2018-04-28 2018-11-16 安徽四创电子股份有限公司 A kind of Android APP exits the design method of application program
CN108829313B (en) * 2018-04-28 2020-11-17 安徽四创电子股份有限公司 Design method for Android APP quitting application program
CN111143709A (en) * 2019-12-18 2020-05-12 成都星时代宇航科技有限公司 Revocation method and device in 3D map scene
CN111143709B (en) * 2019-12-18 2023-11-21 深圳市超时空探索科技有限公司 Revocation method and device in 3D map scene

Also Published As

Publication number Publication date
CN103440092B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN103440092A (en) Return key processing method, system and mobile terminal
CN102799376A (en) Shortcut function setup method for touch equipment
CN102981711A (en) Method and system for moving application icons on touch screen
CN103544021A (en) Screen capturing method and device for screen content of mobile terminal
CN103309756A (en) Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN101661375A (en) Touch control method, system and display terminal
CN107526477B (en) Unlocking screen method, apparatus and terminal
KR20100136616A (en) Method and apparatus for reducing the multi touch input error in portable communication system
CN118113204A (en) Long screen capturing method, device, terminal and storage medium
CN109144309B (en) Touch control method and device, storage medium and terminal equipment
CN105224335A (en) A kind of control method of Automatic clearance terminal device, system and terminal device
CN104063071A (en) Content input method and device
CN106959746A (en) The processing method and processing device of speech data
CN104035702A (en) Method for preventing intelligent terminal operation error and intelligent terminal
EP2362300A1 (en) Method and apparatus for collecting touch event on terminal
CN104735227A (en) Quick call recording method and communication terminal
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN105786647A (en) Data backup device and method and terminal
CN102681780A (en) Intelligent Linux device and input method switching method for same
CN107562346A (en) Terminal control method, device, terminal and computer-readable recording medium
CN103218161B (en) Mobile terminal operation method and system based on multi-point touch
CN111625174B (en) Touch screen control method and device, electronic equipment and storage medium
US8922491B2 (en) Method and apparatus enabling keystroke acceleration
CN111124519B (en) Method and system for optimizing starting speed of android application program based on input response
CN104750375A (en) Interface display method and device

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.