CN108200278A - Application running state control method and mobile terminal - Google Patents
Application running state control method and mobile terminal Download PDFInfo
- Publication number
- CN108200278A CN108200278A CN201711458803.1A CN201711458803A CN108200278A CN 108200278 A CN108200278 A CN 108200278A CN 201711458803 A CN201711458803 A CN 201711458803A CN 108200278 A CN108200278 A CN 108200278A
- Authority
- CN
- China
- Prior art keywords
- application
- request
- default
- foreground
- mobile terminal
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
- G06F3/0488—Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例提供了一种应用运行状态控制方法及移动终端,其中,该方法包括:接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,这样用户可以在前台操控其他应用,提升了用户体验;另外,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。
Embodiments of the present invention provide an application running state control method and a mobile terminal, wherein the method includes: receiving a first switching request for a first application and a second application, wherein the first application is an application running in the foreground; If the second application is a preset application, in response to the first switching request, switch the first application to the background and keep running, and switch the second application to the foreground to run. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application is a preset application, the first application that is switched to the background is controlled to continue In this way, the user can control other applications in the foreground, which improves the user experience; in addition, it can ensure that the size of the display interface of the currently controlled application remains unchanged, which improves the user operation experience.
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及一种应用运行状态控制方法及移动终端。The present invention relates to the technical field of mobile terminals, in particular to an application running state control method and a mobile terminal.
背景技术Background technique
目前,随着移动通信技术的快速发展,移动终端(如手机等)已成为人们日常生活中必不可少的电子消费品,随着智能手机越来越普及化,智能手机已经融入生活的各个方面,例如,智能手机已成为人与人之间进行信息交互的主要电子产品。同时,智能手机应用也给更多的服务商带来更多盈利的机会,各服务商开发各自的应用程序,用户将根据各自的实际需求在智能手机中安装相应的应用程序,例如,游戏应用、视频应用、聊天应用、购物应用等等。At present, with the rapid development of mobile communication technology, mobile terminals (such as mobile phones, etc.) have become indispensable electronic consumer goods in people's daily life. As smart phones become more and more popular, smart phones have been integrated into all aspects of life. For example, smart phones have become the main electronic products for information exchange between people. At the same time, smart phone applications also bring more profit opportunities to more service providers. Each service provider develops its own application program, and users will install corresponding application programs in their smartphones according to their actual needs, for example, game applications , video apps, chat apps, shopping apps, and more.
当前,相关技术中提供了一种应用运行状态控制方法,该方法主要是:判断目标应用是否为前台应用,若确定出目标应用为前台应用,则将该目标应用的当前状态设置为运行状态,目标应用的交互界面在显示屏上逐帧展示;若确定目标应用为后台应用,则将该目标应用的当前状态设置为暂停状态(休眠状态),目标应用的交互界面静止不动。其中,在实际操作移动终端的某一应用时,该应用运行过程中可能存在一定的无效信息界面,例如,对于视频应用而言,广告播放界面可以视为无效信息界面,又如,对于游戏应用而言,等待其他参与者操作游戏的过程可以视为无效信息界面,再如,针对任一应用而言,均存在用户不感兴趣或不关注的交互界面,此类交互界面可以视为无效信息界面。针对目标应用正在前台运行且接收到将新的应用切换至前台的指令的情况,由于新的应用被切换至前台,目标应用将被新的应用覆盖,且自动被调至后台,该目标应用将进入暂停状态(休眠状态),因此,只有应用位于前台时,该应用的无效信息界面才能够在显示屏上逐帧展示出来;而一旦应用被调至后台以后,该应用将停留在某一无效信息界面,直到该应用被再次调至前台,将由暂停状态恢复为运行状态。Currently, related technologies provide a method for controlling the running state of an application. The method mainly includes: judging whether the target application is a foreground application, and if it is determined that the target application is a foreground application, setting the current state of the target application as the running state, The interactive interface of the target application is displayed frame by frame on the display screen; if it is determined that the target application is a background application, the current state of the target application is set to a suspended state (sleeping state), and the interactive interface of the target application remains static. Wherein, when an application of the mobile terminal is actually operated, there may be certain invalid information interfaces during the running of the application. For example, for a video application, an advertisement playback interface may be regarded as an invalid information interface. For example, the process of waiting for other participants to operate the game can be regarded as an invalid information interface. For another example, for any application, there are interactive interfaces that users are not interested in or do not pay attention to. Such interactive interfaces can be regarded as invalid information interfaces. . For the situation where the target application is running in the foreground and receives an instruction to switch the new application to the foreground, since the new application is switched to the foreground, the target application will be covered by the new application and automatically transferred to the background, the target application will be Enter the suspended state (sleeping state), therefore, only when the application is in the foreground, the invalid information interface of the application can be displayed frame by frame on the display; and once the application is transferred to the background, the application will stay in an invalid state Information interface, until the application is brought to the foreground again, it will resume from the suspended state to the running state.
综上所述,针对移动终端的任一应用,该应用由前台应用切换为后台应用后,该应用的状态将自动切换至暂停状态。由此可知,只有应用为前台应用时,该应用才能够保持运行,因此,在应用保持运行状态的过程中,用户无法操作其他应用,降低了用户体验。To sum up, for any application of the mobile terminal, after the application is switched from the foreground application to the background application, the state of the application will be automatically switched to the suspended state. It can be seen that the application can keep running only when the application is the foreground application. Therefore, the user cannot operate other applications while the application is in the running state, which reduces the user experience.
发明内容Contents of the invention
本发明实施例的目的是提供一种应用运行状态控制方法及移动终端,以解决在应用保持运行状态的过程中,用户无法操作其他应用,降低了用户体验的问题。The purpose of the embodiments of the present invention is to provide a method for controlling an application running state and a mobile terminal, so as to solve the problem that the user cannot operate other applications while the application is in the running state, which reduces the user experience.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种应用运行状态控制方法,包括:In a first aspect, an embodiment of the present invention provides a method for controlling an application running state, including:
接收针对第一应用和第二应用的第一切换请求,其中,所述第一应用为运行在前台的应用;receiving a first switching request for a first application and a second application, wherein the first application is an application running in the foreground;
若所述第二应用为预设应用,则响应于所述第一切换请求,将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行。If the second application is a preset application, in response to the first switching request, switch the first application to the background and keep running, and switch the second application to the foreground to run.
第二方面,本发明实施例提供了一种移动终端,包括:In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
第一请求接收模块,用于接收针对第一应用和第二应用的第一切换请求,其中,所述第一应用为运行在前台的应用;A first request receiving module, configured to receive a first switching request for a first application and a second application, wherein the first application is an application running in the foreground;
第一控制模块,用于若所述第二应用为预设应用,则响应于所述第一切换请求,将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行。A first control module, configured to, if the second application is a preset application, switch the first application to the background and keep running in response to the first switching request, and switch the second application to the foreground run.
第三方面,本发明实施例提供了一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的应用运行状态控制方法的步骤。In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a memory, a processor, and a computer program stored in the memory and operable on the processor, the computer program being executed by the processor During execution, the steps of the method for controlling the application running state as described in the first aspect are realized.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的应用运行状态控制方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the application running as described in the first aspect is implemented. The steps of the state control method.
本发明实施例中的应用运行状态控制方法及移动终端,接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。The application running state control method and the mobile terminal in the embodiment of the present invention receive a first switching request for a first application and a second application, wherein the first application is an application running in the foreground; if the second application is a preset application , in response to the first switching request, the first application is switched to the background and keeps running, and the second application is switched to the foreground to run. Based on the identification of the first switching request, the second application can be called out and the first application can be closed; if the second application is a preset application, the first application switched to the background is controlled to continue running , therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while a certain application is running, which improves the user's time utilization, thereby improving In addition, for mobile terminals with relatively limited screen size, the simultaneous operation of front and back multi-tasking can ensure that the size of the display interface of the currently controlled application remains unchanged, improving user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in the present invention. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例提供的应用运行状态控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling an application running state provided by an embodiment of the present invention;
图2a为本发明实施例提供的移动终端显示界面的第一种效果示意图;Fig. 2a is a schematic diagram of the first effect of the display interface of the mobile terminal provided by the embodiment of the present invention;
图2b为本发明实施例提供的移动终端前后台应用界面的第一种效果示意图;Fig. 2b is a schematic diagram of the first effect of the front and back application interface of the mobile terminal provided by the embodiment of the present invention;
图2c为本发明实施例提供的移动终端前后台应用界面的第二种效果示意图;Fig. 2c is a schematic diagram of the second effect of the front and back application interface of the mobile terminal provided by the embodiment of the present invention;
图3a为本发明实施例提供的第二应用添加操作的第一种效果示意图;Fig. 3a is a schematic diagram of the first effect of the second application adding operation provided by the embodiment of the present invention;
图3b为本发明实施例提供的第二应用添加操作的第二种效果示意图;Fig. 3b is a schematic diagram of the second effect of the second application adding operation provided by the embodiment of the present invention;
图3c为本发明实施例提供的移动终端显示界面的第二种效果示意图;Fig. 3c is a schematic diagram of the second effect of the display interface of the mobile terminal provided by the embodiment of the present invention;
图3d为本发明实施例提供的移动终端前后台应用界面的第三种效果示意图;Fig. 3d is a schematic diagram of the third effect of the front and back application interface of the mobile terminal provided by the embodiment of the present invention;
图4a为本发明实施例提供的在移动终端的显示屏上执行的触控操作的第一种示意图;FIG. 4a is a first schematic diagram of a touch operation performed on a display screen of a mobile terminal provided by an embodiment of the present invention;
图4b为本发明实施例提供的在移动终端的显示屏上执行的触控操作的第二种示意图;FIG. 4b is a second schematic diagram of a touch operation performed on a display screen of a mobile terminal provided by an embodiment of the present invention;
图5a为本发明实施例提供的在移动终端的显示屏上执行的触控操作的第三种示意图;FIG. 5a is a third schematic diagram of a touch operation performed on a display screen of a mobile terminal provided by an embodiment of the present invention;
图5b为本发明实施例提供的在移动终端的显示屏上执行的触控操作的第四种示意图;FIG. 5b is a fourth schematic diagram of a touch operation performed on a display screen of a mobile terminal provided by an embodiment of the present invention;
图6为本发明实施例提供的移动终端的第一种模块组成示意图;FIG. 6 is a schematic diagram of a first type of module composition of a mobile terminal provided by an embodiment of the present invention;
图7为本发明实施例提供的移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例提供了一种应用运行状态控制方法及移动终端,基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。Embodiments of the present invention provide an application running state control method and a mobile terminal. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application The second application is a default application, and the first application whose control is switched to the background continues to run. Therefore, when the first application is a background application, the first application can also keep running, so that when an application is kept running, Users can operate other applications in the foreground, which improves the user's time utilization and improves user experience; in addition, for mobile terminals with limited screen size, the simultaneous operation of front and back multi-tasking can ensure the current control The size of the display interface of the application remains unchanged, which improves the user operation experience.
本发明实施例中,移动终端可以是手机、对讲机等,以手机为例,图1为本发明实施例提供的应用运行状态控制方法的流程示意图,如图1所示,该方法至少包括以下步骤:In the embodiment of the present invention, the mobile terminal can be a mobile phone, a walkie-talkie, etc. Taking a mobile phone as an example, Figure 1 is a schematic flow chart of the method for controlling the application running state provided by the embodiment of the present invention, as shown in Figure 1, the method includes at least the following steps :
S101,接收针对第一应用和第二应用的第一切换请求,其中,该第一应用为运行在前台的应用,该第一切换请求用于指示调出第二应用。例如,视频应用正在前台运行时,该视频应用开始播放广告,用户需要打开聊天应用,并保持视频应用在后台继续播放广告,此时,用户可以在显示屏上输入第一触控操作,对应的,移动终端将基于该第一触控操作生成第一切换请求,该第一切换请求用于指示将聊天应用调至前台运行。S101. Receive a first switching request for a first application and a second application, where the first application is an application running in the foreground, and the first switching request is used to instruct calling out the second application. For example, when a video application is running in the foreground and the video application starts to play an advertisement, the user needs to open the chat application and keep the video application in the background to continue playing the advertisement. At this time, the user can input the first touch operation on the display screen, and the corresponding , the mobile terminal will generate a first switching request based on the first touch operation, and the first switching request is used to instruct the chat application to be brought into the foreground to run.
S102,若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。仍以上述实例为例,可以将聊天应用预先设置为预设应用,这样在将聊天应用调至前台运行后,自动将视频应用切换至后台并保持运行。S102. If the second application is a preset application, in response to the first switching request, switch the first application to the background and keep running, and switch the second application to the foreground to run. Still taking the above example as an example, the chat application can be preset as a default application, so that after the chat application is brought to the foreground, the video application is automatically switched to the background and keeps running.
在本发明提供的实施例中,接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。In the embodiment provided by the present invention, a first switching request for a first application and a second application is received, wherein the first application is an application running in the foreground; if the second application is a preset application, then in response to the first The switching request switches the first application to the background and keeps running, and switches the second application to the foreground to run. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application is a preset application, the first application that is switched to the background is controlled to continue Therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while a certain application is running, which improves the user's time utilization, thereby The user experience is improved; in addition, for mobile terminals with relatively limited screen size, the simultaneous operation of front and back multi-tasks can ensure that the size of the display interface of the currently controlled application remains unchanged, and the user experience is improved.
其中,针对某一应用而言,该应用所处状态包括:关闭状态、暂停状态(休眠状态)、运行状态,第一应用无论在前台还是在后台均处于运行状态,保持运行是指控制第一应用继续在后台运行。其中,第一应用在后台保持运行时,第一应用的交互界面所在的显示坐标范围不在显示屏的坐标范围之内,此时第二应用的交互界面在显示屏上展示,第一应用的交互界面与第二应用的交互界面无重合区域;或者,第一应用的交互界面所在的显示坐标范围在显示屏的坐标范围之内,此时第二应用的交互界面在显示屏的最上层展示,第一应用的交互界面被第二应用的交互界面无所覆盖,因此,后台运行时第一应用的交互界面无法展示在显示屏,并且第一应用在后台运行时所使用的运行参数与其在前台运行时所使用的运行参数相同。例如,针对移动终端的前台应用,该前台应用正在运行无效信息界面时,可以调出其他应用至前台,以便用户对其他应用进行操作,此时,原前台应用将被移至后台,变为不在显示屏上展示交互界面的后台应用或者变为交互界面不在显示屏最上层的后台应用,同时保持该应用在后台继续运行,这样减少用户等待交互界面在显示屏上逐帧展示的时间。Wherein, for a certain application, the state of the application includes: closed state, suspended state (sleeping state), and running state. The first application is in the running state whether it is in the foreground or in the background. Keeping running refers to controlling the first application. The app continues to run in the background. Wherein, when the first application keeps running in the background, the display coordinate range of the interactive interface of the first application is not within the coordinate range of the display screen. At this time, the interactive interface of the second application is displayed on the display screen, and the interactive interface of the first application There is no overlapping area between the interface and the interactive interface of the second application; or, the display coordinate range of the interactive interface of the first application is within the coordinate range of the display screen, and at this time, the interactive interface of the second application is displayed on the top layer of the display screen, The interactive interface of the first application is not covered by the interactive interface of the second application. Therefore, the interactive interface of the first application cannot be displayed on the display screen when running in the background, and the operating parameters used by the first application when running in the background are different from those in the foreground. The running parameters used at runtime are the same. For example, for the foreground application of a mobile terminal, when the foreground application is running an invalid information interface, other applications can be called to the foreground so that the user can operate other applications. At this time, the original foreground application will be moved to the background and become absent. The background application that displays the interactive interface on the display screen or becomes a background application whose interactive interface is not on the top layer of the display screen, while keeping the application running in the background, so as to reduce the time for the user to wait for the interactive interface to be displayed frame by frame on the display screen.
具体的,上述S102若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行,具体包括:Specifically, in the above S102, if the second application is a preset application, in response to the first switching request, switch the first application to the background and keep running, and switch the second application to the foreground to run, specifically including:
若第二应用为预设应用,响应于第一切换请求,将第一应用由前台栈移至目标栈中,其中,该目标栈为预先创建的且目标栈的层级与前台栈的层级相同,前台栈、目标栈对应的用于指示应用显示界面大小的显示参数均与显示屏大小一致。在具体实施时,目标栈和前台栈是两个不同的栈,采用分栈管理的方式,使得能够同时运行至少两个应用。If the second application is a preset application, in response to the first switching request, move the first application from the foreground stack to the target stack, wherein the target stack is pre-created and the level of the target stack is the same as that of the foreground stack, The display parameters for indicating the size of the application display interface corresponding to the foreground stack and the target stack are all consistent with the size of the display screen. In a specific implementation, the target stack and the foreground stack are two different stacks, and a stack management method is adopted, so that at least two applications can be run simultaneously.
控制第一应用在目标栈中继续运行,以及控制第二应用在前台栈中运行,并且控制第二应用的交互界面在显示屏上展示,控制第一应用的交互界面所在的显示坐标范围不在显示屏的坐标范围之内,或者控制第一应用的交互界面所在的显示坐标范围在显示屏的坐标范围之内且第二应用的交互界面在显示屏的最上层展示。Control the first application to continue running in the target stack, and control the second application to run in the foreground stack, and control the interactive interface of the second application to be displayed on the display screen, and control the display coordinate range of the interactive interface of the first application to not be displayed within the coordinate range of the screen, or the display coordinate range where the interactive interface of the first application is controlled is within the coordinate range of the display screen and the interactive interface of the second application is displayed on the top layer of the display screen.
具体的,由于目标栈的层级与前台栈的层级相同,针对目标栈中包含一个应用的情况,这样位于该目标栈的应用不会因其被调至后台而被遮挡,使其始终处于可见状态,因此,位于该目标栈的应用不会失去焦点,系统自动控制第一应用继续在后台运行;同时,前台栈、目标栈对应的用于指示应用显示界面大小的显示参数均与显示屏大小一致,这样被调至前台的应用的交互界面能够全屏显示。Specifically, since the level of the target stack is the same as that of the foreground stack, for the case that the target stack contains an application, the application located in the target stack will not be blocked because it is transferred to the background, so that it is always visible , therefore, the application located in the target stack will not lose focus, and the system automatically controls the first application to continue running in the background; at the same time, the display parameters corresponding to the foreground stack and target stack used to indicate the size of the application display interface are consistent with the size of the display screen , so that the interactive interface of the application brought to the foreground can be displayed in full screen.
另外,考虑到每个栈可以只包含一个应用,也可以包含多个应用,针对目标栈中包含多个应用的情况,上述将第一应用由前台栈移至目标栈中之后,还包括:In addition, considering that each stack can contain only one application or multiple applications, for the case where the target stack contains multiple applications, after the above-mentioned first application is moved from the foreground stack to the target stack, it also includes:
将第一应用置于目标栈的最顶端;也就是说,不仅将目标栈的层级与前台栈的层级相同,还需要将第一应用置于目标栈的最顶端,这样第一应用所在栈处于可见状态,且第一应用也处于可见状态,此时,系统自动控制第一应用继续在后台运行。Place the first application at the top of the target stack; that is, not only make the level of the target stack the same as that of the foreground stack, but also place the first application at the top of the target stack, so that the stack where the first application is located is at the visible state, and the first application is also in the visible state, at this time, the system automatically controls the first application to continue running in the background.
具体的,当检测到某一应用待由前台进入后台时,判断该应用是否需要在后台保持运行,若是且该应用所在栈为前台栈,则将该应用由前台栈移至目标栈中,并将应用置于目标栈的最顶端,控制该应用在目标栈中运行。由于目标栈的层级与前台栈的层级相同,从而实现切换至后台的应用保持运行。Specifically, when it is detected that an application is about to enter the background from the foreground, it is judged whether the application needs to keep running in the background, and if the stack where the application is located is the foreground stack, then the application is moved from the foreground stack to the target stack, and Place the application at the top of the target stack, and control the application to run in the target stack. Since the level of the target stack is the same as that of the foreground stack, the application switched to the background keeps running.
其中,预设应用可以根据用户的实际需求进行设置,上述S101接收针对第一应用和第二应用的第一切换请求之前,还包括:Among them, the preset application can be set according to the actual needs of the user. Before the above S101 receives the first switching request for the first application and the second application, it also includes:
在接收到设置请求后,将与该设置请求对应的应用设置为预设应用。After receiving the setting request, set the application corresponding to the setting request as the default application.
具体的,以正在前台运行的第一应用为视频应用,待切换至前台运行的第二应用为聊天应用为例,其中,该聊天应用预先设置为预设应用,如图2a所示,当前前台正在运行的应用为视频应用,当视频应用播放广告期间且无法跳过该广告,用户需要在前台操作聊天应用刷朋友圈查看最新动态,并且希望视频应用在后台继续播放视频广告,用户可以在显示屏上执行第一触控操作,此时,移动终端接收到该第一触控操作后,并基于该第一触控操作生成第一切换请求,将自动识别出需要将聊天应用调出至前台;如图2b所示,视频应用将收起隐藏到后台,并且视频应用继续播放广告,同时,将聊天应用调至前台运行,当视频应用的广告播放完毕后,用户可以在显示屏上执行第二触控操作,此时,移动终端接收到该第二触控操作后,并基于该第二触控操作生成第二切换请求,将自动识别出需要将视频应用调出至前台;如图2c所示,将视频应用切换回前台运行,将聊天应用切换至后台。Specifically, take the first application running in the foreground as a video application, and the second application to be switched to the foreground as a chat application as an example, wherein the chat application is preset as a preset application, as shown in Figure 2a, the current foreground The running app is a video app. When the video app is playing an ad and cannot skip the ad, the user needs to operate the chat app in the foreground to swipe Moments to view the latest updates, and wants the video app to continue playing the video ad in the background. The user can display The first touch operation is performed on the screen. At this time, after the mobile terminal receives the first touch operation and generates a first switching request based on the first touch operation, it will automatically recognize that the chat application needs to be called out to the foreground ; As shown in Figure 2b, the video application will be closed and hidden in the background, and the video application will continue to play advertisements. At the same time, the chat application will be transferred to the foreground. Two touch operations, at this time, after the mobile terminal receives the second touch operation, and generates a second switching request based on the second touch operation, it will automatically recognize that the video application needs to be brought up to the foreground; as shown in Figure 2c As shown, the video application is switched back to the foreground, and the chat application is switched to the background.
其中,针对将某一应用设置为预设应用的过程,可以预先在系统中添加设置选项,通过点击桌面上的设置图标,进入设置界面中,找到待设置的应用,点击进入该应用对应的功能设置界面,开启用于指示将该应用设置为预设应用的功能,整个设置过程比较繁琐,基于此,为了便于用户快速将某一应用设置为预设应用,在本发明提供的实施例中提供了第一种将某一应用快速添加为预设应用的实现方式,具体为:Among them, for the process of setting an application as a default application, you can add setting options in the system in advance, click the setting icon on the desktop, enter the setting interface, find the application to be set, and click to enter the corresponding function of the application On the setting interface, enable the function for instructing to set the application as the default application. The whole setting process is relatively cumbersome. Based on this, in order to facilitate the user to quickly set an application as the default application, the embodiment provided by the present invention provides The first way to quickly add an application as a default application is implemented, specifically:
上述在接收到设置请求后,将与该设置请求对应的应用设置为预设应用,具体包括:After the setting request is received, the application corresponding to the setting request is set as the default application, specifically including:
在移动终端的显示屏上,显示第一悬浮控件,其中,在具体实施时,需要预先生成一第一悬浮控件,并预先定义用于指示调出第一悬浮控件的触控操作,例如,设定当检测到用户长按显示屏预设区域时,自动将第一悬浮控件显示于触控屏的表层,如图3a所示,第一悬浮控件显示于屏幕的左边缘;另外,当确定该第一悬浮控件闲置时间大于预设阈值或检测到用户对预设功能键的点击操作时,自动将第一悬浮控件隐藏。On the display screen of the mobile terminal, a first floating control is displayed, wherein, during specific implementation, it is necessary to pre-generate a first floating control, and pre-define a touch operation for instructing to call out the first floating control, for example, setting When it is detected that the user has long pressed the preset area of the display screen, the first floating control is automatically displayed on the surface of the touch screen, as shown in Figure 3a, the first floating control is displayed on the left edge of the screen; in addition, when the When the idle time of the first floating control is greater than a preset threshold or when a user's click operation on a preset function key is detected, the first floating control is automatically hidden.
若检测到某一图标移至第一悬浮控件所在位置,则将该图标对应的应用设置为预设应用,并检测到用户对该图标的触控操作解除后,将该图标恢复原位;其中,该图标可以是指定应用的应用图标,还可以是包含多个应用图标的缩略图,也可以是包含多个应用图标的文件夹,针对将缩略图或文件夹移至第一悬浮控件所在位置的情况,此时,自动将包含的所有应用设置为预设应用。If it is detected that an icon is moved to the position of the first floating control, the application corresponding to the icon is set as the default application, and after detecting that the user's touch operation on the icon is released, the icon is restored to its original position; , the icon can be the application icon of the specified application, or a thumbnail containing multiple application icons, or a folder containing multiple application icons, for moving the thumbnail or folder to the location of the first floating control In this case, all included apps are automatically set as default apps.
在本发明提供的实施例中,预先生成一悬浮控件,当确定用户需要将指定应用添加为预设应用时,自动显示该悬浮控件,这样用户通过对待添加为预设应用的应用图标进行拖拽操作,即可实现将该应用设置为预设应用,提高了预设应用的设置效率,便于用户操作。In the embodiment provided by the present invention, a floating control is pre-generated, and when it is determined that the user needs to add a specified application as a preset application, the floating control is automatically displayed, so that the user drags the application icon to be added as a preset application operation, the application can be set as the preset application, which improves the setting efficiency of the preset application and is convenient for the user to operate.
进一步的,考虑到根据移动终端中各应用的实时处理需求,在操作第一应用过程中可能需要将预先未添加为预设应用的应用作为设置为预设应用,因此,为了提高预设应用设置的针对性、灵活性和多样性,给出多种快速设置预设应用的实现方式,以便供用户选择,满足用户在不同阶段快速将不同应用设置为预设应用的需求,在本发明提供的实施例中还提供了第二种将某一应用快速添加为预设应用的实现方式,具体为:Further, considering the real-time processing requirements of each application in the mobile terminal, it may be necessary to set an application that has not been added as a preset application as a preset application during the operation of the first application. Therefore, in order to improve the preset application setting Pertinence, flexibility and diversity, provide a variety of ways to quickly set preset applications for users to choose, to meet the needs of users to quickly set different applications as preset applications at different stages, in the present invention provides The embodiment also provides a second implementation of quickly adding an application as a preset application, specifically:
上述在接收到设置请求后,将与该设置请求对应的应用设置为预设应用,具体包括:After the setting request is received, the application corresponding to the setting request is set as the default application, specifically including:
在确定出某一应用具有待处理信息时,生成并显示第二悬浮控件,其中,该待处理信息可以是待处理的收发信息,针对于具有信息收发功能的应用,如聊天应用,也可以是待处理的推荐信息,针对于具有信息推荐功能的应用,如资讯类应用;When it is determined that an application has information to be processed, a second floating control is generated and displayed, wherein the information to be processed may be information to be sent and received, and for applications with information sending and receiving functions, such as chat applications, it may also be The recommendation information to be processed is aimed at applications with information recommendation functions, such as information applications;
若检测到用户对第二悬浮控件的点击操作,则将具有待处理信息的应用设置为预设应用。If it is detected that the user clicks on the second floating control, the application with the information to be processed is set as the default application.
例如,用户正在使用一视频应用观看视频时,聊天应用收到一条来自好友的即时消息,如图3b所示,在显示聊天应用图标的同时显示第二悬浮控件,其中,该第二悬浮控件可以显示于聊天应用的图标上,另外,为了准确地识别出需要将应用设置为预设应用,该第二悬浮控件也可以显示于聊天应用所在位置之外,如,第二悬浮控件在聊天应用图标的右侧,如果检测到用户对第二悬浮控件的点击操作,将聊天应用设置为预设应用,此时,用户可以选择不及时查看该即时消息,继续观看视频正片,如图3c所示,待视频应用展示无效信息界面(如,播放视频广告)时,通过在显示屏上输入用于指示预设应用调出的触控手势,如图3d所示,将聊天应用调至前台运行,查看刚刚接收到的即时消息,来自好友小白的“中午一起吃饭好吗”,并进行回复“那吃什么呢”,在此过程,视频应用在后台继续播放视频广告,待广告播放完毕后,再通过在显示屏上输入用于指示第一应用调出的触控手势,快速调出视频应用,以便用户继续使用视频应用观看视频。For example, when a user is using a video application to watch a video, and the chat application receives an instant message from a friend, as shown in FIG. It is displayed on the icon of the chat application. In addition, in order to accurately identify that the application needs to be set as the default application, the second floating control can also be displayed outside the location of the chat application. For example, the second floating control is displayed on the icon of the chat application. On the right side of , if it is detected that the user clicks on the second floating control, the chat application is set as the default application. At this time, the user can choose not to view the instant message in time and continue to watch the main video, as shown in Figure 3c. When the video application displays an invalid information interface (for example, playing a video advertisement), enter a touch gesture on the display screen to instruct the default application to be called out, as shown in Figure 3d, transfer the chat application to the foreground to run, and view The instant message I just received came from my friend Xiaobai who asked "Shall we have dinner together at noon?" and replied "What do you want to eat?" During this process, the video application continued to play the video advertisement in the background. By inputting a touch gesture on the display screen for instructing to call out the first application, the video application is quickly called up, so that the user can continue to use the video application to watch videos.
接下来,后续资讯类应用收到一条推荐信息,此时,同样可以通过点击信息提示图标的预设位置处显示的第二悬浮控件,先将资讯类应用设置为预设应用,自动对聊天应用进行取消预设应用的设置,继续观看视频,待视频应用再次展示无效信息界面(如,不感兴趣的剧情片段)时,通过在显示屏上输入用于指示预设应用调出的触控手势,快速调出该资讯类应用,且视频应用切换至后台后继续运行。Next, the follow-up information application receives a recommendation message. At this time, you can also click the second floating control displayed at the preset position of the information prompt icon to first set the information application as the default application, and automatically update the chat application. Perform the setting of canceling the default application, continue to watch the video, and when the video application displays an invalid information interface (for example, a plot segment that is not of interest) again, by inputting a touch gesture on the display screen to instruct the preset application to be called out, The information application is quickly called up, and the video application continues to run after being switched to the background.
在本发明提供的实施例中,用户操控某一应用的过程中,如果另一应用具有待处理信息,此时通过在对用户进行信息处理提示时,增加一第二悬浮控件,以便用户实时的将具有处理需要的应用设置为预设应用,这样即使在消息提示期间没有点击打开,后续在第一应用展示无效信息,且需要打开该预设应用时,也能够快速地调出所需的应用程序,且控制第一应用调至后台后继续运行,因此,提高了预设应用设置的针对性和灵活性,能够满足用户不同阶段的处理需求,大大提升了用户体验。In the embodiment provided by the present invention, when the user is manipulating an application, if another application has information to be processed, a second floating control is added when prompting the user for information processing, so that the user can real-time Set the application that needs to be processed as the default application, so that even if there is no click to open during the message prompt, and the invalid information is displayed in the first application, and the preset application needs to be opened, the desired application can be quickly called up program, and control the first application to continue to run after it is transferred to the background, therefore, the pertinence and flexibility of the preset application setting are improved, the processing requirements of the user at different stages can be met, and the user experience is greatly improved.
进一步的,将第一应用切换至后台继续运行后,可能还需要将第一应用切换回前台运行,为了实现第一应用与第二应用之间的前后台切换,上述S102将第一应用切换至后台并保持运行,将第二应用切换至前台运行之后,还包括:Further, after switching the first application to the background to continue running, it may be necessary to switch the first application back to the foreground to run. In order to realize the front-background switching between the first application and the second application, the above S102 switches the first application to Keep running in the background, after switching the second application to the foreground, it also includes:
接收针对第一应用和第二应用的第二切换请求,其中,该第二应用为运行在前台的应用;例如,将聊天应用调至前台运行,将视频应用切换至后台继续运行后,又需要将视频应用切换至前台运行,此时,用户可以在显示屏上输入第二触控操作,对应的,移动终端将基于该第二触控操作生成第二切换请求,该第二切换请求用于指示将视频应用调至前台运行。receiving a second switching request for the first application and the second application, wherein the second application is an application running in the foreground; Switch the video application to the foreground to run. At this time, the user can input a second touch operation on the display screen. Correspondingly, the mobile terminal will generate a second switch request based on the second touch operation. The second switch request is used for Instructs the video application to be brought to the foreground.
响应于上述第二切换请求,将第二应用切换至后台,以及将第一应用切换至前台运行。例如,在聊天应用正在前台运行时,如果接收到第二切换请求,则自动将视频应用切换回前台运行,将聊天应用切换至后台。In response to the second switching request, the second application is switched to the background, and the first application is switched to the foreground to run. For example, when the chat application is running in the foreground, if a second switching request is received, the video application is automatically switched back to the foreground, and the chat application is switched to the background.
其中,上述第一切换请求是基于第一触控操作生成的,上述第二切换请求是基于第二触控操作生成的,控制第二应用调出的第一触控操作和控制第二应用收起的第二触控操作可以相同,也可以不同,当相同时,需要考虑当前前台正在运行的应用是第一应用还是第二应用。Wherein, the above-mentioned first switching request is generated based on the first touch operation, and the above-mentioned second switching request is generated based on the second touch operation. The second touch operations performed may be the same or different, and if they are the same, it is necessary to consider whether the application currently running in the foreground is the first application or the second application.
具体的,第一触控操作可以是在显示屏上由左向右滑动,或由右向左滑动,如果前台应用为第一应用,则指示需要将第二应用调出,如果该第二应用为预设应用,则收起第一应用到后台继续运行,因此,当第一应用正在前台运行时,用户通过一下滑动操作,即可快速调出与第二应用。Specifically, the first touch operation may be sliding from left to right or from right to left on the display screen. If the foreground application is the first application, it indicates that the second application needs to be called out. If the second application If it is a preset application, the first application is put away and continues to run in the background. Therefore, when the first application is running in the foreground, the user can quickly call out the second application by one swipe operation.
其中,同样接收到第一触控操作时,如果前台应用为第二应用,则指示需要将第二应用收起,调出后台保持运行的第一应用,因此,当第二应用正在前台运行时,用户通过一下滑动操作,即可快速调出后台正在运行的第一应用。Among them, when the first touch operation is also received, if the foreground application is the second application, it indicates that the second application needs to be put away, and the first application that is kept running in the background is called out. Therefore, when the second application is running in the foreground , the user can quickly call out the first application running in the background with one swipe operation.
进一步,为了更加提高预设应用设置的灵活性和多样性,给出更多种快速设置预设应用的实现方式,以便用户根据实际需要和偏好进行选择,在发明提供的实施例中,还可以基于用户的触控手势,将某一应用设置为预设应用,或者对某一应用进行取消预设应用的设置,同时为了减少触控手势的设定,将用于指示添加或移除预设应用的触控手势与用于指示调出或收起预设应用的触控手势进行关联,例如,使用同一触控手势可以用于指示添加预设应用,还可以用于指示收起正在前台运行的预设应用,结合前台应用的类型来确定具体执行哪种处理操作(该处理操作包括:将当前前台应用添加为预设应用、或将当前正在前台运行的预设应用切换至后台);又如,使用同一触控手势可以用于指示移除预设应用,还可以用于指示调出预设应用,结合前台应用的类型来确定具体执行哪种处理操作(该处理操作包括:对当前前台应用进行取消预设应用的设置、或将预设应用调至前台),将四个触控手势合并为两个触控手势,即利用两种触控手势,同时参考当前前台应用的类型,使得每种触控手势具有两种功能,使得两个触控手势即可实现四种处理操作,这样用户无需记录大量的触控手势,在使用比较少的触控手势下,也能够实现更多样化的触发控制,并且在一定程度上减少了与现有触控手势产生冲突的可能性。基于此,在本发明提供的实施例中还提供了第三种将某一应用快速添加为预设应用的实现方式,以及给出基于移除手势和添加手势实现预设应用的调出或收起,具体为:Further, in order to further improve the flexibility and diversity of preset application settings, more ways to realize the quick setting of preset applications are given, so that users can choose according to actual needs and preferences. In the embodiments provided by the invention, it is also possible to Based on the user's touch gestures, set an application as the default application, or cancel the setting of the preset application for an application, and in order to reduce the setting of touch gestures, it will be used to indicate the addition or removal of presets The touch gesture of the application is associated with the touch gesture used to instruct to bring up or close the default application. For example, using the same touch gesture can be used to indicate to add a default application, and can also be used to indicate that the storage is running in the foreground The preset application, combined with the type of the foreground application to determine which processing operation to perform specifically (the processing operation includes: adding the current foreground application as a default application, or switching the preset application currently running in the foreground to the background); and For example, using the same touch gesture can be used to instruct to remove the preset application, and can also be used to instruct to call out the preset application, combined with the type of the foreground application to determine which processing operation to perform specifically (the processing operation includes: application to cancel the settings of the default application, or to bring the default application to the foreground), the four touch gestures are combined into two touch gestures, that is, the two touch gestures are used, and the type of the current foreground application is referred to, so that Each touch gesture has two functions, so that two touch gestures can realize four processing operations, so that users do not need to record a large number of touch gestures, and can achieve more diverse functions with fewer touch gestures. The trigger control is optimized, and the possibility of conflict with existing touch gestures is reduced to a certain extent. Based on this, the embodiment of the present invention also provides a third implementation of quickly adding a certain application as a preset application, and provides a way to call out or store a preset application based on a remove gesture and an add gesture. starting, specifically:
其中,上述设置请求是基于用户在显示屏上的添加手势生成的,上述在接收到设置请求后,将与该设置请求对应的应用设置为预设应用,包括:Wherein, the above setting request is generated based on the user's adding gesture on the display screen, and after receiving the setting request, setting the application corresponding to the setting request as a preset application, including:
若检测到添加手势且第三应用正在前台运行,则将该第三应用设置为预设应用,例如,当前前台应用为聊天应用(将聊天应用在未被设置为预设应用之前定义为第三应用),如果接收到用户的添加手势,说明用户希望将聊天应用设置为预设应用。If it is detected that the gesture is added and the third application is running in the foreground, then the third application is set as the default application, for example, the current foreground application is a chat application (the chat application is defined as the third application before it is set as the default application) application), if the user's add gesture is received, it means that the user wants to set the chat application as the default application.
进一步的,上述将正在前台运行的第三应用设置为预设应用之后,还包括:Further, after setting the third application running in the foreground as the default application, it also includes:
接收取消请求,其中,该取消请求是基于用户在显示屏上的移除手势生成的,添加手势和移除手势不同;receiving a cancel request, wherein the cancel request is generated based on a user's remove gesture on the display screen, and the add gesture is different from the remove gesture;
若检测到移除手势且第三应用正在前台运行,则对该第三应用进行取消预设应用的设置,例如,当前前台应用为已被设置为预设应用的聊天应用,如果接收到用户的移除手势,说明用户希望将聊天应用取消预设应用的标记,变为第三应用,即恢复为正常应用。If the removal gesture is detected and the third application is running in the foreground, then the third application is set to cancel the default application. For example, the current foreground application is a chat application that has been set as the default application. The removal gesture indicates that the user wants to cancel the mark of the default application of the chat application and become a third application, that is, restore it to a normal application.
其中,优选的,添加手势与移除手势相反,例如,如图4a所示,添加手势为由显示屏的第一边缘向第二边缘滑动,如图4b所示,移除手势为由显示屏的第二边缘向第一边缘滑动。Wherein, preferably, the adding gesture is opposite to the removing gesture. For example, as shown in FIG. slide the second edge toward the first edge.
具体的,上述用于指示调出预设应用的第一触控操作与移除手势相同,上述用于指示收起预设应用的第二触控操作与添加手势相同。Specifically, the above-mentioned first touch operation for instructing to call out the preset application is the same as the remove gesture, and the above-mentioned second touch operation for instructing to close the preset application is the same as the add gesture.
若检测到添加手势且前台应用为预设应用,则将正在后台运行的第一应用调至前台运行,例如,当前前台应用为已被设置为预设应用的聊天应用,如果接收到用户的添加手势,说明用户希望将位于后台运行的第一应用调出至前台,将位于前台运行的预设应用收起,并切换至后台继续运行;If the adding gesture is detected and the foreground application is the default application, the first application running in the background will be transferred to the foreground. For example, the current foreground application is a chat application that has been set as the default application. Gesture, indicating that the user wants to bring up the first application running in the background to the foreground, close the preset application running in the foreground, and switch to the background to continue running;
若检测到移除手势且前台应用为非预设应用,则将预设应用调至前台运行,例如,当前前台应用为未被设置为预设应用的视频应用,如果接收到用户的移除手势,说明用户希望将预先设置为预设应用的第二应用调出至前台,将位于前台运行的非预设应用收起,并切换至后台继续运行。If an exit gesture is detected and the foreground application is not a default application, the default application will be transferred to the foreground. For example, the current foreground application is a video application that has not been set as the default application. If the user’s exit gesture is received , indicating that the user wants to bring up the second application preset as the default application to the foreground, close the non-default application running in the foreground, and switch to the background to continue running.
进一步的,为了便于用户快速对已添加为预设应用的应用进行取消设置,可以预先设定预设应用的最大数量,当当前已设置为预设应用的数量大于最大数量时,即预设应用已添加满额,再接收到预设应用添加请求后,自动按照预设规则从已添加的预设应用中选择一个应用移除,这样在添加预设应用的同时还能自动对已添加的预设应用进行移除处理,无需再单独对已添加的预设应用进行取消设置,基于此,上述在接收到设置请求后,将与该设置请求对应的应用设置为预设应用,具体包括:Further, in order to facilitate the user to quickly cancel the settings of the applications that have been added as default applications, the maximum number of preset applications can be set in advance. When the number of preset applications currently set is greater than the maximum number, the default After the full quota has been added, after receiving the preset application addition request, it will automatically select an application from the added preset applications to remove according to the preset rules, so that when adding the preset application, it can also automatically update the added preset The application is removed, and there is no need to cancel the setting of the added preset application separately. Based on this, after receiving the setting request, the above-mentioned application corresponding to the setting request is set as the default application, specifically including:
在接收到设置请求后,判断当前预设应用的数量是否等于预设数量阈值;After receiving the setting request, it is judged whether the number of the current preset application is equal to the preset number threshold;
若是,则从已添加的预设应用中选取一个应用,对选取的应用进行取消预设应用的设置,并将与该设置请求对应的应用设置为预设应用,其中,可以按照添加为预设应用的先后顺序选取,将最先添加为预设应用的应用进行取消预设应用的设置,如果预设数量阈值为1,此时,将最新添加的预设应用替代原预设应用。If yes, select an application from the preset applications that have been added, cancel the setting of the default application for the selected application, and set the application corresponding to the setting request as the default application. The sequence of applications is selected, and the application that is added first as the default application is set to cancel the preset application. If the preset number threshold is 1, at this time, the newly added preset application will replace the original preset application.
进一步的,为了防止预设应用的添加手势、移除手势、快速调出手势、快速收起手势与现有的触控手势相冲突,以避免因误识别而出现错误的响应控制的情况,从而达到精准响应控制的目的,也以避免给用户带来不必要的麻烦,从而提高用户体验。基于此,在本发明提供的实施例中,所涉及的触控操作包括:用户拖动第三悬浮控件所执行的滑动操作、多指滑动操作、或按压力度大于预设阈值的滑动操作。Further, in order to prevent the preset application's add gesture, remove gesture, quick recall gesture, and quick retract gesture from conflicting with existing touch gestures, so as to avoid wrong response control due to misidentification, thereby To achieve the purpose of precise response control, and to avoid unnecessary troubles to users, thereby improving user experience. Based on this, in the embodiments provided by the present invention, the involved touch operations include: a sliding operation performed by the user dragging the third floating control, a multi-finger sliding operation, or a sliding operation with a pressing force greater than a preset threshold.
优选的,采用拖动第三悬浮控件所执行的滑动操作作为触控手势,其中,该第三悬浮控件可以与第一悬浮控件为同一个控件,如图5a所示,添加手势为拖到第一悬浮控件由显示屏的第一边缘向第二边缘滑动,如图5b所示,移除手势为拖到第一悬浮控件由显示屏的第二边缘向第一边缘滑动。另外,为了与用于指示移动第三悬浮控件位置的滑动操作进行区分,在具体实施时,采用拖动第三悬浮控件且按压力度大于预设阈值所执行的滑动操作作为触控手势。Preferably, the sliding operation performed by dragging the third floating control is used as a touch gesture, wherein the third floating control may be the same control as the first floating control, as shown in FIG. A floating control is slid from the first edge of the display screen to the second edge, as shown in FIG. 5 b , the removal gesture is dragging to the first floating control and sliding from the second edge of the display screen to the first edge. In addition, in order to distinguish it from the sliding operation used to indicate to move the position of the third floating control, in specific implementation, a sliding operation performed by dragging the third floating control with a pressing force greater than a preset threshold is used as a touch gesture.
另外,为了进一步提高后续再次将第二应用由后台调至前台的调出速度,可以通过控制第二应用切换至后台后继续运行,以及控制第一应用调至前台运行,这样无需对第二应用进行唤醒,即可直接将第二应用调至前台运行。In addition, in order to further increase the subsequent call-out speed of the second application from the background to the foreground again, you can control the second application to switch to the background and continue to run, and control the first application to run in the foreground, so that there is no need to update the second application. After waking up, the second application can be directly transferred to the foreground to run.
具体的,上述响应于第二切换请求,将第二应用切换至后台,以及将第一应用切换至前台运行,具体包括:Specifically, in response to the second switching request, switching the second application to the background and switching the first application to the foreground to run specifically includes:
控制第一应用在目标栈中不变且控制第二应用在前台栈中不变,并控制第一应用的交互界面调至前台展示,即控制第一应用的交互界面在显示屏上展示;Controlling the first application to remain unchanged in the target stack and controlling the second application to remain unchanged in the foreground stack, and controlling the interactive interface of the first application to be displayed on the foreground, that is, controlling the interactive interface of the first application to be displayed on the display screen;
在第二应用进入暂停流程之前,判断第二应用是否在前台栈中可见;Before the second application enters the suspension process, determine whether the second application is visible in the foreground stack;
若是,则控制第二应用继续执行运行流程(即resume流程),并控制第二应用的交互界面所在的显示坐标范围不在显示屏的坐标范围之内,或者控制第二应用的交互界面所在的显示坐标范围在显示屏的坐标范围之内且第一应用的交互界面在显示屏的最上层展示;If so, control the second application to continue to execute the running process (that is, the resume process), and control the display coordinate range where the interactive interface of the second application is not within the coordinate range of the display screen, or control the display where the interactive interface of the second application is located The coordinate range is within the coordinate range of the display screen and the interactive interface of the first application is displayed on the top layer of the display screen;
若否,则控制第二应用进入暂停状态。If not, control the second application to enter a suspended state.
具体的,由于在将第一应用切换至前台运行时,并未将第一应用移至前台栈,而是保持第一应用在目标栈中不变,并且保持第二应用在前台栈中不变,这样位于前台栈中的第二应用不会被覆盖,仍然在前台栈中处于可见状态。因此,即使第二应用移至后台,由于第二应用所在栈为前台栈,且第二应用也可见,此时,也能够保证第二应用在后台正常运行。Specifically, when the first application is switched to the foreground, the first application is not moved to the foreground stack, but the first application is kept unchanged in the target stack, and the second application is kept unchanged in the foreground stack , so that the second application located in the foreground stack will not be overwritten and is still visible in the foreground stack. Therefore, even if the second application moves to the background, since the stack where the second application is located is the foreground stack and the second application is also visible, at this time, the second application can also be guaranteed to run normally in the background.
其中,在控制第二应用跳过暂停流程之后,考虑到Android系统只允许一个运行状态(即resume状态)的一个应用程序组件(即Activity)存在,因此,需要在启动新的应用时,如果确定已经有一个resume状态的Activity,则判断当前的应用所在栈是否为前台栈且该应用在前台栈中可见,若是,则继续执行resume流程,最终达到2个应用都处于resume状态。Wherein, after controlling the second application to skip the suspension process, considering that the Android system only allows an application component (i.e. Activity) in one running state (i.e. resume state) to exist, therefore, when starting a new application, if it is determined If there is already an Activity in the resume state, it is judged whether the stack where the current application is located is the foreground stack and the application is visible in the foreground stack. If so, the resume process will continue until both applications are in the resume state.
针对第一应用由后台运行切换至前台运行的情况,通过控制第一应用在目标栈中不变,即可实现与第一应用前后台之间自由切换的第二应用切换到后台也能够保持运行,这样后续在需要将第二应用由后台切换至前台时,无需对第二应用进行唤醒,即可直接将第二应用调至前台运行。For the case where the first application is switched from running in the background to running in the foreground, by controlling the first application to remain unchanged in the target stack, the second application that can freely switch between the front and back of the first application can also keep running when it is switched to the background , so that when the second application needs to be switched from the background to the foreground, the second application can be directly transferred to the foreground to run without waking up the second application.
本发明实施例中的应用运行状态控制方法,接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。The application running state control method in the embodiment of the present invention receives a first switching request for a first application and a second application, wherein the first application is an application running in the foreground; if the second application is a preset application, the response In response to the first switching request, the first application is switched to the background and kept running, and the second application is switched to the foreground to run. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application is a preset application, the first application that is switched to the background is controlled to continue Therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while a certain application is running, which improves the user's time utilization, thereby The user experience is improved; in addition, for mobile terminals with relatively limited screen size, the simultaneous operation of front and back multi-tasks can ensure that the size of the display interface of the currently controlled application remains unchanged, and the user experience is improved.
对应上述实施例提供的应用运行状态控制方法,基于相同的技术构思,本发明实施例还提供了一种移动终端,图6为本发明实施例提供的移动终端的第一种模块组成示意图,该移动终端用于执行图1至图5b描述的应用运行状态控制方法,如图6所示,该移动终端包括:Corresponding to the application running state control method provided in the above embodiments, based on the same technical concept, the embodiment of the present invention also provides a mobile terminal. FIG. 6 is a schematic diagram of the first module composition of the mobile terminal provided in the embodiment of the present invention. The mobile terminal is used to execute the application running state control method described in Figures 1 to 5b, as shown in Figure 6, the mobile terminal includes:
第一请求接收模块601,用于接收针对第一应用和第二应用的第一切换请求,其中,所述第一应用为运行在前台的应用;The first request receiving module 601 is configured to receive a first switching request for a first application and a second application, wherein the first application is an application running in the foreground;
第一控制模块602,用于若所述第二应用为预设应用,则响应于所述第一切换请求,将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行。The first control module 602 is configured to switch the first application to the background and keep running in response to the first switching request if the second application is a preset application, and switch the second application to The foreground runs.
可选地,上述移动终端还包括:Optionally, the above-mentioned mobile terminal also includes:
第一设置模块,用于在接收针对第一应用和第二应用的第一切换请求之前,在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用。The first setting module is configured to set the application corresponding to the setting request as a preset application after receiving the first switching request for the first application and the second application before receiving the setting request.
可选地,所述第一设置模块,具体用于:Optionally, the first setting module is specifically used for:
在所述移动终端的显示屏上,显示第一悬浮控件;On the display screen of the mobile terminal, displaying a first floating control;
若检测到某一图标移至所述第一悬浮控件所在位置,则将所述图标对应的应用设置为预设应用。If it is detected that an icon is moved to the position where the first floating control is located, the application corresponding to the icon is set as a default application.
可选地,所述第一设置模块,还具体用于:Optionally, the first setting module is further specifically configured to:
在确定出某一应用具有待处理信息时,生成并显示第二悬浮控件;When it is determined that a certain application has information to be processed, generate and display a second suspension control;
若检测到用户对所述第二悬浮控件的点击操作,则将具有待处理信息的应用设置为预设应用。If it is detected that the user clicks on the second floating control, the application with the information to be processed is set as the default application.
可选地,上述移动终端还包括:Optionally, the above-mentioned mobile terminal also includes:
第二请求接收模块,用于在将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行之后,接收针对第一应用和第二应用的第二切换请求,其中,所述第二应用为运行在前台的应用;The second request receiving module is configured to receive a second switching request for the first application and the second application after switching the first application to the background and keeping it running, and switching the second application to the foreground to run, wherein , the second application is an application running in the foreground;
第二控制模块,用于响应于所述第二切换请求,将所述第二应用切换至后台,以及将所述第一应用切换至前台运行。The second control module is configured to switch the second application to the background and switch the first application to the foreground in response to the second switching request.
可选地,所述设置请求是基于用户在显示屏上的添加手势生成的;所述第一设置模块,还具体用于:Optionally, the setting request is generated based on the user's adding gesture on the display screen; the first setting module is further specifically configured to:
若检测到所述添加手势且第三应用正在前台运行,则将所述第三应用设置为预设应用。If the adding gesture is detected and the third application is running in the foreground, then the third application is set as a preset application.
可选地,上述移动终端还包括:Optionally, the above-mentioned mobile terminal also includes:
取消请求接收模块,用于接收取消请求,其中,所述取消请求是基于用户在显示屏上的移除手势生成的,所述添加手势和所述移除手势不同;A cancellation request receiving module, configured to receive a cancellation request, wherein the cancellation request is generated based on a user's removal gesture on the display screen, and the addition gesture is different from the removal gesture;
第二设置模块,用于若检测到所述移除手势且第三应用正在前台运行,则对所述第三应用进行取消预设应用的设置。The second setting module is configured to cancel the preset application setting for the third application if the removal gesture is detected and the third application is running in the foreground.
可选地,所述第一切换请求是基于第一触控操作生成的,所述第二切换请求是基于第二触控操作生成的;Optionally, the first switching request is generated based on a first touch operation, and the second switching request is generated based on a second touch operation;
所述第一触控操作与所述移除手势相同,所述第二触控操作与所述添加手势相同。The first touch operation is the same as the remove gesture, and the second touch operation is the same as the add gesture.
可选地,所述第一设置模块,还具体用于:Optionally, the first setting module is further specifically configured to:
在接收到设置请求后,判断当前预设应用的数量是否等于预设数量阈值;After receiving the setting request, it is judged whether the number of the current preset application is equal to the preset number threshold;
若是,则从已添加的预设应用中选取一个应用,对选取的应用进行取消预设应用的设置,并将与所述设置请求对应的应用设置为预设应用。If yes, select an application from the added preset applications, cancel the setting of the preset application for the selected application, and set the application corresponding to the setting request as the default application.
本发明实施例中的移动终端,接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。The mobile terminal in the embodiment of the present invention receives a first switching request for a first application and a second application, wherein the first application is an application running in the foreground; if the second application is a preset application, then in response to the first The switching request switches the first application to the background and keeps running, and switches the second application to the foreground to run. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application is a preset application, the first application that is switched to the background is controlled to continue Therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while a certain application is running, which improves the user's time utilization, thereby The user experience is improved; in addition, for mobile terminals with relatively limited screen size, the simultaneous operation of front and back multi-tasks can ensure that the size of the display interface of the currently controlled application remains unchanged, and the user experience is improved.
本发明实施例提供的移动终端能够实现上述应用运行状态控制方法对应的实施例中的各个过程,为避免重复,这里不再赘述。The mobile terminal provided by the embodiment of the present invention can implement each process in the embodiment corresponding to the above application running state control method, and to avoid repetition, details are not described here.
对应上述实施例提供的应用运行状态控制方法,基于相同的技术构思,本发明实施例还提供了一种移动终端,该设备用于执行上述的应用运行状态控制方法,图7为实现本发明各个实施例的一种移动终端的硬件结构示意图,图7所示的移动终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Corresponding to the application running state control method provided in the above-mentioned embodiments, based on the same technical concept, the embodiment of the present invention also provides a mobile terminal, which is used to execute the above-mentioned application running state control method. A schematic diagram of the hardware structure of a mobile terminal according to an embodiment. The mobile terminal 100 shown in FIG. Input unit 107 , interface unit 108 , memory 109 , processor 110 , power supply 111 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
其中,处理器110,用于接收针对第一应用和第二应用的第一切换请求,其中,所述第一应用为运行在前台的应用;Wherein, the processor 110 is configured to receive a first switching request for a first application and a second application, wherein the first application is an application running in the foreground;
若所述第二应用为预设应用,则响应于所述第一切换请求,将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行。If the second application is a preset application, in response to the first switching request, switch the first application to the background and keep running, and switch the second application to the foreground to run.
在本发明提供的实施例中,基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。In the embodiment provided by the present invention, based on the identification of the first switching request, the calling of the second application and the closing of the first application can be realized; and if the second application is a preset application, then The first application whose control is switched to the background continues to run. Therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while an application is running. The user's time utilization rate is improved, thereby improving the user experience; in addition, for mobile terminals with relatively limited screen sizes, the simultaneous operation of front and backend multitasking can ensure that the size of the display interface of the currently controlled application is not small. Changes to improve user experience.
其中,处理器110,还用于:Wherein, the processor 110 is also used for:
所述接收针对第一应用和第二应用的第一切换请求之前,还包括:Before receiving the first switching request for the first application and the second application, it also includes:
在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用。After the setting request is received, the application corresponding to the setting request is set as a preset application.
其中,处理器110,具体用于:Wherein, the processor 110 is specifically used for:
所述在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用,包括:After receiving the setting request, setting the application corresponding to the setting request as a preset application includes:
在所述移动终端的显示屏上,显示第一悬浮控件;On the display screen of the mobile terminal, displaying a first floating control;
若检测到某一图标移至所述第一悬浮控件所在位置,则将所述图标对应的应用设置为预设应用。If it is detected that an icon is moved to the position where the first floating control is located, the application corresponding to the icon is set as a default application.
其中,处理器110,具体用于:Wherein, the processor 110 is specifically used for:
所述在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用,包括:After receiving the setting request, setting the application corresponding to the setting request as a preset application includes:
在确定出某一应用具有待处理信息时,生成并显示第二悬浮控件;When it is determined that a certain application has information to be processed, generate and display a second suspension control;
若检测到用户对所述第二悬浮控件的点击操作,则将具有待处理信息的应用设置为预设应用。If it is detected that the user clicks on the second floating control, the application with the information to be processed is set as the default application.
其中,处理器110,还用于:Wherein, the processor 110 is also used for:
所述将所述第一应用切换至后台并保持运行,将所述第二应用切换至前台运行之后,还包括:After said switching the first application to the background and keeping it running, and switching the second application to the foreground to run, it also includes:
接收针对第一应用和第二应用的第二切换请求,其中,所述第二应用为运行在前台的应用;receiving a second switching request for the first application and the second application, wherein the second application is an application running in the foreground;
响应于所述第二切换请求,将所述第二应用切换至后台,以及将所述第一应用切换至前台运行。In response to the second switching request, the second application is switched to the background, and the first application is switched to the foreground to run.
其中,处理器110,具体用于:Wherein, the processor 110 is specifically used for:
所述设置请求是基于用户在显示屏上的添加手势生成的;The setting request is generated based on the user's adding gesture on the display screen;
所述在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用,包括:After receiving the setting request, setting the application corresponding to the setting request as a preset application includes:
若检测到所述添加手势且第三应用正在前台运行,则将所述第三应用设置为预设应用。If the adding gesture is detected and the third application is running in the foreground, then the third application is set as a preset application.
其中,处理器110,还用于:Wherein, the processor 110 is also used for:
所述将所述第三应用设置为预设应用之后,还包括:After setting the third application as the default application, it also includes:
接收取消请求,其中,所述取消请求是基于用户在显示屏上的移除手势生成的,所述添加手势和所述移除手势不同;receiving a cancel request, wherein the cancel request is generated based on a user's remove gesture on the display screen, and the add gesture is different from the remove gesture;
若检测到所述移除手势且第三应用正在前台运行,则对所述第三应用进行取消预设应用的设置。If the removal gesture is detected and the third application is running in the foreground, the setting of canceling the preset application is performed on the third application.
其中,处理器110,还用于:Wherein, the processor 110 is also used for:
所述第一切换请求是基于第一触控操作生成的,所述第二切换请求是基于第二触控操作生成的;The first switching request is generated based on a first touch operation, and the second switching request is generated based on a second touch operation;
所述第一触控操作与所述移除手势相同,所述第二触控操作与所述添加手势相同。The first touch operation is the same as the remove gesture, and the second touch operation is the same as the add gesture.
其中,处理器110,具体用于:Wherein, the processor 110 is specifically used for:
所述在接收到设置请求后,将与所述设置请求对应的应用设置为预设应用,包括:After receiving the setting request, setting the application corresponding to the setting request as a preset application includes:
在接收到设置请求后,判断当前预设应用的数量是否等于预设数量阈值;After receiving the setting request, it is judged whether the number of the current preset application is equal to the preset number threshold;
若是,则从已添加的预设应用中选取一个应用,对选取的应用进行取消预设应用的设置,并将与所述设置请求对应的应用设置为预设应用。If yes, select an application from the added preset applications, cancel the setting of the preset application for the selected application, and set the application corresponding to the setting request as the default application.
本发明实施例中的移动终端100,接收针对第一应用和第二应用的第一切换请求,其中,第一应用为运行在前台的应用;若第二应用为预设应用,则响应于第一切换请求,将第一应用切换至后台并保持运行,将第二应用切换至前台运行。基于对第一切换请求的识别,即可实现对第二应用的调出,以及实现对第一应用的收起;并且如果第二应用为预设应用,则控制切换到后台的第一应用继续运行,因此,第一应用为后台应用时,该第一应用也能够保持运行,从而使得某一应用在保持运行的过程中,用户可以在前台操作其他应用,提高了用户的时间利用率,从而提升了用户体验;另外,针对于屏幕尺寸比较有限的移动终端而言,采用前后台多任务同时运行的方式,能够保证当前操控的应用的显示界面的大小不变,提升了用户操作体验。The mobile terminal 100 in the embodiment of the present invention receives a first switching request for a first application and a second application, wherein the first application is an application running in the foreground; if the second application is a preset application, then in response to the first application When a switching request is made, the first application is switched to the background and keeps running, and the second application is switched to the foreground to run. Based on the recognition of the first switching request, the second application can be called out and the first application can be closed; and if the second application is a preset application, the first application that is switched to the background is controlled to continue Therefore, when the first application is a background application, the first application can also keep running, so that the user can operate other applications in the foreground while a certain application is running, which improves the user's time utilization, thereby The user experience is improved; in addition, for mobile terminals with relatively limited screen size, the simultaneous operation of front and back multi-tasks can ensure that the size of the display interface of the currently controlled application remains unchanged, and the user experience is improved.
需要说明的是,本发明实施例提供的移动终端100能够实现上述应用运行状态控制方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。It should be noted that the mobile terminal 100 provided in the embodiment of the present invention can implement various processes implemented by the mobile terminal in the above embodiment of the method for controlling the application running state. To avoid repetition, details are not repeated here.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the mobile terminal 100 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图7中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in FIG. 7, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元108为外部装置与移动终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the mobile terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端100包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 100 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种移动终端,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述应用运行状态控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 110, a memory 109, a computer program stored in the memory 109 and operable on the processor 110, when the computer program is executed by the processor 110 The various processes of the above embodiments of the method for controlling the application running state can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
进一步地,对应上述实施例提供的应用运行状态控制方法,本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器110执行时实现如上述应用运行状态控制方法实施例的各步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Further, corresponding to the application running state control method provided in the above-mentioned embodiments, the embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 110 The steps in the above embodiments of the application running state control method are implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本发明所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Equipment (ProgrammableLogic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in the present invention or a combination thereof.
对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that in this document, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements , but also includes other elements not expressly listed, or also includes elements inherent in such process, method, commodity or equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, the present invention can have various modifications and changes without departing from the gist of the present invention and the protection scope of the claims. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711458803.1A CN108200278A (en) | 2017-12-28 | 2017-12-28 | Application running state control method and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711458803.1A CN108200278A (en) | 2017-12-28 | 2017-12-28 | Application running state control method and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108200278A true CN108200278A (en) | 2018-06-22 |
Family
ID=62584909
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711458803.1A Pending CN108200278A (en) | 2017-12-28 | 2017-12-28 | Application running state control method and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108200278A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109213402A (en) * | 2018-09-26 | 2019-01-15 | 徐文娟 | A kind of method and mobile terminal of the interface display of mobile terminal |
| CN110288776A (en) * | 2019-06-19 | 2019-09-27 | 深圳市丰巢科技有限公司 | Pickup switching method, device, equipment and storage medium are sent based on express delivery cabinet |
| CN110442437A (en) * | 2019-07-18 | 2019-11-12 | 维沃移动通信有限公司 | Application switching method and mobile terminal |
| CN111352558A (en) * | 2020-02-28 | 2020-06-30 | 维沃移动通信有限公司 | Application switching method and electronic device |
| CN111988463A (en) * | 2020-07-10 | 2020-11-24 | 未来穿戴技术有限公司 | Massage equipment control method and system, massage equipment and mobile terminal |
| CN113360255A (en) * | 2020-03-06 | 2021-09-07 | 北京小米移动软件有限公司 | Application management method and device |
| CN113515216A (en) * | 2021-03-30 | 2021-10-19 | 维沃移动通信有限公司 | Application program switching method and device and electronic equipment |
| CN114968439A (en) * | 2021-02-24 | 2022-08-30 | Oppo广东移动通信有限公司 | Desktop plug-in control method and device, storage medium and electronic device |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103870119A (en) * | 2014-02-21 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN104461242A (en) * | 2014-12-08 | 2015-03-25 | 深圳市嘉乐派科技有限公司 | Multiwindow interface realization method based on Android operating system |
| CN105393205A (en) * | 2013-06-04 | 2016-03-09 | 三星电子株式会社 | Electronic device and method for controlling application in electronic device |
| CN105426082A (en) * | 2015-12-03 | 2016-03-23 | 魅族科技(中国)有限公司 | Application interface window switching method and terminal |
| CN105516767A (en) * | 2015-12-01 | 2016-04-20 | 海信集团有限公司 | Smart television and application switching method thereof |
| CN105549819A (en) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | Method and device for displaying background application information |
| CN105700776A (en) * | 2016-02-25 | 2016-06-22 | 努比亚技术有限公司 | Device and method for switching background programs |
| CN106028124A (en) * | 2016-07-04 | 2016-10-12 | 北京金山安全软件有限公司 | Video playing method and device and electronic equipment |
| CN106325508A (en) * | 2016-08-18 | 2017-01-11 | 北京小米移动软件有限公司 | Method and device for processing application |
| CN106371901A (en) * | 2015-07-24 | 2017-02-01 | 东莞酷派软件技术有限公司 | Application program switching method and device |
| CN106921883A (en) * | 2017-04-25 | 2017-07-04 | 珠海市魅族科技有限公司 | A kind of method and device of video playback treatment |
-
2017
- 2017-12-28 CN CN201711458803.1A patent/CN108200278A/en active Pending
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105393205A (en) * | 2013-06-04 | 2016-03-09 | 三星电子株式会社 | Electronic device and method for controlling application in electronic device |
| CN103870119A (en) * | 2014-02-21 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN104461242A (en) * | 2014-12-08 | 2015-03-25 | 深圳市嘉乐派科技有限公司 | Multiwindow interface realization method based on Android operating system |
| CN106371901A (en) * | 2015-07-24 | 2017-02-01 | 东莞酷派软件技术有限公司 | Application program switching method and device |
| CN105516767A (en) * | 2015-12-01 | 2016-04-20 | 海信集团有限公司 | Smart television and application switching method thereof |
| CN105426082A (en) * | 2015-12-03 | 2016-03-23 | 魅族科技(中国)有限公司 | Application interface window switching method and terminal |
| CN105549819A (en) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | Method and device for displaying background application information |
| CN105700776A (en) * | 2016-02-25 | 2016-06-22 | 努比亚技术有限公司 | Device and method for switching background programs |
| CN106028124A (en) * | 2016-07-04 | 2016-10-12 | 北京金山安全软件有限公司 | Video playing method and device and electronic equipment |
| CN106325508A (en) * | 2016-08-18 | 2017-01-11 | 北京小米移动软件有限公司 | Method and device for processing application |
| CN106921883A (en) * | 2017-04-25 | 2017-07-04 | 珠海市魅族科技有限公司 | A kind of method and device of video playback treatment |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109213402A (en) * | 2018-09-26 | 2019-01-15 | 徐文娟 | A kind of method and mobile terminal of the interface display of mobile terminal |
| CN110288776A (en) * | 2019-06-19 | 2019-09-27 | 深圳市丰巢科技有限公司 | Pickup switching method, device, equipment and storage medium are sent based on express delivery cabinet |
| CN110442437A (en) * | 2019-07-18 | 2019-11-12 | 维沃移动通信有限公司 | Application switching method and mobile terminal |
| CN111352558A (en) * | 2020-02-28 | 2020-06-30 | 维沃移动通信有限公司 | Application switching method and electronic device |
| CN113360255A (en) * | 2020-03-06 | 2021-09-07 | 北京小米移动软件有限公司 | Application management method and device |
| CN113360255B (en) * | 2020-03-06 | 2025-10-31 | 北京小米移动软件有限公司 | Application management method and device |
| CN111988463A (en) * | 2020-07-10 | 2020-11-24 | 未来穿戴技术有限公司 | Massage equipment control method and system, massage equipment and mobile terminal |
| CN114968439A (en) * | 2021-02-24 | 2022-08-30 | Oppo广东移动通信有限公司 | Desktop plug-in control method and device, storage medium and electronic device |
| CN113515216A (en) * | 2021-03-30 | 2021-10-19 | 维沃移动通信有限公司 | Application program switching method and device and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230104745A1 (en) | Display Method and Apparatus | |
| CN108021321B (en) | Application running state control method and mobile terminal | |
| CN108062190B (en) | A kind of application running state control method and mobile terminal | |
| CN108055408B (en) | Application program control method and mobile terminal | |
| CN108170361B (en) | Application running state control method and mobile terminal | |
| CN108200278A (en) | Application running state control method and mobile terminal | |
| CN108196947B (en) | Application running state control method and mobile terminal | |
| CN109710139B (en) | A page processing method, device, terminal and storage medium | |
| WO2021083256A1 (en) | Touch-control response method and electronic device | |
| CN110837327B (en) | A message viewing method and terminal | |
| CN110069179A (en) | Icon control method and terminal device | |
| CN110888707A (en) | Message sending method and electronic equipment | |
| CN110244884B (en) | A desktop icon management method and terminal device | |
| CN108052258B (en) | Terminal task processing method, task processing device and mobile terminal | |
| CN110944236B (en) | Group creation method and electronic device | |
| CN107957843B (en) | A control method and mobile terminal | |
| CN107589901A (en) | Page display method, device, terminal and computer-readable storage medium | |
| CN110531904A (en) | Background task display method and terminal | |
| CN108184021A (en) | Application running state control method and mobile terminal | |
| CN108170329B (en) | Display control method and terminal equipment | |
| CN108228902B (en) | File display method and mobile terminal | |
| CN108076229A (en) | Application running state control method and mobile terminal | |
| CN110049486A (en) | A SIM card selection method and terminal device | |
| CN109800095B (en) | Notification message processing method and mobile terminal | |
| CN108696642B (en) | Method and mobile terminal for organizing icons |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |
|
| RJ01 | Rejection of invention patent application after publication |