CN108415550A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN108415550A CN108415550A CN201810185145.1A CN201810185145A CN108415550A CN 108415550 A CN108415550 A CN 108415550A CN 201810185145 A CN201810185145 A CN 201810185145A CN 108415550 A CN108415550 A CN 108415550A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- mode
- message
- screen
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 21
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 230000003139 buffering effect Effects 0.000 claims description 3
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 abstract 1
- 238000000034 method Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 10
- 230000002618 waking effect Effects 0.000 description 7
- 230000020169 heat generation Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/442—Shutdown
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本发明涉及信息处理技术领域,更具体地说,涉及一种信息处理方法以及电子设备。The present invention relates to the technical field of information processing, and more specifically, to an information processing method and electronic equipment.
背景技术Background technique
目前,在电子设备处于待机状态下,电子设备仍能够接收消息。电子设备在接收到消息,会触发唤醒电子设备,并点亮电子设备的屏幕。Currently, when the electronic device is in a standby state, the electronic device can still receive messages. When the electronic device receives the message, it will trigger to wake up the electronic device and light up the screen of the electronic device.
然而,而在电子设备处于待机状态下,频繁唤醒电子设备的屏幕,必然会导致电子设备耗电较多,从而会大大缩短电子设备的待机时长;同时,还会导致电子设备产热过多,使得电子设备的温度过高。However, when the electronic device is in the standby state, frequently waking up the screen of the electronic device will inevitably lead to more power consumption of the electronic device, which will greatly shorten the standby time of the electronic device; at the same time, it will also cause excessive heat generation of the electronic device, Make the temperature of electronic equipment too high.
发明内容Contents of the invention
本发明的目的是提供一种信息处理方法以及电子设备,以降低电子设备的耗电,减少电子设备温度过高的情况,并有利于提高电子设备的待机时长。The purpose of the present invention is to provide an information processing method and electronic equipment, so as to reduce the power consumption of the electronic equipment, reduce the situation of the electronic equipment being overheated, and help to increase the standby time of the electronic equipment.
为实现上述目的,本发明提供了如下技术方案:一种信息处理方法,包括:In order to achieve the above object, the present invention provides the following technical solutions: an information processing method, comprising:
在电子设备处于待机状态下,获取所述电子设备的模式信息,所述模式信息用于表征所述电子设备所处的模式;When the electronic device is in a standby state, acquire mode information of the electronic device, where the mode information is used to characterize the mode in which the electronic device is located;
根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备的可操作模式;According to the mode information of the electronic device, determine whether the current mode of the electronic device belongs to the operable mode of the electronic device;
当所述电子设备当前所处的模式不属于所述可操作模式时,控制所述电子设备处于禁止唤醒模式,其中,在电子设备处于所述禁止唤醒模式的情况下,电子设备在接收到消息时,不会唤醒所述电子设备的屏幕。When the current mode of the electronic device does not belong to the operable mode, control the electronic device to be in a wake-up prohibition mode, wherein, when the electronic device is in the wake-up prohibition mode, the electronic device receives a message , the screen of the electronic device will not be woken up.
优选的,所述获取所述电子设备的模式信息,包括:Preferably, the acquiring mode information of the electronic device includes:
获取所述电子设备的第一本体和第二本体之间的相对位置状态,所述第一本体与所述第二本体可旋转相连,其中,所述第一本体的第一表面设置有屏幕;Acquiring the relative position state between the first body and the second body of the electronic device, the first body and the second body are rotatably connected, wherein the first surface of the first body is provided with a screen;
根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式,包括:According to the mode information of the electronic device, judging whether the current mode of the electronic device belongs to the preset operable mode of the electronic device includes:
根据所述相对位置状态,判断所述第一本体的第一表面与所述第二本体是否贴合;judging whether the first surface of the first body is in contact with the second body according to the relative position state;
当所述第一本体的第一表面与所述第二本体贴合时,则所述电子设备所处的模式不属于所述电子设备的可操作模式。When the first surface of the first body is attached to the second body, the mode in which the electronic device is located does not belong to the operable mode of the electronic device.
优选的,所述获取所述电子设备的模式信息,包括:Preferably, the acquiring mode information of the electronic device includes:
获取所述电子设备的运动状态信息;Acquiring motion state information of the electronic device;
所述根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式,包括:According to the mode information of the electronic device, judging whether the current mode of the electronic device belongs to the preset operable mode of the electronic device includes:
根据所述电子设备的运动状态信息,判断所述电子设备当前是否处于运动状态;Judging whether the electronic device is currently in a motion state according to the motion state information of the electronic device;
当所述电子设备处于运动状态时,则所述电子设备所处的模式不属于所述电子设备预设的可操作模式。When the electronic device is in a moving state, the mode of the electronic device does not belong to the preset operable mode of the electronic device.
优选的,还包括:Preferably, it also includes:
在所述电子设备处于禁止唤醒模式下,当所述电子设备接收到消息时,将所述消息缓存到指定的存储区,并维持所述电子设备的屏幕处于待机状态。When the electronic device is in the wake-up prohibition mode, when the electronic device receives a message, it caches the message in a designated storage area, and keeps the screen of the electronic device in a standby state.
优选的,还包括:Preferably, it also includes:
当所述电子设备当前所处的模式属于所述可操作模式时,控制所述电子设备处于可唤醒模式,其中,在电子设备处于所述可唤醒模式的情况下,电子设备在接收到消息时,会唤醒所述电子设备的屏幕。When the current mode of the electronic device belongs to the operable mode, control the electronic device to be in a wakeable mode, wherein, when the electronic device is in the wakeable mode, when the electronic device receives a message , which wakes up the screen of the electronic device.
优选的,还包括:Preferably, it also includes:
在所述电子设备处于可唤醒模式的情况下,确定所述电子设备的供电模式;If the electronic device is in a wakeable mode, determine a power supply mode of the electronic device;
在所述电子设备处于可唤醒模式,且所述电子设备的供电模式不属于电池供电模式的情况下,当接收到消息,唤醒所述电子设备的屏幕,并将所述消息输出到所述屏幕中;When the electronic device is in a wakeable mode and the power supply mode of the electronic device does not belong to the battery power supply mode, when a message is received, wake up the screen of the electronic device, and output the message to the screen middle;
在所述电子设备处于可唤醒模式,且所述电子设备的供电模式为电池供电的情况下,当接收到消息时,确定当前待输出的消息数量;When the electronic device is in a wakeable mode, and the power supply mode of the electronic device is battery power supply, when a message is received, determine the number of messages currently to be output;
如果当前待输出的消息数量未超过预设数量,将所述消息缓存为待输出的消息;If the number of messages currently to be output does not exceed the preset number, buffer the message as a message to be output;
如果当前待输出的消息数量超过所述预设数量,则唤醒所述屏幕,并将缓存的消息输出到所述屏幕中。If the number of messages currently to be output exceeds the preset number, wake up the screen, and output the cached messages to the screen.
另一方面,本申请还提供了一种电子设备,包括:On the other hand, the present application also provides an electronic device, including:
传感器,用于在电子设备处于待机状态下,获取所述电子设备的模式信息,所述模式信息用于表征所述电子设备所处的模式;A sensor, configured to acquire mode information of the electronic device when the electronic device is in a standby state, where the mode information is used to characterize the mode of the electronic device;
处理器,用于根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备的可操作模式;当所述电子设备当前所处的模式不属于所述可操作模式时,控制所述电子设备处于禁止唤醒模式,其中,在电子设备处于所述禁止唤醒模式的情况下,电子设备在接收到消息时,不会唤醒所述电子设备的屏幕。a processor, configured to judge whether the current mode of the electronic device belongs to the operable mode of the electronic device according to the mode information of the electronic device; In the operation mode, the electronic device is controlled to be in a wake-up prohibited mode, wherein, when the electronic device is in the wake-up prohibited mode, the electronic device will not wake up the screen of the electronic device when receiving a message.
优选的,所述传感器,具体用于获取所述电子设备的第一本体和第二本体之间的相对位置状态,所述第一本体与所述第二本体可旋转相连,其中,所述第一本体的第一表面设置有屏幕;Preferably, the sensor is specifically used to obtain the relative position state between the first body and the second body of the electronic device, the first body and the second body are rotatably connected, wherein the first body A first surface of a body is provided with a screen;
所述处理器在根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式时,具体用于,根据所述相对位置状态,判断所述第一本体的第一表面与所述第二本体是否贴合;当所述第一本体的第一表面与所述第二本体贴合时,则所述电子设备所处的模式不属于所述电子设备的可操作模式。When the processor determines whether the current mode of the electronic device belongs to the preset operable mode of the electronic device according to the mode information of the electronic device, it is specifically used to determine according to the relative position state Whether the first surface of the first body is attached to the second body; when the first surface of the first body is attached to the second body, the mode of the electronic device does not belong to The operational mode of the electronic device.
优选的,所述传感器,具体用于获取所述电子设备的运动状态信息;Preferably, the sensor is specifically used to obtain motion state information of the electronic device;
所述处理器在根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式时,具体用于,根据所述电子设备的运动状态信息,判断所述电子设备当前是否处于运动状态;当所述电子设备处于运动状态时,则所述电子设备所处的模式不属于所述电子设备预设的可操作模式。When the processor determines whether the current mode of the electronic device belongs to the preset operable mode of the electronic device according to the mode information of the electronic device, it is specifically configured to, according to the motion state of the electronic device information, to determine whether the electronic device is currently in a motion state; when the electronic device is in a motion state, the mode that the electronic device is in does not belong to the preset operable mode of the electronic device.
优选的,所述处理器,还用于在所述电子设备处于禁止唤醒模式下,当所述电子设备接收到消息时,将所述消息缓存到指定的存储区,并维持所述电子设备的屏幕处于待机状态;Preferably, the processor is further configured to cache the message in a designated storage area when the electronic device receives a message when the electronic device is in a wake-up prohibited mode, and maintain the electronic device's the screen is in standby;
存储器,用于缓存所述消息。A memory for buffering the message.
通过以上方案可知,在电子设备处于待机状态下,会根据电子设备的模式信息,判断该电子设备当前是否处于可供用户操作电子设备的可操作模式,如果电子设备所处的模式不属于可操作模式,则会控制电子设备处于禁止唤醒模式,这样,即使电子设备接收到消息也不会唤醒电子设备的屏幕,从而可以减少在不适合用户处理消息的情况下,唤醒屏幕,既不会干扰到用户对于消息的处理,又可以降低屏幕的唤醒次数,降低电子设备功耗,从而降低电子设备的产热。From the above solution, it can be seen that when the electronic device is in the standby state, it will be judged according to the mode information of the electronic device whether the electronic device is currently in an operable mode for the user to operate the electronic device. mode, it will control the electronic device to be in a wake-up prohibition mode, so that even if the electronic device receives a message, it will not wake up the screen of the electronic device, thereby reducing the need to wake up the screen when it is not suitable for the user to process the message. The user's processing of the message can also reduce the number of screen wake-ups, reduce the power consumption of the electronic device, and thereby reduce the heat generation of the electronic device.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的一种信息处理方法一种流程示意图;FIG. 1 is a schematic flow chart of an information processing method provided in an embodiment of the present application;
图2为本申请实施例提供的一种信息处理方法又一种流程示意图;FIG. 2 is another schematic flow chart of an information processing method provided in an embodiment of the present application;
图3为本申请实施例提供的一种信息处理方法又一种流程示意图;FIG. 3 is another schematic flowchart of an information processing method provided in an embodiment of the present application;
图4为本申请实施例提供的一种电子设备的一种组成示意图。FIG. 4 is a schematic composition diagram of an electronic device provided by an embodiment of the present application.
说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的部分,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示的以外的顺序实施。The terms "first", "second", "third", "fourth", etc., if any, in the description and claims and the above drawings are used to distinguish similar parts and not necessarily to describe specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated herein.
具体实施方式Detailed ways
本申请实施例的信息处理方法和电子设备,可以更为合理的唤醒电子设备,降低电子设备的功耗,以降低电子设备的产热。The information processing method and the electronic device of the embodiments of the present application can more reasonably wake up the electronic device, reduce power consumption of the electronic device, and reduce heat generation of the electronic device.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
请参阅图1,图1为本申请实施例提供的一种信息处理方法的一种流程示意图,本实施例的方法可以应用于电子设备,尤其适用于笔记本电脑。本申请实施例的方法可以包括:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an information processing method provided by an embodiment of the present application. The method of this embodiment can be applied to electronic devices, especially to notebook computers. The method of the embodiment of the present application may include:
S101,在电子设备处于待机状态下,获取该电子设备的模式信息。S101. Acquire mode information of the electronic device when the electronic device is in a standby state.
其中,该模式信息用于表征电子设备所处的模式,如,使用模式,电子设备所处的状态模式等。Wherein, the mode information is used to characterize the mode of the electronic device, for example, the use mode, the state mode of the electronic device, and the like.
可见,通过该模式信息可以反映出电子设备当前是否处于可被操作的可操作模式。如,该模式信息可以为电子设备自身部件之间的相对位置关系、例如,电子设备的第一本体与第二本体之间的相对位置关系等;又如,该模式信息还可以为电子设备的运动模式等,该模式信息还可以是电子设备所处的环境模式,当然,该模式信息还可以是电子设备中各部件之间相对位置关系,电子设备的运动模式以及环境模式中的一个或几个的组合。It can be seen that the mode information can reflect whether the electronic device is currently in an operational mode that can be operated. For example, the mode information may be the relative positional relationship between the components of the electronic device itself, for example, the relative positional relationship between the first body and the second body of the electronic device, etc.; Sports mode, etc., the mode information can also be the environment mode in which the electronic device is located, of course, the mode information can also be the relative positional relationship between the components in the electronic device, the motion mode of the electronic device and one or more of the environmental modes. a combination.
可以理解的是,在电子设备上可以设置有一种或多种传感器,以通过传感器感应电子设备所处的模式。当然,在模式信息的具体内容不同时,所需的传感器也会有所差异。It can be understood that one or more sensors may be provided on the electronic device, so as to sense the mode of the electronic device through the sensor. Of course, when the specific content of the mode information is different, the required sensors will also be different.
S102,根据电子设备的模式信息,判断该电子设备当前所处的模式是否属于电子设备的可操作模式。S102. According to the mode information of the electronic device, determine whether the current mode of the electronic device belongs to the operable mode of the electronic device.
其中,可操作模式是指适合用户向电子设备中执行输入操作的模式,也就是说,该可操作模式是通常用户操作电子设备时,电子设备所处的模式。相应的,在电子设备的可操作模式下,用户能够通过点击按键或者触摸屏幕等方式,控制电子设备,以完成用户与电子设备的交互。Wherein, the operable mode refers to a mode suitable for the user to perform an input operation into the electronic device, that is to say, the operable mode is a mode in which the electronic device is normally operated by the user. Correspondingly, in the operational mode of the electronic device, the user can control the electronic device by clicking buttons or touching the screen, so as to complete the interaction between the user and the electronic device.
如,在一种可能的实现方式中,可以预先配置不同模式信息所对应的操作模式,这样,根据当前获取到的电子设备的模式信息,可以确定当前是否属于电子设备的可操作模式。For example, in a possible implementation manner, the operation modes corresponding to different mode information can be pre-configured, so that, according to the currently acquired mode information of the electronic device, it can be determined whether the current electronic device belongs to an operable mode.
S103,当该电子设备当前所处的模式不属于可操作模式时,控制该电子设备处于禁止唤醒模式。S103. When the current mode of the electronic device is not an operable mode, control the electronic device to be in a wake-up prohibited mode.
其中,在电子设备处于该禁止唤醒模式的情况下,电子设备在接收到消息时,不会唤醒该电子设备的屏幕。Wherein, when the electronic device is in the wake-up prohibited mode, the electronic device will not wake up the screen of the electronic device when receiving the message.
可以理解的是,在电子设备处于待机状态下,且电子设备处于不可操作模式下,用户并不便于查看以及处理该电子设备接收到的消息,因此,如果唤醒电子设备的笔记本电脑,以输出接收到的消息,用户也不会处理该消息,但却会因为电子设备的处理器唤醒屏幕,而导致耗电。因此,在电子设备待机状态下,如果电子设备处于不可操作模式,则可以禁止唤醒电子设备的屏幕。It can be understood that when the electronic device is in the standby state and the electronic device is in an inoperable mode, it is not convenient for the user to view and process the messages received by the electronic device. If the message is received, the user will not process the message, but the processor of the electronic device will wake up the screen, resulting in power consumption. Therefore, in the standby state of the electronic device, if the electronic device is in an inoperable mode, waking up the screen of the electronic device may be prohibited.
如,以笔记本为例,在笔记本处于待机状态下,如果用户正在移动笔记本,使得笔记本无法被操作,而该笔记本处于不可操作模式,使得用户无法操作笔记本,在该种情况下,唤醒笔记本的屏幕,只会增加功耗,而不会使得用户及时发现和处理消息。For example, take a notebook as an example. When the notebook is in the standby state, if the user is moving the notebook, the notebook cannot be operated, and the notebook is in an inoperable mode, so that the user cannot operate the notebook. In this case, wake up the notebook screen , will only increase power consumption, but will not allow users to discover and process messages in a timely manner.
可以理解的是,在确定出该电子设备当前所处的模式不属于可操作模式,则电子设备实际上就进入了禁止唤醒模式。其中,控制电子设备处于禁止唤醒模式可以认为是设置电子设备的提醒模式为禁止唤醒模式,或者是确定当前电子设备为禁止唤醒模式,而无需执行操作动作。It can be understood that, after it is determined that the current mode of the electronic device does not belong to the operable mode, the electronic device actually enters the wake-up prohibition mode. Wherein, controlling the electronic device to be in the wake-up prohibited mode can be regarded as setting the reminder mode of the electronic device as the wake-up prohibited mode, or determining that the electronic device is currently in the wake-up prohibited mode without performing an operation action.
在禁止唤醒模式中,如果电子设备接收到消息,则电子设备可以缓存接收到的消息,而不会唤醒电子设备的屏幕,从而可以维持该电子设备处于待机状态。In the wake-up prohibition mode, if the electronic device receives a message, the electronic device can buffer the received message without waking up the screen of the electronic device, thereby maintaining the electronic device in a standby state.
可见,在本申请实施例中,在电子设备处于待机状态下,会根据电子设备的模式信息,判断该电子设备当前是否处于可供用户操作电子设备的可操作模式,如果电子设备所处的模式不属于可操作模式,则会控制电子设备处于禁止唤醒模式,这样,即使电子设备接收到消息也不会唤醒电子设备的屏幕,从而可以减少在不适合用户处理消息的情况下,唤醒屏幕,既不会干扰到用户对于消息的处理,又可以降低屏幕的唤醒次数,降低电子设备功耗,从而降低电子设备的产热。It can be seen that in the embodiment of the present application, when the electronic device is in the standby state, it will be judged according to the mode information of the electronic device whether the electronic device is currently in an operable mode for the user to operate the electronic device. If the mode of the electronic device is If it does not belong to the operable mode, it will control the electronic device to be in a wake-up prohibition mode. In this way, even if the electronic device receives a message, it will not wake up the screen of the electronic device, thereby reducing the need to wake up the screen when it is not suitable for the user to process the message. It will not interfere with the user's processing of the message, and can reduce the number of screen wake-ups, reduce the power consumption of the electronic device, and thereby reduce the heat generation of the electronic device.
可以理解的是,为了在用户适合处理电子设备接收到的消息时,能够及时输出消息,在本申请实施例中,在电子设备处于待机状态下,如果根据获取到的模式信息,确定出电子设备处于可操作模式,则会控制电子设备处于可唤醒模式。其中,在电子设备处于所述可唤醒模式的情况下,电子设备在接收到消息时,会唤醒所述电子设备的屏幕。It can be understood that, in order to output messages in a timely manner when the user is suitable for processing the messages received by the electronic device, in this embodiment of the application, if the electronic device is in the standby state, if the electronic device is determined according to the acquired mode information In the operable mode, the electronic device is controlled to be in the wakeable mode. Wherein, when the electronic device is in the wakeable mode, when the electronic device receives a message, it will wake up the screen of the electronic device.
为了便于理解,以电子设备具有两个本体的情况为例对本申请的信息处理方法进行介绍。如,参见图2,其示出了本申请实施例的一种信息处理方法又一种流程示意图,本实施例的方法可以应用于电子设备,该电子设备至少具有第一本体和第二本体,其中,第一本体的第一表面设置有屏幕,如该电子设备可以为笔记本电脑。本实施例的方法可以包括:For ease of understanding, the information processing method of the present application is introduced by taking the case where the electronic device has two bodies as an example. For example, referring to FIG. 2 , it shows another schematic flowchart of an information processing method according to an embodiment of the present application. The method of this embodiment can be applied to an electronic device, and the electronic device has at least a first body and a second body. Wherein, the first surface of the first body is provided with a screen, for example, the electronic device may be a notebook computer. The method of this embodiment may include:
S201,在电子设备处于待机状态下,获取该电子设备的第一本体和第二本体之间的相对位置状态。S201. Acquire a relative position state between a first body and a second body of the electronic device when the electronic device is in a standby state.
其中,该第一本体与第二本体可旋转相连。随着第一本体与第二本体之间的相互旋转,第一本体与第二本体之间的相对位置状态也会发生改变,而第一本体与第二本体的相对位置状态,也可以反映出电子设备所呈现的模式是否为适合操作的可操作模式。Wherein, the first body and the second body are rotatably connected. With the mutual rotation between the first body and the second body, the relative position state between the first body and the second body will also change, and the relative position state between the first body and the second body can also reflect Whether the mode presented by the electronic device is an operational mode suitable for operation.
在一种可能的实现方式中,该相对位置状态可以是第一本体与第二本体之间的夹角(相对于相对旋转角度)。如,可以在连接第一本体与第二本体的可旋转部件上设置一个角度传感器,以检测第一本体与第二本体之间的夹角。In a possible implementation manner, the relative position state may be an included angle (relative to a relative rotation angle) between the first body and the second body. For example, an angle sensor may be provided on the rotatable component connecting the first body and the second body to detect the angle between the first body and the second body.
S202,根据该相对位置状态,判断该第一本体的第一表面与该第二本体是否贴合,如果是,则执行步骤S203;如果否,则执行步骤205。S202. Determine whether the first surface of the first body is in contact with the second body according to the relative position state, if yes, perform step S203; if not, perform step 205.
S203,当该第一本体的第一表面与该第二本体贴合时,确定电子设备处于禁止唤醒模式。S203. When the first surface of the first body is in contact with the second body, determine that the electronic device is in a wake-up prohibited mode.
可以理解的是,在第一本体的第一表面与第二本体贴合时,该第一本体的第一表面上的屏幕被遮挡,用户无法观看屏幕以及操作屏幕;同时,该第二本体上的按键也无法被操控,在该种情况下,唤醒屏幕,用户也无法看到屏幕上展现的消息,更无法处理消息,如果唤醒屏幕必然造成资源耗费,因此,可以确定该电子设备所处的模式不属于该电子设备的可操作模式。It can be understood that when the first surface of the first body is attached to the second body, the screen on the first surface of the first body is blocked, and the user cannot view and operate the screen; at the same time, the screen on the second body In this case, when the screen is woken up, the user cannot see the messages displayed on the screen, let alone process the messages. If the screen is woken up, it will inevitably consume resources. Therefore, it can be determined where the electronic device is located. mode is not one of the operational modes of the electronic device.
如,以笔记本电脑为例,该笔记本电脑的盖板与底板闭合,则盖板上的屏幕无法被观看,也无法被触摸操作,且底板上的键盘也无法被操作,在该种情况下,唤醒笔记本电脑上的屏幕并输出消息,用户也并不会查看消息以及处理消息,但是此刻唤醒屏幕却造成了耗电,增加了产热。For example, take a notebook computer as an example. If the cover and the base of the notebook are closed, the screen on the cover cannot be viewed or touched, and the keyboard on the base cannot be operated. In this case, Wake up the screen on the laptop and output the message, the user will not check the message and process the message, but waking up the screen at this moment causes power consumption and increases heat generation.
需要说明的是,在本实施例中是以第一本体的第一表面与第二本体贴合时,确定电子设备处于不可操作模式,但是可以理解的是,在第一本体与第二本体之间的夹角较小时,用户同样无法观看屏幕中显示的内容以及操控电子设备,因此,在第一本体与第二本体之间的夹角小于预设角度时,也可以确定电子设备处于不可操作模式。It should be noted that, in this embodiment, when the first surface of the first body is attached to the second body, it is determined that the electronic device is in an inoperable mode, but it can be understood that, between the first body and the second body When the angle between the first body and the second body is smaller than the preset angle, the user cannot watch the content displayed on the screen and operate the electronic device. Therefore, when the angle between the first body and the second body is smaller than the preset angle, it can also be determined that the electronic device is inoperable model.
S204,在电子设备处于禁止唤醒模式的情况下,当电子设备接收到消息,缓存该消息,并维持电子设备的待机状态。S204. When the electronic device is in the wake-up prohibited mode, when the electronic device receives the message, cache the message, and maintain the electronic device in a standby state.
其中,缓存消息的目的是为了避免用户错过该消息,相应的,在后续电子设备切换到可唤醒模式之后,可以唤醒屏幕,以输出缓存的消息。Wherein, the purpose of buffering the message is to prevent the user from missing the message. Correspondingly, after the subsequent electronic device switches to the wakeable mode, the screen can be woken up to output the buffered message.
S205,当该第一本体的第一表面未与该第二本体贴合时,确定电子设备处于可唤醒模式,并唤醒屏幕,将缓存的消息输出到该屏幕。S205. When the first surface of the first body is not attached to the second body, determine that the electronic device is in a wakeable mode, wake up the screen, and output the cached message to the screen.
可以理解的是,在控制电子设备处于可唤醒模式之后,可以检查缓存区是否缓存消息,如果缓存有消息,则可以将缓存的消息输出到屏幕,以使得用户可以及时获知电子设备所接收到的消息,进而处理接收到的消息。It can be understood that after controlling the electronic device to be in the wake-up mode, it is possible to check whether the buffer area has cached messages, and if there is a cached message, the cached message can be output to the screen, so that the user can be informed of the information received by the electronic device in a timely manner. message, and then process the received message.
在电子设备处于可唤醒模式之后,便唤醒屏幕,以输出禁止唤醒模式下缓存的消息仅仅是一种实现方式,在实际应用中,也可以是在电子设备处于可唤醒模式之后,当该电子设备接收到消息时,将当前接收到的消息,以及当前时刻之间缓存的消息,一并输出到屏幕,以进一步减少唤醒屏幕的次数。After the electronic device is in the wakeable mode, it wakes up the screen to output the message cached in the wake-up prohibited mode. In practical applications, after the electronic device is in the wakeable mode, when the electronic device When a message is received, the currently received message and the cached messages between the current moments are output to the screen together to further reduce the number of times of waking up the screen.
当然,在电子设备处于可唤醒模式,将禁止唤醒模式下缓存的消息输出仅仅是一种实现方式,在实际应用中,也可以是在电子设备解除待机状态时,输出缓存的消息。如,用户控制电子设备解除待机状态,在该种情况下,电子设备即使没有接收到消息,也会将缓存的消息输出。Of course, when the electronic device is in the wake-up mode, it is only one implementation to disable the buffered message output in the wake-up mode. In practical applications, the buffered message may also be output when the electronic device is released from the standby state. For example, the user controls the electronic device to release the standby state. In this case, the electronic device will output the cached message even if it does not receive the message.
S206,在电子设备处于可唤醒模式的情况下,当电子设备接收到消息,唤醒电子设备的屏幕,并将消息输出到该屏幕。S206. When the electronic device is in the wakeable mode, when the electronic device receives the message, wake up the screen of the electronic device, and output the message to the screen.
可以理解的是,本实施例是以电子设备的模式信息为电子设备中第一本体与第二本体之间的相对位置关系为例进行介绍,可以理解的是,考虑到在电子设备处于运动状态下,用户也无法操作该电子设备,如,以笔记本电脑为例,用户旋转电子设备、搬动笔记本电脑移动的过程中,无法观看或者处理笔记本电脑上的消息,因此,模式信息还可以为电子设备的运动状态信息。、相应的,根据该电子设备的运动状态信息,判断该电子设备是否处于运动状态;如果电子设备处于运动状态,则确定电子设备所处的模式不属于电子设备的可操作模式,从而确定电子设备进入禁止唤醒模式。当然,如果电子设备未处于运动状态,则可以确定电子设备所处的模式属于可操作模式,从而控制电子设备处于可唤醒模式。It can be understood that this embodiment is introduced by taking the mode information of the electronic device as an example of the relative positional relationship between the first body and the second body in the electronic device. It can be understood that, considering that the electronic device is in a moving state In this case, the user cannot operate the electronic device. For example, taking a laptop computer as an example, the user cannot view or process messages on the laptop computer while rotating the electronic device or moving the laptop computer. Therefore, the mode information can also be electronic The motion status information of the device. , Correspondingly, according to the motion state information of the electronic device, it is judged whether the electronic device is in a motion state; Enter disable wake-up mode. Certainly, if the electronic device is not in a motion state, it may be determined that the mode of the electronic device is an operable mode, so as to control the electronic device to be in a wakeable mode.
其中,电子设备的运动状态信息可以为电子设备的运动速度、加速度以及能够反映出电子设备的运动情况的信息。如,通过重力传感器、加速度传感器等传感器获取到的数据作为运动状态信息。Wherein, the motion state information of the electronic device may be the motion speed and acceleration of the electronic device, and information that can reflect the motion of the electronic device. For example, data acquired by sensors such as a gravity sensor and an acceleration sensor are used as motion state information.
可以理解的是,为了避免误判,在一种可能的情况中,判断电子设备是否处于运动状态可以是:判断该电子设备是否处于运动状态,且运动幅度大于预设阈值。如,电子设备的运动速度或者加速度是否超过预设值。如果电子设备的运动幅度大于预设阈值,则说明当前不适合观看电子设备的屏幕以及操作电子设备,在该种情况下,可以控制电子设备进入禁止唤醒模式,以避免消息唤醒屏幕。It can be understood that, in order to avoid misjudgment, in a possible situation, judging whether the electronic device is in a motion state may be: judging whether the electronic device is in a motion state, and the motion range is greater than a preset threshold. For example, whether the motion speed or acceleration of the electronic device exceeds a preset value. If the motion amplitude of the electronic device is greater than the preset threshold, it means that it is not suitable to watch the screen of the electronic device and operate the electronic device. In this case, the electronic device can be controlled to enter the wake-up prohibition mode to avoid the message from waking up the screen.
需要说明是,以上依据电子设备的运动状态,控制电子设备进入禁止唤醒模式或者可唤醒模式不仅适用于具有第一本体和第二本体的电子设备,也适用于移动电子设备,如,手机等电子设备。It should be noted that, based on the motion state of the electronic device, controlling the electronic device to enter the wake-up prohibition mode or the wake-up mode is not only applicable to electronic devices with a first body and a second body, but also to mobile electronic devices, such as mobile phones and other electronic devices. equipment.
可以理解的是,考虑到用户在使用移动电子设备等电子设备的过程中,即使在运动过程中,也有可能会希望及时收到消息,因此,为了能够减少误判,而导致在用户希望显示出消息的情况下而未唤醒屏幕,在本申请实施例中,在获取该电子设备的运动状态信息的同时,还可以获取电子设备所处的环境信息。其中,该环境信息可以为电子设备周围的光线状况,电子设备所处的环境类型等。如果根据电子设备的运动状态信息,确定出电子设备处于运动状态,且电子设备的环境信息表明该电子设备当前处于预设的不适合操作的环境内,则确定电子设备处于不可操作模式,并控制电子设备处于禁止唤醒模式。It is understandable that, considering that users may wish to receive messages in a timely manner even during exercise when using electronic devices such as mobile electronic devices, therefore, in order to reduce misjudgments, when the user wishes to display In the case of receiving a message without waking up the screen, in the embodiment of the present application, while obtaining the motion state information of the electronic device, the environment information of the electronic device can also be obtained. Wherein, the environment information may be the light condition around the electronic device, the type of environment where the electronic device is located, and the like. If it is determined that the electronic device is in a moving state according to the motion state information of the electronic device, and the environmental information of the electronic device indicates that the electronic device is currently in a preset environment that is not suitable for operation, then it is determined that the electronic device is in an inoperable mode, and control The electronic device is in a no-wake-up mode.
如,笔记本电脑等电子设备被放到背包等情况下,且用户携带该背包行走过程中,用户就无法查看消息,在该种情况下,将待机状态下的电子设备唤醒并输出消息,只会导致电量的耗费。在该种情况下,可以利用电子设备中传感器感应周围环境,以判断是否电子设备符合处于背包内的情况,如,电子设备上可以设置光敏传感器,以感应周围的环境光亮度;还可以设置探测器以探测电子设备周围是否具备覆盖物等,从而分析出电子设备是否符合处于背包内的情况。For example, when an electronic device such as a laptop is placed in a backpack, and the user is walking with the backpack, the user cannot view the message. lead to power consumption. In this case, the sensor in the electronic device can be used to sense the surrounding environment to determine whether the electronic device is in the backpack. For example, a photosensitive sensor can be set on the electronic device to sense the ambient light brightness around it; The sensor is used to detect whether there is a cover around the electronic device, so as to analyze whether the electronic device is in the backpack.
可以理解的是,在以上实施例中,在电子设备待机状态下,如果确定出电子设备处于可操作模式,为了能够进一步减少功耗,在电子设备采用电池供电的情况下,还可以当消息数量达到预设数量的前提下,再唤醒该电子设备。It can be understood that, in the above embodiments, in the standby state of the electronic device, if it is determined that the electronic device is in the operational mode, in order to further reduce power consumption, when the electronic device is powered by a battery, it can also be used as the number of messages On the premise that the preset number is reached, the electronic device is woken up.
为了便于理解,下面以一种具体实现方式对本申请的方案进行详细介绍,如,参见图3,其示出了本申请一种信息处理方法又一种流程示意图,本实施例的方法可以应用于电子设备,该方法包括:In order to facilitate understanding, the solution of this application will be introduced in detail below in a specific implementation manner. For example, see FIG. 3 , which shows another schematic flow chart of an information processing method of this application. The method of this embodiment can be applied to electronic equipment, the method comprising:
S301,在电子设备处于待机状态下,获取该电子设备的模式信息。S301. Acquire mode information of the electronic device when the electronic device is in a standby state.
其中,该模式信息用于表征电子设备所处的模式。Wherein, the mode information is used to represent the mode of the electronic device.
S302,根据电子设备的模式信息,判断该电子设备当前所处的模式是否属于电子设备的可操作模式,如果是,则执行步骤S303;如果否,则执行步骤S309。S302, according to the mode information of the electronic device, judge whether the current mode of the electronic device belongs to the operable mode of the electronic device, if yes, perform step S303; if not, perform step S309.
其中,判断电子设备所处的模式是否为可操作模式的具体过程可以采用前面实施例提到的任意一种方式,具体可以参见前面相关介绍,在此不再赘述。Wherein, the specific process of judging whether the mode of the electronic device is an operable mode may adopt any of the methods mentioned in the preceding embodiments, and for details, refer to the relevant introduction above, and details will not be repeated here.
S303,控制电子设备处于可唤醒模式。S303, controlling the electronic device to be in a wakeable mode.
其中,在电子设备处于所述可唤醒模式的情况下,电子设备在接收到消息时,会唤醒所述电子设备的屏幕。Wherein, when the electronic device is in the wakeable mode, when the electronic device receives a message, it will wake up the screen of the electronic device.
S304,在电子设备处于可唤醒模式下,如果电子设备接收到消息,则确定电子设备的供电模式。S304. When the electronic device is in a wakeable mode, if the electronic device receives the message, determine a power supply mode of the electronic device.
其中,确定电子设备的供电模式也可以是在电子设备处于可唤醒模式之后,实时监控电子设备的供电模式。Wherein, determining the power supply mode of the electronic device may also be monitoring the power supply mode of the electronic device in real time after the electronic device is in a wake-up mode.
其中,电子设备的供电模式有两种,一种为电池供电,也就是所称的直流供电;而另一种就是外接电源供电,一般情况下为俗称的交流供电,如通过电子设备的充电插口与外部插座或者电源相连。Among them, there are two power supply modes for electronic equipment, one is battery-powered, which is called DC power supply; the other is external power supply, commonly known as AC power supply, such as through the charging socket of electronic equipment Connect to an external socket or power supply.
S305,如果电子设备的供电模式不属于电池供电模式,则唤醒该电子设备的屏幕,并将消息输出屏幕中。S305. If the power supply mode of the electronic device does not belong to the battery power supply mode, wake up the screen of the electronic device, and output a message on the screen.
可以理解的是,如果电子设备的供电模式为电池供电,在电子设备待机状态下,如果频繁唤醒电子设备的屏幕,则会由于耗电量较大而导致电子设备的待机时长大大缩短。反之,如果电子设备的供电模式为外接电源供电,则无法考虑电子设备的待机时长,这样,在电子设备待机状态下,如果电子设备的模式为可唤醒模式,则可以直接唤醒电子设备的屏幕,并输出消息。It is understandable that if the power supply mode of the electronic device is battery power, if the screen of the electronic device is frequently woken up in the standby state, the standby time of the electronic device will be greatly shortened due to the large power consumption. Conversely, if the power supply mode of the electronic device is powered by an external power supply, the standby time of the electronic device cannot be considered. In this way, in the standby state of the electronic device, if the mode of the electronic device is a wake-up mode, the screen of the electronic device can be directly woken up. and output the message.
S306,如果电子设备的供电模式为电池供电模式,则确定当前缓存的待输出的消息数量是否超过预设数量,如果是,则执行步骤S307;如果否,则执行步骤S308。S306. If the power supply mode of the electronic device is the battery power supply mode, determine whether the number of currently buffered messages to be output exceeds a preset number, if yes, perform step S307; if not, perform step S308.
该预设数量可以根据需要设定,该预设数量可以为3。The preset number can be set as required, and the preset number can be three.
通过设定该预设数量,可以在电子设备待机状态下,进一步降低电子设备被唤醒的次数。如,只有未被输出的消息数量超过该预设数量,才唤醒屏幕。By setting the preset number, the number of times the electronic device is woken up can be further reduced when the electronic device is in a standby state. For example, the screen will be woken up only if the number of unoutputted messages exceeds the preset number.
S307,如果当前待输出的消息数量未超过预设数量,将接收到的该消息缓存为待输出的消息。S307. If the current number of messages to be output does not exceed the preset number, cache the received message as a message to be output.
缓存接收到的消息之后,可以在缓存的消息总数到达该预设数量时,再唤醒屏幕,并将缓存的全部消息输出。After the received messages are cached, the screen can be woken up when the total number of cached messages reaches the preset number, and all the cached messages can be output.
S308,如果当前待输出的消息数量超过该预设数量,则唤醒屏幕,并接收到的该消息以及缓存的消息输出到屏幕中。S308. If the number of messages currently to be output exceeds the preset number, wake up the screen, and output the received message and the cached messages to the screen.
可以理解的是,该步骤S308也可以是判断当前接收到的消息与缓存的消息的总数量是否到达该预设数量。It can be understood that step S308 may also be to determine whether the total number of currently received messages and buffered messages reaches the preset number.
可以理解的是,执行该步骤S308之后,可以继续返回S301,以在电子设备的待机状态下,持续的监控电子设备所处的模式,以便在满足相应条件下,将可唤醒模式切换为禁止唤醒模式。It can be understood that, after step S308 is executed, it is possible to continue to return to S301, so as to continuously monitor the mode of the electronic device in the standby state of the electronic device, so as to switch the wakeable mode to prohibit wakeup if the corresponding conditions are met. model.
S309,控制电子设备处于禁止唤醒模式。S309, controlling the electronic device to be in a wake-up prohibited mode.
S310,当该电子设备接收到消息时,将该消息缓存到指定的存储区,并维持该电子设备的屏幕处于待机状态。S310. When the electronic device receives the message, cache the message in a designated storage area, and keep the screen of the electronic device in a standby state.
如,电子设备被切换到可唤醒模式之后,且电子设备接收到消息,则可以根据供电模式,将缓存的消息或者接收到的消息输出到屏幕中;或者,在缓存的消息超过预设数量时,输出缓存的消息以及接收到的消息。For example, after the electronic device is switched to the wakeable mode and the electronic device receives the message, it can output the cached message or the received message to the screen according to the power supply mode; or, when the cached message exceeds the preset number , outputs the buffered messages as well as the received messages.
本申请还提供了一种电子设备,以支持以上信息处理方法的执行。The present application also provides an electronic device to support the execution of the above information processing method.
如,参见图4,其示出了本申请一种电子设备一个实施例的组成示意图,本实施例的电子设备可以为笔记本电脑、手机等等。For example, refer to FIG. 4 , which shows a schematic composition diagram of an embodiment of an electronic device of the present application. The electronic device in this embodiment may be a notebook computer, a mobile phone, and the like.
本申请实施例的电子设备可以包括:The electronic equipment in the embodiment of the present application may include:
传感器401,用于在电子设备处于待机状态下,获取所述电子设备的模式信息,所述模式信息用于表征所述电子设备所处的模式;A sensor 401, configured to acquire mode information of the electronic device when the electronic device is in a standby state, where the mode information is used to characterize the mode of the electronic device;
处理器402,用于根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备的可操作模式;当所述电子设备当前所处的模式不属于所述可操作模式时,控制所述电子设备处于禁止唤醒模式,其中,在电子设备处于所述禁止唤醒模式的情况下,电子设备在接收到消息时,不会唤醒所述电子设备的屏幕。The processor 402 is configured to judge whether the current mode of the electronic device belongs to the operable mode of the electronic device according to the mode information of the electronic device; when the current mode of the electronic device does not belong to the In the operable mode, controlling the electronic device to be in a wake-up prohibited mode, wherein, when the electronic device is in the wake-up prohibited mode, the electronic device will not wake up the screen of the electronic device when receiving a message.
在一种可能的情况中,所述传感器401,具体用于获取所述电子设备的第一本体和第二本体之间的相对位置状态,所述第一本体与所述第二本体可旋转相连,其中,所述第一本体的第一表面设置有屏幕;In a possible situation, the sensor 401 is specifically used to obtain the relative position state between the first body and the second body of the electronic device, the first body and the second body are rotatably connected , wherein the first surface of the first body is provided with a screen;
相应的,该处理器在根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式时,具体用于,根据所述相对位置状态,判断所述第一本体的第一表面与所述第二本体是否贴合;当所述第一本体的第一表面与所述第二本体贴合时,则所述电子设备所处的模式不属于所述电子设备的可操作模式。Correspondingly, when judging whether the current mode of the electronic device belongs to the preset operable mode of the electronic device according to the mode information of the electronic device, the processor is specifically configured to: , to determine whether the first surface of the first body is attached to the second body; when the first surface of the first body is attached to the second body, the mode of the electronic device is Not part of the operational modes of the electronic device in question.
在一种可能的情况中,所述传感器,具体用于获取所述电子设备的运动状态信息;In a possible situation, the sensor is specifically used to acquire motion state information of the electronic device;
相应的,处理器在根据所述电子设备的模式信息,判断所述电子设备当前所处的模式是否属于所述电子设备预设的可操作模式时,具体用于,根据所述电子设备的运动状态信息,判断所述电子设备当前是否处于运动状态;当所述电子设备处于运动状态时,则所述电子设备所处的模式不属于所述电子设备预设的可操作模式。Correspondingly, when judging whether the current mode of the electronic device belongs to the preset operable mode of the electronic device according to the mode information of the electronic device, the processor is specifically configured to: State information, judging whether the electronic device is currently in a motion state; when the electronic device is in a motion state, the mode of the electronic device does not belong to the preset operable mode of the electronic device.
在一种可能的实现方式中,所述处理器,还用于在所述电子设备处于禁止唤醒模式下,当所述电子设备接收到消息时,将所述消息缓存到指定的存储区,并维持所述电子设备的屏幕处于待机状态;In a possible implementation manner, the processor is further configured to cache the message in a designated storage area when the electronic device receives a message when the electronic device is in a wake-up prohibited mode, and maintaining the screen of the electronic device in a standby state;
相应的,该电子设备还可以包括存储器403,用于缓存所述消息。Correspondingly, the electronic device may further include a memory 403, configured to cache the message.
在以上任意一个电子设备的实施例中,该电子设备的处理器还用于,当所述电子设备当前所处的模式属于所述可操作模式时,控制所述电子设备处于可唤醒模式,其中,在电子设备处于所述可唤醒模式的情况下,电子设备在接收到消息时,会唤醒所述电子设备的屏幕。In any one of the above embodiments of the electronic device, the processor of the electronic device is further configured to, when the current mode of the electronic device belongs to the operable mode, control the electronic device to be in a wake-up mode, wherein , when the electronic device is in the wakeable mode, when the electronic device receives a message, it will wake up the screen of the electronic device.
在以上实施例中,所述电子设备的处理器还用于,在所述电子设备处于可唤醒模式的情况下,确定所述电子设备的供电模式;在所述电子设备处于可唤醒模式,且所述电子设备的供电模式不属于电池供电模式的情况下,当接收到消息,唤醒所述电子设备的屏幕,并将所述消息输出到所述屏幕中;且,在所述电子设备处于可唤醒模式,且所述电子设备的供电模式为电池供电的情况下,当接收到消息时,确定当前待输出的消息数量;如果当前待输出的消息数量未超过预设数量,将所述消息缓存为待输出的消息;如果当前待输出的消息数量超过所述预设数量,则唤醒所述屏幕,并将缓存的消息输出到所述屏幕中。In the above embodiment, the processor of the electronic device is further configured to determine the power supply mode of the electronic device when the electronic device is in the wakeable mode; when the electronic device is in the wakeable mode, and When the power supply mode of the electronic device does not belong to the battery power supply mode, when a message is received, wake up the screen of the electronic device, and output the message to the screen; and, when the electronic device is in the available In wake-up mode, and the power supply mode of the electronic device is battery-powered, when a message is received, determine the number of messages currently to be output; if the number of messages currently to be output does not exceed the preset number, cache the message are messages to be output; if the number of messages currently to be output exceeds the preset number, wake up the screen and output the cached messages to the screen.
当然,该电子设备还可以包括显示器404,用于显示消息。Of course, the electronic device may also include a display 404 for displaying messages.
该电子设备还可以包括通信总线405,该显示器、处理器、传感器以及存储器可以通过该通信总线405相连。The electronic device may also include a communication bus 405 through which the display, processor, sensor and memory may be connected.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810185145.1A CN108415550A (en) | 2018-03-07 | 2018-03-07 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810185145.1A CN108415550A (en) | 2018-03-07 | 2018-03-07 | Information processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108415550A true CN108415550A (en) | 2018-08-17 |
Family
ID=63130109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810185145.1A Pending CN108415550A (en) | 2018-03-07 | 2018-03-07 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108415550A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110323805A (en) * | 2019-07-23 | 2019-10-11 | 深圳市黑电科技有限公司 | A kind of battery management module and circuit |
CN112286336A (en) * | 2020-10-21 | 2021-01-29 | 合肥联宝信息技术有限公司 | Touch screen control method of electronic equipment and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102377871A (en) * | 2010-08-24 | 2012-03-14 | 联想(北京)有限公司 | Information processing equipment and control method thereof |
CN103309429A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103793243A (en) * | 2013-11-22 | 2014-05-14 | 广州视源电子科技股份有限公司 | Screen locking/unlocking method of mobile device, mobile device and protective shell |
CN105116992A (en) * | 2015-09-24 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for controlling screen state of electronic equipment |
CN106304292A (en) * | 2016-08-19 | 2017-01-04 | 南京酷派软件技术有限公司 | A kind of application message based reminding method and terminal |
-
2018
- 2018-03-07 CN CN201810185145.1A patent/CN108415550A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102377871A (en) * | 2010-08-24 | 2012-03-14 | 联想(北京)有限公司 | Information processing equipment and control method thereof |
CN103309429A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103793243A (en) * | 2013-11-22 | 2014-05-14 | 广州视源电子科技股份有限公司 | Screen locking/unlocking method of mobile device, mobile device and protective shell |
CN105116992A (en) * | 2015-09-24 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for controlling screen state of electronic equipment |
CN106304292A (en) * | 2016-08-19 | 2017-01-04 | 南京酷派软件技术有限公司 | A kind of application message based reminding method and terminal |
Non-Patent Citations (1)
Title |
---|
周述虹: "《电学领域热点专利技术分析》", 31 July 2017, 知识产权出版社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110323805A (en) * | 2019-07-23 | 2019-10-11 | 深圳市黑电科技有限公司 | A kind of battery management module and circuit |
CN112286336A (en) * | 2020-10-21 | 2021-01-29 | 合肥联宝信息技术有限公司 | Touch screen control method of electronic equipment and electronic equipment |
CN112286336B (en) * | 2020-10-21 | 2022-02-01 | 合肥联宝信息技术有限公司 | Touch screen control method of electronic equipment and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102126181B1 (en) | An ultra low power apparatus and method to wake up a main processor | |
US11720160B2 (en) | Preventing false wake events from a low-power state | |
WO2018032581A1 (en) | Method and apparatus for application program control | |
CN105739699B (en) | Message prompt control method and terminal equipment | |
CN105188115A (en) | A method and device for saving electricity by an intelligent terminal | |
CN108536377A (en) | Display control method and device, terminal and computer readable storage medium | |
CN105469775A (en) | Method for adjusting brightness of display screen and terminal equipment | |
WO2017128639A1 (en) | Terminal device | |
CN104423535B (en) | Information processing equipment, information processing system and electrical control method | |
CN108376086A (en) | Display control method and device, terminal and computer readable storage medium | |
WO2015081664A1 (en) | Method, apparatus, device and system for controlling wireless network to be switched on/off | |
CN108762814B (en) | Bright screen method and related equipment | |
CN108462986A (en) | Screen control method and device of terminal, readable storage medium and terminal | |
CN110045809A (en) | Information processing method, information processing device, computer equipment and computer readable storage medium | |
CN110418002A (en) | A kind of brightness adjusting method, terminal and computer readable storage medium | |
CN106793030B (en) | Application management method and device and mobile terminal | |
CN106055400A (en) | Terminal accelerated wake-up method and device | |
WO2023029940A1 (en) | Touch screen control method and related device | |
CN110602772A (en) | WiFi module control method, control device, electronic device and storage medium | |
JP2016115028A (en) | Information processor and information processor control method | |
WO2019104956A1 (en) | Shake-to-start starting type battery, application device, and server | |
CN106851737B (en) | Method for sending uplink data and terminal equipment | |
CN108415550A (en) | Information processing method and electronic equipment | |
TW201516635A (en) | Charging method and mobile electronic device | |
US20070239863A1 (en) | Information processing apparatus and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180817 |
|
RJ01 | Rejection of invention patent application after publication |