[go: up one dir, main page]

CN107643859A - A kind of running status restoration methods and mobile terminal - Google Patents

A kind of running status restoration methods and mobile terminal Download PDF

Info

Publication number
CN107643859A
CN107643859A CN201710800223.XA CN201710800223A CN107643859A CN 107643859 A CN107643859 A CN 107643859A CN 201710800223 A CN201710800223 A CN 201710800223A CN 107643859 A CN107643859 A CN 107643859A
Authority
CN
China
Prior art keywords
target application
preset
running
application program
screenshot
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
Application number
CN201710800223.XA
Other languages
Chinese (zh)
Inventor
刘朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710800223.XA priority Critical patent/CN107643859A/en
Publication of CN107643859A publication Critical patent/CN107643859A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供一种运行状态恢复方法及移动终端,该方法包括:在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。

The present invention provides a running state restoration method and a mobile terminal. The method includes: recording the running state of the target application program on the running interface of the target application program if the preset collection condition is satisfied; generating the target application program according to the recorded running state. A favorite application icon corresponding to the target application; if a running operation based on the favorite application icon is received, the target application is controlled to run to the recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

Description

一种运行状态恢复方法及移动终端A kind of running state restoration method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种运行状态恢复方法及移动终端。The invention relates to the technical field of communications, in particular to a method for restoring an operating state and a mobile terminal.

背景技术Background technique

随着移动终端的迅速发展,移动终端已经成为人们生活中必不可少的一种工具,并且为用户生活的各个方面带来了极大的便捷。移动终端可以安装各种各样的应用程序以满足用户不同的需求。With the rapid development of mobile terminals, mobile terminals have become an indispensable tool in people's lives, and have brought great convenience to all aspects of users' lives. A variety of application programs can be installed on a mobile terminal to meet different needs of users.

现有技术中,移动终端在运行某个应用程序时,可能会被一些事件中断。例如,移动终端接收的一个来电;或者是移动终端接收用户的切换指令,从当前的运行的应用程序切换到其他的应用程序等等。但是,当移动终端再切换回到中断之前的应用程序时,应用程序可能不再是中断之前的状态,需要用户重新操作一遍才可以恢复该状态,这样导致移动终端的智能化程度比较低。In the prior art, when a mobile terminal is running an application program, it may be interrupted by some events. For example, the mobile terminal receives an incoming call; or the mobile terminal receives a switching instruction from the user to switch from the currently running application program to other application programs, and so on. However, when the mobile terminal switches back to the application program before the interruption, the application program may no longer be in the state before the interruption, and the user needs to operate again to restore the state, which leads to a relatively low degree of intelligence of the mobile terminal.

发明内容Contents of the invention

本发明实施例提供一种运行状态恢复方法及移动终端,以解决移动终端智能化程度比较低的问题。Embodiments of the present invention provide a method for restoring an operating state and a mobile terminal, so as to solve the problem of relatively low intelligence of the mobile terminal.

第一方面,本发明实施例提供了一种运行状态恢复方法,包括:In a first aspect, an embodiment of the present invention provides a method for restoring an operating state, including:

在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;On the running interface of the target application, if the preset collection condition is met, record the running state of the target application;

按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;Generate a favorite application icon corresponding to the target application program according to the recorded running state;

若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。If a running operation based on the favorite application icon is received, the target application program is controlled to run to a recorded running state.

第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:

记录模块,用于在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;A recording module, configured to record the running status of the target application if the preset collection condition is met on the running interface of the target application;

生成模块,用于按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;A generating module, configured to generate a favorite application icon corresponding to the target application according to the recorded running state;

控制模块,用于若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。A control module, configured to control the target application program to run to the recorded running state if the running operation based on the favorite application icon is received.

第三方面,本发明实施例还提供一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述运行状态恢复方法中的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including: a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program implement the steps in the above-mentioned running state recovery method at the same time.

第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述运行状态恢复方法中的步骤。In a fourth aspect, an embodiment of the present invention further 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 steps in the above method for restoring the running state are implemented.

这样,本发明实施例中,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。In this way, in the embodiment of the present invention, on the running interface of the target application, if the preset collection condition is satisfied, the running state of the target application is recorded; according to the recorded running state, a favorite application icon corresponding to the target application is generated; If a running operation based on the favorite application icon is received, the target application program is controlled to run to a recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明一实施例提供的运行状态恢复方法的流程图;FIG. 1 is a flow chart of a method for restoring an operating state provided by an embodiment of the present invention;

图2是本发明又一实施例提供的运行状态恢复方法的流程图;FIG. 2 is a flow chart of a method for restoring an operating state provided in another embodiment of the present invention;

图3是本发明一实施例提供的截图的显示示意图;Fig. 3 is a schematic display diagram of a screenshot provided by an embodiment of the present invention;

图4是本发明一实施例提供的移动终端的结构图之一;FIG. 4 is one of the structural diagrams of a mobile terminal provided by an embodiment of the present invention;

图5是本发明一实施例提供的移动终端的结构图之二;FIG. 5 is the second structural diagram of a mobile terminal provided by an embodiment of the present invention;

图6是本发明一实施例提供的移动终端的调节模块的结构图;Fig. 6 is a structural diagram of an adjustment module of a mobile terminal provided by an embodiment of the present invention;

图7是本发明又一实施例提供的移动终端的结构图;FIG. 7 is a structural diagram of a mobile terminal provided by another embodiment of the present invention;

图8是本发明又一实施例提供的移动终端的结构图。Fig. 8 is a structural diagram of a mobile terminal provided by another embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but 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 fall within the protection scope of the present invention.

参见图1,图1是本发明实施例提供的运行状态恢复方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flow chart of the method for restoring the operating state provided by the embodiment of the present invention. As shown in FIG. 1, it includes the following steps:

步骤101、在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态。Step 101. On the running interface of the target application, if the preset collection condition is met, record the running status of the target application.

本发明实施例中,上述目标应用程序的运行界面,可以是启动目标应用程序显示的初始界面,或者也可以是在显示的初始界面接收一些操作指令跳转的其他界面等等。满足预设收藏条件可以有多种实现方式,例如:接收到包括“收藏”的声音信号时,就确定满足预设收藏条件;或者,移动终端上某个位置接收到一个按压操作,也可以认为满足预设收藏条件;又或者,移动终端的显示屏上的某个部位接收到一个滑动操作,亦可以认为满足预设收藏条件等等。上述目标应用程序,可以是音乐应用程序、视频应用程序、社交应用程序或者游戏应用程序等等。上述目标应用程序的运行状态可以这样理解。例如:若目标应用程序为游戏应用程序,此时运行状态可以包括游戏的关卡信息,以及游戏角色在关卡中的位置、等级、装备、金钱和经验等等;若目标应用程序为视频应用程序,此时运行状态可以包括视频播放的时间,视频播放的音量,视频播放的清晰度以及视频播放的那一帧画面等等。In the embodiment of the present invention, the above-mentioned running interface of the target application program may be the initial interface displayed by starting the target application program, or may be another interface that receives some operation instructions and jumps to the displayed initial interface, and the like. Satisfying the preset favorite condition can be implemented in a variety of ways, for example: when a sound signal including "favorite" is received, it is determined that the preset favorite condition is met; Satisfy the preset collection condition; or, if a certain part on the display screen of the mobile terminal receives a sliding operation, it may also be considered that the preset collection condition is met and so on. The above-mentioned target application program may be a music application program, a video application program, a social application program, a game application program, or the like. The running state of the above-mentioned target application program can be understood in this way. For example: if the target application is a game application, the running status can include the level information of the game, as well as the position, level, equipment, money and experience of the game character in the level; if the target application is a video application, At this time, the running state may include the playing time of the video, the volume of the playing video, the clarity of playing the video, the frame of the playing video, and so on.

步骤102、按照记录的运行状态生成所述目标应用程序对应的收藏应用图标。Step 102: Generate a favorite application icon corresponding to the target application program according to the recorded running status.

本发明实施例中,上述目标应用程序对应的收藏应用图标,可以是一个圆形的图标、三角形的图标、矩形的图标或者也可以是一些其他形状的图标等等,在这些图标中可以有一些文字信息或者数字信息以使用户更加方便的进行确认。当然除此之外,上述按照记录的运行状态生成所述目标应用程序对应的收藏应用图标,可以是目标应用程序运行界面的截图,或者也可以是目标应用程序运行界面的部分截图等等。In the embodiment of the present invention, the favorite application icon corresponding to the above-mentioned target application program may be a circular icon, a triangular icon, a rectangular icon, or some other shapes of icons, etc., among which there may be some Text information or digital information makes it easier for users to confirm. Of course, in addition, the above-mentioned generation of the favorite application icon corresponding to the target application program according to the recorded running status may be a screenshot of the running interface of the target application program, or may be a partial screenshot of the running interface of the target application program.

步骤103、若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。Step 103, if the running operation based on the favorite application icon is received, control the target application program to run to the recorded running state.

本发明实施例中,上述基于所述收藏应用图标的运行操作,可以是对收藏应用图标的一次点击,可以是对收藏应用图标的一次双击,或者也可以是对收藏应用图标的一次长时间的按压等等。当然除此之外还可以有更多其他的方式来操作收藏应用图标,对此本发明实施例不作限定。这样在接收到基于所述收藏应用图标的运行操作时,可以控制目标应用程序运行至记录的运行状态,用户就不需要重新运行一次目标应用程序以达到对应的运行状态,使用户的操作更加便捷,移动终端的智能化程度得以提高。In the embodiment of the present invention, the above-mentioned running operation based on the favorite application icon may be a click on the favorite application icon, a double-click on the favorite application icon, or a long time on the favorite application icon. press and so on. Of course, in addition to this, there may be more other ways to operate the favorite application icons, which are not limited in this embodiment of the present invention. In this way, when the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, and the user does not need to re-run the target application program to reach the corresponding running state, making the user's operation more convenient , the degree of intelligence of the mobile terminal can be improved.

本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) Or wearable device (Wearable Device) and so on.

本发明实施例的一种运行状态恢复方法,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。In the method for restoring the running state of the embodiment of the present invention, if the preset collection condition is met on the running interface of the target application program, the running state of the target application program is recorded; Favorite application icons; if a running operation based on the favorite application icons is received, control the target application program to run to a recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

参见图2,图2是本发明实施例提供的运行状态恢复方法的流程图。本实施例与上个实施例的主要区别在于本方法中会显示预设提示框,并且可以在预设提示框中添加收藏应用图标。如图2所示,包括以下步骤:Referring to FIG. 2 , FIG. 2 is a flowchart of a method for restoring an operating state provided by an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that a preset prompt box will be displayed in this method, and a favorite application icon can be added in the preset prompt box. As shown in Figure 2, it includes the following steps:

步骤201、在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态。Step 201. On the running interface of the target application, if the preset collection condition is met, record the running status of the target application.

本发明实施例中,上述目标应用程序的运行界面,可以是启动目标应用程序显示的初始界面,或者也可以是在显示的初始界面接收一些操作指令跳转的其他界面等等。满足预设收藏条件可以有多种实现方式,例如:接收到包括“收藏”的声音信号时,就确定满足预设收藏条件;或者,移动终端上某个位置接收到一个按压操作,也可以认为满足预设收藏条件;又或者,移动终端的显示屏上的某个部位接收到一个滑动操作,亦可以认为满足预设收藏条件等等。上述目标应用程序,可以是音乐应用程序、视频应用程序、社交应用程序或者游戏应用程序等等。上述目标应用程序的运行状态可以这样理解。例如:若目标应用程序为游戏应用程序,此时运行状态可以包括游戏的关卡信息,以及游戏角色在关卡中的位置、等级、装备、金钱和经验等等;若目标应用程序为视频应用程序,此时运行状态可以包括视频播放的时间,视频播放的音量,视频播放的清晰度以及视频播放的那一帧画面等等。In the embodiment of the present invention, the above-mentioned running interface of the target application program may be the initial interface displayed by starting the target application program, or may be another interface that receives some operation instructions and jumps to the displayed initial interface, and the like. Satisfying the preset favorite condition can be implemented in a variety of ways, for example: when a sound signal including "favorite" is received, it is determined that the preset favorite condition is met; Satisfy the preset collection condition; or, if a certain part on the display screen of the mobile terminal receives a sliding operation, it may also be considered that the preset collection condition is met and so on. The above-mentioned target application program may be a music application program, a video application program, a social application program, a game application program, or the like. The running state of the above-mentioned target application program can be understood in this way. For example: if the target application is a game application, the running status can include the level information of the game, as well as the position, level, equipment, money and experience of the game character in the level; if the target application is a video application, At this time, the running state may include the playing time of the video, the volume of the playing video, the clarity of playing the video, the frame of the playing video, and so on.

步骤202、按照记录的运行状态生成所述目标应用程序对应的收藏应用图标。Step 202: Generate a favorite application icon corresponding to the target application program according to the recorded running status.

本发明实施例中,上述目标应用程序对应的收藏应用图标,可以是一个圆形的图标、三角形的图标、矩形的图标或者也可以是一些其他形状的图标等等,在这些图标中可以有一些文字信息或者数字信息以使用户更加方便的进行确认。当然除此之外,上述按照记录的运行状态生成所述目标应用程序对应的收藏应用图标,可以是目标应用程序运行界面的截图,或者也可以是目标应用程序运行界面的部分截图等等。In the embodiment of the present invention, the favorite application icon corresponding to the above-mentioned target application program may be a circular icon, a triangular icon, a rectangular icon, or some other shapes of icons, etc., among which there may be some Text information or digital information makes it easier for users to confirm. Of course, in addition, the above-mentioned generation of the favorite application icon corresponding to the target application program according to the recorded running status may be a screenshot of the running interface of the target application program, or may be a partial screenshot of the running interface of the target application program.

步骤203、显示预设提示框。Step 203, displaying a preset prompt box.

本发明实施例中,上述预设提示框可以是长方形的提示框、正方形的提示框、圆形的提示框、椭圆形的提示框或者其他形状的提示框等等。且该提示框可以显示在屏幕的中间,或者也可以显示在屏幕的上、下、左、右或者其他的一些位置等等。In the embodiment of the present invention, the preset prompt frame may be a rectangular prompt frame, a square prompt frame, a circular prompt frame, an oval prompt frame, or a prompt frame of other shapes, and the like. And the prompt box can be displayed in the middle of the screen, or can also be displayed in the top, bottom, left, right or some other positions of the screen.

步骤204、在所述预设提示框中添加所述收藏应用图标。Step 204, adding the favorite application icon in the preset prompt box.

本发明实施例中,在预设提示框中添加所述收藏应用图标,可以是从左往右添加,或者也可以是从上往下添加等等,当然也可以有一些其他的添加方式,对此本发明实施例不作限定。In the embodiment of the present invention, adding the favorite application icon in the preset prompt box can be added from left to right, or can also be added from top to bottom, etc. Of course, there can also be some other ways of adding, for This embodiment of the present invention is not limited.

步骤205、若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。Step 205 , if a touch operation on the favorite application icon in the preset prompt box is received, control the target application program to run to a recorded running state.

