Movatterモバイル変換


[0]ホーム

URL:


CN108200635A - The progress control method and mobile terminal of a kind of application program - Google Patents

The progress control method and mobile terminal of a kind of application program
Download PDF

Info

Publication number
CN108200635A
CN108200635ACN201711228929.XACN201711228929ACN108200635ACN 108200635 ACN108200635 ACN 108200635ACN 201711228929 ACN201711228929 ACN 201711228929ACN 108200635 ACN108200635 ACN 108200635A
Authority
CN
China
Prior art keywords
mobile terminal
operating mode
processor
application program
preset condition
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.)
Granted
Application number
CN201711228929.XA
Other languages
Chinese (zh)
Other versions
CN108200635B (en
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201711228929.XApriorityCriticalpatent/CN108200635B/en
Publication of CN108200635ApublicationCriticalpatent/CN108200635A/en
Application grantedgrantedCritical
Publication of CN108200635BpublicationCriticalpatent/CN108200635B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

An embodiment of the present invention provides the progress control method and mobile terminal of a kind of application program, the method includes:Judge whether the mobile terminal meets the first preset condition;When the mobile terminal meets the first preset condition, the mobile terminal is switched into the second operating mode by the first operating mode.The present embodiment can reduce the electric quantity consumption during mobile terminal use, extend the stand-by time of mobile terminal, reduce calorific value during mobile terminal work, improve the service life of mobile terminal.

Description

Translated fromChinese
一种应用程序的运行控制方法及移动终端Application program operation control method and mobile terminal

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种应用程序的运行控制方法及移动终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an application program operation control method and a mobile terminal.

背景技术Background technique

智能手机在人们生活中的使用越来越普遍。随着手机屏幕尺寸的变大、CPU核数的增加,手机的功耗也越来越高。在实际生活中,为了保证手机能够满足基本的使用时间,人们不得不主动地减少使用手机的频率或关闭部分应用程序等,以减少耗电量。甚至,还需要人们随身携带备用充电装置,以便在手机电量快要消耗完的时候,及时为手机充电。The use of smart phones in people's lives is becoming more and more common. As the size of the mobile phone screen becomes larger and the number of CPU cores increases, the power consumption of the mobile phone is also getting higher and higher. In real life, in order to ensure that the mobile phone can meet the basic usage time, people have to actively reduce the frequency of using the mobile phone or close some applications to reduce power consumption. Even, people also need to carry a spare charging device with them, so that they can charge the mobile phone in time when the battery of the mobile phone is about to run out.

与此同时,随着社会沟通交流方式的转变,通过安装在手机上的微信、QQ等即时通讯工具甚至取代了打电话、发短信从而成为人们相互联系的最主要方式。为了保证能够及时地接收消息,即使在用户未使用手机时,各种即时通讯工具也必须处于运行(至少是后台运行)状态,增加了手机的功耗。At the same time, with the transformation of social communication methods, instant messaging tools such as WeChat and QQ installed on mobile phones have even replaced phone calls and text messages and become the most important way for people to communicate with each other. In order to ensure that messages can be received in time, even when the user is not using the mobile phone, various instant messaging tools must be running (at least running in the background), which increases the power consumption of the mobile phone.

发明内容Contents of the invention

本发明实施例提供了一种应用程序的运行控制方法及移动终端,以解决手机在使用过程中电量消耗过快的问题。Embodiments of the present invention provide an application program operation control method and a mobile terminal to solve the problem of excessive power consumption of the mobile phone during use.

为了解决上述技术问题,第一方面,本发明实施例提供了一种应用程序的运行控制方法,应用于移动终端,所述方法包括:In order to solve the above technical problems, in the first aspect, the embodiment of the present invention provides a method for controlling the operation of an application program, which is applied to a mobile terminal, and the method includes:

判断所述移动终端是否满足第一预设条件;judging whether the mobile terminal satisfies a first preset condition;

当所述移动终端满足第一预设条件时,将所述移动终端由第一工作模式切换至第二工作模式;When the mobile terminal satisfies a first preset condition, switching the mobile terminal from a first working mode to a second working mode;

其中,所述移动终端在所述第一工作模式下的显示分辨率高于在所述第二工作模式下的显示分辨率;和/或,Wherein, the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的数量大于在所述第二工作模式下运行的处理器的数量;和/或,The number of processors of the mobile terminal running in the first working mode is greater than the number of processors running in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的工作频率高于在所述第二工作模式下运行的处理器的工作频率。The working frequency of the processor running in the first working mode of the mobile terminal is higher than the working frequency of the processor running in the second working mode.

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

第一判断模块,用于判断所述移动终端是否满足第一预设条件;A first judging module, configured to judge whether the mobile terminal satisfies a first preset condition;

第一切换模块,用于当所述移动终端满足第一预设条件时,将所述移动终端由第一工作模式切换至第二工作模式;A first switching module, configured to switch the mobile terminal from the first working mode to the second working mode when the mobile terminal satisfies a first preset condition;

其中,所述移动终端在所述第一工作模式下的显示分辨率高于在所述第二工作模式下的显示分辨率;和/或,Wherein, the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的数量大于在所述第二工作模式下运行的处理器的数量;和/或,The number of processors of the mobile terminal running in the first working mode is greater than the number of processors running in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的工作频率高于在所述第二工作模式下运行的处理器的工作频率。The working frequency of the processor running in the first working mode of the mobile terminal is higher than the working frequency of the processor running in the second working mode.

第三方面,本发明实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述的应用程序的运行控制方法的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor During execution, the steps of the above-mentioned running control method of the application program are realized.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述的应用程序的运行控制方法的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned method for controlling the operation of an application program is implemented. step.

这样,在本发明实施例中,将移动终端由第一工作模式切换至第二工作模式,能够减少移动终端使用过程中的电量消耗,延长了移动终端的待机时间,减少了移动终端工作时的发热量,提高了移动终端的使用寿命。In this way, in the embodiment of the present invention, switching the mobile terminal from the first working mode to the second working mode can reduce the power consumption during the use of the mobile terminal, extend the standby time of the mobile terminal, and reduce the operating time of the mobile terminal. The heat generated increases the service life 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 according to these drawings without paying creative labor.

图1是本发明一个实施例的一种应用程序的运行控制方法的步骤流程图;FIG. 1 is a flow chart of the steps of an application program operation control method according to an embodiment of the present invention;

图2是本发明一个实施例的另一种应用程序的运行控制方法的步骤流程图;FIG. 2 is a flow chart of steps of another application program operation control method according to an embodiment of the present invention;

图3A-图3H是本发明一个实施例的一种移动终端的示意图;3A-3H are schematic diagrams of a mobile terminal according to an embodiment of the present invention;

图4是本发明一个实施例的一种移动终端的硬件结构示意图。Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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,示出了本发明一个实施例的一种应用程序的运行控制方法的步骤流程图,包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of an application program operation control method according to an embodiment of the present invention, including the following steps:

步骤101,判断所述移动终端是否满足第一预设条件;Step 101, judging whether the mobile terminal satisfies a first preset condition;

需要说明的是,本方法可以应用于移动终端。例如,手机、平板电脑等等,本实施例对移动终端的具体类型不作限定。It should be noted that this method can be applied to mobile terminals. For example, mobile phones, tablet computers, etc., this embodiment does not limit the specific types of mobile terminals.

在本发明实施例中,可以通过判断在预设时间段内是否接收到针对移动终端的操作指令来确定移动终端当前是否满足第一预设条件。如果在预设时间段内未接收到用户的各种操作指令,可以确定满足第一预设条件。In the embodiment of the present invention, it may be determined whether the mobile terminal currently satisfies the first preset condition by judging whether an operation instruction for the mobile terminal is received within the preset time period. If no user operation instructions are received within a preset time period, it may be determined that the first preset condition is met.

在具体实现中,可以判断用户是否在预设时间段内未对移动终端的屏幕进行操作。上述预设时间段的时长可以由本领域技术人员具体确定。例如,可以是10秒或者15秒等等。也可以由用户根据自身的使用习惯自行设定,本实施例对此不作限定。In a specific implementation, it may be determined whether the user has not operated the screen of the mobile terminal within a preset period of time. The length of the above preset time period can be specifically determined by those skilled in the art. For example, it could be 10 seconds or 15 seconds and so on. It can also be set by the user according to his/her usage habits, which is not limited in this embodiment.

步骤102,当所述移动终端满足第一预设条件时,将所述移动终端由第一工作模式切换至第二工作模式。Step 102, when the mobile terminal satisfies a first preset condition, switch the mobile terminal from the first working mode to the second working mode.

在本发明实施例中,当用户在预设时间段内未操作移动终端屏幕时,可以认为移动终端当前满足第一预设条件,此时,可以将移动终端由第一工作模式切换至第二工作模式。In the embodiment of the present invention, when the user does not operate the mobile terminal screen within a preset period of time, it can be considered that the mobile terminal currently satisfies the first preset condition. At this time, the mobile terminal can be switched from the first working mode to the second working mode. Operating mode.

在本发明实施例中,移动终端在第一工作模式下的显示分辨率可以高于在第二工作模式下的显示分辨率;和/或,In the embodiment of the present invention, the display resolution of the mobile terminal in the first working mode may be higher than the display resolution in the second working mode; and/or,

移动终端在第一工作模式下运行的处理器的数量可以大于在第二工作模式下运行的处理器的数量;和/或,The number of processors that the mobile terminal operates in the first working mode may be greater than the number of processors running in the second working mode; and/or,

移动终端在第一工作模式下运行的处理器的工作频率可以高于在第二工作模式下运行的处理器的工作频率。The working frequency of the processor running in the first working mode of the mobile terminal may be higher than the working frequency of the processor running in the second working mode.

具体地,第一工作模式可以是指移动终端在正常运行状态下的工作模式。例如,正常分辨率模式,该正常分辨率模式可以包括1080*1920分辨率模式、1080*2048分辨率模式,以及其他具有较高的清晰度的高分辨率模式等等。Specifically, the first working mode may refer to a working mode of the mobile terminal in a normal running state. For example, the normal resolution mode may include a 1080*1920 resolution mode, a 1080*2048 resolution mode, and other high-definition high-resolution modes, and the like.

第二工作模式可以是指与第一工作模式相对应的低分辨率模式。例如,800*600分辨率模式,或者移动终端能够呈现的其他黑白显示效果下对应的分辨率模式等等。The second working mode may refer to a low-resolution mode corresponding to the first working mode. For example, a resolution mode of 800*600, or a corresponding resolution mode under other black and white display effects that the mobile terminal can present, and the like.

通常,在第一工作模式下,移动终端能够以正常的显示状态呈现在用户面前。例如,彩色显示。而在第二工作模式下,移动终端的显示状态则可以是黑白显示。当然,在第一工作模式下,处理器的运行频率较高,移动终端的耗电量也更大,在第二工作模式下,处理器的运行频率更低,耗电量也相对更小。Usually, in the first working mode, the mobile terminal can be presented in front of the user in a normal display state. For example, color display. In the second working mode, the display state of the mobile terminal may be black and white display. Certainly, in the first working mode, the operating frequency of the processor is higher, and the power consumption of the mobile terminal is also greater; in the second working mode, the operating frequency of the processor is lower, and the power consumption is relatively smaller.

在本发明实施例中,当移动终端开机后,用户在使用各类应用程序时,移动终端可以首先唤醒各类处理器,并依据当前运行的应用程序的需要,分配相应的处理器资源,使移动终端运行在多核状态,即第一工作模式下。移动终端内配置的各类处理器可以包括多核处理器、单核处理器,以及,协处理器等等。In the embodiment of the present invention, when the mobile terminal is turned on and the user is using various application programs, the mobile terminal can first wake up various processors, and allocate corresponding processor resources according to the needs of the currently running application programs, so that The mobile terminal runs in a multi-core state, that is, in the first working mode. Various types of processors configured in the mobile terminal may include multi-core processors, single-core processors, coprocessors, and the like.

多核处理器是指在一枚处理器中集成两个或多个完整的计算引擎(内核),而单核处理器则只集成了一个计算引擎。A multi-core processor refers to the integration of two or more complete computing engines (cores) in one processor, while a single-core processor integrates only one computing engine.

协处理器(coprocessor),是一种协助中央处理器完成其无法执行或执行效率、效果低下的处理工作而开发和应用的处理器。这种中央处理器无法执行的工作包括设备间的信号传输、接入设备的管理等等;而执行效率、效果低下的工作则可以包括有图形处理、声频处理等等。A coprocessor (coprocessor) is a processor developed and applied to assist the central processing unit to complete processing tasks that it cannot perform or perform efficiently and inefficiently. The tasks that the central processing unit cannot perform include signal transmission between devices, management of access devices, etc.; while tasks with low execution efficiency and effect may include graphics processing, audio processing, and the like.

在本发明实施例中,当移动终端满足第一预设条件时,可以控制由协处理器接管当前运行的各类应用程序,将移动终端切换至第二工作模式,以减少移动终端的电量消耗。In the embodiment of the present invention, when the mobile terminal satisfies the first preset condition, the coprocessor can be controlled to take over various applications currently running, and switch the mobile terminal to the second working mode, so as to reduce the power consumption of the mobile terminal .

在本发明实施例中,通过判断移动终端是否满足第一预设条件,例如,是否长时间未接收到用户的任何操作指令,则可以将移动终端由第一工作模式切换至第二工作模式。由于移动终端在第一工作模式下的显示分辨率高于在第二工作模式下的显示分辨率;和/或,在第一工作模式下运行的处理器的数量大于在第二工作模式下运行的处理器的数量;和/或,在第一工作模式下运行的处理器的工作频率高于在第二工作模式下运行的处理器的工作频率,因此,将移动终端由第一工作模式切换至第二工作模式,能够减少移动终端使用过程中的电量消耗,解决了现有技术中移动终端始终运行在耗电量较高的第一工作模式下从而导致移动终端的待机时间较短的问题,延长了移动终端的待机时间,减少了移动终端工作时的发热量,提高了移动终端的使用寿命。In the embodiment of the present invention, the mobile terminal can be switched from the first working mode to the second working mode by judging whether the mobile terminal satisfies the first preset condition, for example, whether no operation instruction from the user has been received for a long time. Because the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or, the number of processors running in the first working mode is larger than that in the second working mode and/or, the operating frequency of the processor operating in the first operating mode is higher than the operating frequency of the processor operating in the second operating mode, therefore, switching the mobile terminal from the first operating mode to the second working mode, which can reduce the power consumption during the use of the mobile terminal, and solve the problem in the prior art that the mobile terminal always runs in the first working mode with high power consumption, resulting in a short standby time of the mobile terminal. The standby time of the mobile terminal is prolonged, the calorific value of the mobile terminal is reduced during operation, and the service life of the mobile terminal is improved.

参照图2,示出了本发明一个实施例的另一种应用程序的运行控制方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of steps of another application program operation control method according to an embodiment of the present invention, which may specifically include the following steps:

步骤201,判断所述移动终端是否满足第一预设条件;Step 201, judging whether the mobile terminal satisfies a first preset condition;

在本发明实施例中,可以通过判断用户在较长时间内是否操作移动终端来确定是否满足第一预设条件。例如,判断用户在预设时间段内是否操作移动终端的屏幕等等。In the embodiment of the present invention, it may be determined whether the first preset condition is satisfied by judging whether the user operates the mobile terminal within a relatively long period of time. For example, it is judged whether the user operates the screen of the mobile terminal within a preset period of time and so on.

当用户在预设时间段内未对移动终端进行任何操作,则可以确定满足第一预设条件。When the user does not perform any operation on the mobile terminal within the preset time period, it may be determined that the first preset condition is met.

步骤202,当所述移动终端满足第一预设条件时,获取所述移动终端当前运行的应用程序的数据;Step 202, when the mobile terminal satisfies the first preset condition, acquire the data of the application currently running on the mobile terminal;

在本发明实施例中,移动终端可以包括第一工作模式和第二工作模式。其中,移动终端在第一工作模式下的显示分辨率可以高于在第二工作模式下的显示分辨率;和/或,In the embodiment of the present invention, the mobile terminal may include a first working mode and a second working mode. Wherein, the display resolution of the mobile terminal in the first working mode may be higher than that in the second working mode; and/or,

移动终端在第一工作模式下运行的处理器的数量可以大于在第二工作模式下运行的处理器的数量;和/或,The number of processors that the mobile terminal operates in the first working mode may be greater than the number of processors running in the second working mode; and/or,

移动终端在第一工作模式下运行的处理器的工作频率可以高于在第二工作模式下运行的处理器的工作频率。The working frequency of the processor running in the first working mode of the mobile terminal may be higher than the working frequency of the processor running in the second working mode.

在本发明实施例中,当移动终端满足第一预设条件时,可以将移动终端由第一工作模式切换至第二工作模式。In the embodiment of the present invention, when the mobile terminal satisfies the first preset condition, the mobile terminal can be switched from the first working mode to the second working mode.

在将移动终端由第一工作模式切换至第二工作模式时,可以首先获取当前在移动终端中运行的应用程序的运行数据,然后执行步骤203。When the mobile terminal is switched from the first working mode to the second working mode, the running data of the application currently running in the mobile terminal may be acquired first, and then step 203 is performed.

上述应用程序可以是指一些不需要多核处理器介入,仅仅在协处理器下也能够运行的应用程序。例如,一些即时通讯软件、移动终端系统自带的用于收发短信息的应用软件等等。The above-mentioned application programs may refer to some application programs that do not require the intervention of the multi-core processor and can run only under the coprocessor. For example, some instant messaging software, application software for sending and receiving short messages that comes with the mobile terminal system, and the like.

步骤203,将所述当前运行的应用程序的数据转移至协处理器中,通过所述协处理器对所述数据进行处理;Step 203, transferring the data of the currently running application program to a coprocessor, and processing the data through the coprocessor;

在具体实现中,当需要将移动终端切换第二工作模式时,可以控制由移动终端的协处理接管当前运行的应用程序,并载入获取到的应用程序的运行数据,通过协处理器对上述数据进行处理。然后,控制移动终端进入待机状态,关闭移动终端的显示界面,以减少移动终端的电量消耗。In a specific implementation, when it is necessary to switch the mobile terminal to the second working mode, the co-processing of the mobile terminal can be controlled to take over the currently running application program, and load the acquired running data of the application program, and the above-mentioned The data is processed. Then, the mobile terminal is controlled to enter the standby state, and the display interface of the mobile terminal is closed, so as to reduce power consumption of the mobile terminal.

步骤204,当接收到通信信息时,在第二工作模式下,展现所述通信信息;Step 204, when the communication information is received, display the communication information in the second working mode;

在本发明实施例中,当移动终端进入待机状态后,协处理器可以按照预设频率间歇性地对应用程序进行监听,以确定各个应用程序是否接收到通信信息或者产生其他动作。各个应用程序接收到的通信信息可以包括文本信息、音频信息,和/或,视频信息等等。In the embodiment of the present invention, when the mobile terminal enters the standby state, the coprocessor may intermittently monitor the application programs at a preset frequency to determine whether each application program receives communication information or generates other actions. The communication information received by each application program may include text information, audio information, and/or video information and the like.

需要说明的是,应用程序接收到的通信信息可以包括其他移动终端发送至该应用程序的即时消息等信息,也可以包括该应用程序自身产生的信息。例如,一些推荐信息或系统消息等等。It should be noted that the communication information received by the application program may include information such as instant messages sent to the application program by other mobile terminals, and may also include information generated by the application program itself. For example, some recommended information or system messages and so on.

当应用程序接收到通信信息时,可以唤醒协处理器,控制协处理器进入正常工作状态。When the application program receives the communication information, it can wake up the coprocessor and control the coprocessor to enter a normal working state.

需要说明的是,在唤醒协处理器进入正常工作状态时,移动终端的其他处理器(例如,多核处理器)仍然处于不工作状态。It should be noted that, when the coprocessor is awakened to enter a normal working state, other processors (for example, multi-core processors) of the mobile terminal are still in a non-working state.

在本发明实施例中,对于通信信息,移动终端可以在接收到之后,直接在第二工作模式下进行展现。此时,移动终端无需唤醒多核处理器,在展现文本信息时,协处理器也可以不进行任何其他处理,从而保证移动终端能够在低频率的状态下工作,减少耗电量。In the embodiment of the present invention, the mobile terminal may display the communication information directly in the second working mode after receiving it. At this time, the mobile terminal does not need to wake up the multi-core processor, and the coprocessor may not perform any other processing when displaying text information, so as to ensure that the mobile terminal can work at a low frequency and reduce power consumption.

在具体实现中,移动终端在第二工作模式下接收到的通信信息,可以显示以低分辨率的图标进行提示,以方便用户及时了解到有信息需要处理。In a specific implementation, the communication information received by the mobile terminal in the second working mode may be displayed as a prompt with a low-resolution icon, so that the user can know in time that there is information to be processed.

具体地,移动终端可以以低分辨率的黑白文本信息展现相应的提示信息。例如,可以在移动终端的屏幕特定位置显示“您接收到一条新消息”或者类似的提示信息。也可以通过闪烁指示灯的方式向用户展现提示信息,本实施例对展现提示信息的具体方式不作限定。Specifically, the mobile terminal may display corresponding prompt information in low-resolution black and white text information. For example, "You have received a new message" or similar prompt information may be displayed at a specific position on the screen of the mobile terminal. The prompt information may also be displayed to the user by flashing an indicator light, and this embodiment does not limit the specific manner of displaying the prompt information.

当接收到用户查看通信信息的操作指令(例如,在以文本展现提示信息时,通过点击屏幕上的提示文本,向移动终端发出查看该条信息的指令),则移动终端可以直接在当前的第二工作模式下展现上述通信信息。在此过程中,移动终端无需唤醒多核处理器,除了向用户展现信息外,协处理器也不进行任何其他处理,从而保证移动终端能够在低频率的状态下工作,减少耗电量。When receiving an operation instruction from the user to view the communication information (for example, when displaying the prompt information in text, by clicking the prompt text on the screen, an instruction to view the piece of information is sent to the mobile terminal), the mobile terminal can directly click on the current communication information. The above communication information is displayed in the second working mode. During this process, the mobile terminal does not need to wake up the multi-core processor, and the coprocessor does not perform any other processing except for displaying information to the user, thereby ensuring that the mobile terminal can work at a low frequency and reduce power consumption.

步骤205,判断所述移动终端是否满足第二预设条件;Step 205, judging whether the mobile terminal satisfies a second preset condition;

在本发明实施例中,可以通过判断是否需要播放音频信息和/或视频信息来确定移动终端是否满足第二预设条件。当需要播放音频信息和/或视频信息时,可以确定移动终端当前满足第二预设条件。In the embodiment of the present invention, it may be determined whether the mobile terminal satisfies the second preset condition by judging whether audio information and/or video information needs to be played. When it is necessary to play audio information and/or video information, it may be determined that the mobile terminal currently satisfies the second preset condition.

当然,还可以以其他方式确定移动终端是否满足第二预设条件。例如,当移动终端操作某个需要多核处理器介入的应用程序时,也可以认为移动终端当前满足第二预设条件。本实施例对如何判断移动终端是否满足第二预设条件不作限定。Of course, it is also possible to determine whether the mobile terminal satisfies the second preset condition in other manners. For example, when the mobile terminal is operating an application that requires the intervention of a multi-core processor, it may also be considered that the mobile terminal currently satisfies the second preset condition. This embodiment does not limit how to determine whether the mobile terminal satisfies the second preset condition.

步骤206,当所述移动终端满足第二预设条件时,将所述移动终端由所述第二工作模式切换至所述第一工作模式;Step 206, when the mobile terminal satisfies a second preset condition, switch the mobile terminal from the second working mode to the first working mode;

通常,对音频信息和/或视频信息的处理需要多核处理器的介入,协处理器无法单独完成。Usually, the processing of audio information and/or video information requires the intervention of a multi-core processor, which cannot be completed by a coprocessor alone.

因此,在本发明实施例中,当需要播放音频信息和/或视频信息时,可以控制移动终端由当前的第二工作模式切换至第一工作模式。Therefore, in the embodiment of the present invention, when audio information and/or video information needs to be played, the mobile terminal can be controlled to switch from the current second working mode to the first working mode.

在具体实现中,在由第二工作模式切换至第一工作模式时,可以首先获取移动终端当前运行的应用程序的数据,唤醒多核处理器,并将上述当前运行的应用程序的数据转移至除协处理器之外的其他处理器,由其他处理器对上述数据进行处理,然后控制协处理器退出工作。In a specific implementation, when switching from the second working mode to the first working mode, the data of the application program currently running in the mobile terminal can be obtained first, the multi-core processor is woken up, and the data of the above-mentioned currently running application program is transferred to the Processors other than the coprocessor process the above data, and then control the coprocessor to quit working.

步骤207,在所述第一工作模式下,播放音频信息和/或视频信息。Step 207, in the first working mode, play audio information and/or video information.

需要说明的是,当移动终端在第一工作模式下播放完上述音频信息和/或视频信息后,则可以返回执行步骤201,再次判断移动终端是否满足第一预设条件。若在预设时间段内未接收到用户针对移动终端的操作信息,从而可以再次控制移动终端由当前的第一工作模式切换至第二工作模式。It should be noted that after the mobile terminal finishes playing the audio information and/or video information in the first working mode, it may return to step 201 to determine whether the mobile terminal satisfies the first preset condition again. If no user operation information on the mobile terminal is received within the preset time period, the mobile terminal can be controlled again to switch from the current first working mode to the second working mode.

在本发明实施例中,当用户在相对较长的时间内未对移动终端进行任何操作时,通过控制协处理器接管当前运行的特定应用程序,使移动终端进入第二工作模式,能够减少用户在不使用移动终端时,移动终端自身的耗电量。然后,当接收到通信信息时,移动终端可以在第二工作模式下对用户进行提示,如果是文本信息,则可以继续以低分辨率的黑白文本的形式展现给用户,避免多核处理器的启动;若是音频信息或视频信息,则可以唤醒多核处理器,控制协处理器退出工作,在第一工作模式下播放上述音频信息和/或视频信息。本实施例解决了现有技术中移动终端待机时间较短的问题,降低了移动终端的耗电量,延长了待机时间。本实施例由于减少了移动终端工作时各个部件的发热量,相应地也提高了移动终端的使用寿命。In the embodiment of the present invention, when the user does not perform any operations on the mobile terminal for a relatively long period of time, by controlling the coprocessor to take over the currently running specific application program, the mobile terminal enters the second working mode, which can reduce user When the mobile terminal is not in use, the power consumption of the mobile terminal itself. Then, when receiving communication information, the mobile terminal can prompt the user in the second working mode. If it is text information, it can continue to be presented to the user in the form of low-resolution black and white text, avoiding the start of the multi-core processor. ; If it is audio information or video information, the multi-core processor can be woken up, the coprocessor can be controlled to quit working, and the above audio information and/or video information can be played in the first working mode. This embodiment solves the problem of short standby time of the mobile terminal in the prior art, reduces power consumption of the mobile terminal, and prolongs the standby time. In this embodiment, since the calorific value of each component is reduced when the mobile terminal is in operation, the service life of the mobile terminal is correspondingly improved.

为了便于理解,下面以一个完整的示例对上述应用程序的运行控制方法作一介绍。For ease of understanding, a complete example is used below to introduce the above-mentioned operation control method of the application program.

本示例以手机为例进行介绍。This example uses a mobile phone as an example for introduction.

首先,当用户开机后,可以打开手机上安装的各个应用程序。例如,微信、QQ等。此时,手机可以通过识别运行的各个应用程序需要多少资源,相应地进行资源的分配,使手机运行在多核状态下。在该状态下,可以控制手机中的多核处理器、协处理器等依据运行的应用程序的不同,分别确定是否需要介入。例如,对于短信息等应用程序,可以分配低频率资源,由协处理器负责处理。First, when the user turns on the phone, various applications installed on the mobile phone can be opened. For example, WeChat, QQ, etc. At this time, the mobile phone can identify how many resources are needed by each running application program, and allocate resources accordingly, so that the mobile phone can run in a multi-core state. In this state, the multi-core processors and co-processors in the mobile phone can be controlled to determine whether to intervene according to the different running applications. For example, for applications such as short messages, low-frequency resources can be allocated, and the coprocessor is responsible for processing.

当用户长时间未操作手机屏幕时,可以获取当前运行的各个应用程序的运行数据,并将上述运行数据转移到协处理器上,从而控制由协处理器接管当前运行的应用程序。然后,可以切换手机进入待机状态,并作灭屏处理。此时,手机进入低分辨率模式状态。When the user does not operate the mobile phone screen for a long time, the running data of each currently running application program can be obtained, and the above running data can be transferred to the coprocessor, thereby controlling the coprocessor to take over the currently running application program. Then, the mobile phone can be switched to enter the standby state, and the screen can be turned off. At this time, the mobile phone enters the low-resolution mode state.

在手机进入低分辨率模式后,协处理器可以间歇性监听应用程序是否接收到信息或产生其他动作。当接收到信息时,可以唤醒协处理器,使协处理器进入正常工作状态,并在手机屏幕上以低分辨率图标的形式显示提示信息。此时,多核处理器不进入工作状态。After the phone enters low-resolution mode, the coprocessor can intermittently monitor whether the application receives information or takes other actions. When the information is received, the coprocessor can be woken up so that the coprocessor enters a normal working state, and prompt information is displayed in the form of a low-resolution icon on the screen of the mobile phone. At this time, the multi-core processor does not enter the working state.

当用户点击提示图标时,可以继续在手机屏幕上以低分辨率显示相应的信息,协处理器运行在低频率,为上述信息提供数据处理所需的资源。When the user clicks the prompt icon, the corresponding information can continue to be displayed on the screen of the mobile phone with a low resolution, and the coprocessor runs at a low frequency to provide resources required for data processing for the above information.

若接收到的信息中包括视频信息时,可以在手机屏幕上以低分辨图标的形式显示有接收到视频信息的提示信息。若用户点击该视频提示图标,则可以唤醒多核处理器,并由多核处理器接管协处理器的工作。然后,控制协处理器退出工作,并在手机屏幕上以较高分辨率去播放上述视频。If the received information includes video information, a prompt message of received video information can be displayed in the form of a low-resolution icon on the screen of the mobile phone. If the user clicks the video prompt icon, the multi-core processor can be woken up, and the multi-core processor can take over the work of the coprocessor. Then, the control coprocessor quits work, and plays the above-mentioned video with a higher resolution on the screen of the mobile phone.

当手机播放完上述视频,如果用户继续操作手机,则可以保持手机工作在多核状态;如果用户长时间未操作手机,则可以重复上述步骤,控制协处理器接管当前运行的应用程序,再次切换至第二工作模式。When the mobile phone finishes playing the above video, if the user continues to operate the mobile phone, the mobile phone can be kept working in a multi-core state; if the user has not operated the mobile phone for a long time, the above steps can be repeated to control the coprocessor to take over the currently running application and switch to Second working mode.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图3A,示出了本发明一个实施例的一种移动终端的示意图之一,所述移动终端300具体可以包括如下模块:Referring to FIG. 3A, it shows one of the schematic diagrams of a mobile terminal according to an embodiment of the present invention, and the mobile terminal 300 may specifically include the following modules:

第一判断模块301,用于判断所述移动终端是否满足第一预设条件;A first judging module 301, configured to judge whether the mobile terminal satisfies a first preset condition;

第一切换模块302,用于当所述移动终端满足第一预设条件时,将所述移动终端由第一工作模式切换至第二工作模式;The first switching module 302 is configured to switch the mobile terminal from the first working mode to the second working mode when the mobile terminal satisfies a first preset condition;

其中,所述移动终端在所述第一工作模式下的显示分辨率高于在所述第二工作模式下的显示分辨率;和/或,Wherein, the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的数量大于在所述第二工作模式下运行的处理器的数量;和/或,The number of processors of the mobile terminal running in the first working mode is greater than the number of processors running in the second working mode; and/or,

所述移动终端在所述第一工作模式下运行的处理器的工作频率高于在所述第二工作模式下运行的处理器的工作频率。The working frequency of the processor running in the first working mode of the mobile terminal is higher than the working frequency of the processor running in the second working mode.

在图3A的基础上,参照图3B,示出了本发明一个实施例的一种移动终端的示意图之二,所述第一判断模块301具体可以包括如下子模块:On the basis of FIG. 3A , referring to FIG. 3B , a second schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The first judging module 301 may specifically include the following submodules:

第一判断子模块3011,用于判断在预设时间段内是否接收到针对移动终端的操作指令;若否,则确定满足第一预设条件。The first judging sub-module 3011 is configured to judge whether an operation instruction for the mobile terminal is received within a preset time period; if not, determine that the first preset condition is satisfied.

在图3A的基础上,参照图3C,示出了本发明一个实施例的一种移动终端的示意图之三,所述移动终端300还可以包括如下模块:On the basis of FIG. 3A, referring to FIG. 3C, a third schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal 300 may also include the following modules:

第二判断模块303,用于判断所述移动终端是否满足第二预设条件;A second judging module 303, configured to judge whether the mobile terminal satisfies a second preset condition;

第二切换模块304,用于当所述移动终端满足第二预设条件时,将所述移动终端由所述第二工作模式切换至所述第一工作模式。The second switching module 304 is configured to switch the mobile terminal from the second working mode to the first working mode when the mobile terminal satisfies a second preset condition.

在本发明实施例中,所述移动终端配置有协处理器。In the embodiment of the present invention, the mobile terminal is configured with a coprocessor.

在图3A的基础上,参照图3D,示出了本发明一个实施例的一种移动终端的示意图之四,所述第一切换模块302具体可以包括如下子模块:On the basis of FIG. 3A, referring to FIG. 3D, a fourth schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The first switching module 302 may specifically include the following submodules:

第一数据获取模块3021,用于获取所述移动终端当前运行的应用程序的数据;The first data acquisition module 3021 is configured to acquire the data of the application program currently running on the mobile terminal;

第一数据转移模块3022,用于将所述当前运行的应用程序的数据转移至协处理器中,通过所述协处理器对所述数据进行处理;The first data transfer module 3022 is configured to transfer the data of the currently running application program to a coprocessor, and process the data through the coprocessor;

在图3C的基础上,参照图3E,示出了本发明一个实施例的一种移动终端的示意图之五,所述第二切换模块304具体可以包括如下子模块:On the basis of FIG. 3C, referring to FIG. 3E, a fifth schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The second switching module 304 may specifically include the following submodules:

第二数据获取子模块3041,用于获取所述移动终端当前运行的应用程序的数据;The second data acquisition submodule 3041 is configured to acquire the data of the application program currently running on the mobile terminal;

第二数据转移子模块3042,用于将所述当前运行的应用程序的数据转移至除所述协处理器之外的其他处理器。The second data transfer sub-module 3042 is configured to transfer the data of the currently running application program to other processors except the coprocessor.

在图3A的基础上,参照图3F,示出了本发明一个实施例的一种移动终端的示意图之六,所述移动终端300还可以包括如下模块:On the basis of FIG. 3A, referring to FIG. 3F, a sixth schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal 300 may also include the following modules:

展现模块305,用于当接收到通信信息时,在所述第二工作模式下,展现所述通信信息;其中,所述通信信息包括文本信息。The presentation module 305 is configured to present the communication information in the second working mode when the communication information is received; wherein the communication information includes text information.

在图3C的基础上,参照图3G,示出了本发明一个实施例的一种移动终端的示意图之七,所述第二判断模块303具体可以包括如下子模块:On the basis of FIG. 3C , referring to FIG. 3G , a seventh schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The second judging module 303 may specifically include the following submodules:

第二判断子模块3031,用于判断是否需要播放音频信息和/或视频信息,当需要播放时,确定满足第二预设条件;The second judging sub-module 3031 is used to judge whether the audio information and/or video information needs to be played, and when it needs to be played, it is determined that the second preset condition is met;

在图3C的基础上,参照图3H,示出了本发明一个实施例的一种移动终端的示意图之八,所述移动终端300还可以包括如下模块:On the basis of FIG. 3C , referring to FIG. 3H , an eighth schematic diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal 300 may also include the following modules:

播放模块306,用于在所述第一工作模式下,播放所述音频信息和/或视频信息。The playing module 306 is configured to play the audio information and/or video information in the first working mode.

移动终端300能够实现图1至图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。本发明实施例中,通过判断移动终端是否满足第一预设条件,例如,是否长时间未接收到用户的任何操作指令,则可以将移动终端由第一工作模式切换至第二工作模式。由于移动终端在第一工作模式下的显示分辨率高于在第二工作模式下的显示分辨率;和/或,在第一工作模式下运行的处理器的数量大于在第二工作模式下运行的处理器的数量;和/或,在第一工作模式下运行的处理器的工作频率高于在第二工作模式下运行的处理器的工作频率,因此,将移动终端由第一工作模式切换至第二工作模式,能够减少移动终端使用过程中的电量消耗,解决了现有技术中移动终端始终运行在耗电量较高的第一工作模式下从而导致移动终端的待机时间较短的问题,延长了移动终端的待机时间,减少了移动终端工作时的发热量,提高了移动终端的使用寿命。The mobile terminal 300 can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition. In the embodiment of the present invention, the mobile terminal can be switched from the first working mode to the second working mode by judging whether the mobile terminal satisfies the first preset condition, for example, whether no operation instruction from the user has been received for a long time. Because the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or, the number of processors running in the first working mode is larger than that in the second working mode and/or, the operating frequency of the processor operating in the first operating mode is higher than the operating frequency of the processor operating in the second operating mode, therefore, switching the mobile terminal from the first operating mode to the second working mode, which can reduce the power consumption during the use of the mobile terminal, and solve the problem in the prior art that the mobile terminal always runs in the first working mode with high power consumption, resulting in a short standby time of the mobile terminal. The standby time of the mobile terminal is prolonged, the calorific value of the mobile terminal is reduced during operation, and the service life of the mobile terminal is improved.

参照图4,示出了实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Referring to FIG. 4 , it shows a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, and a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , a processor 410 , and a power supply 411 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 4 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器410,用于判断所述移动终端是否满足第一预设条件;当所述移动终端满足第一预设条件时,将所述移动终端由第一工作模式切换至第二工作模式。Wherein, the processor 410 is configured to judge whether the mobile terminal satisfies the first preset condition; when the mobile terminal satisfies the first preset condition, switch the mobile terminal from the first working mode to the second working mode .

这样,在本发明实施例中,通过判断移动终端是否满足第一预设条件,例如,是否长时间未接收到用户的任何操作指令,则可以将移动终端由第一工作模式切换至第二工作模式。由于移动终端在第一工作模式下的显示分辨率高于在第二工作模式下的显示分辨率;和/或,在第一工作模式下运行的处理器的数量大于在第二工作模式下运行的处理器的数量;和/或,在第一工作模式下运行的处理器的工作频率高于在第二工作模式下运行的处理器的工作频率,因此,将移动终端由第一工作模式切换至第二工作模式,能够减少移动终端使用过程中的电量消耗,解决了现有技术中移动终端始终运行在耗电量较高的第一工作模式下从而导致移动终端的待机时间较短的问题,延长了移动终端的待机时间,减少了移动终端工作时的发热量,提高了移动终端的使用寿命。In this way, in the embodiment of the present invention, by judging whether the mobile terminal satisfies the first preset condition, for example, whether no operation instruction from the user has been received for a long time, the mobile terminal can be switched from the first working mode to the second working mode. model. Because the display resolution of the mobile terminal in the first working mode is higher than that in the second working mode; and/or, the number of processors running in the first working mode is larger than that in the second working mode and/or, the operating frequency of the processor operating in the first operating mode is higher than the operating frequency of the processor operating in the second operating mode, therefore, switching the mobile terminal from the first operating mode to the second working mode, which can reduce the power consumption during the use of the mobile terminal, and solve the problem in the prior art that the mobile terminal always runs in the first working mode with high power consumption, resulting in a short standby time of the mobile terminal. The standby time of the mobile terminal is prolonged, the calorific value of the mobile terminal is reduced during operation, and the service life of the mobile terminal is improved.

应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 410; Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 can also provide audio output related to a specific function performed by the mobile terminal 400 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.

输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used for receiving audio or video signals. The input unit 404 can include a graphics processing unit (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 406 . The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage media) or sent via the radio frequency unit 401 or the network module 402 . The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 for output in the case of a phone call mode.

移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and the display panel 4061 when the mobile terminal 400 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 4071 or near the touch panel 4071). operate). The touch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, 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 For the processor 410, receive the command sent by the processor 410 and execute it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071 , the user input unit 407 may also include other input devices 4072 . Specifically, other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 4071 can be covered on the display panel 4061, and when the touch panel 4071 detects a touch operation on or near it, it will be sent to the processor 410 to determine the type of the touch event, and then the processor 410 will The type of event provides a corresponding visual output on the display panel 4061 . Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device to the mobile terminal 400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 408 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs as well as various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 409, and calling data stored in the memory 409, Execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .

