WO2012155760A1 - 一种移动终端及其省电方法 - Google Patents

一种移动终端及其省电方法 Download PDF

Info

Publication number
WO2012155760A1
WO2012155760A1 PCT/CN2012/074446 CN2012074446W WO2012155760A1 WO 2012155760 A1 WO2012155760 A1 WO 2012155760A1 CN 2012074446 W CN2012074446 W CN 2012074446W WO 2012155760 A1 WO2012155760 A1 WO 2012155760A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
uart
power saving
bluetooth
module
Prior art date
Application number
PCT/CN2012/074446
Other languages
English (en)
French (fr)
Inventor
张义明
占明
董金光
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US14/237,425 priority Critical patent/US9271232B2/en
Priority to EP12785381.0A priority patent/EP2747395B1/en
Publication of WO2012155760A1 publication Critical patent/WO2012155760A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a mobile terminal and a power saving method thereof. Background technique
  • Bluetooth technology is based on low-cost short-range wireless connection, enabling Bluetooth-enabled terminal devices to seamlessly share resources in close proximity. Therefore, Bluetooth technology Widely used in embedded, portable terminals and other products. Such products generally have the characteristics of portability, small size, etc., and have higher requirements on the battery life. Therefore, in the case of limited battery capacity, higher requirements are imposed on the power consumption of peripheral modules on the product, especially For the Bluetooth module, after its application is turned on, the Bluetooth chip is always in the working mode, including the mobile phone entering the standby state, to ensure that the external Bluetooth device responds normally when making a request with the Bluetooth device of the mobile terminal. This undoubtedly increases the extra power consumption of the mobile terminal.
  • the present invention provides a method for controlling a Bluetooth module of a mobile terminal to enter a power saving mode, which ensures that when the Bluetooth chip does not perform data services, even if it enters a power saving mode state.
  • the object of the present invention is to provide a method for controlling a Bluetooth module of a mobile terminal to enter a power saving mode, and ensure that the Bluetooth module of the mobile terminal immediately enters the state of the power saving mode when there is no data interaction, thereby ensuring that the Bluetooth has no service. , can immediately enter the power saving mode, and can return to the normal working mode state when there is an external Bluetooth device request.
  • a mobile terminal power saving method the mobile terminal monitors a change of data on a UART bus of a universal asynchronous receiving/transmitting device, and acquires a current working state of a Bluetooth chip and a main control chip on the mobile terminal; when detecting no data on the UART bus, The master chip controls the Bluetooth module to enter a power saving mode.
  • the mobile terminal when there is a Bluetooth event outside, the mobile terminal is woken up, and the data activity state of the UART bus is monitored at the same time.
  • the Bluetooth module determines whether the ID of the timer is valid and whether the variable uart_last_acess indicating whether the data is active on the UART bus is 1; if the ID of the timer is invalid and uart_last_acess is not 1, Then control the Bluetooth module to enter the power saving mode.
  • the Bluetooth module of the mobile terminal After the Bluetooth module of the mobile terminal enters the power saving mode, it is detected whether the mobile terminal enters the standby state. If the mobile terminal enters the standby state, it is determined that the data activity of the UART bus is no longer monitored.
  • a mobile terminal includes a Bluetooth module, a monitoring module, and a main control module;
  • the Bluetooth module is configured to communicate with an external Bluetooth device
  • the monitoring module is configured to monitor a data state of the UART bus and feed back to the main control module; the main control module is configured to implement communication and control with the bluetooth module; and control the bluetooth module when the monitoring module detects that the UART bus has no data. Enter the power saving mode.
  • the mobile terminal when there is a Bluetooth event outside, the mobile terminal is woken up to monitor the data activity status of the UART bus.
  • the corresponding interrupt is generated to enter the interrupt processing of the UART transmission and reception; and the timer is activated in the interrupt processing, and the main control module controls the Bluetooth module to enter the province accordingly. Electrical mode. If the timer expires, it enters the timer timeout interrupt processing function of the monitoring module, and is used to determine whether the ID of the timer is valid and whether the variable uart_last_acess indicating whether there is data activity on the UART bus is 1, if If the ID of the timer is invalid and uart_last_ acess is not 1, the Bluetooth module is set to enter the power saving mode.
  • the monitoring module is configured to detect whether the mobile terminal enters a standby state; if the mobile terminal enters a standby state, it is determined that the data activity of the UART bus is no longer monitored.
  • a method for controlling a Bluetooth module of a mobile terminal to enter a power saving mode is provided, by which the data on the bus can be monitored in real time and its corresponding working mode is set. In this way, once there is no data on the bus, the Bluetooth module will immediately enter the power-saving state, ensuring that the Bluetooth module is in the power-saving mode when it is not doing business. Maximize the standby time of the mobile terminal and enhance the user's experience level.
  • FIG. 1 is a schematic diagram of a composition of a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a specific process of controlling a power saving mode of a Bluetooth module by using a main control module according to an embodiment of the present invention
  • FIG. 3 is a specific implementation process of a monitoring module in an embodiment of the present invention. detailed description
  • the invention provides a method for controlling a mobile terminal and a power saving method thereof, in particular, a Bluetooth module of a mobile terminal enters a power saving mode, and ensures that the Bluetooth module of the mobile terminal immediately enters a state of power saving mode when there is no data interaction. To ensure that Bluetooth can enter the power saving mode immediately when there is no service, and it can return to the normal working mode when there is an external Bluetooth device request. In this way, the battery life of the mobile terminal battery can be improved, and the terminal can be improved. Standby time.
  • the communication between the main control chip and the Bluetooth chip is generally performed by a UART (Universal Asynchronous Receiver/Transmitter) bus.
  • UART Universal Asynchronous Receiver/Transmitter
  • the Bluetooth function service is running, there will be data on the UART bus.
  • Activity therefore, by monitoring the change of data on the UART bus, the current working state of the Bluetooth chip and the main control chip can be indirectly obtained, and then the working mode of the Bluetooth chip is set. Make sure that the Bluetooth module enters the power saving mode when there is no service, so as to avoid unnecessary power consumption of the Bluetooth module.
  • Step 1 Using the monitoring module to monitor the changes of the UART bus data in real time;
  • Step 2 According to the change on the UART bus data, the Bluetooth module is controlled to be in the corresponding working mode state.
  • the UART When the UART is transmitting data, it will notify the processor chip that the data has been sent or received by interrupt.
  • a monitoring module is added to the UART transmit and receive interrupt processing functions to control the timer. Start, manage the current state of the timer to determine whether the timer needs to be started, and the corresponding flag is set. After the timer is started, once there is no data on the UART bus, the timer expires and enters the timeout interrupt processing function. The main control module is notified, and the Bluetooth module can enter the power saving mode state.
  • step 2 is as follows:
  • the enable monitoring module is turned on to enable real-time monitoring of the UART bus status. If Bluetooth service is in progress, data or commands are transmitted over the UART bus, and the monitoring module monitors the data on the UART bus. The change, once the data on the UART bus disappears, the monitoring module will immediately feedback to the main control module, notify the main control module, the Bluetooth module can enter the power saving mode state, the main control module issues a command to the Bluetooth module, the Bluetooth module enters When the power saving state is entered, the monitoring module is turned off when the mobile terminal enters the standby phase. When the external Bluetooth device requests, the main control module wakes up through the Bluetooth module, and at the same time, the monitoring module is started to monitor the data on the UART bus.
  • FIG. 1 is a schematic block diagram of a mobile terminal of the present invention.
  • the mobile terminal of the present invention includes a main control module, a monitoring module, and a Bluetooth module.
  • the main control module is used to realize communication and control with the bluetooth module
  • the monitoring module is used to monitor the data state of the UART bus in real time and feed back to the main control module in time.
  • the bluetooth module is mainly responsible for communicating with the external Bluetooth device, through the UART and
  • the PCM interface performs interactive control and voice data transmission with the baseband chip.
  • the monitoring module is the core part of controlling the Bluetooth module to enter the power saving mode, and is responsible for monitoring the state of the UART bus, and feeding back the status to the main control module in time, and completing the power saving mode control of the Bluetooth module through the main control module, and the specific control flow As shown in FIG. 2, the method includes the following steps: Step S201: A Bluetooth function of the mobile terminal is enabled;
  • Step S202 Enable a monitoring module.
  • Step S203 The monitoring module performs real-time monitoring on the data activity on the UART bus. If no data is detected on the UART bus, the process proceeds to step S204, and if there is data, the monitoring continues;
  • Step S204 Once the data on the UART bus is detected, the information is immediately fed back to the main control module.
  • Step S205 The Bluetooth module enters a power saving mode
  • the main control module sends a command to the Bluetooth module to set it to the power saving mode state.
  • Step S206 monitoring whether the mobile terminal enters the standby state, if yes, then proceeds to step S207, if not, then proceeds to step S203;
  • Step S207 Once the mobile terminal enters the standby mode, the monitoring module is turned off. When there is a Bluetooth event outside, wake up the mobile terminal, and at the same time, enable the monitoring module to monitor the data activity status of the UART bus.
  • the specific implementation process of the monitoring module in the above steps is as shown in FIG. 3, and includes the following steps:
  • Step S301 There is data activity on the UART bus. When the data is sent or received, a corresponding interrupt is generated, and the interrupt processing function is sent to the UART to send and receive;
  • Step S302 Entering into an interrupt processing function, determining whether the state of the timer is in an active state
  • Step S303 If the timer is not activated, the timer needs to be started and the timer activation flag is set to 1;
  • Step S304 If the timer is already in the active state at this time, the variable uart_last_ acess is set to 1 to identify that there is data activity on the UART bus;
  • Step S305 After the timer is started, once the timer expires, the timer expires the interrupt processing function
  • Step S306 Stop the timer, and clear the timer activation flag to 0;
  • Step S307 determining whether the ID of the timer is valid and whether uart_last_acess is 1; Step S308: If the timer ID is valid and uart_last_ acess is 1, the timer is started, and the timer activation flag is set to 1, Clear uart—last— acess is 0;
  • Step S309 If the above condition is not satisfied, it may be determined that there is no data re-activity on the UART bus, the main control module is notified, the UART bus has no data, and the Bluetooth module can enter the power saving mode;
  • Step S310 The main control module controls the Bluetooth module to enter a power saving mode.
  • the technical solution of the present invention can enable the Bluetooth module of the mobile terminal to quickly enter the Bluetooth power saving mode when the basic function is normal when there is no service, so that the standby time of the mobile terminal can be improved.
  • the above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提出一种移动终端及其省电方法,所述移动终端监测UART总线上数据的变化,获取移动终端上的蓝牙芯片与主控芯片的当前工作状态,当检测到UART总线上无数据时,所述主控芯片控制蓝牙模块进入到省电模式。采用本发明的技术方案,一旦监测到总线上没有数据时,会立即使蓝牙模块进入到省电的状态,确保蓝牙模块在没有进行业务时,一直使其处于省电模式的状态,最大限度地提高移动终端的待机时间,增强用户的体验水平。

Description

一种移动终端及其省电方法 技术领域
本发明涉及通信技术领域, 更具体地, 涉及一种移动终端及其省电方 法。 背景技术
蓝牙技术作为一种无线数据与语音通信的开放性标准, 它以低成本的 近距离无线连接为基础, 使得具有蓝牙功能的终端装置在近距离内能够实 现资源的无缝共享, 因此, 蓝牙技术被广泛的应用于嵌入式、 便携终端等 产品。 此类产品一般具有便携性、 体积小等特点, 对电池的续航能力要求 比较高, 因此, 在电池容量有限的情况下, 对产品上外设模块的功耗提出 了更高的要求, 尤其是对于蓝牙模块, 在其应用被开启后, 蓝牙芯片一直 处于工作的模式, 包括手机进入到待机状态, 以确保外界蓝牙设备在与此 移动终端的蓝牙设备进行请求时, 进行正常响应。 这无疑增加了移动终端 的额外功耗。 针对蓝牙的这一特点, 本发明提供了一种控制移动终端蓝牙 模块进入省电模式的方法, 可以确保在蓝牙芯片没有进行数据业务时, 立 即使其进入到省电模式状态。 发明内容
本发明目的是: 提供一种控制移动终端的蓝牙模块进入省电模式的方 法, 保证移动终端的蓝牙模块在没有数据交互时, 立刻使其进入到省电模 式的状态, 确保蓝牙在没有业务时, 立刻可以让其进入到省电模式, 并且 能够在有外界蓝牙设备请求时, 恢复到正常的工作模式状态。
为实现上述目的, 本发明的技术方案是这样实现的: 一种移动终端省电方法, 移动终端监测通用异步接收 /发送装置 UART 总线上数据的变化, 获取移动终端上的蓝牙芯片与主控芯片的当前工作状 态; 当检测到 UART总线上无数据时, 所述主控芯片控制蓝牙模块进入到 省电模式。
其中, 当外界有蓝牙事件时, 唤醒移动终端, 同时对 UART总线的数 据活动状态进行监测。
其中, UART 总线数据活动发送或接收完成后会产生相应的中断, 进 入到 UART发送与接收的中断处理中; 中断处理中激活定时器, 据此控制 蓝牙模块进入省电模式。
其中, 如果定时器超时, 判断定时器的 ID是否有效以及标识 UART总 线上是否有数据活动的变量 uart— last— acess是否为 1 ;如果定时器的 ID无效 且 uart— last— acess不为 1 , 则控制蓝牙模块进入省电模式。
其中, 当移动终端的蓝牙模块进入省电模式后, 检测移动终端是否进 入待机状态, 如果移动终端进入待机状态, 则确定不再对 UART总线的数 据活动进行监测。
一种移动终端, 包括蓝牙模块、 监控模块以及主控模块;
所述蓝牙模块用于与外界蓝牙设备进行通讯;
所述监控模块用于监测 UART总线的数据状态并反馈给主控模块; 所述主控模块用于实现与蓝牙模块的通讯以及控制; 以及在监测模块 监测到 UART总线无数据时, 控制蓝牙模块进入省电模式。
其中, 当外界有蓝牙事件时, 移动终端被唤醒, 用于对 UART总线的 数据活动状态进行监测。
其中, UART 总线数据活动发送或接收完成后用于产生相应的中断, 以进入到 UART发送与接收的中断处理中; 以及在中断处理中激活定时器, 由主控模块据此控制蓝牙模块进入省电模式。 其中, 如果定时器超时, 进入到监控模块的定时器超时中断处理函数 中,用于判断定时器的 ID是否有效以及标识 UART总线上是否有数据活动 的变量 uart— last— acess是否为 1 , 如果定时器的 ID无效且 uart— last— acess不 为 1 , 则设置蓝牙模块进入省电模式。
其中, 当移动终端的蓝牙模块进入省电模式后, 所述监控模块用于检 测移动终端是否进入待机状态; 如果移动终端进入待机状态, 则确定不再 对 UART总线的数据活动进行监测。
综上所述, 采用本发明具有如下有益效果:
提供了一种控制移动终端的蓝牙模块进入省电模式的方法, 通过此方 法可以实时的对总线上的数据进行监测, 并且设置其相应的工作模式。 利 用此种方法, 一旦监测到总线上没有数据时, 会立即使蓝牙模块进入到省 电的状态, 确保蓝牙模块在没有进行业务时, 一直使其处于省电模式的状 态。 最大限度地提高移动终端的待机时间, 增强用户的体验水平。 附图说明
图 1本发明实施例移动终端组成示意图;
图 2本发明实施例通过主控模块来完成对蓝牙模块的省电模式进行控 制的具体流程;
图 3本发明实施例中监控模块的具体实现流程。 具体实施方式
本发明提供一种控制移动终端及其省电方法, 特别是移动终端的蓝牙 模块进入省电模式的方法, 保证移动终端的蓝牙模块在没有数据交互时, 立刻使其进入到省电模式的状态, 确保蓝牙在没有业务时, 立刻可以让其 进入到省电模式, 并且能够在有外界蓝牙设备请求时, 恢复到正常的工作 模式状态。 通过这种方法, 可以提高移动终端电池的续航能力, 提高终端 的待机时间。
目前, 主控芯片与蓝牙芯片之间的通讯方式一般是通过 UART ( Universal Asynchronous Receiver/Transmitter,通用异步接收 /发送装置 )总 线进行的, 只要蓝牙功能业务在运行, UART 总线上就会有数据在活动, 因此, 通过监控 UART总线上数据的变化, 可以间接的获取到蓝牙芯片与 主控芯片的当前工作状态, 进而对蓝牙芯片的工作模式进行设置。 确保蓝 牙在没有进行业务时, 使蓝牙模块进入到省电模式, 避免蓝牙模块不必要 功耗的消耗。
本发明的技术方案包括以下步驟:
步驟 1 : 利用监控模块实时监测 UART总线数据的变化;
步驟 2: 根据 UART总线数据上的变化, 对蓝牙模块进行控制, 使其 处于相应的工作模式状态。
上述步驟 1中的监控模块的具体实现方案如下:
UART在进行数据传输时, 都会通过中断的方式通知处理器芯片数据 已经发送或者接收完成, 利用 UART的这一特性, 在 UART发送与接收中 断处理函数中, 增加一监控模块, 来控制定时器的启动, 管理定时器当前 的状态, 以决定是否需要进行定时器启动, 以及相应标志的置位, 待定时 器启动后, 一旦 UART总线上没有数据, 定时器超时, 进入到超时中断处 理函数, 并通知主控模块, 蓝牙模块可以进入省电模式状态。
上述步驟 2的具体实现方案如下:
蓝牙功能开启后, 打开使能监控模块, 使其进入到对 UART总线状态 的实时监测, 如果有蓝牙业务正在进行, 数据或命令会通过 UART总线上 进行传输, 监控模块会监测到 UART总线上数据的变化, 一旦 UART总线 上的数据消失, 监控模块会立即反馈给主控模块, 通知主控模块, 蓝牙模 块可以进入到省电模式状态, 主控模块下发命令给蓝牙模块, 蓝牙模块进 入到省电状态, 带移动终端进入到待机阶段时, 关闭监控模块。 待有外界 蓝牙设备请求时, 通过蓝牙模块对主控模块进行唤醒, 同时, 启动监控模 块, 对 UART总线上的数据进行监测。
下面结合附图和具体实施例对本发明技术方案进一步的详细描述。 请参考图 1所示, 是本发明移动终端组成示意框图, 如图 1所示, 本 发明移动终端包括主控模块、 监控模块以及蓝牙模块。 其中, 主控模块用 来实现与蓝牙模块的通讯以及控制, 监控模块用来实时监测 UART总线的 数据状态并及时反馈给主控模块, 蓝牙模块主要是负责与外界蓝牙设备进 行通讯,通过 UART与 PCM接口完成与基带芯片的交互控制和语音数据传 输等。
监控模块是控制蓝牙模块进入省电模式的核心部分, 负责监控 UART 总线的状态, 并及时把状态反馈给主控模块, 通过主控模块来完成对蓝牙 模块的省电模式控制, 具体的控制流程如图 2所示, 其包括如下步驟: 步驟 S201 : 移动终端的蓝牙功能启用;
步驟 S202: 使能监控模块;
步驟 S203: 监控模块对 UART总线上的数据活动进行实时的监测, 如 果监测到 UART总线上无数据, 则转入步驟 S204, 如果监测到有数据则继 续监测;
步驟 S204: —旦监测到 UART总线上无数据, 立即将此信息反馈给主 控模块;
步驟 S205: 蓝牙模块进入省电模式;
主控模块向蓝牙模块发送命令, 设置其进入省电模式状态。
步驟 S206:监测移动终端是否进入待机状态,如果是则转入步驟 S207, 如果不是则转入步驟 S203;
步驟 S207: —旦移动终端进入到待机模式, 关闭监控模块。 当外界有蓝牙事件时, 唤醒移动终端, 同时, 使能监控模块, 对 UART 总线的数据活动状态进行监测。
其中上述步驟中监控模块的具体实现流程如图 3 所示, 其包括如下步 驟:
步驟 S301 : UART总线上有数据活动, 在数据发送或接收完成, 都会 产生相应的中断, 进入到 UART发送与接收的中断处理函数中;
步驟 S302: 进入到中断处理函数中, 判断定时器的状态是否处于激活 状态;
步驟 S303: 如果定时器未被激活, 则需要启动定时器并设置定时器激 活的标志为 1 ;
步驟 S304:如果定时器此时已经处于激活状态,则置变量 uart— last— acess 为 1 , 以标识 UART总线上有数据活动;
步驟 S305: 定时器启动后, 一旦定时器超时, 进入到定时器超时中断 处理函数;
步驟 S306: 停止定时器, 同时清掉定时器激活标志为 0;
步驟 S307: 判断定时器的 ID是否有效以及 uart— last— acess是否为 1 ; 步驟 S308: 如果定时器 ID有效以及 uart— last— acess为 1 , 则启动定时 器, 设置定时器激活标志为 1 , 清掉 uart— last— acess为 0;
步驟 S309: 如果上述条件不满足, 可以确定 UART总线上已经没有数 据再活动, 则通知主控模块, UART 总线已经没有数据, 蓝牙模块可以进 入省电模式;
步驟 S310: 主控模块控制蓝牙模块进入省电模式。
本发明技术方案, 可以使移动终端的蓝牙模块在没有业务时, 在基本 功能正常的情况下, 迅速进入到蓝牙省电模式, 这样可以提高移动终端的 待机时间。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种移动终端省电方法, 移动终端监测通用异步接收 /发送装置 UART 总线上数据的变化, 获取移动终端上的蓝牙芯片与主控芯片的当前 工作状态; 当检测到 UART总线上无数据时, 所述主控芯片控制蓝牙模块 进入到省电模式。
2、 如权利要求 1所述的方法, 其中, 当外界有蓝牙事件时, 唤醒移动 终端, 同时对 UART总线的数据活动状态进行监测。
3、 如权利要求 1或 2所述的方法, 其中, UART总线数据活动发送或 接收完成后会产生相应的中断, 进入到 UART发送与接收的中断处理中; 中断处理中激活定时器, 据此控制蓝牙模块进入省电模式。
4、 如权利要求 3所述的方法, 其中, 如果定时器超时, 判断定时器的 ID是否有效以及标识 UART总线上是否有数据活动的变量 uart— last— acess 是否为 1 ; 如果定时器的 ID无效且 uart— last— acess不为 1 , 则控制蓝牙模块 进入省电模式。
5、 如权利要求 1所述的方法, 其中, 当移动终端的蓝牙模块进入省电 模式后, 检测移动终端是否进入待机状态, 如果移动终端进入待机状态, 则确定不再对 UART总线的数据活动进行监测。
6、 一种移动终端, 包括蓝牙模块、 监控模块以及主控模块;
所述蓝牙模块用于与外界蓝牙设备进行通讯;
所述监控模块用于监测 UART总线的数据状态并反馈给主控模块; 所述主控模块用于实现与蓝牙模块的通讯以及控制; 以及在监测模块 监测到 UART总线无数据时, 控制蓝牙模块进入省电模式。
7、 如权利要求 6所述的移动终端, 其中, 当外界有蓝牙事件时, 移动 终端被唤醒, 用于对 UART总线的数据活动状态进行监测。
8、 如权利要求 6或 7所述的移动终端, 其中, UART总线数据活动发 送或接收完成后用于产生相应的中断, 以进入到 UART发送与接收的中断 处理中; 以及在中断处理中激活定时器, 由主控模块据此控制蓝牙模块进 入省电模式。
9、 如权利要求 8所述的移动终端, 其中, 如果定时器超时, 进入到监 控模块的定时器超时中断处理函数中, 用于判断定时器的 ID是否有效以及 标识 UART总线上是否有数据活动的变量 uart— last— acess是否为 1 , 如果定 时器的 ID无效且 uart— last— acess不为 1 , 则设置蓝牙模块进入省电模式。
10、 如权利要求 6所述的移动终端, 其中, 当移动终端的蓝牙模块进 入省电模式后, 所述监控模块用于检测移动终端是否进入待机状态; 如果 移动终端进入待机状态, 则确定不再对 UART总线的数据活动进行监测。
PCT/CN2012/074446 2011-10-31 2012-04-20 一种移动终端及其省电方法 WO2012155760A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/237,425 US9271232B2 (en) 2011-10-31 2012-04-20 Mobile terminal and power saving method thereof
EP12785381.0A EP2747395B1 (en) 2011-10-31 2012-04-20 Mobile terminal and power saving method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110337454.4A CN102572119B (zh) 2011-10-31 2011-10-31 一种移动终端及其省电方法
CN201110337454.4 2011-10-31

Publications (1)

Publication Number Publication Date
WO2012155760A1 true WO2012155760A1 (zh) 2012-11-22

Family

ID=46416559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074446 WO2012155760A1 (zh) 2011-10-31 2012-04-20 一种移动终端及其省电方法

Country Status (4)

Country Link
US (1) US9271232B2 (zh)
EP (1) EP2747395B1 (zh)
CN (1) CN102572119B (zh)
WO (1) WO2012155760A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023414B (zh) * 2013-12-20 2017-11-24 深圳市道通科技股份有限公司 蓝牙设备管理的方法及装置
CN103888171A (zh) * 2014-03-04 2014-06-25 深圳创维-Rgb电子有限公司 一种内置电力猫模块的终端上网控制方法、系统及终端
US10101797B2 (en) * 2014-09-27 2018-10-16 Intel Corporation Efficient power management of UART interface
CN104469905B (zh) * 2014-11-14 2018-07-13 惠州Tcl移动通信有限公司 降低nfc芯片闲置时功耗的方法及系统
TWI578821B (zh) 2015-06-26 2017-04-11 鴻海精密工業股份有限公司 省電方法及低功耗藍牙設備
CN105549720A (zh) * 2015-12-16 2016-05-04 深圳智能表芯科技有限公司 一种用于智能穿戴设备的电源节能控制方法及系统
EP3182735B1 (en) * 2015-12-17 2018-07-18 Sony Mobile Communications, Inc. Electronic device and method for controlling the electronic device
CN106353781A (zh) * 2016-12-01 2017-01-25 东风电子科技股份有限公司 基于多芯片协同工作的北斗终端装置及控制方法
CN106793044B (zh) * 2017-02-28 2018-06-01 飞天诚信科技股份有限公司 一种实现蓝牙安全设备低功耗待机的方法及蓝牙安全设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030022704A1 (en) * 2001-07-26 2003-01-30 Inventec Appliances Corp. Method for saving power of cellular phone
JP2004312540A (ja) * 2003-04-09 2004-11-04 Sony Ericsson Mobilecommunications Japan Inc 電子装置、電源制御装置
CN101938816A (zh) * 2009-06-29 2011-01-05 上海易狄欧电子科技有限公司 无线终端的网络浏览方法及接收网络信息的方法
CN102014471A (zh) * 2010-12-10 2011-04-13 苏州佳世达电通有限公司 无线通讯装置及其控制方法

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649122A (en) * 1994-06-24 1997-07-15 Startech Semiconductor, Inc. Universal asynchronous receiver/transmitter with programmable xon/xoff characters
US6647435B1 (en) * 1999-10-22 2003-11-11 Samsung Electronics Co., Ltd. Method and apparatus system with first and second controller connected via uart chip for controlling peripheral device of computer system in second power mode
US6704516B1 (en) * 2000-02-15 2004-03-09 Motorola, Inc. Method of and apparatus for optimizing a minimum turn around time during an infrared data communication
US7263331B2 (en) * 2003-09-15 2007-08-28 Intel Corporation Method and apparatus for sharing a bluetooth module with two computing devices
JP4003727B2 (ja) * 2003-09-22 2007-11-07 ブラザー工業株式会社 通信手段を備えた携帯型プリンタ
US7707441B2 (en) * 2004-10-22 2010-04-27 Broadcom Corporation Method and system for reducing power consumption of handsets through UART auto flow control
JP4440299B2 (ja) * 2005-01-28 2010-03-24 富士通株式会社 移動機
WO2008065232A1 (en) * 2006-11-27 2008-06-05 Nokia Corporation Power management of a near field communication apparatus
US20080147268A1 (en) * 2006-12-14 2008-06-19 Fuller Michael G Method and apparatus for alternative performance of automobile features
US8135346B2 (en) * 2008-12-04 2012-03-13 Broadcom Corporation Method and system for a reduced USB polling rate to save power on a Bluetooth host
US20100283600A1 (en) * 2009-01-12 2010-11-11 Christopher Gary Herbert Low power apparatus for preventing loss of cell phone and other high value items
US9154982B2 (en) * 2009-04-02 2015-10-06 Trafficcast International, Inc. Method and system for a traffic management network
US8510025B2 (en) * 2009-04-02 2013-08-13 Trafficcast International, Inc. Method and system for a traffic management network
CN102036349B (zh) * 2009-09-29 2015-03-25 联想(北京)有限公司 维持终端和网络服务器连接的方法、终端及网络服务器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030022704A1 (en) * 2001-07-26 2003-01-30 Inventec Appliances Corp. Method for saving power of cellular phone
JP2004312540A (ja) * 2003-04-09 2004-11-04 Sony Ericsson Mobilecommunications Japan Inc 電子装置、電源制御装置
CN101938816A (zh) * 2009-06-29 2011-01-05 上海易狄欧电子科技有限公司 无线终端的网络浏览方法及接收网络信息的方法
CN102014471A (zh) * 2010-12-10 2011-04-13 苏州佳世达电通有限公司 无线通讯装置及其控制方法

