CN106227322B - Method and terminal for adjusting screen working mode - Google Patents
Method and terminal for adjusting screen working mode Download PDFInfo
- Publication number
- CN106227322B CN106227322B CN201610554651.4A CN201610554651A CN106227322B CN 106227322 B CN106227322 B CN 106227322B CN 201610554651 A CN201610554651 A CN 201610554651A CN 106227322 B CN106227322 B CN 106227322B
- Authority
- CN
- China
- Prior art keywords
- working mode
- terminal
- screen
- detected
- power consumption
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及终端领域,具体涉及了一种调整屏幕工作模式的方法及终端。The present invention relates to the field of terminals, in particular to a method and a terminal for adjusting a screen working mode.
背景技术Background technique
随着终端市场的发展,终端屏幕尺寸越来越大,终端屏幕的分辨率也越来越高,从而使得屏幕的功耗不断增加。With the development of the terminal market, the size of the terminal screen is getting larger and larger, and the resolution of the terminal screen is getting higher and higher, so that the power consumption of the screen continues to increase.
为了延长终端的使用时间,电池电量变得越来越大,但是无论如何,终端的电池电量也有一定的极限,因此如何节省终端的功耗显得极为重要。In order to prolong the use time of the terminal, the battery power becomes larger and larger, but in any case, the battery power of the terminal also has a certain limit, so how to save the power consumption of the terminal is extremely important.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种调整屏幕工作模式的方法及终端,通过使用本发明提供的调整屏幕工作模式的方法,能够降低终端的功耗,从而提升用户的体验。Embodiments of the present invention provide a method and a terminal for adjusting a screen working mode. By using the method for adjusting a screen working mode provided by the present invention, the power consumption of the terminal can be reduced, thereby improving user experience.
本发明实施例第一方面公开了一种调整屏幕工作模式的方法,所述方法包括:A first aspect of the embodiments of the present invention discloses a method for adjusting a screen working mode, the method comprising:
若检测到终端被唤醒,则检测所述终端是否存在移动事件;If it is detected that the terminal is woken up, detecting whether the terminal has a movement event;
若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;If it is detected that there is a movement event in the terminal, the control screen works according to the first working mode;
若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。If it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the power consumption of the second working mode is less than the power consumption of the first working mode power consumption.
结合第一方面,在第一方面的第一种可能的实现方式中,所述将所述屏幕的工作模式从第一工作模式调整至第二工作模式之后,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, after adjusting the working mode of the screen from the first working mode to the second working mode, the method further includes:
若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。If no operation instruction input by the user is received within the preset time period, the working mode of the screen is adjusted from the second working mode to the third working mode; wherein, the power consumption of the third working mode is smaller than that of the The power consumption of the second operating mode.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述将所述屏幕的工作模式从第二工作模式调整至第三工作模式之后,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, after the working mode of the screen is adjusted from the second working mode to the third working mode, the The method also includes:
若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。If it is detected that there is a movement event on the terminal, the working mode of the screen is adjusted from the third working mode to the second working mode.
结合第一方面,在第一方面的第三种可能实现方式中,所述方法还包括:With reference to the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。If it is not detected that there is a movement event on the terminal, the control screen operates according to the second working mode.
结合第一方面至第一方面的第三种可能的实现方式中的任意一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:With reference to any one possible implementation manner of the first aspect to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
确定所述终端中电池的电量;determining the power of the battery in the terminal;
根据所述电池的电量确定轮询频率;determine the polling frequency according to the power of the battery;
所述检测所述终端是否存在移动事件,还包括:The detecting whether there is a movement event in the terminal further includes:
按照所述轮询频率检测所述终端是否存在移动事件。It is detected whether there is a movement event of the terminal according to the polling frequency.
本发明第二方面公开了一种终端,所述终端包括:A second aspect of the present invention discloses a terminal, the terminal comprising:
检测单元,用于若检测到终端被唤醒,则检测所述终端是否存在移动事件;a detection unit, configured to detect whether there is a movement event in the terminal if it is detected that the terminal is awakened;
控制单元,用于若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;a control unit, configured to control the screen to work according to the first working mode if it is detected that there is a movement event in the terminal;
调整单元,用于若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。an adjustment unit, configured to adjust the working mode of the screen from a first working mode to a second working mode if it is detected that the terminal is in a dormant state; wherein the power consumption of the second working mode is smaller than the power consumption of the second working mode Power consumption in the first operating mode.
结合第二方面,在第二方面的第一种可能的实现方式中,In combination with the second aspect, in a first possible implementation manner of the second aspect,
所述调整单元,还用于若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。The adjusting unit is further configured to adjust the working mode of the screen from the second working mode to the third working mode if no operation instruction input by the user is received within a preset time period; wherein the third working mode is The power consumption of the working mode is smaller than the power consumption of the second working mode.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,In combination with the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect,
所述调整单元,还用于若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。The adjusting unit is further configured to adjust the working mode of the screen from the third working mode to the second working mode if it is detected that there is a movement event on the terminal.
结合第二方面,在第二方面的第三种可能的实现方式中,In combination with the second aspect, in a third possible implementation manner of the second aspect,
所述控制单元,用于若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。The control unit is configured to control the screen to work according to the second working mode if no movement event is detected in the terminal.
结合第二方面至第二方面的第三种可能的实现方式中的任意一种可能的实现方式,在第二方面的第四种可能的实现方式中,所述终端还包括确定单元;With reference to any one possible implementation manner of the second aspect to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the terminal further includes a determining unit;
所述确定单元,用于确定所述终端中电池的电量;the determining unit, configured to determine the power of the battery in the terminal;
所述确定单元,还用于根据所述电池的电量确定轮询频率;The determining unit is further configured to determine the polling frequency according to the power of the battery;
所述检测单元,用于按照所述轮询频率检测所述终端是否存在移动事件。The detection unit is configured to detect whether there is a movement event in the terminal according to the polling frequency.
本发明第三方面公开了一种终端,所述终端包括:A third aspect of the present invention discloses a terminal, the terminal comprising:
存储有可执行程序代码的存储器;a memory in which executable program code is stored;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如第一方面或第一方面的第一种至第四种中任意一种可能的实现方式所述的方法。The processor invokes the executable program code stored in the memory to execute the method according to the first aspect or any one of the possible implementation manners of the first to fourth aspects of the first aspect.
可以看出,本发明实施例的方案中,若检测到终端被唤醒,则检测所述终端是否存在移动事件;若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。从而可知,通过实施本发明提供的技术方案,能够降低终端的功耗,从而提升用户的体验。It can be seen that, in the solution of the embodiment of the present invention, if it is detected that the terminal is awakened, it is detected whether there is a movement event in the terminal; if it is detected that there is a movement event in the terminal, the control screen operates according to the first working mode; If it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the power consumption of the second working mode is less than the power consumption of the first working mode power consumption. It can be seen that, by implementing the technical solutions provided by the present invention, the power consumption of the terminal can be reduced, thereby improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的一种调整屏幕工作模式方法的流程示意图;1 is a schematic flowchart of a method for adjusting a screen working mode according to an embodiment of the present invention;
图2为本发明实施例提供的另一种调整屏幕工作模式方法的流程示意图;2 is a schematic flowchart of another method for adjusting a screen working mode according to an embodiment of the present invention;
图3为本发明实施例提供的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图4为本发明实施例提供的另一种终端的结构示意图;FIG. 4 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
图5为本发明实施例提供的一种终端的实体装置结构示意图;FIG. 5 is a schematic structural diagram of a physical device of a terminal according to an embodiment of the present invention;
图6为本发明实施例提供的一种手机的实体装置结构示意图。FIG. 6 is a schematic structural diagram of a physical device of a mobile phone according to an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种调整屏幕工作模式的方法及终端,能够降低终端的功耗,从而提升用户的体验。Embodiments of the present invention provide a method and a terminal for adjusting a screen working mode, which can reduce the power consumption of the terminal, thereby improving user experience.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明说明书、权利要求书和附图中出现的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" appearing in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本发明的一个实施例中公开了一种调整屏幕工作模式的方法,所述方法包括:若检测到终端被唤醒,则检测所述终端是否存在移动事件;若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。An embodiment of the present invention discloses a method for adjusting a screen working mode. The method includes: if it is detected that a terminal is awakened, detecting whether there is a movement event in the terminal; if it is detected that there is a movement event in the terminal , the screen is controlled to work according to the first working mode; if it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the second working mode is The power consumption of the mode is smaller than the power consumption of the first operating mode.
请参阅图1,图1是本发明一个实施例提供的一种调整屏幕工作模式的方法。其中,如图1所示,本发明的一个实施例提供的一种调整屏幕工作模式的方法包括以下内容:Please refer to FIG. 1. FIG. 1 is a method for adjusting a screen working mode provided by an embodiment of the present invention. Wherein, as shown in FIG. 1 , a method for adjusting a screen working mode provided by an embodiment of the present invention includes the following contents:
S101、若检测到终端被唤醒,则检测所述终端是否存在移动事件。S101. If it is detected that the terminal is awakened, detect whether there is a movement event in the terminal.
需要指出的是,该方法的执行主体是终端,例如可以为智能手机、平板电脑、智能穿戴式设备、计算机等内置有三轴加速度计或三轴陀螺仪电子设备。It should be pointed out that the execution body of the method is a terminal, for example, a smart phone, a tablet computer, a smart wearable device, a computer, etc. with a built-in three-axis accelerometer or a three-axis gyroscope electronic device.
其中,所述移动事件包括但不限于上下移动、左右移动、转动等。Wherein, the movement event includes but is not limited to up and down movement, left and right movement, rotation and the like.
其中,可以理解的是,所述移动终端可以通过手机内置的三轴陀螺仪来检测所述移动终端是否存在移动事件。It can be understood that the mobile terminal can detect whether there is a movement event in the mobile terminal through a built-in three-axis gyroscope in the mobile phone.
其中,可以理解的是,所述移动终端还可以通过手机内置的三轴加速度计或者三轴加速度计与三轴螺旋仪的组合来检测所述移动终端是否存在移动事件。It can be understood that the mobile terminal can also detect whether there is a movement event in the mobile terminal by using a built-in three-axis accelerometer or a combination of a three-axis accelerometer and a three-axis gyroscope.
S102、若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作。S102. If it is detected that there is a movement event in the terminal, control the screen to work according to the first working mode.
其中,所述屏幕一般包括三种工作模式:active模式、monitor模式、深度睡眠模式。The screen generally includes three working modes: active mode, monitor mode, and deep sleep mode.
其中,可以理解的是,所述屏幕的三种工作模式的切换主要是受屏幕内的触摸屏控制芯片驱动控制的。It can be understood that the switching of the three working modes of the screen is mainly driven and controlled by the touch screen control chip in the screen.
举例来说,当检测到移动终端处于被唤醒的状态,且检测到终端存在移动事件,则发送切换信号给触摸屏控制芯片,使得触摸屏控制芯片在收到切换信号时,控制切换触摸屏的工作模式为active模式。For example, when it is detected that the mobile terminal is in a wake-up state, and it is detected that there is a movement event in the terminal, a switching signal is sent to the touch screen control chip, so that when the touch screen control chip receives the switching signal, the operating mode of switching the touch screen is controlled to be: active mode.
其中,在active模式下消耗的电流最大,一般12毫安,在monitor模式下,一般在6毫安左右,在深度睡眠模式下,消耗的电流最小,一般是2至3毫安左右。Among them, the current consumption is the largest in active mode, generally 12 mA, in monitor mode, generally around 6 mA, and in deep sleep mode, the current consumption is the smallest, generally around 2 to 3 mA.
举例来说,所述第一工作模式可以为active模式。For example, the first working mode may be an active mode.
其中,可以理解的是,在active模式,触摸屏完全正常工作,功能不受限制。Among them, it can be understood that in the active mode, the touch screen is fully functional and the functions are not limited.
其中,举例来说,所述触摸屏的功能包括但不限触摸屏的显示功能,触控操作的反馈功能等。Wherein, for example, the functions of the touch screen include, but are not limited to, a display function of the touch screen, a feedback function of a touch operation, and the like.
其中,所述若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作的过程可以包括:当用户在唤醒手机时,若此时三轴陀螺仪检测到手机有移动,则发送指令到控制中心,控制中心发送相关指令到控制触摸屏,使其工作在active模式。Wherein, the process of controlling the screen to work according to the first working mode if it is detected that there is a movement event in the terminal may include: when the user wakes up the mobile phone, if the three-axis gyroscope detects that the mobile phone is moving at this time, then Send commands to the control center, and the control center sends relevant commands to the control touch screen to make it work in active mode.
其中,可以理解的是,若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。It can be understood that, if it is not detected that there is a movement event in the terminal, the control screen operates according to the second working mode.
其中,举例来说,所述第二工作模式可以为monitor模式。Wherein, for example, the second working mode may be a monitor mode.
其中,需要指出的是,屏幕按照第一工作模式进行工作一段时间后,如果预设时间段内未接收到用户输入的操作指令,则终端就转入休眠模式。It should be pointed out that, after the screen works according to the first working mode for a period of time, if no operation instruction input by the user is received within the preset period of time, the terminal will enter the sleep mode.
S103、若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式。S103. If it is detected that the terminal is in a dormant state, adjust the working mode of the screen from the first working mode to the second working mode.
其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。Wherein, the power consumption of the second working mode is smaller than the power consumption of the first working mode.
其中,举例来说,所述第二工作模式可以为monitor模式。Wherein, for example, the second working mode may be a monitor mode.
其中,在monitor模式时,即触摸屏进入监控模式,在监控模式下触摸屏仍能正常工作,但功耗小于active模式。Among them, in the monitor mode, that is, the touch screen enters the monitoring mode, and the touch screen can still work normally in the monitoring mode, but the power consumption is less than that in the active mode.
其中,可选的,所述方法还包括:确定所述终端中电池的电量;根据所述电池的电量确定轮询频率;按照所述轮询频率检测所述终端是否存在移动事件。Wherein, optionally, the method further includes: determining the power of the battery in the terminal; determining a polling frequency according to the power of the battery; and detecting whether there is a movement event in the terminal according to the polling frequency.
其中,可选的,所述将所述屏幕的工作模式从第一工作模式调整至第二工作模式之后,所述方法还包括:若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。Wherein, optionally, after adjusting the working mode of the screen from the first working mode to the second working mode, the method further includes: if no operation instruction input by the user is received within a preset time period, Then, the working mode of the screen is adjusted from the second working mode to the third working mode, wherein the power consumption of the third working mode is smaller than the power consumption of the second working mode.
其中,所述将所述屏幕的工作模式从第二工作模式调整至第三工作模式之后,所述方法还包括:若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。Wherein, after adjusting the working mode of the screen from the second working mode to the third working mode, the method further includes: if it is detected that there is a movement event in the terminal, changing the working mode of the screen from the first working mode The three working modes are adjusted to the second working mode.
其中,可以理解的是所述第三工作模式可以为深度睡眠模式。Wherein, it can be understood that the third working mode may be a deep sleep mode.
其中,所述屏幕进入深度睡眠模式时,即触摸屏进入休眠状态,不能执行触摸屏的显示功能及触控操作的反馈功能等。Wherein, when the screen enters the deep sleep mode, that is, the touch screen enters the sleep state, and cannot perform the display function of the touch screen and the feedback function of the touch operation.
可以看出,本发明实施例的方案中,若检测到终端被唤醒,则检测所述终端是否存在移动事件;若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。从而可知,通过实施本发明提供的技术方案,能够降低终端的功耗,从而延长用户的使用时间,进而提升用户的体验。It can be seen that, in the solution of the embodiment of the present invention, if it is detected that the terminal is awakened, it is detected whether there is a movement event in the terminal; if it is detected that there is a movement event in the terminal, the control screen operates according to the first working mode; If it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the power consumption of the second working mode is less than the power consumption of the first working mode power consumption. It can be seen that, by implementing the technical solution provided by the present invention, the power consumption of the terminal can be reduced, thereby prolonging the usage time of the user, and further improving the user experience.
请参阅图2,图2是本发明的另一个实施例提供的一种调整屏幕工作模式的方法的流程示意图。其中,如图2所示,本发明的另一个实施例提供的另一种调整屏幕工作模式的方法可以包括以下内容,其中,需要指出的是,该方法的执行主体是终端,例如可以为智能手机、平板电脑、智能穿戴式设备、计算机等内置有三轴加速度计或三轴陀螺仪的电子设备。Please refer to FIG. 2 , which is a schematic flowchart of a method for adjusting a screen working mode provided by another embodiment of the present invention. Wherein, as shown in FIG. 2 , another method for adjusting the screen working mode provided by another embodiment of the present invention may include the following content, wherein, it should be pointed out that the execution subject of the method is a terminal, for example, an intelligent Mobile phones, tablet computers, smart wearable devices, computers and other electronic devices with built-in three-axis accelerometers or three-axis gyroscopes.
S201、确定所述终端中电池的电量。S201. Determine the power of the battery in the terminal.
其中,需要指出的是,可以检测电池正负极电压和电池输出的电流来确定终端的电量。Among them, it should be pointed out that the voltage of the positive and negative electrodes of the battery and the current output by the battery can be detected to determine the power of the terminal.
其中,需要指出的是,可以直接从终端管家中直接获取电池的电量。Among them, it should be pointed out that the power of the battery can be directly obtained from the terminal housekeeper.
S202、根据所述电池的电量确定轮询频率。S202. Determine the polling frequency according to the power of the battery.
其中,电池的电量越多那么轮询频率就越高。其中,轮询频率是指检测终端是否存在移动事件的频率。Among them, the more battery power, the higher the polling frequency. The polling frequency refers to the frequency of detecting whether there is a mobile event in the terminal.
举例来说,如果终端的电池电量大于80%,则可以每个10秒轮询一次;如果终端的电量小于30%,可以每个一分钟轮询一次。在此不对轮询频率做限制。For example, if the battery power of the terminal is greater than 80%, it can be polled every 10 seconds; if the power of the terminal is less than 30%, it can be polled every one minute. The polling frequency is not limited here.
S203、若检测到终端被唤醒,按照所述轮询频率检测所述终端是否存在移动事件。S203. If it is detected that the terminal is awakened, detect whether there is a movement event in the terminal according to the polling frequency.
其中,所述移动事件包括但不限于上下移动、左右移动、转动等。Wherein, the movement event includes but is not limited to up and down movement, left and right movement, rotation and the like.
其中,可以理解的是,所述移动终端可以通过手机内置的三轴陀螺仪来检测所述移动终端是否存在移动事件。It can be understood that the mobile terminal can detect whether there is a movement event in the mobile terminal through a built-in three-axis gyroscope in the mobile phone.
其中,可以理解的是,所述移动终端还可以通过手机内置的三轴加速度计或者三轴加速度计与三轴螺旋仪的组合来检测所述移动终端是否存在移动事件。It can be understood that the mobile terminal can also detect whether there is a movement event in the mobile terminal by using a built-in three-axis accelerometer or a combination of a three-axis accelerometer and a three-axis gyroscope.
S204、若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。S204. If it is not detected that the terminal has a movement event, control the screen to work according to the second working mode.
其中,所述控制屏幕一般包括三种工作模式:active模式、monitor模式、深度睡眠模式。The control screen generally includes three working modes: active mode, monitor mode, and deep sleep mode.
其中,可以理解的是,所述屏幕的三种工作模式的切换主要是受屏幕内的触摸屏控制芯片驱动控制的。It can be understood that the switching of the three working modes of the screen is mainly driven and controlled by the touch screen control chip in the screen.
举例来说,当检测到移动终端处于被唤醒的状态,且检测到终端存在移动事件,则发送切换信号给触摸屏控制芯片,使得触摸屏控制芯片在收到切换信号时,控制切换触摸屏的工作模式为active模式。For example, when it is detected that the mobile terminal is in a wake-up state, and it is detected that there is a movement event in the terminal, a switching signal is sent to the touch screen control chip, so that when the touch screen control chip receives the switching signal, the operating mode of switching the touch screen is controlled to be: active mode.
其中,在active模式下消耗的电流最大,一般12毫安,在monitor模式下,一般在6毫安左右,在深度睡眠模式下,消耗的电流最小,一般是2至3毫安左右。Among them, the current consumption is the largest in active mode, generally 12 mA, in monitor mode, generally around 6 mA, and in deep sleep mode, the current consumption is the smallest, generally around 2 to 3 mA.
具体的,第一工作模式的功耗大于第二工作模式的功耗;其中,第一工作模式可以对应active模式;第二工作模式可以对应monitor模式。Specifically, the power consumption of the first working mode is greater than the power consumption of the second working mode; wherein, the first working mode may correspond to the active mode; and the second working mode may correspond to the monitor mode.
其中,可以理解的是,在active模式,触摸屏完全正常工作,功能不受限制。Among them, it can be understood that in the active mode, the touch screen is fully functional and the functions are not limited.
其中,举例来说,所述触摸屏的功能包括但不限触摸屏的显示功能,触控操作的反馈功能等。Wherein, for example, the functions of the touch screen include, but are not limited to, a display function of the touch screen, a feedback function of a touch operation, and the like.
其中,在monitor模式时,即触摸屏进入监控模式,在监控模式下触摸屏仍能正常工作,但功耗小于active模式。Among them, in the monitor mode, that is, the touch screen enters the monitoring mode, and the touch screen can still work normally in the monitoring mode, but the power consumption is less than that in the active mode.
S205、若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作。S205. If it is detected that there is a movement event in the terminal, control the screen to work according to the first working mode.
其中,需要指出的是,屏幕按照第一工作模式进行工作一段时间后,如果预设时间段内未接收到用户输入的操作指令,则终端就转入休眠模式。It should be pointed out that, after the screen works according to the first working mode for a period of time, if no operation instruction input by the user is received within the preset period of time, the terminal will enter the sleep mode.
S206、若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。S206. If it is detected that the terminal is in a dormant state, adjust the working mode of the screen from a first working mode to a second working mode; wherein, the power consumption of the second working mode is smaller than that of the first working mode mode power consumption.
其中,需要指出的是,所述将所述屏幕的工作模式从第一工作模式调整至第二工作模式之后,所述方法还包括步骤205。Wherein, it should be pointed out that after the working mode of the screen is adjusted from the first working mode to the second working mode, the method further includes step 205 .
S207、若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗;S207. If the operation instruction input by the user is not received within the preset time period, adjust the working mode of the screen from the second working mode to the third working mode; wherein, the power consumption of the third working mode is less than the power consumption of the second working mode;
其中,第二工作模式可以对应monitor模式,第三工作模式可以对应深度睡眠模式。The second working mode may correspond to the monitor mode, and the third working mode may correspond to the deep sleep mode.
其中,所述屏幕进入深度睡眠模式时,即触摸屏进入休眠状态,不能执行触摸屏的显示功能及触控操作的反馈功能等。Wherein, when the screen enters the deep sleep mode, that is, the touch screen enters the sleep state, and cannot perform the display function of the touch screen and the feedback function of the touch operation.
其中,需要指出的是,所述将所述屏幕的工作模式从第二工作模式调整至第三工作模式之后,如果用户重新操作终端,那么终端就可能存在移动事件。It should be noted that, after adjusting the working mode of the screen from the second working mode to the third working mode, if the user operates the terminal again, there may be a movement event on the terminal.
S208、若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。S208. If it is detected that there is a movement event on the terminal, adjust the working mode of the screen from the third working mode to the second working mode.
可以看出,本发明实施例的方案中扩充确定轮询频率的步骤以及第二工作模式与第三工作模式之间的调整的步骤及确定目标系统的步骤。从而可知,通过实施本发明提供的技术方案,能够降低终端功耗,从而延长用户使用时间,进而提升用户体验。It can be seen that the solution of the embodiment of the present invention extends the step of determining the polling frequency, the step of adjusting between the second working mode and the third working mode, and the step of determining the target system. It can be seen that, by implementing the technical solution provided by the present invention, the power consumption of the terminal can be reduced, thereby prolonging the user's usage time, and further improving the user experience.
请参阅图3,图3是本发明的一个实施例提供的一种终端的结构示意图。其中,如图3所示,本发明的一个实施例提供的一种终端300,其中,该终端可以是智能手机、平板电脑、智能穿戴设备等设备。该终端300包括检测单元301、控制单元302以及调整单元303。Please refer to FIG. 3 , which is a schematic structural diagram of a terminal according to an embodiment of the present invention. Wherein, as shown in FIG. 3, an embodiment of the present invention provides a terminal 300, wherein the terminal may be a device such as a smart phone, a tablet computer, and a smart wearable device. The terminal 300 includes a detection unit 301 , a control unit 302 and an adjustment unit 303 .
检测单元301,用于若检测到终端被唤醒,则检测所述终端是否存在移动事件;A detection unit 301, configured to detect whether the terminal has a movement event if it is detected that the terminal is awakened;
控制单元302,用于若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;a control unit 302, configured to control the screen to work according to the first working mode if it is detected that there is a movement event in the terminal;
调整单元303,用于若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。The adjustment unit 303 is configured to adjust the working mode of the screen from the first working mode to the second working mode if it is detected that the terminal is in a dormant state; wherein, the power consumption of the second working mode is less than the power consumption in the first operating mode.
其中,检测单元301、控制单元302以及调整单元303可以用于执行实施例1中步骤S101至S103所述的方法,具体描述详见实施例1对所述方法的描述,在此不再赘述。The detection unit 301 , the control unit 302 , and the adjustment unit 303 may be used to execute the method described in steps S101 to S103 in Embodiment 1. For details, see the description of the method in Embodiment 1, which will not be repeated here.
请参阅图4,图4是本发明的一个实施例提供的一种终端的结构示意图。其中,如图4所示,本发明的一个实施例提供的一种终端400,其中,该终端400可以是智能手机、平板电脑、智能穿戴设备等设备。该终端400包括检测单元401、控制单元402、调整单元403以及确定单元404;Please refer to FIG. 4 , which is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 4, an embodiment of the present invention provides a terminal 400, wherein the terminal 400 may be a device such as a smart phone, a tablet computer, and a smart wearable device. The terminal 400 includes a detection unit 401, a control unit 402, an adjustment unit 403 and a determination unit 404;
确定单元404,用于确定所述终端中电池的电量;还用于根据所述电池的电量确定轮询频率。The determining unit 404 is configured to determine the power of the battery in the terminal; and is further configured to determine the polling frequency according to the power of the battery.
检测单元401,用于若检测到终端被唤醒,则按照所述轮询频率检测所述终端是否存在移动事件。The detection unit 401 is configured to detect whether the terminal has a movement event according to the polling frequency if it is detected that the terminal is awakened.
控制单元402,用于若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。The control unit 402 is configured to control the screen to work according to the second working mode if no movement event of the terminal is detected.
控制单元402,还用于若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作。The control unit 402 is further configured to control the screen to work according to the first working mode if it is detected that there is a movement event on the terminal.
调整单元403,还用于若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。The adjustment unit 403 is further configured to adjust the working mode of the screen from the second working mode to the third working mode if no operation instruction input by the user is received within a preset time period; wherein, the third working mode The power consumption of the mode is smaller than the power consumption of the second operating mode.
调整单元403,用于若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。The adjusting unit 403 is configured to adjust the working mode of the screen from the first working mode to the second working mode if it is detected that the terminal is in a dormant state; wherein, the power consumption of the second working mode is less than the power consumption in the first operating mode.
调整单元403,还用于若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。The adjustment unit 403 is further configured to adjust the working mode of the screen from the second working mode to the third working mode if no operation instruction input by the user is received within a preset time period; wherein, the third working mode The power consumption of the mode is smaller than the power consumption of the second operating mode.
调整单元403,还用于若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。The adjusting unit 403 is further configured to adjust the working mode of the screen from the third working mode to the second working mode if it is detected that there is a movement event on the terminal.
其中,检测单元401、控制单元402、调整单元403以及确定单元404可以用于执行实施例2中步骤S201至S208所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。The detection unit 401, the control unit 402, the adjustment unit 403, and the determination unit 404 may be used to execute the method described in steps S201 to S208 in Embodiment 2. For details, please refer to the description of the method in Embodiment 2, here No longer.
请参阅图5,在本发明的另一个实施例中,提供一种终端。所述终端500包括CPU501、存储器502、总线503,显示屏504等硬件。其中,该终端500可以是智能手机、平板电脑、智能穿戴设备等设备。Referring to FIG. 5, in another embodiment of the present invention, a terminal is provided. The terminal 500 includes hardware such as a CPU 501 , a memory 502 , a bus 503 , and a display screen 504 . Wherein, the terminal 500 may be a device such as a smart phone, a tablet computer, a smart wearable device, or the like.
其中,CPU501执行预先存储在存储器502中的程序,该执行过程具体包括:The CPU 501 executes a program pre-stored in the memory 502, and the execution process specifically includes:
若检测到终端被唤醒,则检测所述终端是否存在移动事件;If it is detected that the terminal is woken up, detecting whether the terminal has a movement event;
若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;If it is detected that there is a movement event in the terminal, the control screen works according to the first working mode;
若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。If it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the power consumption of the second working mode is less than the power consumption of the first working mode power consumption.
可选的,所述将所述屏幕的工作模式从第一工作模式调整至第二工作模式之后,所述执行过程还包括:Optionally, after adjusting the working mode of the screen from the first working mode to the second working mode, the execution process further includes:
若在预设时间段内未接收到用户输入的操作指令,则将所述屏幕的工作模式从第二工作模式调整至第三工作模式;其中,所述第三工作模式的功耗小于所述第二工作模式的功耗。If no operation instruction input by the user is received within the preset time period, the working mode of the screen is adjusted from the second working mode to the third working mode; wherein, the power consumption of the third working mode is smaller than that of the The power consumption of the second operating mode.
可选的,所述将所述屏幕的工作模式从第二工作模式调整至第三工作模式之后,所述执行过程还包括:Optionally, after adjusting the working mode of the screen from the second working mode to the third working mode, the execution process further includes:
若检测到所述终端存在移动事件,则将所述屏幕的工作模式从第三工作模式调整至第二工作模式。If it is detected that there is a movement event on the terminal, the working mode of the screen is adjusted from the third working mode to the second working mode.
可选的,所述执行过程还包括:Optionally, the execution process further includes:
若未检测到所述终端存在移动事件,则控制屏幕按照第二工作模式进行工作。If it is not detected that there is a movement event on the terminal, the control screen operates according to the second working mode.
可选的,所述执行过程还包括:Optionally, the execution process further includes:
确定所述终端中电池的电量;determining the power of the battery in the terminal;
根据所述电池的电量确定轮询频率;determine the polling frequency according to the power of the battery;
所述检测所述终端是否存在移动事件,还包括:The detecting whether there is a movement event in the terminal further includes:
按照所述轮询频率检测所述终端是否存在移动事件。It is detected whether there is a movement event of the terminal according to the polling frequency.
可以看出,本发明实施例的方案中,若检测到终端被唤醒,则检测所述终端是否存在移动事件;若检测到所述终端存在移动事件,则控制屏幕按照第一工作模式进行工作;若检测到所述终端处于休眠状态时,则将所述屏幕的工作模式从第一工作模式调整至第二工作模式;其中,所述第二工作模式的功耗小于所述第一工作模式的功耗。从而可知,通过实施本发明提供的技术方案,能够降低终端的功耗,从而延长用户的使用时间,进而提升用户的体验。It can be seen that, in the solution of the embodiment of the present invention, if it is detected that the terminal is awakened, it is detected whether there is a movement event in the terminal; if it is detected that there is a movement event in the terminal, the control screen operates according to the first working mode; If it is detected that the terminal is in a dormant state, the working mode of the screen is adjusted from the first working mode to the second working mode; wherein the power consumption of the second working mode is less than the power consumption of the first working mode power consumption. It can be seen that, by implementing the technical solution provided by the present invention, the power consumption of the terminal can be reduced, thereby prolonging the usage time of the user, and further improving the user experience.
请参阅图6,图6是本发明的一个实施例提供的终端相关的手机的部分结构的框图。参考图6,手机包括:射频(Radio Frequency,RF)电路610、存储器620、输入单元630、显示单元640、传感器650、音频电路660、无线保真(Wireless Fidelity,WiFi)模块670、处理器680、以及电源690等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 6. FIG. 6 is a block diagram of a partial structure of a terminal-related mobile phone provided by an embodiment of the present invention. Referring to FIG. 6 , the mobile phone includes: a radio frequency (RF) circuit 610 , a memory 620 , an input unit 630 , a display unit 640 , a sensor 650 , an audio circuit 660 , a Wireless Fidelity (WiFi) module 670 , and a processor 680 , and the power supply 690 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 6 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.
下面结合图6对手机的各个构成部件进行具体的介绍:Below in conjunction with Figure 6, the various components of the mobile phone are introduced in detail:
RF电路610可用于信息的接收和发送。通常,RF电路610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 610 may be used for the reception and transmission of information. Typically, the RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 610 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如移动事件检测功能、工作模式调整功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如电池电量与轮询策略的对应关系、触摸屏的工作模式等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 620 . The memory 620 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a mobile event detection function, a work mode adjustment function, etc.), etc.; the storage data area may Stores the data created according to the usage of the mobile phone (such as the correspondence between the battery level and the polling strategy, the working mode of the touch screen, etc.), etc. Additionally, memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元630可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括指纹模组631以及其他输入设备632。指纹模组631,可采集用户在其上的指纹数据。可选的,指纹模组631可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹模组631为电容式指纹模组为例,具体包括感应电极(n1个异常感应电极和n2个正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹模组631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 630 may be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 630 may include a fingerprint module 631 and other input devices 632 . The fingerprint module 631 can collect the user's fingerprint data on it. Optionally, the fingerprint module 631 may include an optical fingerprint module, a capacitive fingerprint module and a radio frequency fingerprint module. Taking the fingerprint module 631 as a capacitive fingerprint module as an example, it specifically includes sensing electrodes (n1 abnormal sensing electrodes and n2 normal sensing electrodes) and a signal processing circuit (such as an amplifier circuit, a noise suppression circuit) connected to the sensing electrodes , analog-to-digital conversion circuits, etc.). Besides the fingerprint module 631 , the input unit 630 may also include other input devices 632 . Specifically, other input devices 632 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元640可包括显示屏641,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏641。虽然在图6中,指纹模组631与显示屏641是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹模组631与显示屏641集成而实现手机的输入和输出功能。The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display screen 641. Optionally, the display screen 641 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. Although in FIG. 6 , the fingerprint module 631 and the display screen 641 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the fingerprint module 631 and the display screen 641 can be integrated to form Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏641的亮度,接近传感器可在手机移动到耳边时,关闭显示屏641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 650, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 641 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 641 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.
音频电路660、扬声器661,传声器662可提供用户与手机之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一手机,或者将音频数据输出至存储器620以便进一步处理。The audio circuit 660, the speaker 661, and the microphone 662 can provide an audio interface between the user and the mobile phone. The audio circuit 660 can transmit the received audio data converted electrical signal to the speaker 661, and the speaker 661 converts it into a sound signal for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 660 After receiving, it is converted into audio data, and then the audio data is output to the processor 680 for processing, and then sent to, for example, another mobile phone through the RF circuit 610, or the audio data is output to the memory 620 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 670. It provides users with wireless broadband Internet access. Although FIG. 6 shows the WiFi module 670, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.
处理器680是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器680可包括一个或多个处理单元;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。The processor 680 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 620, and calling the data stored in the memory 620. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 680 .
手机还包括给各个部件供电的电源690(比如电池),优选的,电源可以通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 690 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 680 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.
前述图1、图2所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1 and FIG. 2 , the method flow of each step can be implemented based on the structure of the mobile phone.
前述图3、图4所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 3 and FIG. 4 , the functions of each unit can be implemented based on the structure of the mobile phone.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610554651.4A CN106227322B (en) | 2016-07-12 | 2016-07-12 | Method and terminal for adjusting screen working mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610554651.4A CN106227322B (en) | 2016-07-12 | 2016-07-12 | Method and terminal for adjusting screen working mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106227322A CN106227322A (en) | 2016-12-14 |
CN106227322B true CN106227322B (en) | 2019-08-20 |
Family
ID=57520356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610554651.4A Active CN106227322B (en) | 2016-07-12 | 2016-07-12 | Method and terminal for adjusting screen working mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227322B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113482B (en) * | 2019-04-18 | 2021-05-07 | 惠州Tcl移动通信有限公司 | Display screen power supply method and device, storage medium and mobile terminal |
CN114341783B (en) * | 2019-10-22 | 2025-07-11 | 深圳市欢太科技有限公司 | Touch screen processing method, device, mobile terminal and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7873849B2 (en) * | 2009-09-02 | 2011-01-18 | Apple Inc. | Motion sensor data processing using various power management modes |
US9158372B2 (en) * | 2012-10-30 | 2015-10-13 | Google Technology Holdings LLC | Method and apparatus for user interaction data storage |
CN103853309B (en) * | 2012-12-06 | 2016-10-05 | 联想(北京)有限公司 | A kind of method controlling electronic equipment and electronic equipment |
CN103987111B (en) * | 2014-05-30 | 2018-02-09 | 云朵网络有限公司 | A kind of location equipment and wearable equipment |
CN107393484A (en) * | 2014-07-04 | 2017-11-24 | 联想(北京)有限公司 | A kind of system control method and electronic equipment |
-
2016
- 2016-07-12 CN CN201610554651.4A patent/CN106227322B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106227322A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107272872B (en) | Power saving control method and related product | |
CN106786962B (en) | Charging control method and device and terminal | |
WO2018032581A1 (en) | Method and apparatus for application program control | |
CN107087053B (en) | A kind of screen backlight control method and mobile terminal | |
CN108762814B (en) | Bright screen method and related equipment | |
CN106951850B (en) | A kind of method and mobile terminal controlling fingerprint recognition mould group | |
CN107071147B (en) | Parameter adjusting method and device | |
CN105469775A (en) | Method for adjusting brightness of display screen and terminal equipment | |
CN106055408A (en) | Application control method and mobile terminal | |
CN106055237B (en) | One kind slides booster response method and equipment | |
CN106127001B (en) | A boot method and terminal | |
CN106951761A (en) | A fingerprint unlocking method and device | |
CN107066264B (en) | Bright screen control method and mobile terminal | |
CN106200970A (en) | A kind of method of split screen display available and terminal | |
CN106532876A (en) | Power supply control method and device and computer equipment | |
CN106095566B (en) | Response control method and mobile terminal | |
CN107295163A (en) | Information processing method and related product | |
CN107025438B (en) | Method and terminal for improving fingerprint identification rate | |
CN106066955A (en) | A kind of solution lock control method and mobile terminal | |
CN106066814B (en) | Application control method and mobile terminal | |
CN111443803A (en) | Mode switching method, device, storage medium and mobile terminal | |
CN106066769B (en) | Mobile terminal processing method and mobile terminal | |
CN106254673A (en) | Terminal fall detection method and device | |
CN106227322B (en) | Method and terminal for adjusting screen working mode | |
CN106851737A (en) | A method for sending uplink data, and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |