TWI739549B - Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets - Google Patents

Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets Download PDF

Info

Publication number
TWI739549B
TWI739549B TW109127805A TW109127805A TWI739549B TW I739549 B TWI739549 B TW I739549B TW 109127805 A TW109127805 A TW 109127805A TW 109127805 A TW109127805 A TW 109127805A TW I739549 B TWI739549 B TW I739549B
Authority
TW
Taiwan
Prior art keywords
bluetooth
circuit
packet
remote
bluetooth device
Prior art date
Application number
TW109127805A
Other languages
Chinese (zh)
Other versions
TW202116084A (en
Inventor
陳奕錚
黃冠中
洪佳君
林后唯
Original Assignee
瑞昱半導體股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 瑞昱半導體股份有限公司 filed Critical 瑞昱半導體股份有限公司
Priority to US17/030,974 priority Critical patent/US10999728B2/en
Priority to KR1020200127507A priority patent/KR102337260B1/en
Priority to JP2020164039A priority patent/JP6949186B2/en
Publication of TW202116084A publication Critical patent/TW202116084A/en
Application granted granted Critical
Publication of TWI739549B publication Critical patent/TWI739549B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Transceivers (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

A multi-member Bluetooth device for communicating data with a remote Bluetooth device is disclosed including: a main Bluetooth circuit and an auxiliary Bluetooth circuit. In the period during which the auxiliary Bluetooth circuit operates at a relay mode, the main Bluetooth circuit receives packets transmitted from the remote Bluetooth device, and the auxiliary Bluetooth circuit does not sniff packets transmitted from the remote Bluetooth device. But the auxiliary Bluetooth circuit switches from the relay mode to a sniffing mode if the data type of packets transmitted from the remote Bluetooth device changes. In the period during which the auxiliary Bluetooth circuit operates at the sniffing mode, the auxiliary Bluetooth circuit sniffs packets transmitted from the remote Bluetooth device while the main Bluetooth circuit receives packets transmitted from the remote Bluetooth device.

Description

能因應接收到的封包資料類型變化而適應性切換操作模式的多成員藍牙裝置 Multi-member Bluetooth device capable of adaptively switching operation modes in response to changes in received packet data types

本發明涉及藍牙技術,尤指一種能因應接收到的封包資料類型變化而適應性切換操作模式的多成員藍牙裝置。 The present invention relates to Bluetooth technology, in particular to a multi-member Bluetooth device that can adaptively switch operation modes in response to changes in received packet data types.

多成員藍牙裝置指的是由多個互相搭配使用的藍牙電路所組成的藍牙裝置,例如,成對的藍牙耳機、成組的藍牙喇叭等等。當多成員藍牙裝置與其他的藍牙裝置(以下稱之為遠端藍牙裝置)進行連線時,遠端藍牙裝置會將多成員藍牙裝置視為單一藍牙裝置來對待。傳統的多成員藍牙裝置在運作時會將其中一個成員電路設置為主藍牙電路,負責與遠端藍牙裝置進行雙向資料傳輸,而其他成員電路則會被設置為副藍牙電路。 A multi-member Bluetooth device refers to a Bluetooth device composed of multiple Bluetooth circuits that are used in conjunction with each other, such as a pair of Bluetooth headsets, a group of Bluetooth speakers, and so on. When a multi-member Bluetooth device is connected to another Bluetooth device (hereinafter referred to as a remote Bluetooth device), the remote Bluetooth device treats the multi-member Bluetooth device as a single Bluetooth device. When a traditional multi-member Bluetooth device operates, one of the member circuits is set as the main Bluetooth circuit, which is responsible for two-way data transmission with the remote Bluetooth device, while the other member circuits are set as the secondary Bluetooth circuit.

在實際應用中,遠端藍牙裝置傳送給多成員藍牙裝置的封包的資料類型,可能會因當時的操作情境改變而有所不同。例如,當遠端藍牙裝置利用多成員藍牙裝置播放影音資料時,遠端藍牙裝置傳送給多成員藍牙裝置的封包,通常是具有序列碼(sequence number)的多媒體資料。然而,當遠端藍牙裝置傳送更新韌體或程式版本所需的資料給多成員藍牙裝置時,遠端藍牙裝置傳送給多成員藍牙裝置的封包,則通常是不具有序列碼的非多媒體資料(non-multimedia data),例如,程式資料、更新模組等等。 In practical applications, the data type of the packet sent by the remote Bluetooth device to the multi-member Bluetooth device may be different due to changes in the operating situation at the time. For example, when a remote Bluetooth device uses a multi-member Bluetooth device to play video and audio data, the packets sent by the remote Bluetooth device to the multi-member Bluetooth device are usually multimedia data with a sequence number. However, when the remote Bluetooth device sends the data required to update the firmware or program version to the multi-member Bluetooth device, the packet sent by the remote Bluetooth device to the multi-member Bluetooth device is usually non-multimedia data without a serial code ( non-multimedia data), for example, program data, update modules, etc.

在遠端藍牙裝置發出的封包的資料類型變化時,倘若主藍牙電路或副藍牙電路之間的搭配運作不能適應性調整,就容易降低多成員藍牙裝置的整體運作效能、減少待用時間、造成使用上的不便、甚至無法完成特定運作(例如,韌體更新)的問題。 When the data type of the packet sent by the remote Bluetooth device changes, if the matching operation between the main Bluetooth circuit or the auxiliary Bluetooth circuit cannot be adjusted adaptively, it is easy to reduce the overall operating performance of the multi-member Bluetooth device, reduce the standby time, and cause Inconvenience in use, and even inability to complete certain operations (for example, firmware update).

有鑑於此,如何避免或降低遠端藍牙裝置發出的封包的資料類型變化對多成員藍牙裝置造成的影響,實為有待解決的問題。 In view of this, how to avoid or reduce the impact of the data type change of the packet sent by the remote Bluetooth device on the multi-member Bluetooth device is a problem to be solved.

本說明書提供一種用於與一遠端藍牙裝置進行資料傳輸的多成員藍牙裝置的實施例,其包含:一主藍牙電路,包含:一第一藍牙通信電路;一第一封包解析電路,設置成解析該第一藍牙通信電路接收到的封包;以及一第一控制電路,耦接於該第一藍牙通信電路與該第一封包解析電路;以及一副藍牙電路,設置成可選擇性操作於一嗅探模式或一間接收訊模式,該副藍牙電路包含:一第二藍牙通信電路;一第二封包解析電路,設置成解析該第二藍牙通信電路接收到的封包;以及一第二控制電路,耦接於該第二藍牙通信電路與該第二封包解析電路;其中,在該副藍牙電路操作於該間接收訊模式的期間,該第一控制電路會利用該第一藍牙通信電路接收該遠端藍牙裝置傳來的封包,並利用該第一藍牙通信電路將接收到的封包轉傳給該副藍牙電路,且該第二控制電路會利用該第二藍牙通信電路接收該第一藍牙通信電路轉傳過來的封包,但該第二控制電路不會利用該第二藍牙通信電路嗅探該遠端藍牙裝置發出的封包;在該遠端藍牙裝置傳來的封包的資料類型發生改變的情況下,該副藍牙電路會從該間接收訊模式切換成該嗅探模式;以及在該副藍牙電路操作於該嗅探模式的期間,該第一控制電路會利用該第一藍牙通信電路接收該遠端藍牙裝置傳來的封包,且該第二控制電路會利用該第二藍牙通信電路嗅探該遠端藍牙裝置發出的封包。 This specification provides an embodiment of a multi-member Bluetooth device for data transmission with a remote Bluetooth device, which includes: a main Bluetooth circuit, including: a first Bluetooth communication circuit; a first packet analysis circuit, configured as Parsing the packet received by the first Bluetooth communication circuit; and a first control circuit coupled to the first Bluetooth communication circuit and the first packet parsing circuit; and a pair of Bluetooth circuits configured to selectively operate on a In a sniffing mode or a receiving mode, the secondary Bluetooth circuit includes: a second Bluetooth communication circuit; a second packet analysis circuit configured to analyze the packets received by the second Bluetooth communication circuit; and a second control circuit , Coupled to the second Bluetooth communication circuit and the second packet parsing circuit; wherein, while the secondary Bluetooth circuit is operating in the inter-receiving mode, the first control circuit uses the first Bluetooth communication circuit to receive the A packet from a remote Bluetooth device, and use the first Bluetooth communication circuit to forward the received packet to the secondary Bluetooth circuit, and the second control circuit will use the second Bluetooth communication circuit to receive the first Bluetooth communication The packet transmitted by the circuit, but the second control circuit will not use the second Bluetooth communication circuit to sniff the packet sent by the remote Bluetooth device; the data type of the packet transmitted from the remote Bluetooth device has changed Next, the secondary Bluetooth circuit will switch from the receiving mode to the sniffing mode; and while the secondary Bluetooth circuit is operating in the sniffing mode, the first control circuit will use the first Bluetooth communication circuit to receive the The packet sent by the remote Bluetooth device, and the second control circuit will use the second Bluetooth communication circuit to sniff the packet sent by the remote Bluetooth device.

上述實施例的優點之一,是多成員藍牙裝置會在遠端藍牙裝置傳來 的封包的資料類型發生改變時,適應性的調整副藍牙電路的操作模式。 One of the advantages of the above embodiment is that the multi-member Bluetooth device will be transmitted from the remote Bluetooth device When the data type of the packet changes, adaptively adjust the operating mode of the secondary Bluetooth circuit.

上述實施例的另一優點,是可降低主藍牙電路的工作量、主藍牙電路與副藍牙電路之間的資料頻寬需求、主藍牙電路的電力消耗、發熱量、和/或溫度。 Another advantage of the above embodiment is that it can reduce the workload of the main Bluetooth circuit, the data bandwidth requirements between the main Bluetooth circuit and the auxiliary Bluetooth circuit, and the power consumption, heat generation, and/or temperature of the main Bluetooth circuit.

上述實施例的另一優點,是可延長主藍牙電路的待用時間或使用壽命、和/或提升主藍牙電路的使用舒適度。 Another advantage of the above embodiment is that the standby time or service life of the main Bluetooth circuit can be prolonged, and/or the comfort of the main Bluetooth circuit can be improved.

本發明的其他優點將搭配以下的說明和圖式進行更詳細的解說。 Other advantages of the present invention will be explained in more detail with the following description and drawings.

100:多成員藍牙裝置(multi-member Bluetooth device) 100: multi-member Bluetooth device

102:遠端藍牙裝置(remote Bluetooth device) 102: remote Bluetooth device

110:第一藍牙電路(first Bluetooth circuit) 110: first Bluetooth circuit

111:第一藍牙通信電路(first Bluetooth communication circuit) 111: first Bluetooth communication circuit

113:第一封包解析電路(first packet parsing circuit) 113: first packet parsing circuit

115:第一時脈同步電路(first clock synchronizing circuit) 115: first clock synchronizing circuit

117:第一控制電路(first control circuit) 117: first control circuit

120:第二藍牙電路(second Bluetooth circuit) 120: second Bluetooth circuit

121:第二藍牙通信電路(second Bluetooth communication circuit) 121: second Bluetooth communication circuit

123:第二封包解析電路(second packet parsing circuit) 123: second packet parsing circuit

125:第二時脈同步電路(second clock synchronizing circuit) 125: second clock synchronizing circuit

127:第二控制電路(second control circuit) 127: second control circuit

130:第三藍牙電路(third Bluetooth circuit) 130: third Bluetooth circuit

圖1為本發明一實施例的多成員藍牙裝置簡化後的功能方塊圖。 FIG. 1 is a simplified functional block diagram of a multi-member Bluetooth device according to an embodiment of the present invention.

圖2至圖3為本發明的多成員藍牙裝置在一第一實施例中的運作方法簡化後的流程圖。 2 to 3 are simplified flowcharts of the operation method of the multi-member Bluetooth device of the present invention in a first embodiment.

圖4至圖5為本發明的多成員藍牙裝置在一第二實施例中的運作方法簡化後的流程圖。 4 to 5 are simplified flowcharts of the operation method of the multi-member Bluetooth device of the present invention in a second embodiment.

圖6至圖7為本發明的多成員藍牙裝置在一第三實施例中的運作方法簡化後的流程圖。 6 to 7 are simplified flowcharts of the operation method of the multi-member Bluetooth device of the present invention in a third embodiment.

圖8至圖9為本發明的多成員藍牙裝置在一第四實施例中的運作方法簡化後的流程圖。 8 to 9 are simplified flowcharts of the operation method of the multi-member Bluetooth device of the present invention in a fourth embodiment.

圖10至圖11為本發明的多成員藍牙裝置在一第五實施例中的運作方法簡化後的流程圖。 10 to 11 are simplified flowcharts of the operation method of the multi-member Bluetooth device of the present invention in a fifth embodiment.

以下將配合相關圖式來說明本發明的實施例。在圖式中,相同的標號表示相同或類似的元件或方法流程。 The embodiments of the present invention will be described below in conjunction with related drawings. In the drawings, the same reference numerals indicate the same or similar elements or method flows.

圖1為本發明一實施例的多成員藍牙裝置100簡化後的功能方塊圖。多成員藍牙裝置100用於與一遠端藍牙裝置102進行資料傳輸,且包含多個成員電路(member circuit)。為了方便說明起見,在圖1的實施例中僅繪示三個成員電路,分別是第一藍牙電路110、第二藍牙電 路120、以及第三藍牙電路130。 FIG. 1 is a simplified functional block diagram of a multi-member Bluetooth device 100 according to an embodiment of the present invention. The multi-member Bluetooth device 100 is used for data transmission with a remote Bluetooth device 102, and includes a plurality of member circuits. For the convenience of description, only three member circuits are shown in the embodiment of FIG. 1, namely the first Bluetooth circuit 110 and the second Bluetooth circuit. Road 120, and the third Bluetooth circuit 130.

在本實施例中,多成員藍牙裝置100中的所有成員電路都有類似的主要電路架構,但在不同的成員電路中可以設置不同的額外電路元件,而不侷限所有成員電路的電路結構都要完全相同。例如,如圖1所示,第一藍牙電路110包含有一第一藍牙通信電路111、一第一封包解析電路113、一第一時脈同步電路115、以及一第一控制電路117。相仿地,第二藍牙電路120包含有一第二藍牙通信電路121、一第二封包解析電路123、一第二時脈同步電路125、以及一第二控制電路127。 In this embodiment, all member circuits in the multi-member Bluetooth device 100 have similar main circuit architectures, but different additional circuit elements can be set in different member circuits, and the circuit structure of all member circuits is not limited. Exactly the same. For example, as shown in FIG. 1, the first Bluetooth circuit 110 includes a first Bluetooth communication circuit 111, a first packet analysis circuit 113, a first clock synchronization circuit 115, and a first control circuit 117. Similarly, the second Bluetooth circuit 120 includes a second Bluetooth communication circuit 121, a second packet analysis circuit 123, a second clock synchronization circuit 125, and a second control circuit 127.

第三藍牙電路130內部的主要電路元件也跟前述第一藍牙電路110或第二藍牙電路120類似,但為了簡潔起見,並未將第三藍牙電路130的內部電路元件繪示在圖1中。 The main circuit elements inside the third Bluetooth circuit 130 are also similar to the aforementioned first Bluetooth circuit 110 or the second Bluetooth circuit 120, but for the sake of brevity, the internal circuit elements of the third Bluetooth circuit 130 are not shown in FIG. 1 .

在第一藍牙電路110中,第一藍牙通信電路111可用於跟其他藍牙裝置進行資料通信。第一封包解析電路113可用於解析第一藍牙通信電路111接收到的藍牙封包。第一時脈同步電路115耦接於第一封包解析電路113,可用於調整第一藍牙電路110所使用的時脈信號,以同步第一藍牙電路110與其他藍牙裝置之間所使用的微微網時脈(piconet clock)。 In the first Bluetooth circuit 110, the first Bluetooth communication circuit 111 can be used for data communication with other Bluetooth devices. The first packet parsing circuit 113 can be used to analyze the Bluetooth packet received by the first Bluetooth communication circuit 111. The first clock synchronization circuit 115 is coupled to the first packet parsing circuit 113, and can be used to adjust the clock signal used by the first Bluetooth circuit 110 to synchronize the piconet used between the first Bluetooth circuit 110 and other Bluetooth devices Clock (piconet clock).

第一控制電路117耦接於第一藍牙通信電路111、第一封包解析電路113、與第一時脈同步電路115,設置成控制前述電路的運作方式。在運作時,第一控制電路117可透過第一藍牙通信電路111以藍牙無線傳輸方式直接與遠端藍牙裝置102進行資料通信,以及透過第一藍牙通信電路111與其他成員電路進行資料通信。第一控制電路117還會利用第一封包解析電路113解析第一藍牙通信電路111所接收到的封包,以獲取相關的資料或指令。 The first control circuit 117 is coupled to the first Bluetooth communication circuit 111, the first packet analysis circuit 113, and the first clock synchronization circuit 115, and is configured to control the operation of the aforementioned circuits. In operation, the first control circuit 117 can directly communicate with the remote Bluetooth device 102 through the first Bluetooth communication circuit 111 in a Bluetooth wireless transmission mode, and communicate with other member circuits through the first Bluetooth communication circuit 111. The first control circuit 117 also uses the first packet parsing circuit 113 to analyze the packets received by the first Bluetooth communication circuit 111 to obtain related data or instructions.

在第二藍牙電路120中,第二藍牙通信電路121可用於跟其他藍牙裝置進行資料通信。第二封包解析電路123可用於解析第二藍牙通信 電路121接收到的藍牙封包。第二時脈同步電路125耦接於第二封包解析電路123,可用於調整第二藍牙電路120所使用的時脈信號,以同步第二藍牙電路120與其他藍牙裝置之間所使用的微微網時脈。 In the second Bluetooth circuit 120, the second Bluetooth communication circuit 121 can be used for data communication with other Bluetooth devices. The second packet parsing circuit 123 can be used to analyze the second Bluetooth communication The Bluetooth packet received by the circuit 121. The second clock synchronization circuit 125 is coupled to the second packet parsing circuit 123, and can be used to adjust the clock signal used by the second Bluetooth circuit 120 to synchronize the piconet used between the second Bluetooth circuit 120 and other Bluetooth devices. Clock.

第二控制電路127耦接於第二藍牙通信電路121、第二封包解析電路123、與第二時脈同步電路125,設置成控制前述電路的運作方式。在運作時,第二控制電路127可透過第二藍牙通信電路121以藍牙無線傳輸方式與其他藍牙裝置進行資料通信,以及透過第二藍牙通信電路121與其他成員電路進行資料通信。第二控制電路127還會利用第二封包解析電路123解析第二藍牙通信電路121所接收到的封包,以獲取相關的資料或指令。 The second control circuit 127 is coupled to the second Bluetooth communication circuit 121, the second packet analysis circuit 123, and the second clock synchronization circuit 125, and is configured to control the operation of the aforementioned circuits. In operation, the second control circuit 127 can communicate data with other Bluetooth devices through the second Bluetooth communication circuit 121 in a Bluetooth wireless transmission mode, and communicate data with other member circuits through the second Bluetooth communication circuit 121. The second control circuit 127 also uses the second packet analysis circuit 123 to parse the packet received by the second Bluetooth communication circuit 121 to obtain relevant data or instructions.

實作上,前述的第一藍牙通信電路111與第二藍牙通信電路121,皆可用能夠支援各種版本的藍牙通信協定的合適無線通信電路來實現。前述的第一封包解析電路113與第二封包解析電路123,皆可用各種封包解調變電路、數位運算電路、微處理器、或是特殊應用積體電路(Application Specific Integrated Circuit,ASIC)來實現。前述的第一時脈同步電路115與第二時脈同步電路125,皆可用各種能夠比對及調整時脈頻率和/或時脈相位的合適電路來實現。前述的第一控制電路117與第二控制電路127,皆可用具有適當運算能力的各種微處理器或數位信號處理電路來實現。 In practice, both the aforementioned first Bluetooth communication circuit 111 and the second Bluetooth communication circuit 121 can be implemented by suitable wireless communication circuits that can support various versions of Bluetooth communication protocols. Both the aforementioned first packet analysis circuit 113 and the second packet analysis circuit 123 can be implemented by various packet demodulation circuits, digital arithmetic circuits, microprocessors, or application specific integrated circuits (ASICs). accomplish. The aforementioned first clock synchronization circuit 115 and the second clock synchronization circuit 125 can be implemented by various suitable circuits that can compare and adjust the clock frequency and/or clock phase. Both the aforementioned first control circuit 117 and the second control circuit 127 can be implemented by various microprocessors or digital signal processing circuits with appropriate computing capabilities.

在某些實施例中,也可以將第一時脈同步電路115或第二時脈同步電路125整合到第一控制電路117或第二控制電路127中。另外,也可以將前述的第一封包解析電路113與第二封包解析電路123,分別整合到前述的第一藍牙通信電路111與第二藍牙通信電路121中。 In some embodiments, the first clock synchronization circuit 115 or the second clock synchronization circuit 125 may also be integrated into the first control circuit 117 or the second control circuit 127. In addition, the aforementioned first packet analysis circuit 113 and the second packet analysis circuit 123 may be integrated into the aforementioned first Bluetooth communication circuit 111 and the second Bluetooth communication circuit 121, respectively.

換言之,前述的第一藍牙通信電路111與第一封包解析電路113有可能用不同的電路來實現,也可能用同一個電路來實現。同樣地,前述的第二藍牙通信電路121與第二封包解析電路123有可能用不同的電路來實現,也可能用同一個電路來實現。 In other words, the aforementioned first Bluetooth communication circuit 111 and the first packet analysis circuit 113 may be implemented by different circuits, or may be implemented by the same circuit. Similarly, the aforementioned second Bluetooth communication circuit 121 and the second packet analysis circuit 123 may be implemented by different circuits, or may be implemented by the same circuit.

在應用時,也可以將前述第一藍牙電路110中的不同功能方塊整合在一單一電路晶片中。例如,第一藍牙電路110中的所有功能方塊可以整合在一單一藍牙控制晶片(Bluetooth controller IC)中。同樣地,第二藍牙電路120中的所有功能方塊也可以整合在另一個單一藍牙控制晶片中。 In application, different functional blocks in the aforementioned first Bluetooth circuit 110 can also be integrated into a single circuit chip. For example, all the functional blocks in the first Bluetooth circuit 110 can be integrated into a single Bluetooth controller IC. Similarly, all the functional blocks in the second Bluetooth circuit 120 can also be integrated into another single Bluetooth control chip.

由前述說明可知,多成員藍牙裝置100中的不同成員電路可以透過各自的藍牙通信電路彼此進行資料通信,以形成各式型態的資料網路或資料鏈路。當多成員藍牙裝置100與遠端藍牙裝置102進行資料通信時,遠端藍牙裝置102會將多成員藍牙裝置100視為單一藍牙裝置來對待,而多成員藍牙裝置100的多個成員電路在同一時間中,會選擇一個成員電路扮演主藍牙電路(main Bluetooth circuit)的角色,以處理接收遠端藍牙裝置102發出的封包的主要工作,而其他的成員電路則扮演副藍牙電路(auxiliary Bluetooth circuit)的角色。 As can be seen from the foregoing description, different member circuits in the multi-member Bluetooth device 100 can communicate with each other through their respective Bluetooth communication circuits to form various types of data networks or data links. When the multi-member Bluetooth device 100 communicates with the remote Bluetooth device 102, the remote Bluetooth device 102 treats the multi-member Bluetooth device 100 as a single Bluetooth device, and the multiple member circuits of the multi-member Bluetooth device 100 are on the same During the time, a member circuit will be selected to play the role of the main Bluetooth circuit to handle the main task of receiving packets from the remote Bluetooth device 102, while the other member circuits will play the auxiliary Bluetooth circuit. character of.

主藍牙電路可採用各種已知的機制接收遠端藍牙裝置102發出的封包,而副藍牙電路則可在主藍牙電路運作的過程中,利用適當的機制獲取遠端藍牙裝置102發出的封包。 The main Bluetooth circuit can use various known mechanisms to receive packets sent by the remote Bluetooth device 102, and the secondary Bluetooth circuit can use an appropriate mechanism to obtain the packets sent by the remote Bluetooth device 102 during the operation of the main Bluetooth circuit.

例如,在主藍牙電路接收遠端藍牙裝置102發出的封包的過程中,副藍牙電路可操作在一嗅探模式(sniffing mode)以主動嗅探遠端藍牙裝置102發出的封包。或者,副藍牙電路可操作在一間接收訊模式(relay mode),只被動地接收主藍牙電路接收到遠端藍牙裝置102發出的封包後所轉傳來的封包,而不主動嗅探遠端藍牙裝置102發出的封包。前述兩種情境下的主藍牙電路與副藍牙電路個別的運作方式,將會在後續的段落中詳細說明。 For example, when the main Bluetooth circuit receives the packet sent by the remote Bluetooth device 102, the secondary Bluetooth circuit can operate in a sniffing mode to actively sniff the packet sent by the remote Bluetooth device 102. Alternatively, the secondary Bluetooth circuit can operate in a relay mode, and only passively receive the packets forwarded after the primary Bluetooth circuit receives the packets sent by the remote Bluetooth device 102, instead of actively sniffing the remote A packet sent by the Bluetooth device 102. The operation modes of the primary Bluetooth circuit and the secondary Bluetooth circuit in the aforementioned two scenarios will be described in detail in the following paragraphs.

請注意,在說明書及申請專利範圍中所指稱的「主藍牙電路」與「副藍牙電路」兩個名詞,只是為了方便區分不同成員電路接收遠端藍牙裝置102發出的封包的方式有所不同,並不表示主藍牙電路對於副藍牙電路的其他運作面向上是否具有某種程度的控制權限。 Please note that the terms "main Bluetooth circuit" and "secondary Bluetooth circuit" mentioned in the specification and the scope of the patent application are just for the convenience of distinguishing different member circuits in different ways of receiving packets from the remote Bluetooth device 102. It does not mean whether the main Bluetooth circuit has a certain degree of control authority over other operations of the secondary Bluetooth circuit.

另外,在多成員藍牙裝置100的運作過程中,主藍牙電路與副藍牙電路的角色也可以動態交換。例如,主藍牙電路可間歇性評估自己的運算負荷、剩餘電力、溫度、和/或操作環境等操作參數,並在前述操作參數滿足某些預定條件的情況下,將主藍牙電路的角色交接給其他副藍牙電路。 In addition, during the operation of the multi-member Bluetooth device 100, the roles of the primary Bluetooth circuit and the secondary Bluetooth circuit can also be dynamically exchanged. For example, the main Bluetooth circuit can intermittently evaluate its own operating parameters such as computing load, surplus power, temperature, and/or operating environment, and when the aforementioned operating parameters meet certain predetermined conditions, the role of the main Bluetooth circuit can be handed over to Other auxiliary Bluetooth circuits.

又例如,主藍牙電路可間歇性比較自己的前述操作參數與其他副藍牙電路的操作參數之間的差距,並在主藍牙電路的操作參數與副藍牙電路的操作參數之間的差距超過一預定程度時,將主藍牙電路的角色交接給其他副藍牙電路。 For another example, the main Bluetooth circuit can intermittently compare the gap between its aforementioned operating parameters and the operating parameters of other secondary Bluetooth circuits, and the gap between the operating parameters of the primary Bluetooth circuit and the operating parameters of the secondary Bluetooth circuit exceeds a predetermined value. At the same time, the role of the main Bluetooth circuit is handed over to other secondary Bluetooth circuits.

又例如,主藍牙電路也可間歇性地將自己的藍牙封包遺失率與其他副藍牙電路的藍牙封包遺失率進行比較,並在其他副藍牙電路的藍牙封包遺失率比較低的情況下,將主藍牙電路的角色交接給其他副藍牙電路。 For another example, the main Bluetooth circuit can also intermittently compare its own Bluetooth packet loss rate with the Bluetooth packet loss rate of other secondary Bluetooth circuits, and when the Bluetooth packet loss rate of other secondary Bluetooth circuits is relatively low, the primary Bluetooth circuit The role of the Bluetooth circuit is handed over to other secondary Bluetooth circuits.

實作上,主藍牙電路也可將前述的各種評估條件,都一起納入綜合考慮中,以判斷是否要將主藍牙電路的角色交接給其他副藍牙電路。 In practice, the main Bluetooth circuit can also take the aforementioned various evaluation conditions into comprehensive consideration to determine whether to transfer the role of the main Bluetooth circuit to other secondary Bluetooth circuits.

或者,副藍牙電路也可採用各種方式來判斷主藍牙電路是否失能或失蹤,並在判定主藍牙電路失能或失蹤時,由副藍牙電路取代舊的主藍牙電路的地位,主動接續扮演主藍牙電路的角色。 Alternatively, the secondary Bluetooth circuit can also use various methods to determine whether the main Bluetooth circuit is disabled or missing, and when the primary Bluetooth circuit is determined to be disabled or missing, the secondary Bluetooth circuit will replace the old primary Bluetooth circuit and actively continue to play the role of the primary Bluetooth circuit. The role of the Bluetooth circuit.

如前所述,在實際應用中,遠端藍牙裝置102傳送給多成員藍牙裝置100的封包的資料類型,可能會因當時的操作情境改變而有所不同。例如,當使用者操控遠端藍牙裝置102利用多成員藍牙裝置100播放影音資料時,遠端藍牙裝置102傳送給多成員藍牙裝置100的封包,通常是具有序列碼的多媒體資料。然而,當使用者利用遠端藍牙裝置102傳送更新韌體或程式版本所需的資料給多成員藍牙裝置100時,遠端藍牙裝置102傳送給多成員藍牙裝置100的封包,則通常是不具有序列碼的非多媒體資料,例如,程式資料、更新模組等等。在遠端藍牙裝置102發出的封包的資料類型變化、但主藍牙電 路與副藍牙電路的角色沒有交換的情況下,倘若主藍牙電路或副藍牙電路之間的搭配運作不能適應性調整,就可能導致主藍牙電路無法有效確認副藍牙電路是否遺漏封包;可能導致主藍牙電路電力消耗較快、發熱量較高、和/或溫度較高;可能降低主藍牙電路的使用舒適度;可能降低多成員藍牙裝置100的整體運作效能、和/或減少待用時間;可能造成多成員藍牙裝置100使用上的不便;也可能造成副藍牙電路容易遺漏封包而無法完成特定運作(例如,韌體更新)的問題。 As mentioned above, in actual applications, the data type of the packet sent by the remote Bluetooth device 102 to the multi-member Bluetooth device 100 may be different due to the change of the operating situation at the time. For example, when a user manipulates the remote Bluetooth device 102 to use the multi-member Bluetooth device 100 to play video and audio data, the packets sent by the remote Bluetooth device 102 to the multi-member Bluetooth device 100 are usually multimedia data with serial codes. However, when the user uses the remote Bluetooth device 102 to send the data required to update the firmware or program version to the multi-member Bluetooth device 100, the packet sent by the remote Bluetooth device 102 to the multi-member Bluetooth device 100 usually does not have Non-multimedia data of the serial code, such as program data, update modules, etc. The data type of the packet sent by the remote Bluetooth device 102 changes, but the main Bluetooth device 102 When the roles of the main Bluetooth circuit and the auxiliary Bluetooth circuit are not exchanged, if the matching operation between the main Bluetooth circuit or the auxiliary Bluetooth circuit cannot be adjusted adaptively, the main Bluetooth circuit may not be able to effectively confirm whether the auxiliary Bluetooth circuit misses packets; The Bluetooth circuit consumes more power, heats up, and/or the temperature is higher; it may reduce the comfort of the main Bluetooth circuit; it may reduce the overall operating efficiency of the multi-member Bluetooth device 100 and/or reduce the standby time; possible This causes inconvenience in the use of the multi-member Bluetooth device 100; it may also cause the problem that the secondary Bluetooth circuit easily misses packets and cannot complete a specific operation (for example, firmware update).

為了避免前述問題,多成員藍牙裝置100會在運作的過程中,動態監測遠端藍牙裝置102傳來的封包的資料類型是否發生變化。 In order to avoid the aforementioned problems, the multi-member Bluetooth device 100 dynamically monitors whether the data type of the packet transmitted from the remote Bluetooth device 102 changes during the operation.

以下將搭配圖2至圖3來進一步說明多成員藍牙裝置100的運作方式。圖2至圖3為本發明的多成員藍牙裝置100在一第一實施例中的運作方法簡化後的流程圖。 Hereinafter, the operation mode of the multi-member Bluetooth device 100 will be further described in conjunction with FIGS. 2 to 3. 2 to 3 are simplified flowcharts of the operation method of the multi-member Bluetooth device 100 in a first embodiment of the present invention.

在圖2至圖3的流程圖中,位於一特定裝置所屬欄位中的流程,即代表由該特定裝置所進行的流程。例如,標記在「主藍牙電路」欄位中的部分,是由扮演主藍牙電路的成員電路所進行的流程;標記在「副藍牙電路」欄位中的部分,是由扮演副藍牙電路的成員電路所進行的流程,前述的邏輯也適用於後續的其他流程圖中。 In the flowcharts of FIGS. 2 to 3, the process located in the column of a specific device represents the process performed by the specific device. For example, the part marked in the "Main Bluetooth circuit" field is the process performed by the member circuit playing the main Bluetooth circuit; the part marked in the "Secondary Bluetooth circuit" field is the process performed by the member playing the secondary Bluetooth circuit The flow of the circuit, the aforementioned logic is also applicable to other subsequent flow charts.

如圖2所示,當使用者利用多成員藍牙裝置100接收遠端藍牙裝置102所發出的具有序列碼(sequence number)的封包(例如,影音資料)時,多成員藍牙裝置100會先進行流程202,以獲取用於接收遠端藍牙裝置102發出的封包所需的藍牙連線參數。實作上,多成員藍牙裝置100可利用任何一個成員電路先與遠端藍牙裝置102進行連線取得相關的藍牙連線參數,再利用該成員電路將取得的藍牙連線參數傳送給其他成員電路。 As shown in FIG. 2, when the user uses the multi-member Bluetooth device 100 to receive a packet (for example, audio and video data) with a sequence number sent by the remote Bluetooth device 102, the multi-member Bluetooth device 100 will first perform the process 202 to obtain Bluetooth connection parameters required for receiving the packet sent by the remote Bluetooth device 102. In practice, the multi-member Bluetooth device 100 can use any member circuit to first connect with the remote Bluetooth device 102 to obtain related Bluetooth connection parameters, and then use the member circuit to transmit the acquired Bluetooth connection parameters to other member circuits. .

例如,在一實施例中,第一藍牙電路110的第一控制電路117可在流程202中控制第一藍牙通信電路111與遠端藍牙裝置102建立藍牙連 線,並將第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數,透過第一藍牙通信電路111傳送給第二藍牙電路120等其他成員電路,以便其他成員電路接下來能夠利用藍牙連線參數來接收遠端藍牙裝置102發出的封包。 For example, in one embodiment, the first control circuit 117 of the first Bluetooth circuit 110 can control the first Bluetooth communication circuit 111 to establish a Bluetooth connection with the remote Bluetooth device 102 in the process 202. The Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 are transmitted to the second Bluetooth circuit 120 and other member circuits through the first Bluetooth communication circuit 111, so that other member circuits can use The Bluetooth connection parameter is used to receive the packet sent by the remote Bluetooth device 102.

又例如,在另一實施例中,第二藍牙電路120的第二控制電路127可在流程202中控制第二藍牙通信電路121與遠端藍牙裝置102建立藍牙連線,並將第二藍牙電路120與遠端藍牙裝置102之間的藍牙連線參數,透過第二藍牙通信電路121傳送給其他成員電路,以便其他成員電路接下來能夠利用藍牙連線參數來接收遠端藍牙裝置102發出的封包。另一方面,第二控制電路127還可在流程202中將第二藍牙電路120的裝置識別資料、以及第二藍牙電路120與遠端藍牙裝置102之間的藍牙連線參數,透過第二藍牙通信電路121傳送給第一藍牙電路110,以便第一藍牙電路110在後續的流程中能夠與遠端藍牙裝置102進行雙向封包傳輸。之後,第二藍牙電路120便會改成只單向接收遠端藍牙裝置102發出的封包,而不會再傳送封包給遠端藍牙裝置102,以避免遠端藍牙裝置102出現封包衝突的問題。 For another example, in another embodiment, the second control circuit 127 of the second Bluetooth circuit 120 can control the second Bluetooth communication circuit 121 to establish a Bluetooth connection with the remote Bluetooth device 102 in the process 202, and connect the second Bluetooth circuit The Bluetooth connection parameters between 120 and the remote Bluetooth device 102 are transmitted to other member circuits through the second Bluetooth communication circuit 121, so that other member circuits can use the Bluetooth connection parameters to receive packets from the remote Bluetooth device 102 . On the other hand, the second control circuit 127 can also convert the device identification data of the second Bluetooth circuit 120 and the Bluetooth connection parameters between the second Bluetooth circuit 120 and the remote Bluetooth device 102 in the process 202 through the second Bluetooth The communication circuit 121 transmits to the first Bluetooth circuit 110 so that the first Bluetooth circuit 110 can perform bidirectional packet transmission with the remote Bluetooth device 102 in the subsequent process. After that, the second Bluetooth circuit 120 will be changed to only receive packets sent by the remote Bluetooth device 102 in one direction, and will not send packets to the remote Bluetooth device 102 to avoid the problem of packet conflicts in the remote Bluetooth device 102.

為了方便說明起見,以下假設在多成員藍牙裝置100中當前被選來處理接收遠端藍牙裝置102發出的封包的主要工作的成員電路是第一藍牙電路110,而其他的成員電路(例如,前述的第二藍牙電路120與第三藍牙電路130)則扮演副藍牙電路的角色。 For the convenience of description, the following assumes that in the multi-member Bluetooth device 100, the main member circuit currently selected to process the packet sent by the remote Bluetooth device 102 is the first Bluetooth circuit 110, and the other member circuits (for example, The aforementioned second Bluetooth circuit 120 and third Bluetooth circuit 130) play the role of a secondary Bluetooth circuit.

在流程204中,第一藍牙電路110可透過第一藍牙通信電路111通知多成員藍牙裝置100中的其他成員電路(例如,前述的第二藍牙電路120與第三藍牙電路130),接下來將由第一藍牙電路110扮演主藍牙電路的角色,並指示其他成員電路扮演副藍牙電路的角色,且操作在嗅探模式。亦即,接下來將由第一藍牙電路110負責處理接收遠端藍牙裝置102發出的封包的主要工作,而其他成員電路只能嗅探遠端藍牙裝置102發出的封包,但不允許傳送指令、資料、或其他 相關封包給遠端藍牙裝置102。 In the process 204, the first Bluetooth circuit 110 may notify other member circuits in the multi-member Bluetooth device 100 (for example, the aforementioned second Bluetooth circuit 120 and third Bluetooth circuit 130) through the first Bluetooth communication circuit 111, and then The first Bluetooth circuit 110 plays the role of the main Bluetooth circuit and instructs other member circuits to play the role of the secondary Bluetooth circuit and operate in the sniffing mode. That is, the first Bluetooth circuit 110 will be responsible for the main work of receiving packets sent by the remote Bluetooth device 102, and other member circuits can only sniff the packets sent by the remote Bluetooth device 102, but are not allowed to send commands and data. ,or others The relevant packet is sent to the remote Bluetooth device 102.

接著,在副藍牙電路操作在嗅探模式的期間,第一藍牙電路110會進行流程206。 Then, while the secondary Bluetooth circuit is operating in the sniffing mode, the first Bluetooth circuit 110 will perform the process 206.

在流程206中,第一藍牙電路110的第一控制電路117會利用第一藍牙通信電路111接收遠端藍牙裝置102傳來的具有序列碼的封包,但第一控制電路117不會透過第一藍牙通信電路111將遠端藍牙裝置102傳來的封包轉傳給其他副藍牙電路。 In the process 206, the first control circuit 117 of the first Bluetooth circuit 110 will use the first Bluetooth communication circuit 111 to receive the packet with the serial code from the remote Bluetooth device 102, but the first control circuit 117 will not pass the first control circuit 117. The Bluetooth communication circuit 111 forwards the packets from the remote Bluetooth device 102 to other secondary Bluetooth circuits.

在運作時,第一控制電路117可透過第一藍牙通信電路111利用在流程202中所獲取的藍牙連線參數與遠端藍牙裝置102進行封包傳輸,以接收遠端藍牙裝置102傳來的各種封包,或是傳送各種封包給遠端藍牙裝置102。由前述流程202的運作說明可知,第一藍牙電路110與遠端藍牙裝置102進行封包傳輸時所使用的藍牙連線參數,有可能是第一藍牙電路110自己獲取的,也可能是其他成員電路(例如,第二藍牙電路120)傳來的。 In operation, the first control circuit 117 can use the Bluetooth connection parameters acquired in the process 202 to perform packet transmission with the remote Bluetooth device 102 through the first Bluetooth communication circuit 111, so as to receive various transmissions from the remote Bluetooth device 102. Packets, or send various packets to the remote Bluetooth device 102. According to the operation description of the aforementioned process 202, the Bluetooth connection parameters used by the first Bluetooth circuit 110 and the remote Bluetooth device 102 for packet transmission may be acquired by the first Bluetooth circuit 110 itself, or may be other member circuits. (For example, the second Bluetooth circuit 120).

每次第一藍牙通信電路111接收到遠端藍牙裝置102傳來的封包時,第一藍牙電路110的第一控制電路117可透過第一藍牙通信電路111傳送一相應的確認信息(acknowledge message)給遠端藍牙裝置102。倘若遠端藍牙裝置102沒有收到特定封包的相應確認信息,便會重傳該特定封包給第一藍牙通信電路111。實作上,第一藍牙電路110與遠端藍牙裝置102之間可以採用各種合適的封包交握(handshake)機制,以降低或避免遺漏封包的情況發生。 Every time the first Bluetooth communication circuit 111 receives a packet from the remote Bluetooth device 102, the first control circuit 117 of the first Bluetooth circuit 110 can transmit a corresponding acknowledgement message through the first Bluetooth communication circuit 111 To the remote Bluetooth device 102. If the remote Bluetooth device 102 does not receive the corresponding confirmation information of the specific packet, it will retransmit the specific packet to the first Bluetooth communication circuit 111. In practice, various suitable packet handshake mechanisms can be used between the first Bluetooth circuit 110 and the remote Bluetooth device 102 to reduce or avoid the occurrence of packet missing.

另一方面,在主藍牙電路接收遠端藍牙裝置102發出的封包的過程中,扮演副藍牙電路角色的其他成員電路會進行流程208,持續操作在嗅探模式以嗅探遠端藍牙裝置102發出的具有序列碼的封包。例如,在流程208中,第二藍牙電路120的第二控制電路127可依據在流程202中所獲取的藍牙連線參數,利用第二藍牙通信電路121嗅探遠端藍牙裝置102發出的封包。在一實施例中,第二藍牙通信電 路121可嗅探遠端藍牙裝置102發出的全部藍牙封包。在另一實施例中,第二藍牙通信電路121只會嗅探遠端藍牙裝置102要傳送給第一藍牙電路110的藍牙封包,而不會嗅探遠端藍牙裝置102要傳送給多成員藍牙裝置100以外裝置的藍牙封包。由前述流程202的說明可知,第二藍牙通信電路121嗅探遠端藍牙裝置102發出的封包時所使用的藍牙連線參數,有可能是第二藍牙電路120自己獲取的,也可能是其他成員電路(例如,第一藍牙電路110)傳來的。 On the other hand, when the main Bluetooth circuit receives the packet sent by the remote Bluetooth device 102, other member circuits that play the role of the secondary Bluetooth circuit will proceed to the process 208 and continue to operate in the sniffing mode to sniff the remote Bluetooth device 102. Packet with serial code. For example, in the process 208, the second control circuit 127 of the second Bluetooth circuit 120 may use the second Bluetooth communication circuit 121 to sniff the packet sent by the remote Bluetooth device 102 according to the Bluetooth connection parameters obtained in the process 202. In one embodiment, the second Bluetooth communication device The path 121 can sniff all the Bluetooth packets sent by the remote Bluetooth device 102. In another embodiment, the second Bluetooth communication circuit 121 only sniffs the Bluetooth packets sent by the remote Bluetooth device 102 to the first Bluetooth circuit 110, and does not sniff the remote Bluetooth device 102 to send to the multi-member Bluetooth. Bluetooth packets of devices other than device 100. From the description of the foregoing process 202, it can be seen that the Bluetooth connection parameters used by the second Bluetooth communication circuit 121 to sniff the packet sent by the remote Bluetooth device 102 may be obtained by the second Bluetooth circuit 120 itself, or may be other members. Circuit (for example, the first Bluetooth circuit 110).

副藍牙電路可在每次嗅探到遠端藍牙裝置102發出的封包後,進行流程210。在流程210中,副藍牙電路會傳送與嗅探到的封包相應的一通知信息(notification message)給主藍牙電路,但並不會傳送任何確認信息給遠端藍牙裝置102。例如,第二藍牙電路120每次嗅探到遠端藍牙裝置102發出的封包時,第二控制電路127可進行流程210,透過第二藍牙通信電路121傳送一相應的通知信息給第一藍牙電路110的第一藍牙通信電路111,但第二控制電路127不會透過第二藍牙通信電路121傳送任何確認信息給遠端藍牙裝置102。 The secondary Bluetooth circuit may perform the process 210 every time it sniffs the packet sent by the remote Bluetooth device 102. In the process 210, the secondary Bluetooth circuit sends a notification message corresponding to the sniffed packet to the primary Bluetooth circuit, but does not send any confirmation message to the remote Bluetooth device 102. For example, every time the second Bluetooth circuit 120 sniffs a packet sent by the remote Bluetooth device 102, the second control circuit 127 may perform the process 210 to transmit a corresponding notification message to the first Bluetooth circuit through the second Bluetooth communication circuit 121 The first Bluetooth communication circuit 111 of 110, but the second control circuit 127 will not transmit any confirmation information to the remote Bluetooth device 102 through the second Bluetooth communication circuit 121.

實作上,副藍牙電路也可以改成在主藍牙電路詢問副藍牙電路是否嗅探到遠端藍牙裝置102發出的特定封包時,才進行前述的流程210。 In practice, the secondary Bluetooth circuit can also be changed to perform the aforementioned process 210 when the primary Bluetooth circuit inquires whether the secondary Bluetooth circuit has sniffed a specific packet sent by the remote Bluetooth device 102.

換言之,在副藍牙電路操作於嗅探模式的期間,雖然主藍牙電路與其他副藍牙電路在本實施例中都會接收遠端藍牙裝置102發出的封包,但只有主藍牙電路在收到封包時會傳送確認信息給遠端藍牙裝置102,其他副藍牙電路都不會傳送確認信息給遠端藍牙裝置102,以避免遠端藍牙裝置102造成誤判。由於遠端藍牙裝置102並不知道第二藍牙電路120在嗅探遠端藍牙裝置102發出的封包,而且第二藍牙電路120也沒有傳送相應確認信息給遠端藍牙裝置102,所以第二藍牙電路120與遠端藍牙裝置102之間,並不會針對遠端藍牙裝置102發出的封包進行任何封包交握程序。 In other words, during the period when the secondary Bluetooth circuit is operating in the sniffing mode, although the primary Bluetooth circuit and other secondary Bluetooth circuits will receive the packet sent by the remote Bluetooth device 102 in this embodiment, only the primary Bluetooth circuit will receive the packet when receiving the packet. The confirmation message is sent to the remote Bluetooth device 102, and other secondary Bluetooth circuits will not send the confirmation message to the remote Bluetooth device 102, so as to avoid the remote Bluetooth device 102 from causing misjudgment. Since the remote Bluetooth device 102 does not know that the second Bluetooth circuit 120 is sniffing the packet sent by the remote Bluetooth device 102, and the second Bluetooth circuit 120 does not send the corresponding confirmation message to the remote Bluetooth device 102, the second Bluetooth circuit Between 120 and the remote Bluetooth device 102, no packet handshaking procedure is performed for the packet sent by the remote Bluetooth device 102.

在本實施例中,第二藍牙電路120傳送前述通知信息給第一藍牙電 路110的目的,並不是為了要跟第一藍牙電路110進行封包交握程序,而是為了讓第一藍牙電路110得以掌握第二藍牙電路120是否遺漏了遠端藍牙裝置102發出的任何封包。 In this embodiment, the second Bluetooth circuit 120 transmits the aforementioned notification information to the first Bluetooth circuit. The purpose of the path 110 is not to perform a packet handshaking procedure with the first Bluetooth circuit 110, but to allow the first Bluetooth circuit 110 to grasp whether the second Bluetooth circuit 120 has missed any packets sent by the remote Bluetooth device 102.

此外,第二藍牙電路120傳送前述通知信息給第一藍牙電路110的目的,也不是為了讓第一藍牙電路110據以決定是否傳送前述的確認信息給遠端藍牙裝置102。本實施例的第一控制電路117在傳送前述的確認信息給遠端藍牙裝置102之前,並不會檢查第一藍牙通信電路111是否有接收到第二藍牙電路120傳來的前述通知信息。因此,第一藍牙通信電路111傳送確認信息給遠端藍牙裝置102的時序,與第一藍牙通信電路111是否有接收到第二藍牙電路120傳來的前述通知信息無關。 In addition, the purpose of the second Bluetooth circuit 120 sending the aforementioned notification information to the first Bluetooth circuit 110 is not for the first Bluetooth circuit 110 to decide whether to send the aforementioned confirmation information to the remote Bluetooth device 102 based on it. The first control circuit 117 of this embodiment does not check whether the first Bluetooth communication circuit 111 has received the aforementioned notification information from the second Bluetooth circuit 120 before transmitting the aforementioned confirmation message to the remote Bluetooth device 102. Therefore, the timing of the first Bluetooth communication circuit 111 transmitting the confirmation information to the remote Bluetooth device 102 is independent of whether the first Bluetooth communication circuit 111 has received the aforementioned notification information from the second Bluetooth circuit 120.

實作上,第二藍牙電路120傳送給第一藍牙電路110的前述通知信息,可以用各種合適的資料格式來實現。例如,當第二藍牙電路120接收到遠端藍牙裝置102傳來的一特定藍牙封包時,第二控制電路127可從該特定藍牙封包中擷取出對應的序列碼,並將該序列碼連同可供識別第二藍牙電路120的裝置代碼或裝置識別資料,一起組合或編碼成與該特定藍牙封包相應的通知信息。又例如,第二控制電路127可從該特定藍牙封包中擷取出合適的封包識別資料,並將該封包識別資料連同可供識別第二藍牙電路120的裝置代碼或裝置識別資料,一起組合或編碼成與該特定藍牙封包相應的通知信息。 In practice, the aforementioned notification information sent by the second Bluetooth circuit 120 to the first Bluetooth circuit 110 can be implemented in various suitable data formats. For example, when the second Bluetooth circuit 120 receives a specific Bluetooth packet from the remote Bluetooth device 102, the second control circuit 127 can extract the corresponding serial code from the specific Bluetooth packet, and combine the serial code with the available serial code. The device code or device identification data for identifying the second Bluetooth circuit 120 is combined or encoded into notification information corresponding to the specific Bluetooth packet. For another example, the second control circuit 127 may extract appropriate packet identification data from the specific Bluetooth packet, and combine or encode the packet identification data together with the device code or device identification data that can be used to identify the second Bluetooth circuit 120 Into the notification message corresponding to the specific Bluetooth packet.

由前述說明可知,在遠端藍牙裝置102陸續發出多個藍牙封包的過程中,各個副藍牙電路在正常的情況下則會重複進行前述的流程208與流程210,進而傳送多個通知信息給第一藍牙電路110。例如,第二藍牙電路120可重複進行流程208與流程210,以傳送與遠端藍牙裝置102發出的多個藍牙封包相應的多個通知信息給第一藍牙電路110。 From the foregoing description, it can be seen that in the process of the remote Bluetooth device 102 successively sending out multiple Bluetooth packets, each secondary Bluetooth circuit will repeat the aforementioned process 208 and process 210 under normal circumstances, and then transmit multiple notification messages to the first. A Bluetooth circuit 110. For example, the second Bluetooth circuit 120 may repeat the process 208 and the process 210 to transmit multiple notification messages corresponding to multiple Bluetooth packets sent by the remote Bluetooth device 102 to the first Bluetooth circuit 110.

在實際運作時,各個副藍牙電路可能偶爾會漏收遠端藍牙裝置102 發出的部分封包,且不同的副藍牙電路漏收的封包及封包數量也可能有所不同。因此,主藍牙電路可間歇性或週期性進行流程212,以依據個別副藍牙電路傳來的複數個通知信息,判斷個別副藍牙電路是否漏收遠端藍牙裝置102發出的封包。 In actual operation, each secondary Bluetooth circuit may occasionally miss the remote Bluetooth device 102 Some packets sent out, and the number of packets missed by different secondary Bluetooth circuits and the number of packets may also be different. Therefore, the primary Bluetooth circuit can perform the process 212 intermittently or periodically to determine whether the individual secondary Bluetooth circuit misses the packet sent by the remote Bluetooth device 102 according to a plurality of notification messages from the individual secondary Bluetooth circuit.

例如,在流程212中,第一藍牙電路110的第一控制電路117可依據第二藍牙電路120傳來的複數個通知信息,檢核第二藍牙電路120是否漏收遠端藍牙裝置102發出的部分封包。第一封包解析電路113可從第二藍牙電路120傳來的複數個通知信息中,解析出多個序列碼或是多個封包識別資料。第一控制電路117則可檢查這些序列碼或封包識別資料是否具有連續性,以檢核第二藍牙電路120是否漏收遠端藍牙裝置102發出的部分封包。倘若前述的序列碼或封包識別資料出現不連續的情況,第一控制電路117便可判定第二藍牙電路120漏收了與欠缺的序列碼或封包識別資料相對應的封包。根據欠缺的序列碼或封包識別資料,第一控制電路117還可進一步界定出第二藍牙電路120漏收了哪些封包。 For example, in the process 212, the first control circuit 117 of the first bluetooth circuit 110 can check whether the second bluetooth circuit 120 misses the notification sent by the remote bluetooth device 102 according to a plurality of notification messages sent by the second bluetooth circuit 120. Part of the packet. The first packet parsing circuit 113 can analyze multiple serial codes or multiple packet identification data from a plurality of notification messages sent from the second Bluetooth circuit 120. The first control circuit 117 can check whether these serial codes or packet identification data have continuity, so as to check whether the second Bluetooth circuit 120 misses some packets sent by the remote Bluetooth device 102. If the aforementioned serial code or packet identification data is discontinuous, the first control circuit 117 can determine that the second Bluetooth circuit 120 has missed a packet corresponding to the missing serial code or packet identification data. According to the missing serial code or packet identification data, the first control circuit 117 can further define which packets are missed by the second Bluetooth circuit 120.

如前所述,第一藍牙電路110與遠端藍牙裝置102之間採用了封包交握機制,所以在正常情況下第一藍牙電路110應該能夠順利獲得遠端藍牙裝置102發出的所有封包。 As mentioned above, a packet handshaking mechanism is adopted between the first Bluetooth circuit 110 and the remote Bluetooth device 102. Therefore, the first Bluetooth circuit 110 should be able to successfully obtain all the packets sent by the remote Bluetooth device 102 under normal circumstances.

倘若第一控制電路117檢核出某一副藍牙電路漏收了遠端藍牙裝置102發出的部分封包,便會進行流程214,將該副藍牙電路漏收的封包透過第一藍牙通信電路111傳送給該副藍牙電路。 If the first control circuit 117 detects that a certain pair of Bluetooth circuits missed part of the packets sent by the remote Bluetooth device 102, the process 214 is performed, and the packets missed by the pair of Bluetooth circuits are transmitted through the first Bluetooth communication circuit 111. Give the secondary Bluetooth circuit.

例如,在第一控制電路117檢核出第二藍牙電路120漏收遠端藍牙裝置102發出的特定封包的情況下,第一控制電路117可進行流程214,透過第一藍牙通信電路111將第二藍牙電路120遺漏的封包傳送給第二藍牙電路120。 For example, in the case that the first control circuit 117 detects that the second Bluetooth circuit 120 missed a specific packet sent by the remote Bluetooth device 102, the first control circuit 117 can proceed to the process 214 to transfer the second Bluetooth communication circuit 111 The packets missed by the second Bluetooth circuit 120 are sent to the second Bluetooth circuit 120.

在此情況下,第二藍牙電路120會進行流程216,透過第二藍牙通信電路121接收第一藍牙電路110傳送過來的封包。換言之,在第二藍 牙電路120操作於嗅探模式的期間,第二控制電路127可利用第二藍牙通信電路121接收第一藍牙電路110傳來的封包,以藉此獲取遠端藍牙裝置102所發出、但被第二藍牙通信電路121遺漏的封包。 In this case, the second Bluetooth circuit 120 will perform the process 216 to receive the packet transmitted by the first Bluetooth circuit 110 through the second Bluetooth communication circuit 121. In other words, in the second blue During the period when the dental circuit 120 is operating in the sniffing mode, the second control circuit 127 can use the second Bluetooth communication circuit 121 to receive packets from the first Bluetooth circuit 110, so as to obtain the packets sent by the remote Bluetooth device 102 but received 2. Packets missed by the Bluetooth communication circuit 121.

藉由重複進行前述的運作,第二藍牙電路120便能在第一藍牙電路110的協助下將漏收的封包都補齊。同樣地,第一藍牙電路110可利用前述的方式協助其他副藍牙電路補齊遺漏的封包。 By repeating the aforementioned operations, the second Bluetooth circuit 120 can fill in all missed packets with the assistance of the first Bluetooth circuit 110. Similarly, the first Bluetooth circuit 110 can use the aforementioned method to assist other secondary Bluetooth circuits to fill in the missing packets.

在副藍牙電路操作於嗅探模式的期間,倘若副藍牙電路需要傳送指令、資料、或相關封包給遠端藍牙裝置102,則必須透過主藍牙電路將指令、資料、或相關封包轉傳給遠端藍牙裝置102。例如,倘若第二藍牙電路120需要傳送指令、資料、或相關封包給遠端藍牙裝置102,則必須將要前述指令、資料、或相關封包透過第二藍牙通信電路121傳送給扮演主藍牙電路角色的第一藍牙電路110,再由第一藍牙電路110轉傳給遠端藍牙裝置102,以避免遠端藍牙裝置102出現封包衝突的問題。 While the secondary Bluetooth circuit is operating in the sniffing mode, if the secondary Bluetooth circuit needs to send commands, data, or related packets to the remote Bluetooth device 102, it must forward the commands, data, or related packets to the remote via the primary Bluetooth circuit.端Bluetooth device 102. For example, if the second Bluetooth circuit 120 needs to send commands, data, or related packets to the remote Bluetooth device 102, the aforementioned commands, data, or related packets must be transmitted to the master Bluetooth circuit through the second Bluetooth communication circuit 121. The first Bluetooth circuit 110 is then forwarded to the remote Bluetooth device 102 by the first Bluetooth circuit 110 to avoid the problem of packet conflicts in the remote Bluetooth device 102.

換言之,在副藍牙電路操作於嗅探模式的期間,多成員藍牙裝置100的所有成員電路都會接收遠端藍牙裝置102發出的封包,但只允許主藍牙電路傳送指令、資料、或其他相關封包給遠端藍牙裝置102。 In other words, while the secondary Bluetooth circuit is operating in the sniffing mode, all member circuits of the multi-member Bluetooth device 100 will receive packets sent by the remote Bluetooth device 102, but only the primary Bluetooth circuit is allowed to send commands, data, or other related packets to Remote Bluetooth device 102.

由前述說明可知,第一藍牙電路110與遠端藍牙裝置102之間會採用封包交握機制以避免遺漏封包的情況發生,而且第一藍牙通信電路111傳送確認信息給遠端藍牙裝置102的時序,與第一藍牙電路110是否有接收到第二藍牙電路120傳來的前述通知信息無關。 It can be seen from the foregoing description that a packet handshaking mechanism is adopted between the first Bluetooth circuit 110 and the remote Bluetooth device 102 to avoid missing packets, and the timing of the first Bluetooth communication circuit 111 sending confirmation information to the remote Bluetooth device 102 , It has nothing to do with whether the first Bluetooth circuit 110 has received the aforementioned notification information from the second Bluetooth circuit 120.

因此,其他副藍牙電路在接收到遠端藍牙裝置102發出的封包時傳送相應的通知信息給第一藍牙電路110的動作,並不會干擾或延遲第一藍牙電路110與遠端藍牙裝置102之間的封包交握程序,也不會對第一藍牙電路110進行前述封包交握程序造成額外的運作負擔。 Therefore, when other secondary Bluetooth circuits receive the packet sent by the remote Bluetooth device 102, they send corresponding notification information to the first Bluetooth circuit 110, and will not interfere with or delay the communication between the first Bluetooth circuit 110 and the remote Bluetooth device 102. The inter-packet handshaking procedure does not cause additional operational burden on the first Bluetooth circuit 110 to perform the aforementioned packet handshaking procedure.

另一方面,由於多成員藍牙裝置100中的其他副藍牙電路(例如,前 述的第二藍牙電路120與第三藍牙電路130)都會嗅探遠端藍牙裝置102發出的封包,所以每個副藍牙電路在正常情況下都會接收到遠端藍牙裝置102發出的大部分封包。因此,作為主藍牙電路的第一藍牙電路110,只需要將個別副藍牙電路漏收的封包傳送給相應的副藍牙電路即可,而不需要傳送遠端藍牙裝置102發出的所有封包給每個副藍牙電路。 On the other hand, due to other secondary Bluetooth circuits in the multi-member Bluetooth device 100 (for example, the former Both the second Bluetooth circuit 120 and the third Bluetooth circuit 130) sniff the packets sent by the remote Bluetooth device 102, so each secondary Bluetooth circuit will receive most of the packets sent by the remote Bluetooth device 102 under normal circumstances. Therefore, the first Bluetooth circuit 110 as the main Bluetooth circuit only needs to transmit the packets missed by the individual secondary Bluetooth circuits to the corresponding secondary Bluetooth circuit, instead of transmitting all the packets sent by the remote Bluetooth device 102 to each Secondary Bluetooth circuit.

因此,多成員藍牙裝置100採用圖2的方法與遠端藍牙裝置102進行互動,可大幅降低主藍牙電路(本例中為第一藍牙電路110)的封包轉傳負擔,進而節省主藍牙電路的耗電量。如此一來,便可有效延長主藍牙電路的工作時間與待機時間。 Therefore, the multi-member Bluetooth device 100 uses the method of FIG. 2 to interact with the remote Bluetooth device 102, which can greatly reduce the packet forwarding burden of the main Bluetooth circuit (in this example, the first Bluetooth circuit 110), thereby saving the main Bluetooth circuit. power consumption. In this way, the working time and standby time of the main Bluetooth circuit can be effectively extended.

除此之外,還能大幅降低主藍牙電路與其他成員電路之間的資料傳輸頻寬需求,所以能夠簡化主藍牙電路與其他成員電路的硬體設計、和/或降低電路複雜度與電路成本。 In addition, it can greatly reduce the data transmission bandwidth requirements between the main Bluetooth circuit and other member circuits, so the hardware design of the main Bluetooth circuit and other member circuits can be simplified, and/or the circuit complexity and circuit cost can be reduced. .

在運作時,主藍牙電路與其他副藍牙電路之間還可採用各種合適的現有資料同步機制,以確保不同的成員電路能夠同步播放遠端藍牙裝置102傳來的多媒體資料,藉此避免出現不同成員電路的播放時序不一致的情況。 During operation, various suitable existing data synchronization mechanisms can be used between the main Bluetooth circuit and other secondary Bluetooth circuits to ensure that different member circuits can synchronously play the multimedia data transmitted by the remote Bluetooth device 102, thereby avoiding differences. The playing sequence of the member circuit is inconsistent.

由前述說明可知,在副藍牙電路操作於嗅探模式的期間,雖然主藍牙電路與副藍牙電路的角色沒有改變,但遠端藍牙裝置102傳送給多成員藍牙裝置100的封包的資料類型,卻可能會因使用者當時對於多成員藍牙裝置100的操作情境改變而有所不同。當遠端藍牙裝置102發出的封包的資料類型發生變化時,倘若主藍牙電路或副藍牙電路之間的搭配運作不能適應性調整,就可能導致主藍牙電路無法有效確認副藍牙電路是否遺漏封包、造成副藍牙電路容易遺漏封包而無法完成特定運作(例如,韌體更新)、和/或降低多成員藍牙裝置100的整體運作效能。在某些情況下,還可能縮短副藍牙電路或主藍牙電路的使用壽命或待用時間。另外,對於使用無線藍牙耳機 實現的某些傳統的多成員藍牙裝置而言,倘若使用者想改變多成員藍牙裝置的操作情境,使用者通常必須先動手將多成員藍牙裝置暫時取下並放到特定的設備(例如,耳機充電座或是耳機充電盒)中,才能進行特定操作(例如,更新多成員藍牙裝置的韌體),這很明顯會造成使用者操作上的不便。 It can be seen from the foregoing description that while the secondary Bluetooth circuit is operating in the sniffing mode, although the roles of the primary Bluetooth circuit and the secondary Bluetooth circuit are unchanged, the data type of the packet sent by the remote Bluetooth device 102 to the multi-member Bluetooth device 100 is not changed. It may be different due to changes in the user's operating context of the multi-member Bluetooth device 100 at that time. When the data type of the packet sent by the remote Bluetooth device 102 changes, if the matching operation between the main Bluetooth circuit and the secondary Bluetooth circuit cannot be adjusted adaptively, the primary Bluetooth circuit may not be able to effectively confirm whether the secondary Bluetooth circuit misses packets, As a result, the secondary Bluetooth circuit easily misses packets and cannot complete specific operations (for example, firmware update), and/or reduces the overall operating performance of the multi-member Bluetooth device 100. In some cases, it may also shorten the service life or standby time of the secondary Bluetooth circuit or the main Bluetooth circuit. In addition, for the use of wireless Bluetooth headsets For some traditional multi-member Bluetooth devices that are implemented, if the user wants to change the operating situation of the multi-member Bluetooth device, the user usually must first remove the multi-member Bluetooth device temporarily and put it on a specific device (for example, a headset). Only in the charging cradle or earphone charging box) can specific operations (for example, update the firmware of a multi-member Bluetooth device) be performed, which obviously causes inconvenience to the user's operation.

在本實施例中,如圖3所示,在副藍牙電路操作於嗅探模式的期間,扮演主藍牙電路的第一藍牙電路110還會間歇性地進行流程302,以檢查遠端藍牙裝置102傳來的封包的資料類型。例如,第一藍牙電路110的第一控制電路117在流程302中,可利用第一封包解析電路113解析第一藍牙通信電路111接收到的封包(亦即,遠端藍牙裝置102傳來的封包)的內容,並檢查封包的資料類型。實作上,第一控制電路117可讀取遠端藍牙裝置102傳來的封包中的序列碼欄位(sequence number field)的內容,以判斷該封包的資料類型是屬於具有序列碼的資料、還是屬於不具有序列碼的資料。 In this embodiment, as shown in FIG. 3, while the secondary Bluetooth circuit is operating in the sniffing mode, the first Bluetooth circuit 110 acting as the primary Bluetooth circuit will also intermittently perform the process 302 to check the remote Bluetooth device 102 The data type of the incoming packet. For example, in the process 302, the first control circuit 117 of the first Bluetooth circuit 110 can use the first packet analysis circuit 113 to analyze the packet received by the first Bluetooth communication circuit 111 (that is, the packet transmitted by the remote Bluetooth device 102). ) And check the data type of the packet. In practice, the first control circuit 117 can read the content of the sequence number field in the packet transmitted from the remote Bluetooth device 102 to determine whether the data type of the packet belongs to data with a serial code, Still belong to the data that does not have a serial code.

接著,第一控制電路117可進行流程304,以判斷遠端藍牙裝置102傳來的封包的資料類型是否改變。實作上,第一控制電路117可將遠端藍牙裝置102先前傳來的封包的資料類型,暫存在適當的儲存電路(圖中未繪示),以便與遠端藍牙裝置102當前傳來的封包的資料類型進行比對。第一控制電路117在流程304中可比對遠端藍牙裝置102當前傳來的封包與先前傳來的封包的資料類型,以判斷遠端藍牙裝置102傳來的封包的資料類型是否從具有序列碼的資料變成不具有序列碼的資料。 Then, the first control circuit 117 can perform the process 304 to determine whether the data type of the packet transmitted by the remote Bluetooth device 102 has changed. In practice, the first control circuit 117 can temporarily store the data type of the packet previously transmitted by the remote Bluetooth device 102 in an appropriate storage circuit (not shown in the figure) so as to communicate with the data type currently transmitted by the remote Bluetooth device 102 The data type of the packet is compared. In the process 304, the first control circuit 117 can compare the data type of the packet currently transmitted by the remote Bluetooth device 102 with the data type of the previously transmitted packet to determine whether the data type of the packet transmitted by the remote Bluetooth device 102 has a serial code The data becomes the data without the serial code.

倘若遠端藍牙裝置102當前傳來的封包的資料類型仍然屬於具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境並未改變。在此情況下,第一藍牙電路110可重複進行前述的流程206、流程212、與流程214的運作,而第二藍牙電路120則可繼續操作於嗅探模式。 If the data type of the packet currently transmitted by the remote Bluetooth device 102 still belongs to the data with the serial code, it usually means that the operation context of the multi-member Bluetooth device 100 has not changed. In this case, the first Bluetooth circuit 110 can repeat the operations of the aforementioned processes 206, 212, and 214, and the second Bluetooth circuit 120 can continue to operate in the sniffing mode.

反之,倘若遠端藍牙裝置102當前傳來的封包的資料類型變成是不具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境已有所改變。當遠端藍牙裝置102傳來的封包的資料類型變成不具有序列碼的資料時,主藍牙電路比較難以有效確認副藍牙電路是否遺漏封包,所以可能造成副藍牙電路容易遺漏封包而無法完成特定運作(例如,韌體更新)的問題。在此情況下,第一藍牙電路110可進行流程306。 Conversely, if the data type of the packet currently transmitted by the remote Bluetooth device 102 becomes data without a serial code, it usually means that the operation context of the multi-member Bluetooth device 100 has changed. When the data type of the packet from the remote Bluetooth device 102 becomes data without a serial code, it is difficult for the primary Bluetooth circuit to effectively confirm whether the secondary Bluetooth circuit has missed packets, which may cause the secondary Bluetooth circuit to easily miss packets and fail to complete specific operations. (For example, firmware update). In this case, the first Bluetooth circuit 110 can perform the process 306.

在流程306中,第一藍牙電路110的第一控制電路117會產生用於指示第二藍牙電路120從嗅探模式切換成間接收訊模式的一第一模式切換指示,並透過第一藍牙通信電路111將第一模式切換指示傳送給第二藍牙電路120。 In the process 306, the first control circuit 117 of the first Bluetooth circuit 110 generates a first mode switching instruction for instructing the second Bluetooth circuit 120 to switch from the sniffing mode to the indirect reception mode, and communicates via the first Bluetooth The circuit 111 transmits the first mode switching instruction to the second Bluetooth circuit 120.

在流程308中,第二藍牙通信電路121會接收第一藍牙電路110傳來的第一模式切換指示,而第二控制電路127則會依據該第一模式切換指示,將第二藍牙電路120的操作模式從嗅探模式切換成間接收訊模式。 In the process 308, the second bluetooth communication circuit 121 receives the first mode switching instruction from the first bluetooth circuit 110, and the second control circuit 127 controls the second bluetooth circuit 120 according to the first mode switching instruction. The operation mode is switched from sniffing mode to indirect reception mode.

接著,第一藍牙電路110會進行流程310,而第二藍牙電路120則會進行流程312。 Then, the first Bluetooth circuit 110 will perform the process 310, and the second Bluetooth circuit 120 will perform the process 312.

在流程310中,第一藍牙電路110的第一控制電路117會利用第一藍牙通信電路111接收遠端藍牙裝置102傳來的不具有序列碼的封包,並且透過第一藍牙通信電路111將接收到的封包轉傳給第二藍牙電路120。 In the process 310, the first control circuit 117 of the first Bluetooth circuit 110 will use the first Bluetooth communication circuit 111 to receive the packet without the serial code from the remote Bluetooth device 102, and will receive the packet through the first Bluetooth communication circuit 111 The received packet is forwarded to the second Bluetooth circuit 120.

在流程312中,第二控制電路127會控制第二藍牙電路120操作在間接收訊模式,並利用第二藍牙通信電路121接收第一藍牙電路110轉傳過來的不具有序列碼的封包。但在第二藍牙電路120操作於間接收訊模式的期間,第二控制電路127不會利用第二藍牙通信電路121嗅探遠端藍牙裝置102發出的封包。換言之,在第二藍牙電路120操作在間接收訊模式的期間,第二藍牙電路120是透過第一藍牙電路 110間接獲取遠端藍牙裝置102發出的封包。 In the process 312, the second control circuit 127 controls the second Bluetooth circuit 120 to operate in the indirect reception mode, and uses the second Bluetooth communication circuit 121 to receive the packet without a serial code transferred from the first Bluetooth circuit 110. However, while the second Bluetooth circuit 120 is operating in the indirect reception mode, the second control circuit 127 does not use the second Bluetooth communication circuit 121 to sniff the packet sent by the remote Bluetooth device 102. In other words, during the period when the second Bluetooth circuit 120 is operating in the indirect reception mode, the second Bluetooth circuit 120 passes through the first Bluetooth circuit 110 indirectly obtains the packet sent by the remote Bluetooth device 102.

由前述說明可知,在扮演副藍牙電路角色的第二藍牙電路120操作於嗅探模式的期間,扮演主藍牙電路角色的第一藍牙電路110會間歇性地檢查並判斷遠端藍牙裝置102傳來的封包的資料類型,是否從具有序列碼的資料變成不具有序列碼的資料。只要遠端藍牙裝置102傳來的封包的資料類型仍然屬於具有序列碼的資料,第一藍牙電路110就不會指示第二藍牙電路120切換成間接收訊模式。在此情況下,第一藍牙電路110只需要將第二藍牙電路120漏收的封包傳送給第二藍牙電路120,而不需要轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,所以能夠減少第一藍牙電路110的運作負擔、耗電量、以及發熱量,也能延長第一藍牙電路110的工作時間與待機時間,並減少第一藍牙電路110與第二藍牙電路120之間的資料傳輸頻寬需求。 As can be seen from the foregoing description, while the second Bluetooth circuit 120 playing the role of the secondary Bluetooth circuit is operating in the sniffing mode, the first Bluetooth circuit 110 playing the role of the primary Bluetooth circuit will intermittently check and determine that the remote Bluetooth device 102 is coming. Whether the data type of the packet changes from data with a serial code to data without a serial code. As long as the data type of the packet from the remote Bluetooth device 102 still belongs to the data with the serial code, the first Bluetooth circuit 110 will not instruct the second Bluetooth circuit 120 to switch to the indirect reception mode. In this case, the first bluetooth circuit 110 only needs to transfer the packets missed by the second bluetooth circuit 120 to the second bluetooth circuit 120, and does not need to forward all the packets sent by the remote bluetooth device 102 to the second bluetooth circuit 120. Therefore, the operating burden, power consumption, and heat generation of the first Bluetooth circuit 110 can be reduced, and the working time and standby time of the first Bluetooth circuit 110 can be prolonged, and the gap between the first Bluetooth circuit 110 and the second Bluetooth circuit 120 can be reduced. Data transmission bandwidth requirements.

只有在遠端藍牙裝置102傳來的封包的資料類型從具有序列碼的資料變成不具有序列碼的資料的情況下,第一藍牙電路110才會指示第二藍牙電路120將操作模式從嗅探模式切換成間接收訊模式。在此情況下,第一藍牙電路110會轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,而第二藍牙電路120則會停止嗅探遠端藍牙裝置102發出的封包,所以能有效避免第二藍牙電路120遺漏封包的情況。如此一來,便能避免第二藍牙電路120因為遺漏封包而無法完成特定運作(例如,韌體更新)的問題發生。 Only when the data type of the packet from the remote Bluetooth device 102 changes from data with a serial code to data without a serial code, will the first Bluetooth circuit 110 instruct the second Bluetooth circuit 120 to change the operating mode from sniffing The mode is switched to the indirect reception mode. In this case, the first Bluetooth circuit 110 will forward all packets sent by the remote Bluetooth device 102 to the second Bluetooth circuit 120, and the second Bluetooth circuit 120 will stop sniffing the packets sent by the remote Bluetooth device 102, so it can This effectively prevents the second Bluetooth circuit 120 from missing packets. In this way, the problem that the second Bluetooth circuit 120 cannot complete a specific operation (for example, firmware update) due to missing packets can be avoided.

相仿地,多成員藍牙裝置100可比照前述方式,依據遠端藍牙裝置102傳來的封包的資料類型的變化,來適應性地切換第三藍牙電路130的操作模式。 Similarly, the multi-member Bluetooth device 100 can adaptively switch the operation mode of the third Bluetooth circuit 130 according to the change of the data type of the packet transmitted from the remote Bluetooth device 102 according to the aforementioned method.

因此,採用前述圖2與圖3的運作方式,多成員藍牙裝置100中的主藍牙電路可在遠端藍牙裝置102傳來的封包的資料類型從具有序列碼的資料變成不具有序列碼的資料時,適應性地將副藍牙電路的操 作模式從嗅探模式切換成間接收訊模式,並相應地改變主藍牙電路與副藍牙電路之間的搭配運作。這樣的方法能夠有效避免副藍牙電路遺漏封包而無法完成特定運作(例如,韌體更新)的問題,進而提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。 Therefore, using the aforementioned operating modes of Figures 2 and 3, the main Bluetooth circuit in the multi-member Bluetooth device 100 can change the data type of the packet transmitted from the remote Bluetooth device 102 from data with serial codes to data without serial codes. Time, adaptively adjust the operation of the secondary Bluetooth circuit The working mode is switched from the sniffing mode to the indirect receiving mode, and the matching operation between the main Bluetooth circuit and the auxiliary Bluetooth circuit is changed accordingly. Such a method can effectively avoid the problem that the secondary Bluetooth circuit misses packets and cannot complete a specific operation (for example, firmware update), thereby improving the overall performance of the multi-member Bluetooth device 100, prolonging the service life of the Bluetooth circuit, or improving the user experience.

再者,在多成員藍牙裝置100是使用無線藍牙耳機實現的某些應用中,使用者可能會在使用多成員藍牙裝置100播放遠端藍牙裝置102傳來的多媒體資料時,突然想要更新多成員藍牙裝置100的韌體。在此情況下,多成員藍牙裝置100藉由採用前述圖2與圖3的運作方式,可允許使用者利用多成員藍牙裝置100播放遠端藍牙裝置102傳來的多媒體資料到一半時,隨時中斷多成員藍牙裝置100的多媒體播放運作,改為操控遠端藍牙裝置102傳送更新多成員藍牙裝置100的韌體所需的程式資料或更新模組給多成員藍牙裝置100。更重要的是,在前述的使用情境切換過程中,使用者都無需將多成員藍牙裝置100暫時從耳朵取下並放到特定的設備(例如,耳機充電座或是耳機充電盒)中,因此能明顯提升多成員藍牙裝置100對於使用者的操作便利性。 Furthermore, in some applications where the multi-member Bluetooth device 100 is implemented using a wireless Bluetooth headset, the user may suddenly want to update the multi-member Bluetooth device 100 when playing multimedia data from the remote Bluetooth device 102. Firmware of member Bluetooth device 100. In this case, the multi-member Bluetooth device 100 adopts the above-mentioned operation mode of FIG. 2 and FIG. 3, which allows the user to use the multi-member Bluetooth device 100 to play multimedia data from the remote Bluetooth device 102 and interrupt at any time. The multimedia playback operation of the multi-member Bluetooth device 100 is changed to control the remote Bluetooth device 102 to send program data or update modules required to update the firmware of the multi-member Bluetooth device 100 to the multi-member Bluetooth device 100. More importantly, in the aforementioned use context switching process, the user does not need to temporarily remove the multi-member Bluetooth device 100 from the ear and place it in a specific device (for example, a headset charging stand or a headset charging box). It can significantly improve the operating convenience of the multi-member Bluetooth device 100 for users.

在前述圖2至圖3的實施例中,多成員藍牙裝置100會在副藍牙電路操作於嗅探模式的期間,檢查並判斷遠端藍牙裝置102傳來的封包的資料類型是否從具有序列碼的資料變成不具有序列碼的資料,並根據判斷的結果來決定是否要將副藍牙電路的操作模式從嗅探模式切換成間接收訊模式。但這只是部分實施例,而非侷限本發明的實際實施方式。實作上,多成員藍牙裝置100亦可在副藍牙電路操作於間接收訊模式的期間,根據當時遠端藍牙裝置102傳來的封包的資料類型的變化,來動態判斷是否要切換副藍牙電路的操作模式。 In the foregoing embodiments of FIGS. 2 to 3, the multi-member Bluetooth device 100 checks and determines whether the data type of the packet transmitted from the remote Bluetooth device 102 has a serial code during the period when the secondary Bluetooth circuit is operating in the sniffing mode. The data becomes data without a serial code, and according to the result of the judgment, it is determined whether to switch the operation mode of the secondary Bluetooth circuit from the sniffing mode to the indirect receiving mode. However, these are only some examples, and do not limit the actual implementation of the present invention. In practice, the multi-member Bluetooth device 100 can also dynamically determine whether to switch the secondary Bluetooth circuit according to the change in the data type of the packet transmitted from the remote Bluetooth device 102 during the period when the secondary Bluetooth circuit is operating in the indirect reception mode. Mode of operation.

例如,圖4至圖5為本發明的多成員藍牙裝置100在一第二實施例中的運作方法簡化後的流程圖。 For example, FIGS. 4 to 5 are simplified flowcharts of the operation method of the multi-member Bluetooth device 100 in a second embodiment of the present invention.

如圖4所示,當使用者想利用多成員藍牙裝置100接收遠端藍牙裝置102所發出的不具有序列碼的封包(例如,程式資料、更新模組等非多媒體資料)時,多成員藍牙裝置100可先進行前述的流程202,以獲取用於接收遠端藍牙裝置102發出的封包所需的藍牙連線參數。前述關於圖2中的流程202的運作方式與實施例變化的描述,亦適用於圖4的實施例。 As shown in FIG. 4, when the user wants to use the multi-member Bluetooth device 100 to receive a packet without a serial code sent by the remote Bluetooth device 102 (for example, non-multimedia data such as program data, update modules, etc.), the multi-member Bluetooth device The device 100 may first perform the aforementioned process 202 to obtain the Bluetooth connection parameters required for receiving the packet sent by the remote Bluetooth device 102. The foregoing description of the operation mode and embodiment changes of the process 202 in FIG. 2 is also applicable to the embodiment in FIG. 4.

為了方便說明起見,以下同樣假設第一藍牙電路110是多成員藍牙裝置100中當前被選來處理接收遠端藍牙裝置102發出的封包的主要工作的成員電路,而其他的成員電路(例如,前述的第二藍牙電路120與第三藍牙電路130)則扮演副藍牙電路的角色。 For the convenience of explanation, the following also assumes that the first Bluetooth circuit 110 is a member circuit of the multi-member Bluetooth device 100 that is currently selected to process the main work of receiving packets from the remote Bluetooth device 102, and other member circuits (for example, The aforementioned second Bluetooth circuit 120 and third Bluetooth circuit 130) play the role of a secondary Bluetooth circuit.

在流程404中,第一藍牙電路110可透過第一藍牙通信電路111通知多成員藍牙裝置100中的其他成員電路(例如,前述的第二藍牙電路120與第三藍牙電路130),接下來將由第一藍牙電路110扮演主藍牙電路的角色,並指示其他成員電路扮演副藍牙電路的角色,且操作在間接收訊模式。亦即,接下來將由第一藍牙電路110負責處理接收遠端藍牙裝置102發出的封包的主要工作,而其他成員電路只需接收第一藍牙電路110轉傳過來的封包,而無需嗅探遠端藍牙裝置102發出的封包,且不允許其他成員電路傳送指令、資料、或其他相關封包給遠端藍牙裝置102。 In the process 404, the first Bluetooth circuit 110 may notify other member circuits in the multi-member Bluetooth device 100 (for example, the aforementioned second Bluetooth circuit 120 and third Bluetooth circuit 130) through the first Bluetooth communication circuit 111, and then The first Bluetooth circuit 110 plays the role of the main Bluetooth circuit, and instructs other member circuits to play the role of the secondary Bluetooth circuit, and operates in the indirect reception mode. That is, the first Bluetooth circuit 110 will be responsible for processing the main work of receiving the packets sent by the remote Bluetooth device 102, and the other member circuits only need to receive the packets transferred from the first Bluetooth circuit 110 without sniffing the remote The Bluetooth device 102 sends a packet, and other member circuits are not allowed to send commands, data, or other related packets to the remote Bluetooth device 102.

接著,在副藍牙電路操作在間接收訊模式的期間,第一藍牙電路110會進行流程406。 Then, while the secondary Bluetooth circuit is operating in the inter-receiving mode, the first Bluetooth circuit 110 will perform the process 406.

在流程406中,第一藍牙電路110的第一控制電路117可利用第一藍牙通信電路111接收遠端藍牙裝置102傳來的不具有序列碼的封包,且第一控制電路117還可透過第一藍牙通信電路111將遠端藍牙裝置102傳來的不具有序列碼的封包轉傳給其他副藍牙電路。例如,第一控制電路117可透過第一藍牙通信電路111將遠端藍牙裝置102傳來的不具有序列碼的封包轉傳給第二藍牙電路120。 In the process 406, the first control circuit 117 of the first Bluetooth circuit 110 can use the first Bluetooth communication circuit 111 to receive a packet without a serial code from the remote Bluetooth device 102, and the first control circuit 117 can also use the first Bluetooth communication circuit 111. A Bluetooth communication circuit 111 forwards the packet without a serial code from the remote Bluetooth device 102 to other secondary Bluetooth circuits. For example, the first control circuit 117 can forward the packet without a serial code from the remote Bluetooth device 102 to the second Bluetooth circuit 120 through the first Bluetooth communication circuit 111.

在運作時,第一控制電路117可透過第一藍牙通信電路111利用在流程202中所獲取的藍牙連線參數與遠端藍牙裝置102進行封包傳輸,以接收遠端藍牙裝置102傳來的各種封包,或是傳送各種封包給遠端藍牙裝置102。由前述流程202的運作說明可知,第一藍牙電路110與遠端藍牙裝置102進行封包傳輸時所使用的藍牙連線參數,有可能是第一藍牙電路110自己獲取的,也可能是其他成員電路(例如,第二藍牙電路120)傳來的。 In operation, the first control circuit 117 can use the Bluetooth connection parameters acquired in the process 202 to perform packet transmission with the remote Bluetooth device 102 through the first Bluetooth communication circuit 111, so as to receive various transmissions from the remote Bluetooth device 102. Packets, or send various packets to the remote Bluetooth device 102. According to the operation description of the aforementioned process 202, the Bluetooth connection parameters used by the first Bluetooth circuit 110 and the remote Bluetooth device 102 for packet transmission may be acquired by the first Bluetooth circuit 110 itself, or may be other member circuits. (For example, the second Bluetooth circuit 120).

如前所述,第一藍牙電路110與遠端藍牙裝置102之間可以採用各種合適的封包交握機制,以降低或避免遺漏封包的情況發生。 As mentioned above, various suitable packet handshaking mechanisms can be used between the first Bluetooth circuit 110 and the remote Bluetooth device 102 to reduce or avoid the occurrence of missing packets.

在流程408中,副藍牙電路會操作在間接收訊模式以接收第一藍牙電路110轉傳過來的不具有序列碼的封包。在副藍牙電路操作於間接收訊模式的期間,副藍牙電路並不會嗅探遠端藍牙裝置102發出的封包。此外,在副藍牙電路操作於嗅探模式的期間,倘若副藍牙電路需要傳送指令、資料、或相關封包給遠端藍牙裝置102,都必須透過主藍牙電路將指令、資料、或相關封包轉傳給遠端藍牙裝置102。 In the process 408, the secondary Bluetooth circuit will operate in the indirect reception mode to receive the packet without the serial code transferred from the first Bluetooth circuit 110. While the secondary Bluetooth circuit is operating in the indirect reception mode, the secondary Bluetooth circuit does not sniff the packets sent by the remote Bluetooth device 102. In addition, when the secondary Bluetooth circuit is operating in the sniffing mode, if the secondary Bluetooth circuit needs to send commands, data, or related packets to the remote Bluetooth device 102, it must forward the commands, data, or related packets through the primary Bluetooth circuit. To the remote Bluetooth device 102.

例如,第二控制電路127在流程408中可控制第二藍牙電路120操作在間接收訊模式,並利用第二藍牙通信電路121接收第一藍牙電路110轉傳過來的不具有序列碼的封包,但不會利用第二藍牙通信電路121嗅探遠端藍牙裝置102發出的封包。亦即,在第二藍牙電路120操作於間接收訊模式的期間,第二藍牙電路120是透過第一藍牙電路110間接獲取遠端藍牙裝置102發出的不具有序列碼的封包。倘若第二藍牙電路120在這段期間需要傳送指令、資料、或相關封包給遠端藍牙裝置102,則必須將要前述指令、資料、或相關封包透過第二藍牙通信電路121傳送給扮演主藍牙電路角色的第一藍牙電路110,再由第一藍牙電路110轉傳給遠端藍牙裝置102,以避免遠端藍牙裝置102出現封包衝突的問題。 For example, in the process 408, the second control circuit 127 can control the second Bluetooth circuit 120 to operate in the indirect reception mode, and use the second Bluetooth communication circuit 121 to receive the packet without the serial code transferred from the first Bluetooth circuit 110. However, the second Bluetooth communication circuit 121 will not be used to sniff the packet sent by the remote Bluetooth device 102. That is, during the period when the second Bluetooth circuit 120 is operating in the indirect reception mode, the second Bluetooth circuit 120 indirectly obtains the packet sent by the remote Bluetooth device 102 without a serial code through the first Bluetooth circuit 110. If the second Bluetooth circuit 120 needs to send commands, data, or related packets to the remote Bluetooth device 102 during this period, the aforementioned commands, data, or related packets must be sent to the master Bluetooth circuit through the second Bluetooth communication circuit 121 The first Bluetooth circuit 110 of the role is then forwarded from the first Bluetooth circuit 110 to the remote Bluetooth device 102 to avoid the problem of packet conflict in the remote Bluetooth device 102.

如圖4所示,在副藍牙電路操作於間接收訊模式的期間,主藍牙電路還會間歇性地進行流程410,以檢查遠端藍牙裝置102傳來的封包的資料類型。例如,第一藍牙電路110的第一控制電路117可在流程410中,利用第一封包解析電路113解析第一藍牙通信電路111接收到的封包(亦即,遠端藍牙裝置102傳來的封包)的特定欄位的內容,以獲得封包的資料類型。實作上,第一控制電路117可讀取遠端藍牙裝置102傳來的封包中的序列碼欄位的內容、或是其他預定欄位的內容,以判斷該封包的資料類型是屬於具有序列碼的資料、還是屬於不具有序列碼的資料。 As shown in FIG. 4, while the secondary Bluetooth circuit is operating in the indirect reception mode, the primary Bluetooth circuit will also intermittently perform the process 410 to check the data type of the packet transmitted from the remote Bluetooth device 102. For example, the first control circuit 117 of the first Bluetooth circuit 110 may use the first packet parsing circuit 113 to parse the packet received by the first Bluetooth communication circuit 111 (that is, the packet transmitted from the remote Bluetooth device 102 in the process 410). ) To obtain the data type of the packet. In practice, the first control circuit 117 can read the content of the serial code field in the packet transmitted from the remote Bluetooth device 102, or the content of other predetermined fields, to determine whether the data type of the packet belongs to the serial number. Code data is still data that does not have a serial code.

接著,本實施例中的第一控制電路117可進行流程412,以判斷遠端藍牙裝置102傳來的封包的資料類型是否改變。實作上,第一控制電路117可將遠端藍牙裝置102先前傳來的封包的資料類型,暫存在適當的儲存電路(圖中未繪示),以便與遠端藍牙裝置102當前傳來的封包的資料類型進行比對。 Next, the first control circuit 117 in this embodiment can perform the process 412 to determine whether the data type of the packet transmitted by the remote Bluetooth device 102 has changed. In practice, the first control circuit 117 can temporarily store the data type of the packet previously transmitted by the remote Bluetooth device 102 in an appropriate storage circuit (not shown in the figure) so as to communicate with the data type currently transmitted by the remote Bluetooth device 102 The data type of the packet is compared.

倘若遠端藍牙裝置102當前傳來的封包的資料類型仍然屬於不具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境並未改變。在此情況下,第一藍牙電路110可重複進行前述的流程406、流程410、與流程412的運作,而第二藍牙電路120則可繼續操作於間接收訊模式。 If the data type of the packet currently transmitted by the remote Bluetooth device 102 still belongs to data without a serial code, it usually means that the operation context of the multi-member Bluetooth device 100 has not changed. In this case, the first Bluetooth circuit 110 can repeat the operations of the aforementioned process 406, process 410, and process 412, and the second Bluetooth circuit 120 can continue to operate in the indirect reception mode.

反之,倘若遠端藍牙裝置102當前傳來的封包的資料類型變成是具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境已有所改變。在此情況下,第一藍牙電路110可進行圖5中的流程502。 Conversely, if the data type of the packet currently transmitted by the remote Bluetooth device 102 becomes data with a serial code, it usually means that the operating context of the multi-member Bluetooth device 100 has changed. In this case, the first Bluetooth circuit 110 can perform the process 502 in FIG. 5.

在流程502中,第一藍牙電路110的第一控制電路117會產生用於指示第二藍牙電路120從間接收訊模式切換成嗅探模式的一第二模式切換指示,並透過第一藍牙通信電路111將第二模式切換指示傳送給第二藍牙電路120。 In the process 502, the first control circuit 117 of the first Bluetooth circuit 110 generates a second mode switching instruction for instructing the second Bluetooth circuit 120 to switch from the indirect reception mode to the sniffing mode, and communicates via the first Bluetooth The circuit 111 transmits the second mode switching instruction to the second Bluetooth circuit 120.

在流程504中,第二藍牙通信電路121會接收第一藍牙電路110傳來 的第二模式切換指示,而第二控制電路127則會依據該第二模式切換指示,將第二藍牙電路120的操作模式從間接收訊模式切換成嗅探模式。 In the process 504, the second Bluetooth communication circuit 121 will receive from the first Bluetooth circuit 110 According to the second mode switching instruction, the second control circuit 127 will switch the operation mode of the second Bluetooth circuit 120 from the indirect reception mode to the sniffing mode according to the second mode switching instruction.

接著,第一藍牙電路110會進行流程506,而第二藍牙電路120則會進行流程508。 Then, the first Bluetooth circuit 110 will perform the process 506, and the second Bluetooth circuit 120 will perform the process 508.

在流程506中,第一藍牙電路110的第一控制電路117會利用第一藍牙通信電路111接收遠端藍牙裝置102傳來的具有序列碼的封包,但第一控制電路117不會透過第一藍牙通信電路111將遠端藍牙裝置102傳來的封包轉傳給第二藍牙電路120。 In the process 506, the first control circuit 117 of the first Bluetooth circuit 110 will use the first Bluetooth communication circuit 111 to receive the packet with the serial code from the remote Bluetooth device 102, but the first control circuit 117 will not pass the first control circuit 117. The Bluetooth communication circuit 111 forwards the packet from the remote Bluetooth device 102 to the second Bluetooth circuit 120.

在流程508中,第二藍牙電路120的第二控制電路127可依據在流程202中所獲取的藍牙連線參數,利用第二藍牙通信電路121嗅探遠端藍牙裝置102發出的具有序列碼的封包。在一實施例中,第二藍牙通信電路121可嗅探遠端藍牙裝置102發出的全部藍牙封包。在另一實施例中,第二藍牙通信電路121只會嗅探遠端藍牙裝置102要傳送給第一藍牙電路110的藍牙封包,而不會嗅探遠端藍牙裝置102要傳送給多成員藍牙裝置100以外裝置的藍牙封包。由前述流程202的說明可知,第二藍牙通信電路121嗅探遠端藍牙裝置102發出的封包時所使用的藍牙連線參數,有可能是第二藍牙電路120自己獲取的,也可能是其他成員電路(例如,第一藍牙電路110)傳來的。 In the process 508, the second control circuit 127 of the second Bluetooth circuit 120 can use the second Bluetooth communication circuit 121 to sniff the serial code sent by the remote Bluetooth device 102 according to the Bluetooth connection parameters obtained in the process 202. Packet. In an embodiment, the second Bluetooth communication circuit 121 can sniff all Bluetooth packets sent by the remote Bluetooth device 102. In another embodiment, the second Bluetooth communication circuit 121 only sniffs the Bluetooth packets sent by the remote Bluetooth device 102 to the first Bluetooth circuit 110, and does not sniff the remote Bluetooth device 102 to send to the multi-member Bluetooth. Bluetooth packets of devices other than device 100. From the description of the foregoing process 202, it can be seen that the Bluetooth connection parameters used by the second Bluetooth communication circuit 121 to sniff the packet sent by the remote Bluetooth device 102 may be obtained by the second Bluetooth circuit 120 itself, or may be other members. Circuit (for example, the first Bluetooth circuit 110).

接下來,多成員藍牙裝置100可進行與前述圖2中的流程210至流程216相同的運作。 Next, the multi-member Bluetooth device 100 can perform the same operations as the aforementioned process 210 to process 216 in FIG. 2.

由前述說明可知,在扮演副藍牙電路角色的第二藍牙電路120操作於間接收訊模式的期間,扮演主藍牙電路角色的第一藍牙電路110會間歇性地檢查並判斷遠端藍牙裝置102傳來的封包的資料類型,是否從不具有序列碼的資料變成具有序列碼的資料。只要遠端藍牙裝置102傳來的封包的資料類型仍然屬於不具有序列碼的資料,第一藍牙電路110就不會指示第二藍牙電路120切換成嗅探模式,以避 免接下來難以確認第二藍牙電路120是否遺漏遠端藍牙裝置102發出的封包。 As can be seen from the foregoing description, while the second Bluetooth circuit 120 playing the role of the secondary Bluetooth circuit is operating in the indirect reception mode, the first Bluetooth circuit 110 playing the role of the primary Bluetooth circuit will intermittently check and determine that the remote Bluetooth device 102 is transmitting. Whether the data type of the incoming packet has changed from data without a serial code to data with a serial code. As long as the data type of the packet transmitted by the remote Bluetooth device 102 still belongs to data without a serial code, the first Bluetooth circuit 110 will not instruct the second Bluetooth circuit 120 to switch to the sniffing mode to avoid This avoids difficulty in determining whether the second Bluetooth circuit 120 misses the packet sent by the remote Bluetooth device 102.

只有在遠端藍牙裝置102傳來的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料的情況下,第一藍牙電路110才會指示第二藍牙電路120將操作模式從間接收訊模式切換成嗅探模式。在第二藍牙電路120切換成嗅探模式之後,第一藍牙電路110只需要將第二藍牙電路120漏收的封包傳送給第二藍牙電路120,而不需要轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,所以能夠減少第一藍牙電路110的運作負擔、耗電量、以及發熱量,也能延長第一藍牙電路110的工作時間與待機時間,並減少第一藍牙電路110與第二藍牙電路120之間的資料傳輸頻寬需求。 Only when the data type of the packet from the remote Bluetooth device 102 changes from data without a serial code to data with a serial code, the first Bluetooth circuit 110 will instruct the second Bluetooth circuit 120 to receive the operation mode from the other The communication mode is switched to the sniffing mode. After the second Bluetooth circuit 120 switches to the sniffing mode, the first Bluetooth circuit 110 only needs to transmit the packets missed by the second Bluetooth circuit 120 to the second Bluetooth circuit 120, and does not need to forward all the packets sent by the remote Bluetooth device 102. Encapsulate the second Bluetooth circuit 120, so it can reduce the operating burden, power consumption, and heat generation of the first Bluetooth circuit 110, and can also extend the working time and standby time of the first Bluetooth circuit 110, and reduce the first Bluetooth circuit 110 Data transmission bandwidth requirements between the second Bluetooth circuit 120 and the second Bluetooth circuit 120.

相仿地,多成員藍牙裝置100可比照前述方式,依據遠端藍牙裝置102傳來的封包的資料類型的變化,來適應性地切換第三藍牙電路130的操作模式。 Similarly, the multi-member Bluetooth device 100 can adaptively switch the operation mode of the third Bluetooth circuit 130 according to the change of the data type of the packet transmitted from the remote Bluetooth device 102 according to the aforementioned method.

因此,採用前述圖4與圖5的運作方式,多成員藍牙裝置100中的主藍牙電路可在遠端藍牙裝置102傳來的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料時,適應性地將副藍牙電路的操作模式從間接收訊模式切換成嗅探模式,並相應地改變主藍牙電路與副藍牙電路之間的搭配運作,所以能夠在多成員藍牙裝置100的多個藍牙電路之間實現負載平衡、耗電平衡、或發熱平衡等管理機制,故能提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。 Therefore, using the aforementioned operation modes of FIGS. 4 and 5, the main Bluetooth circuit in the multi-member Bluetooth device 100 can change the data type of the packet transmitted from the remote Bluetooth device 102 from data without a serial code to data with a serial code. At the same time, the operation mode of the secondary Bluetooth circuit is adaptively switched from the inter-receiving mode to the sniffing mode, and the matching operation between the primary Bluetooth circuit and the secondary Bluetooth circuit is changed accordingly, so it can be used in the multi-member Bluetooth device 100. A management mechanism such as load balancing, power consumption balancing, or heat balancing among the Bluetooth circuits can improve the overall performance of the multi-member Bluetooth device 100, prolong the service life of the Bluetooth circuits, or improve the user experience.

請參考圖6至圖7,其所繪示為本發明的多成員藍牙裝置100在一第三實施例中的運作方法簡化後的流程圖。 Please refer to FIG. 6 to FIG. 7, which show a simplified flowchart of the operation method of the multi-member Bluetooth device 100 of the present invention in a third embodiment.

在圖6與圖7的實施例中,在副藍牙電路操作於間接收訊模式的期間,扮演主藍牙電路的第一藍牙電路110同樣會間歇性地進行流程410,以檢查遠端藍牙裝置102傳來的封包的資料類型。但本實施例中的 第一藍牙電路110在進行流程410之後,並不會進行前述的流程412,而是會進行圖6中的流程612,以產生並傳送一相應的資料類型通知給個別的副藍牙電路。 In the embodiment of FIG. 6 and FIG. 7, during the period when the secondary Bluetooth circuit is operating in the indirect reception mode, the first Bluetooth circuit 110 acting as the main Bluetooth circuit will also intermittently perform the process 410 to check the remote Bluetooth device 102 The data type of the incoming packet. But in this example After performing the process 410, the first Bluetooth circuit 110 does not perform the aforementioned process 412, but performs the process 612 in FIG. 6 to generate and send a corresponding data type notification to the individual secondary Bluetooth circuits.

例如,第一控制電路117在流程612中可產生與遠端藍牙裝置102當前傳來的封包的資料類型相對應的一資料類型通知,並透過第一藍牙通信電路111將該資料類型通知傳送給所有副藍牙電路。實作上,前述的資料類型通知可用各種合適的信息格式來實現。 For example, the first control circuit 117 can generate a data type notification corresponding to the data type of the packet currently transmitted by the remote Bluetooth device 102 in the process 612, and send the data type notification to the first Bluetooth communication circuit 111 All secondary Bluetooth circuits. In practice, the aforementioned data type notification can be implemented in various appropriate information formats.

在流程614中,副藍牙電路會接收第一藍牙電路110傳來的資料類型通知,並據以判斷遠端藍牙裝置102傳來的封包的資料類型是否改變。例如,第二藍牙電路120在流程614中可透過第二藍牙通信電路121接收第一藍牙電路110傳來的資料類型通知,而第二控制電路127則可依據該資料類型通知判斷遠端藍牙裝置102傳來的封包的資料類型是否改變。實作上,第二控制電路127可將第一藍牙電路110先前傳來的資料類型通知,暫存在適當的儲存電路(圖中未繪示),以便與第一藍牙電路110當前傳來的資料類型通知進行比對。 In the process 614, the secondary Bluetooth circuit receives the data type notification from the first Bluetooth circuit 110, and determines whether the data type of the packet transmitted by the remote Bluetooth device 102 has changed accordingly. For example, the second Bluetooth circuit 120 can receive the data type notification from the first Bluetooth circuit 110 through the second Bluetooth communication circuit 121 in the process 614, and the second control circuit 127 can determine the remote Bluetooth device based on the data type notification. 102 Whether the data type of the incoming packet has changed. In practice, the second control circuit 127 can notify the type of data previously transmitted by the first Bluetooth circuit 110, and temporarily store an appropriate storage circuit (not shown in the figure) so as to communicate with the data currently transmitted by the first Bluetooth circuit 110. Type notifications for comparison.

倘若當前的資料類型通知顯示遠端藍牙裝置102的封包的資料類型仍然屬於不具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境並未改變。在此情況下,第二藍牙電路120可重複前述的流程408的運作,以繼續操作於間接收訊模式。 If the current data type notification shows that the data type of the packet of the remote Bluetooth device 102 still belongs to data without a serial code, it usually means that the operation context of the multi-member Bluetooth device 100 has not changed. In this case, the second Bluetooth circuit 120 can repeat the operation of the aforementioned process 408 to continue to operate in the indirect reception mode.

反之,倘若當前的資料類型通知顯示遠端藍牙裝置102的封包的資料類型變成是具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境已有所改變。在此情況下,第二控制電路127可進行流程616,以產生一第二模式切換請求,並透過第二藍牙通信電路121將前述的第二模式切換請求傳送給第一藍牙電路110。 Conversely, if the current data type notification shows that the data type of the packet of the remote Bluetooth device 102 becomes data with a serial code, it usually means that the operating context of the multi-member Bluetooth device 100 has changed. In this case, the second control circuit 127 can perform the process 616 to generate a second mode switching request, and transmit the aforementioned second mode switching request to the first Bluetooth circuit 110 through the second Bluetooth communication circuit 121.

在流程618中,第一藍牙電路110會透過第一藍牙通信電路111接收第二藍牙電路120傳來的第二模式切換請求。 In the process 618, the first Bluetooth circuit 110 receives the second mode switching request from the second Bluetooth circuit 120 through the first Bluetooth communication circuit 111.

接著,第一藍牙電路110會進行圖7中的流程702。在流程702中,第 一藍牙電路110的第一控制電路117會判斷是否允許第二藍牙電路120切換操作模式。在本實施例中,第一控制電路117在收到前述的第二模式切換請求後,可根據預定的規則來判斷是否允許第二藍牙電路120切換操作模式,並依據判斷的結果進行相應的後續處理流程。 Next, the first Bluetooth circuit 110 will perform the process 702 in FIG. 7. In the process 702, the first The first control circuit 117 of a Bluetooth circuit 110 determines whether to allow the second Bluetooth circuit 120 to switch the operation mode. In this embodiment, after receiving the aforementioned second mode switching request, the first control circuit 117 can determine whether to allow the second Bluetooth circuit 120 to switch the operating mode according to a predetermined rule, and perform corresponding follow-up according to the result of the determination. Processing flow.

倘若第一控制電路117判斷後決定不允許第二藍牙電路120切換操作模式,則可進行流程704。反之,倘若第一控制電路117判斷後決定允許第二藍牙電路120切換操作模式,則可進行前述的流程502。 If the first control circuit 117 determines that the second Bluetooth circuit 120 is not allowed to switch the operation mode after the judgment, the process 704 can be performed. Conversely, if the first control circuit 117 decides to allow the second Bluetooth circuit 120 to switch the operation mode, the aforementioned process 502 can be performed.

由於第一藍牙電路110允許第二藍牙電路120切換操作模式後,第二藍牙電路120便可從間接收訊模式切換成嗅探模式,而接下來第二藍牙電路120會自行嗅探遠端藍牙裝置102發出的封包,所以第一藍牙電路110不需要將遠端藍牙裝置102發出的封包轉傳給第二藍牙電路120。如此一來,第二藍牙電路120的運算負荷、電力消耗、或發熱量可能會增加,但可減輕第一藍牙電路110與第二藍牙電路120之間的資料頻寬需求,也可以降低第一藍牙電路110的運算負荷、電力消耗、或發熱量。 Since the first Bluetooth circuit 110 allows the second Bluetooth circuit 120 to switch the operation mode, the second Bluetooth circuit 120 can switch from the indirect reception mode to the sniffing mode, and then the second Bluetooth circuit 120 will sniff the remote Bluetooth by itself. The packet sent by the device 102, so the first Bluetooth circuit 110 does not need to forward the packet sent by the remote Bluetooth device 102 to the second Bluetooth circuit 120. As a result, the computing load, power consumption, or heat generation of the second Bluetooth circuit 120 may increase, but the data bandwidth requirement between the first Bluetooth circuit 110 and the second Bluetooth circuit 120 can be reduced, and the first Bluetooth circuit 120 can also be reduced. The calculation load, power consumption, or calorific value of the Bluetooth circuit 110.

因此,第一控制電路117在收到前述的第二模式切換請求後,可評估當時是否存在不適合第二藍牙電路120切換運作模式的因素,倘若沒有,便可允許第二藍牙電路120切換操作模式。例如,第一控制電路117可在第二藍牙電路120當時的運算負荷低於一預定水平、剩餘電力高於一預定門檻、和/或溫度低於一預定溫度的情況下,便允許第二藍牙電路120切換操作模式。又例如,第一控制電路117可在第一藍牙電路110當時的運算負荷高於一預定水平、剩餘電力低於一預定門檻、和/或溫度高於一預定溫度的情況下,才允許第二藍牙電路120切換操作模式。 Therefore, after receiving the aforementioned second mode switching request, the first control circuit 117 can evaluate whether there are factors that are not suitable for the second Bluetooth circuit 120 to switch the operation mode at that time. If not, the second Bluetooth circuit 120 can be allowed to switch the operation mode. . For example, the first control circuit 117 may allow the second Bluetooth circuit 120 when the computing load of the second Bluetooth circuit 120 is lower than a predetermined level, the remaining power is higher than a predetermined threshold, and/or the temperature is lower than a predetermined temperature. The circuit 120 switches the operation mode. For another example, the first control circuit 117 may allow the second Bluetooth circuit 110 only when the computing load of the first Bluetooth circuit 110 is higher than a predetermined level, the remaining power is lower than a predetermined threshold, and/or the temperature is higher than a predetermined temperature. The Bluetooth circuit 120 switches the operation mode.

在流程704中,第一控制電路117可產生代表第一藍牙電路110不允許第二藍牙電路120切換操作模式的一拒絕信息,並透過第一藍牙 通信電路111將拒絕信息傳送給第二藍牙電路120。 In the process 704, the first control circuit 117 can generate a rejection message indicating that the first bluetooth circuit 110 does not allow the second bluetooth circuit 120 to switch the operation mode, and pass it through the first bluetooth circuit. The communication circuit 111 transmits the rejection information to the second Bluetooth circuit 120.

在流程706中,第二藍牙電路120可透過第二藍牙通信電路121接收第一藍牙電路110傳來的拒絕信息。在此情況下,第二控制電路127會依據該拒絕信息的指示,控制第二藍牙電路120繼續操作於間接收訊模式,並重複前述的流程408的運作。 In the process 706, the second Bluetooth circuit 120 may receive the rejection message from the first Bluetooth circuit 110 through the second Bluetooth communication circuit 121. In this case, the second control circuit 127 will control the second Bluetooth circuit 120 to continue to operate in the indirect reception mode according to the instruction of the rejection message, and repeat the operation of the aforementioned process 408.

在流程502中,第一控制電路117會產生用於指示第二藍牙電路120從間接收訊模式切換成嗅探模式的一第二模式切換指示,並透過第一藍牙通信電路111將第二模式切換指示傳送給第二藍牙電路120。 In the process 502, the first control circuit 117 will generate a second mode switching instruction for instructing the second Bluetooth circuit 120 to switch from the indirect reception mode to the sniffing mode, and switch the second mode through the first Bluetooth communication circuit 111 The switching instruction is transmitted to the second Bluetooth circuit 120.

在流程504中,第二藍牙通信電路121會接收第一藍牙電路110傳來的第二模式切換指示,而第二控制電路127則會依據該第二模式切換指示,將第二藍牙電路120的操作模式從間接收訊模式切換成嗅探模式。 In the process 504, the second bluetooth communication circuit 121 receives the second mode switching instruction from the first bluetooth circuit 110, and the second control circuit 127 controls the second mode switching instruction of the second bluetooth circuit 120 according to the second mode switching instruction. The operation mode is switched from the inter-receiving mode to the sniffing mode.

接下來,多成員藍牙裝置100可進行與前述圖5中的流程506、流程508、以及流程210至流程216相同的運作。 Next, the multi-member Bluetooth device 100 can perform the same operations as the aforementioned process 506, process 508, and process 210 to process 216 in FIG. 5.

請注意,前述第一控制電路117先進行流程702的判斷程序、並在判定可允許第二藍牙電路120切換操作模式後才進行流程502的運作方式只是一實施例,並非侷限本發明的實際實施方式。實作上,第一控制電路117也可在收到前述的第二模式切換請求後,跳過前述流程702的判斷程序而直接進行流程502。 Please note that the aforementioned first control circuit 117 performs the determination procedure of the process 702 first, and then performs the process 502 after determining that the second Bluetooth circuit 120 can be allowed to switch the operating mode. Way. In practice, the first control circuit 117 can also skip the judgment procedure of the aforementioned flow 702 and proceed directly to the flow 502 after receiving the aforementioned second mode switching request.

由前述說明可知,在第二藍牙電路120操作於間接收訊模式的期間,第一藍牙電路110會間歇性地檢查遠端藍牙裝置102傳來的封包的資料類型,並產生相應的資料類型通知,而第二藍牙電路120則會依據第一藍牙電路110產生的資料類型通知,間接地判斷遠端藍牙裝置102發出的封包的資料類型是否改變。只要第二藍牙電路120判定遠端藍牙裝置102發出的封包的資料類型仍然屬於不具有序列碼的資料,第一藍牙電路110就不會指示第二藍牙電路120切換成嗅探模式,以避免接下來難以確認第二藍牙電路120是否遺漏遠端藍牙裝 置102發出的封包。 As can be seen from the foregoing description, during the period when the second Bluetooth circuit 120 is operating in the indirect reception mode, the first Bluetooth circuit 110 will intermittently check the data type of the packet transmitted from the remote Bluetooth device 102 and generate a corresponding data type notification. , And the second Bluetooth circuit 120 will indirectly determine whether the data type of the packet sent by the remote Bluetooth device 102 has changed according to the data type notification generated by the first Bluetooth circuit 110. As long as the second bluetooth circuit 120 determines that the data type of the packet sent by the remote bluetooth device 102 still belongs to data without a serial code, the first bluetooth circuit 110 will not instruct the second bluetooth circuit 120 to switch to the sniffing mode to avoid connection It is difficult to confirm whether the second Bluetooth circuit 120 misses the remote Bluetooth device. Set the packet sent by 102.

只有在第二藍牙電路120判定遠端藍牙裝置102發出的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料的情況下,第一藍牙電路110才會指示第二藍牙電路120將操作模式從間接收訊模式切換成嗅探模式。在第二藍牙電路120切換成嗅探模式之後,第一藍牙電路110只需要將第二藍牙電路120漏收的封包傳送給第二藍牙電路120,而不需要轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,所以能夠減少第一藍牙電路110的運作負擔、耗電量、以及發熱量,也能延長第一藍牙電路110的工作時間與待機時間,並減少第一藍牙電路110與第二藍牙電路120之間的資料傳輸頻寬需求。 Only when the second Bluetooth circuit 120 determines that the data type of the packet sent by the remote Bluetooth device 102 has changed from data without a serial code to data with a serial code, will the first Bluetooth circuit 110 instruct the second Bluetooth circuit 120 to change The operation mode is switched from the inter-receiving mode to the sniffing mode. After the second Bluetooth circuit 120 switches to the sniffing mode, the first Bluetooth circuit 110 only needs to transmit the packets missed by the second Bluetooth circuit 120 to the second Bluetooth circuit 120, and does not need to forward all the packets sent by the remote Bluetooth device 102. Encapsulate the second Bluetooth circuit 120, so it can reduce the operating burden, power consumption, and heat generation of the first Bluetooth circuit 110, and can also extend the working time and standby time of the first Bluetooth circuit 110, and reduce the first Bluetooth circuit 110 Data transmission bandwidth requirements between the second Bluetooth circuit 120 and the second Bluetooth circuit 120.

相仿地,多成員藍牙裝置100可比照前述方式,依據遠端藍牙裝置102傳來的封包的資料類型的變化,來適應性地切換第三藍牙電路130的操作模式。 Similarly, the multi-member Bluetooth device 100 can adaptively switch the operation mode of the third Bluetooth circuit 130 according to the change of the data type of the packet transmitted from the remote Bluetooth device 102 according to the aforementioned method.

因此,採用前述圖6與圖7的運作方式,多成員藍牙裝置100中的主藍牙電路可在遠端藍牙裝置102傳來的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料時,適應性地將副藍牙電路的操作模式從間接收訊模式切換成嗅探模式,並相應地改變主藍牙電路與副藍牙電路之間的搭配運作,所以能夠在多成員藍牙裝置100的多個藍牙電路之間實現負載平衡、耗電平衡、或發熱平衡等管理機制,故能提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。 Therefore, using the aforementioned operation modes of FIGS. 6 and 7, the main Bluetooth circuit in the multi-member Bluetooth device 100 can change the data type of the packet transmitted from the remote Bluetooth device 102 from data without a serial code to data with a serial code. At the same time, the operation mode of the secondary Bluetooth circuit is adaptively switched from the inter-receiving mode to the sniffing mode, and the matching operation between the primary Bluetooth circuit and the secondary Bluetooth circuit is changed accordingly, so it can be used in the multi-member Bluetooth device 100. A management mechanism such as load balancing, power consumption balancing, or heat balancing among the Bluetooth circuits can improve the overall performance of the multi-member Bluetooth device 100, prolong the service life of the Bluetooth circuits, or improve the user experience.

請參考圖8至圖9,其所繪示為本發明的多成員藍牙裝置100在一第四實施例中的運作方法簡化後的流程圖。 Please refer to FIG. 8 to FIG. 9, which show a simplified flowchart of the operation method of the multi-member Bluetooth device 100 of the present invention in a fourth embodiment.

在圖8與圖9的實施例中,多成員藍牙裝置100在流程202以及流程404至流程408中的運作方式,都與前述圖4或圖6的實施例相同。換言之,副藍牙電路會操作在間接收訊模式以接收主藍牙電路轉傳過來的不具有序列碼的封包。但在本實施例中,副藍牙電路進行流程 408之後,還會進行圖8中的流程810,以檢查主藍牙電路轉傳過來的封包的資料類型。 In the embodiments of FIG. 8 and FIG. 9, the operation mode of the multi-member Bluetooth device 100 in the process 202 and the processes 404 to 408 are the same as the foregoing embodiment in FIG. 4 or FIG. 6. In other words, the secondary Bluetooth circuit will operate in the indirect reception mode to receive packets without serial codes transferred from the primary Bluetooth circuit. But in this embodiment, the secondary Bluetooth circuit performs the flow After 408, the process 810 in FIG. 8 is also performed to check the data type of the packet transferred from the main Bluetooth circuit.

例如,第二藍牙電路120的第二控制電路127可在流程810中,利用第二封包解析電路123解析第二藍牙通信電路121接收到的封包(亦即,第一藍牙電路110轉傳來的封包)的特定欄位的內容,以獲得封包的資料類型。實作上,第二控制電路127可讀取第一藍牙電路110傳來的封包中的序列碼欄位的內容、或是其他預定欄位的內容,以判斷該封包的資料類型是屬於具有序列碼的資料、還是屬於不具有序列碼的資料。 For example, the second control circuit 127 of the second Bluetooth circuit 120 may use the second packet parsing circuit 123 to analyze the packets received by the second Bluetooth communication circuit 121 (that is, the packets transferred from the first Bluetooth circuit 110) in the process 810. Packet) to obtain the data type of the packet. In practice, the second control circuit 127 can read the content of the serial code field in the packet sent by the first Bluetooth circuit 110, or the content of other predetermined fields, to determine whether the data type of the packet belongs to the sequence. Code data is still data that does not have a serial code.

接著,第二控制電路127可進行流程812,以藉由判斷第一藍牙電路110轉傳過來的封包的資料類型是否改變的方式,間接判斷遠端藍牙裝置102發出的封包的資料類型是否改變。實作上,第二控制電路127可將第一藍牙電路110先前傳來的封包的資料類型,暫存在適當的儲存電路(圖中未繪示),以便與第一藍牙電路110當前傳來的封包的資料類型進行比對。 Then, the second control circuit 127 can perform the process 812 to indirectly determine whether the data type of the packet sent by the remote Bluetooth device 102 has changed by determining whether the data type of the packet transferred from the first Bluetooth circuit 110 has changed. In practice, the second control circuit 127 can temporarily store the data type of the packet previously transmitted by the first Bluetooth circuit 110 in an appropriate storage circuit (not shown in the figure), so as to communicate with the data type currently transmitted by the first Bluetooth circuit 110. The data type of the packet is compared.

倘若第一藍牙電路110當前傳來的封包的資料類型仍然屬於不具有序列碼的資料,代表遠端藍牙裝置102當前的封包資料類型也仍然屬於不具有序列碼的資料,這通常代表多成員藍牙裝置100的操作情境並未改變。在此情況下,第一藍牙電路110可重複進行前述的流程406的運作,而第二藍牙電路120則可繼續操作於間接收訊模式,並重複前述的流程408、流程810、與流程812的運作。 If the data type of the packet currently transmitted by the first Bluetooth circuit 110 still belongs to data without a serial code, it means that the data type of the current packet of the remote Bluetooth device 102 still belongs to data without a serial code, which usually represents multi-member Bluetooth. The operating context of the device 100 has not changed. In this case, the first Bluetooth circuit 110 can repeat the operation of the aforementioned process 406, and the second Bluetooth circuit 120 can continue to operate in the indirect reception mode, and repeat the aforementioned process 408, process 810, and process 812. Operation.

反之,倘若第一藍牙電路110當前傳來的封包的資料類型變成是具有序列碼的資料,代表遠端藍牙裝置102當前的封包資料類型變成是具有序列碼的資料,這通常代表多成員藍牙裝置100的操作情境已有所改變。在此情況下,第二藍牙電路120可進行前述的流程616,以產生一第二模式切換請求,並透過第二藍牙通信電路121將前述的第二模式切換請求傳送給第一藍牙電路110。 Conversely, if the data type of the packet currently transmitted by the first Bluetooth circuit 110 becomes data with a serial code, it means that the data type of the current packet of the remote Bluetooth device 102 becomes data with a serial code, which usually represents a multi-member Bluetooth device. The operating environment of 100 has been changed. In this case, the second Bluetooth circuit 120 can perform the aforementioned process 616 to generate a second mode switching request, and transmit the aforementioned second mode switching request to the first Bluetooth circuit 110 through the second Bluetooth communication circuit 121.

在流程618中,第一藍牙電路110會透過第一藍牙通信電路111接收第二藍牙電路120傳來的第二模式切換請求。 In the process 618, the first Bluetooth circuit 110 receives the second mode switching request from the second Bluetooth circuit 120 through the first Bluetooth communication circuit 111.

接下來,多成員藍牙裝置100可進行圖9中的運作流程。前述有關圖7中的相應流程的運作說明,亦適用於圖9的實施例中。為簡潔起見,在此不重複敘述。 Next, the multi-member Bluetooth device 100 can perform the operation process in FIG. 9. The foregoing description of the operation of the corresponding process in FIG. 7 is also applicable to the embodiment in FIG. 9. For the sake of brevity, the description will not be repeated here.

由前述說明可知,在扮演副藍牙電路角色的第二藍牙電路120操作於間接收訊模式的期間,第二藍牙電路120會間歇性地檢查第一藍牙電路110轉傳過來的封包的資料類型,以間接判斷遠端藍牙裝置102發出的封包是否從不具有序列碼的資料變成具有序列碼的資料。 只要第二藍牙電路120判定遠端藍牙裝置102發出的封包的資料類型仍然屬於不具有序列碼的資料,第一藍牙電路110就不會指示第二藍牙電路120切換成嗅探模式,以避免接下來難以確認第二藍牙電路120是否遺漏遠端藍牙裝置102發出的封包。 As can be seen from the foregoing description, while the second Bluetooth circuit 120 playing the role of the secondary Bluetooth circuit is operating in the indirect reception mode, the second Bluetooth circuit 120 will intermittently check the data type of the packet transferred from the first Bluetooth circuit 110. It can indirectly determine whether the packet sent by the remote Bluetooth device 102 has changed from data without a serial code to data with a serial code. As long as the second bluetooth circuit 120 determines that the data type of the packet sent by the remote bluetooth device 102 still belongs to data without a serial code, the first bluetooth circuit 110 will not instruct the second bluetooth circuit 120 to switch to the sniffing mode to avoid connection It is difficult to confirm whether the second Bluetooth circuit 120 misses the packet sent by the remote Bluetooth device 102.

只有在第二藍牙電路120判定遠端藍牙裝置102發出的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料的情況下,第一藍牙電路110才會指示第二藍牙電路120將操作模式從間接收訊模式切換成嗅探模式。在第二藍牙電路120切換成嗅探模式之後,第一藍牙電路110只需要將第二藍牙電路120漏收的封包傳送給第二藍牙電路120,而不需要轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,所以能夠減少第一藍牙電路110的運作負擔、耗電量、以及發熱量,也能延長第一藍牙電路110的工作時間與待機時間,並減少第一藍牙電路110與第二藍牙電路120之間的資料傳輸頻寬需求。 Only when the second Bluetooth circuit 120 determines that the data type of the packet sent by the remote Bluetooth device 102 has changed from data without a serial code to data with a serial code, will the first Bluetooth circuit 110 instruct the second Bluetooth circuit 120 to change The operation mode is switched from the inter-receiving mode to the sniffing mode. After the second Bluetooth circuit 120 switches to the sniffing mode, the first Bluetooth circuit 110 only needs to transmit the packets missed by the second Bluetooth circuit 120 to the second Bluetooth circuit 120, and does not need to forward all the packets sent by the remote Bluetooth device 102. Encapsulate the second Bluetooth circuit 120, so it can reduce the operating burden, power consumption, and heat generation of the first Bluetooth circuit 110, and can also extend the working time and standby time of the first Bluetooth circuit 110, and reduce the first Bluetooth circuit 110 Data transmission bandwidth requirements between the second Bluetooth circuit 120 and the second Bluetooth circuit 120.

相仿地,多成員藍牙裝置100可比照前述方式,依據遠端藍牙裝置102傳來的封包的資料類型的變化,來適應性地切換第三藍牙電路130的操作模式。 Similarly, the multi-member Bluetooth device 100 can adaptively switch the operation mode of the third Bluetooth circuit 130 according to the change of the data type of the packet transmitted from the remote Bluetooth device 102 according to the aforementioned method.

因此,採用前述圖8與圖9的運作方式,多成員藍牙裝置100中的主藍牙電路可在副藍牙電路判定遠端藍牙裝置102發出的封包的資料 類型從不具有序列碼的資料變成具有序列碼的資料時,適應性地將副藍牙電路的操作模式從間接收訊模式切換成嗅探模式,並相應地改變主藍牙電路與副藍牙電路之間的搭配運作,所以能夠在多成員藍牙裝置100的多個藍牙電路之間實現負載平衡、耗電平衡、或發熱平衡等管理機制,故能提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。 Therefore, using the above-mentioned operation modes of FIG. 8 and FIG. 9, the main Bluetooth circuit in the multi-member Bluetooth device 100 can determine the data of the packet sent by the remote Bluetooth device 102 in the secondary Bluetooth circuit. When the type changes from data without serial code to data with serial code, adaptively switch the operating mode of the secondary Bluetooth circuit from the inter-receiving mode to the sniffing mode, and change the connection between the main Bluetooth circuit and the secondary Bluetooth circuit accordingly. Therefore, it is possible to achieve load balancing, power consumption balance, or heat balance management mechanisms among the multiple Bluetooth circuits of the multi-member Bluetooth device 100, so it can improve the overall performance of the multi-member Bluetooth device 100 and extend the Bluetooth circuit Longevity, or to improve user experience.

請參考圖10至圖11,其所繪示為本發明的多成員藍牙裝置100在一第五實施例中的運作方法簡化後的流程圖。 Please refer to FIG. 10 to FIG. 11, which show a simplified flowchart of the operation method of the multi-member Bluetooth device 100 of the present invention in a fifth embodiment.

在圖10與圖11的實施例中,多成員藍牙裝置100在流程202以及流程404至流程810中的運作方式,都與前述圖8的實施例相同。換言之,副藍牙電路會操作在間接收訊模式以接收主藍牙電路轉傳過來的不具有序列碼的封包。但在本實施例中,副藍牙電路進行流程810之後,並不會進行圖8中的流程812,而是會進行圖10中的流程1012,以產生並傳送一相應的資料類型通知給主藍牙電路。 In the embodiments of FIG. 10 and FIG. 11, the operation mode of the multi-member Bluetooth device 100 in the process 202 and the process 404 to the process 810 are the same as the foregoing embodiment in FIG. 8. In other words, the secondary Bluetooth circuit will operate in the indirect reception mode to receive packets without serial codes transferred from the primary Bluetooth circuit. However, in this embodiment, after the secondary Bluetooth circuit performs the process 810, the process 812 in FIG. 8 will not be performed, but the process 1012 in FIG. 10 will be performed to generate and send a corresponding data type notification to the master Bluetooth. Circuit.

例如,第二藍牙電路120的第二控制電路127在流程1012中可產生與第一藍牙電路110當前轉傳過來的封包的資料類型相對應的一資料類型通知,並透過第二藍牙通信電路121將該資料類型通知傳送給第一藍牙電路110。實作上,前述的資料類型通知可用各種合適的信息格式來實現。 For example, the second control circuit 127 of the second Bluetooth circuit 120 can generate a data type notification corresponding to the data type of the packet currently forwarded by the first Bluetooth circuit 110 in the process 1012, and pass it through the second Bluetooth communication circuit 121 The data type notification is sent to the first Bluetooth circuit 110. In practice, the aforementioned data type notification can be implemented in various appropriate information formats.

在流程1014中,第一藍牙電路110可透過第一藍牙通信電路111接收第二藍牙電路120傳來的資料類型通知,而第一控制電路117則可依據該資料類型通知間接判斷遠端藍牙裝置102發出的封包的資料類型是否改變。實作上,第一控制電路117可將第二藍牙電路120先前傳來的資料類型通知,暫存在適當的儲存電路(圖中未繪示),以便與第二藍牙電路120當前傳來的資料類型通知進行比對。 In the process 1014, the first Bluetooth circuit 110 can receive the data type notification from the second Bluetooth circuit 120 through the first Bluetooth communication circuit 111, and the first control circuit 117 can indirectly determine the remote Bluetooth device based on the data type notification Whether the data type of the packet sent by 102 is changed. In practice, the first control circuit 117 can notify the type of data previously transmitted by the second Bluetooth circuit 120, and temporarily store an appropriate storage circuit (not shown in the figure) so as to communicate with the data currently transmitted by the second Bluetooth circuit 120. Type notifications for comparison.

倘若當前的資料類型通知顯示遠端藍牙裝置102發出的封包的資料類型仍然屬於不具有序列碼的資料,通常代表多成員藍牙裝置100 的操作情境並未改變。在此情況下,第一藍牙電路110可重複前述的流程406的運作。 If the current data type notification shows that the data type of the packet sent by the remote Bluetooth device 102 is still data without a serial code, it usually represents a multi-member Bluetooth device 100 The operating context of has not changed. In this case, the first Bluetooth circuit 110 can repeat the operation of the aforementioned process 406.

反之,倘若當前的資料類型通知顯示遠端藍牙裝置102發出的封包的資料類型變成是具有序列碼的資料,通常代表多成員藍牙裝置100的操作情境已有所改變。在此情況下,第一控制電路117可進行圖11中的流程502,以產生用於指示第二藍牙電路120從間接收訊模式切換成嗅探模式的一第二模式切換指示,並透過第一藍牙通信電路111將第二模式切換指示傳送給第二藍牙電路120。 Conversely, if the current data type notification shows that the data type of the packet sent by the remote Bluetooth device 102 becomes data with a serial code, it usually means that the operating context of the multi-member Bluetooth device 100 has changed. In this case, the first control circuit 117 can perform the process 502 in FIG. 11 to generate a second mode switching instruction for instructing the second Bluetooth circuit 120 to switch from the indirect reception mode to the sniffing mode, and through the first A Bluetooth communication circuit 111 transmits the second mode switching instruction to the second Bluetooth circuit 120.

接下來,多成員藍牙裝置100可進行圖11中的剩餘運作流程。前述有關圖5中的相應流程的運作說明,亦適用於圖11的實施例中。為簡潔起見,在此不重複敘述。 Next, the multi-member Bluetooth device 100 can perform the remaining operation process in FIG. 11. The foregoing description of the operation of the corresponding process in FIG. 5 is also applicable to the embodiment in FIG. 11. For the sake of brevity, the description will not be repeated here.

由前述說明可知,在第二藍牙電路120操作於間接收訊模式的期間,第二藍牙電路120會間歇性地檢查第一藍牙電路110轉傳過來的封包的資料類型,並產生相應的資料類型通知,而第一藍牙電路110則會依據第二藍牙電路120產生的資料類型通知,間接地判斷遠端藍牙裝置102發出的封包的資料類型是否改變。只要第一藍牙電路110判定遠端藍牙裝置102發出的封包的資料類型仍然屬於不具有序列碼的資料,第一藍牙電路110就不會指示第二藍牙電路120切換成嗅探模式,以避免接下來難以確認第二藍牙電路120是否遺漏遠端藍牙裝置102發出的封包。 As can be seen from the foregoing description, during the period when the second Bluetooth circuit 120 is operating in the indirect reception mode, the second Bluetooth circuit 120 will intermittently check the data type of the packet transferred from the first Bluetooth circuit 110 and generate the corresponding data type. According to the data type notification generated by the second Bluetooth circuit 120, the first Bluetooth circuit 110 indirectly determines whether the data type of the packet sent by the remote Bluetooth device 102 has changed. As long as the first bluetooth circuit 110 determines that the data type of the packet sent by the remote bluetooth device 102 still belongs to data without a serial code, the first bluetooth circuit 110 will not instruct the second bluetooth circuit 120 to switch to the sniffing mode to avoid connection It is difficult to confirm whether the second Bluetooth circuit 120 misses the packet sent by the remote Bluetooth device 102.

只有在第一藍牙電路110判定遠端藍牙裝置102發出的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料的情況下,第一藍牙電路110才會指示第二藍牙電路120將操作模式從間接收訊模式切換成嗅探模式。在第二藍牙電路120切換成嗅探模式之後,第一藍牙電路110只需要將第二藍牙電路120漏收的封包傳送給第二藍牙電路120,而不需要轉發遠端藍牙裝置102發出的所有封包給第二藍牙電路120,所以能夠減少第一藍牙電路110的運作負擔、耗電量、以 及發熱量,也能延長第一藍牙電路110的工作時間與待機時間,並減少第一藍牙電路110與第二藍牙電路120之間的資料傳輸頻寬需求。 Only when the first Bluetooth circuit 110 determines that the data type of the packet sent by the remote Bluetooth device 102 has changed from data without a serial code to data with a serial code, will the first Bluetooth circuit 110 instruct the second Bluetooth circuit 120 to change The operation mode is switched from the inter-receiving mode to the sniffing mode. After the second Bluetooth circuit 120 switches to the sniffing mode, the first Bluetooth circuit 110 only needs to transmit the packets missed by the second Bluetooth circuit 120 to the second Bluetooth circuit 120, and does not need to forward all the packets sent by the remote Bluetooth device 102. The packet is sent to the second Bluetooth circuit 120, so it can reduce the operational burden, power consumption, and cost of the first Bluetooth circuit 110. And heat generation can also extend the working time and standby time of the first Bluetooth circuit 110, and reduce the data transmission bandwidth requirement between the first Bluetooth circuit 110 and the second Bluetooth circuit 120.

相仿地,多成員藍牙裝置100可比照前述方式,依據遠端藍牙裝置102傳來的封包的資料類型的變化,來適應性地切換第三藍牙電路130的操作模式。 Similarly, the multi-member Bluetooth device 100 can adaptively switch the operation mode of the third Bluetooth circuit 130 according to the change of the data type of the packet transmitted from the remote Bluetooth device 102 according to the aforementioned method.

因此,採用前述圖10與圖11的運作方式,多成員藍牙裝置100中的主藍牙電路可在遠端藍牙裝置102傳來的封包的資料類型從不具有序列碼的資料變成具有序列碼的資料時,適應性地將副藍牙電路的操作模式從間接收訊模式切換成嗅探模式,並相應地改變主藍牙電路與副藍牙電路之間的搭配運作,所以能夠在多成員藍牙裝置100的多個藍牙電路之間實現負載平衡、耗電平衡、或發熱平衡等管理機制,故能提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。 Therefore, using the aforementioned operation modes of FIG. 10 and FIG. 11, the main Bluetooth circuit in the multi-member Bluetooth device 100 can change the data type of the packet transmitted from the remote Bluetooth device 102 from data without a serial code to data with a serial code. At the same time, the operation mode of the secondary Bluetooth circuit is adaptively switched from the inter-receiving mode to the sniffing mode, and the matching operation between the primary Bluetooth circuit and the secondary Bluetooth circuit is changed accordingly, so it can be used in the multi-member Bluetooth device 100. A management mechanism such as load balancing, power consumption balancing, or heat balancing among the Bluetooth circuits can improve the overall performance of the multi-member Bluetooth device 100, prolong the service life of the Bluetooth circuits, or improve the user experience.

請注意,在前述各實施例中的多成員藍牙裝置100的成員電路的數量,可以減少至兩個,也可依實際電路應用的需要而增加。 Please note that the number of member circuits of the multi-member Bluetooth device 100 in each of the foregoing embodiments can be reduced to two, or can be increased according to the needs of actual circuit applications.

在說明書及申請專利範圍中使用了某些詞彙來指稱特定的元件,而本領域內的技術人員可能會用不同的名詞來稱呼同樣的元件。本說明書及申請專利範圍並不以名稱的差異來做為區分元件的方式,而是以元件在功能上的差異來做為區分的基準。在說明書及申請專利範圍中所提及的「包含」為開放式的用語,應解釋成「包含但不限定於」。另外,「耦接」一詞在此包含任何直接及間接的連接手段。因此,若文中描述第一元件耦接於第二元件,則代表第一元件可通過電性連接或無線傳輸、光學傳輸等信號連接方式而直接地連接於第二元件,或通過其它元件或連接手段間接地電性或信號連接至第二元件。 In the specification and the scope of the patent application, certain words are used to refer to specific elements, and those skilled in the art may use different terms to refer to the same elements. This specification and the scope of the patent application do not use differences in names as a way to distinguish elements, but use differences in functions as a basis for distinction. The "include" mentioned in the specification and the scope of the patent application is an open term and should be interpreted as "include but not limited to". In addition, the term "coupling" here includes any direct and indirect connection means. Therefore, if it is described in the text that the first element is coupled to the second element, it means that the first element can be directly connected to the second element through electrical connection, wireless transmission, optical transmission, or other signal connection methods, or through other elements or connections. The means is indirectly connected to the second element electrically or signally.

在說明書中所使用的「和/或」的描述方式,包含所列舉的其中一個項目或多個項目的任意組合。另外,除非說明書中特別指明,否則 任何單數格的用語都同時包含複數格的含義。 The description method of "and/or" used in the description includes one of the listed items or any combination of multiple items. In addition, unless otherwise specified in the specification, Any word in the singular case also includes the meaning of the plural case.

以上僅為本發明的較佳實施例,凡依本發明請求項所做的等效變化與修改,皆應屬本發明的涵蓋範圍。 The above are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should fall within the scope of the present invention.

100:多成員藍牙裝置 100: Multi-member Bluetooth device

102:遠端藍牙裝置 102: Remote Bluetooth device

110:第一藍牙電路 110: The first Bluetooth circuit

111:第一藍牙通信電路 111: The first Bluetooth communication circuit

113:第一封包解析電路 113: The first packet analysis circuit

115:第一時脈同步電路 115: The first clock synchronization circuit

117:第一控制電路 117: The first control circuit

120:第二藍牙電路 120: second bluetooth circuit

121:第二藍牙通信電路 121: Second Bluetooth communication circuit

123:第二封包解析電路 123: The second packet analysis circuit

125:第二時脈同步電路 125: Second clock synchronization circuit

127:第二控制電路 127: second control circuit

130:第三藍牙電路 130: third bluetooth circuit

Claims (6)