移动终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 400 can also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端400包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 400 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述应用程序的运行控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 410, a memory 409, a computer program stored in the memory 409 and operable on the processor 410, when the computer program is executed by the processor 410 Each process of the embodiment of the operation control method of the above-mentioned application program is realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用程序的运行控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccessMemory,简称RAM)、磁碟或者光盘等。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, each process of the above-mentioned application program operation control method embodiment is realized, and can achieve The same technical effects are not repeated here to avoid repetition. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (14)

CN201711228929.XA2017-11-292017-11-29 Application program operation control method and mobile terminalActiveCN108200635B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711228929.XACN108200635B (en)2017-11-292017-11-29 Application program operation control method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711228929.XACN108200635B (en)2017-11-292017-11-29 Application program operation control method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN108200635Atrue CN108200635A (en)2018-06-22
CN108200635B CN108200635B (en)2019-12-10

Family

ID=62573419

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711228929.XAActiveCN108200635B (en)2017-11-292017-11-29 Application program operation control method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN108200635B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110647235A (en)*2019-09-062020-01-03Oppo广东移动通信有限公司Data processing method and device based on terminal equipment and terminal equipment
CN112988338A (en)*2019-12-122021-06-18Oppo广东移动通信有限公司Application switching method and device, storage medium and electronic equipment
CN113325737A (en)*2020-02-282021-08-31Oppo广东移动通信有限公司Wearable device control method and device, wearable device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1713755A (en)*2004-06-222005-12-28乐金电子(中国)研究开发中心有限公司Mobile communicating apparatus and its management
US20130225238A1 (en)*2012-02-252013-08-29Huawei Device Co., Ltd.Sleep method, wake method and mobile terminal device
CN104933984A (en)*2015-07-202015-09-23京东方科技集团股份有限公司Display device and drive method thereof and drive module
CN106020844A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司 Method and device for determining kernel running configuration in processor
CN106604369A (en)*2016-10-262017-04-26惠州Tcl移动通信有限公司Terminal device with dual-mode switching function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1713755A (en)*2004-06-222005-12-28乐金电子(中国)研究开发中心有限公司Mobile communicating apparatus and its management
US20130225238A1 (en)*2012-02-252013-08-29Huawei Device Co., Ltd.Sleep method, wake method and mobile terminal device
CN104933984A (en)*2015-07-202015-09-23京东方科技集团股份有限公司Display device and drive method thereof and drive module
CN106020844A (en)*2016-05-312016-10-12广东欧珀移动通信有限公司 Method and device for determining kernel running configuration in processor
CN106604369A (en)*2016-10-262017-04-26惠州Tcl移动通信有限公司Terminal device with dual-mode switching function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110647235A (en)*2019-09-062020-01-03Oppo广东移动通信有限公司Data processing method and device based on terminal equipment and terminal equipment
CN112988338A (en)*2019-12-122021-06-18Oppo广东移动通信有限公司Application switching method and device, storage medium and electronic equipment
CN113325737A (en)*2020-02-282021-08-31Oppo广东移动通信有限公司Wearable device control method and device, wearable device and readable storage medium
CN113325737B (en)*2020-02-282023-10-13Oppo广东移动通信有限公司 Wearable device control method, device, wearable device and readable storage medium

