[go: up one dir, main page]

CN105680974B - A kind of bluetooth clock control method, system and mobile terminal - Google Patents

A kind of bluetooth clock control method, system and mobile terminal Download PDF

Info

Publication number
CN105680974B
CN105680974B CN201610047453.9A CN201610047453A CN105680974B CN 105680974 B CN105680974 B CN 105680974B CN 201610047453 A CN201610047453 A CN 201610047453A CN 105680974 B CN105680974 B CN 105680974B
Authority
CN
China
Prior art keywords
clock
bluetooth
bluetooth chip
main controller
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610047453.9A
Other languages
Chinese (zh)
Other versions
CN105680974A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengshui Hengyin Enterprise Management Co.,Ltd.
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610047453.9A priority Critical patent/CN105680974B/en
Publication of CN105680974A publication Critical patent/CN105680974A/en
Application granted granted Critical
Publication of CN105680974B publication Critical patent/CN105680974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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
    • H04W52/028Power 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 switching on or off only a part of the equipment circuit blocks
    • 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

Landscapes

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

Abstract

本发明公开了一种蓝牙时钟控制方法、系统及移动终端,其方法包括:当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟。采用本发明可通过主控制器向蓝牙芯片发送配置数据,接收蓝牙芯片的时钟请求与关闭信号,从而控制蓝牙芯片在工作时使能蓝牙时钟,在蓝牙不工作时禁能蓝牙时钟,以节省移动终端的电量。

The invention discloses a bluetooth clock control method, system and mobile terminal. The method comprises: when the user turns on the bluetooth, the main controller of the mobile terminal sends a configuration instruction to the bluetooth chip through a data communication interface; the bluetooth chip receives the configuration instruction Instructions, control the Bluetooth chip to send a clock request signal or a clock shutdown signal to the main controller in the form of data; when the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface, the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller If the device obtains the clock off signal sent by the Bluetooth chip from the data communication interface, the main controller stops outputting the Bluetooth clock to the Bluetooth chip. The present invention can send configuration data to the bluetooth chip through the main controller, receive the clock request and shutdown signal of the bluetooth chip, thereby controlling the bluetooth chip to enable the bluetooth clock when working, and disable the bluetooth clock when the bluetooth is not working, so as to save movement terminal power.

Description

一种蓝牙时钟控制方法、系统及移动终端A bluetooth clock control method, system and mobile terminal

技术领域technical field

本发明涉及移动终端应用技术领域,尤其涉及的是一种蓝牙时钟控制方法、系统及移动终端。The present invention relates to the technical field of mobile terminal applications, in particular to a bluetooth clock control method, system and mobile terminal.

背景技术Background technique

目前蓝牙(简称BT)是移动终端的标配外围设备,蓝牙芯片与移动终端的主控芯片相连接;蓝牙芯片在工作时需要外部时钟输入(下称蓝牙时钟);在现有技术中,有以下技术方案来控制蓝牙时钟:At present, Bluetooth (abbreviated as BT) is the standard peripheral equipment of mobile terminals, and the Bluetooth chip is connected with the main control chip of the mobile terminal; the Bluetooth chip needs an external clock input (hereinafter referred to as the Bluetooth clock) when it is working; in the prior art, there are The following technical solutions to control the bluetooth clock:

当用户打开蓝牙时,由移动终端的主控芯片控制蓝牙时钟打开;当用户关闭蓝牙时,由主控芯片控制蓝牙时钟关闭;这种方案的缺点在于:只要用户打开蓝牙,主控制芯片总是输出蓝牙时钟;而用户打开蓝牙时,多数情况下蓝牙芯片并未工作,故多数情况下主控芯片输出蓝牙时钟时,蓝牙芯片并未在工作;而主控芯片输出蓝牙时钟需要消耗电量,因此,上述技术方案浪费了移动终端电量。When the user turns on the Bluetooth, the main control chip of the mobile terminal controls the Bluetooth clock to turn on; when the user turns off the Bluetooth, the main control chip controls the Bluetooth clock to turn off; the disadvantage of this solution is that as long as the user turns on the Bluetooth, the main control chip always Output Bluetooth clock; when the user turns on Bluetooth, the Bluetooth chip is not working in most cases, so in most cases when the main control chip outputs the Bluetooth clock, the Bluetooth chip is not working; and the main control chip needs to consume power when outputting the Bluetooth clock, so , the above technical solution wastes the power of the mobile terminal.

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Contents of the invention

鉴于上述现有技术的不足,本发明的目的在于提供一种蓝牙时钟控制方法、系统及移动终端,通过主控制器向蓝牙芯片发送配置数据,接收蓝牙芯片的时钟请求与关闭信号,从而控制蓝牙芯片在工作时使能蓝牙时钟,在蓝牙不工作时禁能蓝牙时钟,以节省移动终端的电量。In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a Bluetooth clock control method, system and mobile terminal, through which the main controller sends configuration data to the Bluetooth chip, and receives the clock request and shutdown signal of the Bluetooth chip, thereby controlling the Bluetooth clock. The chip enables the bluetooth clock when it is working, and disables the bluetooth clock when the bluetooth is not working, so as to save the power of the mobile terminal.

本发明的技术方案如下:Technical scheme of the present invention is as follows:

一种蓝牙时钟控制方法,其中,包括:A bluetooth clock control method, wherein, comprising:

A、当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;A. When the user turns on the Bluetooth, the main controller of the mobile terminal sends a configuration command to the Bluetooth chip through the data communication interface;

B、所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;B. The bluetooth chip receives configuration instructions, and controls the bluetooth chip to send a clock request signal or a clock shutdown signal to the main controller in the form of data;

C、当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟。C. When the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface, the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller obtains the clock off signal sent by the Bluetooth chip from the data communication interface, the main controller stops Output the bluetooth clock to the bluetooth chip.

所述的蓝牙时钟控制方法,其中,所述步骤A中所述配置指令为:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号。The bluetooth clock control method, wherein, the configuration instruction in the step A is: when the bluetooth is working, control the bluetooth chip to send a clock request signal to the main controller in the form of data; when the bluetooth is not working, control the bluetooth chip Sends a clock off signal to the host controller as data.

所述的蓝牙时钟控制方法,其中,所述时钟请求信号与时钟关闭信号为蓝牙芯片厂商定义的数据。The Bluetooth clock control method, wherein the clock request signal and the clock off signal are data defined by the Bluetooth chip manufacturer.

本发明还提供一种蓝牙时钟控制系统,包括主控制器与蓝牙芯片,主控制器与蓝牙芯片相连接,其中,所述主控制器包括一用于为蓝牙芯片提供时钟信号的蓝牙时钟线,以及用于主控制器与蓝牙芯片之间进行数据传输的数据通讯接口;所述主控制器与蓝牙芯片通过若干用于数据传输的数据通讯线相连接;The present invention also provides a bluetooth clock control system, comprising a main controller and a bluetooth chip, the main controller is connected to the bluetooth chip, wherein the main controller includes a bluetooth clock line for providing a clock signal for the bluetooth chip, And a data communication interface for data transmission between the main controller and the Bluetooth chip; the main controller and the Bluetooth chip are connected through a number of data communication lines for data transmission;

其中,所述主控制器还包括:Wherein, the main controller also includes:

配置模块、用于当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;The configuration module is used for sending configuration instructions to the Bluetooth chip by the main controller of the mobile terminal through the data communication interface when the user turns on the Bluetooth;

时钟信号发送模块、用于所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;A clock signal sending module, used for the bluetooth chip to receive configuration instructions, and control the bluetooth chip to send a clock request signal or a clock off signal to the main controller in the form of data;

时钟控制模块、用于当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟。The clock control module is used to output the bluetooth clock to the bluetooth chip when the main controller obtains the clock request signal sent by the bluetooth chip from the data communication interface; when the main controller obtains the clock off signal sent by the bluetooth chip from the data communication interface, then The main controller stops outputting the bluetooth clock to the bluetooth chip.

所述的蓝牙时钟控制系统,其中,所述配置模块中所述配置指令为:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号;所述时钟请求信号与时钟关闭信号为蓝牙芯片厂商定义的数据。The bluetooth clock control system, wherein, the configuration command in the configuration module is: when the bluetooth is working, control the bluetooth chip to send a clock request signal to the main controller in the form of data; when the bluetooth is not working, control the bluetooth chip The clock off signal is sent to the main controller in the form of data; the clock request signal and the clock off signal are data defined by the Bluetooth chip manufacturer.

所述的蓝牙时钟控制系统,其中,所述主控制器的数据通讯接口包括数据接收引脚、数据发送引脚;所述主控制器还包括GPIO接口和时钟输出引脚。In the Bluetooth clock control system, the data communication interface of the main controller includes a data receiving pin and a data sending pin; the main controller also includes a GPIO interface and a clock output pin.

所述的蓝牙时钟控制系统,其中,所述蓝牙芯片包括数据接收引脚、数据发送引脚;所述蓝牙芯片还包括时钟请求引脚和时钟输入引脚;所述GPIO接口连接所述时钟请求引脚,所述时钟输入引脚连接所述时钟输出引脚。The bluetooth clock control system, wherein the bluetooth chip includes a data receiving pin and a data sending pin; the bluetooth chip also includes a clock request pin and a clock input pin; the GPIO interface is connected to the clock request pin, the clock input pin is connected to the clock output pin.

本发明还提供一种移动终端,其中,包括如上述所述的蓝牙时钟控制系统。The present invention also provides a mobile terminal, which includes the Bluetooth clock control system as described above.

本发明所提供的蓝牙时钟控制方法、系统及移动终端,通过主控制器向蓝牙芯片发送配置指令数据:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号。主控制器接收蓝牙芯片的时钟请求与关闭信号,从而控制蓝牙芯片在工作时使能蓝牙时钟,在蓝牙不工作时禁能蓝牙时钟,从而根据蓝牙芯片的时钟请求信号来动态控制主控制器是否将时钟输出至蓝牙芯片,以节省移动终端的电量、降低了系统功耗。The bluetooth clock control method, system and mobile terminal provided by the present invention send configuration instruction data to the bluetooth chip through the main controller: when the bluetooth is working, control the bluetooth chip to send a clock request signal to the main controller in the form of data; When working, the control bluetooth chip sends a clock off signal to the main controller in the form of data. The main controller receives the clock request and shutdown signal of the Bluetooth chip, so as to control the Bluetooth chip to enable the Bluetooth clock when it is working, and disable the Bluetooth clock when the Bluetooth is not working, so as to dynamically control whether the main controller is active or not according to the clock request signal of the Bluetooth chip. The clock is output to the bluetooth chip to save the power of the mobile terminal and reduce the power consumption of the system.

附图说明Description of drawings

图1为本发明实施例提供的蓝牙时钟控制方法的流程图。FIG. 1 is a flowchart of a Bluetooth clock control method provided by an embodiment of the present invention.

图2为本发明实施例提供的蓝牙时钟控制系统中移动终端的简要示意图。FIG. 2 is a schematic diagram of a mobile terminal in a Bluetooth clock control system provided by an embodiment of the present invention.

图3为本发明实施例提供的蓝牙时钟控制系统中主控制器的结构框图。Fig. 3 is a structural block diagram of the main controller in the Bluetooth clock control system provided by the embodiment of the present invention.

图4为本发明实施例提供的蓝牙时钟控制系统的结构框图。Fig. 4 is a structural block diagram of a Bluetooth clock control system provided by an embodiment of the present invention.

具体实施方式Detailed ways

本发明提供一种蓝牙时钟控制方法、系统及移动终端,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a bluetooth clock control method, system and mobile terminal. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

请参阅图1,图1本发明实施例提供的蓝牙时钟控制方法的流程图。图1所示的蓝牙时钟控制方法,包括:Please refer to FIG. 1 , which is a flowchart of a Bluetooth clock control method provided by an embodiment of the present invention. The bluetooth clock control method shown in Figure 1 includes:

S100、当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;S100. When the user turns on the Bluetooth, the main controller of the mobile terminal sends a configuration command to the Bluetooth chip through the data communication interface;

在日常生活中,当用户使用电子设备打开蓝牙功能后,通过其蓝牙功能可进行设备连接、文件传输、数据分享等用途。然而,当蓝牙功能被打开后其有可能不被使用,或者当数据传输完成后处于闲置状态,即蓝牙功能未工作。此时,蓝牙仍处于打开状态,故在现有技术中主控制芯片仍输出蓝牙时钟,导致移动设备浪费电量。In daily life, when a user uses an electronic device to turn on the Bluetooth function, the Bluetooth function can be used for device connection, file transfer, data sharing and other purposes. However, when the Bluetooth function is turned on, it may not be used, or it is in an idle state after data transmission is completed, that is, the Bluetooth function does not work. At this time, the bluetooth is still on, so in the prior art, the main control chip still outputs the bluetooth clock, which causes the mobile device to waste power.

本发明实施例中,所述移动终端可以为手机、平板、笔记本电脑等电子设备,当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令。并且,所述配置指令为:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号。所述时钟请求信号用于向主控制器请求输出蓝牙时钟至蓝牙芯片,所述时钟关闭信号用于向主控制器请求关闭或停止蓝牙时钟,其中时钟请求信号与时钟关闭信号均为蓝牙芯片厂商定义的数据。In the embodiment of the present invention, the mobile terminal may be an electronic device such as a mobile phone, a tablet, or a notebook computer. When the user turns on the Bluetooth, the main controller of the mobile terminal sends a configuration command to the Bluetooth chip through the data communication interface. Moreover, the configuration instruction is: when the Bluetooth is working, control the Bluetooth chip to send a clock request signal to the main controller in the form of data, and when the Bluetooth is not working, control the Bluetooth chip to send a clock off signal to the main controller in the form of data. The clock request signal is used to request the main controller to output the bluetooth clock to the bluetooth chip, and the clock off signal is used to request the main controller to turn off or stop the bluetooth clock, wherein the clock request signal and the clock off signal are bluetooth chip manufacturers defined data.

S200、所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;S200. The Bluetooth chip receives a configuration instruction, and controls the Bluetooth chip to send a clock request signal or a clock shutdown signal to the main controller in the form of data;

本发明实施例中,当移动终端中的蓝牙芯片接收主控制器的配置指令时,检测蓝牙是否处于工作状态,当检测到蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当检测到蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号。In the embodiment of the present invention, when the bluetooth chip in the mobile terminal receives the configuration command of the main controller, it detects whether the bluetooth is in the working state, and when it detects that the bluetooth is working, the bluetooth chip is controlled to send a clock request signal to the main controller in the form of data , when it is detected that the Bluetooth is not working, the control Bluetooth chip sends a clock shutdown signal to the main controller in the form of data.

S300、当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟。S300. When the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface, the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller obtains the clock off signal sent by the Bluetooth chip from the data communication interface, the main controller stops Output the bluetooth clock to the bluetooth chip.

本发明实施例中,当移动终端中的主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟。本发明通过主控制器接收的时钟请求信号或时钟关闭信号,从而控制主控制器是否将时钟输出至蓝牙芯片,实现了动态控制主控制器时钟信号的输出,避免主控制器持续为蓝牙芯片提供时钟信号,降低了系统功耗。In the embodiment of the present invention, when the main controller in the mobile terminal obtains the clock request signal sent by the Bluetooth chip from the data communication interface, the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface Clock off signal, then the main controller stops outputting the bluetooth clock to the bluetooth chip. The present invention controls whether the main controller outputs the clock to the bluetooth chip through the clock request signal or the clock off signal received by the main controller, realizes the dynamic control of the output of the main controller clock signal, and prevents the main controller from continuously providing the bluetooth chip with clock signal, reducing system power consumption.

本发明具体实施时,还相应提供一种蓝牙时钟控制系统,请参阅图2和图3,本发明实施例提供的蓝牙时钟控制系统包括主控制器10与蓝牙芯片20,主控制器10与蓝牙芯片20通过若干用于数据传输的数据通讯线L2相连接,所述主控制器10包括一用于为蓝牙芯片提供时钟信号的蓝牙时钟线L1,以及用于主控制器10与蓝牙芯片20之间进行数据传输的数据通讯接口。When the present invention is specifically implemented, a bluetooth clock control system is also provided correspondingly, please refer to FIG. 2 and FIG. The chip 20 is connected by several data communication lines L2 for data transmission. The main controller 10 includes a bluetooth clock line L1 for providing a clock signal for the bluetooth chip, and a connection between the main controller 10 and the bluetooth chip 20. Data communication interface for data transmission between.

其中,所述主控制器10还包括:Wherein, the main controller 10 also includes:

配置模块300、用于当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;具体如上述S100所述。The configuration module 300 is configured to send a configuration command to the Bluetooth chip by the main controller of the mobile terminal through the data communication interface when the user turns on the Bluetooth; specifically as described in S100 above.

时钟信号发送模块400、用于所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;具体如上述S200所述。The clock signal sending module 400 is used for the bluetooth chip to receive a configuration command, and control the bluetooth chip to send a clock request signal or a clock off signal to the main controller in the form of data; specifically as described in S200 above.

时钟控制模块500、用于当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟;具体如上述S2300所述。The clock control module 500 is used for when the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface, then the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller obtains the clock off signal sent by the Bluetooth chip from the data communication interface, Then the main controller stops outputting the bluetooth clock to the bluetooth chip; details are as described in S2300 above.

