CN106774800A - Low electric quantity reminding method and terminal - Google Patents
Low electric quantity reminding method and terminal Download PDFInfo
- Publication number
- CN106774800A CN106774800A CN201611128738.1A CN201611128738A CN106774800A CN 106774800 A CN106774800 A CN 106774800A CN 201611128738 A CN201611128738 A CN 201611128738A CN 106774800 A CN106774800 A CN 106774800A
- Authority
- CN
- China
- Prior art keywords
- terminal
- processor
- preset threshold
- current power
- prompt
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
-
- 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/3293—Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
Abstract
本公开是关于一种低电量提示方法和终端,该方法应用于终端,该终端包括:第一处理器和第二处理器,第二处理器的功耗低于第一处理器的功耗;该方法包括:所述第二处理器确定所述终端的当前电量低于预设阈值;所述第二处理器控制所述终端发出提示信息。本公开提供的低电量提示方法和终端,在实现提醒用户终端的当前电量较低的同时,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。
The present disclosure relates to a low battery prompt method and a terminal, the method is applied to a terminal, and the terminal includes: a first processor and a second processor, the power consumption of the second processor is lower than that of the first processor; The method includes: the second processor determines that the current power of the terminal is lower than a preset threshold; the second processor controls the terminal to send out prompt information. The low-battery prompt method and terminal provided by the present disclosure not only remind the user that the current battery of the terminal is low, but also reduce the power consumption of the terminal, prolong the use time of the terminal in the case of low battery, and improve user experience.
Description
技术领域technical field
本公开涉及终端技术,特别涉及一种低电量提示方法和终端。The present disclosure relates to terminal technologies, and in particular to a low battery prompt method and a terminal.
背景技术Background technique
随着通信技术的不断发展,终端成为生活中不可或缺的设备,用户可以随时随地的通过终端拨打电话、发送短信、听音乐、上网等。相关技术中,用户在使用上述终端的过程中,若终端的电量不足,则终端的处理器可以控制终端的扬声器发出低电提示音,以提醒用户终端的电量不足。这样,用户可以将终端接入外接电源,以为终端充电,从而使充电后的终端继续可以为用户提供服务。With the continuous development of communication technology, terminals have become an indispensable device in life. Users can make calls, send text messages, listen to music, and surf the Internet through terminals anytime and anywhere. In related technologies, when a user is using the above-mentioned terminal, if the battery of the terminal is insufficient, the processor of the terminal may control the speaker of the terminal to emit a low battery prompt sound to remind the user that the battery of the terminal is insufficient. In this way, the user can connect the terminal to an external power source to charge the terminal, so that the charged terminal can continue to provide services for the user.
然而,在上述终端电量不足时,因终端的处理器需要控制终端的扬声器发出低电提示音,加剧了终端的耗电量,使得用户体验较差。However, when the power of the terminal is insufficient, the processor of the terminal needs to control the speaker of the terminal to emit a low power prompt sound, which increases the power consumption of the terminal and makes the user experience poor.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种低电量提示方法和终端。所述技术方案如下:In order to overcome the problems existing in the related technologies, the present disclosure provides a low battery prompt method and a terminal. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种低电量提示方法,方法应用于终端,终端包括:第一处理器和第二处理器,第二处理器的功耗低于第一处理器的功耗;方法包括:According to the first aspect of an embodiment of the present disclosure, there is provided a low battery prompt method, the method is applied to a terminal, and the terminal includes: a first processor and a second processor, the power consumption of the second processor is lower than that of the first processor power consumption; methods include:
第二处理器确定终端的当前电量低于预设阈值;The second processor determines that the current battery capacity of the terminal is lower than a preset threshold;
第二处理器控制终端发出提示信息。The second processor controls the terminal to send prompt information.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,在确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can replace the first processor. A processor, when it is determined that the current power of the terminal is lower than the preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is low, which reduces the power consumption of the terminal and prolongs the life of the terminal in the case of low power. Long use time improves user experience.
可选的,第二处理器确定终端的当前电量低于预设阈值,包括:Optionally, the second processor determines that the current power of the terminal is lower than a preset threshold, including:
第二处理器监测终端的当前电量,并根据监测到的终端的当前电量,确定终端的当前电量低于预设阈值。The second processor monitors the current power of the terminal, and determines that the current power of the terminal is lower than a preset threshold according to the monitored current power of the terminal.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,监控终端的当前电量,并在确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can replace the first processor. A processor monitors the current power of the terminal, and when it is determined that the current power of the terminal is lower than a preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is low, further reducing the power consumption of the terminal and prolonging the life of the terminal. This shortens the usage time of the terminal under low power conditions and improves the user experience.
可选的,第二处理器确定终端的当前电量低于预设阈值,包括:Optionally, the second processor determines that the current power of the terminal is lower than a preset threshold, including:
第二处理器接收第一处理器发送的第一电量提示消息,第一电量提示消息用于通知第二处理器终端的当前电量低于预设阈值;The second processor receives the first battery prompt message sent by the first processor, and the first battery prompt message is used to notify the second processor that the current battery capacity of the terminal is lower than a preset threshold;
第二处理器根据第一电量提示消息,确定终端的当前电量低于预设阈值。The second processor determines that the current battery level of the terminal is lower than a preset threshold according to the first battery level prompt message.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以根据第一处理器在监测到终端的当前电量低于预设阈值时发送的第一电量提示消息,确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can A processor detects that the current power of the terminal is lower than the preset threshold and sends the first power prompt message, and when it determines that the current power of the terminal is lower than the preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is lower than the preset threshold. Low, which reduces the power consumption of the terminal, prolongs the use time of the terminal under low power conditions, and improves the user experience.
进一步地,第二处理器控制终端发出提示信息之后,还包括:Further, after the second processor controls the terminal to send the prompt information, it also includes:
第二处理器接收第一处理器发送的第二电量提示消息,第二电量提示消息用于通知第二处理器终端的当前电量大于或等于预设阈值;The second processor receives the second power prompt message sent by the first processor, and the second power prompt message is used to notify the second processor that the current power of the terminal is greater than or equal to a preset threshold;
第二处理器控制终端停止发出提示信息。The second processor controls the terminal to stop sending the prompt information.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,在确定终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态时,控制终端停止发出提示信息,不再提醒用户终端的当前电量较低,以避免因发出无用的提示信息而增加额外的耗电量,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can replace the first processor. A processor, when it is determined that the current power of the terminal is greater than or equal to the preset threshold, that is, when the terminal is no longer in a low power state, the control terminal stops sending prompt information, and no longer reminds the user that the current power of the terminal is low, so as to avoid Useless prompt information will increase additional power consumption and improve user experience.
可选的,第二处理器控制终端发出提示信息之后,方法还包括:Optionally, after the second processor controls the terminal to send the prompt message, the method further includes:
在终端关机后,第二处理器继续控制终端发出提示信息。After the terminal is powered off, the second processor continues to control the terminal to send the prompt information.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以在终端的当前电量不足以支撑终端维持开机状态时,即终端关机后,也就是说,第一处理器停止工作时,第二处理器还可以继续控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can When the current power of the terminal is not enough to support the terminal to maintain the power-on state, that is, after the terminal is turned off, that is, when the first processor stops working, the second processor can continue to control the terminal to send a prompt message to remind the user that the current power of the terminal is low. Low, further improving the user experience.
可选的,第二处理器控制终端发出提示信息,包括:Optionally, the second processor controls the terminal to send prompt information, including:
第二处理器控制终端的提示灯闪烁;和/或,控制终端的扬声器发出提示音。The second processor controls the prompt light of the terminal to blink; and/or controls the speaker of the terminal to emit a prompt sound.
根据本公开实施例的第二方面,提供一种终端,终端包括:第一处理模块和第二处理模块,第二处理模块的功耗低于第一处理模块的功耗;第二处理模块包括:According to a second aspect of an embodiment of the present disclosure, a terminal is provided, and the terminal includes: a first processing module and a second processing module, the power consumption of the second processing module is lower than that of the first processing module; the second processing module includes :
确定子模块,被配置为确定终端的当前电量低于预设阈值;The determining submodule is configured to determine that the current power of the terminal is lower than a preset threshold;
第一控制子模块,被配置为控制终端发出提示信息。The first control submodule is configured to control the terminal to send prompt information.
本公开的实施例提供的技术方案可以包括以下有益效果:本公开提供的终端,通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以取代第一处理模块,在第二处理模块的确定子模块确定终端的当前电量低于预设阈值时,第二处理模块的第一控制子模块控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: In the terminal provided by the present disclosure, a first processing module and a second processing module with lower power consumption than the first processing module are provided in the terminal, so that the terminal's second processing module The second processing module can replace the first processing module. When the determination submodule of the second processing module determines that the current power of the terminal is lower than the preset threshold, the first control submodule of the second processing module controls the terminal to send a prompt message to remind the user The current power of the terminal is low, which reduces the power consumption of the terminal, prolongs the use time of the terminal under low power conditions, and improves user experience.
可选的,确定子模块,被配置为监测终端的当前电量,并根据监测到的终端的当前电量,确定终端的当前电量低于预设阈值。Optionally, the determining submodule is configured to monitor the current power of the terminal, and determine that the current power of the terminal is lower than a preset threshold according to the monitored current power of the terminal.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以取代第一处理模块,第二处理模块的确定子模块监控终端的当前电量,并在确定终端的当前电量低于预设阈值时,第二处理模块的第一控制子模块控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processing module and a second processing module with lower power consumption than the first processing module in the terminal, the second processing module of the terminal can replace the first processing module. A processing module, the determination submodule of the second processing module monitors the current power of the terminal, and when it is determined that the current power of the terminal is lower than the preset threshold, the first control submodule of the second processing module controls the terminal to send a prompt message to remind The current power of the user terminal is low, which further reduces the power consumption of the terminal, prolongs the use time of the terminal under low power conditions, and improves user experience.
可选的,确定子模块,被配置为接收第一处理模块发送的第一电量提示消息,并根据第一电量提示消息,确定终端的当前电量低于预设阈值;第一电量提示消息用于通知第二处理模块终端的当前电量低于预设阈值。Optionally, the determination sub-module is configured to receive the first power prompt message sent by the first processing module, and determine that the current power capacity of the terminal is lower than a preset threshold according to the first power prompt message; the first power prompt message is used to Informing the second processing module that the current power level of the terminal is lower than a preset threshold.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块的确定子模块可以根据第一处理模块在监测到终端的当前电量低于预设阈值时发送的第一电量提示消息,确定终端的当前电量低于预设阈值时,进而使得第二处理模块的第一控制子模块控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processing module and a second processing module with lower power consumption than the first processing module in the terminal, the determinant of the second processing module of the terminal The module may determine that the current power of the terminal is lower than the preset threshold according to the first battery prompt message sent by the first processing module when it detects that the current power of the terminal is lower than the preset threshold, and then make the first control of the second processing module The sub-module controls the terminal to send a prompt message to remind the user that the current power of the terminal is low, which reduces the power consumption of the terminal, prolongs the use time of the terminal in the case of low power, and improves user experience.
进一步地,第二处理模块,还包括:Further, the second processing module also includes:
接收子模块,被配置为第一控制子模块控制终端发出提示信息之后,接收第一处理模块发送的第二电量提示消息,第二电量提示消息用于通知第二处理模块终端的当前电量大于或等于预设阈值;The receiving sub-module is configured such that after the first control sub-module controls the terminal to send the prompt message, it receives the second power prompt message sent by the first processing module, and the second power prompt message is used to notify the second processing module that the current power capacity of the terminal is greater than or equal to the preset threshold;
第二控制子模块,被配置为控制终端停止发出提示信息。The second control submodule is configured to control the terminal to stop sending prompt information.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以取代第一处理模块,在第二处理模块的接收子模块根据所接收的第二电量提示消息,确定终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态时,第二处理模块的第二控制子模块控制终端停止发出提示信息,不再提醒用户终端的当前电量较低,以避免因发出无用的提示信息而增加额外的耗电量,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processing module and a second processing module with lower power consumption than the first processing module in the terminal, the second processing module of the terminal can replace the first processing module. A processing module, when the receiving sub-module of the second processing module determines that the current power of the terminal is greater than or equal to the preset threshold according to the received second battery prompt message, that is, when the terminal is no longer in a low power state, the second processing module The second control submodule controls the terminal to stop sending prompt information, and no longer reminds the user that the current power of the terminal is low, so as to avoid extra power consumption due to sending useless prompt information, and improve user experience.
可选的,第一控制子模块,被配置为在终端关机后,继续控制终端发出提示信息。Optionally, the first control submodule is configured to continue to control the terminal to send prompt information after the terminal is powered off.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以在终端的当前电量不足以支撑终端维持开机状态时,即终端关机后,也就是说,第一处理模块停止工作时,第二处理模块的第一控制子模块还可以继续控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by providing a first processing module and a second processing module with lower power consumption than the first processing module in the terminal, the second processing module of the terminal can be used in the terminal When the current power of the terminal is not enough to support the terminal to maintain the power-on state, that is, after the terminal is turned off, that is, when the first processing module stops working, the first control sub-module of the second processing module can continue to control the terminal to send a prompt message to remind The current power of the user terminal is low, which further improves the user experience.
可选的,第一控制子模块,被配置为控制终端的提示灯闪烁;和/或,控制终端的扬声器发出提示音。Optionally, the first control submodule is configured to control the prompt light of the terminal to blink; and/or control the speaker of the terminal to emit a prompt sound.
根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of the embodiments of the present disclosure, a terminal is provided, including:
第一处理器和第二处理器,第二处理器的功耗低于第一处理器的功耗;a first processor and a second processor, wherein the power consumption of the second processor is lower than that of the first processor;
用于存储第一处理器和第二处理器的可执行指令的存储器;memory for storing executable instructions of the first processor and the second processor;
其中,第二处理器被配置为:Wherein, the second processor is configured as:
确定终端的当前电量低于预设阈值;Determine that the current power of the terminal is lower than a preset threshold;
控制终端发出提示信息。The control terminal issues a prompt message.
本公开的实施例提供的技术方案可以包括以下有益效果:通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,在确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by setting a first processor and a second processor with lower power consumption than the first processor in the terminal, the second processor of the terminal can replace the first processor. A processor, when it is determined that the current power of the terminal is lower than the preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is low, which reduces the power consumption of the terminal and prolongs the life of the terminal in the case of low power. Long use time improves user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种低电量提示方法的流程图;Fig. 1 is a flow chart showing a low battery prompting method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种终端的框图;Fig. 2 is a block diagram of a terminal shown according to an exemplary embodiment;
图3是根据另一示例性实施例示出的一种终端的框图;Fig. 3 is a block diagram of a terminal shown according to another exemplary embodiment;
图4是根据一示例性实施例示出的一种终端400的框图。Fig. 4 is a block diagram of a terminal 400 according to an exemplary embodiment.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种低电量提示方法的流程图,如图1所示,该低电量提示方法可以用于终端中。这里所说的终端,例如可以为手机、笔记本电脑、平板电脑等任一设置有电池的终端。如图1所示,该方法可以包括以下步骤:Fig. 1 is a flowchart showing a low battery prompt method according to an exemplary embodiment. As shown in Fig. 1 , the low battery prompt method can be used in a terminal. The terminal mentioned here may be, for example, any terminal provided with a battery, such as a mobile phone, a notebook computer, and a tablet computer. As shown in Figure 1, the method may include the following steps:
在步骤S101中,第二处理器确定终端的当前电量低于预设阈值。In step S101, the second processor determines that the current power level of the terminal is lower than a preset threshold.
在步骤S102中,第二处理器控制终端发出提示信息。In step S102, the second processor controls the terminal to send prompt information.
具体的,上述所说的终端可以包括:第一处理器和第二处理器。其中,第一处理器可以为相关技术中的终端本身所具有的处理器,例如:中央处理器(Central ProcessingUnit,简称:CPU)。第二处理器可以为比第一处理器功耗小的处理器,例如:单片机等。也就是说,上述终端本身在具有第一处理器的基础上,增加了一个功耗低于第一处理器的第二处理器。该第二处理器用于在终端的当前电量低于预设阈值时,控制终端发出提示信息。而第一处理器用于执行除“第二处理器执行的操作”之外的其他操作,以实现终端所具有的所有功能。Specifically, the aforementioned terminal may include: a first processor and a second processor. Wherein, the first processor may be a processor of the terminal itself in the related art, for example, a central processing unit (Central Processing Unit, CPU for short). The second processor may be a processor with lower power consumption than the first processor, such as a single-chip microcomputer. That is to say, on the basis of the first processor, the terminal itself adds a second processor with lower power consumption than the first processor. The second processor is configured to control the terminal to send a prompt message when the current power of the terminal is lower than a preset threshold. The first processor is used to perform other operations except the "operation performed by the second processor", so as to realize all the functions of the terminal.
因此,当上述终端的当前电量低于预设阈值时,即终端当前处于低电状态时,终端的第二处理器可以确定终端的当前电量低于预设阈值,进而可以控制终端发出提示信息,以提醒用户终端的当前电量较低。具体实现时,第二处理器可以控制终端周期性的发出提示信息,以确保所发送的提示信息可以被用户收到。其中,本实施例不限定上述第二处理器如何控制终端发出提示信息,例如:第二处理器可以控制终端的提示灯闪烁,以通过提示灯闪烁来提醒用户终端的当前电量较低。第二处理器还可以控制终端的扬声器发出提示音,以通过提示音来提醒用户终端的当前电量较低。第二处理器还可以既控制终端的提示灯闪烁,又控制中观的扬声器发出提示音的,以通过提示灯闪烁和提示音来提醒用户终端的当前电量较低。Therefore, when the current power of the terminal is lower than the preset threshold, that is, when the terminal is currently in a low power state, the second processor of the terminal can determine that the current power of the terminal is lower than the preset threshold, and then control the terminal to send a prompt message, To remind the user that the current power of the terminal is low. During specific implementation, the second processor may control the terminal to periodically send prompt information, so as to ensure that the sent prompt information can be received by the user. Wherein, this embodiment does not limit how the above-mentioned second processor controls the terminal to send out prompt information, for example: the second processor may control the prompt light of the terminal to blink, so as to remind the user that the current power of the terminal is low by blinking the prompt light. The second processor may also control the speaker of the terminal to emit a prompt sound, so as to remind the user that the current power of the terminal is low through the prompt sound. The second processor can also not only control the indicator light of the terminal to blink, but also control the middle-view speaker to emit a prompt sound, so as to remind the user that the current power of the terminal is low through the blinking of the prompt light and the prompt sound.
由于第二处理器的功耗低于第一处理器,因此,终端通过第二处理器来控制终端发出提示信息所消耗的终端的电量较少,延长了终端在低电情况下的使用时长,提高了用户体验。其中,上述预设阈值具体可以根据终端生产商的出厂设置确定,也可以根据用户需求进行调整。Since the power consumption of the second processor is lower than that of the first processor, the terminal uses the second processor to control the terminal to send prompt information, which consumes less power of the terminal, prolonging the use time of the terminal under low power conditions. Improved user experience. Wherein, the above-mentioned preset threshold may be specifically determined according to a factory setting of a terminal manufacturer, and may also be adjusted according to user requirements.
本公开提供的充电提示方法,通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,在确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。In the charging reminder method provided by the present disclosure, the terminal is equipped with a first processor and a second processor with lower power consumption than the first processor, so that the second processor of the terminal can replace the first processor. When the current power of the terminal is lower than the preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is low, which reduces the power consumption of the terminal, prolongs the use time of the terminal in the case of low power, and improves the user experience .
进一步地,在上述实施例的基础上,本实施例涉及的是上述第二处理器如何确定终端的当前电量低于预设阈值的具体过程。则上述S101可以包括如下两种情况:Further, on the basis of the foregoing embodiments, this embodiment relates to a specific process of how the foregoing second processor determines that the current power level of the terminal is lower than a preset threshold. Then the above S101 may include the following two situations:
第一种情况:第一处理器用于监测终端的电量。在这种情况下,第一处理器与第二处理器之间存在通信接口,该通信接口例如可以为通用异步收发传输器(UniversalAsynchronous Receiver/Transmitter,简称:UART)接口、I2C(Inter-IntegratedCircuit)总线接口等。The first case: the first processor is used to monitor the power of the terminal. In this case, there is a communication interface between the first processor and the second processor, and the communication interface may be, for example, a Universal Asynchronous Receiver/Transmitter (UART for short) interface, an I2C (Inter-Integrated Circuit) bus interface, etc.
本实施例中,第一处理器可以监测终端的当前电量是否低于预设阈值,并在监测到终端的当前电量低于预设阈值时,可以通过与第二处理器之间的通信接口向第二处理器发送第一电量提示消息,以通过第一电量提示消息通知第二处理器终端的当前电量低于预设阈值。这样,第二处理器可以接收处理器发送的第一电量提示消息,从而根据该第一电量提示消息,确定终端的当前电量低于预设阈值,进而可以控制终端发出提示信息,以提醒用户终端的当前电量较低。由于第二处理器的功耗低于第一处理器,因此,终端通过第二处理器来控制终端发出提示信息所消耗的终端的电量较少,延长了终端在低电情况下的使用时长,提高了用户体验。In this embodiment, the first processor can monitor whether the current power level of the terminal is lower than the preset threshold, and when it detects that the current power level of the terminal is lower than the preset threshold, it can report to the second processor through the communication interface with the second processor. The second processor sends the first battery prompt message, so as to notify the second processor that the current battery capacity of the terminal is lower than the preset threshold through the first battery prompt message. In this way, the second processor can receive the first battery prompt message sent by the processor, thereby determining that the current battery capacity of the terminal is lower than the preset threshold according to the first battery prompt message, and then control the terminal to send a prompt message to remind the user terminal The current battery level of is low. Since the power consumption of the second processor is lower than that of the first processor, the terminal uses the second processor to control the terminal to send prompt information, which consumes less power of the terminal, prolonging the use time of the terminal under low power conditions. Improved user experience.
进一步地,若用户通过提示信息获知终端的当前电量较低,并对终端进行了充电处理,则第一处理器可以在监测到终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态,可以通过与第二处理器之间的通信接口向第二处理器发送第二电量提示消息,以通过第二电量提示消息通知第二处理器终端的当前电量大于或等于预设阈值。这样,第二处理器通过接收处理器发送的第二电量提示消息,确定终端的当前电量大于或等于预设阈值,即终端不再处于低电状态时,可以控制终端停止发出提示信息,以避免因发出无用的提示信息而增加额外的耗电量,提高了用户体验。Further, if the user learns that the current power level of the terminal is low through the prompt information, and charges the terminal, the first processor may detect that the current power level of the terminal is greater than or equal to a preset threshold, that is, the terminal is no longer in the In the low power state, a second power prompt message can be sent to the second processor through the communication interface with the second processor, so as to notify the second processor that the current power of the terminal is greater than or equal to the preset threshold through the second power prompt message . In this way, by receiving the second battery prompt message sent by the processor, the second processor determines that the current battery capacity of the terminal is greater than or equal to the preset threshold, that is, when the terminal is no longer in a low power state, it can control the terminal to stop sending the prompt message, so as to avoid Additional power consumption is increased due to useless prompt information, which improves user experience.
可选的,在本公开的另一实现方式中,若上述第二处理器由终端的电池单独为其供电,即第二处理器可以独立运行。也就是说,第二处理器可以独立于第一处理器运行。则上述第二处理器在终端的当前电量不足以支撑终端维持开机状态时,即终端关机后,也就是说,第一处理器停止工作时,第二处理器还可以继续控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步提高了用户体验。Optionally, in another implementation manner of the present disclosure, if the second processor is powered solely by the battery of the terminal, that is, the second processor can run independently. That is, the second processor can run independently of the first processor. Then the above-mentioned second processor can continue to control the terminal to send a prompt message when the current power of the terminal is not enough to support the terminal to maintain the power-on state, that is, after the terminal is turned off, that is to say, when the first processor stops working. In order to remind the user that the current power of the terminal is low, the user experience is further improved.
第二种情况:第二处理器用于监测终端的电量。The second case: the second processor is used to monitor the power of the terminal.
本实施例中,第二处理器可以监测终端的当前电量,进而可以根据监测到的终端的当前电量,确定终端的当前电量低于预设阈值是否低于预设阈值,并在终端的当前电量低于预设阈值时,可以确定终端的当前电量低于预设阈值,进而可以控制终端发出提示信息,以提醒用户终端的当前电量较低。由于第二处理器的功耗低于第一处理器,因此,终端通过第二处理器监控终端的当前电量,以及控制终端发出提示信息,所消耗的终端的电量较少,进一步延长了终端在低电情况下的使用时长,提高了用户体验。In this embodiment, the second processor can monitor the current power of the terminal, and then determine whether the current power of the terminal is lower than the preset threshold according to the monitored current power of the terminal. When it is lower than the preset threshold, it can be determined that the current power of the terminal is lower than the preset threshold, and then the terminal can be controlled to send a prompt message to remind the user that the current power of the terminal is low. Since the power consumption of the second processor is lower than that of the first processor, the terminal monitors the current power of the terminal through the second processor, and controls the terminal to send out a prompt message, which consumes less power of the terminal, further prolonging the life of the terminal. The long usage time under low power conditions improves the user experience.
进一步地,若用户通过提示信息获知终端的当前电量较低,并对终端进行了充电处理,则第二处理器可以在监测到终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态,可以控制终端停止发出提示信息,以避免因发出无用的提示信息,而增加额外的耗电量,提高了用户体验。Further, if the user learns that the current power of the terminal is low through the prompt information, and has charged the terminal, the second processor may detect that the current power of the terminal is greater than or equal to a preset threshold, that is, the terminal is no longer in the In the low power state, the terminal can be controlled to stop sending prompt information, so as to avoid extra power consumption due to sending useless prompt information, and improve user experience.
可选的,在本公开的另一实现方式中,若上述第二处理器由终端的电池单独为其供电,即第二处理器可以独立运行。也就是说,第二处理器可以独立于第一处理器运行。则上述第二处理器在终端的当前电量不足以支撑终端维持开机状态时,即终端关机后,也就是说,第一处理器停止工作时,第二处理器还可以继续控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步提高了用户体验。Optionally, in another implementation manner of the present disclosure, if the second processor is powered solely by the battery of the terminal, that is, the second processor can run independently. That is, the second processor can run independently of the first processor. Then the above-mentioned second processor can continue to control the terminal to send a prompt message when the current power of the terminal is not enough to support the terminal to maintain the power-on state, that is, after the terminal is turned off, that is to say, when the first processor stops working. In order to remind the user that the current power of the terminal is low, the user experience is further improved.
在该实现方式下,若用户在终端处于关机时,对终端进行了充电处理,则第二处理器可以在监测到终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态,可以控制终端停止发出提示信息,以避免因发出无用的提示信息,而增加额外的耗电量,提高了用户体验。可选的,在充电过程中,第二处理器还可以控制终端发出充电进度提示信息的方式,以提醒用户终端当前的充电进度。示例性的,第二处理器可以控制终端的提示灯周期性的闪烁,来提醒用户终端当前的充电进度。例如:第二处理器控制终端的提示灯闪烁2下,说明终端当前已充满两格电,或者,已充满60%的电等。进一步地,若终端当前电量已充满,则第二处理器可以控制终端停止发出充电进度提示信息,以避免因发出无用的提示信息,而增加额外的耗电量,提高了用户体验。In this implementation, if the user charges the terminal when the terminal is turned off, the second processor can monitor that the current power of the terminal is greater than or equal to the preset threshold, that is, the terminal is no longer in a low power state. , the terminal can be controlled to stop sending prompt information, so as to avoid extra power consumption due to sending useless prompt information, and improve user experience. Optionally, during the charging process, the second processor may also control the manner in which the terminal sends a charging progress prompt message, so as to remind the user of the current charging progress of the terminal. Exemplarily, the second processor may control the prompt light of the terminal to blink periodically to remind the user of the current charging progress of the terminal. For example, the second processor controls the prompt light of the terminal to blink twice, indicating that the terminal is currently fully charged with two bars, or has been fully charged with 60%. Further, if the current battery of the terminal is fully charged, the second processor may control the terminal to stop sending the charging progress prompt information, so as to avoid extra power consumption due to sending useless prompt information, and improve user experience.
本公开提供的充电提示方法,通过在终端中设置有第一处理器和功耗低于第一处理器的第二处理器,使得终端的第二处理器可以取代第一处理器,在确定终端的当前电量低于预设阈值时,控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。In the charging reminder method provided by the present disclosure, the terminal is equipped with a first processor and a second processor with lower power consumption than the first processor, so that the second processor of the terminal can replace the first processor. When the current power of the terminal is lower than the preset threshold, the control terminal sends a prompt message to remind the user that the current power of the terminal is low, which reduces the power consumption of the terminal, prolongs the use time of the terminal in the case of low power, and improves the user experience .
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure. For details not disclosed in the disclosed device embodiments, please refer to the disclosed method embodiments.
图2是根据一示例性实施例示出的一种终端的框图,如图2所示,该终端可以包括:第一处理模块11和第二处理模块12;其中,第二处理模块12的功耗低于第一处理模块11的功耗。该第二处理模块12可以包括:Fig. 2 is a block diagram showing a terminal according to an exemplary embodiment. As shown in Fig. 2, the terminal may include: a first processing module 11 and a second processing module 12; wherein, the power consumption of the second processing module 12 Lower than the power consumption of the first processing module 11. The second processing module 12 may include:
确定子模块121,被配置为确定终端的当前电量低于预设阈值。可选的,在本公开的一种实现方式中,若第二处理模块12的确定子模块121被配置为监测终端的电量,则上述确定子模块121,可以监测终端的当前电量,并根据监测到的终端的当前电量,确定终端的当前电量低于预设阈值。若第一处理模块11被配置为监测终端的电量。则上述第二处理模块12的确定子模块121,被配置为接收第一处理模块11发送的第一电量提示消息,并根据第一电量提示消息,确定终端的当前电量低于预设阈值;第一电量提示消息用于通知第二处理模块终端的当前电量低于预设阈值。The determining sub-module 121 is configured to determine that the current power level of the terminal is lower than a preset threshold. Optionally, in an implementation of the present disclosure, if the determination sub-module 121 of the second processing module 12 is configured to monitor the power of the terminal, the above-mentioned determination sub-module 121 can monitor the current power of the terminal, and according to the monitoring The received terminal's current power level determines that the terminal's current power level is lower than a preset threshold. If the first processing module 11 is configured to monitor the power of the terminal. Then the determination sub-module 121 of the above-mentioned second processing module 12 is configured to receive the first battery prompt message sent by the first processing module 11, and according to the first battery prompt message, determine that the current battery capacity of the terminal is lower than the preset threshold; the second A power level prompt message is used to notify the second processing module that the current power level of the terminal is lower than a preset threshold.
第一控制子模块122,被配置为控制终端发出提示信息。可选的,在本公开的一种实现方式中,第一控制子模块122,可以控制终端的提示灯闪烁;和/或,控制终端的扬声器发出提示音。The first control submodule 122 is configured to control the terminal to send prompt information. Optionally, in an implementation manner of the present disclosure, the first control submodule 122 may control the prompt light of the terminal to blink; and/or control the speaker of the terminal to emit a prompt sound.
本公开提供的终端,通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以取代第一处理模块,在第二处理模块的确定子模块确定终端的当前电量低于预设阈值时,第二处理模块的第一控制子模块控制终端发出提示信息,以提醒用户终端的当前电量较低,减少了终端的耗电量,延长了终端在低电情况下的使用时长,提高了用户体验。In the terminal provided by the present disclosure, the terminal is equipped with a first processing module and a second processing module with lower power consumption than the first processing module, so that the second processing module of the terminal can replace the first processing module, and the second processing module When the determining submodule determines that the current power of the terminal is lower than the preset threshold, the first control submodule of the second processing module controls the terminal to send a prompt message to remind the user that the current power of the terminal is low, reducing the power consumption of the terminal, It prolongs the use time of the terminal under low power conditions and improves the user experience.
可选的,在本公开的一种实现方式中,上述第一控制子模块121,被配置为在终端关机后,继续控制终端发出提示信息。Optionally, in an implementation manner of the present disclosure, the above-mentioned first control submodule 121 is configured to continue to control the terminal to send prompt information after the terminal is powered off.
本公开提供的终端,通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以在终端的当前电量不足以支撑终端维持开机状态时,即终端关机后,也就是说,第一处理模块停止工作时,第二处理模块的第一控制子模块还可以继续控制终端发出提示信息,以提醒用户终端的当前电量较低,进一步提高了用户体验。In the terminal provided by the present disclosure, the terminal is equipped with a first processing module and a second processing module with lower power consumption than the first processing module, so that the second processing module of the terminal can maintain power-on when the current power of the terminal is not enough to support the terminal state, that is, after the terminal is turned off, that is, when the first processing module stops working, the first control submodule of the second processing module can continue to control the terminal to send a prompt message to remind the user that the current power of the terminal is low, further Improved user experience.
图3是根据另一示例性实施例示出的一种终端的框图,如图3所示,在上述第一处理模块11被配置为监测终端的电量的实现方式下,上述第二处理模块12,还可以包括:FIG. 3 is a block diagram of a terminal according to another exemplary embodiment. As shown in FIG. 3 , in an implementation manner in which the above-mentioned first processing module 11 is configured to monitor the power of the terminal, the above-mentioned second processing module 12, Can also include:
接收子模块123,被配置为第一控制子模块122控制终端发出提示信息之后,接收第一处理模块11发送的第二电量提示消息,第二电量提示消息用于通知第二处理模块终端的当前电量大于或等于预设阈值;The receiving sub-module 123 is configured to receive the second power prompt message sent by the first processing module 11 after the first control sub-module 122 controls the terminal to send the prompt message, and the second power prompt message is used to notify the second processing module of the current state of the terminal. The power is greater than or equal to the preset threshold;
第二控制子模块124,被配置为控制终端停止发出提示信息。The second control submodule 124 is configured to control the terminal to stop sending prompt information.
本公开提供的终端,通过在终端中设置有第一处理模块和功耗低于第一处理模块的第二处理模块,使得终端的第二处理模块可以取代第一处理模块,在第二处理模块的接收子模块根据所接收的第二电量提示消息,确定终端的当前电量大于或等于预设阈值时,即终端不再处于低电状态时,第二处理模块的第二控制子模块控制终端停止发出提示信息,不再提醒用户终端的当前电量较低,以避免因发出无用的提示信息而增加额外的耗电量,提高了用户体验。In the terminal provided by the present disclosure, the terminal is equipped with a first processing module and a second processing module with lower power consumption than the first processing module, so that the second processing module of the terminal can replace the first processing module, and the second processing module When the receiving submodule of the second processing module determines that the current battery power of the terminal is greater than or equal to the preset threshold according to the received second battery prompt message, that is, when the terminal is no longer in a low power state, the second control submodule of the second processing module controls the terminal to stop The prompt message is issued, and the user is no longer reminded that the current power of the terminal is low, so as to avoid extra power consumption due to sending useless prompt information, and improve user experience.
图4是根据一示例性实施例示出的一种终端400的框图。例如,终端400可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 4 is a block diagram of a terminal 400 according to an exemplary embodiment. For example, the terminal 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图4,终端400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。Referring to FIG. 4, the terminal 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and communication component 416 .
处理组件402通常控制终端400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420(例如:第一处理器和功耗低于第一处理器的第二处理器)来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。The processing component 402 generally controls the overall operations of the terminal 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 (for example: a first processor and a second processor with lower power consumption than the first processor) to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 402 may include one or more modules that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402 .
存储器404被配置为存储各种类型的数据以支持在终端400的操作。这些数据的示例包括用于在终端400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 404 is configured to store various types of data to support operations at the terminal 400 . Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phonebook data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件406为终端400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为终端400生成、管理和分配电力相关联的组件。The power supply component 406 provides power to various components of the terminal 400 . Power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for terminal 400 .
多媒体组件408包括在终端400和用户之间的提供一个输出接口的触控显示屏。在一些实施例中,触控显示屏可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当终端400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 408 includes a touch screen display providing an output interface between the terminal 400 and the user. In some embodiments, the touch display may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or a swipe action, but also detect duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. When the terminal 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当终端400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive an external audio signal when the terminal 400 is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 404 or sent via communication component 416 . In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主条按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home buttons, volume buttons, start button, and lock button.
传感器组件414包括一个或多个传感器,用于为终端400提供各个方面的状态评估。例如,传感器组件414可以检测到终端400的打开/关闭状态,组件的相对定位,例如组件为终端400的显示器和小键盘,传感器组件414还可以检测终端400或终端400一个组件的位置改变,用户与终端400接触的存在或不存在,终端400方位或加速/减速和终端400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 414 includes one or more sensors for providing various aspects of a status assessment of the terminal 400 . For example, the sensor component 414 can detect the open/closed state of the terminal 400, the relative positioning of the components, for example, the components are the display and the keypad of the terminal 400, the sensor component 414 can also detect the position change of the terminal 400 or a component of the terminal 400, and the user The presence or absence of contact with the terminal 400 , the orientation or acceleration/deceleration of the terminal 400 and the temperature change of the terminal 400 . The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件416被配置为便于终端400和其他设备之间有线或无线方式的通信。终端400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 416 is configured to facilitate wired or wireless communication between the terminal 400 and other devices. The terminal 400 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, terminal 400 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由终端400的处理器420(例如:第一处理器和功耗低于第一处理器的第二处理器)执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 404 including instructions, which can be executed by the processor 420 of the terminal 400 (for example: the first processor and the power consumption A second processor lower than the first processor) executes to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当存储介质中的指令由终端400的第二处理器执行时,使得终端400能够执行一种低电量提示方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the second processor of the terminal 400, the terminal 400 can execute a low battery prompting method.
该方法包括:The method includes:
确定终端的当前电量低于预设阈值;Determine that the current power of the terminal is lower than a preset threshold;
控制终端发出提示信息。The control terminal issues a prompt message.
可选的,上述确定终端的当前电量低于预设阈值,包括:Optionally, the above determination that the current power of the terminal is lower than the preset threshold includes:
监测终端的当前电量,并根据监测到的终端的当前电量,确定终端的当前电量低于预设阈值。Monitoring the current power of the terminal, and determining that the current power of the terminal is lower than a preset threshold according to the monitored current power of the terminal.
可选的,上述确定终端的当前电量低于预设阈值,包括:Optionally, the above determination that the current power of the terminal is lower than the preset threshold includes:
接收第一处理器发送的第一电量提示消息,第一电量提示消息用于通知第二处理器终端的当前电量低于预设阈值;Receive a first battery prompt message sent by the first processor, where the first battery prompt message is used to notify the second processor that the current battery capacity of the terminal is lower than a preset threshold;
根据第一电量提示消息,确定终端的当前电量低于预设阈值。According to the first battery prompt message, it is determined that the current battery capacity of the terminal is lower than a preset threshold.
进一步地,上述控制终端发出提示信息之后,还包括:Further, after the above-mentioned control terminal sends out the prompt information, it also includes:
接收第一处理器发送的第二电量提示消息,第二电量提示消息用于通知第二处理器终端的当前电量大于或等于预设阈值;Receive a second battery prompt message sent by the first processor, where the second battery prompt message is used to notify the second processor that the current battery capacity of the terminal is greater than or equal to a preset threshold;
控制终端停止发出提示信息。The controlling terminal stops issuing prompt messages.
可选的,上述控制终端发出提示信息之后,方法还包括:Optionally, after the above-mentioned control terminal sends out the prompt message, the method further includes:
在终端关机后,继续控制终端发出提示信息。After the terminal is shut down, continue to control the terminal to send out prompt information.
可选的,上述控制终端发出提示信息,包括:Optionally, the above-mentioned control terminal sends prompt information, including:
控制终端的提示灯闪烁;和/或,控制终端的扬声器发出提示音。The indicator light of the control terminal flashes; and/or, the speaker of the control terminal emits a prompt tone.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611128738.1A CN106774800A (en) | 2016-12-09 | 2016-12-09 | Low electric quantity reminding method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611128738.1A CN106774800A (en) | 2016-12-09 | 2016-12-09 | Low electric quantity reminding method and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106774800A true CN106774800A (en) | 2017-05-31 |
Family
ID=58874956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611128738.1A Pending CN106774800A (en) | 2016-12-09 | 2016-12-09 | Low electric quantity reminding method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106774800A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111314999A (en) * | 2020-01-16 | 2020-06-19 | 深圳市和盈互联科技有限公司 | Switching method and device for dual-system communication and readable storage medium |
| CN113886196A (en) * | 2021-12-07 | 2022-01-04 | 上海燧原科技有限公司 | On-chip power consumption management method, electronic device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1707400A (en) * | 2004-06-10 | 2005-12-14 | 马维尔国际贸易有限公司 | High Power and Low Power Processors |
| KR20100032162A (en) * | 2008-09-17 | 2010-03-25 | 엘지전자 주식회사 | Multi processor and method for reducing power consumption using the same |
| CN103533619A (en) * | 2012-07-05 | 2014-01-22 | 华为技术有限公司 | Mobile communication terminal and power management method thereof |
| CN104750597A (en) * | 2015-04-16 | 2015-07-01 | 小米科技有限责任公司 | User guide method and device during low power |
| CN106155797A (en) * | 2016-07-29 | 2016-11-23 | 华勤通讯技术有限公司 | Terminal unit and the changing method of performance mode thereof |
-
2016
- 2016-12-09 CN CN201611128738.1A patent/CN106774800A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1707400A (en) * | 2004-06-10 | 2005-12-14 | 马维尔国际贸易有限公司 | High Power and Low Power Processors |
| KR20100032162A (en) * | 2008-09-17 | 2010-03-25 | 엘지전자 주식회사 | Multi processor and method for reducing power consumption using the same |
| CN103533619A (en) * | 2012-07-05 | 2014-01-22 | 华为技术有限公司 | Mobile communication terminal and power management method thereof |
| CN104750597A (en) * | 2015-04-16 | 2015-07-01 | 小米科技有限责任公司 | User guide method and device during low power |
| CN106155797A (en) * | 2016-07-29 | 2016-11-23 | 华勤通讯技术有限公司 | Terminal unit and the changing method of performance mode thereof |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111314999A (en) * | 2020-01-16 | 2020-06-19 | 深圳市和盈互联科技有限公司 | Switching method and device for dual-system communication and readable storage medium |
| CN111314999B (en) * | 2020-01-16 | 2023-11-14 | 深圳市和盈互联科技有限公司 | Dual-system communication switching method and device and readable storage medium |
| CN113886196A (en) * | 2021-12-07 | 2022-01-04 | 上海燧原科技有限公司 | On-chip power consumption management method, electronic device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106774774B (en) | Method and device for displaying electric quantity of terminal battery | |
| CN112928787B (en) | Charging circuit, electronic device, charging control method and device | |
| CN108631401B (en) | Charging circuit, method, electronic device and storage medium | |
| WO2017012267A1 (en) | Charging method and device | |
| CN105892618A (en) | Information display method and device and electronic device | |
| CN106790955A (en) | Terminal control method and device | |
| CN105912297A (en) | Input mode switching method and device | |
| CN105807894B (en) | Using the treating method and apparatus for holding lock | |
| CN106067571A (en) | Method and electronic equipment for battery charging | |
| CN106407079A (en) | Mobile terminal charging prompting method, device and equipment | |
| CN106060296A (en) | Terminal control method, device and system | |
| CN106230066A (en) | Charge prompting method and apparatus | |
| CN106502403A (en) | Intelligent glasses control method, device and intelligent glasses | |
| CN106774802A (en) | The reminding method of terminal power, device and terminal | |
| CN106502370A (en) | The method of control intelligent terminal and intelligent terminal | |
| CN107368175A (en) | Reduce processing method, device and the terminal of power consumption of terminal | |
| CN110879658A (en) | Method and device for adjusting display brightness, electronic device and storage medium | |
| CN110941321A (en) | Power supply method, device and smart device for electronic equipment | |
| WO2023230958A1 (en) | Battery usage control method and apparatus, electronic device, and storage medium | |
| CN106774800A (en) | Low electric quantity reminding method and terminal | |
| CN106791089B (en) | Method and device for indicating battery power | |
| CN106708243B (en) | Terminal equipment control method and device | |
| CN106550129A (en) | Communication means, device and mobile terminal under battery saving mode | |
| EP4415207A1 (en) | Power supply method and apparatus, electronic device and storage medium | |
| CN106877451A (en) | Charge port short-circuit protection method and device |
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: 20170531 |
|
| RJ01 | Rejection of invention patent application after publication |