WO2015184844A1 - Terminal application switching method and device - Google Patents

Terminal application switching method and device Download PDF

Info

Publication number
WO2015184844A1
WO2015184844A1 PCT/CN2015/072177 CN2015072177W WO2015184844A1 WO 2015184844 A1 WO2015184844 A1 WO 2015184844A1 CN 2015072177 W CN2015072177 W CN 2015072177W WO 2015184844 A1 WO2015184844 A1 WO 2015184844A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal application
application
switching
triggering instruction
queue
Prior art date
Application number
PCT/CN2015/072177
Other languages
French (fr)
Chinese (zh)
Inventor
李闻
豆明明
孙勃
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015184844A1 publication Critical patent/WO2015184844A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present application relates to a terminal application technology, and in particular, to a method and device for implementing terminal application switching.
  • smart terminals such as mobile phones, tablets, wearable watches, and wearable glasses have changed people's lives while entering people's lives.
  • a large variety of terminal applications have been developed and utilized for different types of smart terminals.
  • a large number of terminal applications have a good experience for people in smart terminals, and there are also problems affecting user usage.
  • the switching problem of terminal applications is one of them.
  • Switching the terminal application at present, the long-pressing HOME or menu (MENU) button is used to display the running terminal application on the screen, and the terminal application that needs to be switched to the foreground is selected by generating a signal of the mobile terminal application on the touch screen; or
  • the user obtains switching operation information (for example, gesture information) according to the sensor, and sets different gesture information to represent switching of different terminal applications, thereby achieving the purpose of switching the terminal application.
  • switching operation information for example, gesture information
  • the use of the touch screen to select the terminal application for switching requires frequent tapping of the screen, and the efficiency is low; using the sensor to obtain the user operation information requires adding hardware on the terminal and increasing the production cost.
  • the embodiment of the invention provides a method and a device for implementing terminal application switching, so as to solve the technical problem of simplifying the operation process of the terminal application switching and improving the user experience without adding hardware.
  • the present application provides a method for implementing handover of a terminal application, including:
  • the marked terminal application in the foreground is taken as the starting position, and the terminal application for switching is selected from the application queue;
  • switching to the selected terminal application comprises: sending the selected information of the terminal application that performs the handover to the task manager, and the task manager performs the switching of the terminal application.
  • the preset triggering command is:
  • the method further includes: setting an effective duration of the triggering instruction, selecting, according to the triggering instruction, a terminal application that performs switching from the application queue, and if a new triggering instruction is not generated within the effective duration, according to the pre- The switching direction corresponding to the received triggering instruction is set to start with the marked terminal application in the foreground, and the terminal application for switching is selected; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction And continuing to select the terminal application to be switched according to the switching direction corresponding to the preset newly generated triggering instruction, until the set effective time is satisfied, and switching the terminal application according to the selected information of the terminal application that is switched.
  • the present application further provides an apparatus for implementing terminal application switching, including: an acquiring and marking unit, a receiving selecting unit, and a switching unit;
  • Obtaining and marking a unit configured to obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
  • the receiving selection unit is configured to: when receiving the triggering instruction, select a terminal application to be switched from the application queue according to a switching direction corresponding to the preset triggering instruction, with the marked terminal application in the foreground as a starting position;
  • the switching unit is configured to perform switching according to the terminal application selected by the receiving selection unit.
  • the switching unit is configured to send the selected information of the terminal application that is switched to the task manager, so that the task manager performs the switching of the terminal application.
  • the preset triggering instruction is: a preset physical button or a generated combination of physical key combinations.
  • the device further includes an effective duration unit, configured to set an effective duration of the triggering instruction, and when the terminal application for switching is selected from the application queue according to the triggering instruction, if not generated within the effective duration
  • the new trigger command is based on the preset received trigger command pair.
  • the switching direction should be the starting position of the marked terminal application, and the terminal application for switching is selected; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction is newly generated according to the preset
  • the switching direction corresponding to the triggering command continues to select the terminal application for switching, and when the set effective time is satisfied, the terminal application is switched according to the selected information of the terminal application that is switched.
  • the present application also provides a computer program, including program instructions, which can be implemented when the program instructions are executed.
  • the present application also provides a carrier carrying the above computer program.
  • the technical solution provided by the embodiment of the present invention includes: acquiring a running terminal application to generate an application queue, and marking the terminal application in the foreground in the application queue; when receiving the trigger instruction, according to the preset The switching direction corresponding to each triggering instruction is started with the marked terminal application in the foreground, and the terminal application for switching is selected from the application queue; and the selected terminal application is switched.
  • the terminal application is switched in combination with the triggering instruction, and the hardware does not need to be added. Only the triggering command is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improves the user experience of terminal application switching.
  • FIG. 1 is a flowchart of a method for implementing handover of a terminal application according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for implementing terminal application switching according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing handover of a terminal application according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 Obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue.
  • the running terminal application is generally available in the task manager of the system, and the manner of obtaining, the generation of the application queue, and the marking of the terminal application in the foreground are the common technical means of those skilled in the art.
  • the application queue is generally generated directly according to the terminal application running time, or initials sorting, or the application occupying content size, or directly using the list sorting in the task manager. Since the application queue acquires the running terminal application and marks the terminal application in the foreground, the update is performed when the running diagnostic application and the terminal application in the foreground change.
  • Step 101 When receiving the triggering instruction, according to the switching direction corresponding to the preset triggering instruction, the terminal application in the foreground is marked as the starting position, and the terminal application for switching is selected from the application queue.
  • the preset trigger command is: a preset physical key or a combination of physical key combinations.
  • the physical button of the trigger instruction is necessarily a group of buttons similar to the volume increase and decrease, and is set according to the button settings set by the terminal.
  • a set of key combinations for example, using the HOME key or menu (MENU) key in the touch key to press and add the volume increase/decrease key as the key combination, which generates the trigger command required by the embodiment of the present invention (because the volume increase/decrease button is pressed It is used to increase or decrease the volume usage; therefore, it is necessary to process the button signal whose volume is increased or decreased by setting the option to be the signal of the trigger command required by the embodiment of the present invention).
  • the one-trigger command corresponds to one movement in the set direction, that is, when a physical button or a physical button combination is generated to generate a trigger command
  • the terminal application that selects the application queue to switch to the foreground will be from the current position, according to the switching direction corresponding to the button.
  • moving to the corresponding adjacent queue item for example, the terminal application located in the foreground before receiving the trigger instruction, and when receiving the upward trigger instruction, selecting the application queue according to the upward moving direction corresponding to the trigger instruction
  • the nearest terminal application upstream of the queue acts as a diagnostic application that switches to the foreground.
  • Step 102 Switch to the selected terminal application.
  • the step includes: sending the selected information of the terminal application to be switched to the task manager, and the task manager performs switching of the terminal application.
  • the above embodiment further includes: setting an effective duration of the triggering instruction, when selecting a terminal application for switching from the application queue according to the triggering instruction,
  • the terminal application that is switched is selected according to the switching direction corresponding to the preset received trigger command, and the marked terminal application in the foreground is used as the starting position;
  • a new trigger command is generated within the effective time period, and the newly generated trigger command continues to select the terminal application to be switched according to the switching direction corresponding to the preset newly generated trigger command until the set effective time is satisfied, according to the selection.
  • the information of the terminal application that performs the handover performs the switching of the terminal application.
  • the terminal application when the terminal application is selected, by setting the effective duration, it can be determined that the triggering instruction is valid, and the switching is performed. If the terminal that selects the switching needs to perform multiple direction switching, the triggering command is generated again within the effective time. Then select the movement of the terminal application again. After the terminal application that is switched to the foreground is selected, when the effective time is reached, it is determined that the terminal application switches to the foreground.
  • the last selected terminal application is determined to be the terminal application for switching within the effective time; of course, if it is in effect If the reverse direction is selected within the duration, the terminal application that performs the handover is determined, and is determined according to the actual judgment of the effective duration.
  • the terminal application is switched in combination with the triggering instruction, and the hardware does not need to be added. Only the triggering command is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improves the user experience of terminal application switching.
  • FIG. 2 is a structural block diagram of an apparatus for implementing terminal application switching according to an embodiment of the present invention. As shown in FIG. 2, the method includes: an acquiring and marking unit, a receiving selecting unit, and a switching unit;
  • Obtaining and marking a unit configured to obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
  • Receiving a selection unit configured to correspond to a preset triggering instruction when receiving a triggering instruction The switching direction, with the marked terminal application in the foreground as the starting position, and selecting the terminal application to be switched from the application queue;
  • the switching unit is configured to perform switching according to the terminal application selected by the receiving selection unit.
  • the switching unit is configured to send the selected information of the terminal application to be switched to the task manager, so that the task manager performs switching of the terminal application.
  • the preset trigger command is: a preset physical key or a combination of physical key combinations.
  • the device of the embodiment of the present invention further includes an effective duration unit, configured to set an effective duration of the triggering instruction, when selecting a terminal application for switching from the application queue according to the triggering instruction,
  • the terminal application that is switched is selected according to the switching direction corresponding to the preset received trigger command, and the marked terminal application in the foreground is used as the starting position;
  • a new trigger command is generated within the effective time period, and the newly generated trigger command continues to select the terminal application for switching according to the switching direction corresponding to the preset trigger command, until the set effective time is satisfied, and the switch is selected according to the selected.
  • the information of the terminal application is used to switch the terminal application.
  • the running terminal application to generate the application queue, and mark the terminal application in the foreground in the application queue.
  • the generated application queues are arranged in run time order, including five applications: A, B, C, D, and E.
  • the C application is an application running in the foreground, and the application queue is arranged up and down.
  • the user sends a trigger command to select the terminal application through the key combination. Then, C is used as the standard point and B is selected. At the same time, according to the effective duration of the set trigger command, it is assumed to be 500 milliseconds. If the user does not operate within 500 milliseconds. Generate a new button signal (ie, a new trigger command), then when the 500 milliseconds is reached, it is determined that the terminal application switched to the foreground is B;
  • the terminal application that is switched to the foreground is sent to the task manager of the system by the B, the task manager performs the operation of switching the terminal application B to the foreground, and the display interface displays the terminal application B;
  • the application queue is updated, and the terminal application that marks the foreground in the application queue is B, waiting for the next trigger instruction.
  • the terminal application is switched in combination with the triggering instruction, and no hardware is needed, and only the triggering instruction is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improve the user experience of terminal application switching.

Abstract

A terminal application switching method and device, the method comprising: acquiring a currently operating terminal application to generate an application queue, and marking the terminal application at the foreground in the application queue; when receiving a triggering instruction, according to a switching direction corresponding to a preset triggering instruction, utilizing the terminal application marked as being located at the foreground as a starting position, and selecting from the application queue the terminal application to be switched; and switching to the selected terminal application. The technical solution generates an application queue and switches the terminal application in combination with a triggering instruction without adding hardware, thus simply selecting, via a triggering instruction, the application to be switched to the foreground in the application queue, simplifying the switching operation of the terminal application, and improving user experience of the terminal application switching.

Description

一种实现终端应用切换的方法及装置Method and device for realizing terminal application switching 技术领域Technical field
本申请涉及终端应用技术,尤指一种实现终端应用切换的方法及装置。The present application relates to a terminal application technology, and in particular, to a method and device for implementing terminal application switching.
背景技术Background technique
伴随着智能终端设备在最近几年的快速发展和普及,以手机、平板、穿戴式手表、穿戴式眼镜等智能终端,在进入人们生活的同时,改变着人们的生活。针对不同种类的智能终端,大量丰富种类的终端应用被开发和利用。Along with the rapid development and popularization of smart terminal devices in recent years, smart terminals such as mobile phones, tablets, wearable watches, and wearable glasses have changed people's lives while entering people's lives. A large variety of terminal applications have been developed and utilized for different types of smart terminals.
大量的终端应用,在智能终端给人们带来良好体验的同时,也存在影响用户使用的问题,终端应用的切换问题是其中的一个问题。对终端应用进行切换,目前主要采用长按HOME或菜单(MENU)按键,将运行的终端应用显示在屏幕中,通过在触摸屏上产生移动终端应用的信号,选择需要切换到前台的终端应用;或者通过在智能终端上添加传感器硬件,根据传感器获得用户的切换操作信息(例如手势信息),通过设定不同手势信息代表不同终端应用的切换,达到终端应用切换的目的。采用触屏屏选择终端应用进行切换,需要频繁的点击屏幕,效率低;采用传感器获得用户操作信息,需要在终端上添加硬件,增加生产成本。A large number of terminal applications have a good experience for people in smart terminals, and there are also problems affecting user usage. The switching problem of terminal applications is one of them. Switching the terminal application, at present, the long-pressing HOME or menu (MENU) button is used to display the running terminal application on the screen, and the terminal application that needs to be switched to the foreground is selected by generating a signal of the mobile terminal application on the touch screen; or By adding sensor hardware on the smart terminal, the user obtains switching operation information (for example, gesture information) according to the sensor, and sets different gesture information to represent switching of different terminal applications, thereby achieving the purpose of switching the terminal application. The use of the touch screen to select the terminal application for switching requires frequent tapping of the screen, and the efficiency is low; using the sensor to obtain the user operation information requires adding hardware on the terminal and increasing the production cost.
发明内容Summary of the invention
本发明实施例提供一种实现终端应用切换的方法及装置,以解决如何在不需要添加硬件的前提下,简化终端应用切换的操作过程,提高用户体验的技术问题。The embodiment of the invention provides a method and a device for implementing terminal application switching, so as to solve the technical problem of simplifying the operation process of the terminal application switching and improving the user experience without adding hardware.
为了解决该技术问题,本申请提供一种实现终端应用切换的方法;包括:To solve the technical problem, the present application provides a method for implementing handover of a terminal application, including:
获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;Obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
当接收到触发指令时,根据预设的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用; When receiving the triggering instruction, according to the switching direction corresponding to the preset triggering instruction, the marked terminal application in the foreground is taken as the starting position, and the terminal application for switching is selected from the application queue;
切换到选择出的终端应用。Switch to the selected terminal application.
可选地,切换到选择出的终端应用包括:将所述选择的进行切换的终端应用的信息发往任务管理器,任务管理器执行终端应用的切换。Optionally, switching to the selected terminal application comprises: sending the selected information of the terminal application that performs the handover to the task manager, and the task manager performs the switching of the terminal application.
可选地,预设的触发指令为:Optionally, the preset triggering command is:
预先设定的物理按键或物理按键组合的产生的指令。Pre-set physical button or physical button combination generated command.
可选地,所述方法还包括:设定触发指令的生效时长,根据所述触发指令从应用队列中选择进行切换的终端应用,在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的新产生的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。Optionally, the method further includes: setting an effective duration of the triggering instruction, selecting, according to the triggering instruction, a terminal application that performs switching from the application queue, and if a new triggering instruction is not generated within the effective duration, according to the pre- The switching direction corresponding to the received triggering instruction is set to start with the marked terminal application in the foreground, and the terminal application for switching is selected; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction And continuing to select the terminal application to be switched according to the switching direction corresponding to the preset newly generated triggering instruction, until the set effective time is satisfied, and switching the terminal application according to the selected information of the terminal application that is switched.
另一方面,为解决上述技术问题,本申请还提供一种实现终端应用切换的装置,包括:获取及标记单元、接收选择单元和切换单元;其中,On the other hand, in order to solve the above technical problem, the present application further provides an apparatus for implementing terminal application switching, including: an acquiring and marking unit, a receiving selecting unit, and a switching unit;
获取及标记单元,设置为获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;Obtaining and marking a unit, configured to obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
接收选择单元,设置为当接收到触发指令时,根据预设的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用;The receiving selection unit is configured to: when receiving the triggering instruction, select a terminal application to be switched from the application queue according to a switching direction corresponding to the preset triggering instruction, with the marked terminal application in the foreground as a starting position;
切换单元,设置为根据接收选择单元选择出的终端应用进行切换。The switching unit is configured to perform switching according to the terminal application selected by the receiving selection unit.
可选地,切换单元,是设置为将所述选择的进行切换的终端应用的信息发往任务管理器,以使任务管理器执行终端应用的切换。Optionally, the switching unit is configured to send the selected information of the terminal application that is switched to the task manager, so that the task manager performs the switching of the terminal application.
可选地,预设的触发指令为:预先设定的物理按键或物理按键组合的产生的指令。Optionally, the preset triggering instruction is: a preset physical button or a generated combination of physical key combinations.
可选地,该装置还包括生效时长单元,设置为设定所述触发指令的生效时长,当根据所述触发指令从应用队列中选择进行切换的终端应用时,在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对 应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的新产生的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。Optionally, the device further includes an effective duration unit, configured to set an effective duration of the triggering instruction, and when the terminal application for switching is selected from the application queue according to the triggering instruction, if not generated within the effective duration The new trigger command is based on the preset received trigger command pair. The switching direction should be the starting position of the marked terminal application, and the terminal application for switching is selected; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction is newly generated according to the preset The switching direction corresponding to the triggering command continues to select the terminal application for switching, and when the set effective time is satisfied, the terminal application is switched according to the selected information of the terminal application that is switched.
为解决上述技术问题,本申请还提供了一种计算机程序,包括程序指令,当所述程序指令被执行时,可实现上述的方法。In order to solve the above technical problems, the present application also provides a computer program, including program instructions, which can be implemented when the program instructions are executed.
为解决上述技术问题,本申请还提供了一种载有上述计算机程序的载体。In order to solve the above technical problems, the present application also provides a carrier carrying the above computer program.
与相关技术相比,本发明实施例提供的技术方案,包括:获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;当接收到触发指令时,根据预设的各触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用;切换到选择出的终端应用。本发明实施例通过生成应用队列后,结合触发指令进行终端应用的切换,不需要添加硬件,仅需要触发指令即可实现对应用队列中需切换到前台的应用的选择,简化了终端应用切换操作,提高了终端应用切换的用户体验。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: acquiring a running terminal application to generate an application queue, and marking the terminal application in the foreground in the application queue; when receiving the trigger instruction, according to the preset The switching direction corresponding to each triggering instruction is started with the marked terminal application in the foreground, and the terminal application for switching is selected from the application queue; and the selected terminal application is switched. After the application queue is generated, the terminal application is switched in combination with the triggering instruction, and the hardware does not need to be added. Only the triggering command is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improves the user experience of terminal application switching.
附图概述BRIEF abstract
图1为本发明实施例实现终端应用切换的方法的流程图;FIG. 1 is a flowchart of a method for implementing handover of a terminal application according to an embodiment of the present invention;
图2为本发明实施例实现终端应用切换的装置的结构框图。FIG. 2 is a structural block diagram of an apparatus for implementing terminal application switching according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本申请的目的、技术方案和优点更加清楚明白,下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申 请中的实施例及实施例中的特征可以相互任意组合。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that in the absence of conflict, this application The features of the embodiments and the embodiments may be arbitrarily combined with each other.
图1为本发明实施例实现终端应用切换的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing handover of a terminal application according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤100、获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用。Step 100: Obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue.
需要说明的是,正在运行的终端应用一般在系统的任务管理器中可以获得,获取的方式、应用队列的生成及处于前台的终端应用的标记为本领域技术人员的惯用技术手段。应用队列一般根据终端应用运行时间、或首字母排序、或应用占用内容大小、或直接采用任务管理器中的列表排序直接生成。由于应用队列获取的是正在运行的终端应用,标记的是处于前台的终端应用,因此,当正在运行的诊断应用和处于前台的终端应用发生变化时,会进行更新。It should be noted that the running terminal application is generally available in the task manager of the system, and the manner of obtaining, the generation of the application queue, and the marking of the terminal application in the foreground are the common technical means of those skilled in the art. The application queue is generally generated directly according to the terminal application running time, or initials sorting, or the application occupying content size, or directly using the list sorting in the task manager. Since the application queue acquires the running terminal application and marks the terminal application in the foreground, the update is performed when the running diagnostic application and the terminal application in the foreground change.
步骤101、当接收到触发指令时,根据预设的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用。Step 101: When receiving the triggering instruction, according to the switching direction corresponding to the preset triggering instruction, the terminal application in the foreground is marked as the starting position, and the terminal application for switching is selected from the application queue.
预设的触发指令为:预先设定的物理按键或物理按键组合的产生的指令。The preset trigger command is: a preset physical key or a combination of physical key combinations.
需要说明的是,由于应用队列包含向上和向下,或者向左和向右的方向,因此触发指令的物理按键必然是类似于音量增减的一组按键,根据终端设置的按键情况,设定一组按键组合,例如,使用触摸按键中的HOME键或菜单(MENU)键长按加上音量增减键作为按键组合,产生本发明实施例需要的触发指令(由于音量增减按键被按下的时候是用来增大或者减小音量使用;因此,需要通过设置选项,将音量增减的按键信号处理为本发明实施例需要的触发指令的信号)。一般的,一次触发指令对应在设定方向上的一次移动,即发生一次物理按键或物理按键组合产生触发指令时,选择应用队列切换到前台的终端应用会由当前位置,按照按键对应的切换方向,移动到相应的相邻的队列项中,例如,接收到触发指令之前处于位于前台的终端应用,接收到向上的触发指令时,则按照触发指令对应的向上的移动方向,选择应用队列中处于队列上游的最邻近的终端应用作为选择切换到前台的诊断应用。 It should be noted that since the application queue includes upward and downward directions, or directions to the left and right, the physical button of the trigger instruction is necessarily a group of buttons similar to the volume increase and decrease, and is set according to the button settings set by the terminal. A set of key combinations, for example, using the HOME key or menu (MENU) key in the touch key to press and add the volume increase/decrease key as the key combination, which generates the trigger command required by the embodiment of the present invention (because the volume increase/decrease button is pressed It is used to increase or decrease the volume usage; therefore, it is necessary to process the button signal whose volume is increased or decreased by setting the option to be the signal of the trigger command required by the embodiment of the present invention). Generally, the one-trigger command corresponds to one movement in the set direction, that is, when a physical button or a physical button combination is generated to generate a trigger command, the terminal application that selects the application queue to switch to the foreground will be from the current position, according to the switching direction corresponding to the button. And moving to the corresponding adjacent queue item, for example, the terminal application located in the foreground before receiving the trigger instruction, and when receiving the upward trigger instruction, selecting the application queue according to the upward moving direction corresponding to the trigger instruction The nearest terminal application upstream of the queue acts as a diagnostic application that switches to the foreground.
步骤102、切换到选择出的终端应用。Step 102: Switch to the selected terminal application.
本步骤包括:将所述选择的进行切换的终端应用的信息发往任务管理器,任务管理器执行终端应用的切换。The step includes: sending the selected information of the terminal application to be switched to the task manager, and the task manager performs switching of the terminal application.
上述实施例还包括:设定所述触发指令的生效时长,当根据所述触发指令从应用队列中选择进行切换的终端应用时,The above embodiment further includes: setting an effective duration of the triggering instruction, when selecting a terminal application for switching from the application queue according to the triggering instruction,
在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的新产生的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。If a new trigger command is not generated, the terminal application that is switched is selected according to the switching direction corresponding to the preset received trigger command, and the marked terminal application in the foreground is used as the starting position; A new trigger command is generated within the effective time period, and the newly generated trigger command continues to select the terminal application to be switched according to the switching direction corresponding to the preset newly generated trigger command until the set effective time is satisfied, according to the selection. The information of the terminal application that performs the handover performs the switching of the terminal application.
需要说明的是,如果进行终端应用选择时,通过生效时长的设置,可以确定让触发指令生效,执行切换,如果选择切换的终端需要经过多次方向切换,则在生效时长内再次生成触发指令,则进行再一次选择终端应用的移动。直至选择到切换到前台的终端应用后,达到生效时长时,确定终端应用切换到前台。另外,在进行切换过程中,如果应用队列中不存在用户想选择的终端应用时,一般的,选择的最后一个终端应用会在生效时长内被确定为进行切换的终端应用;当然,如果在生效时长内进行反方向选择,则确定进行切换的终端应用,根据生效时长的实际判断确定。It should be noted that, when the terminal application is selected, by setting the effective duration, it can be determined that the triggering instruction is valid, and the switching is performed. If the terminal that selects the switching needs to perform multiple direction switching, the triggering command is generated again within the effective time. Then select the movement of the terminal application again. After the terminal application that is switched to the foreground is selected, when the effective time is reached, it is determined that the terminal application switches to the foreground. In addition, during the handover process, if there is no terminal application that the user wants to select in the application queue, in general, the last selected terminal application is determined to be the terminal application for switching within the effective time; of course, if it is in effect If the reverse direction is selected within the duration, the terminal application that performs the handover is determined, and is determined according to the actual judgment of the effective duration.
本发明实施例通过生成应用队列后,结合触发指令进行终端应用的切换,不需要添加硬件,仅需要触发指令即可实现对应用队列中需切换到前台的应用的选择,简化了终端应用切换操作,提高了终端应用切换的用户体验。After the application queue is generated, the terminal application is switched in combination with the triggering instruction, and the hardware does not need to be added. Only the triggering command is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improves the user experience of terminal application switching.
图2为本发明实施例实现终端应用切换的装置的结构框图,如图2所示,包括:获取及标记单元、接收选择单元和切换单元;其中,2 is a structural block diagram of an apparatus for implementing terminal application switching according to an embodiment of the present invention. As shown in FIG. 2, the method includes: an acquiring and marking unit, a receiving selecting unit, and a switching unit;
获取及标记单元,设置为获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;Obtaining and marking a unit, configured to obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
接收选择单元,设置为当接收到触发指令时,根据预设的触发指令对应 的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用;Receiving a selection unit, configured to correspond to a preset triggering instruction when receiving a triggering instruction The switching direction, with the marked terminal application in the foreground as the starting position, and selecting the terminal application to be switched from the application queue;
切换单元,设置为根据接收选择单元选择出的终端应用进行切换。The switching unit is configured to perform switching according to the terminal application selected by the receiving selection unit.
切换单元是设置为,将所述选择的进行切换的终端应用的信息发往任务管理器,以使任务管理器执行终端应用的切换。The switching unit is configured to send the selected information of the terminal application to be switched to the task manager, so that the task manager performs switching of the terminal application.
预设的触发指令为:预先设定的物理按键或物理按键组合的产生的指令。The preset trigger command is: a preset physical key or a combination of physical key combinations.
本发明实施例装置还包括生效时长单元,设置为设定所述触发指令的生效时长,当根据所述触发指令从应用队列中选择进行切换的终端应用时,The device of the embodiment of the present invention further includes an effective duration unit, configured to set an effective duration of the triggering instruction, when selecting a terminal application for switching from the application queue according to the triggering instruction,
在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。If a new trigger command is not generated, the terminal application that is switched is selected according to the switching direction corresponding to the preset received trigger command, and the marked terminal application in the foreground is used as the starting position; A new trigger command is generated within the effective time period, and the newly generated trigger command continues to select the terminal application for switching according to the switching direction corresponding to the preset trigger command, until the set effective time is satisfied, and the switch is selected according to the selected The information of the terminal application is used to switch the terminal application.
为清楚陈述本发明实施例,以下通过应用示例,对本发明实施例进行详细说明,应用示例只为清楚说明本发明实施例,并不用于限制本发明的保护内容。The embodiments of the present invention are described in detail below with reference to the embodiments of the present invention. The application examples are only for the purpose of clearly illustrating the embodiments of the present invention, and are not intended to limit the protection of the present invention.
首先,获取正在运行的终端应用生成应用队列,并在应用队列中标记处于前台的终端应用。假设生成的应用队列以运行时间顺序排列,包含有A、B、C、D、E五个应用,其中C应用为前台运行的应用,生成应用队列上下排列。First, get the running terminal application to generate the application queue, and mark the terminal application in the foreground in the application queue. Assume that the generated application queues are arranged in run time order, including five applications: A, B, C, D, and E. The C application is an application running in the foreground, and the application queue is arranged up and down.
假设用户通过按键组合发出向上选择终端应用的触发指令,则以C为标准点,选择B,于此同时,根据设定的触发指令的生效时长,假设是500毫秒,如果500毫秒内用户未动作产生新的按键信号(即新的触发指令),则在500毫秒达到时,确定切换到前台的终端应用为B;Suppose the user sends a trigger command to select the terminal application through the key combination. Then, C is used as the standard point and B is selected. At the same time, according to the effective duration of the set trigger command, it is assumed to be 500 milliseconds. If the user does not operate within 500 milliseconds. Generate a new button signal (ie, a new trigger command), then when the 500 milliseconds is reached, it is determined that the terminal application switched to the foreground is B;
将切换到前台的终端应用为B发送给系统的任务管理器,任务管理器执行终端应用B切换到前台的操作,显示界面显示终端应用B;The terminal application that is switched to the foreground is sent to the task manager of the system by the B, the task manager performs the operation of switching the terminal application B to the foreground, and the display interface displays the terminal application B;
切换操作完成时,更新应用队列,和在应用队列中标记前台的终端应用为B,等待下一次触发指令。 When the switching operation is completed, the application queue is updated, and the terminal application that marks the foreground in the application queue is B, waiting for the next trigger instruction.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. The invention is not limited to any specific form of combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案通过生成应用队列后,结合触发指令进行终端应用的切换,不需要添加硬件,仅需要触发指令即可实现对应用队列中需切换到前台的应用的选择,简化了终端应用切换操作,提高了终端应用切换的用户体验。 After the application solution queue is generated, the terminal application is switched in combination with the triggering instruction, and no hardware is needed, and only the triggering instruction is needed to implement the selection of the application to be switched to the foreground in the application queue, which simplifies the terminal application switching operation. Improve the user experience of terminal application switching.

Claims (10)

  1. 一种实现终端应用切换的方法,包括:A method for implementing terminal application switching includes:
    获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;Obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
    当接收到触发指令时,根据预设的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择进行切换的终端应用;When receiving the triggering instruction, according to the switching direction corresponding to the preset triggering instruction, the marked terminal application in the foreground is taken as the starting position, and the terminal application for switching is selected from the application queue;
    切换到选择出的终端应用。Switch to the selected terminal application.
  2. 根据权利要求1所述的方法,其中,所述切换到选择出的终端应用包括:The method of claim 1, wherein the switching to the selected terminal application comprises:
    将所述选择的进行切换的终端应用的信息发往任务管理器,任务管理器执行终端应用的切换。The selected information of the switched terminal application is sent to the task manager, and the task manager performs switching of the terminal application.
  3. 根据权利要求1或2所述的方法,其中,所述预设的触发指令为:The method according to claim 1 or 2, wherein the preset triggering instruction is:
    预先设定的物理按键或物理按键组合的产生的指令。Pre-set physical button or physical button combination generated command.
  4. 根据权利要求1或2所述的方法,还包括:The method of claim 1 or 2, further comprising:
    设定所述触发指令的生效时长,根据所述触发指令从应用队列中选择进行切换的终端应用;在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的新产生的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。Setting a duration of the triggering command, selecting a terminal application to be switched from the application queue according to the triggering instruction; and if a new triggering instruction is not generated within the effective duration, according to the preset received triggering instruction Corresponding switching direction, with the marked terminal application in the foreground as the starting position, selecting the terminal application to be switched; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction is newly generated according to the preset The switching direction corresponding to the triggering command continues to select the terminal application for switching, and when the set effective time is satisfied, the terminal application is switched according to the selected information of the terminal application that is switched.
  5. 一种实现终端应用切换的装置,包括:获取及标记单元、接收选择单元和切换单元;其中,An apparatus for implementing terminal application switching, comprising: an acquiring and marking unit, a receiving selecting unit, and a switching unit; wherein
    获取及标记单元,设置为获取正在运行的终端应用以生成应用队列,并在应用队列中标记处于前台的终端应用;Obtaining and marking a unit, configured to obtain a running terminal application to generate an application queue, and mark the terminal application in the foreground in the application queue;
    接收选择单元,设置为当接收到触发指令时,根据预设的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,从应用队列中选择 进行切换的终端应用;The receiving selection unit is configured to, when receiving the triggering instruction, select a switching direction corresponding to the preset triggering instruction, and use the marked terminal application in the foreground as a starting position, and select from the application queue a terminal application to perform handover;
    切换单元,设置为根据接收选择单元选择出的终端应用进行切换。The switching unit is configured to perform switching according to the terminal application selected by the receiving selection unit.
  6. 根据权利要求5所述的装置,其中,The device according to claim 5, wherein
    所述切换单元,是设置为将所述选择的进行切换的终端应用的信息发往任务管理器,以使任务管理器执行终端应用的切换。The switching unit is configured to send the selected information of the terminal application to be switched to the task manager, so that the task manager performs switching of the terminal application.
  7. 根据权利要求5或6所述的装置,其中,The device according to claim 5 or 6, wherein
    所述预设的触发指令为:预先设定的物理按键或物理按键组合的产生的指令。The preset triggering instruction is: a preset physical button or a generated combination of physical button combinations.
  8. 根据权利要求5或6所述的装置,该装置还包括:The device according to claim 5 or 6, further comprising:
    生效时长单元,设置为设定所述触发指令的生效时长,根据所述触发指令从应用队列中选择进行切换的终端应用;在生效时长内,如果未产生新的触发指令,则根据预设的已接收到的触发指令对应的切换方向,以标记的处于前台的终端应用为起始位置,选择进行切换的终端应用;如果在生效时长内产生新的触发指令,对新产生的触发指令,根据预设的新产生的触发指令对应的切换方向,继续选择进行切换的终端应用,直至满足设定的生效时长时,根据选择的进行切换的终端应用的信息进行终端应用的切换。The effective duration unit is set to set the effective duration of the triggering instruction, and selects a terminal application to be switched from the application queue according to the triggering instruction; if a new triggering instruction is not generated within the effective duration, according to the preset The switching direction corresponding to the received triggering instruction, with the marked terminal application in the foreground as the starting position, selects the terminal application to be switched; if a new triggering instruction is generated within the effective time, the newly generated triggering instruction is based on The switching direction corresponding to the preset newly generated triggering command continues to select the terminal application for switching, and when the set effective time is satisfied, the terminal application is switched according to the selected information of the terminal application that performs the switching.
  9. 一种计算机程序,包括程序指令,当所述程序指令被执行时,可实现权利要求1~4中任一项所述的方法。A computer program comprising program instructions that, when executed, implement the method of any one of claims 1 to 4.
  10. 一种载有权利要求9所述计算机程序的载体。 A carrier carrying the computer program of claim 9.
PCT/CN2015/072177 2014-10-22 2015-02-03 Terminal application switching method and device WO2015184844A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410566246.5A CN105589633A (en) 2014-10-22 2014-10-22 Terminal application switching method and device
CN201410566246.5 2014-10-22

Publications (1)

Publication Number Publication Date
WO2015184844A1 true WO2015184844A1 (en) 2015-12-10

Family

ID=54766075

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072177 WO2015184844A1 (en) 2014-10-22 2015-02-03 Terminal application switching method and device

Country Status (2)

Country Link
CN (1) CN105589633A (en)
WO (1) WO2015184844A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371721A (en) * 2016-08-24 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Application switching method and apparatus, and terminal

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095296A (en) * 2016-06-15 2016-11-09 维沃移动通信有限公司 The changing method of a kind of application program and mobile terminal
CN106484289A (en) * 2016-09-28 2017-03-08 依偎科技(南昌)有限公司 A kind of method and device of application switching
CN106648358A (en) * 2016-11-28 2017-05-10 深圳天珑无线科技有限公司 Quick application switching method and system
CN107643949A (en) * 2017-10-19 2018-01-30 西安小喵信息科技有限公司 Application program switching system and method, storage medium and electronic equipment
CN109753146B (en) * 2018-05-11 2020-07-03 北京字节跳动网络技术有限公司 Method for starting application by mobile terminal and mobile terminal
CN110673897A (en) * 2019-09-27 2020-01-10 深圳传音控股股份有限公司 Physical key function control method and device and computer readable storage medium
CN112905278A (en) * 2021-02-02 2021-06-04 展讯通信(天津)有限公司 Application program switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662584A (en) * 2012-04-01 2012-09-12 北京风灵创景科技有限公司 Multi-application execution method and mobile terminal
CN102981756A (en) * 2012-11-01 2013-03-20 山东大学 Touch screen mobile terminal fast application switch method
CN103294187A (en) * 2012-02-24 2013-09-11 株式会社泛泰 Apparatus and method for switching active application
CN103984598A (en) * 2013-02-07 2014-08-13 宏达国际电子股份有限公司 Method and electronic device for thread scheduling

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8866701B2 (en) * 2011-03-03 2014-10-21 Citrix Systems, Inc. Transparent user interface integration between local and remote computing environments
CN103257829B (en) * 2013-05-07 2015-12-09 北京工业大学 Terminal control system and the method for nearest task is switched before and after under a kind of Android

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294187A (en) * 2012-02-24 2013-09-11 株式会社泛泰 Apparatus and method for switching active application
CN102662584A (en) * 2012-04-01 2012-09-12 北京风灵创景科技有限公司 Multi-application execution method and mobile terminal
CN102981756A (en) * 2012-11-01 2013-03-20 山东大学 Touch screen mobile terminal fast application switch method
CN103984598A (en) * 2013-02-07 2014-08-13 宏达国际电子股份有限公司 Method and electronic device for thread scheduling

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371721A (en) * 2016-08-24 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Application switching method and apparatus, and terminal

Also Published As

Publication number Publication date
CN105589633A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
WO2015184844A1 (en) Terminal application switching method and device
EP3451147B1 (en) Method, device and system for manipulating miracast presentation content
WO2017166621A1 (en) Split-screen displaying method and apparatus, and electronic device
US20150143285A1 (en) Method for Controlling Position of Floating Window and Terminal
WO2017088500A1 (en) Intelligent wearable device and information input method therefor
JP6105822B1 (en) Touch screen control method and apparatus
RU2609101C2 (en) Touch control assembly, device control method, controller and electronic device
CN103793176A (en) Method and device for fast switching between application programs
WO2011150878A2 (en) Touch screen and control method of touch screen
JP2018510395A (en) State switching method, apparatus, program, and recording medium
WO2015117526A1 (en) Touch control processing method and device
US20140215347A1 (en) Portable device and control method thereof
CN105005440A (en) Mobile terminal display interface scroll bar switching method and apparatus and terminal
US20160170596A1 (en) Image display apparatus, image display method, and image-display program product
JP5359826B2 (en) Portable terminal device and function setting method of portable terminal device
CN105335152A (en) Controller for remotely controlling intelligent terminal and remote control method for intelligent terminal
TW201624321A (en) System and method for controlling input of user interface
WO2016041332A1 (en) Method and device for controlling and processing mobile terminal
TWI633463B (en) Text input method
US20120227003A1 (en) Electronic device with function of distinguishing working state of option menus and method thereof
KR20150055498A (en) Method and apparatus for controlling a terminal by using gesture
CN105320688A (en) Setting method and device of background picture of terminal as well as terminal
JP2014228927A (en) Electronic equipment
KR101762329B1 (en) Method for rapid playing smart device application by short user pattern recognition
CN106681630A (en) Operation method and device of mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15802392

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15802392

Country of ref document: EP

Kind code of ref document: A1