本发明实施例中,上述对所述预设提示框中的所述收藏应用图标的触控操作,可以是对收藏应用图标的一次点击,可以是对收藏应用图标的一次双击,或者也可以是对收藏应用图标的一次长时间的按压等等。当然除此之外还可以有更多其他的方式来操作收藏应用图标,对此本发明实施例不作限定。这样在接收到基于所述收藏应用图标的运行操作时,可以控制目标应用程序运行至记录的运行状态,用户就不需要重新运行一次目标应用程序以达到对应的运行状态,使用户的操作更加便捷,移动终端的智能化程度得以提高。In the embodiment of the present invention, the above-mentioned touch operation on the favorite application icon in the preset prompt box may be a click on the favorite application icon, a double-click on the favorite application icon, or a A long press on the favorite app icon and so on. Of course, in addition to this, there may be more other ways to operate the favorite application icons, which are not limited in this embodiment of the present invention. In this way, when the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, and the user does not need to re-run the target application program to reach the corresponding running state, making the user's operation more convenient , the degree of intelligence of the mobile terminal can be improved.

可选的,所述若满足预设收藏条件,记录所述目标应用程序的运行状态的步骤,包括:Optionally, the step of recording the running state of the target application program if the preset collection condition is met includes:

接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:receiving a user's trigger operation, judging whether the user's trigger operation satisfies a preset operation, and if the user's trigger operation satisfies the preset operation, recording the running status of the target application program, wherein the preset Actions include at least one of the following:

在显示屏边缘的滑动操作;Swipe actions on the edge of the display;

或者,在快速启动栏中对预设图标的触摸操作;Or, a touch operation on a preset icon in the quick launch bar;

或者,在显示屏上压力大于预设阈值的按压操作;Or, a pressing operation with a pressure greater than a preset threshold on the display;

或者,在显示屏上至少两个指纹的触摸操作。Alternatively, the touch operation of at least two fingerprints on the display.

本实施方式中,上述接收用户的触发操作,可以是用户的一次点击操作,用户的一次滑动操作,或者用户的一些其他操作等等。上述在显示屏边缘的滑动操作,这里的边缘可以是显示屏的上边缘、下边缘、左边缘或者右边缘等等。上述快速启动栏中的预设图标,可以是已经存在的图标,或者也可以是用户添加的新的图标等等。上述在显示屏上压力大于预设阈值的按压操作,可以是在显示屏上任意一个位置进行的按压操作,或者也可以是一些预先置顶的位置进行的按压操作。这里的预设阈值,可以是3牛、4牛、5牛或者其他数值的压力值等等。上述在显示屏上至少两个指纹的触摸操作,可以是至少两个指纹一起进行的触摸操作,或者也可以是有时间的先后顺序进行的至少两次触摸等等,对此本实施方式不作限定。这样,可以通过用户的一些操作,主动对目标应用程序的运行状态进行记录,使用户可以方便的记录自己需要的运行状态,使用更加便捷,移动终端的智能化程度得以提高。In this embodiment, the trigger operation received by the user may be a click operation by the user, a slide operation by the user, or some other operations by the user. For the above-mentioned sliding operation on the edge of the display screen, the edge here may be the upper edge, lower edge, left edge or right edge of the display screen and so on. The preset icon in the above quick launch bar may be an existing icon, or may be a new icon added by the user or the like. The above-mentioned pressing operation with a pressure greater than a preset threshold on the display screen may be a pressing operation performed at any position on the display screen, or may be a pressing operation performed at some pre-set positions. The preset threshold here can be 3 N, 4 N, 5 N, or other numerical pressure values, etc. The above-mentioned touch operation of at least two fingerprints on the display screen may be a touch operation performed by at least two fingerprints together, or may also be at least two touch operations performed in chronological order, which is not limited in this embodiment . In this way, the running state of the target application program can be actively recorded through some operations of the user, so that the user can conveniently record the running state required by him, making the use more convenient and improving the intelligence of the mobile terminal.

需要说明的是,若所述用户的触发操作满足所述预设操作,则记录目标应用程序的运行状态,可以是在操作结束,立马记录目标应用程序的运行状态。或者也可以将该操作作为一个触发条件,当用户的操作满足所述预设操作之后,且当目标应用程序的运行界面切换至其他的界面时,才记录目标应用程序的运行状态。这两种方式都是可以的,对此本实施方式不作限定。It should be noted that if the user's trigger operation satisfies the preset operation, the running state of the target application is recorded, which may be recorded immediately after the operation ends. Alternatively, the operation may be used as a trigger condition, and the running state of the target application is recorded only after the user's operation satisfies the preset operation and when the running interface of the target application is switched to another interface. Both manners are possible, which is not limited in this implementation manner.

可选的,所述预设收藏条件包括所述目标应用程序切换至后台运行;所述若满足预设收藏条件,记录所述目标应用程序的运行状态的步骤,包括:Optionally, the preset collection condition includes switching the target application to run in the background; the step of recording the running state of the target application if the preset collection condition is met includes:

若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。If the target application is switched to run in the background, record the running status of the target application.

本实施方式中,引起目标应用程序切换至后台运行的触发条件可以有多种。例如:当用户在使用移动终端观看某个视频的时候,突然接到一个来电,此时视频应用程序可能就会切换至后台运行;或者也可以是玩某个游戏,此时用户设置的闹钟响了起来,游戏应用程序也会切换至后台运行。由于切换至后台的目标应用程序,在结束这些突发事件时,再切换回来的时候,可能不再是中断之前的状态,视频应用程序可能跳转到了其他页面,游戏应用程序可能还在运行导致游戏失败或者其他的影响。In this implementation manner, there may be multiple trigger conditions that cause the target application program to switch to running in the background. For example: when a user is watching a certain video on a mobile terminal and suddenly receives an incoming call, the video application may switch to the background to run at this time; When you wake up, the game application will also switch to run in the background. Due to the target application switched to the background, when these emergencies are ended, when switching back, it may no longer be in the state before the interruption, the video application may jump to other pages, and the game application may still be running. Game failure or other effects.

这样,若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态,使移动终端被一些其他的事件打断的时候,在后续的过程中还可以从相应的入口进入记录的状态,这样可以使用户使用更加方便,不需要太多的操作就能恢复目标应用程序的运行状态,移动终端的智能化程度也得以提高。In this way, if the target application is switched to run in the background, the running state of the target application is recorded, so that when the mobile terminal is interrupted by some other events, it can also enter the recorded program from the corresponding entry in the subsequent process. state, which can make the user more convenient to use, and can restore the running state of the target application program without too many operations, and the intelligent degree of the mobile terminal can also be improved.

可选的,所述收藏应用图标为所述目标应用程序的运行界面的截图;Optionally, the favorite application icon is a screenshot of the running interface of the target application;

或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program.

本实施方式中,所述收藏应用图标为所述目标应用程序的运行界面的截图或者截图的缩略图,这样用户可以一目了然的知道该截图或者缩略图对应的应用程序的运行状态,后期在进行恢复的时候可以快速的查找到自己想要的截图或者缩略图。在预设提示框中可以收藏多个截图或者缩略图。对于预设提示框中的多个截图或者缩略图,用户也可以选择单个或者多个截图及缩略图进行删除,而删除的过程与相册中的相片的删除过程可以是类似的过程。需要说明的是,这些截图或者缩略图可以是同一个应用程序的不同运行界面的截图或者缩略图,这样根据不同运行界面的截图或者缩略图可以返回至同一个应用程序的不同运行状态。In this embodiment, the favorite application icon is a screenshot of the running interface of the target application or a thumbnail of the screenshot, so that the user can know the running status of the application corresponding to the screenshot or the thumbnail at a glance, and restore it later You can quickly find the screenshot or thumbnail you want. Multiple screenshots or thumbnails can be favorited in the preset prompt box. For multiple screenshots or thumbnails in the preset prompt box, the user can also select one or more screenshots and thumbnails to delete, and the deletion process can be similar to the process of deleting photos in an album. It should be noted that these screenshots or thumbnails can be screenshots or thumbnails of different running interfaces of the same application, so that different running states of the same application can be returned to according to the screenshots or thumbnails of different running interfaces.

为了更好的理解预设提示框中呈现的截图,我们可以参阅图3,图3为一种截图的显示示意图。图3中我们可以看到,在显示屏的中央位置,显示有一个预设提示框,在提示框中显示有A截图、B截图、C截图和D截图。这四个截图可以代表不同的应用程序的运行界面的截图,或者也可以包括相同的应用程序在不同运行状态下的运行界面的截图。且预设提示框是显示在应用程序一的运行界面的上方,可以通过一些方式将应用程序一的运行界面的截图添加到预设提示框中。通过在预设提示框中显示目标应用程序的运行界面的截图,并且还可以显示一些其他应用程序的运行界面的截图,用户可以方便的查阅这些截图,并且也可以方便的对这些截图进行管理,使用户操作更加便捷。In order to better understand the screenshot presented in the preset prompt box, we can refer to FIG. 3 , which is a schematic diagram showing a screenshot. As can be seen in FIG. 3 , a preset prompt box is displayed in the center of the display screen, and screenshots A, B, C and D are displayed in the prompt box. These four screenshots may represent screenshots of running interfaces of different application programs, or may also include screenshots of running interfaces of the same application program in different running states. In addition, the preset prompt box is displayed above the running interface of the application program 1, and a screenshot of the running interface of the application program 1 can be added to the preset prompt box in some ways. By displaying screenshots of the running interface of the target application in the preset prompt box, and displaying some screenshots of the running interface of other applications, the user can conveniently check these screenshots, and can also conveniently manage these screenshots, Make user operation more convenient.

可选的,所述在所述预设提示框中添加所述收藏应用图标的步骤,包括:Optionally, the step of adding the favorite application icon in the preset prompt box includes:

判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;judging whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold;

若所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;If the number of screenshots or thumbnails of screenshots in the preset prompt box is greater than the preset threshold value, delete the earliest screenshot or thumbnail of screenshots added in the preset prompt box, and add A screenshot of the running interface of the target application or a thumbnail of the screenshot is added in the preset prompt box;

若所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。If the number of screenshots or thumbnails of the screenshots in the preset prompt box is less than or equal to the preset threshold value, add a screenshot or a screenshot of the running interface of the target application in the preset prompt box thumbnail of the .

本实施方式中,上述预设门限是可以是4个、5个、6个或者一些其他设置的数值,或者该数值也可以是根据移动终端自身的一些配置确定的不同的数值等等。当预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,这样既可以确保当前添加的截图或者截图的缩略图能够顺利添加到预设提示框中,也可以删除一些可能不太需要使用到的截图或者截图的缩略图。添加时间最早的截图或者截图的缩略图,相对来说可能使用的机会不是那么大,所以合理的进行删除以添加新的截图或者截图的缩略图。除了这种方式,用户也可以手动选择哪个截图或者截图的缩略图进行删除,或者系统随机选择一个截图或者截图的缩略图进行删除以添加新的截图或者截图的缩略图等等。In this embodiment, the above-mentioned preset threshold may be 4, 5, 6 or some other set value, or the value may also be a different value determined according to some configurations of the mobile terminal itself. When the number of screenshots or thumbnails of screenshots in the preset prompt box is greater than the preset threshold value, delete the earliest screenshot or thumbnail of screenshots added in the preset prompt box, so as to ensure that the currently added Screenshots or thumbnails of screenshots can be smoothly added to the preset prompt box, and some screenshots or thumbnails of screenshots that may not be used may be deleted. The screenshot or the thumbnail of the screenshot that was added at the earliest time is relatively less likely to be used, so it is reasonable to delete it to add a new screenshot or thumbnail of the screenshot. In addition to this method, the user can also manually select which screenshot or thumbnail of the screenshot to delete, or the system randomly selects a screenshot or thumbnail of the screenshot to delete to add a new screenshot or thumbnail of the screenshot, etc.

当然,当所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,就可以在所述预设提示框中直接添加所述目标应用程序的运行界面的截图或者截图的缩略图。本实施方式中,通过设置合理的预设门限值,以使预设提示框中保持一个合理的截图或者截图的缩略图数量,使显示更加简洁,用户使用起来也更加方便。Of course, when the number of screenshots or thumbnails of the screenshots in the preset prompt box is less than or equal to the preset threshold value, the running interface of the target application program can be directly added in the preset prompt box screenshots or thumbnails of screenshots. In this embodiment, by setting a reasonable preset threshold value, a reasonable number of screenshots or thumbnails of the screenshots are kept in the preset prompt box, so that the display is more concise and the user is more convenient to use.

并且,在删除所述预设提示框中添加时间最早的截图或者截图的缩略图的同时,还可以删除对该截图或者截图的缩略图对应的应用程序记录的运行状态。这样可以减少移动终端内存的开销,对一些不需要使用的运行状态进行释放,可以缓解内存的压力,使移动终端的运行更加流畅。当然除此之外,也可以是用户手动清理一些内存,例如使用一键加速,或者省电清理等等方式对内存进行清理,这样也可以对记录的运行状态进行删除。通过这种方式,既缓解了内存的压力,也是移动终端的运行更加流畅,用户在使用过程中可以有更好的感受。Moreover, while deleting the screenshot or the thumbnail of the screenshot with the earliest time added in the preset prompt box, the running status of the application record corresponding to the screenshot or the thumbnail of the screenshot can also be deleted. In this way, the memory overhead of the mobile terminal can be reduced, some running states that are not needed can be released, the pressure on the memory can be relieved, and the mobile terminal can run more smoothly. Of course, in addition to this, the user can also manually clean up some memory, such as using one-key acceleration, or power-saving cleaning to clean up the memory, so that the recorded running status can also be deleted. In this way, the pressure on the memory is relieved, the operation of the mobile terminal is smoother, and the user can have a better experience during use.

本发明实施例的一种运行状态恢复方法,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;显示预设提示框;在所述预设提示框中添加所述收藏应用图标;若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到对所述预设提示框中的所述收藏应用图标的触控操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。且由于预设提示框的存在,用户也方便对一些截图进行管理。In the method for restoring the running state of the embodiment of the present invention, if the preset collection condition is met on the running interface of the target application program, the running state of the target application program is recorded; Favorite application icon; display a preset prompt box; add the favorite application icon in the preset prompt box; if a touch operation on the favorite application icon in the preset prompt box is received, control the The target application runs to the recorded running state. In this way, if a touch operation on the favorite application icon in the preset prompt box is received, the target application program can be controlled to run to the recorded running state, so that the changed state can be restored without the user operating again, improving The degree of intelligence of the mobile terminal. And due to the existence of the preset prompt box, it is also convenient for the user to manage some screenshots.

参见图4,图4是本发明实施例提供的移动终端的结构图,能实现上述实施例中运行状态恢复方法的细节,并达到相同的效果。如图4所示,移动终端400包括记录模块401、生成模块402和控制模块403,记录模块401和生成模块402连接,生成模块402和控制模块403连接,其中:Referring to FIG. 4 , FIG. 4 is a structural diagram of a mobile terminal provided by an embodiment of the present invention, which can implement details of the method for restoring the running state in the above embodiment and achieve the same effect. As shown in Figure 4, the mobile terminal 400 includes a record module 401, a generation module 402 and a control module 403, the record module 401 is connected to the generation module 402, and the generation module 402 is connected to the control module 403, wherein:

记录模块401,用于在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;A recording module 401, configured to record the running state of the target application on the running interface of the target application if the preset collection condition is satisfied;

生成模块402,用于按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;A generating module 402, configured to generate a favorite application icon corresponding to the target application program according to the recorded running state;

控制模块403,用于若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。The control module 403 is configured to control the target application program to run to the recorded running state if the running operation based on the favorite application icon is received.

可选的,所述记录模块401,用于:Optionally, the recording module 401 is configured to:

接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:receiving a user's trigger operation, judging whether the user's trigger operation satisfies a preset operation, and if the user's trigger operation satisfies the preset operation, recording the running status of the target application program, wherein the preset Actions include at least one of the following:

在显示屏边缘的滑动操作;Swipe actions on the edge of the display;

或者,在快速启动栏中对预设图标的触摸操作;Or, a touch operation on a preset icon in the quick launch bar;

或者,在显示屏上压力大于预设阈值的按压操作;Or, a pressing operation with a pressure greater than a preset threshold on the display;

或者,在显示屏上至少两个指纹的触摸操作。Alternatively, the touch operation of at least two fingerprints on the display.

可选的,所述预设收藏条件包括所述目标应用程序切换至后台运行;所述记录模块401,用于:Optionally, the preset collection condition includes switching the target application program to run in the background; the recording module 401 is configured to:

若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。If the target application is switched to run in the background, record the running status of the target application.

可选的,如图5所示,所述移动终端400还包括:Optionally, as shown in FIG. 5, the mobile terminal 400 further includes:

显示模块404,用于显示预设提示框;A display module 404, configured to display a preset prompt box;

添加模块405,用于在所述预设提示框中添加所述收藏应用图标;Adding module 405, configured to add the favorite application icon in the preset prompt box;

所述控制模块403,用于:The control module 403 is configured to:

若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。If a touch operation on the favorite application icon in the preset prompt box is received, the target application program is controlled to run to a recorded running state.

可选的,所述收藏应用图标为所述目标应用程序的运行界面的截图;Optionally, the favorite application icon is a screenshot of the running interface of the target application;

或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program.

可选的,如图6所示,所述添加模块405,包括:Optionally, as shown in FIG. 6, the adding module 405 includes:

判断子模块4051,用于判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;A judging submodule 4051, configured to judge whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold;

删除子模块4052,用于若所述判断子模块4051判断所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;The deletion sub-module 4052 is used to delete the added image in the preset prompt box if the judging sub-module 4051 judges that the number of screenshots or thumbnails of screenshots in the preset prompt box is greater than the preset threshold value. The screenshot or the thumbnail of the screenshot with the earliest time, and adding the screenshot or the thumbnail of the screenshot of the running interface of the target application in the preset prompt box;

添加子模块4053,用于若所述判断子模块4051判断所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。Add a submodule 4053, for if the judging submodule 4051 judges that the number of screenshots or thumbnails of the screenshots in the preset prompt box is less than or equal to the preset threshold value, then in the preset prompt box Add a screenshot of the running interface of the target application or a thumbnail of the screenshot.

移动终端400能实现图1至图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 400 can implement various processes implemented by the mobile terminal in the method embodiments shown in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition.

本发明实施例的移动终端400,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。In the mobile terminal 400 of the embodiment of the present invention, on the running interface of the target application program, if the preset collection condition is met, record the running state of the target application program; generate the favorite application icon corresponding to the target application program according to the recorded running state ; If the running operation based on the favorite application icon is received, control the target application program to run to the recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

参见图7,图7是本发明实施例提供的移动终端的结构图,能实现上述实施例中运行状态恢复方法的细节,并达到相同的效果。如图7所示,移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704和用户接口703。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。Referring to FIG. 7 , FIG. 7 is a structural diagram of a mobile terminal provided by an embodiment of the present invention, which can implement details of the method for restoring the running state in the above embodiment and achieve the same effect. As shown in FIG. 7 , a mobile terminal 700 includes: at least one processor 701 , a memory 702 , at least one network interface 704 and a user interface 703 . Various components in the mobile terminal 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .

其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard or a pointing device (for example, a mouse, a track ball (track ball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable P ROM,EPROM)、电可擦除可编程只读存储器(Electrically EP ROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous D RAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSD RAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SD RAM,ESDRAM)、同步连接动态随机存取存储器(Synch link D RAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable P ROM, EPROM), electronic Erasable programmable read-only memory (Electrically EP ROM, EEPROM) or flash memory. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM) , SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SD RAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SD RAM, ESDRAM), synchronous connection dynamic random access memory (Synch link D RAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). Memory 702 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 7021 and an application program 7022 .

其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。Among them, the operating system 7021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 7022 .

在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,计算机程序被处理器701执行时可实现如下步骤:在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。In the embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, the program or instruction stored in the application program 7022, when the computer program is executed by the processor 701, the following steps can be implemented: On the running interface, if the preset collection condition is met, record the running state of the target application; generate a favorite application icon corresponding to the target application according to the recorded running state; if a running operation based on the favorite application icon is received, Controlling the target application to run to a recorded running state.

上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein 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 Device (Programmable Logic 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 this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,计算机程序被处理器701执行时还可实现如下步骤:接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:在显示屏边缘的滑动操作;或者,在快速启动栏中对预设图标的触摸操作;或者,在显示屏上压力大于预设阈值的按压操作;或者,在显示屏上至少两个指纹的触摸操作。Optionally, when the computer program is executed by the processor 701, the following steps may also be implemented: receiving a user’s trigger operation, judging whether the user’s trigger operation satisfies a preset operation, and if the user’s trigger operation satisfies the preset operation , then record the running state of the target application, wherein the preset operation includes at least one of the following operations: a sliding operation on the edge of the display screen; or a touch operation on a preset icon in the quick launch bar; or , a press operation with a pressure greater than a preset threshold on the display screen; or, a touch operation with at least two fingerprints on the display screen.

可选的,所述预设收藏条件包括所述目标应用程序切换至后台运行,计算机程序被处理器701执行时还可实现如下步骤:若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。Optionally, the preset collection condition includes switching the target application program to run in the background, and when the computer program is executed by the processor 701, the following steps can also be implemented: if the target application program switches to running in the background, record the target The running state of the application.

可选的,计算机程序被处理器701执行时还可实现如下步骤:显示预设提示框;在所述预设提示框中添加所述收藏应用图标;若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。Optionally, when the computer program is executed by the processor 701, the following steps may also be implemented: displaying a preset prompt box; adding the favorite application icon in the preset prompt box; The touch operation of the favorite application icon controls the target application program to run to the recorded running state.

可选的,所述收藏应用图标为所述目标应用程序的运行界面的截图;Optionally, the favorite application icon is a screenshot of the running interface of the target application;

或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program.

可选的,计算机程序被处理器701执行时还可实现如下步骤:判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;若所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;若所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。Optionally, when the computer program is executed by the processor 701, the following steps may also be implemented: judging whether the number of screenshots or thumbnails of screenshots in the preset prompt box is greater than a preset threshold value; if the preset prompt box If the number of screenshots or thumbnails of screenshots in the screenshot is greater than the preset threshold value, delete the screenshot or thumbnails of screenshots with the earliest time added in the preset prompt box, and add all the screenshots in the preset prompt box Screenshots or thumbnails of screenshots of the running interface of the target application; if the number of screenshots or thumbnails of screenshots in the preset prompt box is less than or equal to the preset threshold value, then in the preset prompt A screenshot of the running interface of the target application program or a thumbnail of the screenshot is added in the frame.

移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

本发明实施例的移动终端700,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。In the mobile terminal 700 of the embodiment of the present invention, on the running interface of the target application program, if the preset collection condition is met, record the running state of the target application program; generate the favorite application icon corresponding to the target application program according to the recorded running state ; If the running operation based on the favorite application icon is received, control the target application program to run to the recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

参见图8,图8是本发明实施提供的移动终端的结构图,该移动终端能够实现上述运行状态恢复方法的细节,并达到相同的效果。如图8所示,移动终端800包括射频(RadioFrequency,RF)电路810、存储器820、输入单元830、显示单元840、处理器850、音频电路860、通信模块870和电源880。Referring to FIG. 8, FIG. 8 is a structural diagram of a mobile terminal provided by the implementation of the present invention. The mobile terminal can implement the details of the above method for restoring the running state and achieve the same effect. As shown in FIG. 8 , a mobile terminal 800 includes a radio frequency (Radio Frequency, RF) circuit 810 , a memory 820 , an input unit 830 , a display unit 840 , a processor 850 , an audio circuit 860 , a communication module 870 and a power supply 880 .

其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器850,并能接收处理器850发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 830 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 800 . Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831 . The touch panel 831, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 831 using any suitable object or accessory such as a finger or a stylus), and based on preset The specified program drives the corresponding connected device. Optionally, the touch panel 831 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 to the processor 850, and can receive and execute commands sent by the processor 850. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 832, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。Wherein, the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800 . The display unit 840 may include a display panel 841, and optionally, the display panel 841 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器850以确定触摸事件的类型,随后处理器850根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 831 can cover the display panel 841 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 850 to determine the type of the touch event, and then the processor The 850 provides corresponding visual output on the touch display screen according to the type of touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器850是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器850可包括一个或多个处理单元。Wherein the processor 850 is the control center of the mobile terminal 800, which uses various interfaces and lines to connect the various parts of the entire mobile phone, and runs or executes the software programs and/or modules stored in the first memory 821, and calls the software programs and/or modules stored in the second memory 821. The data in the memory 822 executes various functions of the mobile terminal 800 and processes data, so as to monitor the mobile terminal 800 as a whole. Optionally, the processor 850 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,计算机程序被处理器850执行时可实现如下步骤:在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 821 and/or the data in the second memory 822, when the computer program is executed by the processor 850, the following steps can be realized: If the running interface of the application program meets the preset collection conditions, record the running state of the target application program; generate the favorite application icon corresponding to the target application program according to the recorded running state; A run operation controls the target application program to run to the recorded running state.

可选的,计算机程序被处理器850执行时还可实现如下步骤:接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:在显示屏边缘的滑动操作;或者,在快速启动栏中对预设图标的触摸操作;或者,在显示屏上压力大于预设阈值的按压操作;或者,在显示屏上至少两个指纹的触摸操作。Optionally, when the computer program is executed by the processor 850, the following steps may also be implemented: receiving a user’s trigger operation, judging whether the user’s trigger operation satisfies a preset operation, and if the user’s trigger operation satisfies the preset operation , then record the running state of the target application, wherein the preset operation includes at least one of the following operations: a sliding operation on the edge of the display screen; or a touch operation on a preset icon in the quick launch bar; or , a press operation with a pressure greater than a preset threshold on the display screen; or, a touch operation with at least two fingerprints on the display screen.

可选的,所述预设收藏条件包括所述目标应用程序切换至后台运行,计算机程序被处理器850执行时还可实现如下步骤:若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。Optionally, the preset collection condition includes switching the target application program to run in the background, and when the computer program is executed by the processor 850, the following steps can also be implemented: if the target application program switches to running in the background, record the target The running state of the application.

可选的,计算机程序被处理器850执行时还可实现如下步骤:显示预设提示框;在所述预设提示框中添加所述收藏应用图标;若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。Optionally, when the computer program is executed by the processor 850, the following steps may also be implemented: displaying a preset prompt box; adding the favorite application icon in the preset prompt box; The touch operation of the favorite application icon controls the target application program to run to the recorded running state.

可选的,所述收藏应用图标为所述目标应用程序的运行界面的截图;Optionally, the favorite application icon is a screenshot of the running interface of the target application;

或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program.

可选的,计算机程序被处理器850执行时还可实现如下步骤:判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;若所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;若所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。Optionally, when the computer program is executed by the processor 850, the following steps can also be implemented: judging whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold value; if the preset prompt box If the number of screenshots or thumbnails of screenshots in the screenshot is greater than the preset threshold value, delete the screenshot or thumbnails of screenshots with the earliest time added in the preset prompt box, and add all the screenshots in the preset prompt box Screenshots or thumbnails of screenshots of the running interface of the target application; if the number of screenshots or thumbnails of screenshots in the preset prompt box is less than or equal to the preset threshold value, then in the preset prompt A screenshot of the running interface of the target application program or a thumbnail of the screenshot is added in the frame.

移动终端800能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 800 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.

本发明实施例的移动终端800,在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。这样,若接收到基于收藏应用图标的运行操作,可以控制目标应用程序运行至记录的运行状态,从而不需要用户重新操作一遍才可以恢复改状态,提高了移动终端的智能化程度。In the mobile terminal 800 of the embodiment of the present invention, on the running interface of the target application program, if the preset collection condition is met, record the running state of the target application program; generate the favorite application icon corresponding to the target application program according to the recorded running state ; If the running operation based on the favorite application icon is received, control the target application program to run to the recorded running state. In this way, if the running operation based on the favorite application icon is received, the target application program can be controlled to run to the recorded running state, so that the user can restore the changed state without re-operation, which improves the intelligence of the mobile terminal.

本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the following steps are implemented: on the running interface of the target application program, if the Presetting collection conditions, recording the running state of the target application; generating a favorite application icon corresponding to the target application according to the recorded running state; if receiving a running operation based on the favorite application icon, controlling the target application The program runs to the recorded running state.

可选的,计算机程序被执行时还可实现如下步骤:接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:在显示屏边缘的滑动操作;或者,在快速启动栏中对预设图标的触摸操作;或者,在显示屏上压力大于预设阈值的按压操作;或者,在显示屏上至少两个指纹的触摸操作。Optionally, when the computer program is executed, the following steps may also be implemented: receiving a user’s trigger operation, judging whether the user’s trigger operation satisfies a preset operation, and if the user’s trigger operation satisfies the preset operation, recording The running state of the target application program, wherein the preset operation includes at least one of the following operations: a sliding operation on the edge of the display screen; or, a touch operation on a preset icon in the quick launch bar; or, on the display A press operation with an on-screen pressure greater than a preset threshold; or a touch operation with at least two fingerprints on the display screen.

可选的,所述预设收藏条件包括所述目标应用程序切换至后台运行,计算机程序被执行时还可实现如下步骤:若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。Optionally, the preset collection condition includes switching the target application program to run in the background, and the following steps can also be implemented when the computer program is executed: if the target application program switches to running in the background, record the target application program Operating status.

可选的,计算机程序被执行时还可实现如下步骤:显示预设提示框;在所述预设提示框中添加所述收藏应用图标;若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。Optionally, when the computer program is executed, the following steps may also be implemented: displaying a preset prompt box; adding the favorite application icon in the preset prompt box; The touch operation of the favorite application icon controls the running of the target application program to the recorded running state.

可选的,所述收藏应用图标为所述目标应用程序的运行界面的截图;Optionally, the favorite application icon is a screenshot of the running interface of the target application;

或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program.

可选的,计算机程序被执行时还可实现如下步骤:判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;若所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;若所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。Optionally, when the computer program is executed, the following steps may also be implemented: judging whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold value; if the screenshots in the preset prompt box or If the number of thumbnails of screenshots is greater than the preset threshold value, delete the earliest screenshot or thumbnail of screenshots added in the preset prompt box, and add the target application in the preset prompt box Screenshots of the running interface of the program or thumbnails of screenshots; if the number of screenshots or thumbnails of screenshots in the preset prompt box is less than or equal to the preset threshold value, then add in the preset prompt box A screenshot of the running interface of the target application or a thumbnail of the screenshot.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (14)

1.一种运行状态恢复方法,其特征在于,包括:1. A running state recovery method, characterized in that, comprising: 在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;On the running interface of the target application, if the preset collection condition is met, record the running state of the target application; 按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;Generate a favorite application icon corresponding to the target application program according to the recorded running state; 若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。If a running operation based on the favorite application icon is received, the target application program is controlled to run to a recorded running state. 2.根据权利要求1所述的方法,其特征在于,所述若满足预设收藏条件,记录所述目标应用程序的运行状态的步骤,包括:2. The method according to claim 1, wherein the step of recording the running state of the target application program if the preset collection condition is met comprises: 接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:receiving a user's trigger operation, judging whether the user's trigger operation satisfies a preset operation, and if the user's trigger operation satisfies the preset operation, recording the running status of the target application program, wherein the preset Actions include at least one of the following: 在显示屏边缘的滑动操作;Swipe actions on the edge of the display; 或者,在快速启动栏中对预设图标的触摸操作;Or, a touch operation on a preset icon in the quick launch bar; 或者,在显示屏上压力大于预设阈值的按压操作;Or, a pressing operation with a pressure greater than a preset threshold on the display; 或者,在显示屏上至少两个指纹的触摸操作。Alternatively, the touch operation of at least two fingerprints on the display. 3.根据权利要求1所述的方法,其特征在于,所述预设收藏条件包括所述目标应用程序切换至后台运行;所述若满足预设收藏条件,记录所述目标应用程序的运行状态的步骤,包括:3. The method according to claim 1, wherein the preset collection condition includes switching the target application program to run in the background; if the preset collection condition is satisfied, recording the running state of the target application program steps, including: 若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。If the target application is switched to run in the background, record the running status of the target application. 4.根据权利要求1至3中任一项所述的方法,其特征在于,在所述按照记录的运行状态生成所述目标应用程序对应的收藏应用图标的步骤之后,所述控制所述目标应用程序运行至记录的运行状态的步骤之前,所述方法还包括:4. The method according to any one of claims 1 to 3, characterized in that, after the step of generating the favorite application icon corresponding to the target application according to the recorded running state, the control of the target application Before the step of running the application to the recorded running state, the method further includes: 显示预设提示框;Display the default prompt box; 在所述预设提示框中添加所述收藏应用图标;Adding the favorite application icon in the preset prompt box; 所述若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态的步骤,包括:The step of controlling the target application program to run to the recorded running state if the running operation based on the favorite application icon is received includes: 若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。If a touch operation on the favorite application icon in the preset prompt box is received, the target application program is controlled to run to a recorded running state. 5.根据权利要求4所述的方法,其特征在于,所述收藏应用图标为所述目标应用程序的运行界面的截图;5. The method according to claim 4, wherein the favorite application icon is a screenshot of the running interface of the target application program; 或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program. 6.根据权利要求5所述的方法,其特征在于,所述在所述预设提示框中添加所述收藏应用图标的步骤,包括:6. The method according to claim 5, wherein the step of adding the favorite application icon in the preset prompt box comprises: 判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;judging whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold; 若所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;If the number of screenshots or thumbnails of screenshots in the preset prompt box is greater than the preset threshold value, delete the earliest screenshot or thumbnail of screenshots added in the preset prompt box, and add A screenshot of the running interface of the target application or a thumbnail of the screenshot is added in the preset prompt box; 若所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。If the number of screenshots or thumbnails of the screenshots in the preset prompt box is less than or equal to the preset threshold value, add a screenshot or a screenshot of the running interface of the target application in the preset prompt box thumbnail of the . 7.一种移动终端,其特征在于,包括:7. A mobile terminal, characterized in that, comprising: 记录模块,用于在目标应用程序的运行界面,若满足预设收藏条件,记录所述目标应用程序的运行状态;A recording module, configured to record the running status of the target application if the preset collection condition is met on the running interface of the target application; 生成模块,用于按照记录的运行状态生成所述目标应用程序对应的收藏应用图标;A generating module, configured to generate a favorite application icon corresponding to the target application according to the recorded running state; 控制模块,用于若接收到基于所述收藏应用图标的运行操作,控制所述目标应用程序运行至记录的运行状态。A control module, configured to control the target application program to run to the recorded running state if the running operation based on the favorite application icon is received. 8.根据权利要求7所述的移动终端,其特征在于,所述记录模块,用于:8. The mobile terminal according to claim 7, wherein the recording module is used for: 接收用户的触发操作,判断所述用户的触发操作是否满足预设操作,若所述用户的触发操作满足所述预设操作,则记录所述目标应用程序的运行状态,其中,所述预设操作包括如下至少一项操作:receiving a user's trigger operation, judging whether the user's trigger operation satisfies a preset operation, and if the user's trigger operation satisfies the preset operation, recording the running status of the target application program, wherein the preset Actions include at least one of the following: 在显示屏边缘的滑动操作;Swipe actions on the edge of the display; 或者,在快速启动栏中对预设图标的触摸操作;Or, a touch operation on a preset icon in the quick launch bar; 或者,在显示屏上压力大于预设阈值的按压操作;Or, a pressing operation with a pressure greater than a preset threshold on the display; 或者,在显示屏上至少两个指纹的触摸操作。Alternatively, the touch operation of at least two fingerprints on the display. 9.根据权利要求7所述的移动终端,其特征在于,所述预设收藏条件包括所述目标应用程序切换至后台运行;所述记录模块,用于:9. The mobile terminal according to claim 7, wherein the preset collection condition comprises switching the target application program to run in the background; the recording module is configured to: 若所述目标应用程序切换至后台运行,记录所述目标应用程序的运行状态。If the target application is switched to run in the background, record the running status of the target application. 10.根据权利要求7至9中任一项所述的移动终端,其特征在于,所述移动终端还包括:10. The mobile terminal according to any one of claims 7 to 9, wherein the mobile terminal further comprises: 显示模块,用于显示预设提示框;A display module, configured to display a preset prompt box; 添加模块,用于在所述预设提示框中添加所述收藏应用图标;Adding a module, configured to add the favorite application icon in the preset prompt box; 所述控制模块,用于:The control module is used for: 若接收到对所述预设提示框中的所述收藏应用图标的触控操作,控制所述目标应用程序运行至记录的运行状态。If a touch operation on the favorite application icon in the preset prompt box is received, the target application program is controlled to run to a recorded running state. 11.根据权利要求10所述的移动终端,其特征在于,所述收藏应用图标为所述目标应用程序的运行界面的截图;11. The mobile terminal according to claim 10, wherein the favorite application icon is a screenshot of the running interface of the target application program; 或者,所述收藏应用图标为所述目标应用程序的运行界面的截图的缩略图。Alternatively, the favorite application icon is a thumbnail of a screenshot of the running interface of the target application program. 12.根据权利要求11所述的移动终端,其特征在于,所述添加模块,包括:12. The mobile terminal according to claim 11, wherein the adding module comprises: 判断子模块,用于判断所述预设提示框中截图或者截图的缩略图的个数是否大于预设门限值;A judging submodule, configured to judge whether the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than a preset threshold; 删除子模块,用于若所述判断子模块判断所述预设提示框中截图或者截图的缩略图的个数大于所述预设门限值,则删除所述预设提示框中添加时间最早的截图或者截图的缩略图,并在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图;The deletion submodule is used to delete the earliest added time in the preset prompt box if the judging submodule judges that the number of screenshots or thumbnails of the screenshots in the preset prompt box is greater than the preset threshold value. screenshot or a thumbnail of the screenshot, and add a screenshot or a thumbnail of the screenshot of the running interface of the target application in the preset prompt box; 添加子模块,用于若所述判断子模块判断所述预设提示框中截图或者截图的缩略图的个数小于或者等于所述预设门限值,则在所述预设提示框中添加所述目标应用程序的运行界面的截图或者截图的缩略图。Adding a submodule, used to add in the preset prompt box if the judging submodule judges that the number of screenshots or thumbnails of screenshots in the preset prompt box is less than or equal to the preset threshold value A screenshot of the running interface of the target application or a thumbnail of the screenshot. 13.一种移动终端,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至6中任一项所述的运行状态恢复方法中的步骤。13. A mobile terminal, characterized by comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, the Steps in the operation state recovery method described in any one of requirements 1 to 6. 14.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的运行状态恢复方法中的步骤。14. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is realized. Run the steps in the state recovery method.
CN201710800223.XA 2017-09-07 2017-09-07 A kind of running status restoration methods and mobile terminal Pending CN107643859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710800223.XA CN107643859A (en) 2017-09-07 2017-09-07 A kind of running status restoration methods and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710800223.XA CN107643859A (en) 2017-09-07 2017-09-07 A kind of running status restoration methods and mobile terminal

Publications (1)

Publication Number Publication Date
CN107643859A true CN107643859A (en) 2018-01-30

Family

ID=61110369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710800223.XA Pending CN107643859A (en) 2017-09-07 2017-09-07 A kind of running status restoration methods and mobile terminal

Country Status (1)

Country Link
CN (1) CN107643859A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595238A (en) * 2018-04-10 2018-09-28 Oppo广东移动通信有限公司 Display control method and device of application interface
CN109857308A (en) * 2019-01-10 2019-06-07 珠海天燕科技有限公司 A kind of method and apparatus of operation application
CN109976611A (en) * 2019-03-21 2019-07-05 维沃移动通信有限公司 The control method and terminal device of terminal device
CN111104029A (en) * 2019-12-05 2020-05-05 维沃移动通信有限公司 Quick mark generation method, electronic device and medium
CN111324400A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 Display method, device, terminal and storage medium
CN111880912A (en) * 2020-06-29 2020-11-03 维沃移动通信(杭州)有限公司 Method and device for controlling electronic equipment and electronic equipment
CN114925370A (en) * 2022-04-25 2022-08-19 湖北聚易起信息科技有限公司 Software security protection method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440079A (en) * 2013-07-19 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Restoration method for operation interface and communication terminal
US20130332840A1 (en) * 2012-06-10 2013-12-12 Apple Inc. Image application for creating and sharing image streams
US20140123081A1 (en) * 2011-10-31 2014-05-01 Samsung Electronics Co., Ltd. Display apparatus and method thereof
CN104461241A (en) * 2014-12-05 2015-03-25 乐视致新电子科技(天津)有限公司 Channel collection interface interaction method and terminal
CN105432061A (en) * 2014-07-16 2016-03-23 Lg电子株式会社 Mobile terminal and control method therefor
CN105955803A (en) * 2016-04-22 2016-09-21 上海斐讯数据通信技术有限公司 Terminal and method for recovering state of application program
CN106201237A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 A kind of information collection method and device
CN106708534A (en) * 2017-01-09 2017-05-24 惠州Tcl移动通信有限公司 Method and system for generating saving based on mobile terminal webpages
CN107037943A (en) * 2016-02-03 2017-08-11 中兴通讯股份有限公司 Interface restoration methods and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140123081A1 (en) * 2011-10-31 2014-05-01 Samsung Electronics Co., Ltd. Display apparatus and method thereof
US20130332840A1 (en) * 2012-06-10 2013-12-12 Apple Inc. Image application for creating and sharing image streams
CN103440079A (en) * 2013-07-19 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Restoration method for operation interface and communication terminal
CN105432061A (en) * 2014-07-16 2016-03-23 Lg电子株式会社 Mobile terminal and control method therefor
CN104461241A (en) * 2014-12-05 2015-03-25 乐视致新电子科技(天津)有限公司 Channel collection interface interaction method and terminal
CN106201237A (en) * 2015-05-05 2016-12-07 阿里巴巴集团控股有限公司 A kind of information collection method and device
CN107037943A (en) * 2016-02-03 2017-08-11 中兴通讯股份有限公司 Interface restoration methods and device
CN105955803A (en) * 2016-04-22 2016-09-21 上海斐讯数据通信技术有限公司 Terminal and method for recovering state of application program
CN106708534A (en) * 2017-01-09 2017-05-24 惠州Tcl移动通信有限公司 Method and system for generating saving based on mobile terminal webpages

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
槿洛X: "大帅比槿洛的仙剑四满级之路--第三集:太平村"不太平"", 《HTTPS://WWW.BILIBILI.COM/VIDEO/AV5239281/》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595238A (en) * 2018-04-10 2018-09-28 Oppo广东移动通信有限公司 Display control method and device of application interface
CN108595238B (en) * 2018-04-10 2021-08-06 Oppo广东移动通信有限公司 Application interface display control method and device
CN111324400A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 Display method, device, terminal and storage medium
CN109857308A (en) * 2019-01-10 2019-06-07 珠海天燕科技有限公司 A kind of method and apparatus of operation application
CN109857308B (en) * 2019-01-10 2020-12-22 珠海天燕科技有限公司 Method and device for operating application
CN109976611A (en) * 2019-03-21 2019-07-05 维沃移动通信有限公司 The control method and terminal device of terminal device
CN111104029A (en) * 2019-12-05 2020-05-05 维沃移动通信有限公司 Quick mark generation method, electronic device and medium
WO2021109961A1 (en) * 2019-12-05 2021-06-10 维沃移动通信有限公司 Method for generating shortcut icon, electronic apparatus, and medium
CN111104029B (en) * 2019-12-05 2021-09-24 维沃移动通信有限公司 Quick mark generation method, electronic device and medium
CN111880912A (en) * 2020-06-29 2020-11-03 维沃移动通信(杭州)有限公司 Method and device for controlling electronic equipment and electronic equipment
CN114925370A (en) * 2022-04-25 2022-08-19 湖北聚易起信息科技有限公司 Software security protection method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107643859A (en) A kind of running status restoration methods and mobile terminal
CN105224276A (en) A kind of multi-screen display method and electronic equipment
CN107466077A (en) A kind of method for switching network and mobile terminal
CN106101848A (en) A kind of barrage display packing and electronic equipment
CN106681711A (en) Method for content sharing under split screen mode and mobile terminal
CN106973167B (en) An incoming call prompt method and mobile terminal
CN106844067A (en) The processing method and mobile terminal of a kind of content
CN107678666A (en) A kind of virtual key display methods, mobile terminal and computer-readable recording medium
CN106843654A (en) The method and mobile terminal of a kind of terminal multi-job operation
CN107566616A (en) A kind of display methods of information, terminal and computer-readable recording medium
CN106528160A (en) Adding method of application icons and terminal
CN106454456A (en) Video playing control method and mobile terminal
CN106406739A (en) Note generating method and mobile terminal
CN107491278A (en) A kind of split screen processing method and terminal
CN106527906A (en) Picture capture method and mobile terminal
CN106503179A (en) A kind of loading method of Webpage and mobile terminal
CN106886409A (en) A kind of method for information display and mobile terminal
CN107678813A (en) A kind of switching method and mobile terminal of the theme of desktop icons
CN107105342A (en) A kind of video playing control method and mobile terminal
CN106997268A (en) A kind of application control method and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106210231A (en) A kind of method of information processing and mobile terminal
CN106502545B (en) A kind of operating method and mobile terminal for sliding control
CN106201308A (en) A kind of pressing operation method and electronic equipment
CN106843885A (en) The method of controlling operation thereof and mobile terminal of a kind of mobile terminal

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