Also Published As

Publication number Publication date
EP2747395A4 (en) 2015-03-25
EP2747395A1 (en) 2014-06-25
US20140185511A1 (en) 2014-07-03
CN102572119A (zh) 2012-07-11
US9271232B2 (en) 2016-02-23
EP2747395B1 (en) 2018-06-06
CN102572119B (zh) 2015-10-21

Similar Documents

Publication Publication Date Title
WO2012155760A1 (zh) 一种移动终端及其省电方法
AU2013324507B2 (en) Low energy short range communication function operation method and apparatus of mobile terminal
WO2018157689A1 (zh) 一种实现蓝牙安全设备低功耗待机的方法及蓝牙安全设备
WO2016165062A1 (zh) 终端的控制方法、装置及终端
CN101242447B (zh) 一种双cpu架构智能手机及其通信控制方法
WO2014029248A1 (zh) 实现动态休眠和唤醒的网卡设备、路由设备、系统及方法
WO2014117535A1 (zh) 一种设备唤醒方法及装置
JP5773288B2 (ja) ハイスピードインターチップhsicインタフェースに基づくウェイクアップ方法、ホットスワップ方法、およびデバイス
US8792827B2 (en) Short range wireless communication apparatus
KR20190060899A (ko) 단말과 네트워크 디바이스 사이의 상호작용을 위한 방법 및 단말
US20130138987A1 (en) Method for entering idle mode and mobile terminal for implementing such method
WO2013185679A1 (zh) 一种控制手机供电和充电的方法及装置
WO2013063972A1 (zh) 一种通信方法、通信装置及电子设备
US20170196043A1 (en) Method of Controlling Operation of a Communication Device, Transceiver Operating Accordingly, and Computer Program
WO2019034104A1 (zh) 终端自动释放后台进程占用资源的方法、存储介质及终端
US20120151102A1 (en) Computer system, connection controller, and method for connection controller
CN110572869A (zh) 一种基于ble和霍尔开关的设备唤醒方法及装置
CN110545499B (zh) 通信方法、装置及其芯片、待充电设备和系统
CN110543333B (zh) 针对处理器的休眠处理方法、装置、移动终端和存储介质
WO2012106948A1 (zh) 一种网络连接方法及通讯终端
CN103106757A (zh) 一种蓝牙唤醒pos机的方法
US20160142526A1 (en) Remote monitoring system and remote monitoring method
CN103813421A (zh) 一种智能移动终端节电方法及智能移动终端
CN112542867B (zh) 移动终端供电控制方法、装置、终端设备及存储介质
CN118176821A (zh) 用于改变无线电资源控制状态的电子装置及其操作方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785381

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14237425

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE