CN103257829B - Terminal control system and the method for nearest task is switched before and after under a kind of Android - Google Patents

Terminal control system and the method for nearest task is switched before and after under a kind of Android Download PDF

Info

Publication number
CN103257829B
CN103257829B CN201310164555.5A CN201310164555A CN103257829B CN 103257829 B CN103257829 B CN 103257829B CN 201310164555 A CN201310164555 A CN 201310164555A CN 103257829 B CN103257829 B CN 103257829B
Authority
CN
China
Prior art keywords
task
key
nearest
control system
switching
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.)
Expired - Fee Related
Application number
CN201310164555.5A
Other languages
Chinese (zh)
Other versions
CN103257829A (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.)
Beijing University of Technology
Original Assignee
Beijing University of Technology
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 Beijing University of Technology filed Critical Beijing University of Technology
Priority to CN201310164555.5A priority Critical patent/CN103257829B/en
Publication of CN103257829A publication Critical patent/CN103257829A/en
Application granted granted Critical
Publication of CN103257829B publication Critical patent/CN103257829B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to computing machine built-in field, control system and the method for nearest task under disclosing a kind of Android platform, can be switched fast forward or backward.Described control system comprises: input keyboard, button detection module, screening module, handover module, active manager and logging modle.Described method is applied on described control system, and described method comprises carries out record to the initiating task of terminal system and task switching, and the length of check processing user is by operation.Length can be switched to previous nearest task fast by the back spacer of described control system, and length can be switched to a rear nearest task fast by the Menu key of described control system.Compared with prior art, the present invention makes whole operating process shorten to 1 second, and without the need to the naked eye searching nearest task, also without the need to using complicated gesture or Macintosh operation, thus both improve and return efficiency, have that switching efficiency is high, Consumer's Experience good, compatible performance is strong and the advantage such as switching mode is many.

Description

Terminal control system and the method for nearest task is switched before and after under a kind of Android
Technical field
The invention belongs to computing machine built-in field, be specifically related to a kind of terminal control system and the method that Android terminal can be made to switch nearest task fast forward, backward.
Background technology
Android is widely used Embedded Mobile open source operating system, has the mobile terminals such as more than one hundred million mobile phones, panel computers at present and has made this operating system.In android system, separate between each application program, application program is then referred to as task after running.System provides built-in nearest task manager, for freely switching between the different task run.Simultaneously, production firm generally is Android terminal and is equipped with original input system with main screen key (Home), Menu key (Menu), back spacer (Back), search key (Search) 4 standard operation keys (also claiming function key), controls terminal with person easy to use.
Here front and back switch and refer to that the priority operation order according to the nearest task of terminal switches: be switched to a upper task from current task and be and switch forward; And switch back current task again from a upper task and be and switch backward.
In routine use; people usually can run into and in current task, process before affairs will switch back certain task or switch back the situation of current task again from certain task before; in terminal use procedure, switch nearest task if want, following 3 kinds of modes of operation can be had at present:
Use nearest task manager: first, length is pressed main screen key (Home) and is recalled task manager graphical interfaces, find the task icons needing to switch in the nearest task listed at graphical interfaces again, finally the position clicked on touch-screen residing for task icons switches.This mode needs user's multi-pass operations, and needs to search in numerous task icons with the naked eye on graphical interfaces, there is the shortcoming of the low and poor user experience of efficiency.
Repeatedly short in back spacer: repeatedly short by back spacer, current task is exited after, be switched in a task.Although this mode does not need to search in numerous task icons of naked eyes on graphical interfaces, press back spacer because needs are repeatedly short, still there is the shortcoming that efficiency is not high.In addition, because back spacer only can carry out back operation, make this mode only can forward and can not task switching backward.
Use combination operation: this is the mode that more existing improvement opportunity schemes provide, and needs user in the given time, draws corresponding gesture on the touchscreen or connects by former input keyboard or streak multiple button.When gesture, connect by or streak after operation is identified and just can be switched in previous task.Although this kind of mode efficiency is higher, but due to the operating habit of gesture identification success ratio heavy dependence user, and connecting by needing the response of terminal system delay to each button with the identifying of streaking operation, this type of mode can not bring good Consumer's Experience.In addition, because these technical schemes are only have made some improvements in interactive mode, still task switching backward cannot be realized.
Summary of the invention
In order to solve the problems such as Android terminal task switching complex operation, poor user experience, the invention provides a kind of make Android terminal fast forward, the terminal control system of task switching and method backward, operator only once need be grown on a button just can carry out once switching forward, backward by operation, also make operating efficiency and Consumer's Experience get a promotion simultaneously.
Switch a terminal control system for nearest task before and after under Android, it is characterized in that comprising: input keyboard, button detection module, screening module, handover module, active manager, and logging modle.Wherein,
Input keyboard is the part that user directly contacts, and is connected with described button detection module.Control and operating terminal for user.Particularly, directly over input keyboard of the present invention, contain 4 standard operation keys (main screen key, back spacer, Menu key, search key), make this control system can original operation of compatible android system.
Button detection module, inputs and is connected with input keyboard, exports and connects screening module.For detecting the type of button operation and determining how to respond further.
Screening module, inputs and is connected with button detection module, exports and connects handover module, be also connected with logging modle.For filtering out last nearest task, prepare for being switched to this nearest task.
Handover module, input connects screening module, exports and connects active manager.For sending the instruction of switch application program, the switching of concrete realistic task.
Logging modle, connects with screening module and is connected with active manager.For storing the information of initiating task or task switching and creating the context of each task.
Active manager, inputs and is connected with handover module, exports and connects logging modle.For detecting the information of initiating task or task switching.
When using this control system, user can carry out basic control by origin operation to terminal, as got back to desktop, searching for, taking a step back.When want terminal system forward task switching time, only need grow by 1 second on the back spacer of this control system; When want terminal system backward task switching time, only need grow by 1 second on the Menu key of this control system; Control system, detecting that back spacer or pressing when duration reaches 1 second of Menu key just can send switching command, makes terminal system be switched in corresponding task.
For preventing maloperation, the button detection module of the present invention program does not respond button operation under terminal screen lock state.
Switch a method for nearest task before and after under Android, it is characterized in that comprising recording method and changing method.Wherein,
Recording method: (being switched to foreground refers to for user to during foreground when having task start or task switch in terminal system, task is switched to front stage operation by running background, namely be presented on touch screen), record the information of this task, and according to the order started, set up the context between starting before of task; If this start-up operation by growing by Menu key or long by back spacer generation, does not then record and sets up the context between task.
Changing method: when terminal keyboard generation length presses Action Events, determines whether long by back spacer or long by Menu key, if not this two key, does not then process.
If long by be back spacer, then according to the context between the mission bit stream of record and task, filter out previous used task, and turn back to this task.
If long by be Menu key, then according to the context between the mission bit stream of record and task, filter out a rear used task, and turn back to this task.
When operator uses terminal, what described input keyboard produced shortly all upwards transmits by Action Events.
Above the record by task start, task switch and the judgement to Action Events are all operated in the Framework layer of android system.
Compared with existing task switching scheme, the invention has the beneficial effects as follows:
(1) switching efficiency is high: owing to adopting, single is long presses identifying schemes in the present invention, makes whole handoff procedure shorten to 1 second.
(2) Consumer's Experience is good: the present invention not only with the naked eye searches the task that will switch without the need to user, and only need carry out single job to a button, and without the need to company that multiple button is combined by or streak operation, make more convenient to operate.
(3) compatible performance is strong: present invention employs length and distinguish different operating by with short press mode, make to affect or to interfere with the response of terminal system to former short button operation.
(4) switching mode is many: the present invention not only can task switching forward, can also task switching backward.
Accompanying drawing explanation
Fig. 1 is task switch logical relation schematic diagram of the present invention, Fig. 1 (A) is init state, Fig. 1 (B) is the state after switching forward, and Fig. 1 (C) is the state after switching backward, and 101,102,103 are respectively starting successively or switching of task;
Fig. 2 is the appearance assumption diagram of embodiment of the present invention input keyboard, in figure: 201-main screen key, 202-back spacer, 203-Menu key, 204-search key, 205-main panel;
Fig. 3 is the composition frame chart of terminal control system of the present invention;
Fig. 4 is the process flow diagram of recording method of the present invention;
Fig. 5 is the process flow diagram of changing method of the present invention.
Embodiment
Below in conjunction with accompanying drawing and this programme embodiment, the present invention is further described.
For ease of understanding principle of work of the present invention, below in conjunction with accompanying drawing 1 illustrate the technical program front and back logically switch effect.In accompanying drawing 1,101,102,103 are respectively starting successively or switching of task, and accompanying drawing 1 (A) is init state.Current task is 103.When long press back spacer time can task switching forward, current task becomes 102, and state is as shown in accompanying drawing 1 (B).Now, when long press Menu key time can task switching backward, state is as shown in accompanying drawing 1 (C).
Accompanying drawing 2 is the input keyboard appearance assumption diagram of the present embodiment control system.Main panel 205 is carriers of this input keyboard, has 4 buttons above: main screen key 201, back spacer 202, Menu key 203, and search key 204.Described 4 buttons all can carry out short by with long by operation.Technician is in implementation process, the relative position of 4 buttons can be adjusted, but because the retrogressing animation of android system enters on the left of touch-screen, therefore under the best circumstances, the relative position of back spacer 202 should, on Menu key 203 left side, make the operation of button more meet the understanding custom of people.
The composition frame chart of terminal control system of the present invention.As shown in Figure 3, comprising: input keyboard 301, button detection module 302, screening module 303, handover module 304, active manager 305, and logging modle 306.301 input keyboards being above-mentioned accompanying drawing 2,302 ~ 306 for being arranged on the module of target terminal inside.
When terminal system starts or switch a task, active manager 305 can detect this process, and mission bit stream is recorded to logging modle 306.The information of this task and this task context with task before can be recorded by described logging modle 306.The course of work of each module is as follows:
When user presses back spacer 202 or the Menu key 203 of input keyboard 301, input keyboard 301 can pass to key-press event the described button detection module 302 be attached thereto.Described button detection module 302 can detect to determine whether to be that the length of Menu key or back spacer is by operation to key-press event.If so, the described screening module 303 be connected with described button detection module 302 just can communicate with described logging modle 306, obtains the information of a previous or rear nearest task.Finally, the information of the task that described screening module 303 will switch passes to described handover module 304, described handover module 304 just can calling system API(ApplicationProgrammingInterface) complete switch operating, and send message notification campaigns manager 305 and do not record this and switch.
Switch a method for nearest task before and after under Android, comprise recording method and changing method.
The flow process of recording method as shown in Figure 4, comprises the following steps:
Step one, terminal control system has detected initiating task or task switch request.
Step 2, judges whether initiating task or task switching are produced by Menu key or back spacer by long, if so, turn next step; If not, go to step four.
Step 3, does not record the mission bit stream in this time calling.Recording method terminates.
Step 4, the mission bit stream during record this time calls, comprises the bag name of program corresponding to task, the configuration information of program.
Step 5, record tandem, needs to use two-way Linked Storage Structure herein, if this task is Already in original storage organization, then by the afterbody of the knot adjustment corresponding to this task to whole storage organization.
The process flow diagram of changing method as shown in Figure 5, comprises the following steps:
Step one, receives the key-press event being passed to button detection module 302 from described input keyboard 301.
Step 2, whether judgment device is screen lock state, if screen lock state, turns next step; If there is no screen locking, go to step four.
Step 3, is left intact.Changing method terminates.
According to key set code, step 4, judges whether key-press event is back spacer or Menu key, if so, turns next step; Otherwise, go to step seven.
Step 5, judge to press be whether long by, when this key-press event is for pressing event (KeyDown), open delay timing in 1 second, if this postpone 1 second in have the event of unclamping (KeyUp) of same key to arrive, be then judged to be short by, turn next step; If not do not arrive, be then judged to be long by, go to step eight.
Step 6, upwards transmits key-press event, in order to avoid interfered with terminal system other parts are to the response of key-press event, then goes to step ten.
Step 7, waits for the arrival of next event, and this step is event-driven.One is gone to step when new events arrives.
Step 8, obtains nearest used mission bit stream from described logging modle 306.
Step 9, judges whether a previous or rear nearest task in addition according to the mission bit stream got in step 8, if do not have, turns next step; If further, then go to step eight.
Step 10, judgement be before one second long by button whether be back spacer, if so, turn next step; If not, be illustrated as Menu key, go to step 12.
Step 11, finds the bag name of previous nearest task, then goes to step 13.
Step 12, finds the bag name of a rear nearest task.
Step 13, informing movement manager does not record ensuing this time blocked operation, then sends switching command.Whole switch operating flow process so far completes.
Can see from the above description, after short keypad event produces from described input keyboard 301, enter described button detection module 302, owing to not meeting the condition returning certain task recently, it upwards transmits by described button detection module 302, make the other parts of terminal system also can continue to make response to this information, make this input system can the input system of complete compatible former terminal system.And long keypad event is after described input keyboard 301 generation, enter described button detection module 302, owing to meeting the condition returning last application program, described screening module 303, handover module 304, logging modle 306 continue to process by operation long, complete and return operation, make the efficiency of task switching and Consumer's Experience be obtained for lifting.
Above content is that the present invention is not limited only to the example of above-mentioned enforcement based on example of the present invention description under the best circumstances, also should comprise the various embodiment doing equivalent transformation according to the present invention.

