CN108777862A - A kind of blue-tooth transmission method, bluetooth controller and bluetooth equipment - Google Patents
A kind of blue-tooth transmission method, bluetooth controller and bluetooth equipment Download PDFInfo
- Publication number
- CN108777862A CN108777862A CN201810922846.9A CN201810922846A CN108777862A CN 108777862 A CN108777862 A CN 108777862A CN 201810922846 A CN201810922846 A CN 201810922846A CN 108777862 A CN108777862 A CN 108777862A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- bluetooth equipment
- data
- power consumption
- controller
- 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.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000014759 maintenance of location Effects 0.000 claims abstract description 9
- 238000012423 maintenance Methods 0.000 claims description 22
- 230000000694 effects Effects 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 12
- 238000004891 communication Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 238000005265 energy consumption Methods 0.000 description 5
- 238000013507 mapping Methods 0.000 description 4
- 241001062009 Indigofera Species 0.000 description 3
- 230000037007 arousal Effects 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000083879 Polyommatus icarus Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- 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
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
A kind of blue-tooth transmission method of offer of the embodiment of the present invention, bluetooth controller and bluetooth equipment.It is related to field of communication technology.The embodiment of the present invention can reduce the power consumption of bluetooth controller, and then extend the stand-by time of bluetooth equipment.This method is applied to the bluetooth controller in the first bluetooth equipment, this includes:After detecting that the data transmission between the second bluetooth equipment meets preset condition, control bluetooth controller enters low-power consumption mode;The low-power consumption mode is used to indicate bluetooth controller and at least meets one below:CPU is in Clockgating gating states, Flash power down, RAM are in retention hold modes;Preset condition includes at least any one of following:Continuous N number of period receives the empty bag data that the second bluetooth equipment is sent to the empty bag data of the second bluetooth equipment transmission, in the continuous N period;Under low-power consumption mode, empty bag data is sent to second bluetooth equipment according to preset condition.The present invention is applied to Bluetooth communication.
Description
Technical field
The present invention relates to a kind of field of communication technology more particularly to blue-tooth transmission method, bluetooth controller and bluetooths to set
It is standby.
Background technology
Currently, Bluetooth technology has been applied in very more fields, including consumer electronics, Industry Control, Internet of Things etc..
And under application scenes, relatively high to the power consumption requirements of bluetooth equipment when being carried out wireless communication using Bluetooth technology, example
Such as common blue Tooth remote controller.Under these scenes, it usually needs it is powered for bluetooth equipment using battery, therefore in order to
Keep the stand-by time of bluetooth equipment longer, operation for months is even longer after replacing one-shot battery, this just needs to reduce using blue
Power consumption when tooth technology carries out wireless communication.
Power consumption when being carried out wireless communication using Bluetooth technology to reduce proposes a kind of low-power consumption bluetooth in the prior art
Technology.Specifically, after two bluetooth equipments carry out establishing bluetooth connection, bluetooth master can according to preset time interval,
Bluetooth signal is sent to Bluetooth slave devices in each transmission time points, Bluetooth slave devices can be to indigo plant after receiving Bluetooth signal
Tooth main equipment sends respective feedback signal.When not having data to need to send, two bluetooth equipments are in preset transmission time points
Upper pass through sends empty bag data, for maintaining bluetooth connection;When the valid data of transmission in need, bluetooth equipment is in transmission
Between point on valid data are sent.By taking blue Tooth remote controller as an example, when television set and blue Tooth remote controller establish bluetooth connection it
Afterwards, can such as 500ms, the interaction for carrying out empty bag data confirm at regular intervals between television set and remote controler,
To maintain bluetooth connection.After user has by key pressing, just has real valid data and sent out in next transmission time points
Go out.So, it within the free time of no valid data transmission, only needs to send out at interval of a period of time between bluetooth equipment
It send an empty bag data to keep bluetooth connection, does not need then usually and communicated between two bluetooth equipments, to reduce
Bluetooth equipment power consumption.Nonetheless, to those skilled in the art, power consumption water when Bluetooth transmission how is further decreased
Flat, being still one is worth further the problem of studying.
Invention content
A kind of blue-tooth transmission method of present invention offer, bluetooth controller and bluetooth equipment, can reduce bluetooth controller
Power consumption, and then extend the stand-by time of bluetooth equipment, improve the user experience.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the embodiment of the present invention provides a kind of blue-tooth transmission method, the bluetooth being applied in the first bluetooth equipment
Controller, first bluetooth equipment carry out data transmission with the second bluetooth equipment according to predetermined period, and this method includes:It is examining
It measures after the data transmission between first bluetooth equipment and second bluetooth equipment meets preset condition, controls the indigo plant
Tooth controller enters low-power consumption mode;The bluetooth controller at least meets one below or more under the low-power consumption mode
Item state:CPU is in Clock gating gating states, Flash power down, RAM are in retention hold modes;It is described pre-
If condition includes at least any one of following or includes following two simultaneously:First bluetooth equipment continuously N number of period to described
Second bluetooth equipment sends empty bag data, receives second bluetooth equipment in the first bluetooth equipment continuous N period
The empty bag data of transmission;Under the low-power consumption mode, empty packet is sent to second bluetooth equipment according to the predetermined period
Data.
In the embodiment of the present invention, it is contemplated that when there is no valid data transmitting-receiving between bluetooth equipment, if still allowing bluetooth control
Device processed total system in each transmission time points powers on, and can lead to the waste of hardware resource in bluetooth controller, increases bluetooth control
The power consumption of device processed.And then detecting that bluetooth equipment, will after continuous multiple empty bag datas of period transmitting-receiving in the embodiment of the present invention
Bluetooth controller switches to low-power consumption mode, and sends sky to opposite end bluetooth equipment according to predetermined period under the low-power consumption mode
Bag data, to reduce the power consumption of bluetooth controller.
Second aspect, the embodiment of the present invention provide a kind of bluetooth controller, and the bluetooth controller is applied to the first bluetooth
Equipment, first bluetooth equipment carry out data transmission with the second bluetooth equipment according to predetermined period, which includes:
Control module, for detecting that it is default that the data transmission between first bluetooth equipment and second bluetooth equipment meets
After condition, controls the bluetooth controller and enter low-power consumption mode;The bluetooth controller is at least under the low-power consumption mode
Meet one or more states below:CPU is in Clock gating gating states, Flash power down, RAM are in
Retention hold modes;The preset condition includes at least any one of following or includes following two simultaneously:Described first is blue
Continuously N number of period sends empty bag data, in the first bluetooth equipment continuous N period to tooth equipment to second bluetooth equipment
Receive the empty bag data that second bluetooth equipment is sent;Maintenance module is connected, is used under the low-power consumption mode, according to
The predetermined period sends empty bag data to second bluetooth equipment.
The third aspect, the embodiment of the present invention provide a kind of bluetooth equipment, including:The bluetooth control that above-mentioned second aspect is provided
Device processed.
Based on same inventive concept, by the principle of above-mentioned bluetooth controller and the solved problem of bluetooth equipment and beneficial
Effect may refer to the content of above-mentioned first aspect, and overlaps will not be repeated.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described.
Fig. 1 is a kind of schematic diagram of transmission time points using bluetooth connection;
Fig. 2 is a kind of flow diagram of blue-tooth transmission method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of bluetooth controller provided in an embodiment of the present invention;
The workflow schematic diagram for the bluetooth controller that Fig. 4 is provided by the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings, the embodiment of the present invention is described.
First, the principle of the present invention is introduced:
In the prior art in order to reduce the power consumption of bluetooth equipment, it is proposed that a kind of bluetooth low energy consumption BLE technologies.In the technology
By making to transmit into row information according to preset time interval between bluetooth equipment, the other times other than transmission time points are then
The method for closing Bluetooth link, reduces the power consumption of Bluetooth transmission.Illustratively, Fig. 1 is a kind of transmission using bluetooth connection
The schematic diagram at time point.Bluetooth equipment can determine whether the transmission time that each connection event subsequently connects when establishing bluetooth connection
Point.Such as when being established for connection 1, when all connection events (being indicated with C1 in figure) are all with fixed transmission in connection 1
Between interval t1 carry out.It can certainly be by negotiating to determine that new Transmission Time Interval, this Transmission Time Interval t1 are again
The attribute each connected.In Fig. 1, bluetooth equipment can also establish a plurality of connection, wherein the Transmission Time Interval of connection 1 is
T1, the Transmission Time Interval for connecting 2 are t2.
But the inventor of this programme has found, under many application scenarios, leads to after establishing bluetooth connection between bluetooth equipment
The state of not data transmission can often be kept the long period.For example, by taking blue Tooth remote controller as an example, in television set and blue Tooth remote controller
After establishing bluetooth connection, a Bluetooth link can be opened every Fixed Time Interval between television set and blue Tooth remote controller.But only
Have in the case of user's trigger action, just has real valid data and sent by blue Tooth remote controller when opening Bluetooth link
To television set.Television set and blue Tooth remote controller only need that an empty packet can be sent respectively after opening Bluetooth link in other times
Data are to other side, to maintain bluetooth connection.In the prior art, regardless of whether needing to send valid data, bluetooth controller exists
It all can electricity operation on total system when reaching transmission time points.But in fact, the empty bag data of transmitting-receiving does not need to carry out phase to data
Should handle, if therefore allow bluetooth controller total system to power in each transmission time points, the wave of hardware resource can be caused
Take, also just increases the power consumption of bluetooth controller accordingly.
Based on above-mentioned consideration, detecting bluetooth equipment within continuous multiple periods all without effective in the embodiment of the present invention
After data send or receive, bluetooth controller is switched into low-power consumption mode, and according to default week under the low-power consumption mode
Phase sends empty bag data to opposite end bluetooth equipment.To reduce the power consumption of bluetooth controller.
It should be noted that alleged " valid data " refer to for making bluetooth equipment execute corresponding behaviour in the embodiment of the present invention
The data of work.For example, when the user clicks after the button on blue Tooth remote controller, blue Tooth remote controller can be sent to television set to be had accordingly
Data are imitated, so that television set completes zapping, adjusts the operations such as volume.Alleged " empty bag data ", which then refers to, in the embodiment of the present invention is used for
Bluetooth connection is maintained, wherein not including the data packet of valid data.
In addition, blue-tooth transmission method of the present invention and bluetooth control will be applied for ease of description, in being described herein
The bluetooth equipment of device processed is known as " the first bluetooth equipment ".It will claim into the opposite end bluetooth equipment that row information is transmitted with the first bluetooth equipment
For " the second bluetooth equipment ".It should be noted that " the first bluetooth equipment ", " the second bluetooth equipment " are only used for this in the present invention
End bluetooth equipment is distinguished with opposite end bluetooth equipment, is not limited the function of bluetooth equipment, structure.The embodiment of the present invention
The blue-tooth transmission method and bluetooth controller provided can also be used in " the second bluetooth equipment ", so that " the second bluetooth equipment " reaches
To institute of the invention technique effect to be achieved.
Embodiment one:
Based on foregoing invention principle, the embodiment of the present invention provides a kind of blue-tooth transmission method.The blue-tooth transmission method application
Bluetooth controller in the first bluetooth equipment.First bluetooth equipment and the second bluetooth equipment carry out data biography according to predetermined period
It is defeated.As shown in Fig. 2, the blue-tooth transmission method includes:
S101, after detecting that the data transmission between the first bluetooth equipment and the second bluetooth equipment meets preset condition,
Control bluetooth controller enters low-power consumption mode.
In one implementation, the preset condition in step S101 can be:First bluetooth equipment continuously N number of period to
Second bluetooth equipment sends empty bag data.
Specifically, after bluetooth connection foundation, link protocol software can be utilized in each week in the first bluetooth equipment
Connection event in phase carries out the detection of transmission data queue before occurring, needed with the presence or absence of valid data with determining in current period
It is sent to the second bluetooth equipment.And then determine that current period is to send the data packet for including valid data to the second bluetooth equipment
Or send empty bag data.Also the data packet received is detected using link protocol software, to determine current period
Data packet comprising valid data or empty bag data when the data packet received.
In this realization method, it is contemplated that under some application scenarios, the first bluetooth equipment is only used for setting to the second bluetooth
Standby transmission data, the second bluetooth equipment are only used for receiving the case where data are to carry out corresponding operating.For example, with television set and bluetooth
For remote controler, wherein television set needs to carry out corresponding operating according to the data that blue Tooth remote controller is sent, and blue Tooth remote controller is only used
In the data sent to television set transmission data without receiving television set.So, television set is in each transmission time points
Empty bag data can only be sent for maintaining bluetooth connection, and blue Tooth remote controller then can be according to whether have user's click keys to determine
It sends empty bag data and either sends the data packet for including valid data.Therefore, in such a scenario, when detecting the first bluetooth
Equipment is after continuously N number of period sends empty bag data to the second bluetooth equipment, it may be considered that when bluetooth connection at this time enters idle
Between, the transmission of valid data may not be carried out in the short time between bluetooth equipment.And then control the hardware in bluetooth controller
Unit enters low-power consumption, to reduce the power consumption of bluetooth controller.
In another implementation, the preset condition in step S101 can be:First bluetooth equipment continuous N period
Inside receive the empty bag data of the second bluetooth equipment transmission.
In the realization method, it is contemplated that in some application scenarios, after bluetooth connection foundation, the first bluetooth equipment can
It can only need the data for receiving the transmission of the second bluetooth equipment to carry out corresponding operating, without sending number to the second bluetooth equipment
According to.For example, the Baffle Box of Bluetooth as the first bluetooth equipment is when playing music, it is only necessary to receive the sound as the second bluetooth equipment
The audio data that source device is sent, without sending valid data to audiogenic device.Therefore, in such a scenario, work as detection
After connecting the empty bag data that N number of period receives the transmission of the second bluetooth equipment to the first bluetooth equipment, it may be considered that blue at this time
Tooth, which connects, enters standby time, may not carry out the transmission of valid data in the short time between bluetooth equipment.And then it controls blue
Hardware cell in tooth controller enters low-power consumption, to reduce the power consumption of bluetooth controller.
In another realization method, it is contemplated that under some scenes, the first bluetooth equipment is being run with the second bluetooth equipment
When, it may mutually send valid data.Therefore, the preset condition in step S101 can also be:The continuous N of first bluetooth equipment
A period sends empty bag data to the second bluetooth equipment, and receives the second bluetooth in the first bluetooth equipment continuous N period
The empty bag data that equipment is sent.
Signified low-power consumption mode, can specifically include in the embodiment of the present invention:CPU is in Clock gating gate shapes
State, Flash power down, RAM are in the one or more in retention hold modes.
Wherein, the embodiment of the present invention can be by switching to Clock gating gating states, to close CPU by CPU
Some of clock and CPU functions, at this time due to the overturning of not no clock, CPU cannot carry out corresponding calculation process, to drop
The power consumption of low CPU.Meanwhile CPU, when being in Clock gating gating states, each register in CPU is still powered to keep
Former data.When CPU recovery normal works, after clock reopens, then operation can be continued to the data in register.Separately
Outside, in the embodiment of the present invention it is considered that Flash is as Nonvolatile memory, data can also be kept after a loss of power, therefore in order to
Energy consumption is reduced, by Flash power down under low-power consumption mode.And RAM has volatibility, therefore cut RAM under low-power consumption mode
Retention hold modes are shifted to, avoid RAM refresh from reducing energy consumption, while keeping the data in RAM, to keep system quick
Start.
S102, under low-power consumption mode, send empty bag data to the second bluetooth equipment according to preset condition.
Specifically, may include a maintenance link block in bluetooth controller, when bluetooth controller enters low-power consumption mould
After formula, empty packet is sent to the second bluetooth equipment using the base band and radio-frequency module that maintain in link block control bluetooth controller
Data.The maintenance link block can be realized by MCU, can also be built by the chip or circuit of other low energy consumption.?
Utilize the work(for maintaining link block bluetooth controller when sending empty bag data to the second bluetooth equipment in each transmission time points
Consumption, bluetooth control when utilizing the hardware such as CPU, Flash, RAM to send empty bag data in the normal mode of operation compared to bluetooth controller
The power consumption of device processed is lower.
Using before maintaining link block to send empty bag data to the second bluetooth equipment, it is necessary first to by bluetooth connection
Property parameters are configured in the maintenance link block.The property parameters of bluetooth connection include mainly for the matched access ground of equipment
Location Access address, Crc numerical value, anchor point time anchor point, the connection event week for data correctness verification
The ends phase connInterval, connSlaveLatency, master sleep clock precision masterSCA, slave end sleep clock
Between channel number LastUnmappedChannel that precision slaveSCA, last time are used interchangeably, channel mapping ChannelMap, frequency hopping
Every Hop etc..Then after bluetooth controller enters low-power consumption mode, maintain link block can be according to the category of above-mentioned bluetooth connection
Property parameter, send empty bag data to the second bluetooth equipment according to predetermined period.
In one implementation, in order to which when appearance needs the valid data received and dispatched, bluetooth controller can be right in time
Valid data are received and dispatched.After control bluetooth controller enters low-power consumption mode, the bluetooth that the embodiment of the present invention is provided passes
Transmission method further includes:
S103, under low-power consumption mode, detect the first bluetooth equipment in need to send with the presence or absence of valid data, if so,
Bluetooth controller is then switched into normal operating conditions.
Specifically, when CPU is under Clock gating patterns, can not be set using the first bluetooth of link protocol software pair
It is detected with the presence or absence of valid data to be sent in standby.Therefore using increased maintenance connection in above bluetooth controller
Module needs to send to detect in the first bluetooth equipment with the presence or absence of valid data.
Under low-power consumption mode, when detecting the valid data for existing in the first bluetooth equipment and needing to send, bluetooth control
Device processed can utilize the interruption arousal function of HCI (Host Controller Interface, Host Control Interface), to bluetooth
The CPU of controller sends interrupt signal, to wake up CPU.After CPU exits Clock gating gating states, controlled by CPU
Flash and RAM switch to normal operating conditions.The channel that anchor point time, the last time that CPU acquisitions simultaneously currently connect are used interchangeably
The parameters such as number LastUnmappedChannel, channel mapping ChannelMap, stepped-frequency interval Hop are taken over connection connection and are safeguarded.Then
Valid data are sent to the second bluetooth equipment in the time anchor point of next connection event.
S104, the data packet that the transmission of the second bluetooth equipment is received under low-power consumption mode, and judge whether deposited in data packet
In valid data.If it is determined that there are valid data in data packet, bluetooth controller is switched into normal operating conditions.
Specifically, can judge that the second bluetooth equipment is sent out using increased maintenance link block in above bluetooth controller
It whether there is valid data in the data packet sent.
Under low-power consumption mode, judge that there are when valid data in the data packet that the second bluetooth equipment is sent.Bluetooth control
Device can utilize the interruption arousal function of HCI (Host Controller Interface, Host Control Interface), be sent to CPU
Interrupt signal, to wake up CPU.After CPU exits Clock gating gating states, can Flash and RAM be controlled by CPU and switched
To normal operating conditions.The letter that CPU can be used interchangeably from anchor point time, the last time for maintaining link block acquisition currently to connect
The parameters such as Taoist monastic name LastUnmappedChannel, channel mapping ChannelMap, stepped-frequency interval Hop are taken over connection connection and are safeguarded.
CPU will continue with the blue-teeth data received, and receive and dispatch timing control by link protocol software take over bluetooth.
In the embodiment of the present invention, it is contemplated that when there is no valid data transmitting-receiving between bluetooth equipment, if still allowing bluetooth control
Device processed total system in each transmission time points powers on, and can lead to the waste of hardware resource in bluetooth controller, increases bluetooth control
The power consumption of device processed.And then detecting that bluetooth equipment, will after continuous multiple empty bag datas of period transmitting-receiving in the embodiment of the present invention
Bluetooth controller switches to low-power consumption mode, and sends sky to opposite end bluetooth equipment according to predetermined period under the low-power consumption mode
Bag data, to reduce the power consumption of bluetooth controller.
Embodiment two:
The embodiment of the present invention provides a kind of bluetooth controller, for executing above-mentioned blue-tooth transmission method.The bluetooth controller
Applied to the first bluetooth equipment.The embodiment of the present invention can carry out function module according to above method example to bluetooth controller
It divides, for example, can correspond to each function divides each function module, two or more functions can also be integrated in
In one processing module.The form that hardware had both may be used in above-mentioned integrated module is realized, software function module can also be used
Form realize.It should be noted that being schematical, only a kind of logic work(to the division of module in the embodiment of the present invention
It can divide, formula that in actual implementation, there may be another division manner.
In the case where dividing each function module using corresponding each function, if Fig. 3 is provided in an embodiment of the present invention
A kind of structural schematic diagram of bluetooth controller.Specifically, the bluetooth controller 30, including:
Control module 301, for detecting the data transmission satisfaction between the first bluetooth equipment and the second bluetooth equipment
After preset condition, control bluetooth controller enters low-power consumption mode;Bluetooth controller at least meets following under low-power consumption mode
One or more states:CPU is in Clock gating gating states, Flash power down, RAM are in retention and keep shape
State;Preset condition includes at least any one of following or includes following two simultaneously:First bluetooth equipment continuously N number of period to second
The empty bag data of bluetooth equipment transmission, the empty packet number that the transmission of the second bluetooth equipment is received in the first bluetooth equipment continuous N period
According to;
Maintenance module 302 is connected, under low-power consumption mode, empty packet to be sent to the second bluetooth equipment according to predetermined period
Data.
It can be the entity hardware built by the chip of MCU or other low energy consumption wherein to maintain link block 302
Module.The property parameters of bluetooth connection between first bluetooth equipment and the second bluetooth equipment are configured to the maintenance link block
In after, maintain that link block 302 can control base band in bluetooth controller and radio-frequency module is sent to the second bluetooth equipment
Empty bag data.Wherein, the property parameters of bluetooth connection mainly include for matched access address Access address of equipment,
For data correctness verification Crc numerical value, anchor point time anchor point, connection event period connInterval,
The end connSlaveLatency, master sleep clock precision masterSCA, slave end sleep clock precision slaveSCA, on
The secondary channel number LastUnmappedChannel being used interchangeably, channel mapping ChannelMap, stepped-frequency interval Hop etc..Then work as indigo plant
After tooth controller enters low-power consumption mode, maintain link block can be according to the property parameters of above-mentioned bluetooth connection, according to default
Period sends empty bag data to the second bluetooth equipment.
Optionally, maintenance module 302 is connected, is additionally operable to detect under low-power consumption mode and whether there is in the first bluetooth equipment
Valid data need to send;
Control module 301 is additionally operable to detect that there are valid data needs in the first bluetooth equipment in connection maintenance module
After transmission, bluetooth controller is switched into normal operating conditions.
Optionally, maintenance module 302 is connected, is additionally operable to receive the data of the second bluetooth equipment transmission under low-power consumption mode
Packet, and judge to whether there is valid data in data packet;
Control module 301, after being additionally operable in connection maintenance module determines data packet there are valid data, by bluetooth control
Device processed switches to normal operating conditions.
Optionally, control module 301 have for passing through Host Control Interface HCI CPU, Flash to bluetooth controller
With one or more transmission interrupt signals in RAM so that one or more in CPU, Flash and RAM of bluetooth controller
Switch to normal operating conditions.
Below in conjunction with Fig. 4, the workflow for being provided for the embodiments of the invention bluetooth controller is introduced:S401,
Establish the bluetooth connection between the first bluetooth equipment and the second bluetooth equipment.S402, after a connection setup, to the first bluetooth equipment
Transmit queue be detected, judge whether there is valid data transmission.If S403, being sent without valid data, judge whether
Start connection maintenance module, that is, judges that the data transmission between the first bluetooth equipment and the second bluetooth equipment meets preset condition.
S404, execution:By the property parameters of bluetooth connection be configured to the maintenance link block, start connection maintenance module, control CPU into
Enter Clock gating gating states, Flash power down, RAM enter retention and keep pattern, control HCI power down and start
The interruption arousal function of HCI.S405, it valid data is judged whether there is needs to receive and dispatch.S406, if it is determined that being deposited in the first bluetooth equipment
It needs to send in valid data, then bluetooth controller is switched into normal operating conditions, i.e., wake up CPU, Flash, RAM, HCI
It powers on, CPU obtains current Connecting quantity from connection maintenance module, closes connection maintenance module, the connection of CPU take overs and sends effective
Data, link protocol software manage bluetooth and receive and dispatch sequential.S407, if it is determined that the second bluetooth equipment send data packet in there are
Data are imitated, then bluetooth controller are switched into normal operating conditions.
In addition, the embodiment of the present invention also provides a kind of bluetooth equipment, including the bluetooth controller that aforementioned present invention provides.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (9)
1. a kind of blue-tooth transmission method, the bluetooth controller being applied in the first bluetooth equipment, first bluetooth equipment and the
Two bluetooth equipments carry out data transmission according to predetermined period, which is characterized in that including:
After detecting that the data transmission between second bluetooth equipment meets preset condition, the bluetooth controller is controlled
Into low-power consumption mode, wherein the low-power consumption mode is used to indicate the bluetooth controller and at least meets a shape below
State:CPU is in Clock gating gating states, Flash power down, RAM are in retention hold modes;
The preset condition includes at least any one of following:Continuous N number of period to second bluetooth equipment send empty bag data,
The empty bag data that second bluetooth equipment is sent is received in the continuous N period;
Under the low-power consumption mode, empty bag data is sent to second bluetooth equipment according to the preset condition.
2. blue-tooth transmission method according to claim 1, which is characterized in that enter low-power consumption controlling the bluetooth controller
After pattern, the method further includes:
It is detected under the low-power consumption mode and needs to send with the presence or absence of valid data in first bluetooth equipment, if so,
The bluetooth controller is switched into normal operating conditions.
3. blue-tooth transmission method according to claim 1, which is characterized in that enter low-power consumption controlling the bluetooth controller
After pattern, the method further includes:
The data packet that second bluetooth equipment is sent is received under the low-power consumption mode, and judge in the data packet whether
There are valid data;
If it is determined that there are valid data in the data packet, the bluetooth controller is switched into normal operating conditions.
4. according to blue-tooth transmission method described in Claims 2 or 3, which is characterized in that described to switch to the bluetooth controller
Normal operating conditions specifically includes:
Interrupt signal is sent to the CPU of the bluetooth controller by Host Control Interface HCI, so that the bluetooth controller
One or more in CPU, Flash and RAM switch to normal operating conditions.
5. a kind of bluetooth controller, the bluetooth controller is applied to the first bluetooth equipment, first bluetooth equipment and second
Bluetooth equipment carries out data transmission according to predetermined period, which is characterized in that including:
Control module, for after detecting that the data transmission between second bluetooth equipment meets preset condition, controlling
The bluetooth controller enters low-power consumption mode, wherein it is at least full that the low-power consumption mode is used to indicate the bluetooth controller
A foot state below:CPU is in Clock gating gating states, Flash power down, RAM are in retention and keep shape
State;
The preset condition includes at least any one of following:Continuous N number of period to second bluetooth equipment send empty bag data,
The empty bag data that second bluetooth equipment is sent is received in the continuous N period;
Maintenance module is connected, under the low-power consumption mode, being sent out to second bluetooth equipment according to the preset condition
Send sky bag data.
6. bluetooth controller according to claim 5, which is characterized in that
The connection maintenance module, being additionally operable to detect under the low-power consumption mode to whether there is in first bluetooth equipment has
Effect data need to send;
The control module is additionally operable to detect that there are valid data in first bluetooth equipment in the connection maintenance module
After needing transmission, the bluetooth controller is switched into normal operating conditions.
7. bluetooth controller according to claim 5, which is characterized in that
The connection maintenance module is additionally operable to receive the data that second bluetooth equipment is sent under the low-power consumption mode
Packet, and judge to whether there is valid data in the data packet;
The control module will after being additionally operable in the connection maintenance module determines the data packet there are valid data
The bluetooth controller switches to normal operating conditions.
8. bluetooth controller described according to claim 6 or 7, which is characterized in that including:
The control module has and interrupts letter for being sent to the CPU of the bluetooth controller by Host Control Interface HCI
Number, so that one or more in CPU, Flash and RAM of the bluetooth controller switch to normal operating conditions.
9. a kind of bluetooth equipment, which is characterized in that including any one of the claims 5-8 bluetooth controllers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810922846.9A CN108777862B (en) | 2018-08-14 | 2018-08-14 | Bluetooth transmission method, Bluetooth controller and Bluetooth device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810922846.9A CN108777862B (en) | 2018-08-14 | 2018-08-14 | Bluetooth transmission method, Bluetooth controller and Bluetooth device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108777862A true CN108777862A (en) | 2018-11-09 |
CN108777862B CN108777862B (en) | 2021-05-04 |
Family
ID=64028693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810922846.9A Active CN108777862B (en) | 2018-08-14 | 2018-08-14 | Bluetooth transmission method, Bluetooth controller and Bluetooth device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108777862B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109348431A (en) * | 2018-11-14 | 2019-02-15 | Oppo广东移动通信有限公司 | Bluetooth scan method, device, equipment and storage medium |
CN111580994A (en) * | 2020-05-11 | 2020-08-25 | 南京英锐创电子科技有限公司 | Bluetooth module, event control method of Bluetooth module and electronic equipment |
CN112689320A (en) * | 2020-12-25 | 2021-04-20 | 杭州当贝网络科技有限公司 | Power consumption optimization method and system for 2.4G wireless audio system and readable storage medium |
CN113206687A (en) * | 2020-12-31 | 2021-08-03 | 珠海市杰理科技股份有限公司 | Bluetooth communication method, Bluetooth slave device, Bluetooth communication system, and storage medium |
CN114338250A (en) * | 2021-12-23 | 2022-04-12 | 珠海格力电器股份有限公司 | Data transmission method, device and equipment and power utilization system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104812097A (en) * | 2015-05-21 | 2015-07-29 | 北京深思数盾科技有限公司 | Bluetooth equipment and communication method thereof |
CN105516901A (en) * | 2015-12-21 | 2016-04-20 | 飞天诚信科技股份有限公司 | Low-power Bluetooth device and working method thereof |
CN107770852A (en) * | 2017-09-19 | 2018-03-06 | 联发科技(新加坡)私人有限公司 | Wireless communications method, communication equipment and the device with store function |
US20180152891A1 (en) * | 2016-11-30 | 2018-05-31 | Smartech Worldwide Limited | Method for switching bluetooth working modes, electronic device, and bluetooth chip |
-
2018
- 2018-08-14 CN CN201810922846.9A patent/CN108777862B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104812097A (en) * | 2015-05-21 | 2015-07-29 | 北京深思数盾科技有限公司 | Bluetooth equipment and communication method thereof |
CN105516901A (en) * | 2015-12-21 | 2016-04-20 | 飞天诚信科技股份有限公司 | Low-power Bluetooth device and working method thereof |
US20180152891A1 (en) * | 2016-11-30 | 2018-05-31 | Smartech Worldwide Limited | Method for switching bluetooth working modes, electronic device, and bluetooth chip |
CN107770852A (en) * | 2017-09-19 | 2018-03-06 | 联发科技(新加坡)私人有限公司 | Wireless communications method, communication equipment and the device with store function |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109348431A (en) * | 2018-11-14 | 2019-02-15 | Oppo广东移动通信有限公司 | Bluetooth scan method, device, equipment and storage medium |
CN109348431B (en) * | 2018-11-14 | 2021-09-17 | Oppo广东移动通信有限公司 | Bluetooth scanning method, device, equipment and storage medium |
CN111580994A (en) * | 2020-05-11 | 2020-08-25 | 南京英锐创电子科技有限公司 | Bluetooth module, event control method of Bluetooth module and electronic equipment |
CN111580994B (en) * | 2020-05-11 | 2023-09-15 | 南京英锐创电子科技有限公司 | Bluetooth module, event control method of Bluetooth module and electronic equipment |
CN112689320A (en) * | 2020-12-25 | 2021-04-20 | 杭州当贝网络科技有限公司 | Power consumption optimization method and system for 2.4G wireless audio system and readable storage medium |
CN113206687A (en) * | 2020-12-31 | 2021-08-03 | 珠海市杰理科技股份有限公司 | Bluetooth communication method, Bluetooth slave device, Bluetooth communication system, and storage medium |
CN113206687B (en) * | 2020-12-31 | 2022-05-17 | 珠海市杰理科技股份有限公司 | Bluetooth communication method, Bluetooth slave device, Bluetooth communication system, and storage medium |
CN114338250A (en) * | 2021-12-23 | 2022-04-12 | 珠海格力电器股份有限公司 | Data transmission method, device and equipment and power utilization system |
CN114338250B (en) * | 2021-12-23 | 2023-02-28 | 珠海格力电器股份有限公司 | Data transmission method, device and equipment and power utilization system |
Also Published As
Publication number | Publication date |
---|---|
CN108777862B (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108777862A (en) | A kind of blue-tooth transmission method, bluetooth controller and bluetooth equipment | |
CN106532807B (en) | A kind of intelligent battery charge-discharge control system and method | |
CN104184884B (en) | A kind of control device and method, mobile terminal of mobile terminal power consumption | |
CN104735264B (en) | A kind of mobile terminal and its control method | |
CN105119370B (en) | Reduce method, device and the intelligent substation debugging instrument of chip system power consumption | |
US9230427B2 (en) | Apparatus for low power wireless communication | |
CN102063144A (en) | Dynamic voltage regulation system applied for low energy consumption and implementation method | |
CN110381130A (en) | The long connection method of keep-alive, device, communication terminal and storage medium | |
CN105892614A (en) | Power consumption management and control method and system of intelligent terminal | |
CN106484069A (en) | A kind of method of power management and projector equipment | |
CN203968202U (en) | A kind of terminal | |
CN104091420A (en) | Method and system for finding remote-control unit | |
CN103514039B (en) | Method of controlling operation thereof and electronic equipment | |
CN106455024A (en) | Method for automatically adjusting communication frequency, and terminal equipment | |
CN107529211A (en) | A kind of wireless communication system and method | |
CN109142861A (en) | The means of communication and device of intelligent electric meter, intelligent electric meter | |
CN104932373A (en) | Intelligent industrial network protocol wireless converter | |
CN205139831U (en) | Power management system of wearable smart machine | |
CN105527848A (en) | Communication device and method for controlling communication device | |
CN104916102B (en) | The wireless communication and control method of intelligent gas meter | |
CN201887663U (en) | Low-power-consumption-application-oriented dynamic voltage regulation system | |
CN103024878A (en) | Low-energy-consumption wireless communication method | |
CN104052625A (en) | Energy-saving deployment method and device for cluster server | |
CN106941711A (en) | Method, the device of a kind of base station and base station energy-saving with detecting user | |
CN108762468B (en) | Low-power consumption control 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |