CN107809756A - Bluetooth controller, module, terminal, system and Bluetooth connecting method - Google Patents

Bluetooth controller, module, terminal, system and Bluetooth connecting method Download PDF

Info

Publication number
CN107809756A
CN107809756A CN201711009650.2A CN201711009650A CN107809756A CN 107809756 A CN107809756 A CN 107809756A CN 201711009650 A CN201711009650 A CN 201711009650A CN 107809756 A CN107809756 A CN 107809756A
Authority
CN
China
Prior art keywords
bluetooth
connection flow
controller
module
terminal
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
Application number
CN201711009650.2A
Other languages
Chinese (zh)
Other versions
CN107809756B (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.)
Shenzhen Quanzhi online Co.,Ltd.
Original Assignee
Shenzhen Core Technology 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 Shenzhen Core Technology Co Ltd filed Critical Shenzhen Core Technology Co Ltd
Priority to CN201711009650.2A priority Critical patent/CN107809756B/en
Publication of CN107809756A publication Critical patent/CN107809756A/en
Application granted granted Critical
Publication of CN107809756B publication Critical patent/CN107809756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of bluetooth controller, module, terminal, system and Bluetooth connecting method.Bluetooth controller, module, terminal and the system of offer in the modulation /demodulation module of bluetooth controller by setting multiple frame synchronizers, bluetooth controller, module, terminal and system can be made to meet the work requirements under multi-service flow, high capacity scene, and possess low-power consumption, efficient effect.The Bluetooth connecting method of offer, by intercepting packet corresponding to multiple bluetooth connection flow states simultaneously, or packet corresponding to single bluetooth connection flow state different Bluetooth devices is intercepted simultaneously, multi-service flow in Bluetooth connection process, the work requirements under high capacity scene can be met, and possess low-power consumption, efficient effect.

Description

Bluetooth controller, module, terminal, system and Bluetooth connecting method
Technical field
The present invention relates to wireless communication technology field, and in particular to a kind of bluetooth controller, module, terminal, system and indigo plant Tooth connection method.
Background technology
BluetoothIt is the open global specifications of a kind of wireless data and voice communication, it is with low cost Near radio connection based on, for fixation establish the short range radio being especially a connected skill with mobile device communication environment Art, can be achieved short-range data between fixed equipment, mobile device and building personal area network exchange (using 2.4- The UHF radio waves of 2.485GHz ISM band).Due to advantage of the Bluetooth technology in short distance information transfer, current big portion absolutely The mobile intelligent terminal equipment divided all possesses Bluetooth function.
As shown in figure 1, Bluetooth system is generally made up of bluetooth host (Host) and bluetooth controller (Controller), it is main Machine is the realization of bluetooth applications, includes the combination of various standard application protocols (Profile), and controller includes link management module (Link Manager), base band and link control module (Baseband&Link Controller) and physical layer (PHY).Main frame It can be communicated between controller by host controller interface (HCI), can also realize interaction otherwise.Bluetooth control In device processed, link management module is responsible for establishment, modification and the release of link, link parameter renewal, encryption is enabled and flow is initiated Etc. function.Base band is responsible for querying flow execution with link control module, paging flow performs, device address manages, synchronization character produces Control, response, the also management retransmitted, the function such as physical layer scheduling are flowed in raw, channel coding, and packet.Physical layer is main It is responsible for function, the physical layers such as data modulation and demodulation, carrier wave generation, signal modulation, Power Control and generally comprises modulatedemodulate mode transfer Block (Modem) and radio-frequency module (RF) two parts.
Bluetooth is communicated using time division duplex (Time Division Duplexing, abbreviation TDD) mode, therefore blue The reception of tooth equipment and the different time-gap for being transmitted in same frequency channel (i.e. carrier wave).Bluetooth equipment is according to composition piconet (Piconet) divide the work when and be divided into two kinds with the difference of definition:Main equipment (Master unit) and slave unit (Slave units), A main equipment is only existed in one piconet, but several piconets can interconnect to form scatternet (Scatternet).Each Bluetooth equipment has 48 uniquely fixed bluetooth device address (BD_ADDR), including 24 low address part LAP (Low Address Part), 8 high address part UAP (Upper Address Part) and 16 are without defining address part NAP (None significant Address Part)。
Bluetooth equipment can be according to connection status and the different instructions of flow, including inert holding state (Standby), for finding slave unit or responding the bluetooth inquiry flow (Inquiry Procedure) of main equipment, for leading, Slave unit establishes the bluetooth page flow (Page Procedure) of connection, and has completed the connection status of interconnection (Connection).Main equipment enters the sub- state of inquiry (Inquiry) and sends particular data packet in querying flow, slave unit If receiving the packet, into the sub- state of response to query (Inquiry Response) and particular data packet is replied, is replied Slave unit enters the paging information that page scan (Page Scan) sub- state begins listening for main equipment after particular data packet.Seeking Main equipment in flow is exhaled to enter the sub- state of paging (Page) and send particular data packet, if now slave unit is in page scan (Page Scan) sub- state, and the interior particular data packet for receiving main equipment transmission during this period, then slave unit enter from paging (Slave page response) the sub- state of response, particular data packet is replied, master-slave equipment enters connection shape after interaction State.
Different state or flow are by being arranged on the access code (Access code) of section start in bluetooth data transmission bag To distinguish, access code includes 3 types:Channel access code (Channel Access Code, abbreviation CAC), equipment access code (Device Access Code, abbreviation DAC) and inquiry access code (Inquiry Access Code, abbreviation IAC), wherein IAC It is divided into general polling access code (General Inquiry Access Code, abbreviation GIAC) and dedicated query access code again (Dedicated Inquiry Access Code, abbreviation DIAC), wherein GIAC use 0x9E8B00-0x9E8B3F 64 0x9E8B33 in LAP, for fixed value, remaining 63 LAP addresses are reserved DIAC and used, DIAC be used to dividing application-specific or Field, such as medical treatment, security protection etc..
Base band in bluetooth controller is different using different LAP generations according to different business from link control module Access code, the access code used in connection status are CAC, and CAC is generated by the LAP of main equipment.The access code that querying flow uses For IAC.The access code that paging flow uses is DAC, and DAC is generated by the LAP of slave unit.
Include in access code for timing synchronization information synchronous between bluetooth equipment, possessed by different access codes Information is different.Bluetooth equipment receive signal it is sampled after, be sent into modulation /demodulation module be filtered, filtered signal is sent to Frame synchronizer in modulation /demodulation module.Base band and link control module are according to the expected operation flow received, corresponding to configuration Access code is to frame synchronizer.The access code that frame synchronizer configures according to base band and link control module, with the letter being an actually-received Access code in number is compared.If access code is consistent, frame synchronizer produces synchronizing signal notice base band and link control mould Block performs corresponding flow.The synchronizing signal of some flows is additionally operable to enabled demodulator.
Bluetooth controller of the prior art can not only be used for main equipment inquiry or paging slave unit within the same period, The inquiry or paging of other main equipments can also be responded as slave unit, the link management module in bluetooth controller can be in Multipaths state is effective.But because link management module and base band use Time Slice Circular Scheduling method with link control module, Every kind of flow performs in turn.Physical layer packet according to corresponding to time division duplex sends and receives current process, and same connect Time receiving interior frame synchronizer can only intercept an access code.Therefore bluetooth controller of the prior art is unavoidably in multi-service, negative The problem of carrying generation flow conflict under high scene, and efficiency being caused low.
Bluetooth equipment connection timing diagram as shown in Figure 2, bluetooth equipment is in as slave unit can be queried and can State is paged, i.e. link management module is in the sub- state of page scan (Page Scan) and inquiry scan (Inquiry Scan) the sub- sub-states of state two coexist.
In go, slave unit periodically page scan window Tw_page_scan intercept comprising by The paging ID packets of DAC caused by itself LAP, Tw_page_scan default value 11.25ms, scope 10.625ms- 2.56s.Two page scan window section starts are at intervals of page scan cycle T page scan, Tpage scan scopes 11.25ms-2.56s.In Tpage scan, the idle condition outside Tw_page_scan is page scan free time (Page Scan Idle), the page scan idle time is Tpage_scan_idle.
There is also inquiry scan window Tw_inquiry_scan and inquiry scan cycle T inquiry for similar inquiry scan Scan, bluetooth equipment are intercepted the inquiry ID packets comprising IAC in inquiry scan window Tw_inquiry_scan.Tw_ Inquiry_scan default value and effective range is identical with the Tw_page_scan in page scan, Tinquiry scan's Default value and effective range are identical with the Tpage scan in page scan.Corresponding inquiry scan also has inquiry scan idle (Inquiry Scan Idle) state and inquiry scan free time Tinquiry_scan_idle.
When page scan and inquiry scan two states coexist, due to different flow states packet used by connect Enter code difference, therefore existing bluetooth controller can only carry out inquiry scan in the page scan free time, in the inquiry scan free time Carry out page scan.It is more than Tinquiry_scan_idle when there is Tw_page_scan, or Tw_inquiry_scan is more than During Tpage_scan_idle, necessarily there is the overlapping situation of two scanning windows.Now taken turns used by existing bluetooth controller Inquiry mechanism can not meet the needs of practical application, particularly when the scanning window of one of flow is equal to or closely should During the scan period of flow, the resource that system leaves another flow scanning window for will be extremely limited, it is possible to which appearance is hindered completely The risk of plug.Such as shown in Fig. 3, page scan window has covered inquiry scan window, therefore bluetooth controller is being sought When exhaling scanning process, not free time be used for inquiry scan flow.
Bluetooth connection flow chart as shown in Figure 4, bluetooth equipment A are searching slave unit, while conduct as main equipment Slave unit, which is in, can be connected state.Now the link management module of the bluetooth controller of device A is that inquiries and pages scan shape State coexists.Meanwhile equipment B is in the state that can be searched as slave unit, and equipment C is attempting a connection to equipment as main equipment A。
In inquiry state, device A needs constantly to send the inquiry ID packets that access code is IAC, when sending and receiving Gap replaces, and the time range that one query flow performs is 1.28s-61.44s.Paging state is similar with inquiry state, equipment C It is that DAC pages ID packets constantly to send access code, sends and receives time slot alternating, once pages the time model that flow performs Enclose for 625ms-40.9s.
When bluetooth equipment A is first inquired about as main equipment in Fig. 4, the access code that equipment B is had no in time slot is received is IAC inquiry packets are replied, even if there is the access code that equipment C is sent to page ID packets for DAC, due to the frame of now device A The access code that synchronizer is intercepted is IAC, therefore device A can not also be used as slave unit synchronous with equipment C.Device A must wait to be checked Ask flow to terminate, the page scan flow as slave unit could be carried out, intercept the packet comprising DAC.And generally inquire about stream Several seconds journey duration, the speed for being so connected extreme influence equipment, or even have the risk not connected.Similar equipment When A first carries out page scan flow, page scan flow must be also waited to terminate that querying flow could be carried out, if in page scan The inquiry packet of slave unit reply is received in flow, can not also carry out corresponding flow.
The content of the invention
The present invention provides a kind of bluetooth controller, module, terminal, system and Bluetooth connecting method, by using the bluetooth Controller, module, terminal, system and Bluetooth connecting method can overcome in the prior art pertinent Bluetooth device can not tackle more industry Under business flow, high capacity scene the problem of work requirements, and possess low-power consumption, efficient effect.
Bluetooth controller provided by the invention, is used cooperatively with bluetooth host, and bluetooth controller includes:
For the radio-frequency module of Bluetooth signal transmitting-receiving, for handling Bluetooth signal and including the tune of at least two frame synchronizers Demodulation module processed, for controlling modulation /demodulation module and radio-frequency module to perform the base band and link control mould of Bluetooth communication flow Block, for controlling base band and link control module and managing the link management module of Bluetooth communication flow, wherein link management mould Block communicates to connect with bluetooth host.
Bluetooth module provided by the invention, including bluetooth host, and above-mentioned bluetooth controller, bluetooth host and bluetooth Controller communicates to connect.
Bluetooth terminal provided by the invention, including above-mentioned bluetooth module.
Bluetooth system provided by the invention, including above-mentioned Bluetooth terminal, and another Bluetooth terminal, Bluetooth terminal with it is another One Bluetooth terminal is connected by Bluetooth communication.
Bluetooth connecting method provided by the invention, in above-mentioned bluetooth controller, bluetooth module and Bluetooth terminal, wrapping Include following steps:
According to application scenarios, setting is in two or more bluetooth connection flow states;
The packet corresponding to positioned multiple bluetooth connection flow states is intercepted simultaneously;
Perform the bluetooth connection flow corresponding to the packet being firstly received.
Another Bluetooth connecting method provided by the invention, for above-mentioned bluetooth controller, bluetooth module and Bluetooth terminal In, comprise the following steps:
According to application scenarios, setting is in a bluetooth connection flow state;
The packet of different Bluetooth devices corresponding to the bluetooth connection flow state is intercepted simultaneously;
The bluetooth connection flow is completed with the bluetooth equipment corresponding to the packet that is firstly received.
It is to introduce some concepts in the following detailed description in simplified form to provide present invention.Present invention is simultaneously The key feature or essential feature for identifying theme claimed are not intended to, is intended to be used to limit master claimed The scope of topic.
Brief description of the drawings
Fig. 1 is Bluetooth system composition schematic diagram in the prior art;
Fig. 2 is that bluetooth equipment connects timing diagram in the prior art;
Fig. 3 is that bluetooth equipment connects timing diagram in the prior art;
Fig. 4 is that bluetooth equipment connects flow chart in the prior art;
Fig. 5 is the functional block diagram of one embodiment of the invention bluetooth controller;
Fig. 6 is the functional block diagram of further embodiment of this invention bluetooth controller;
Fig. 7 is the connection timing diagram of one embodiment of the invention bluetooth controller;
Fig. 8 is the functional block diagram of yet another embodiment of the invention bluetooth controller;
Fig. 9 is the functional block diagram of one embodiment of the invention bluetooth module;
Figure 10 is the functional block diagram of one embodiment of the invention Bluetooth terminal;
Figure 11 is the functional block diagram of one embodiment of the invention Bluetooth system;
Figure 12 is the flow chart of one embodiment of the invention Bluetooth connecting method;
Figure 13 is the flow chart of further embodiment of this invention Bluetooth connecting method;
Figure 14 is the flow chart of yet another embodiment of the invention Bluetooth connecting method.
Embodiment
Existing bluetooth controller can not tackle multi-service flow, height due to the limitation of connection mechanism and firmware device Work requirements under load scenarios.Under conditions of the purpose of the present invention is intended to change existing bluetooth controller hardware on a small quantity, make indigo plant Tooth controller is adapted to the operative scenario of multi-service flow, and possesses low-power consumption, efficient effect.
The preferred embodiments of the present invention are illustrated in conjunction with accompanying drawing.
As shown in figure 5, one embodiment of the invention bluetooth controller 20 communicates to connect with bluetooth host 10, bluetooth controller 20 Bluetooth connection function is realized jointly with bluetooth host 10.
Bluetooth controller 20 includes radio-frequency module 200, modulation /demodulation module 210, base band and link control module 220 and chain Road management module 230.
Radio-frequency module 200 is used for the transmitting-receiving of Bluetooth signal.Radio-frequency module 200 includes radio-frequency front-end 202, analog-digital converter 204 and digital analog converter 206.
Modulation /demodulation module 210 is used to handle Bluetooth signal.Modulation /demodulation module 210 communicates to connect with radio-frequency module 200, Including wave filter 212, modulator 214, demodulator 216 and at least two frame synchronizer 218.
Base band is used to control modulation /demodulation module 210 and radio-frequency module 200 with link control module 220, performs bluetooth and leads to Letter flow journey.Base band communicates to connect with link control module 220 and modulation /demodulation module 210 and radio-frequency module 200.
Link management module 230 is used to control base band and link control module 220, manages Bluetooth communication flow.Link pipe Reason module 230 communicates to connect with base band and link control module 220 and bluetooth host 10.
Each module of bluetooth controller 20 uses the hardware element general with prior art and software protocol to realize bluetooth Communication, the improvement that the present invention is done are for the basis of single frame synchronizer possessed by modulation /demodulation module in the prior art On, in parallel one or multiple frame synchronizers, the access code in packet for intercepting corresponding multiple different flows is simultaneously defeated Go out corresponding synchronizing signal, so as to improve the problem of bluetooth controller in the prior art can not tackle multi-service flow conflict.
In the specific implementation, bluetooth host 10 sets the one or more of link management module 230 to flow according to application scenarios Journey state is effective, and link management module 230 controls base band and link control module according to selected effective flow state 220.Base band and link control module 220 perform corresponding flow, and access code corresponding to configuration flow is to modulation /demodulation module Frame synchronizer 218 in 210.The quantity of frame synchronizer 218 configures as needed, can be two or more numbers Amount.If afterwards one of them frame synchronizer 218 listen to should frame synchronizer 218 access code, the frame synchronizer 218 Produce synchronously, and produce corresponding synchronizing signal.Caused synchronizing signal notice base band and link control module 220, base band with The flow according to corresponding to the synchronizing signal reality received of link control module 220, performs the flow.According to the class of Bluetooth signal Type, some synchronizing signals can also enable demodulator, while base band can also be toward link management module with link control module 220 230 or bluetooth host 10 report implementing result.
In the embodiment shown in fig. 6, bluetooth controller 30 communicates to connect with bluetooth host 10, bluetooth controller 30 and bluetooth Main frame 10 realizes bluetooth connection function jointly.The modulation /demodulation module 310 of bluetooth controller 30 is configured with the first frame synchronizer 312 And second frame synchronizer 314, it is respectively used to intercept base band and the first access code and the second access code of link control module configuration, And the first synchronizing signal and the second synchronizing signal are exported respectively.Remaining module of bluetooth controller 30, the configuration of unit and function It is identical with bluetooth controller 20.
When bluetooth controller 30 is applied to the bluetooth connection scene shown in Fig. 2, bluetooth equipment can quilt as slave unit Inquire about and can be paged.So bluetooth host 10 controls link management module to be in inquiry scan state and go Effectively, two flow states can now be corresponded to the first frame synchronizer 312 and the second frame synchronizer 314 is respectively configured simultaneously.The One frame synchronizer 312 intercepts the ID packets for including IAC of corresponding inquiry scan state, and the second frame synchronizer 314 is intercepted pair Answer the ID packets for including DAC of go.If the success synchronous first of the first frame synchronizer 312, Bluetooth control Device 30 coordinates with opposite equip. carries out querying flow.If the success synchronous first of the second frame synchronizer 314, bluetooth controller 30 with it is right End equipment, which coordinates, carries out paging flow.
The connection timing diagram of embodiment bluetooth controller 30 as shown in Figure 7, Tw_inquiry_scan and Tw_page_scan Partially overlap on a timeline, it can be ensured that inquiry scan state and go are simultaneously effective, no matter and scanning window How mouth or scan period parameter change, and can ensure the joint efficiency of inquiry scan flow and page scan flow.Simultaneously Pass through the overlapping overlap period that Tinquiry_scan_idle and Tpage_scan_idle occurs of scanning window, then bluetooth Controller 30 can keep radio-frequency module not worked with modulation /demodulation module in the free time overlap period of two flows.Therefore Compared with prior art, under the connection scene for being paged and being queried as slave unit, bluetooth controller of the embodiment of the present invention 30 joint efficiency is more efficient, and relative idle period is more, reduces power consumption.
Bluetooth equipment of the prior art, when being in inquiry or paging state, sends and receives time slot friendship as main equipment Replace, inquiry or paging ID packets are constantly sent in sending time slots, expect that the packet of slave unit is replied receiving time slot.By It is different with the access code in the packet that paging flow slave unit is replied in querying flow, therefore bluetooth equipment can not be in inquiry And paging state is simultaneously effective.Similarly, bluetooth equipment can not also be gone back simultaneously as main equipment when being in inquiry or paging state It is in inquiry scan or go.
Unlike the prior art, when bluetooth equipment is in application query flow, the time slot of packet is sent and received Alternately, the present embodiment bluetooth controller 30 can configure 312 corresponding querying flow of the first frame synchronizer, receive time slot intercept from The packet for including IAC of device replied.And now the can of the second frame synchronizer 314 corresponds to other flows, intercept corresponding Slave unit reply the packet for including different access codes.Swept for example, the second frame synchronizer 314 is configured to intercept correspondingly paging Retouch the ID packets for including DAC of flow, then now bluetooth equipment can is in inquiries and pages scanning mode simultaneously In, frame synchronizer corresponding to which flow, which first produces, is synchronously carried out the flow.Similarly, the second frame synchronizer 314 can also match somebody with somebody It is set to corresponding inquiry scan flow.
Similarly, the second frame synchronizer 314 is also configured as corresponding paging flow, then now bluetooth controller 30 is same When be in querying flow and paging flow state in.Bluetooth controller 30 performs different flows in turn in sending time slots, but Receive time slot, it is possible to configure two frame synchronizers while intercept the packet of two flow difference access codes respectively.Which frame Synchronization first occurs for synchronizer, is carried out flow corresponding to the frame synchronizer.
In summary, it is same to add a frame on the basis of an original frame synchronizer for the present embodiment bluetooth controller 30 After walking device, joint efficiency of the bluetooth equipment when being queried and being paged as slave unit can be not only improved, while also drop Low power consumption.And when bluetooth equipment is as main equipment, the present embodiment bluetooth controller 30 can realize that bluetooth equipment is being inquired about Or paging state it is effective when, further select inquiry scan or the one of state of page scan it is effective.Can also be by connecing Time receiving gap intercepts inquiry and the mode of paging flow data bag simultaneously, overcomes bluetooth equipment when inquiring about or paging flow, can not The problem of responding another flow.
In the embodiment shown in fig. 8, bluetooth controller 40 communicates to connect with bluetooth host 10, bluetooth controller 40 and bluetooth Main frame 10 realizes bluetooth connection function jointly.The modulation /demodulation module 410 of bluetooth controller 40 is configured with the first frame synchronizer 412nd, the second frame synchronizer 414 and the 3rd frame synchronizer 416, it is respectively used to intercept base band and the first of link control module configuration Access code, the second access code and the 3rd access code, and the first synchronizing signal, the second synchronizing signal and the 3rd synchronous letter are exported respectively Number.Remaining module of bluetooth controller 40, the configuration of unit are identical with bluetooth controller 20 with function.
Compared with embodiment bluetooth controller 30, the present embodiment bluetooth controller 40 adds a frame synchronizer.So Relatively, the can of bluetooth controller 40 is on the basis for intercepting two flows that bluetooth controller 30 is realized, then extra Intercept a flow.For example, the bluetooth equipment in application bluetooth controller 40 is inquired about as main equipment or paging state is effective At the same time it can also be in as slave unit in inquiry scan and go simultaneously.Or bluetooth equipment is as main equipment Inquiry is simultaneously effective with paging state, is also used as slave unit and is in inquiry scan or go.
In other embodiments, three or more frame synchronizers, Ke Yishi are can be configured with bluetooth controller Each flow state configures an independent frame synchronizer and intercepted, can also a frame synchronizer be multiplexed in multiple streams Journey state.Especially, needing to connect different several Bluetooth slave devices when using the bluetooth equipment of bluetooth controller, or not When being attached between same piconet as slave unit from different main equipments, although connection flow is identical, different slave units Access code between different piconets is different.Therefore in same flow state needs to intercept the scene of different access codes, The multiple frame synchronizers of configuration be can also be to intercept same flow state.
Because the multipaths state of the present embodiment bluetooth controller 20 is intercepted with flow state in the prior art in turn simultaneously The mechanism intercepted is different, therefore the demand based on application with energy-conservation, the frame synchronizer that can be configured to different flow states enter Row management and control.Specifically, have in link management module 230 and identify the effective and invalid status indicator of each flow state, state mark Know for identify link management module 230 be in inquiry state, inquiry scan state, paging state, go and In which state of connection status, the status indicator of positioned flow state is arranged to effective.In use, bluetooth host 10 Enabled link management module 230 is in one or more flow states, and according to positioned one or more flow states Produce status indicator.Status indicator of the base band with link control module 220 according to link management module 230, execution have been identified as The flow of effect, performing step includes effectively opening one or more frame synchronizers 218 of corresponding flow state according to mark, and matches somebody with somebody Access code corresponding to each flow state is put into frame synchronizer 218.
In one embodiment, the modulation /demodulation module 210 of bluetooth controller 20 configures the frame synchronizer 218 of 5 or more, So link management module 230 uses the status word of 5 bits to be compared as status indicator, status word by the 0th bit to the 4th Spy, represent to inquire about state, inquiry scan state, paging state, go and connection status in link manager successively Effectively whether, 1 is effective, and 0 is invalid.Specifically, it is 01011 as bluetooth host 10 sets status word binary value, wherein from The value of right several the 0th, the 1st and the 4th bits is 1, then represents that link management module 230 is in inquiry state, inquiry scan shape State and go are simultaneously effective.If now bluetooth host 10 will cancel the validity of inquiry state, by status word 0th bit is set to 0, i.e., when the binary value of status word is 01010, represent link management module be in inquiry scan state and Go is simultaneously effective.
Present invention also offers a kind of bluetooth module, in embodiment as shown in Figure 9, bluetooth module 50 is by bluetooth controller 20 And bluetooth host 10 forms, bluetooth controller 20 is communicated to connect with bluetooth host 10 by host controller interface (HCI).Its In, bluetooth host 10 is used to provide logic link control and adapting protocol (Logical Link Control and Adaptation Protoco, L2CAP), service discovery protocol (Service Discovery Profile, SDP), serial ports imitate The protocol services such as true agreement (RFCOMM), are additionally operable to correspond to various application models and application program according to usage scenario.At other In embodiment, it can also be connected between bluetooth controller 20 and bluetooth host 10 by other interfaces.The work(of bluetooth host 10 It and can belong to prior art with the connected mode of bluetooth controller 20, will not be repeated here.
Present invention also offers a kind of Bluetooth terminal, in embodiment as shown in Figure 10, Bluetooth terminal 60 includes bluetooth module 50.Bluetooth terminal 60 can be intelligent mobile terminal such as smart mobile phone, Intelligent bracelet or laptop computer or it is small it is miniature just Equipment such as bluetooth earphone is taken, bluetooth module 50 is integrated in above-mentioned terminal or equipment.Can also be bluetooth module 50 separately as Accessory, it is connected to again by wireline interface when needing to use bluetooth connection and Bluetooth terminal 60 is combined on terminal device Mode, as bluetooth module 50 is incorporated into USB flash disk, desktop computer inserts USB flash disk by USB interface can set up bluetooth connection.
Present invention also offers a kind of Bluetooth system, in embodiment as shown in figure 11, Bluetooth system 70 includes above-mentioned indigo plant Tooth terminal 60 and terminal 720, Bluetooth terminal 60 are connected with terminal 720 by Bluetooth communication.Terminal 720 can be use it is existing The intelligent mobile terminal of technology function of Bluetooth communication such as smart mobile phone, Intelligent bracelet or laptop computer or it is small it is miniature just Equipment such as bluetooth earphone or bluetooth bracelet are taken, can also be the terminal device for being connected with Bluetooth function accessory.Terminal 720 can also It is another Bluetooth terminal 60.
Present invention also offers a kind of Bluetooth connecting method, applies in bluetooth controller 20, comprising bluetooth controller 20 In bluetooth module 50, Bluetooth terminal 60 and Bluetooth system 70.As shown in figure 12, Bluetooth connecting method comprises the following steps that.
In the step s 100, it is according to application scenarios, setting in two or more bluetooth connection flow states.
S200, while intercept the packet corresponding to positioned multiple bluetooth connection flow states.
S300, perform the bluetooth connection flow corresponding to the packet being firstly received.
For bluetooth controller 20, during with the Bluetooth connecting method, bluetooth host 10 is set according to application scenarios Link management module 230 in bluetooth controller 20 is in two or more bluetooth connection flow states, and link management mould Block 230 controls base band and link control module 220 to perform corresponding flow according to positioned flow state, and base band and link Control module 220 performs corresponding flow by radio-frequency module 200 and modulation /demodulation module 210.
Above-mentioned application scenarios refer to the control according to user, bluetooth equipment be as main equipment finding and/or Slave unit is connected, or is being found and/or is being connected as slave unit, and has completed a variety of connection scenes of connection.
As shown in figure 13, in one embodiment, have in the link management module 230 of bluetooth controller 20 and identify each flow During the status indicator of state, the Connection Step S100 and S200 of bluetooth controller 20 can also be refined as:
S120, according to application scenarios, setting is in two or more bluetooth connection flow states, and according to positioned Bluetooth connection flow state produces corresponding status indicator.
S220, according to status indicator, intercept multiple packets effectively corresponding to bluetooth connection flow state.
In other embodiments, because bluetooth controller 20 is configured with multiple frame synchronizers 218, then bluetooth controller 20 The packet of same bluetooth connection flow state mid-term different Bluetooth devices to be received can also be intercepted simultaneously, now such as Figure 14 Shown, Bluetooth connecting method step is as follows:
In step S500, according to application scenarios, setting is in a bluetooth connection flow state.
S600, while intercept the packet of different Bluetooth devices corresponding to the bluetooth connection flow state.
S700, the bluetooth connection flow is completed with the bluetooth equipment corresponding to the packet that is firstly received.
So for bluetooth controller 20, it can both intercept simultaneously corresponding to multiple bluetooth connection flow states not Same packet, same bluetooth connection flow state can also be intercepted simultaneously and the different pieces of information bag corresponding to different Bluetooth devices, Above-mentioned different bluetooth connection flow states and the different pieces of information bag corresponding to different Bluetooth devices can also be intercepted simultaneously, significantly Add efficiency and applicability that bluetooth controller 20 performs bluetooth connection flow.
Similarly, above-described Bluetooth connecting method can also be used in bluetooth module 50, Bluetooth terminal 60 and bluetooth In system 70, difference part is only that the difference with main body.
In summary, a variety of bluetooth units, equipment and connection method provided by the invention, can not only improve bluetooth equipment Joint efficiency when handling a variety of bluetooth connection flows, can be applicable to the complexity that multiple bluetooth equipments are attached be present Environment, there is the advantage in efficiency and cost.
It should be appreciated that preferred embodiment above is merely illustrative of the technical solution of the present invention, and it is not used to limit, it is right For those skilled in the art, the technical scheme described in above preferred embodiment can be modified, or to its middle part Point technical characteristic carries out equivalent substitution, and all such modifications and replacement, should all belong to the protection of appended claims of the present invention Scope.

Claims (24)

1. a kind of bluetooth controller, is used cooperatively with bluetooth host, it is characterised in that the bluetooth controller includes:
Radio-frequency module, the transmitting-receiving for Bluetooth signal;
Modulation /demodulation module, for handling Bluetooth signal, the modulation /demodulation module includes at least two frame synchronizers;
Base band and link control module, for controlling the modulation /demodulation module and the radio-frequency module to perform Bluetooth communication stream Journey;
Link management module, for controlling the base band and link control module, manage Bluetooth communication flow;
Wherein described link management module communicates to connect with the bluetooth host.
2. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes two frame synchronization Device, it is respectively used to intercept access code corresponding to two bluetooth connection flow states simultaneously.
3. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes three frame synchronization Device, it is respectively used to intercept access code corresponding to three bluetooth connection flow states simultaneously.
4. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes multiple frame synchronization Device, it is respectively used to intercept access code corresponding to multiple bluetooth connection flow states simultaneously.
5. the bluetooth controller as described in any one of claim 2 to 4, it is characterised in that the bluetooth controller performs first Produce the bluetooth connection flow corresponding to synchronous frame synchronizer.
6. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes two frame synchronization Device, it is respectively used to intercept access code corresponding to two bluetooth equipments in same bluetooth connection flow state simultaneously.
7. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes three frame synchronization Device, it is respectively used to intercept access code corresponding to three bluetooth equipments in same bluetooth connection flow state simultaneously.
8. bluetooth controller as claimed in claim 1, it is characterised in that the modulation /demodulation module includes multiple frame synchronization Device, it is respectively used to intercept access code corresponding to multiple bluetooth equipments in same bluetooth connection flow state simultaneously.
9. the bluetooth controller as described in any one of claim 6 to 8, it is characterised in that the bluetooth controller with producing first Bluetooth equipment corresponding to raw synchronous frame synchronizer carries out bluetooth connection flow.
10. bluetooth controller as claimed in claim 1, it is characterised in that the link management module, which is provided with, to be used to identify indigo plant The effective and invalid status indicator of tooth connection flow state, the base band perform with link control module according to the status indicator Effective bluetooth connection flow.
11. bluetooth controller as claimed in claim 10, it is characterised in that the base band is with link control module according to Status indicator open place is in frame synchronizer corresponding to effective bluetooth connection flow state.
12. a kind of bluetooth module, including bluetooth host, it is characterised in that also include as described in any one of claim 1 to 11 Bluetooth controller, the bluetooth host communicate to connect with the bluetooth controller.
13. a kind of Bluetooth terminal, it is characterised in that including bluetooth module as claimed in claim 12.
14. Bluetooth terminal as claimed in claim 13, it is characterised in that the bluetooth module is integrated in the Bluetooth terminal In.
15. Bluetooth terminal as claimed in claim 14, it is characterised in that the Bluetooth terminal be smart mobile phone, Intelligent bracelet, Laptop computer or bluetooth earphone.
16. Bluetooth terminal as claimed in claim 13, it is characterised in that the Bluetooth terminal is connects institute by wireline interface State the terminal of bluetooth module.
17. a kind of Bluetooth system, it is characterised in that including the Bluetooth terminal as described in any one of claim 13 to 16, also wrap Another Bluetooth terminal is included, the Bluetooth terminal is connected with another Bluetooth terminal by Bluetooth communication.
18. Bluetooth system as claimed in claim 17, it is characterised in that another Bluetooth terminal be as claim 13 to Bluetooth terminal described in 16 any one.
A kind of 19. Bluetooth connecting method, in the bluetooth controller as described in any one of claim 1 to 11, its feature to exist In the Bluetooth connecting method includes:
According to application scenarios, setting is in two or more bluetooth connection flow states;
The packet corresponding to positioned multiple bluetooth connection flow states is intercepted simultaneously;
Perform the bluetooth connection flow corresponding to the packet being firstly received.
A kind of 20. Bluetooth connecting method, in the bluetooth controller as described in any one of claim 1 to 11, its feature to exist In the Bluetooth connecting method includes:
According to application scenarios, setting is in a bluetooth connection flow state;
The packet of different Bluetooth devices corresponding to the bluetooth connection flow state is intercepted simultaneously;
The bluetooth connection flow is completed with the bluetooth equipment corresponding to the packet that is firstly received.
A kind of 21. Bluetooth connecting method, in bluetooth module as claimed in claim 12, it is characterised in that the bluetooth Connection method includes:
According to application scenarios, setting is in two or more bluetooth connection flow states;
The packet corresponding to positioned multiple bluetooth connection flow states is intercepted simultaneously;
Perform the bluetooth connection flow corresponding to the packet being firstly received.
A kind of 22. Bluetooth connecting method, in bluetooth module as claimed in claim 12, it is characterised in that the bluetooth Connection method includes:
According to application scenarios, setting is in a bluetooth connection flow state;
The packet of different Bluetooth devices corresponding to the bluetooth connection flow state is intercepted simultaneously;
The bluetooth connection flow is completed with the bluetooth equipment corresponding to the packet that is firstly received.
A kind of 23. Bluetooth connecting method, in the Bluetooth terminal as described in any one of claim 13 to 16, its feature to exist In the Bluetooth connecting method includes:
According to application scenarios, setting is in two or more bluetooth connection flow states;
The packet corresponding to positioned multiple bluetooth connection flow states is intercepted simultaneously;
Perform the bluetooth connection flow corresponding to the packet being firstly received.
A kind of 24. Bluetooth connecting method, in the Bluetooth terminal as described in any one of claim 13 to 16, its feature to exist In the Bluetooth connecting method includes:
According to application scenarios, setting is in a bluetooth connection flow state;
The packet of different Bluetooth devices corresponding to the bluetooth connection flow state is intercepted simultaneously;
The bluetooth connection flow is completed with the bluetooth equipment corresponding to the packet that is firstly received.
CN201711009650.2A 2017-10-25 2017-10-25 Bluetooth controller, module, terminal, system and Bluetooth connection method Active CN107809756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711009650.2A CN107809756B (en) 2017-10-25 2017-10-25 Bluetooth controller, module, terminal, system and Bluetooth connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711009650.2A CN107809756B (en) 2017-10-25 2017-10-25 Bluetooth controller, module, terminal, system and Bluetooth connection method

Publications (2)

Publication Number Publication Date
CN107809756A true CN107809756A (en) 2018-03-16
CN107809756B CN107809756B (en) 2020-05-19

Family

ID=61592456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711009650.2A Active CN107809756B (en) 2017-10-25 2017-10-25 Bluetooth controller, module, terminal, system and Bluetooth connection method

Country Status (1)

Country Link
CN (1) CN107809756B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109817232A (en) * 2019-01-30 2019-05-28 维沃移动通信有限公司 A kind of transmission method, terminal device and apparatus for processing audio
CN110206539A (en) * 2019-04-19 2019-09-06 山东科技大学 A kind of extra-deep hole drilling intelligent water level monitoring device
CN110493338A (en) * 2019-08-20 2019-11-22 深圳柚石物联技术有限公司 A kind of equipment mutual control method, system and computer readable storage medium
CN111149313A (en) * 2018-04-04 2020-05-12 华为技术有限公司 Data transmission method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110268020A1 (en) * 2010-04-30 2011-11-03 Broadcom Corporation Communicating with two nodes with overlapping frames
CN102316473A (en) * 2010-07-09 2012-01-11 大唐移动通信设备有限公司 Gateway equipment and data transmission method
CN104143995A (en) * 2013-05-08 2014-11-12 博通集成电路(上海)有限公司 Self-adaptive Bluetooth receiver and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110268020A1 (en) * 2010-04-30 2011-11-03 Broadcom Corporation Communicating with two nodes with overlapping frames
CN102316473A (en) * 2010-07-09 2012-01-11 大唐移动通信设备有限公司 Gateway equipment and data transmission method
CN104143995A (en) * 2013-05-08 2014-11-12 博通集成电路(上海)有限公司 Self-adaptive Bluetooth receiver and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卫耀辉: "蓝牙基带协议及应用模块的分析与研究", 《万方数据知识服务平台》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111149313A (en) * 2018-04-04 2020-05-12 华为技术有限公司 Data transmission method and equipment
CN111149313B (en) * 2018-04-04 2021-05-18 华为技术有限公司 Data transmission method and equipment
CN109817232A (en) * 2019-01-30 2019-05-28 维沃移动通信有限公司 A kind of transmission method, terminal device and apparatus for processing audio
CN110206539A (en) * 2019-04-19 2019-09-06 山东科技大学 A kind of extra-deep hole drilling intelligent water level monitoring device
CN110493338A (en) * 2019-08-20 2019-11-22 深圳柚石物联技术有限公司 A kind of equipment mutual control method, system and computer readable storage medium
CN110493338B (en) * 2019-08-20 2022-09-13 深圳柚石物联技术有限公司 Equipment mutual control method, system and computer readable storage medium

Also Published As

Publication number Publication date
CN107809756B (en) 2020-05-19

Similar Documents

Publication Publication Date Title
Bhagwat Bluetooth: technology for short-range wireless apps
Haartsen et al. Bluetooth: Vision, goals, and architecture
CN107809756A (en) Bluetooth controller, module, terminal, system and Bluetooth connecting method
US7577451B2 (en) Extending personal area networks
US20070149123A1 (en) Multiple radio usage in a wireless communications device
US7299008B2 (en) Call management system and method for servicing multiple wireless communication devices
US20080031184A1 (en) Bluetooth-based communication system and method
JP2002252616A (en) Wireless communication apparatus, its communication method and wireless communication system employing the same
JP2009519635A (en) Distributed Bluetooth system
US20080117850A1 (en) Dual Mode Wireless Personal Area Network and Wireless Local Area Network Architecture
JP2003309572A (en) Communication system, apparatus for communication control, method therefor and computer program
CN100479443C (en) Blue Tooth ZigBee gateway
CN108934046B (en) Method and device for reducing mutual interference between WiFi and ZigBee
JP2002246998A (en) Radio communication equipment and communication method thereof, and radio communication system using the same
JP5340070B2 (en) Wireless communication apparatus, wireless LAN access point, wireless communication system, and wireless communication method
Dideles Bluetooth: a technical overview
US8150320B2 (en) Method for operating a short haul radio transmitting/radio receiving system conforming to a short haul radio communication standard and a master device for implementing said method
Salazar Positioning Bluetooth/spl reg/and Wi-Fi/spl trade/systems
JP2003508961A (en) Resource management of unregulated frequency hopping system
Kansal et al. Bluetooth primer
Chaudhry et al. Protocols stack & connection establishment in Bluetooth radio
US9794777B2 (en) Varying device identities
CN111052854B (en) Bluetooth device, controller thereof and communication method
KR100481529B1 (en) Wireless communication apparatus capable of connectionless oriented broadcast and method thereof
CN101352019A (en) Wireless communication method and wireless transmitting/receiving device for wireless personal network with high thuoughput

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 13 / F, union building, No. 1069, Shekou Nanhai Avenue, merchants street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Quanzhi online Co.,Ltd.

Address before: 518000 Room 501, building 6, Zhiheng Industrial Park, Guankou 2nd Road, Nantou street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: XRADIOTECH TECHNOLOGY Co.,Ltd.