Claims (1)

1. switch a method for nearest task before and after under Android, apply following system, this system, when user presses back spacer 202 or the Menu key 203 of input keyboard 301, is switched to a previous or rear nearest task,
Comprise: input keyboard 301, button detection module 302, screening module 303, handover module 304, active manager 305, and logging modle 306; Wherein,
Input keyboard 301 is parts that user directly contacts, and is connected with described button detection module 302; For controlling and operating terminal;
Button detection module 302, inputs and is connected with input keyboard 301, exports and connects screening module 303; For detecting the type of button operation and determining how to respond further;
Screening module 303, inputs and is connected with button detection module 302, exports and connects handover module 304 and logging modle 306; For filtering out corresponding task recently, prepare for being switched to this nearest task;
Handover module 304, input connects screening module 303, exports and connects active manager 305; For sending the instruction being switched to certain nearest task, realize the switching of task;
Active manager 305, inputs and is connected with handover module 304, exports and connects logging modle 306; For detecting the information of initiating task or task switching;
Logging modle 306, is connected with active manager 305 with screening module 303; For storing the information of initiating task or task switching and creating the context of each nearest task; Context is the order according to starting, and sets up the context between starting before of task;
It is characterized in that comprising recording method and changing method, wherein,
Recording method is further comprising the steps of:
Step one, terminal control system detects the system call starting new task or task switch;
Step 2, judges whether initiating task or task switching are produced by Menu key or back spacer by long, if so, turn next step; If not, go to step four;
Step 3, do not record the mission bit stream in this time calling, recording method terminates;
Step 4, the mission bit stream during record this time calls, comprises the bag name of program corresponding to task, the configuration information of program;
Step 5, according to the order started, sets up the context between starting before of task; Need to use two-way Linked Storage Structure, if this task is Already in original storage organization, then by the afterbody of the knot adjustment corresponding to this task to whole storage organization herein;
Changing method is further comprising the steps of:
Step one, receives the key-press event being passed to button detection module 302 from input keyboard 301;
Step 2, whether judgment device is screen lock state, if screen lock state, turns next step; If there is no screen locking, go to step four;
Step 3, is left intact, and changing method terminates;
According to key set code, step 4, judges whether key-press event is back spacer or Menu key, if so, turns next step; Otherwise, go to step seven;
Step 5, judge to press be whether long by, when this key-press event is for pressing event, open delay timing in 1 second, if having the event of unclamping of same key to arrive in this 1 second of postponing, be then judged to be short by, turn next step; If not do not arrive, be then judged to be long by, go to step eight;
Step 6, upwards transmits key-press event, in order to avoid interfered with terminal system other parts are to the response of key-press event, then goes to step ten;
Step 7, waits for the arrival of next event, and this step is event-driven; One is gone to step when new events arrives;
Step 8, obtains nearest used mission bit stream from logging modle 306;
Step 9, judges whether a previous or rear nearest task in addition according to the mission bit stream got in step 8, if do not have, turns next step; If further, then go to step eight;
Step 10, judgement be before one second long by button whether be back spacer, if so, turn next step; If not, be illustrated as Menu key, go to step 12;
Step 11, finds the bag name of previous nearest task, then goes to step 13;
Step 12, finds the bag name of a rear nearest task;
Step 13, informing movement manager 305 does not record ensuing this time blocked operation, then sends switching command.
CN201310164555.5A 2013-05-07 2013-05-07 Terminal control system and the method for nearest task is switched before and after under a kind of Android Expired - Fee Related CN103257829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310164555.5A CN103257829B (en) 2013-05-07 2013-05-07 Terminal control system and the method for nearest task is switched before and after under a kind of Android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310164555.5A CN103257829B (en) 2013-05-07 2013-05-07 Terminal control system and the method for nearest task is switched before and after under a kind of Android