进一步地,本发明具体实施时,如图3所示,所述主控制器10的数据通讯接口包括数据接收引脚I1、数据发送引脚I2;所述主控制器还包括GPIO接口和时钟输出引脚BBCLK。并且,所述蓝牙芯片20包括数据接收引脚F1、数据发送引脚F2。所述蓝牙芯片20还包括时钟请求引脚VEN和时钟输入引脚XTAL。所述数据接收引脚I1、数据发送引脚I2分别连接数据接收引脚F1、数据发送引脚F2,用于主控制器10与蓝牙芯片20之间的数据传输通讯。所述GPIO接口连接所述时钟请求引脚VEN,用于主控制器10控制蓝牙芯片20的打开、关闭。所述时钟输入引脚XTAL连接所述时钟输出引脚BBCLK,用于主控制器10向蓝牙芯片20输出蓝牙时钟。Further, when the present invention is implemented, as shown in Figure 3, the data communication interface of the main controller 10 includes a data receiving pin I1 and a data sending pin I2; the main controller also includes a GPIO interface and a clock output Pin BBCLK. Moreover, the Bluetooth chip 20 includes a data receiving pin F1 and a data sending pin F2. The Bluetooth chip 20 also includes a clock request pin VEN and a clock input pin XTAL. The data receiving pin I1 and the data sending pin I2 are respectively connected to the data receiving pin F1 and the data sending pin F2 for data transmission and communication between the main controller 10 and the Bluetooth chip 20 . The GPIO interface is connected to the clock request pin VEN, and is used for the main controller 10 to control the bluetooth chip 20 to be turned on and off. The clock input pin XTAL is connected to the clock output pin BBCLK for the main controller 10 to output the Bluetooth clock to the Bluetooth chip 20 .

较佳地,本发明具体实施时,所述系统由主控制器MSM8974与蓝牙芯片BC57E687C组成。因此,在本发明中,所述系统中的配置模块300可通过数据通讯接口的数据发送引脚I2向蓝牙芯片BC57E687C发送配置指令。Preferably, when the present invention is implemented, the system is composed of the main controller MSM8974 and the bluetooth chip BC57E687C. Therefore, in the present invention, the configuration module 300 in the system can send configuration instructions to the Bluetooth chip BC57E687C through the data sending pin I2 of the data communication interface.

具体实施时所述配置指令具体可以为:根据蓝牙芯片厂商的定义,向蓝牙芯片发送特定的数据。譬如,由主控制器MSM8974通过数据发送引脚I2向蓝牙芯片BC57E687C发送数据0x8767890123456,表示将蓝牙芯片BC57E687C配置成由蓝牙芯片BC57E687C以数据形式发送时钟请求信号。因此,所述系统中的时钟信号发送模块400将在蓝牙芯片BC57E687C需要主控制器MSM8974的时钟输出引脚BBCLK输出时钟时,通过数据发送引脚F2向主控制器MSM8974发送数据0x1234567890123456001。时钟信号发送模块400将在蓝牙芯片BC57E687C不需要主控制器MSM8974的时钟输出引脚BBCLK输出蓝牙时钟时,通过数据发送引脚F2向主控制器MSM8974发送数据0x1234567890123456000。During specific implementation, the configuration instruction may specifically be: sending specific data to the Bluetooth chip according to the definition of the Bluetooth chip manufacturer. For example, the main controller MSM8974 sends data 0x8767890123456 to the Bluetooth chip BC57E687C through the data sending pin I2, which means that the Bluetooth chip BC57E687C is configured to send a clock request signal in the form of data from the Bluetooth chip BC57E687C. Therefore, the clock signal sending module 400 in the system will send data 0x1234567890123456001 to the main controller MSM8974 through the data sending pin F2 when the bluetooth chip BC57E687C needs the clock output pin BBCLK of the main controller MSM8974 to output the clock. The clock signal sending module 400 will send data 0x1234567890123456000 to the main controller MSM8974 through the data sending pin F2 when the bluetooth chip BC57E687C does not need the clock output pin BBCLK of the main controller MSM8974 to output the bluetooth clock.

时钟控制模块500通过数据接收引脚I1得到的蓝牙芯片BC57E687C 发送过来的数据,作以下两个判断:(1)是否为时钟请求信号数据,即是否为0x1234567890123456001,若是则控制时钟输出引脚BBCLK输出蓝牙时钟;(2)是否为时钟关闭信号数据,即是否为0x1234567890123456000,若是则控制时钟输出引脚BBCLK停止输出蓝牙时钟。The clock control module 500 obtains the data sent by the Bluetooth chip BC57E687C through the data receiving pin I1, and makes the following two judgments: (1) whether it is clock request signal data, that is, whether it is 0x1234567890123456001, if so, control the clock output pin BBCLK output Bluetooth clock; (2) Whether it is the clock off signal data, that is, whether it is 0x1234567890123456000, if so, control the clock output pin BBCLK to stop outputting the Bluetooth clock.

基于上述实施例,本发明还提供一种移动终端,包括上停任一项所述的蓝牙时钟控制系统。Based on the above embodiments, the present invention also provides a mobile terminal, including the Bluetooth clock control system described in any one of the above items.

综上所述,本发明所提供的蓝牙时钟控制方法、系统及移动终端,通过主控制器向蓝牙芯片发送配置指令数据:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号。主控制器接收蓝牙芯片的时钟请求与关闭信号,从而控制蓝牙芯片在工作时使能蓝牙时钟,在蓝牙不工作时禁能蓝牙时钟,从而根据蓝牙芯片的时钟请求信号来动态控制主控制器是否将时钟输出至蓝牙芯片,以节省移动终端的电量、降低了系统功耗。In summary, the bluetooth clock control method, system and mobile terminal provided by the present invention send configuration instruction data to the bluetooth chip through the main controller: when bluetooth is working, control the bluetooth chip to send a clock request to the main controller in the form of data Signal, when the bluetooth is not working, the control bluetooth chip sends the clock off signal to the main controller in the form of data. The main controller receives the clock request and shutdown signal of the Bluetooth chip, so as to control the Bluetooth chip to enable the Bluetooth clock when it is working, and disable the Bluetooth clock when the Bluetooth is not working, so as to dynamically control whether the main controller is active or not according to the clock request signal of the Bluetooth chip. The clock is output to the bluetooth chip to save the power of the mobile terminal and reduce the power consumption of the system.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,例如,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can improve or change according to the above description, for example, all these improvements and changes should belong to the protection of the appended claims of the present invention scope.

Claims (3)

1.一种蓝牙时钟控制方法,其特征在于,包括:1. a bluetooth clock control method, is characterized in that, comprises: A、当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;A. When the user turns on the Bluetooth, the main controller of the mobile terminal sends a configuration command to the Bluetooth chip through the data communication interface; B、所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;B. The bluetooth chip receives configuration instructions, and controls the bluetooth chip to send a clock request signal or a clock shutdown signal to the main controller in the form of data; C、当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟;C. When the main controller obtains the clock request signal sent by the Bluetooth chip from the data communication interface, the main controller outputs the Bluetooth clock to the Bluetooth chip; when the main controller obtains the clock off signal sent by the Bluetooth chip from the data communication interface, the main controller stops Output the Bluetooth clock to the Bluetooth chip; 所述步骤A中所述配置指令为:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号;The configuration command described in the step A is: when the bluetooth is working, control the bluetooth chip to send a clock request signal to the main controller in the form of data; when the bluetooth is not working, control the bluetooth chip to send the clock to the main controller in the form of data to close Signal; 所述时钟请求信号与时钟关闭信号为蓝牙芯片厂商定义的数据;The clock request signal and the clock off signal are data defined by the Bluetooth chip manufacturer; 所述主控制器的数据通讯接口包括数据接收引脚、数据发送引脚;所述主控制器还包括GPIO接口和时钟输出引脚;The data communication interface of the main controller includes a data receiving pin and a data sending pin; the main controller also includes a GPIO interface and a clock output pin; 所述蓝牙芯片包括数据接收引脚、数据发送引脚;所述蓝牙芯片还包括时钟请求引脚和时钟输入引脚;所述蓝牙芯片的数据接收引脚、数据发送引脚分别连接所述主控制器的数据接收引脚、数据发送引脚,用于主控制器与蓝牙芯片之间的数据传输通讯;所述GPIO接口连接所述时钟请求引脚,用于主控制器控制蓝牙芯片的打开、关闭;所述时钟输入引脚连接所述时钟输出引脚,用于主控制器向蓝牙芯片输出蓝牙时钟;The bluetooth chip includes data receiving pins and data sending pins; the bluetooth chip also includes clock request pins and clock input pins; the data receiving pins and data sending pins of the bluetooth chip are connected to the main The data receiving pin and the data sending pin of the controller are used for data transmission and communication between the main controller and the Bluetooth chip; the GPIO interface is connected to the clock request pin for the main controller to control the opening of the Bluetooth chip , close; the clock input pin is connected to the clock output pin for the master controller to output the bluetooth clock to the bluetooth chip; 所述主控制器的型号为MSM8974,所述蓝牙芯片的型号为BC57E687C;The model of the main controller is MSM8974, and the model of the Bluetooth chip is BC57E687C; 主控制器MSM8974通过数据发送引脚向蓝牙芯片BC57E687C发送数据0x8767890123456,表示将蓝牙芯片BC57E687C配置成由蓝牙芯片BC57E687C以数据形式发送时钟请求信号。The main controller MSM8974 sends data 0x8767890123456 to the Bluetooth chip BC57E687C through the data sending pin, indicating that the Bluetooth chip BC57E687C is configured so that the Bluetooth chip BC57E687C sends a clock request signal in the form of data. 2.一种蓝牙时钟控制系统,包括主控制器与蓝牙芯片,主控制器与蓝牙芯片相连接,其特征在于,所述主控制器包括一用于为蓝牙芯片提供时钟信号的蓝牙时钟线,以及用于主控制器与蓝牙芯片之间进行数据传输的数据通讯接口;所述主控制器与蓝牙芯片通过若干用于数据传输的数据通讯线相连接;2. A bluetooth clock control system, comprising a main controller and a bluetooth chip, the main controller is connected with the bluetooth chip, it is characterized in that, the main controller includes a bluetooth clock line for providing a clock signal for the bluetooth chip, And a data communication interface for data transmission between the main controller and the Bluetooth chip; the main controller and the Bluetooth chip are connected through a number of data communication lines for data transmission; 其中,所述主控制器还包括:Wherein, the main controller also includes: 配置模块、用于当用户打开蓝牙时,由移动终端的主控制器通过数据通讯接口向蓝牙芯片发出配置指令;The configuration module is used for sending configuration instructions to the Bluetooth chip by the main controller of the mobile terminal through the data communication interface when the user turns on the Bluetooth; 时钟信号发送模块、用于所述蓝牙芯片接收配置指令,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号或时钟关闭信号;A clock signal sending module, used for the bluetooth chip to receive configuration instructions, and control the bluetooth chip to send a clock request signal or a clock off signal to the main controller in the form of data; 时钟控制模块、用于当主控制器从数据通讯接口获取蓝牙芯片发送的时钟请求信号,则主控制器向蓝牙芯片输出蓝牙时钟;当主控制器从数据通讯接口获取蓝牙芯片发送的时钟关闭信号,则主控制器停止向蓝牙芯片输出蓝牙时钟;The clock control module is used to output the bluetooth clock to the bluetooth chip when the main controller obtains the clock request signal sent by the bluetooth chip from the data communication interface; when the main controller obtains the clock off signal sent by the bluetooth chip from the data communication interface, then The main controller stops outputting the bluetooth clock to the bluetooth chip; 所述配置模块中所述配置指令为:当蓝牙工作时,控制蓝牙芯片以数据形式向主控制器发送时钟请求信号,当蓝牙未工作时,控制蓝牙芯片以数据形式向主控制器发送时钟关闭信号;所述时钟请求信号与时钟关闭信号为蓝牙芯片厂商定义的数据;The configuration command described in the configuration module is: when the bluetooth is working, control the bluetooth chip to send a clock request signal to the main controller in data form, and when the bluetooth is not working, control the bluetooth chip to send a clock to the main controller in the form of data to close signal; the clock request signal and the clock off signal are data defined by the bluetooth chip manufacturer; 所述主控制器的数据通讯接口包括数据接收引脚、数据发送引脚;所述主控制器还包括GPIO接口和时钟输出引脚;The data communication interface of the main controller includes a data receiving pin and a data sending pin; the main controller also includes a GPIO interface and a clock output pin; 所述蓝牙芯片包括数据接收引脚、数据发送引脚;所述蓝牙芯片还包括时钟请求引脚和时钟输入引脚;所述蓝牙芯片的数据接收引脚、数据发送引脚分别连接所述主控制器的数据接收引脚、数据发送引脚,用于主控制器与蓝牙芯片之间的数据传输通讯;所述GPIO接口连接所述时钟请求引脚,用于主控制器控制蓝牙芯片的打开、关闭;所述时钟输入引脚连接所述时钟输出引脚,用于主控制器向蓝牙芯片输出蓝牙时钟;The bluetooth chip includes data receiving pins and data sending pins; the bluetooth chip also includes clock request pins and clock input pins; the data receiving pins and data sending pins of the bluetooth chip are connected to the main The data receiving pin and the data sending pin of the controller are used for data transmission and communication between the main controller and the Bluetooth chip; the GPIO interface is connected to the clock request pin for the main controller to control the opening of the Bluetooth chip , close; the clock input pin is connected to the clock output pin for the master controller to output the bluetooth clock to the bluetooth chip; 所述主控制器的型号为MSM8974,所述蓝牙芯片的型号为蓝牙芯片BC57E687C;The model of the main controller is MSM8974, and the model of the Bluetooth chip is Bluetooth chip BC57E687C; 主控制器MSM8974通过数据发送引脚向蓝牙芯片BC57E687C发送数据0x8767890123456,表示将蓝牙芯片BC57E687C配置成由蓝牙芯片BC57E687C以数据形式发送时钟请求信号。The main controller MSM8974 sends data 0x8767890123456 to the Bluetooth chip BC57E687C through the data sending pin, indicating that the Bluetooth chip BC57E687C is configured so that the Bluetooth chip BC57E687C sends a clock request signal in the form of data. 3.一种移动终端,其特征在于,包括如权利要求2所述的蓝牙时钟控制系统。3. A mobile terminal, comprising the bluetooth clock control system according to claim 2.
CN201610047453.9A 2016-01-25 2016-01-25 A kind of bluetooth clock control method, system and mobile terminal Active CN105680974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610047453.9A CN105680974B (en) 2016-01-25 2016-01-25 A kind of bluetooth clock control method, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610047453.9A CN105680974B (en) 2016-01-25 2016-01-25 A kind of bluetooth clock control method, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN105680974A CN105680974A (en) 2016-06-15
CN105680974B true CN105680974B (en) 2018-06-19

Family

ID=56302498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610047453.9A Active CN105680974B (en) 2016-01-25 2016-01-25 A kind of bluetooth clock control method, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN105680974B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121434B (en) * 2017-12-27 2021-09-14 Tcl移动通信科技(宁波)有限公司 Clock control method of display interface, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001775A1 (en) * 2000-06-27 2002-01-03 Nokia Corporation Master/slave synchronisation method in a bluetooth system
CN104182027A (en) * 2014-08-14 2014-12-03 Tcl通讯(宁波)有限公司 NFC clock control device for mobile terminal, and method thereof
CN105071891A (en) * 2015-08-28 2015-11-18 Tcl移动通信科技(宁波)有限公司 Bluetooth clock control system and Bluetooth clock control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001775A1 (en) * 2000-06-27 2002-01-03 Nokia Corporation Master/slave synchronisation method in a bluetooth system
CN104182027A (en) * 2014-08-14 2014-12-03 Tcl通讯(宁波)有限公司 NFC clock control device for mobile terminal, and method thereof
CN105071891A (en) * 2015-08-28 2015-11-18 Tcl移动通信科技(宁波)有限公司 Bluetooth clock control system and Bluetooth clock control method

Also Published As

Publication number Publication date
CN105680974A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US8824346B2 (en) Remote wakeup of application processor of mobile device
US8830889B2 (en) Systems for remotely waking up application processor of mobile device
US9405718B2 (en) Leveraging an enumeration and/or configuration mechanism of one interconnect protocol for a different interconnect protocol
CN110018976B (en) USB host device responds to USB slave device method and related devices
WO2015081664A1 (en) Method, apparatus, device and system for controlling wireless network to be switched on/off
CN106817540A (en) A camera control method and device
CN104182027B (en) The NFC clock control devices and its method of a kind of mobile terminal
CN106532876B (en) Power supply control method and device and computer equipment
US20130346640A1 (en) Wakeup method, hot swap method, and device based on high speed inter-chip hsic interface
US10162402B2 (en) Serial communication method
JP2015170292A (en) Semiconductor device
WO2016112626A1 (en) System and method for embedded operating system achieving bluetooth slave device function
WO2025138811A1 (en) Power supply system for add-in card
CN106851737B (en) Method for sending uplink data and terminal equipment
CN105680974B (en) A kind of bluetooth clock control method, system and mobile terminal
CN117203616A (en) Electronic device and sensor data processing method of electronic device
CN108777627A (en) A kind of method of supplying power to and device
CN101261534B (en) Power Saving Method for Two-way Wireless Peripheral Devices
CN116745768B (en) Data processing method and electronic device
CN111273785A (en) External keyboard and data transmission method of keyboard
CN103984543A (en) Method for implementing standby, hibernation and wake-up on domestic FeiTeng processor
CN103631750B (en) An information processing method and electronic device
KR101485154B1 (en) Method for Changing to Wake Up Mode at External Device and Mobile Terminal Docking Thereat
CN106506821B (en) Data reading method and mobile terminal
CN112367701B (en) Mobile terminal control method, device, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230911

Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee after: Xiamen reliable intellectual property service Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240904

Address after: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing, 100000. Floors 1-17, Unit 101, 11th Floor 1112

Patentee after: TUNGHSU TECHNOLOGY GROUP Co.,Ltd.

Country or region after: China

Address before: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000

Patentee before: Xiamen reliable intellectual property service Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Bluetooth clock control method, system, and mobile terminal

Granted publication date: 20180619

Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership)

Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd.

Registration number: Y2024980038664

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20180619

Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership)

Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd.

Registration number: Y2024980038664

PC01 Cancellation of the registration of the contract for pledge of patent right
TR01 Transfer of patent right

Effective date of registration: 20250507

Address after: Room 606, 6th Floor, Building D and E, Commercial Center, Renmin Road Central Street, Taocheng District, Hengshui City, Hebei Province 053099

Patentee after: Hengshui Hengyin Enterprise Management Co.,Ltd.

Country or region after: China

Address before: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing, 100000. Floors 1-17, Unit 101, 11th Floor 1112

Patentee before: TUNGHSU TECHNOLOGY GROUP Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right