WO2017124803A1 - 操作应用的切换方法及装置 - Google Patents

操作应用的切换方法及装置 Download PDF

Info

Publication number
WO2017124803A1
WO2017124803A1 PCT/CN2016/103605 CN2016103605W WO2017124803A1 WO 2017124803 A1 WO2017124803 A1 WO 2017124803A1 CN 2016103605 W CN2016103605 W CN 2016103605W WO 2017124803 A1 WO2017124803 A1 WO 2017124803A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
switching
operational
terminal
pressure value
Prior art date
Application number
PCT/CN2016/103605
Other languages
English (en)
French (fr)
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 WO2017124803A1 publication Critical patent/WO2017124803A1/zh

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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for switching an operational application.
  • the embodiment of the invention provides a method and a device for switching an operation application, so as to at least solve the problem that the handover operation between the operation applications in the related art in the related art is complicated.
  • a method for switching an operation application including: acquiring a pressure value of a pressing operation on a screen of a terminal; determining whether the pressure value exceeds a preset threshold; and when the determination result is yes, The first operation application that the terminal is displaying switches to the second operation application, wherein the second operation application is a specified operation application among the plurality of operation applications that are operated before the first operation application.
  • the obtaining the pressure value of the pressing operation on the screen of the terminal comprises: acquiring a pressure value of the pressing operation on the physical touch button in the terminal screen; and/or acquiring the pressing operation at the terminal a pressure value on a virtual touch button of the display interface in the screen; and/or obtaining a pressure value on the non-virtual touch button of the display interface of the pressing operation in the terminal screen.
  • the switching the first operation application that the terminal is displaying to the second operation application comprises: acquiring a plurality of prompt messages corresponding to the plurality of operation applications that are operated before the first operation application; The first operation application switches to a second operation application corresponding to the most recent prompt message.
  • the switching the first operation application that the terminal is displaying to the second operation application comprises: acquiring an operation record of the plurality of operation applications that are operated before the first operation application; The operation application switches to the second operation application corresponding to the most recent operation record.
  • the switching the first operation application that the terminal is displaying to the second operation application includes: acquiring the terminal The number of times each operation application is operated; an icon of a predetermined number of operation applications whose number of operations is advanced; a second operation application for switching the first operation application is selected from the displayed operation applications.
  • the method before switching the current operation application to the specified operation application, the method further includes: displaying display information for prompting whether to switch the current operation application.
  • a switching apparatus for operating an application comprising: an obtaining module configured to acquire a pressure value of a pressing operation on a screen of the terminal; and a determining module configured to determine whether the pressure value exceeds a pre- Setting a threshold; the switching module is configured to switch, when the determination result is yes, the first operation application that the terminal is displaying to the second operation application, wherein the second operation application is before the first operation application The specified operational application of the plurality of operational applications being operated.
  • the acquiring module includes: a first acquiring unit configured to acquire a pressure value of the physical touch button of the pressing operation in the terminal screen; and/or a second acquiring unit configured to acquire Pressing a pressure value on a virtual touch button of the display interface in the terminal screen; and/or a third acquisition unit configured to acquire a non-virtual touch of the display interface of the pressing operation in the terminal screen The pressure value on the button.
  • the switching module includes: a fourth acquiring unit, configured to acquire a plurality of prompt messages corresponding to the plurality of operation applications that are operated before the first operation application; and an extracting unit configured to extract the The first operation prompts the last previous application message; the first switching unit is configured to switch the first operation application to the second operation application corresponding to the most recent prompt message.
  • the switching module includes: a fifth acquiring unit, configured to acquire an operation record of the plurality of operation applications that are operated before the first operation application; and a second switching unit configured to set the first operation The application switches to the second operational application corresponding to the most recent operational record.
  • a terminal comprising the switching device of the operational application of any of the above.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the second operational application is a designated operational application of the plurality of operational applications that were operated prior to the first operational application.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the current operation application when the pressure value of the pressing operation on the terminal screen exceeds the preset threshold, the current operation application is switched to the specified operation application; that is, the embodiment does not require other key operations to exit the current application.
  • the operation application that needs to be opened is selected, and the specified operation application among the plurality of operation applications that are currently operated recently is directly switched, thereby solving the problem that the switching operation between the operation applications in the related technology is complicated, and the user experience is improved.
  • FIG. 1 is a flowchart of a handover method of an operation application according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of a switching device for operating an application according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of a switching device for operating an application according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of a switching device for operating an application according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of a switching device for operating an application according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a current application and a recent message prompting application switching according to an alternative embodiment of the present invention
  • FIG. 7 is a flow diagram of an inter-application fast switching function in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for switching an operation application according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 Acquire a pressure value of a pressing operation on a screen of the terminal
  • Step S104 determining whether the pressure value exceeds a preset threshold
  • Step S106 When the determination result is yes, the first operation application that the terminal is displaying is switched to the second operation application, wherein the second operation application is a specified operation among the plurality of operation applications that are operated before the first operation application. application.
  • step S102 to the step S106 of the embodiment when the pressure value of the pressing operation on the terminal screen exceeds the preset threshold, the current operation application is switched to the designated operation application; that is, the embodiment does not require other key operations to exit.
  • the operation application that needs to be opened is selected, and the specified operation application among the multiple operation applications that are currently operated recently is directly switched, thereby solving the problem that the switching operation between the operation applications in the related technology is complicated, and improving the user experience. effect.
  • the preset threshold value involved in the embodiment may be correspondingly determined according to actual conditions, and the specified operation application in the embodiment may be the last time the operation message of the prompt message appears or the last time the operation is performed.
  • the following two specified operations are taken as an example to describe the embodiment in detail;
  • the manner of obtaining the pressure value of the pressing operation on the screen of the terminal involved in step S102 of the embodiment may be implemented as follows:
  • Method 1 obtaining a pressure value on a physical touch button of a pressing operation in a terminal screen
  • Manner 2 obtaining a pressure value on a virtual touch button of a display interface of the pressing operation in the terminal screen;
  • Mode 3 Acquire a pressure value on a non-virtual touch button of the display interface of the pressing operation in the terminal screen.
  • the pressure sensor can obtain the pressure value on the physical touch button, such as the Home button of the Apple mobile phone; or the pressure value on the virtual touch button, for example, the virtual on some desks of the desk.
  • the specified operation application may be the operation application of the last occurrence of the prompt message
  • the manner in which the first operation application that the terminal is displaying is switched to the second operation application in step S106 in this embodiment may be implemented as follows:
  • Step S106-1 acquiring a plurality of prompt messages corresponding to the plurality of operation applications that are operated before the first operation application;
  • Step S106-2 Switching the first operation application to the second operation application corresponding to the most recent prompt message.
  • step S106-1 to step S106-2 it can be known from step S106-1 to step S106-2 that after the pressure value exceeds the preset threshold, the current first operation should be directly Switch to the action application that last appeared the prompt message.
  • the current user operates the Phoenix network client, and when browsing the news, the terminal WeChat client prompts someone to send WeChat.
  • the application (Phoenix) switches to the WeChat chat interface.
  • the manner of switching the first operation application that the terminal is displaying to the second operation application involved in the step S106 in the step S106 of the embodiment may be implemented as follows:
  • Step S106-3 acquiring an operation record of the plurality of operation applications that are operated before the first operation application
  • Step S106-4 Switching the first operation application to the second operation application corresponding to the latest operation record.
  • step S106-3 and step S106-4 after the pressure value exceeds the preset threshold, the current first operation application is directly switched to the operation application of the latest operation record.
  • the current user operates the Phoenix network client, and when browsing the news, the terminal WeChat client prompts someone to send WeChat.
  • the application (Phoenix) switches to the WeChat chat interface of the most recent application before operating Phoenix.
  • the switching of the first operation application displayed by the terminal to the second operation application includes:
  • Step S108 Acquire the number of times each operation application in the terminal is operated
  • Step S110 displaying an icon of a predetermined number of operation applications with the number of operations being advanced;
  • Step S112 Select a second operation application for switching the first operation application from the displayed operation applications.
  • the method before switching the current operation application to the specified operation application, the method further includes: displaying display information for prompting whether to switch the current operation application.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a switching device for operating an application is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: an obtaining module 22 configured to acquire a pressure value of a pressing operation on a screen of the terminal; a determining module 24, and obtaining The module 22 is coupled and configured to determine whether the pressure value exceeds a preset threshold.
  • the switching module 26 is coupled to the determining module 24 and configured to be When the determination result is YES, the first operation application that the terminal is displaying is switched to the second operation application, wherein the second operation application is the specified operation application among the plurality of operation applications that are operated before the first operation application.
  • FIG. 3 is a block diagram of an optional structure of a switching device for operating an application according to an embodiment of the present invention.
  • the acquiring module 22 includes: a first acquiring unit 32 configured to acquire an entity of a pressing operation in a terminal screen. Touching a pressure value on the button; and/or, the second obtaining unit 34 is configured to acquire a pressure value on the virtual touch button of the display interface of the pressing operation in the terminal screen; and/or, the third obtaining unit 36 is configured to Obtaining a pressure value on a non-virtual touch button that presses a display interface in the terminal screen.
  • the switching module 26 includes: a fourth obtaining unit 42 configured to acquire and be used before the first operating application.
  • the plurality of operation messages of the operation are corresponding to the plurality of prompt messages;
  • the extracting unit 44 is coupled to the fourth obtaining unit 42 and configured to extract the last prompt message before the first operating application;
  • the first switching unit 46, and the extracting unit 44 coupled to set the first operational application to switch to a second operational application corresponding to the most recent prompt message.
  • FIG. 5 is a block diagram 3 of an optional structure of a switching apparatus for operating an application according to an embodiment of the present invention.
  • the switching module 26 includes: a fifth obtaining unit 52 configured to be operated before being acquired by the first operating application.
  • the second switching unit 54 is coupled to the fifth acquisition unit 52 and configured to switch the first operation application to the second operation application corresponding to the most recent operation record.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the optional embodiment takes the Menu key as an example (the key can be a physical touch button with a silk screen or a virtual button on the display area), and explains how to implement the current application and the recent pressure data on the key.
  • the message prompts the function of switching between applications.
  • FIG. 6 is a flowchart of switching between a current application and a recent message prompting application according to an alternative embodiment of the present invention. As shown in FIG. 6, the steps of the process include:
  • Step S602 the pressure sensor captures pressure data in real time
  • Step S604 it is determined whether the captured Menu key pressure exceeds the threshold P; if not returned to step S602, if there is step S606;
  • Step S606 switching from the current application to the last application that has been recently operated.
  • FIG. 7 is a flowchart of a fast switching function between applications according to an alternative embodiment of the present invention. As shown in FIG. 7, the process includes:
  • Step S702 the pressure sensor captures pressure data in real time
  • Step S704 determining whether the captured Menu key pressure exceeds the threshold P; if not returning to step S702, if yes, executing step S706;
  • Step S706 switching from the current application to the last application that has been recently operated. That is, fast switching between the current application and the previous application is achieved.
  • the pressure data and the touch button are combined to realize the function of fast switching between applications, thereby improving the user experience.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the current operation application is switched to the specified operation application; that is, the other buttons are not needed in this embodiment.
  • the operation application that needs to be opened is selected, and the specified operation application among the plurality of operation applications that are currently operated recently is directly switched, thereby solving the problem that the switching operation between the operation applications in the related technology is complicated, and the user is improved. The effect of the experience.

Abstract

本发明提供了一种操作应用的切换方法及装置,其中,该方法包括:获取终端屏幕上按压操作的压力值;判断压力值是否超过预设阈值;在判断结果为是时,将终端正在显示的第一操作应用切换到第二操作应用,其中,第二操作应用为在第一操作应用之前被操作的多个操作应用中的指定操作应用。通过本发明,解决了相关技术中操作应用间的切换操作复杂的问题。

Description

操作应用的切换方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种操作应用的切换方法及装置。
背景技术
随着终端性能的不断提高,终端的应用已经深入到人们生活的各个方面,针对各方面的都推出了相应的操作应用;用户在操作终端时,大多会涉及到多个操作应用之间的来回切换,也就是说,用户可能同时在兼顾多个应用的操作,例如,在同时兼顾两个应用,如一边玩着某个游戏,一边在使用微信来发信息时,采用先按返回/Home键,退出当前应用,之后再打开要操作的另外一个应用,或者是采用点击Menu键,然后再选择之前操作的那个应用,可见相关技术中的技术方案在两个或多个应用间切换的操作比较复杂。
针对相关技术中的上述问题,目前尚未存在有效的解决方案。
发明内容
本发明实施例提供了一种操作应用的切换方法及装置,以至少解决相关技术中相关技术中操作应用间的切换操作复杂的问题。
根据本发明实施例的一个方面,提供了一种操作应用的切换方法,包括:获取终端屏幕上按压操作的压力值;判断所述压力值是否超过预设阈值;在判断结果为是时,将所述终端正在显示的第一操作应用切换到第二操作应用,其中,所述第二操作应用为在所述第一操作应用之前被操作的多个操作应用中的指定操作应用。
可选地,所述获取终端屏幕上按压操作的压力值包括:获取所述按压操作在所述终端屏幕中的实体触摸按键上的压力值;和/或,获取所述按压操作在所述终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,获取所述按压操作在所述终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
可选地,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:获取与在所述第一操作应用之前被操作的多个操作应用对应的多个提示消息;将所述第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
可选地,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:获取在所述第一操作应用之前被操作的多个操作应用的操作记录;将所述第一操作应用切换到与最近一次操作记录对应的第二操作应用。
可选地,在所述终端中不存在操作应用的提示消息以及操作应用的操作记录时,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:获取所述终端中每个操作应用被操作的次数;显示被操作次数靠前的预定数量的操作应用的图标;从显示的操作应用中选择用于切换所述第一操作应用的第二操作应用。
可选地,在将当前操作应用切换到指定操作应用之前,所述方法还包括:显示用于提示是否要切换当前操作应用的显示信息。
根据本发明实施例的另一个方面,提供了一种操作应用的切换装置,包括:获取模块,设置为获取终端屏幕上按压操作的压力值;判断模块,设置为判断所述压力值是否超过预设阈值;切换模块,设置为在判断结果为是时,将所述终端正在显示的第一操作应用切换到第二操作应用,其中,所述第二操作应用为在所述第一操作应用之前被操作的多个操作应用中的指定操作应用。
可选地,所述获取模块包括:第一获取单元,设置为获取所述按压操作在所述终端屏幕中的实体触摸按键上的压力值;和/或,第二获取单元,设置为获取所述按压操作在所述终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,第三获取单元,设置为获取所述按压操作在所述终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
可选地,所述切换模块包括:第四获取单元,设置为获取与在所述第一操作应用之前被操作的多个操作应用对应的多个提示消息;提取单元,设置为提取在所述第一操作应用之前最近一次的提示消息;第一切换单元,设置为将所述第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
可选地,所述切换模块包括:第五获取单元,设置为获取在所述第一操作应用之前被操作的多个操作应用的操作记录;第二切换单元,设置为将所述第一操作应用切换到与最近一次操作记录对应的第二操作应用。
根据本发明实施例的再一个方面,提供了一种终端,包括上述任一项的操作应用的切换装置。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:
获取终端屏幕上按压操作的压力值;判断所述压力值是否超过预设阈值;在判断结果为是时,将所述终端正在显示的第一操作应用切换到第二操作应用,其中,所述第二操作应用为在所述第一操作应用之前被操作的多个操作应用中的指定操作应用。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
获取所述按压操作在所述终端屏幕中的实体触摸按键上的压力值;和/或,获取所述按压操作在所述终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,获取所述按压操作在所述终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
获取与在所述第一操作应用之前被操作的多个操作应用对应的多个提示消息;将所述第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
获取在所述第一操作应用之前被操作的多个操作应用的操作记录;将所述第一操作应用切换到与最近一次操作记录对应的第二操作应用。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
获取所述终端中每个操作应用被操作的次数;显示被操作次数靠前的预定数量的操作应用的图标;从显示的操作应用中选择用于切换所述第一操作应用的第二操作应用。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:
在将当前操作应用切换到指定操作应用之前,显示用于提示是否要切换当前操作应用的显示信息。
在本发明实施例中,采用在终端屏幕上按压操作的压力值超过预设阈值时,将当前操作应用切换到指定操作应用;也就是说,本实施例不需要其他按键操作退出当前应用之后再选择需要打开的操作应用,而是直接切换当前最近操作的多个操作应用中的指定操作应用,从而解决了相关技术中操作应用间的切换操作复杂的问题,提高了用户的体验效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的操作应用的切换方法的流程图;
图2是根据本发明实施例的操作应用的切换装置的结构框图;
图3是根据本发明实施例的操作应用的切换装置的可选结构框图一;
图4是根据本发明实施例的操作应用的切换装置的可选结构框图二;
图5是根据本发明实施例的操作应用的切换装置的可选结构框图三;
图6是根据本发明可选实施例的当前应用与最近有消息提示应用间切换的流程图;
图7是根据本发明可选实施例的应用间快速切换功能的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种操作应用的切换方法,图1是根据本发明实施例的操作应用的切换方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102:获取终端屏幕上按压操作的压力值;
步骤S104:判断压力值是否超过预设阈值;
步骤S106:在判断结果为是时,将终端正在显示的第一操作应用切换到第二操作应用,其中,第二操作应用为在第一操作应用之前被操作的多个操作应用中的指定操作应用。
通过本实施例的步骤S102至步骤S106,采用在终端屏幕上按压操作的压力值超过预设阈值时,将当前操作应用切换到指定操作应用;也就是说,本实施例不需要其他按键操作退出当前应用之后再选择需要打开的操作应用,而是直接切换当前最近操作的多个操作应用中的指定操作应用,从而解决了相关技术中操作应用间的切换操作复杂的问题,提高了用户的体验效果。
需要说明的是,本实施例中涉及到的预设阈值可以根据实际情况进行相应的取值,以及本实施实例中的指定操作应用可以是最近一次出现提示消息的操作应用或者是最近一次被操作的操作应用,下面以上述两种指定操作为例,对本实施例进行详细的说明;
在本实施例的可选实施方式中,本实施例步骤S102中涉及到的获取终端屏幕上按压操作的压力值的方式,可以通过如下方式来实现:
方式一:获取按压操作在终端屏幕中的实体触摸按键上的压力值;
方式二:获取按压操作在终端屏幕中的显示界面的虚拟触摸按键上的压力值;
方式三:获取按压操作在终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
由上述三种方式可知,本实施例中可以通过压力传感器在实体触摸按键上获取压力值,例如苹果手机的Home键;或在虚拟触摸按键上的压力值,例如某些安桌终端上的虚拟返回键或主菜单键等等,或非虚拟触摸按键上的压力值,例如触摸屏的显示界面上的任一或指定区域上的压力值。
在指定操作应用可以是最近一次出现提示消息的操作应用时,本实施例中步骤S106涉及到的将终端正在显示的第一操作应用切换到第二操作应用的方式,可以通过如下方式来实现:
步骤S106-1:获取与在第一操作应用之前被操作的多个操作应用对应的多个提示消息;
步骤S106-2:将第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
由步骤S106-1至步骤S106-2可知,是在压力值超过预设阈值后,直接将当前第一操作应 用切换到最近一次出现提示消息的操作应用。例如,当前用户操作的是凤凰网客户端,而在浏览新闻的时候,终端微信客户端提示有人发来微信,此刻用户可以通过上述三种方式,在压力值超过预设阈值后,将当前操作的应用(凤凰网)切换到微信聊天界面。
而在指定操作应用是是最近一次被操作的操作应用时,本实施例步骤S106中涉及到的将终端正在显示的第一操作应用切换到第二操作应用的方式,可以通过如下方式来实现:
步骤S106-3:获取在第一操作应用之前被操作的多个操作应用的操作记录;
步骤S106-4:将第一操作应用切换到与最近一次操作记录对应的第二操作应用。
由步骤S106-3和步骤S106-4可知,是在压力值超过预设阈值后,直接将当前第一操作应用切换到最近一次操作记录的操作应用。例如,当前用户操作的是凤凰网客户端,而在浏览新闻的时候,终端微信客户端提示有人发来微信,此刻用户可以通过上述三种方式,在压力值超过预设阈值后,将当前操作的应用(凤凰网)切换到在操作凤凰网之前最近一次的操作应用的微信聊天界面。
而对于本实施实例中的指定操作应用为最近一次出现提示消息的操作应用或者是最近一次被操作的操作应用时,且在终端中不存在操作应用的提示消息以及操作应用的操作记录时,将终端正在显示的第一操作应用切换到第二操作应用包括:
步骤S108:获取终端中每个操作应用被操作的次数;
步骤S110:显示被操作次数靠前的预定数量的操作应用的图标;
步骤S112:从显示的操作应用中选择用于切换第一操作应用的第二操作应用。
而在本实施例的另一个可选实施方式中,在将当前操作应用切换到指定操作应用之前,方法还包括:显示用于提示是否要切换当前操作应用的显示信息。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。
在本实施例中还提供了一种操作应用的切换装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的操作应用的切换装置的结构框图,如图2所示,该装置包括:获取模块22,设置为获取终端屏幕上按压操作的压力值;判断模块24,与获取模块22耦合连接,设置为判断压力值是否超过预设阈值;切换模块26,与判断模块24耦合连接,设置为 在判断结果为是时,将终端正在显示的第一操作应用切换到第二操作应用,其中,第二操作应用为在第一操作应用之前被操作的多个操作应用中的指定操作应用。
图3是根据本发明实施例的操作应用的切换装置的可选结构框图一,如图3所示,该获取模块22包括:第一获取单元32,设置为获取按压操作在终端屏幕中的实体触摸按键上的压力值;和/或,第二获取单元34,设置为获取按压操作在终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,第三获取单元36,设置为获取按压操作在终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
图4是根据本发明实施例的操作应用的切换装置的可选结构框图二,如图4所示,该切换模块26包括:第四获取单元42,设置为获取与在第一操作应用之前被操作的多个操作应用对应的多个提示消息;提取单元44,与第四获取单元42耦合连接,设置为提取在第一操作应用之前最近一次的提示消息;第一切换单元46,与提取单元44耦合连接,设置为将第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
图5是根据本发明实施例的操作应用的切换装置的可选结构框图三,如图5所示,该切换模块26包括:第五获取单元52,设置为获取在第一操作应用之前被操作的多个操作应用的操作记录;第二切换单元54,与第五获取单元52耦合连接,设置为将第一操作应用切换到与最近一次操作记录对应的第二操作应用。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
下面结合本发明的可选实施例对本发明进行详细描述;
实施例一
本可选实施例以Menu键为例(该键可以是带丝印的实体触摸按键,也可以是显示区域上的虚拟按键),来阐述如何通过该键上的压力数据来实现当前应用与最近有消息提示应用间切换的功能。
图6是根据本发明可选实施例的当前应用与最近有消息提示应用间切换的流程图,如图6所示,该流程的步骤包括:
步骤S602,压力传感器实时捕获压力数据;
步骤S604,判断捕捉到的Menu键压力是否超过阈值P;如果没有返回步骤S602,如果有执行步骤S606;
步骤S606,从当前应用切换到最近操作过的上一应用。
实施例二
本实施例,Menu键为例来阐述如何通过该键上的压力数据来实现当前应用和最近操作过 的上一应用间切换的方式,图7是根据本发明可选实施例的应用间快速切换功能的流程图,如图7所示,该流程包括:
步骤S702:压力传感器实时捕获压力数据;
步骤S704:判断捕捉到的Menu键压力是否超过阈值P;如果没有返回步骤S702,如果有则执行步骤S706;
步骤S706,从当前应用切换到最近操作过的上一应用。即实现当前应用与上一应用间的快速切换。
通过本可选实施例,采用压力数据与触摸按键相结合来实现应用间快速切换的功能,提高了用户体验。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1:获取终端屏幕上按压操作的压力值;
S2:判断压力值是否超过预设阈值;
S3:在判断结果为是时,将终端正在显示的第一操作应用切换到第二操作应用,其中,第二操作应用为在第一操作应用之前被操作的多个操作应用中的指定操作应用。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
在本发明实施例的操作应用的切换过程中,采用在终端屏幕上按压操作的压力值超过预设阈值时,将当前操作应用切换到指定操作应用;也就是说,本实施例不需要其他按键操作退出当前应用之后再选择需要打开的操作应用,而是直接切换当前最近操作的多个操作应用中的指定操作应用,从而解决了相关技术中操作应用间的切换操作复杂的问题,提高了用户 的体验效果。

Claims (11)

  1. 一种操作应用的切换方法,包括:
    获取终端屏幕上按压操作的压力值;
    判断所述压力值是否超过预设阈值;
    在判断结果为是时,将所述终端正在显示的第一操作应用切换到第二操作应用,其中,所述第二操作应用为在所述第一操作应用之前被操作的多个操作应用中的指定操作应用。
  2. 根据权利要求1所述的方法,其中,所述获取终端屏幕上按压操作的压力值包括:
    获取所述按压操作在所述终端屏幕中的实体触摸按键上的压力值;和/或,
    获取所述按压操作在所述终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,
    获取所述按压操作在所述终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
  3. 根据权利要求1所述的方法,其中,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:
    获取与在所述第一操作应用之前被操作的多个操作应用对应的多个提示消息;
    将所述第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
  4. 根据权利要求1所述的方法,其中,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:
    获取在所述第一操作应用之前被操作的多个操作应用的操作记录;
    将所述第一操作应用切换到与最近一次操作记录对应的第二操作应用。
  5. 根据权利要求3或4所述的方法,其中,在所述终端中不存在操作应用的提示消息以及操作应用的操作记录时,所述将所述终端正在显示的第一操作应用切换到第二操作应用包括:
    获取所述终端中每个操作应用被操作的次数;
    显示被操作次数靠前的预定数量的操作应用的图标;
    从显示的操作应用中选择用于切换所述第一操作应用的第二操作应用。
  6. 根据权利要求1所述的方法,其中,在将当前操作应用切换到指定操作应用之前,所述方法还包括:
    显示用于提示是否要切换当前操作应用的显示信息。
  7. 一种操作应用的切换装置,包括:
    获取模块,设置为获取终端屏幕上按压操作的压力值;
    判断模块,设置为判断所述压力值是否超过预设阈值;
    切换模块,设置为在判断结果为是时,将所述终端正在显示的第一操作应用切换到第二操作应用,其中,所述第二操作应用为在所述第一操作应用之前被操作的多个操作应用中的指定操作应用。
  8. 根据权利要求7所述的装置,其中,所述获取模块包括:
    第一获取单元,设置为获取所述按压操作在所述终端屏幕中的实体触摸按键上的压力值;和/或,
    第二获取单元,设置为获取所述按压操作在所述终端屏幕中的显示界面的虚拟触摸按键上的压力值;和/或,
    第三获取单元,设置为获取所述按压操作在所述终端屏幕中的显示界面的非虚拟触摸按键上的压力值。
  9. 根据权利要求7所述的装置,其中,所述切换模块包括:
    第四获取单元,设置为获取与在所述第一操作应用之前被操作的多个操作应用对应的多个提示消息;
    提取单元,设置为提取在所述第一操作应用之前最近一次的提示消息;
    第一切换单元,设置为将所述第一操作应用切换到与最近一次的提示消息对应的第二操作应用。
  10. 根据权利要求7所述的装置,其中,所述切换模块包括:
    第五获取单元,设置为获取在所述第一操作应用之前被操作的多个操作应用的操作记录;
    第二切换单元,设置为将所述第一操作应用切换到与最近一次操作记录对应的第二操作应用。
  11. 一种终端,包括权利要求7至10任一项的装置。
PCT/CN2016/103605 2016-01-20 2016-10-27 操作应用的切换方法及装置 WO2017124803A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610040894.6 2016-01-20
CN201610040894.6A CN106990945A (zh) 2016-01-20 2016-01-20 操作应用的切换方法及装置

Publications (1)

Publication Number Publication Date
WO2017124803A1 true WO2017124803A1 (zh) 2017-07-27

Family

ID=59361394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103605 WO2017124803A1 (zh) 2016-01-20 2016-10-27 操作应用的切换方法及装置

Country Status (2)

Country Link
CN (1) CN106990945A (zh)
WO (1) WO2017124803A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678546A (zh) * 2017-09-26 2018-02-09 歌尔科技有限公司 虚拟场景切换方法及头戴显示设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336687A (zh) * 2013-06-17 2013-10-02 深圳市金立通信设备有限公司 一种应用界面的切换方法及终端
CN104615494A (zh) * 2015-01-24 2015-05-13 陆俊 一种移动终端及应用切换的方法
CN104991700A (zh) * 2015-06-29 2015-10-21 陆俊 一种移动终端应用切换的方法及移动终端
CN105045514A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种应用进程管理方法及终端
CN105094618A (zh) * 2015-08-25 2015-11-25 努比亚技术有限公司 管理后台应用程序的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699369A (zh) * 2009-11-18 2010-04-28 英华达(南昌)科技有限公司 一种用于电子设备压力触发装置和包含所述装置的电子设备
CN102541399A (zh) * 2010-12-20 2012-07-04 联想(北京)有限公司 电子设备及其显示切换方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336687A (zh) * 2013-06-17 2013-10-02 深圳市金立通信设备有限公司 一种应用界面的切换方法及终端
CN104615494A (zh) * 2015-01-24 2015-05-13 陆俊 一种移动终端及应用切换的方法
CN104991700A (zh) * 2015-06-29 2015-10-21 陆俊 一种移动终端应用切换的方法及移动终端
CN105094618A (zh) * 2015-08-25 2015-11-25 努比亚技术有限公司 管理后台应用程序的方法及装置
CN105045514A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种应用进程管理方法及终端

Also Published As

Publication number Publication date
CN106990945A (zh) 2017-07-28

Similar Documents

Publication Publication Date Title
CN104935491B (zh) 一种发送表情图像的方法及装置
CN104571498B (zh) 一种应用程序启动方法
US9158409B2 (en) Object determining method, object display method, object switching method and electronic device
CN106201219B (zh) 应用程序功能快捷调用方法及系统
JP6337115B2 (ja) アプリケーションプログラム制御方法および関連装置
WO2019109976A1 (zh) 多媒体文件播放记录保存方法、终端及存储介质
CN105867925A (zh) 一种快捷方式建立方法和电子设备
CN106462320B (zh) 启动任务管理界面的方法、装置及设备
CN107066188B (zh) 一种发送截屏图片的方法及终端
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
WO2017166464A1 (zh) 一种信息交互的方法及终端
CN107193553A (zh) 按键控制方法及装置
CN104539791A (zh) 在通信终端中进行即时通信的方法及装置
CN110955374A (zh) 消息展示方法及装置
CN106598405A (zh) 一种终端设备及其动态调节控件位置的方法
WO2016155145A1 (zh) 信息共享方法和装置
CN112540821A (zh) 信息发送方法和电子设备
CN115051965B (zh) 一种控制视频播放的方法、装置、计算设备及存储介质
CN112711366A (zh) 图像生成方法、装置和电子设备
WO2017124803A1 (zh) 操作应用的切换方法及装置
CN105786321B (zh) 一种功能切换方法和装置
WO2023138184A1 (zh) 提示信息的显示方法、装置和存储介质及电子设备
CN102917320A (zh) 语音短信的发送方法及设备
WO2022267433A1 (zh) 视频资源处理方法及装置
CN113852540B (zh) 信息发送方法、信息发送装置和电子设备

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: 16886063

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: 16886063

Country of ref document: EP

Kind code of ref document: A1