CN107809756B - Bluetooth controller, module, terminal, system and Bluetooth connection method - Google Patents

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

Info

Publication number
CN107809756B
CN107809756B CN201711009650.2A CN201711009650A CN107809756B CN 107809756 B CN107809756 B CN 107809756B CN 201711009650 A CN201711009650 A CN 201711009650A CN 107809756 B CN107809756 B CN 107809756B
Authority
CN
China
Prior art keywords
bluetooth
bluetooth connection
module
terminal
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.)
Active
Application number
CN201711009650.2A
Other languages
Chinese (zh)
Other versions
CN107809756A (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
Xradiotech 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 Xradiotech Technology Co ltd filed Critical Xradiotech 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

Images

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

Abstract

The invention discloses a Bluetooth controller, a module, a terminal, a system and a Bluetooth connection method. The Bluetooth controller, the module, the terminal and the system can meet the working requirements of multiple service processes and high load scenes by arranging the plurality of frame synchronizers in the modulation and demodulation module of the Bluetooth controller, and have the effects of low power consumption and high efficiency. According to the Bluetooth connection method, the data packets corresponding to a plurality of Bluetooth connection process states are monitored simultaneously, or the data packets corresponding to different Bluetooth devices in a single Bluetooth connection process state are monitored simultaneously, so that the working requirements under the conditions of multiple service processes and high load in the Bluetooth connection process can be met, and the effects of low power consumption and high efficiency are achieved.

Description

Bluetooth controller, module, terminal, system and Bluetooth connection method
Technical Field
The invention relates to the technical field of wireless communication, in particular to a Bluetooth controller, a module, a terminal, a system and a Bluetooth connection method.
Background
Bluetooth
Figure BDA0001445191730000011
The short-range data exchange between fixed equipment, mobile equipment and building personal area network can be realized by using short-range radio technology which establishes special connection for the communication environment of the fixed equipment and the mobile equipment on the basis of low-cost short-range wireless connection (using UHF radio waves of ISM wave band of 2.4-2.485 GHz). Due to the advantages of the Bluetooth technology in short-distance information transmission, most mobile intelligent terminal devices have the Bluetooth function at present.
As shown in fig. 1, a bluetooth system generally consists of a bluetooth Host (Host), which is an implementation of bluetooth applications and includes a combination of various standard application protocols (profiles), and a bluetooth Controller (Controller) including a Link Manager (Link Manager), a Baseband and Link Controller (Baseband & Link Controller), and a physical layer (PHY). The host and the controller can communicate through a Host Controller Interface (HCI) and can also interact through other ways. In the Bluetooth controller, a link management module is responsible for creating, modifying and releasing a link, updating link parameters, encrypting and enabling, initiating a process and the like. The baseband and link control module is responsible for query process execution, paging process execution, device address management, synchronous word generation, channel coding, flow control, response and retransmission management in data packets, and physical layer scheduling. The physical layer is mainly responsible for functions such as data modulation and demodulation, carrier generation, signal modulation, power control and the like, and generally comprises a Modem module (Modem) and a radio frequency module (RF).
Bluetooth communicates in a Time Division Duplex (TDD) manner, so that the bluetooth devices receive and transmit in different Time slots of the same frequency channel (i.e., carrier). Bluetooth devices are classified into two types according to the difference between the time division and the definition of a Piconet (Piconet): master devices (Master units) and Slave devices (Slave units), only one Master device exists in one piconet, but several piconets may be interconnected to form a Scatternet (scatter net). Each bluetooth device has a unique fixed 48-bit bluetooth device Address (BD _ ADDR) including a 24-bit low Address Part LAP (LowAddress Part), an 8-bit high Address Part UAP (Upper Address Part), and a 16-bit undefined Address Part NAP (None Address Part).
The bluetooth devices can be distinguished according to different Connection states and processes, including an inactive Standby state (Standby), a bluetooth Inquiry process (Inquiry process) for discovering a slave device or responding to a master device, a bluetooth paging process (Page process) for establishing a Connection between the master device and the slave device, and a Connection state (Connection) in which an interconnection is completed. In the Inquiry process, the master device enters an Inquiry (Inquiry) substate and sends a specific data packet, if the slave device receives the data packet, the slave device enters an Inquiry reply (Inquiry Response) substate and replies the specific data packet, and after the specific data packet is replied, the slave device enters a Page Scan (Page Scan) substate and starts to monitor the paging information of the master device. In the paging process, the master device enters a paging (Page) sub-state and sends a specific data packet, if the Slave device is in a Page Scan (Page Scan) sub-state at the moment and receives the specific data packet sent by the master device in the period, the Slave device enters a Slave paging response (Slave Page response) sub-state, replies the specific data packet, and after interaction, the master device and the Slave device enter a connection state.
The different states or flows are distinguished by an Access code (Access code) placed at the beginning in the bluetooth transmission packet, which includes 3 types: the Access Code includes a Channel Access Code (CAC), a Device Access Code (DAC), and an Inquiry Access Code (IAC), where the IAC is further divided into a General Inquiry Access Code (GIAC) and a specific Inquiry Access Code (DIAC), where the GIAC uses 0x9E8B00-0x9E8B3F 64 LAPs, 0x9E8B33 is a fixed value, and the remaining 63 LAP addresses are reserved for DIAC, and the DIAC is used to partition specific applications or fields, such as medical treatment, security, and the like.
The base band and link control module in the Bluetooth controller uses different LAPs to generate different access codes according to different services, the access code used in the connection state is CAC, and the CAC is generated by the LAP of the main equipment. The access code used by the inquiry flow is IAC. The access code used by the paging procedure is a DAC, which is generated by the LAP of the slave device.
The access code contains the time sequence synchronous information used for synchronizing the Bluetooth devices, and different access codes have different information. After sampling, the signal received by the Bluetooth device is sent to a modulation and demodulation module for filtering, and the filtered signal is sent to a frame synchronizer in the modulation and demodulation module. The baseband and link control module configures corresponding access codes to the frame synchronizer according to the expected received service flow. The frame synchronizer compares the access code configured by the baseband and link control module with the access code in the actually received signal. If the access codes are consistent, the frame synchronizer generates a synchronization signal to inform the baseband and link control module to execute a corresponding process. Some processes of the synchronization signal are also used to enable the demodulator.
In the prior art, a bluetooth controller can be used as a master device to inquire or page a slave device, and can also be used as a slave device to respond to inquiry or paging of other master devices in the same time period, and a link management module in the bluetooth controller can be in a multi-process state and is effective. However, the link management module and the baseband and link control module adopt a time slice round-robin scheduling method, and each process is executed in turn. The physical layer sends and receives the data packet corresponding to the current flow according to the time division duplex, and the frame synchronizer can only listen to one access code within the same receiving time. Therefore, the bluetooth controller in the prior art is difficult to avoid the problem of flow conflict generated in a multi-service and high-load scene, and low efficiency is caused.
As shown in the connection timing diagram of the bluetooth device in fig. 2, the bluetooth device is in the queryable and pageable states as a slave device, that is, the link management module is in two sub-states of a Page Scan (Page Scan) sub-state and an inquiry Scan (InquiryScan) sub-state.
In the page scan state, the slave periodically listens for page ID packets containing DACs generated by its LAP during a page scan window Tw _ page _ scan, which defaults to 11.25ms, ranging from 10.625ms to 2.56 s. The interval at the beginning of the two page scanning windows is the page scanning period Tpage scan, which ranges from 11.25ms to 2.56 s. In the Tpage scan, the idle state outside the Tw _ Page _ scan is Page scan idle (Page scan idle), and the time of the Page scan idle is Tpage _ scan _ idle.
Similar inquiry scanning also exists in an inquiry scanning window Tw _ inquiry _ scan and an inquiry scanning period Tinquiryscan, and the bluetooth device listens for an inquiry ID packet containing the IAC within the inquiry scanning window Tw _ inquiry _ scan. The default value and the valid range of the Tw _ inquiry _ scan are the same as those of the Tw _ page _ scan in the page scan, and the default value and the valid range of the Tinquiry scan are the same as those of the Tpage scan in the page scan. The corresponding Inquiry Scan also has an Inquiry Scan Idle (Inquiry Scan Idle) state and an Inquiry Scan Idle time tinquick _ Scan _ Idle.
When the paging scanning state and the inquiry scanning state coexist, because the access codes adopted by the data packets in different process states are different, the existing bluetooth controller can only perform inquiry scanning in the paging scanning idle state and perform paging scanning in the inquiry scanning idle state. When two _ page _ scan is larger than Tinquiry _ scan _ idle or two _ inquiry _ scan is larger than Tpage _ scan _ idle, the two scan windows are overlapped. At this time, the polling mechanism adopted by the existing bluetooth controller cannot meet the requirements of practical applications, and particularly when the scanning window of one process is equal to or very close to the scanning period of the process, the resource left by the system for the scanning window of the other process will be very limited, and there is a risk of completely blocking the system. For example, as shown in fig. 3, the page scanning window already covers the inquiry scanning window, so that the bluetooth controller has no idle time for the inquiry scanning procedure when performing the page scanning procedure.
As shown in the bluetooth connection flowchart in fig. 4, the bluetooth device a is looking for a slave device as a master device while being in a connectable state as a slave device. At this point the link management module of the bluetooth controller of device a coexists for inquiry and page scan states. Meanwhile, device B is in a searchable state as a slave, and device C is attempting to connect to device a as a master.
In the inquiry state, the device a needs to continuously transmit an inquiry ID packet with an access code IAC, and the transmission and reception time slots alternate, and the time range of one inquiry flow execution is 1.28s-61.44 s. The paging state is similar to the inquiry state, the device C continuously transmits the access code as DAC paging ID data packets, the transmission and reception time slots alternate, and the time range of one paging procedure execution is 625ms-40.9 s.
In fig. 4, when the bluetooth device a performs inquiry as the master device first, no access code of the device B replies as an IAC inquiry packet in the reception slot, and even if the access code transmitted by the device C is a DAC paging ID packet, the frame synchronizer of the device a listens for the access code as IAC at this time, so that the device a cannot synchronize with the device C as a slave device. The device a must wait for the end of the inquiry procedure to perform the page scanning procedure as a slave device, and listen to the data packet containing the DAC. The query process usually lasts for several seconds, which greatly affects the speed of connecting the devices and even risks the devices not being connected. When the similar device a performs the paging scanning procedure first, it also needs to wait for the completion of the paging scanning procedure to perform the inquiry procedure, and if the inquiry packet returned from the device is received in the paging scanning procedure, the corresponding procedure cannot be performed.
Disclosure of Invention
The invention provides a Bluetooth controller, a module, a terminal, a system and a Bluetooth connection method, which can solve the problem that related Bluetooth equipment in the prior art cannot meet the working requirements under the situations of multiple service processes and high load and have the effects of low power consumption and high efficiency.
The bluetooth controller provided by the invention is used in cooperation with a bluetooth host, and comprises:
the system comprises a radio frequency module for receiving and transmitting Bluetooth signals, a modulation and demodulation module for processing the Bluetooth signals and comprising at least two frame synchronizers, a baseband and link control module for controlling the modulation and demodulation module and the radio frequency module to execute a Bluetooth communication process, and a link management module for controlling the baseband and link control module and managing the Bluetooth communication process, wherein the link management module is in communication connection with a Bluetooth host.
The Bluetooth module provided by the invention comprises a Bluetooth host and the Bluetooth controller, wherein the Bluetooth host is in communication connection with the Bluetooth controller.
The Bluetooth terminal provided by the invention comprises the Bluetooth module.
The Bluetooth system provided by the invention comprises the Bluetooth terminal and another Bluetooth terminal, wherein the Bluetooth terminal is in communication connection with the another Bluetooth terminal through Bluetooth.
The Bluetooth connection method provided by the invention is used in the Bluetooth controller, the Bluetooth module and the Bluetooth terminal, and comprises the following steps:
setting the Bluetooth connection flow in two or more Bluetooth connection flow states according to an application scene;
simultaneously monitoring data packets corresponding to a plurality of Bluetooth connection process states;
and executing the Bluetooth connection process corresponding to the first received data packet.
The other bluetooth connection method provided by the invention is used in the bluetooth controller, the bluetooth module and the bluetooth terminal, and comprises the following steps:
setting the Bluetooth connection flow state according to an application scene;
simultaneously monitoring data packets of different Bluetooth devices corresponding to the Bluetooth connection process state;
and the Bluetooth device corresponding to the first received data packet completes the Bluetooth connection process.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Drawings
FIG. 1 is a schematic diagram of a prior art Bluetooth system;
FIG. 2 is a prior art timing diagram of a Bluetooth device connection;
FIG. 3 is a prior art Bluetooth device connection timing diagram;
FIG. 4 is a prior art Bluetooth device connection flow diagram;
FIG. 5 is a functional block diagram of a Bluetooth controller in accordance with one embodiment of the present invention;
FIG. 6 is a functional block diagram of a Bluetooth controller according to yet another embodiment of the present invention;
FIG. 7 is a connection timing diagram of a Bluetooth controller according to an embodiment of the present invention;
FIG. 8 is a functional block diagram of a Bluetooth controller in accordance with yet another embodiment of the present invention;
FIG. 9 is a functional block diagram of a Bluetooth module in accordance with one embodiment of the present invention;
fig. 10 is a functional block diagram of a bluetooth terminal according to an embodiment of the present invention;
FIG. 11 is a functional block diagram of a Bluetooth system in accordance with one embodiment of the present invention;
FIG. 12 is a flowchart of a Bluetooth connection method according to an embodiment of the present invention;
FIG. 13 is a flowchart of a Bluetooth connection method according to another embodiment of the present invention;
fig. 14 is a flowchart of a bluetooth connection method according to still another embodiment of the present invention.
Detailed Description
The existing Bluetooth controller cannot meet the working requirements under the conditions of multiple service processes and high load due to the limitation of a connection mechanism and firmware equipment. The invention aims to enable the Bluetooth controller to adapt to the working scene of a multi-service process under the condition of slightly changing the hardware of the existing Bluetooth controller, and has the effects of low power consumption and high efficiency.
Preferred embodiments of the present invention will now be described with reference to the accompanying drawings.
As shown in fig. 5, in an embodiment of the present invention, the bluetooth controller 20 is communicatively connected to the bluetooth host 10, and the bluetooth controller 20 and the bluetooth host 10 jointly implement a bluetooth connection function.
The bluetooth controller 20 includes a radio frequency module 200, a modem module 210, a baseband and link control module 220, and a link management module 230.
The rf module 200 is used for bluetooth signal transceiving. The RF module 200 includes an RF front end 202, an analog-to-digital converter 204, and a digital-to-analog converter 206.
The modem module 210 is used for processing bluetooth signals. The modem module 210 is communicatively coupled to the rf module 200 and includes a filter 212, a modulator 214, a demodulator 216, and at least two frame synchronizers 218.
The baseband and link control module 220 is used for controlling the modem module 210 and the rf module 200 to execute a bluetooth communication process. The baseband and link control module 220 is communicatively coupled to the modem module 210 and the rf module 200.
The link management module 230 is used for controlling the baseband and link control module 220 and managing the bluetooth communication process. The link management module 230 is communicatively connected to the baseband and link control module 220 and the bluetooth host 10.
The improvement of the present invention lies in that on the basis of a single frame synchronizer of the modem module in the prior art, one or more frame synchronizers are connected in parallel for intercepting the access codes in the data packets corresponding to a plurality of different processes and outputting corresponding synchronization signals, thereby improving the problem that the bluetooth controller in the prior art cannot cope with the conflict of multiple service processes.
In specific implementation, the bluetooth host 10 sets one or more process states of the link management module 230 to be valid according to an application scenario, and the link management module 230 controls the baseband and link control module 220 according to the selected valid process state. The baseband and link control module 220 performs the corresponding process and configures the access code corresponding to the process to the frame synchronizer 218 in the modem module 210. The number of frame synchronizers 218 is two or more, as needed. Then, if one of the frame synchronizers 218 senses the access code corresponding to the frame synchronizer 218, the frame synchronizer 218 generates synchronization and generates a corresponding synchronization signal. The generated synchronization signal informs the baseband and link control module 220, and the baseband and link control module 220 executes the process according to the process actually corresponding to the received synchronization signal. Depending on the type of bluetooth signal, some synchronization signals may also enable the demodulator, while the baseband and link control module 220 may also report the execution results to the link management module 230 or the bluetooth host 10.
In the embodiment shown in fig. 6, the bluetooth controller 30 is communicatively connected to the bluetooth host 10, and the bluetooth controller 30 and the bluetooth host 10 jointly implement a bluetooth connection function. The modem module 310 of the bluetooth controller 30 is configured with a first frame synchronizer 312 and a second frame synchronizer 314, which are respectively configured to listen to the first access code and the second access code configured by the baseband and link control module and respectively output a first synchronization signal and a second synchronization signal. The configuration and function of the remaining modules, units of the bluetooth controller 30 are the same as those of the bluetooth controller 20.
When the bluetooth controller 30 is applied to the bluetooth connection scenario shown in fig. 2, a bluetooth device may be queried and may be paged as a slave. The bluetooth host 10 controls the link management module to be active in both the inquiry scan state and the page scan state, and the first frame synchronizer 312 and the second frame synchronizer 314 can be configured for the two process states. The first frame synchronizer 312 listens for ID packets containing IAC corresponding to inquiry scan status and the second frame synchronizer 314 listens for ID packets containing DAC corresponding to page scan status. If the first frame synchronizer 312 is synchronized successfully first, the bluetooth controller 30 cooperates with the peer device to perform an inquiry process. If the second frame synchronizer 314 first successfully synchronizes, the bluetooth controller 30 cooperates with the peer device to perform a paging procedure.
As shown in the connection timing diagram of the bluetooth controller 30 of fig. 7, Tw _ inquiry _ scan and Tw _ page _ scan partially overlap on a time axis, which can ensure that the inquiry scan state and the page scan state are valid at the same time, and can ensure the connection efficiency of the inquiry scan flow and the page scan flow regardless of the variation of the scan window or scan period parameter. Meanwhile, an overlap period of the tiny _ scan _ idle and the Tpage _ scan _ idle may occur through the overlap of the scanning windows, and then the bluetooth controller 30 may keep the radio frequency module and the modem module not working in the idle time overlap period of the two processes. Therefore, compared with the prior art, in the connection scene that the slave device is paged and inquired, the connection efficiency of the bluetooth controller 30 of the embodiment of the invention is more efficient, the relative idle time is more, and the power consumption is reduced.
When a bluetooth device in the prior art is in an inquiry or paging state as a master device, transmission and reception slots alternate, and inquiry or paging ID packets are continuously transmitted in the transmission slots, and packet reply of the slave device is expected in the reception slots. Because the access codes in the data packets returned by the slave devices in the inquiry process and the paging process are different, the bluetooth device cannot be in the inquiry state and the paging state and is effective at the same time. Similarly, when the bluetooth device is in the inquiry or paging state as the master device, the bluetooth device cannot be in the inquiry scanning or paging scanning state at the same time.
Unlike the prior art, when the bluetooth device is applying the inquiry process, the slots for sending and receiving the data packets are alternated, the bluetooth controller 30 of this embodiment may configure the first frame synchronizer 312 to listen to the data packets including the IAC returned by the slave device in the receiving slots corresponding to the inquiry process. At this time, the second frame synchronizer 314 may listen for the data packets containing different access codes from the corresponding slave devices corresponding to other processes. For example, the second frame synchronizer 314 is configured to listen for the DAC-containing ID packet corresponding to the page scan process, and the bluetooth device can be in both inquiry and page scan states at the same time, and the frame synchronizer corresponding to which process generates synchronization first executes the process. Similarly, the second frame synchronizer 314 may also be configured to correspond to a query scan process.
Similarly, the second frame synchronizer 314 may also be configured to correspond to a paging procedure, and then the bluetooth controller 30 is in both inquiry and paging procedure states at the same time. The bluetooth controller 30 executes different processes in turn in the transmission time slot, but in the reception time slot, two frame synchronizers can be configured to simultaneously listen to the data packets of the different access codes of the two processes. And executing the flow corresponding to the frame synchronizer when the frame synchronizer is synchronized first.
In summary, after the bluetooth controller 30 of this embodiment adds a frame synchronizer to the original frame synchronizer, it can not only improve the connection efficiency of the bluetooth device when being used as a slave device to be queried and paged, but also reduce the power consumption. When the bluetooth device is used as a master device, the bluetooth controller 30 of this embodiment may further select one of the inquiry scan state and the page scan state to be valid when the bluetooth device is in the inquiry state or the page scan state. The problem that the Bluetooth device cannot respond to another process when in the inquiry or paging process can be solved by a mode of simultaneously monitoring the inquiry and paging process data packets in the receiving time slot.
In the embodiment shown in fig. 8, the bluetooth controller 40 is communicatively connected to the bluetooth host 10, and the bluetooth controller 40 and the bluetooth host 10 jointly implement the bluetooth connection function. The modem module 410 of the bluetooth controller 40 is configured with a first frame synchronizer 412, a second frame synchronizer 414, and a third frame synchronizer 416, which are respectively configured to listen to the first access code, the second access code, and the third access code configured by the baseband and link control module, and respectively output a first synchronization signal, a second synchronization signal, and a third synchronization signal. The configuration and function of the remaining modules, units of the bluetooth controller 40 are the same as those of the bluetooth controller 20.
The bluetooth controller 40 of the present embodiment is added with a frame synchronizer compared with the bluetooth controller 30 of the present embodiment. Bluetooth controller 40 may listen for one more process in addition to listening for two processes implemented by bluetooth controller 30, correspondingly. For example, while a bluetooth device employing bluetooth controller 40 is active as a master in either the inquiry or page states, it may also be in both inquiry scan and page scan states simultaneously as a slave. Or the bluetooth device is active as a master device in both inquiry and paging states, and can also be in an inquiry scan or paging scan state as a slave device.
In other embodiments, three or more frame synchronizers may be configured in the bluetooth controller, a separate frame synchronizer may be configured for each process state to listen, or a frame synchronizer may be multiplexed for multiple process states. In particular, when a bluetooth device using a bluetooth controller needs to connect to different bluetooth slaves or connects as a slave to different masters between different piconets, although the connection procedure is the same, the access codes between different slaves and different piconets are different. Therefore, in a scenario where the same process state needs to listen to different access codes, a plurality of frame synchronizers may be configured to listen to the same process state.
Since the simultaneous listening of the multiple process states of the bluetooth controller 20 in this embodiment is different from the alternate listening of the process states in the prior art, the frame synchronizers configured in different process states can be managed and controlled based on the application and energy saving requirements. Specifically, the link management module 230 has a status identifier for identifying whether each process status is valid or invalid, where the status identifier is used to identify which states the link management module 230 is in, and set the status identifier of the process status in which it is in, as valid. When applied, the bluetooth host 10 enables the link management module 230 to be in one or more process states and generates a state identification according to the one or more process states in which it is located. The baseband and link control module 220 executes the process identified as valid according to the status identifier of the link management module 230, and the execution step includes effectively starting one or more frame synchronizers 218 corresponding to the process status according to the status identifier, and configuring the access code corresponding to each process status into the frame synchronizer 218.
In one embodiment, the modem module 210 of the bluetooth controller 20 configures 5 or more frame synchronizers 218, and then the link management module 230 uses a 5-bit status word as the status flag, where the status word includes bits 0 to 4, which sequentially indicates whether the inquiry status, inquiry scan status, paging status, page scan status, and connection status are valid in the link manager, 1 is valid and 0 is invalid. Specifically, if the bluetooth host 10 sets the binary value of the status word to 01011, where the values of the 0 th, 1 st and 4 th bits from the right are 1, it indicates that the link management module 230 is in the inquiry state, the inquiry scan state and the page scan state simultaneously. If the bluetooth host 10 wants to cancel the validity of the inquiry state, the 0 th bit of the status word is set to 0, i.e. when the binary value of the status word is 01010, it indicates that the link management module is in the inquiry scan state and the paging scan state and is valid at the same time.
The present invention further provides a bluetooth module, as shown in fig. 9, in an embodiment, the bluetooth module 50 is composed of a bluetooth controller 20 and a bluetooth host 10, and the bluetooth controller 20 and the bluetooth host 10 are communicatively connected through a Host Controller Interface (HCI). The bluetooth host 10 is configured to provide protocol services such as a Logical Link Control and adaptation protocol (L2 CAP), a Service Discovery Protocol (SDP), a serial port simulation protocol (RFCOMM), and the like, and is further configured to correspond to various application models and application programs according to a usage scenario. In other embodiments, the bluetooth controller 20 and the bluetooth host 10 may be connected through other interfaces. The functions of the bluetooth host 10 and the connection with the bluetooth controller 20 are well known in the art and will not be described herein.
The present invention further provides a bluetooth terminal, and as shown in fig. 10, the bluetooth terminal 60 includes a bluetooth module 50. The bluetooth terminal 60 may be an intelligent mobile terminal such as a smart phone, a smart band or a portable computer, or may be a small portable device such as a bluetooth headset, and the bluetooth module 50 is integrated in the above terminal or device. Or the bluetooth module 50 may be an accessory separately, and when the bluetooth connection is needed, the bluetooth module 50 may be connected to the terminal device through a wired interface to form the bluetooth terminal 60, for example, the bluetooth module 50 is integrated in a USB disk, and the desktop computer may be connected to the USB disk through a USB interface.
In the embodiment shown in fig. 11, the bluetooth system 70 includes the bluetooth terminal 60 and the terminal 720, and the bluetooth terminal 60 and the terminal 720 are connected through bluetooth communication. The terminal 720 may be an intelligent mobile terminal such as a smart phone, a smart band or a laptop computer, which adopts the bluetooth communication function of the prior art, or may be a small and miniature portable device such as a bluetooth headset or a bluetooth band, or may be a terminal device connected with a bluetooth accessory. The terminal 720 may also be another bluetooth terminal 60.
The invention also provides a Bluetooth connection method, which is applied to the Bluetooth controller 20, the Bluetooth module 50 comprising the Bluetooth controller 20, the Bluetooth terminal 60 and the Bluetooth system 70. As shown in fig. 12, the bluetooth connection method includes the following steps.
In step S100, the setting is in two or more bluetooth connection flow states according to the application scenario.
S200, data packets corresponding to a plurality of Bluetooth connection process states are intercepted simultaneously.
S300, executing a Bluetooth connection process corresponding to the first received data packet.
For the bluetooth controller 20, when the bluetooth connection method is applied, the bluetooth host 10 sets the link management module 230 in the bluetooth controller 20 in two or more bluetooth connection process states according to an application scenario, the link management module 230 controls the baseband and link control module 220 to execute a corresponding process according to the process state, and the baseband and link control module 220 executes a corresponding process through the rf module 200 and the modem module 210.
The above application scenarios refer to various connection scenarios in which the bluetooth device is seeking and/or connecting to a slave device as a master device or is being sought and/or connected as a slave device, and connection has been completed, depending on the control of the user.
As shown in fig. 13, in an embodiment, when the link management module 230 of the bluetooth controller 20 has a status identifier for identifying each process status, the connection steps S100 and S200 of the bluetooth controller 20 may be further detailed as follows:
and S120, setting the Bluetooth connection flow state in two or more Bluetooth connection flow states according to the application scene, and generating corresponding state identification according to the Bluetooth connection flow state.
And S220, intercepting data packets corresponding to the states of the plurality of effective Bluetooth connection processes according to the state identification.
In other embodiments, since the bluetooth controller 20 is configured with a plurality of frame synchronizers 218, the bluetooth controller 20 can also listen to the same bluetooth connection process status at the same time for data packets that are expected to be received from different bluetooth devices, and the steps of the bluetooth connection method are as follows, as shown in fig. 14:
in step S500, the setting is in a bluetooth connection flow state according to the application scenario.
S600, data packets of different Bluetooth devices corresponding to the Bluetooth connection process state are intercepted simultaneously.
S700, the Bluetooth device corresponding to the first received data packet completes the Bluetooth connection process.
Then, for the bluetooth controller 20, it may not only simultaneously monitor different data packets corresponding to a plurality of bluetooth connection process states, but also simultaneously monitor different data packets corresponding to different bluetooth devices in the same bluetooth connection process state, and also simultaneously monitor different data packets corresponding to different bluetooth devices in the different bluetooth connection process states, thereby greatly increasing the efficiency and applicability of the bluetooth controller 20 in executing the bluetooth connection process.
Similarly, the bluetooth connection method described above can also be applied to the bluetooth module 50, the bluetooth terminal 60 and the bluetooth system 70, and the difference is only the difference of the application subject.
In summary, the various bluetooth units, devices and connection methods provided by the present invention can not only improve the connection efficiency of the bluetooth device when processing various bluetooth connection procedures, but also be applicable to a complex environment in which a plurality of bluetooth devices are connected, and have advantages in efficiency and cost.
It should be understood that the above-mentioned preferred embodiments are only for illustrating the technical solutions of the present invention, and not for limiting the same, and it will be apparent to those skilled in the art that modifications can be made to the technical solutions described in the above-mentioned preferred embodiments, or equivalent substitutions can be made to some technical features, and all such modifications and substitutions should fall within the scope of the appended claims of the present invention.

Claims (23)

1. A bluetooth controller for use with a bluetooth host, the bluetooth controller comprising:
the radio frequency module is used for receiving and transmitting Bluetooth signals;
the modulation and demodulation module is used for processing Bluetooth signals and comprises at least two frame synchronizers; the at least two frame synchronizers are used for respectively monitoring access codes corresponding to at least two Bluetooth connection process states;
the baseband and link control module is used for controlling the modulation and demodulation module and the radio frequency module to execute a Bluetooth communication process; the baseband and link control module is used for executing a Bluetooth connection process corresponding to a frame synchronizer which firstly generates synchronization;
the link management module is used for controlling the baseband and link control module and managing a Bluetooth communication process;
wherein the link management module is in communication connection with the Bluetooth host.
2. The bluetooth controller according to claim 1, wherein the modem module comprises two frame synchronizers for simultaneously listening to access codes corresponding to the states of two bluetooth connection processes.
3. The bluetooth controller according to claim 1, wherein the modem module comprises three frame synchronizers for simultaneously listening to access codes corresponding to three bluetooth connection process states.
4. The bluetooth controller of claim 1, wherein the modem module comprises more than three frame synchronizers for simultaneously listening to access codes corresponding to more than three bluetooth connection process states.
5. The bluetooth controller according to claim 1, wherein the modem module comprises two frame synchronizers for simultaneously listening to access codes corresponding to two bluetooth devices in the same bluetooth connection process state.
6. The bluetooth controller according to claim 1, wherein the modem module comprises three frame synchronizers for simultaneously listening to access codes corresponding to three bluetooth devices in the same bluetooth connection process state.
7. The bluetooth controller according to claim 1, wherein the modem module comprises a plurality of frame synchronizers for simultaneously listening to access codes corresponding to a plurality of bluetooth devices in the same bluetooth connection process state.
8. The bluetooth controller according to any of claims 4-7, wherein the bluetooth controller performs a bluetooth connection procedure with a bluetooth device corresponding to the frame synchronizer that first generates synchronization.
9. The bluetooth controller according to claim 1, wherein the link management module is provided with a status flag for identifying valid and invalid status of the bluetooth connection procedure, and the baseband and link control module executes the valid bluetooth connection procedure according to the status flag.
10. The bluetooth controller of claim 9, wherein the baseband and link control module starts a frame synchronizer corresponding to a valid bluetooth connection flow state according to the state identifier.
11. A bluetooth module comprising a bluetooth host, further comprising a bluetooth controller according to any one of claims 1 to 10, the bluetooth host being communicatively connected to the bluetooth controller.
12. A bluetooth terminal, characterized in that it comprises a bluetooth module according to claim 11.
13. The bluetooth terminal of claim 12, wherein the bluetooth module is integrated in the bluetooth terminal.
14. The bluetooth terminal according to claim 13, wherein the bluetooth terminal is a smart phone, a smart band, a laptop computer or a bluetooth headset.
15. The bluetooth terminal according to claim 12, wherein the bluetooth terminal is a terminal connected to the bluetooth module through a wired interface.
16. A bluetooth system, comprising the bluetooth terminal according to any one of claims 12 to 15, and further comprising another bluetooth terminal, wherein the bluetooth terminal is connected to the another bluetooth terminal by bluetooth communication.
17. The bluetooth system according to claim 16, wherein the another bluetooth terminal is the bluetooth terminal according to any one of claims 12 to 15.
18. A bluetooth connection method used in the bluetooth controller according to any one of claims 1 to 10, characterized in that the bluetooth connection method comprises:
setting the Bluetooth connection flow in two or more Bluetooth connection flow states according to an application scene;
simultaneously monitoring data packets corresponding to a plurality of Bluetooth connection process states;
and executing the Bluetooth connection process corresponding to the first received data packet.
19. A bluetooth connection method used in the bluetooth controller according to any one of claims 1 to 10, characterized in that the bluetooth connection method comprises:
setting the Bluetooth connection flow state according to an application scene;
simultaneously monitoring data packets of different Bluetooth devices corresponding to the Bluetooth connection process state;
and the Bluetooth device corresponding to the first received data packet completes the Bluetooth connection process.
20. A bluetooth connection method used in the bluetooth module of claim 11, the bluetooth connection method comprising:
setting the Bluetooth connection flow in two or more Bluetooth connection flow states according to an application scene;
simultaneously monitoring data packets corresponding to a plurality of Bluetooth connection process states;
and executing the Bluetooth connection process corresponding to the first received data packet.
21. A bluetooth connection method used in the bluetooth module of claim 11, the bluetooth connection method comprising:
setting the Bluetooth connection flow state according to an application scene;
simultaneously monitoring data packets of different Bluetooth devices corresponding to the Bluetooth connection process state;
and the Bluetooth device corresponding to the first received data packet completes the Bluetooth connection process.
22. A bluetooth connection method used in the bluetooth terminal according to any one of claims 12 to 15, characterized in that the bluetooth connection method comprises:
setting the Bluetooth connection flow in two or more Bluetooth connection flow states according to an application scene;
simultaneously monitoring data packets corresponding to a plurality of Bluetooth connection process states;
and executing the Bluetooth connection process corresponding to the first received data packet.
23. A bluetooth connection method used in the bluetooth terminal according to any one of claims 12 to 15, characterized in that the bluetooth connection method comprises:
setting the Bluetooth connection flow state according to an application scene;
simultaneously monitoring data packets of different Bluetooth devices corresponding to the Bluetooth connection process state;
and the Bluetooth device corresponding to the first received data packet completes the Bluetooth connection process.
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 CN107809756A (en) 2018-03-16
CN107809756B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019191996A1 (en) * 2018-04-04 2019-10-10 华为技术有限公司 Data transmission method and device
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
CN110493338B (en) * 2019-08-20 2022-09-13 深圳柚石物联技术有限公司 Equipment mutual control method, system and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8457097B2 (en) * 2010-04-30 2013-06-04 Broadcom Corporation Communicating with two nodes with overlapping frames

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
蓝牙基带协议及应用模块的分析与研究;卫耀辉;《万方数据知识服务平台》;20101028;正文第2.1.1节及图2.1 *

Also Published As

Publication number Publication date
CN107809756A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN107809756B (en) Bluetooth controller, module, terminal, system and Bluetooth connection method
EP2484173B1 (en) Wlan peer-to-peer group owner negotiation
US8437275B2 (en) Remote wireless service invocation with efficient power use on target wireless device
US9820132B2 (en) Wireless short-range discovery and connection setup using first and second wireless carrier
JP5307024B2 (en) Channel access method for ultra-wideband communication
US7602754B2 (en) Short-range RF access point design enabling services to master and slave mobile devices
US9094424B2 (en) Method, apparatus, and computer program product for digital stream swapping between signal sources
US20070149123A1 (en) Multiple radio usage in a wireless communications device
JP2005518702A (en) Wireless communication apparatus having discovery procedure
JP2003309572A (en) Communication system, apparatus for communication control, method therefor and computer program
US20110103428A1 (en) Method and device for intelligent frequency hopping in a shared frequency band
CN101322354A (en) Wlan combo access point device for interface with wimedia uwb based wireless usb and software layer structure of combo access point device
EP1386451A2 (en) Radio communication arrangements
JP2004040373A (en) Wireless terminal and control method thereof
CN108934046B (en) Method and device for reducing mutual interference between WiFi and ZigBee
EP1536599A1 (en) Scheduling poll packets in bluetooth sniff mode
US20100173584A1 (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
JP5470652B2 (en) Wireless communication system and interference prevention method
WO2022206672A1 (en) Method for discovering and connecting electronic device, and electronic device
CN116233776A (en) Method, device, equipment and storage medium for establishing direct link of multi-link terminal
US20090219974A1 (en) Varying device identities
CN116234064A (en) Bluetooth frequency hopping connection synchronization method and device and electronic equipment
CN117581609A (en) Communication method and communication device thereof
Ahmed et al. Fast Device Discovery and Scatter-net Formation scheme for 802.15. x networks using MICA Mote
JP2002319945A (en) Radio transmitter-receiver

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.