Also Published As

Publication numberPublication date
CN108200635B (en)2019-12-10

Similar Documents

PublicationPublication DateTitle
CN110752980B (en)Message sending method and electronic equipment
CN108108007B (en) A processing method for reducing power consumption and a mobile terminal
CN108536411A (en)A kind of method for controlling mobile terminal and mobile terminal
CN108255378A (en)A kind of display control method and mobile terminal
CN110413315B (en) Application control method and electronic device
CN110837327B (en) A message viewing method and terminal
CN107580143A (en) A display method and mobile terminal
CN109521937B (en)Screen display control method and mobile terminal
CN111459381A (en)Information display method, electronic equipment and storage medium
CN108595201A (en)A kind of application program update method and mobile terminal
CN107635073A (en) Method for operating a mobile terminal and the mobile terminal
CN111240451B (en) Heat dissipation method, electronic device, and computer-readable storage medium
CN110750189A (en)Icon display method and device
CN108762869A (en)A kind of information processing method and mobile terminal
CN110442437A (en)Application switching method and mobile terminal
CN107608606A (en)A kind of image display method, mobile terminal and computer-readable recording medium
CN108366221A (en)A kind of video call method and terminal
CN107734170A (en)A kind of notification message processing method, mobile terminal and wearable device
CN109002245A (en) Method for operating application interface and mobile terminal
CN107592665A (en)A kind of control method of application program, device and mobile terminal
CN108200635B (en) Application program operation control method and mobile terminal
CN108174017A (en) A kind of bluetooth opening method and mobile terminal
CN109101151A (en)A kind of information display processing method and terminal device
CN107729100A (en)A kind of interface display control method and mobile terminal
CN108009031A (en)The control method and mobile terminal of a kind of application program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp