CN104765524A - Method and device for switching applications - Google Patents
Method and device for switching applications Download PDFInfo
- Publication number
- CN104765524A CN104765524A CN201510098904.7A CN201510098904A CN104765524A CN 104765524 A CN104765524 A CN 104765524A CN 201510098904 A CN201510098904 A CN 201510098904A CN 104765524 A CN104765524 A CN 104765524A
- Authority
- CN
- China
- Prior art keywords
- application program
- program interface
- screen
- mobile terminal
- sliding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000001514 detection method Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 2
- 241000238558 Eucarida Species 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及终端技术领域,尤其涉及一种切换应用程序的方法及装置。Embodiments of the present invention relate to the technical field of terminals, and in particular to a method and device for switching application programs.
背景技术Background technique
随着移动终端技术的迅速发展,移动智能终端的应用越来越广泛。目前的移动终端通常只能在前台运行一个应用程序,当用户需要切换应用程序时,首先要退出当前应用程序的运行界面,返回到终端的主界面,然后在主界面中选择目标应用程序对应的图标,点击该图标以完成应用程序的切换;或者,通过长按Home键或者双击Home键,在屏幕上显示近期任务,在近期任务中选择目标应用程序对应的图标,点击该图标以完成应用程序的切换。With the rapid development of mobile terminal technology, the application of mobile smart terminals is becoming more and more extensive. The current mobile terminal usually can only run one application program in the foreground. When the user needs to switch the application program, he must first exit the running interface of the current application program, return to the main interface of the terminal, and then select the target application program in the main interface. icon, click the icon to complete the application switching; or, by long pressing the Home button or double-clicking the Home button, the recent tasks will be displayed on the screen, select the icon corresponding to the target application in the recent tasks, and click the icon to complete the application switch.
上述切换应用程序的方式已经被用户所熟知,但是,切换流程较为繁琐,给用户带来了不便。The foregoing manner of switching application programs is well known to users, however, the switching process is relatively cumbersome, which brings inconvenience to users.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种切换应用程序的方法及装置,以简化切换应用程序的流程,提高切换应用程序的效率。In view of this, embodiments of the present invention provide a method and device for switching applications, so as to simplify the process of switching applications and improve the efficiency of switching applications.
第一方面,本发明实施例提供了一种切换应用程序的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for switching applications, the method comprising:
检测用户对移动终端的屏幕中显示的Home键的滑动操作;Detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal;
根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面。According to the detected sliding operation, switch the application program interface currently displayed on the screen.
进一步地,所述滑动操作包括向左滑动或者向右滑动。Further, the sliding operation includes sliding to the left or sliding to the right.
进一步地,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面包括:Further, according to the detected sliding operation, switching the application program interface currently displayed on the screen includes:
当用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离大于或者等于设定阈值时,切换所述屏幕中当前显示的应用程序界面。When the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal is greater than or equal to the set threshold, switch the application program interface currently displayed on the screen.
进一步地,切换所述屏幕中当前显示的应用程序界面包括:Further, switching the application program interface currently displayed on the screen includes:
当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;When the sliding operation is sliding to the left, switching the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface;
当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。When the sliding operation is sliding to the right, the currently displayed application program interface on the screen is switched to the next application program interface of the currently displayed application program interface.
进一步地,当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面包括:Further, when the sliding operation is sliding to the left, switching the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface includes:
当所述滑动操作为向左滑动时,判断所述屏幕中当前显示的应用程序界面的上一个应用程序界面是否为空;When the sliding operation is sliding to the left, it is judged whether the previous application program interface of the currently displayed application program interface in the screen is empty;
如果所述屏幕中当前显示的应用程序界面的上一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;If the previous application program interface of the currently displayed application program interface in the screen is not empty, then switch the currently displayed application program interface in the described screen to the previous application program interface of the currently displayed application program interface;
当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面包括:When the sliding operation is sliding to the right, switching the currently displayed application program interface to the next application program interface of the currently displayed application program interface includes:
当所述滑动操作为向右滑动时,判断所述屏幕中当前显示的应用程序界面的下一个应用程序界面是否为空;When the sliding operation is sliding to the right, it is judged whether the next application program interface of the currently displayed application program interface in the screen is empty;
如果所述屏幕中当前显示的应用程序界面的下一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。If the application program interface next to the currently displayed application program interface on the screen is not empty, switch the currently displayed application program interface to the next application program interface to the currently displayed application program interface.
进一步地,在检测用户对移动终端的屏幕中显示的Home键的滑动操作之前,还包括:Further, before detecting the sliding operation of the Home button displayed on the screen of the mobile terminal by the user, it also includes:
记录用户触碰移动终端的屏幕的第一指纹;Record the first fingerprint of the user touching the screen of the mobile terminal;
检测用户对移动终端的屏幕中显示的Home键的滑动操作包括:Detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal includes:
接收用户触碰移动终端的屏幕的信号;Receive a signal that the user touches the screen of the mobile terminal;
根据所述信号,识别用户触碰移动终端的屏幕的第二指纹;According to the signal, identifying the second fingerprint of the user touching the screen of the mobile terminal;
当所述第二指纹与所述第一指纹相同时,检测用户对移动终端的屏幕中显示的Home键的滑动操作。When the second fingerprint is the same as the first fingerprint, detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal.
第二方面,本发明实施例还提供了一种切换应用程序的装置,所述装置包括:In the second aspect, the embodiment of the present invention also provides a device for switching applications, the device comprising:
检测模块,用于检测用户对移动终端的屏幕中显示的Home键的滑动操作;A detection module, configured to detect the user's sliding operation on the Home button displayed on the screen of the mobile terminal;
切换模块,用于根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面。The switching module is configured to switch the application program interface currently displayed on the screen according to the detected sliding operation.
进一步地,所述滑动操作包括向左滑动或者向右滑动。Further, the sliding operation includes sliding to the left or sliding to the right.
进一步地,所述切换模块具体用于当用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离大于或者等于设定阈值时,切换所述屏幕中当前显示的应用程序界面。Further, the switching module is specifically configured to switch the application program interface currently displayed on the screen when the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal is greater than or equal to a set threshold.
进一步地,所述切换模块包括:Further, the switching module includes:
第一切换子模块,用于当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;The first switching submodule is configured to switch the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface when the sliding operation is sliding to the left;
第二切换子模块,用于当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。The second switching submodule is configured to switch the application program interface currently displayed on the screen to the application program interface next to the currently displayed application program interface when the sliding operation is sliding to the right.
进一步地,所述第一切换子模块包括:Further, the first switching submodule includes:
第一判断单元,用于当所述滑动操作为向左滑动时,判断所述屏幕中当前显示的应用程序界面的上一个应用程序界面是否为空;A first judging unit, configured to judge whether the previous application program interface of the currently displayed application program interface in the screen is empty when the sliding operation is sliding to the left;
第一处理单元,用于如果所述屏幕中当前显示的应用程序界面的上一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;The first processing unit is configured to switch the application program interface currently displayed on the screen to the upper one of the currently displayed application program interface if the previous application program interface of the currently displayed application program interface on the screen is not empty an API;
所述第二切换子模块包括:The second switching submodule includes:
第二判断单元,用于当所述滑动操作为向右滑动时,判断所述屏幕中当前显示的应用程序界面的下一个应用程序界面是否为空;The second judging unit is configured to judge whether the next application program interface of the currently displayed application program interface in the screen is empty when the sliding operation is sliding to the right;
第二处理单元,用于如果所述屏幕中当前显示的应用程序界面的下一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。The second processing unit is configured to switch the application program interface currently displayed on the screen to the next application program interface currently displayed on the screen if the application program interface next to the currently displayed application program interface is not empty. An API.
进一步地,还包括:Further, it also includes:
记录模块,用于记录用户触碰移动终端的屏幕的第一指纹;A recording module, configured to record the first fingerprint of the user touching the screen of the mobile terminal;
所述检测模块包括:The detection module includes:
接收子模块,用于接收用户触碰移动终端的屏幕的信号;The receiving submodule is used to receive a signal that the user touches the screen of the mobile terminal;
识别子模块,用于根据所述信号,识别用户触碰移动终端的屏幕的第二指纹;The identification submodule is used to identify the second fingerprint of the user touching the screen of the mobile terminal according to the signal;
检测子模块,用于当所述第二指纹与所述第一指纹相同时,检测用户对移动终端的屏幕中显示的Home键的滑动操作。The detection submodule is configured to detect the user's sliding operation on the Home button displayed on the screen of the mobile terminal when the second fingerprint is the same as the first fingerprint.
本发明实施例提供的切换应用程序的方法及装置,通过检测用户对移动终端的屏幕中显示的Home键的滑动操作,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。The method and device for switching application programs provided by the embodiments of the present invention detect the sliding operation of the Home button displayed on the screen of the mobile terminal by the user, and switch the application program interface currently displayed on the screen according to the detected sliding operation, The process of switching applications is simplified, and the efficiency of switching applications is improved.
附图说明Description of drawings
图1是本发明实施例一提供的一种切换应用程序的方法的流程图;FIG. 1 is a flow chart of a method for switching application programs provided by Embodiment 1 of the present invention;
图2是本发明实施例二提供的一种切换应用程序的方法的流程图;FIG. 2 is a flowchart of a method for switching application programs provided by Embodiment 2 of the present invention;
图3是本发明实施例三提供的一种切换应用程序的方法的流程图;FIG. 3 is a flow chart of a method for switching application programs provided by Embodiment 3 of the present invention;
图4是本发明实施例四提供的一种切换应用程序的方法的流程图;FIG. 4 is a flow chart of a method for switching application programs provided by Embodiment 4 of the present invention;
图5是本发明实施例五提供的一种切换应用程序的装置的示意图。FIG. 5 is a schematic diagram of an apparatus for switching application programs provided by Embodiment 5 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.
实施例一Embodiment one
图1是本发明实施例一提供的一种切换应用程序的方法的流程图,本实施例可适用于切换移动终端中的应用程序,该方法可以由移动终端来执行,具体包括如下步骤:Fig. 1 is a flow chart of a method for switching application programs provided by Embodiment 1 of the present invention. This embodiment is applicable to switching application programs in a mobile terminal. The method can be executed by a mobile terminal, and specifically includes the following steps:
步骤110,检测用户对移动终端的屏幕中显示的Home键的滑动操作。Step 110, detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal.
其中,Home键是微软Windows操作系统、苹果iOS操作系统、谷歌安卓操作系统中具有返回功能的键。在苹果iOS操作系统中,按一次Home键,返回主界面;双击Home键,出现后台运行程序;长按Home键,在iPhone3GS(第三代)和iPhone4(第四代)中会开启语音控制,在iPhone4S(第五代)、iPhone5(第六代)、第三地与第四代iPad中会开启Siri语音助手。在谷歌安卓操作系统中,按一次Home键返回主屏幕,或者进入所有应用程序界面;长按Home键,显示打开的应用程序。Wherein, the Home key is a key with a return function in the Microsoft Windows operating system, the Apple iOS operating system, and the Google Android operating system. In the Apple iOS operating system, press the Home button once to return to the main interface; double-click the Home button, and the background running program will appear; long press the Home button, and the voice control will be turned on in iPhone3GS (third generation) and iPhone4 (fourth generation). Siri voice assistant will be turned on in iPhone4S (fifth generation), iPhone5 (sixth generation), third and fourth generation iPads. In the Google Android operating system, press the Home button once to return to the main screen, or enter the interface of all applications; press and hold the Home button to display the open applications.
移动终端随时监测用户对移动终端的屏幕中显示的Home键的滑动操作,其中,用户对移动终端的屏幕中显示的Home键的滑动操作可以包括:由Home键向Home键左侧滑动、由Home键向Home键右侧滑动、由Home键向Home键上侧滑动、由Home键向Home键下侧滑动等等。优选的,所述滑动操作包括向左滑动或者向右滑动。其中,所述向左滑动即由Home键向Home键左侧滑动,所述向右滑动即由Home键向Home键右侧滑动。The mobile terminal monitors the user's sliding operation on the Home button displayed on the screen of the mobile terminal at any time, wherein the user's sliding operation on the Home button displayed on the screen of the mobile terminal may include: sliding from the Home button to the left side of the Home button, and sliding from the Home button to the left. key slides to the right of the Home key, slides from the Home key to the upper side of the Home key, slides from the Home key to the lower side of the Home key, and so on. Preferably, the sliding operation includes sliding to the left or sliding to the right. Wherein, the sliding to the left means sliding from the Home key to the left of the Home key, and the sliding to the right means sliding from the Home key to the right of the Home key.
步骤120,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面。Step 120, switch the application program interface currently displayed on the screen according to the detected sliding operation.
可以指定每一种滑动操作与切换应用程序界面的对应方法,例如:检测到的滑动操作为由Home键向Home键上侧滑动时,可以将所述屏幕中当前显示的应用程序界面切换为当前应用程序的上一个应用程序的界面;检测到的滑动操作为由Home键向Home键下侧滑动时,可以将所述屏幕中当前显示的应用程序界面切换为当前应用程序的下一个应用程序的界面;等等。移动终端根据检测到的滑动操作,再对应每一种滑动操作与切换应用程序的对应方法,切换所述屏幕中当前显示的应用程序界面。You can specify the corresponding method of each sliding operation and switching application interface, for example: when the detected sliding operation is sliding from the Home button to the upper side of the Home button, you can switch the currently displayed application interface on the screen to the current The interface of the previous application program of the application program; when the detected sliding operation is sliding from the Home key to the lower side of the Home key, the application program interface currently displayed on the screen can be switched to the next application program of the current application program interface; etc. According to the detected sliding operation, the mobile terminal switches the application program interface currently displayed on the screen corresponding to each sliding operation and the corresponding method of switching the application program.
优选的,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面包括:Preferably, according to the detected sliding operation, switching the application program interface currently displayed on the screen includes:
当用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离大于或者等于设定阈值时,切换所述屏幕中当前显示的应用程序界面。When the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal is greater than or equal to the set threshold, switch the application program interface currently displayed on the screen.
为了避免误操作,只有在用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离大于或者设定阈值时,才切换所述屏幕中当前显示的应用程序界面。其中,用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离可以以像素点为单位,则设定阈值可以为设定个数的像素点。In order to avoid misoperation, only when the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal is greater than or set a threshold, the application program interface currently displayed on the screen is switched. Wherein, the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal may be in pixels, and the set threshold may be a set number of pixels.
本实施例通过检测用户对移动终端的屏幕中显示的Home键的滑动操作,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。In this embodiment, by detecting the sliding operation of the Home button displayed on the screen of the mobile terminal by the user, and switching the application program interface currently displayed in the screen according to the detected sliding operation, the process of switching the application program is simplified and the switching process is improved. application efficiency.
实施例二Embodiment two
图2是本发明实施例二提供的一种切换应用程序的方法的流程图,具体包括如下步骤:Fig. 2 is a flow chart of a method for switching application programs provided by Embodiment 2 of the present invention, which specifically includes the following steps:
步骤210,检测用户对移动终端的屏幕中显示的Home键的滑动操作。Step 210, detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal.
步骤220,当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。Step 220, when the sliding operation is sliding to the left, switch the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface; when the sliding operation is sliding to the right to switch the application program interface currently displayed on the screen to an application program interface next to the currently displayed application program interface.
优选的,当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面包括:Preferably, when the sliding operation is sliding to the left, switching the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface includes:
当所述滑动操作为向左滑动时,判断所述屏幕中当前显示的应用程序界面的上一个应用程序界面是否为空;When the sliding operation is sliding to the left, it is judged whether the previous application program interface of the currently displayed application program interface in the screen is empty;
如果所述屏幕中当前显示的应用程序界面的上一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;如果所述屏幕中当前显示的应用程序界面的上一个应用程序界面为空,则不切换屏幕中当前显示的应用程序界面,即保持屏幕中当前显示的应用程序界面;If the previous application program interface of the currently displayed application program interface in the screen is not empty, then switch the currently displayed application program interface in the described screen to the previous application program interface of the currently displayed application program interface; If the previous application program interface of the application program interface currently displayed on the screen is empty, the application program interface currently displayed on the screen will not be switched, that is, the application program interface currently displayed on the screen will be maintained;
当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面包括:When the sliding operation is sliding to the right, switching the currently displayed application program interface to the next application program interface of the currently displayed application program interface includes:
当所述滑动操作为向右滑动时,判断所述屏幕中当前显示的应用程序界面的下一个应用程序界面是否为空;When the sliding operation is sliding to the right, it is judged whether the next application program interface of the currently displayed application program interface in the screen is empty;
如果所述屏幕中当前显示的应用程序界面的下一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面;如果所述屏幕中当前显示的应用程序界面的下一个应用程序为空,则不切换屏幕中当前显示的应用程序界面,即保持屏幕中当前显示的应用程序界面。If the next application program interface of the currently displayed application program interface in the screen is not empty, then switch the currently displayed application program interface in the described screen to the next application program interface of the currently displayed application program interface; If the application program next to the currently displayed application program interface in the above screen is empty, the currently displayed application program interface in the screen will not be switched, that is, the currently displayed application program interface in the screen will be maintained.
本实施例通过检测用户对移动终端的屏幕中显示的Home键的滑动操作,当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。与实施例一相比,本实施例只有在向左滑动或者向右滑动时,才切换当前显示的应用程序界面。In this embodiment, by detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal, when the sliding operation is sliding to the left, the currently displayed application program interface in the screen is switched to the currently displayed application program interface the previous application program interface; when the sliding operation is sliding to the right, the currently displayed application program interface in the screen is switched to the next application program interface of the currently displayed application program interface, which simplifies the process of switching applications process, improving the efficiency of switching applications. Compared with Embodiment 1, in this embodiment, the currently displayed application program interface is switched only when sliding to the left or sliding to the right.
实施例三Embodiment three
图3是本发明实施例三提供的一种切换应用程序的方法的流程图,具体包括如下步骤:Fig. 3 is a flowchart of a method for switching application programs provided by Embodiment 3 of the present invention, which specifically includes the following steps:
步骤310,检测用户对移动终端的屏幕中显示的Home键的滑动操作。Step 310, detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal.
步骤320,当所述滑动操作为向左滑动且滑动距离大于或等于设定阈值时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;当所述滑动操作为向右滑动且滑动距离大于或等于设定阈值时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。Step 320, when the sliding operation is sliding to the left and the sliding distance is greater than or equal to a set threshold, switch the currently displayed application program interface on the screen to the previous application program interface of the currently displayed application program interface; When the sliding operation is sliding to the right and the sliding distance is greater than or equal to a set threshold, the currently displayed application program interface in the screen is switched to the next application program interface of the currently displayed application program interface.
本实施例通过检测用户对移动终端的屏幕中显示的Home键的滑动操作,当所述滑动操作为向左滑动且滑动距离大于或等于设定阈值时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;当所述滑动操作为向右滑动且滑动距离大于或等于设定阈值时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。与实施例二相比,本实施例只有当滑动距离大于或等于设定阈值时,才切换当前显示的应用程序界面,避免了误操作。In this embodiment, by detecting the user's sliding operation on the Home button displayed on the screen of the mobile terminal, when the sliding operation is sliding to the left and the sliding distance is greater than or equal to the set threshold, the currently displayed application program on the screen will The interface is switched to the previous application interface of the currently displayed application interface; when the sliding operation is sliding to the right and the sliding distance is greater than or equal to the set threshold, the currently displayed application interface on the screen is switched to the current one. The next application program interface of the displayed application program interface simplifies the process of switching applications and improves the efficiency of switching applications. Compared with Embodiment 2, in this embodiment, the currently displayed application program interface is switched only when the sliding distance is greater than or equal to the set threshold, thereby avoiding misoperation.
实施例四Embodiment Four
图4是本发明实施例四提供的一种切换应用程序的方法的流程图,具体包括如下步骤:Fig. 4 is a flowchart of a method for switching application programs provided by Embodiment 4 of the present invention, which specifically includes the following steps:
步骤410,记录用户触碰移动终端的屏幕的第一指纹。Step 410, recording the first fingerprint of the user touching the screen of the mobile terminal.
用户自行选择一个手指,通过触碰移动终端的屏幕将选择的手指的指纹录入移动终端中,移动终端记录用户选择的手指触碰移动终端的屏幕的指纹,记作第一指纹。其中,用户选择的手指尽量不要为经常按Home键所用的手指,以避免误操作。The user selects a finger by himself, and enters the fingerprint of the selected finger into the mobile terminal by touching the screen of the mobile terminal, and the mobile terminal records the fingerprint of the finger selected by the user touching the screen of the mobile terminal as the first fingerprint. Wherein, the finger selected by the user should not be the finger used for frequently pressing the Home button, so as to avoid misuse.
步骤420,接收用户触碰移动终端的屏幕的信号。Step 420, receiving a signal that the user touches the screen of the mobile terminal.
步骤430,根据所述信号,识别用户触碰移动终端的屏幕的第二指纹。Step 430, according to the signal, identify the second fingerprint of the user touching the screen of the mobile terminal.
根据用户触碰移动终端的屏幕的信号,识别该信号中用户触碰移动终端的屏幕的指纹,记作第二指纹。According to the signal of the user touching the screen of the mobile terminal, identify the fingerprint of the user touching the screen of the mobile terminal in the signal, and record it as the second fingerprint.
步骤440,当所述第二指纹与所述第一指纹相同时,检测用户对移动终端的屏幕中显示的Home键的滑动操作。Step 440, when the second fingerprint is the same as the first fingerprint, detect the user's sliding operation on the Home button displayed on the screen of the mobile terminal.
只有当所述第二指纹与所述第一指纹相同时,移动终端才继续检测用户对移动终端的屏幕中显示的Home键的滑动操作,以保证用户用特定的手指来切换应用程序。Only when the second fingerprint is the same as the first fingerprint, the mobile terminal continues to detect the user's sliding operation on the Home button displayed on the screen of the mobile terminal, so as to ensure that the user uses a specific finger to switch applications.
步骤450,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面。Step 450, switch the application program interface currently displayed on the screen according to the detected sliding operation.
本实施例通过记录用户触碰移动终端的屏幕的第一指纹,接收用户触碰移动终端的屏幕的信号,根据所述信号,识别用户触碰移动终端的屏幕的第二指纹,当所述第二指纹与所述第一指纹相同时,检测用户对移动终端的屏幕中显示的Home键的滑动操作,根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。与实施例一相比,本实施例使用特定的手指来切换应用程序。In this embodiment, by recording the first fingerprint of the user touching the screen of the mobile terminal, the signal of the user touching the screen of the mobile terminal is received, and according to the signal, the second fingerprint of the user touching the screen of the mobile terminal is identified. When the second fingerprint is the same as the first fingerprint, detect the sliding operation of the Home button displayed on the screen of the mobile terminal by the user, and switch the application program interface currently displayed in the screen according to the detected sliding operation, which simplifies switching applications. The flow of the program improves the efficiency of switching applications. Compared with Embodiment 1, this embodiment uses a specific finger to switch applications.
实施例五Embodiment five
图5是本发明实施例五提供的一种切换应用程序的装置的示意图。如图5所示,本实施例提供的切换应用程序的装置包括:检测模块510和切换模块520。FIG. 5 is a schematic diagram of an apparatus for switching application programs provided by Embodiment 5 of the present invention. As shown in FIG. 5 , the device for switching application programs provided by this embodiment includes: a detection module 510 and a switching module 520 .
其中,检测模块510用于检测用户对移动终端的屏幕中显示的Home键的滑动操作;切换模块520用于根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面。Wherein, the detection module 510 is used to detect the sliding operation of the Home button displayed on the screen of the mobile terminal by the user; the switching module 520 is used to switch the application program interface currently displayed on the screen according to the detected sliding operation.
优选的,所述滑动操作包括向左滑动或者向右滑动。Preferably, the sliding operation includes sliding to the left or sliding to the right.
优选的,所述切换模块具体用于当用户对移动终端的屏幕中显示的Home键的滑动操作的滑动距离大于或者等于设定阈值时,切换所述屏幕中当前显示的应用程序界面。Preferably, the switching module is specifically configured to switch the application program interface currently displayed on the screen when the sliding distance of the user's sliding operation on the Home button displayed on the screen of the mobile terminal is greater than or equal to a set threshold.
优选的,所述切换模块包括:Preferably, the switching module includes:
第一切换子模块,用于当所述滑动操作为向左滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;The first switching submodule is configured to switch the application program interface currently displayed on the screen to the previous application program interface of the currently displayed application program interface when the sliding operation is sliding to the left;
第二切换子模块,用于当所述滑动操作为向右滑动时,将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。The second switching submodule is configured to switch the application program interface currently displayed on the screen to the application program interface next to the currently displayed application program interface when the sliding operation is sliding to the right.
优选的,所述第一切换子模块包括:Preferably, the first switching submodule includes:
第一判断单元,用于当所述滑动操作为向左滑动时,判断所述屏幕中当前显示的应用程序界面的上一个应用程序界面是否为空;A first judging unit, configured to judge whether the previous application program interface of the currently displayed application program interface in the screen is empty when the sliding operation is sliding to the left;
第一处理单元,用于如果所述屏幕中当前显示的应用程序界面的上一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的上一个应用程序界面;The first processing unit is configured to switch the application program interface currently displayed on the screen to the upper one of the currently displayed application program interface if the previous application program interface of the currently displayed application program interface on the screen is not empty an API;
所述第二切换子模块包括:The second switching submodule includes:
第二判断单元,用于当所述滑动操作为向右滑动时,判断所述屏幕中当前显示的应用程序界面的下一个应用程序界面是否为空;The second judging unit is configured to judge whether the next application program interface of the currently displayed application program interface in the screen is empty when the sliding operation is sliding to the right;
第二处理单元,用于如果所述屏幕中当前显示的应用程序界面的下一个应用程序界面不为空,则将所述屏幕中当前显示的应用程序界面切换至当前显示的应用程序界面的下一个应用程序界面。The second processing unit is configured to switch the application program interface currently displayed on the screen to the next application program interface currently displayed on the screen if the application program interface next to the currently displayed application program interface is not empty. An API.
优选的,还包括:Preferably, it also includes:
记录模块,用于记录用户触碰移动终端的屏幕的第一指纹;A recording module, configured to record the first fingerprint of the user touching the screen of the mobile terminal;
所述检测模块包括:The detection module includes:
接收子模块,用于接收用户触碰移动终端的屏幕的信号;The receiving submodule is used to receive a signal that the user touches the screen of the mobile terminal;
识别子模块,用于根据所述信号,识别用户触碰移动终端的屏幕的第二指纹;The identification submodule is used to identify the second fingerprint of the user touching the screen of the mobile terminal according to the signal;
检测子模块,用于当所述第二指纹与所述第一指纹相同时,检测用户对移动终端的屏幕中显示的Home键的滑动操作。The detection submodule is configured to detect the user's sliding operation on the Home button displayed on the screen of the mobile terminal when the second fingerprint is the same as the first fingerprint.
本实施例通过检测模块检测用户对移动终端的屏幕中显示的Home键的滑动操作,切换模块根据检测到的滑动操作,切换所述屏幕中当前显示的应用程序界面,简化了切换应用程序的流程,提高了切换应用程序的效率。In this embodiment, the detection module detects the sliding operation of the Home button displayed on the screen of the mobile terminal by the user, and the switching module switches the application interface currently displayed in the screen according to the detected sliding operation, which simplifies the process of switching applications. , improving the efficiency of switching applications.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510098904.7A CN104765524A (en) | 2015-03-05 | 2015-03-05 | Method and device for switching applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510098904.7A CN104765524A (en) | 2015-03-05 | 2015-03-05 | Method and device for switching applications |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104765524A true CN104765524A (en) | 2015-07-08 |
Family
ID=53647393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510098904.7A Pending CN104765524A (en) | 2015-03-05 | 2015-03-05 | Method and device for switching applications |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104765524A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094555A (en) * | 2015-07-24 | 2015-11-25 | 努比亚技术有限公司 | Method and device for switching application program through swipe gesture |
CN105138260A (en) * | 2015-07-27 | 2015-12-09 | 努比亚技术有限公司 | Application switching method and terminal |
CN105739782A (en) * | 2016-01-30 | 2016-07-06 | 深圳天珑无线科技有限公司 | Method and system for rapidly switching applications through force touch technology and electronic equipment |
CN105760088A (en) * | 2016-02-02 | 2016-07-13 | 广东欧珀移动通信有限公司 | A processing method and device for operating a main control button |
CN105808103A (en) * | 2016-03-04 | 2016-07-27 | 谭永龙 | Method and device for switching to home screen based on iOS system |
CN105808120A (en) * | 2016-03-07 | 2016-07-27 | 珠海格力电器股份有限公司 | Screen control method and device of touch screen and mobile terminal |
CN105892797A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Desktop display logic control device and method for handheld device |
CN106020947A (en) * | 2016-05-06 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | An application program switching method and device |
WO2017084339A1 (en) * | 2015-11-18 | 2017-05-26 | 乐视控股(北京)有限公司 | Method and device for controlling mobile terminal |
CN107315584A (en) * | 2017-06-19 | 2017-11-03 | 维沃移动通信有限公司 | The switching method and mobile terminal of a kind of mode of operation |
CN108700995A (en) * | 2016-02-15 | 2018-10-23 | 三星电子株式会社 | Electronic equipment and for switch and be aligned its application method |
CN108984095A (en) * | 2018-07-04 | 2018-12-11 | Oppo广东移动通信有限公司 | Gesture interaction method and device, storage medium and electronic equipment |
CN109032475A (en) * | 2018-07-10 | 2018-12-18 | Oppo广东移动通信有限公司 | Apparatus control method, device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765236A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal interface switching method and mobile terminal |
US20140068518A1 (en) * | 2011-10-28 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | Method and device for switching application program of touch screen terminal |
CN104077046A (en) * | 2013-03-27 | 2014-10-01 | 三星电子株式会社 | Method and device for switching tasks |
-
2015
- 2015-03-05 CN CN201510098904.7A patent/CN104765524A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765236A (en) * | 2009-12-23 | 2010-06-30 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal interface switching method and mobile terminal |
US20140068518A1 (en) * | 2011-10-28 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | Method and device for switching application program of touch screen terminal |
CN104077046A (en) * | 2013-03-27 | 2014-10-01 | 三星电子株式会社 | Method and device for switching tasks |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094555A (en) * | 2015-07-24 | 2015-11-25 | 努比亚技术有限公司 | Method and device for switching application program through swipe gesture |
CN105138260A (en) * | 2015-07-27 | 2015-12-09 | 努比亚技术有限公司 | Application switching method and terminal |
WO2017084339A1 (en) * | 2015-11-18 | 2017-05-26 | 乐视控股(北京)有限公司 | Method and device for controlling mobile terminal |
WO2017101403A1 (en) * | 2015-12-15 | 2017-06-22 | 乐视控股(北京)有限公司 | Device and method for controlling desktop presentation logic of handheld device |
CN105892797A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Desktop display logic control device and method for handheld device |
CN105739782A (en) * | 2016-01-30 | 2016-07-06 | 深圳天珑无线科技有限公司 | Method and system for rapidly switching applications through force touch technology and electronic equipment |
CN105760088A (en) * | 2016-02-02 | 2016-07-13 | 广东欧珀移动通信有限公司 | A processing method and device for operating a main control button |
CN108700995A (en) * | 2016-02-15 | 2018-10-23 | 三星电子株式会社 | Electronic equipment and for switch and be aligned its application method |
US11550468B2 (en) | 2016-02-15 | 2023-01-10 | Samsung Electronics Co., Ltd. | Electronic device and method for displaying application used therein |
CN105808103B (en) * | 2016-03-04 | 2018-09-18 | 谭永龙 | A kind of method and apparatus for being switched to main screen based on iOS system |
CN105808103A (en) * | 2016-03-04 | 2016-07-27 | 谭永龙 | Method and device for switching to home screen based on iOS system |
CN105808120A (en) * | 2016-03-07 | 2016-07-27 | 珠海格力电器股份有限公司 | Screen control method and device of touch screen and mobile terminal |
CN106020947A (en) * | 2016-05-06 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | An application program switching method and device |
CN107315584A (en) * | 2017-06-19 | 2017-11-03 | 维沃移动通信有限公司 | The switching method and mobile terminal of a kind of mode of operation |
CN108984095A (en) * | 2018-07-04 | 2018-12-11 | Oppo广东移动通信有限公司 | Gesture interaction method and device, storage medium and electronic equipment |
CN109032475A (en) * | 2018-07-10 | 2018-12-18 | Oppo广东移动通信有限公司 | Apparatus control method, device, storage medium and electronic equipment |
CN109032475B (en) * | 2018-07-10 | 2020-10-09 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104765524A (en) | Method and device for switching applications | |
KR101880653B1 (en) | Device and method for determinating a touch input of terminal having a touch panel | |
CN104598134B (en) | Fingerprint operation method and system of mobile terminal | |
US10739967B2 (en) | Window moving method of mobile device and apparatus thereof | |
WO2015106510A1 (en) | Screen splitting method and device for applications, intelligent terminal and storage medium | |
US20130201118A1 (en) | Method for touch processing and mobile terminal | |
CN104541239A (en) | Text select and enter | |
WO2011038669A1 (en) | Determining object method, object display method, object switch method and electron device | |
CN105425941A (en) | Method and apparatus for preventing erroneous start-up of application in mobile terminal | |
CN105242870A (en) | False touch method and device of terminal with touch screen | |
CN103488419A (en) | Operating method of communication terminal and communication terminal | |
CN108008888A (en) | It is a kind of to be switched fast application program and its method and device at interface | |
CN107273009B (en) | Method and system for rapidly capturing screen of mobile terminal | |
CN102609191A (en) | A mail browsing interaction method for a touch screen mobile phone | |
CN105589642B (en) | Automatic input method switching system and method for palm electronic device | |
KR20130097331A (en) | Apparatus and method for selecting object in device with touch screen | |
CN105892927A (en) | Mobile terminal control method and device | |
CN104866226A (en) | Terminal device and method for controlling same | |
CN103473014A (en) | Multitask switching method and terminal | |
CN104699532A (en) | Method and device for rapidly starting and switching application program | |
CN106850988A (en) | Incoming call processing method, device and terminal | |
CN105468133B (en) | Touch processing method and device | |
CN106020690A (en) | Video picture screenshot method, device and mobile terminal | |
CN105446629A (en) | Content pane switching method, device and terminal | |
CN106775393B (en) | Touch operation control method and device of terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150708 |
|
RJ01 | Rejection of invention patent application after publication |