Publications (2)

Publication Number Publication Date
CN103257829A CN103257829A (en) 2013-08-21
CN103257829B true CN103257829B (en) 2015-12-09

Family

ID=48961773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310164555.5A Expired - Fee Related CN103257829B (en) 2013-05-07 2013-05-07 Terminal control system and the method for nearest task is switched before and after under a kind of Android

Country Status (1)

Country Link
CN (1) CN103257829B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593241A (en) * 2013-11-19 2014-02-19 中标软件有限公司 Android vehicle-mounted system and application program fast switching method thereof
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
CN103677587B (en) * 2013-12-11 2017-07-11 Tcl集团股份有限公司 The method and system of main interface are switched fast in a kind of android system
CN105589633A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Terminal application switching method and device
CN105677190A (en) * 2016-02-25 2016-06-15 广东欧珀移动通信有限公司 Application switching method and system of intelligent terminal
CN106371820A (en) * 2016-08-21 2017-02-01 乐视控股(北京)有限公司 Key response method and apparatus, and mobile terminal
CN109213329A (en) * 2018-08-30 2019-01-15 中新工程技术研究院有限公司 A kind of multi-functional rollback key operation method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936848A (en) * 2005-09-23 2007-03-28 英业达股份有限公司 Application programe switch-over method and system
CN101132586A (en) * 2006-08-23 2008-02-27 三星电子株式会社 Multitask managing apparatus and method in mobile communication system
CN102065182A (en) * 2010-12-28 2011-05-18 上海华勤通讯技术有限公司 Method for quickly starting mobile phone application
CN102572566A (en) * 2011-12-24 2012-07-11 张伟明 Method for selecting application functions of intelligent device through remote controller and intelligent device
CN103019841A (en) * 2012-11-23 2013-04-03 广东欧珀移动通信有限公司 Method and terminal of quickly switching application programs
CN103076961A (en) * 2012-12-21 2013-05-01 广东欧珀移动通信有限公司 Fast application switching method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW588284B (en) * 2002-11-12 2004-05-21 Mitac Technology Corp Computer real-time power-on system and method
US7324082B2 (en) * 2004-05-11 2008-01-29 Inventec Corporation Portable data processing device with one touch control and switching method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936848A (en) * 2005-09-23 2007-03-28 英业达股份有限公司 Application programe switch-over method and system
CN101132586A (en) * 2006-08-23 2008-02-27 三星电子株式会社 Multitask managing apparatus and method in mobile communication system
CN102065182A (en) * 2010-12-28 2011-05-18 上海华勤通讯技术有限公司 Method for quickly starting mobile phone application
CN102572566A (en) * 2011-12-24 2012-07-11 张伟明 Method for selecting application functions of intelligent device through remote controller and intelligent device
CN103019841A (en) * 2012-11-23 2013-04-03 广东欧珀移动通信有限公司 Method and terminal of quickly switching application programs
CN103076961A (en) * 2012-12-21 2013-05-01 广东欧珀移动通信有限公司 Fast application switching method and system

Also Published As

Publication number Publication date
CN103257829A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN103257829B (en) Terminal control system and the method for nearest task is switched before and after under a kind of Android
CN103076973B (en) A kind of windows switching method, system and intelligent terminal
CN104346050B (en) A kind of information processing method and electronic equipment
CN104598134B (en) The fingerprint operating method and system of a kind of mobile terminal
CN103067784B (en) A kind of virtual key method and television set based on touch-screen television set
CN103019596B (en) A kind of method and mobile terminal realizing operation of virtual key based on touch screen
CN102664983B (en) Method and device for implementation of one touch dial
CN109981878A (en) A kind of method and device of management of icons
CN104699392B (en) A kind of method, apparatus and intelligent terminal for preventing false triggering touch key-press
CN103246445B (en) The changing method of application program and communication terminal
CN105511781B (en) Start the method, apparatus and user equipment of application program
CN102929425B (en) A kind of touch key control method and device
CN103218138A (en) Touch terminal and switching method of application programs thereof
WO2012113302A1 (en) Software switching method and apparatus
CN102624977A (en) System and method for switching mobile phone interfaces according to hands use habit of user
CN106371901A (en) Application switching method and apparatus
CN105472111A (en) Touch screen terminal key function switching method and apparatus
CN106095227A (en) Desktop wallpaper changing method and device
CN104168385A (en) Double card switchover method and device
CN106598467A (en) Mobile terminal and screen control method and system thereof
CN112764891B (en) Electronic terminal and method for controlling application
CN104991732A (en) Method for realizing second function of key and system of integrative machine
CN106484304A (en) The control method, system of touch panel device brightness and volume and touch panel device
CN106708369A (en) Application switching method for mobile terminal, and mobile terminal
CN102929530A (en) Touch screen operation processing method and system on basis of mobile terminal and mobile terminal

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151209

Termination date: 20200507

CF01 Termination of patent right due to non-payment of annual fee