一種多成員藍牙裝置(100),用於與一遠端藍牙裝置(102)進行資料傳輸,該多成員藍牙裝置(100)包含:一主藍牙電路(110),包含:一第一藍牙通信電路(111);一第一封包解析電路(113),設置成解析該第一藍牙通信電路(111)接收到的封包;以及一第一控制電路(117),耦接於該第一藍牙通信電路(111)與該第一封包解析電路(113);以及一副藍牙電路(120),設置成可選擇性操作於一嗅探模式或一間接收訊模式,該副藍牙電路(120)包含:一第二藍牙通信電路(121);一第二封包解析電路(123),設置成解析該第二藍牙通信電路(121)接收到的封包;以及一第二控制電路(127),耦接於該第二藍牙通信電路(121)與該第二封包解析電路(123);其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第一控制電路(117)會利用該第一藍牙通信電路(111)接收該遠端藍牙裝置(102)傳來的封包,並利用該第一藍牙通信電路(111)將接收到的封包轉傳給該副藍牙電路(120),且該第二控制電路(127)會利用該第二藍牙通信電路(121)接收該第一藍牙通信電路(111)轉傳過來的封包,但該第二控制電路(127)不會利用該第二藍牙通信電路(121)嗅探該遠端藍牙裝置(102)發出的封包;在該遠端藍牙裝置(102)傳來的封包的資料類型發生改變的情況下,該副藍牙電路(120)會從該間接收訊模式切換成該嗅探模式;以及 在該副藍牙電路(120)操作於該嗅探模式的期間,該第一控制電路(117)會利用該第一藍牙通信電路(111)接收該遠端藍牙裝置(102)傳來的封包,且該第二控制電路(127)會利用該第二藍牙通信電路(121)嗅探該遠端藍牙裝置(102)發出的封包。 A multi-member Bluetooth device (100) for data transmission with a remote Bluetooth device (102). The multi-member Bluetooth device (100) includes: a main Bluetooth circuit (110), including: a first Bluetooth communication circuit (111); a first packet parsing circuit (113) configured to analyze the packets received by the first Bluetooth communication circuit (111); and a first control circuit (117) coupled to the first Bluetooth communication circuit (111) and the first packet parsing circuit (113); and a pair of Bluetooth circuit (120), configured to be selectively operable in a sniffing mode or a receiving mode, the second Bluetooth circuit (120) includes: A second Bluetooth communication circuit (121); a second packet analysis circuit (123) configured to analyze the packets received by the second Bluetooth communication circuit (121); and a second control circuit (127), coupled to The second Bluetooth communication circuit (121) and the second packet analysis circuit (123); wherein, while the secondary Bluetooth circuit (120) is operating in the inter-receiving mode, the first control circuit (117) will use The first Bluetooth communication circuit (111) receives the packet from the remote Bluetooth device (102), and uses the first Bluetooth communication circuit (111) to forward the received packet to the secondary Bluetooth circuit (120), And the second control circuit (127) will use the second Bluetooth communication circuit (121) to receive the packet transferred from the first Bluetooth communication circuit (111), but the second control circuit (127) will not use the first Bluetooth communication circuit (111). The second Bluetooth communication circuit (121) sniffs the packet sent by the remote Bluetooth device (102); when the data type of the packet transmitted by the remote Bluetooth device (102) changes, the secondary Bluetooth circuit (120) Will switch from the receiving mode to the sniffing mode; and While the secondary Bluetooth circuit (120) is operating in the sniffing mode, the first control circuit (117) will use the first Bluetooth communication circuit (111) to receive packets from the remote Bluetooth device (102), And the second control circuit (127) will use the second Bluetooth communication circuit (121) to sniff the packet sent by the remote Bluetooth device (102). 如請求項1所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第一控制電路(117)與該第二控制電路(127)的其中之一會檢查該遠端藍牙裝置(102)傳來的封包的資料類型,且該第一控制電路(117)與該第二控制電路(127)的其中之一會判斷該資料類型是否改變;其中,倘若該資料類型從不具有序列碼的資料變成具有序列碼的資料,則該第一控制電路(117)會透過該第一藍牙通信電路(111)傳送一模式切換指示給該第二藍牙通信電路(121),以指示該副藍牙電路(120)由該間接收訊模式切換成該嗅探模式。 The multi-member Bluetooth device (100) according to claim 1, wherein the first control circuit (117) and the second control circuit ( One of 127) will check the data type of the packet from the remote Bluetooth device (102), and one of the first control circuit (117) and the second control circuit (127) will determine the data Whether the type is changed; where, if the data type changes from data without a serial code to data with a serial code, the first control circuit (117) will send a mode switch instruction to the first Bluetooth communication circuit (111) The second Bluetooth communication circuit (121) instructs the secondary Bluetooth circuit (120) to switch from the inter-receiving mode to the sniffing mode. 如請求項2所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第一控制電路(117)還設置成檢查該遠端藍牙裝置(102)傳來的封包的資料類型,並判斷該資料類型是否改變;其中,倘若該資料類型從不具有序列碼的資料變成具有序列碼的資料,則該第一控制電路(117)會透過該第一藍牙通信電路(111)傳送一模式切換指示給該第二藍牙通信電路(121),以指示該副藍牙電路(120)由該間接收訊模式切換成該嗅探模式。 The multi-member Bluetooth device (100) according to claim 2, wherein, while the secondary Bluetooth circuit (120) is operating in the inter-receiving mode, the first control circuit (117) is further configured to check the remote The data type of the packet sent from the Bluetooth device (102), and determine whether the data type has changed; wherein, if the data type changes from data without a serial code to data with a serial code, the first control circuit (117) A mode switching instruction is sent to the second Bluetooth communication circuit (121) through the first Bluetooth communication circuit (111) to instruct the secondary Bluetooth circuit (120) to switch from the indirect reception mode to the sniffing mode. 如請求項2所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第一控制電路(117)還設置成檢查該遠端藍牙裝置(102)傳來的封包的資料類型,並透過該第一藍牙通信電路(111)傳送一相應的資料類型通知給該第二藍牙通信電路(121),且該第二控制電路(127)還設置成依據該資料類型通知判斷該資料類型是否改變; 其中,倘若該資料類型從不具有序列碼的資料變成具有序列碼的資料,則該第二控制電路(127)會透過該第二藍牙通信電路(121)傳送一模式切換請求給該第一藍牙通信電路(111),以請求該主藍牙電路(110)允許該副藍牙電路(120)由該間接收訊模式切換成該嗅探模式。 The multi-member Bluetooth device (100) according to claim 2, wherein, while the secondary Bluetooth circuit (120) is operating in the inter-receiving mode, the first control circuit (117) is further configured to check the remote The data type of the packet sent from the Bluetooth device (102), and a corresponding data type notification is sent to the second Bluetooth communication circuit (121) through the first Bluetooth communication circuit (111), and the second control circuit (127) ) Is also set to determine whether the data type has changed according to the notification of the data type; Wherein, if the data type changes from data without a serial code to data with a serial code, the second control circuit (127) will send a mode switching request to the first Bluetooth communication circuit (121) through the second Bluetooth communication circuit (121). The communication circuit (111) requests the main Bluetooth circuit (110) to allow the secondary Bluetooth circuit (120) to switch from the inter-receiving mode to the sniffing mode. 如請求項2所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第二控制電路(127)會檢查該第一藍牙通信電路(111)轉傳過來的封包的資料類型,以間接判斷該遠端藍牙裝置(102)傳來的封包的資料類型是否改變;其中,倘若該資料類型從不具有序列碼的資料變成具有序列碼的資料,則該第二控制電路(127)會透過該第二藍牙通信電路(121)傳送一模式切換請求給該第一藍牙通信電路(111),以請求該主藍牙電路(110)允許該副藍牙電路(120)由該間接收訊模式切換成該嗅探模式。 The multi-member Bluetooth device (100) according to claim 2, wherein, while the secondary Bluetooth circuit (120) is operating in the inter-receiving mode, the second control circuit (127) checks the first Bluetooth communication The data type of the packet transmitted by the circuit (111) can be used to indirectly determine whether the data type of the packet transmitted by the remote Bluetooth device (102) has changed; among them, if the data type is changed from a data without a serial code to a serial Code data, the second control circuit (127) will send a mode switch request to the first Bluetooth communication circuit (111) through the second Bluetooth communication circuit (121) to request the main Bluetooth circuit (110) to allow The secondary Bluetooth circuit (120) is switched from the inter-receiving mode to the sniffing mode. 如請求項2所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)操作於該間接收訊模式的期間,該第二控制電路(127)會檢查該第一藍牙通信電路(111)轉傳過來的封包的資料類型,並透過該第二藍牙通信電路(121)傳送一相應的資料類型通知給該第一藍牙通信電路(111),且該第一控制電路(117)還設置成依據該資料類型通知間接判斷該遠端藍牙裝置(102)傳來的封包的資料類型是否改變;其中,倘若該資料類型從不具有序列碼的資料變成具有序列碼的資料,則該第一控制電路(117)會透過該第一藍牙通信電路(111)傳送一模式切換指示給該第二藍牙通信電路(121),以指示該副藍牙電路(120)由該間接收訊模式切換成該嗅探模式。 The multi-member Bluetooth device (100) according to claim 2, wherein, while the secondary Bluetooth circuit (120) is operating in the inter-receiving mode, the second control circuit (127) checks the first Bluetooth communication The circuit (111) transfers the data type of the packet, and transmits a corresponding data type notification to the first Bluetooth communication circuit (111) through the second Bluetooth communication circuit (121), and the first control circuit (117) ) Is also set to indirectly determine whether the data type of the packet transmitted from the remote Bluetooth device (102) has changed according to the data type notification; wherein, if the data type changes from data without a serial code to data with a serial code, then The first control circuit (117) transmits a mode switching instruction to the second Bluetooth communication circuit (121) through the first Bluetooth communication circuit (111) to instruct the secondary Bluetooth circuit (120) to receive the communication mode Switch to this sniffing mode.
TW109127805A 2019-10-03 2020-08-14 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets TWI739549B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/030,974 US10999728B2 (en) 2019-10-03 2020-09-24 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
KR1020200127507A KR102337260B1 (en) 2019-10-03 2020-09-29 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
JP2020164039A JP6949186B2 (en) 2019-10-03 2020-09-29 Multi-configuration Bluetooth device that can adaptively switch the operation mode according to the change in the data type of the received packet.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962909783P 2019-10-03 2019-10-03
US62/909,783 2019-10-03

Publications (2)

Publication Number Publication Date
TW202116084A TW202116084A (en) 2021-04-16
TWI739549B true TWI739549B (en) 2021-09-11

Family

ID=75224325

Family Applications (10)

Application Number Title Priority Date Filing Date
TW110130026A TWI763581B (en) 2019-10-03 2020-07-30 Main bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW111108976A TWI774637B (en) 2019-10-03 2020-07-30 Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109125882A TWI736378B (en) 2019-10-03 2020-07-30 Multi-member bluetooth device capable of dynamically switching operation mode, and related main bluetooth circuit and auxiliary bluetooth circuit
TW109127184A TWI783255B (en) 2019-10-03 2020-08-11 Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109127186A TWI743935B (en) 2019-10-03 2020-08-11 Multi-member bluetooth device capable of dynamically switching operation mode
TW109127185A TW202116082A (en) 2019-10-03 2020-08-11 Main bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109127806A TWI739550B (en) 2019-10-03 2020-08-14 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets, and related main bluetooth circuit and auxiliary bluetooth circuit
TW109127807A TWI757831B (en) 2019-10-03 2020-08-14 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
TW109127805A TWI739549B (en) 2019-10-03 2020-08-14 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
TW110131942A TWI758225B (en) 2019-10-03 2020-08-14 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets

Family Applications Before (8)

Application Number Title Priority Date Filing Date
TW110130026A TWI763581B (en) 2019-10-03 2020-07-30 Main bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW111108976A TWI774637B (en) 2019-10-03 2020-07-30 Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109125882A TWI736378B (en) 2019-10-03 2020-07-30 Multi-member bluetooth device capable of dynamically switching operation mode, and related main bluetooth circuit and auxiliary bluetooth circuit
TW109127184A TWI783255B (en) 2019-10-03 2020-08-11 Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109127186A TWI743935B (en) 2019-10-03 2020-08-11 Multi-member bluetooth device capable of dynamically switching operation mode
TW109127185A TW202116082A (en) 2019-10-03 2020-08-11 Main bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
TW109127806A TWI739550B (en) 2019-10-03 2020-08-14 Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets, and related main bluetooth circuit and auxiliary bluetooth circuit
TW109127807A TWI757831B (en) 2019-10-03 2020-08-14 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW110131942A TWI758225B (en) 2019-10-03 2020-08-14 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets

Country Status (2)

Country Link
CN (7) CN112615649B (en)
TW (10) TWI763581B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140328290A1 (en) * 2011-09-01 2014-11-06 Marvell World Trade Ltd. System and method for reducing interference between communications of coexisting transceivers
US9860047B1 (en) * 2015-05-12 2018-01-02 Sprint Spectrum L.P. User equipment relay selection
US20180084456A1 (en) * 2016-09-21 2018-03-22 Apple Inc. Real-time Relay of Wireless Communications
CN108259572A (en) * 2016-12-28 2018-07-06 立创智能股份有限公司 Remote bluetooth device communication system and method thereof
TWI659638B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of maintaining bluetooth signal quality with remote bluetooth device and related main bluetooth circuit and auxiliary bluetooth circuit

Family Cites Families (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807159B1 (en) * 2000-10-25 2004-10-19 International Business Machines Corporation Methodology for managing power consumption in master driven time division duplex wireless network
TW540764U (en) * 2001-12-04 2003-07-01 Asustek Comp Inc Multi-mode blue-tooth externally connected device
KR100447304B1 (en) * 2002-01-24 2004-09-07 삼성전자주식회사 Bluetooth system capable of communicating on a scatternet and communicating method thereof
KR20040057406A (en) * 2002-12-26 2004-07-02 삼성전자주식회사 Method for controling sniff mode period between bluetooth apparatuses using bluetooth wireless communication
JP2004320542A (en) * 2003-04-17 2004-11-11 Toshiba Corp Radio relaying device, and relaying method of radio communication
CN101646245A (en) * 2008-06-16 2010-02-10 美国博通公司 Method and system for bluetooth and wimax coexistence
US20090312010A1 (en) * 2008-06-16 2009-12-17 Steven Hall Method and system for bluetooth and wimax coexistence
TW201033856A (en) * 2009-03-06 2010-09-16 Zippy Tech Corp Multi-target switching transmission method
EP2400812B1 (en) * 2010-06-24 2019-11-27 9Solutions Oy Bluetooth networking
KR101095412B1 (en) * 2010-08-31 2011-12-16 주식회사 비트컴퓨터 Bluetooth repeating apparatus, system and method for supporting data communication between bluetooth devices supporting different profile
US8768252B2 (en) * 2010-09-02 2014-07-01 Apple Inc. Un-tethered wireless audio system
US9094835B2 (en) * 2013-03-15 2015-07-28 Intel Mobile Communications GmbH Radio communication device and method for operating a radio communication device
EP2871857B1 (en) * 2013-11-07 2020-06-17 Oticon A/s A binaural hearing assistance system comprising two wireless interfaces
US9648073B2 (en) * 2014-04-10 2017-05-09 Qualcomm Incorporated Streaming control for real-time transport protocol
CN108834123B (en) * 2014-04-15 2021-02-09 瑞昱半导体股份有限公司 Wireless communication system and related wireless device
CN105096552A (en) * 2014-04-15 2015-11-25 瑞昱半导体股份有限公司 Bluetooth remote control system and associated apparatuses
US9955333B2 (en) * 2014-08-20 2018-04-24 Qualcomm, Incorporated Secure wireless wake-up companion
CN204141554U (en) * 2014-09-30 2015-02-04 生迪光电科技股份有限公司 A kind of controlled in wireless lighting device with audio playing function
CN104320843B (en) * 2014-10-08 2020-07-24 络达科技股份有限公司 Audio synchronization method of Bluetooth sound production device
CN104320699B (en) * 2014-10-22 2018-05-25 络达科技股份有限公司 The dynamic adjusting method of bluetooth sound-producing device
US9585159B2 (en) * 2014-12-19 2017-02-28 Qualcomm Incorporated Opportunistic dual-band relay
US9998434B2 (en) * 2015-01-26 2018-06-12 Listat Ltd. Secure dynamic communication network and protocol
US9769594B2 (en) * 2015-01-30 2017-09-19 Cassia Networks Inc. Methods, devices and systems for increasing wireless communication range
WO2016131416A1 (en) * 2015-02-16 2016-08-25 Polaris Tech Global Limited Cross-platform automated perimeter access control system and method adopting rfid-to-bluetooth selective adapter
US10454756B2 (en) * 2015-09-25 2019-10-22 Orion Labs Wearable group communication device bypass connectivity
CN105338472B (en) * 2015-09-29 2019-06-18 爱国者电子科技有限公司 Wireless routing device, wireless routing system, communication means
TWI650975B (en) * 2016-08-25 2019-02-11 凌華科技股份有限公司 LoRa mobile device providing mobile device direct access to LoRa information packet and data transmission method thereof
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
US10206084B2 (en) * 2016-12-27 2019-02-12 Avago Technologies International Sales Pte. Limited Power-efficient, balanced, and reliable true wireless bluetooth stereo audio solution
CN106878920B (en) * 2016-12-29 2017-12-22 建荣半导体(深圳)有限公司 Data forwarding method, its device, bluetooth equipment and audio frequency transmission method
US10187179B1 (en) * 2017-03-27 2019-01-22 Amazon Technologies, Inc. System for configuring a packet detection threshold of an audio device
CN107135256A (en) * 2017-04-27 2017-09-05 建荣半导体(深圳)有限公司 Bluetooth communication method, communicator, communication system and electronic equipment
CN107040988A (en) * 2017-05-31 2017-08-11 徐州雷奥医疗设备有限公司 A kind of wireless medical equipment disturbance restraining method monitored based on synchronous regime
CN107018484B (en) * 2017-06-01 2019-11-12 建荣半导体(深圳)有限公司 Bluetooth communication method, its device, Bluetooth system and bluetooth equipment
US10149340B1 (en) * 2017-07-18 2018-12-04 Thales Avionics, Inc. Slave bluetooth device switching between active bluetooth connections with different master bluetooth devices
CN110536251B (en) * 2017-09-12 2021-11-12 展讯通信(上海)有限公司 Bluetooth device, Bluetooth Mesh network information transmission method and readable storage medium
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN109391876A (en) * 2018-01-10 2019-02-26 展讯通信(上海)有限公司 Audio frequency apparatus and its data receiver method
CN110166988B (en) * 2018-02-13 2022-03-11 盛微先进科技股份有限公司 Wireless communication system and method thereof
CN108337595B (en) * 2018-06-19 2018-09-11 恒玄科技(上海)有限公司 Bluetooth headset realizes the method being precisely played simultaneously
CN108901004A (en) * 2018-08-08 2018-11-27 易兆微电子(杭州)有限公司 A kind of method of synchronous transfer bluetooth headset
CN109660971B (en) * 2018-12-05 2021-11-23 恒玄科技(上海)股份有限公司 Wireless earphone and communication method for wireless earphone
CN109922465B (en) * 2019-01-28 2022-07-01 展讯半导体(成都)有限公司 Network configuration method and device
US10412481B1 (en) * 2019-01-30 2019-09-10 Bestechnic (Shanghai) Co., Ltd. Operation mode switch of wireless headphones

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140328290A1 (en) * 2011-09-01 2014-11-06 Marvell World Trade Ltd. System and method for reducing interference between communications of coexisting transceivers
US9860047B1 (en) * 2015-05-12 2018-01-02 Sprint Spectrum L.P. User equipment relay selection
US20180084456A1 (en) * 2016-09-21 2018-03-22 Apple Inc. Real-time Relay of Wireless Communications
CN108259572A (en) * 2016-12-28 2018-07-06 立创智能股份有限公司 Remote bluetooth device communication system and method thereof
TWI659638B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of maintaining bluetooth signal quality with remote bluetooth device and related main bluetooth circuit and auxiliary bluetooth circuit

Also Published As

Publication number Publication date
TW202226805A (en) 2022-07-01
TWI736378B (en) 2021-08-11
CN112616138B (en) 2024-07-19
TWI739550B (en) 2021-09-11
TW202116085A (en) 2021-04-16
CN112616136A (en) 2021-04-06
TW202147876A (en) 2021-12-16
CN112702723B (en) 2024-01-12
TWI763581B (en) 2022-05-01
TWI743935B (en) 2021-10-21
CN112615649B (en) 2022-02-25
TW202145771A (en) 2021-12-01
TWI758225B (en) 2022-03-11
CN112702723A (en) 2021-04-23
CN112702724B (en) 2024-01-12
CN112616136B (en) 2024-01-12
CN112616137B (en) 2024-01-12
TWI757831B (en) 2022-03-11
TW202116081A (en) 2021-04-16
TWI774637B (en) 2022-08-11
CN112615649A (en) 2021-04-06
TW202116084A (en) 2021-04-16
TW202116048A (en) 2021-04-16
TW202116083A (en) 2021-04-16
CN112702722B (en) 2024-05-28
CN112616138A (en) 2021-04-06
TW202116082A (en) 2021-04-16
CN112702722A (en) 2021-04-23
CN112702724A (en) 2021-04-23
TW202116086A (en) 2021-04-16
TWI783255B (en) 2022-11-11
CN112616137A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
KR102362406B1 (en) Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
KR102326925B1 (en) Multi-member bluetooth device capable of dynamically switching operation mode
TWI707604B (en) Main bluetooth circuit of multi-member bluetooth device
TWI739549B (en) Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
KR102337260B1 (en) Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets
KR102337259B1 (en) Multi-member bluetooth device capable of adaptively switching operation mode in response to data type change of received packets, and related main bluetooth circuit and auxiliary bluetooth circuit
KR20210040806A (en) Main bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
KR20210040812A (en) Multi-member bluetooth device capable of dynamically switching operation mode, and related main bluetooth circuit and auxiliary bluetooth circuit
KR20210040814A (en) Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode