[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

TW202010348A - Multi-member Bluetooth device capable of avoiding signal interrupt - Google Patents

Multi-member Bluetooth device capable of avoiding signal interrupt Download PDF

Info

Publication number
TW202010348A
TW202010348A TW108108850A TW108108850A TW202010348A TW 202010348 A TW202010348 A TW 202010348A TW 108108850 A TW108108850 A TW 108108850A TW 108108850 A TW108108850 A TW 108108850A TW 202010348 A TW202010348 A TW 202010348A
Authority
TW
Taiwan
Prior art keywords
bluetooth
circuit
remote
bluetooth device
packet
Prior art date
Application number
TW108108850A
Other languages
Chinese (zh)
Other versions
TWI733094B (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 CN201910261904.2A priority Critical patent/CN110381484B/en
Priority to US16/381,666 priority patent/US10700817B2/en
Priority to KR1020190043166A priority patent/KR102224417B1/en
Priority to JP2019076259A priority patent/JP6772329B2/en
Publication of TW202010348A publication Critical patent/TW202010348A/en
Application granted granted Critical
Publication of TWI733094B publication Critical patent/TWI733094B/en

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Telephone Function (AREA)

Abstract

A multi-member Bluetooth device includes: a main Bluetooth circuit capable of bidirectionally communicating with a remote Bluetooth device through a first Bluetooth communication circuit; and an auxiliary Bluetooth circuit capable of communicating with the main Bluetooth circuit through a data transmission circuit. While the main Bluetooth circuit utilizes the first Bluetooth communication circuit to communicate with the remote Bluetooth device, the auxiliary Bluetooth circuit utilizes a second Bluetooth communication circuit to sniff packets transmitted from the remote Bluetooth device. When detected that the auxiliary Bluetooth circuit has missed packets transmitted from the remote Bluetooth device, the main Bluetooth circuit transmits the missed packets to the auxiliary Bluetooth circuit through the data transmission circuit.

Description

可避免信號中斷的多成員藍牙裝置Multi-member Bluetooth device capable of avoiding signal interruption

本發明涉及藍牙裝置,尤指一種可避免信號中斷的多成員藍牙裝置。The invention relates to a Bluetooth device, in particular to a multi-member Bluetooth device which can avoid signal interruption.

多成員藍牙裝置指的是由多個互相搭配使用的藍牙電路所組成的藍牙裝置,例如,成對的藍牙耳機、成組的藍牙喇叭等等。當多成員藍牙裝置與其他的藍牙裝置(以下稱之為遠端藍牙裝置)進行連線時,遠端藍牙裝置會將多成員藍牙裝置視為單一藍牙裝置來對待。傳統的多成員藍牙裝置在運作時會指定其中一個成員電路做為信號中繼電路,做為遠端藍牙裝置與其他成員電路之間的資料通信橋梁。A multi-member Bluetooth device refers to a Bluetooth device composed of multiple Bluetooth circuits that are used in conjunction with each other, for example, a pair of Bluetooth headphones, a group of Bluetooth speakers, and so on. When the multi-member Bluetooth device is connected with other Bluetooth devices (hereinafter referred to as remote Bluetooth devices), the remote Bluetooth device treats the multi-member Bluetooth device as a single Bluetooth device. A traditional multi-member Bluetooth device will designate one of its member circuits as a signal relay circuit during operation, and serve as a data communication bridge between the remote Bluetooth device and other member circuits.

在運作時,信號中繼電路的運算負荷會比其他成員電路高,所以信號中繼電路的耗電量跟發熱量通常也會比其他成員電路高。當信號中繼電路因電力不足或其他原因,而難以繼續做為遠端藍牙裝置與其他成員電路之間的資料通信橋梁時,傳統的多成員藍牙裝置會指派另一個成員電路做為新的信號中繼電路,並由新的信號中繼電路重新與遠端藍牙裝置建立新的藍牙連線。等新的信號中繼電路與遠端藍牙裝置建立了新的藍牙連線之後,多成員藍牙裝置中的所有成員電路便會改透過新的信號中繼電路恢復與遠端藍牙裝置之間的資料通信。During operation, the computational load of the signal relay circuit is higher than that of other member circuits, so the power consumption and heat generation of the signal relay circuit are usually higher than those of other member circuits. When the signal relay circuit is difficult to continue as a data communication bridge between the remote Bluetooth device and other member circuits due to insufficient power or other reasons, the traditional multi-member Bluetooth device will designate another member circuit as the new The signal relay circuit, and the new signal relay circuit re-establishes a new Bluetooth connection with the remote Bluetooth device. After the new signal relay circuit establishes a new Bluetooth connection with the remote Bluetooth device, all member circuits in the multi-member Bluetooth device will be restored to the remote Bluetooth device through the new signal relay circuit. Data communication.

然而,在新的信號中繼電路與遠端藍牙裝置之間的新藍牙連線建立完成之前,其他成員電路有可能會因為暫時無法與遠端藍牙裝置進行資料通信,而出現信號中斷的情況。例如,在藍牙耳機的應用情境中,此時很可能會造成其中一個耳機發生音訊中斷的情況,而導致不良的用戶體驗。However, before the new Bluetooth connection between the new signal relay circuit and the remote Bluetooth device is established, other member circuits may be temporarily unable to communicate with the remote Bluetooth device, and the signal may be interrupted. . For example, in the context of Bluetooth headsets, it is likely that one of the headsets will have an audio interruption, resulting in a bad user experience.

有鑑於此,如何減少或避免多成員藍牙裝置發生信號中斷的情況,實為有待解決的問題。In view of this, how to reduce or avoid the signal interruption of multi-member Bluetooth devices is really a problem to be solved.

本說明書提供一種多成員藍牙裝置的實施例,用於與一遠端藍牙裝置進行資料傳輸。該多成員藍牙裝置包含:一主藍牙電路,包含:一第一藍牙通信電路;一第一資料傳輸電路;以及一第一控制電路,設置成可透過該第一藍牙通信電路以藍牙無線傳輸方式與該遠端藍牙裝置進行雙向封包傳輸,並可透過該第一資料傳輸電路與其他裝置進行資料通信;以及一副藍牙電路,包含:一第二藍牙通信電路;一第二資料傳輸電路;以及一第二控制電路,設置成控制該第二資料傳輸電路與該第一資料傳輸電路進行資料通信;其中,在該第一藍牙通信電路與該遠端藍牙裝置進行封包傳輸的過程中,該第二控制電路會利用該第二藍牙通信電路側錄該遠端藍牙裝置發出的封包;且該第一控制電路還設置成在檢核出該副藍牙電路漏收該遠端藍牙裝置發出的封包的情況下,將該副藍牙電路漏收的封包透過該第一資料傳輸電路傳送給該第二資料傳輸電路。This specification provides an embodiment of a multi-member Bluetooth device for data transmission with a remote Bluetooth device. The multi-member Bluetooth device includes: a main Bluetooth circuit, including: a first Bluetooth communication circuit; a first data transmission circuit; and a first control circuit, which is set to be capable of wireless transmission via Bluetooth through the first Bluetooth communication circuit Two-way packet transmission with the remote Bluetooth device and data communication with other devices through the first data transmission circuit; and a pair of Bluetooth circuits, including: a second Bluetooth communication circuit; a second data transmission circuit; and A second control circuit configured to control the second data transmission circuit to perform data communication with the first data transmission circuit; wherein, in the process of packet transmission between the first Bluetooth communication circuit and the remote Bluetooth device, the first The second control circuit will use the second Bluetooth communication circuit to record the packets sent by the remote Bluetooth device; and the first control circuit is also configured to check that the secondary Bluetooth circuit misses the packets sent by the remote Bluetooth device In this case, the packet missed by the secondary Bluetooth circuit is transmitted to the second data transmission circuit through the first data transmission circuit.

上述實施例的優點之一,是副藍牙電路會側錄遠端藍牙裝置發出的封包,所以主藍牙電路只需傳送副藍牙電路漏收的封包給副藍牙電路即可,無需轉送遠端藍牙裝置發出的全部封包給副藍牙電路,所以能大幅降低降低主藍牙電路的運作負擔、節省主藍牙電路的耗電量、並有效延長主藍牙電路的工作時間與待機時間。One of the advantages of the above embodiment is that the secondary Bluetooth circuit will record the packets sent by the remote Bluetooth device, so the primary Bluetooth circuit only needs to transmit the packets missed by the secondary Bluetooth circuit to the secondary Bluetooth circuit, without transferring the remote Bluetooth device All the packets sent to the secondary Bluetooth circuit can greatly reduce the operating burden of the main Bluetooth circuit, save the power consumption of the main Bluetooth circuit, and effectively extend the working time and standby time of the main Bluetooth circuit.

上述實施例的另一優點,是能大幅降低主藍牙電路與副藍牙電路之間的資料傳輸頻寬需求。Another advantage of the above embodiment is that it can greatly reduce the data transmission bandwidth requirement between the main Bluetooth circuit and the auxiliary Bluetooth circuit.

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

以下將配合相關圖式來說明本發明的實施例。在圖式中,相同的標號表示相同或類似的元件或方法流程。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 invention. The multi-member Bluetooth device 100 is used for data transmission with a remote Bluetooth device 102, and includes multiple member circuits. For convenience of description, only three member circuits are shown in the embodiment of FIG. 1, which are the first Bluetooth circuit 110, the second Bluetooth circuit 120, and the third Bluetooth circuit 130, respectively.

在本實施例中,多成員藍牙裝置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 a similar main circuit architecture, but different additional circuit elements can be set in different member circuits without limiting the circuit structure of all member circuits. Exactly the same. For example, as shown in FIG. 1, the first Bluetooth circuit 110 includes a Bluetooth communication circuit 111, a data transmission circuit 113, a control circuit 115, and a judgment circuit 117. Similarly, the second Bluetooth circuit 120 includes a Bluetooth communication circuit 121, a data transmission circuit 123, a control circuit 125, and a judgment circuit 127.

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

在第一藍牙電路110中,藍牙通信電路111可用於跟其他藍牙裝置進行資料通信。資料傳輸電路113可用於跟其他成員電路進行資料通信。In the first Bluetooth circuit 110, the Bluetooth communication circuit 111 can be used for data communication with other Bluetooth devices. The data transmission circuit 113 can be used for data communication with other member circuits.

控制電路115耦接於藍牙通信電路111與資料傳輸電路113,設置成可透過藍牙通信電路111以藍牙無線傳輸方式直接與遠端藍牙裝置102進行資料通信,並可透過資料傳輸電路113與其他成員電路進行資料通信。The control circuit 115 is coupled to the Bluetooth communication circuit 111 and the data transmission circuit 113, and is configured to directly communicate with the remote Bluetooth device 102 through the Bluetooth communication circuit 111 in a Bluetooth wireless transmission mode, and can communicate with other members through the data transmission circuit 113 The circuit performs data communication.

判斷電路117耦接於控制電路115,設置成可評估第一藍牙電路110的運算負荷、剩餘電力、溫度、或是操作環境,並可在第一藍牙電路110的前述操作參數達到預定條件時通知控制電路115。The judging circuit 117 is coupled to the control circuit 115, and is configured to evaluate the computing load, remaining power, temperature, or operating environment of the first Bluetooth circuit 110, and can notify when the aforementioned operating parameters of the first Bluetooth circuit 110 reach a predetermined condition Control circuit 115.

在某些實施例中,判斷電路117還會耦接於資料傳輸電路113,並透過資料傳輸電路113接收其他成員電路(例如,圖1中的藍牙電路120或130)傳來的運算負荷、剩餘電力、溫度、或是操作環境的指示信息。In some embodiments, the judging circuit 117 is also coupled to the data transmission circuit 113, and receives the computing load and remaining data from other member circuits (for example, the Bluetooth circuit 120 or 130 in FIG. 1) through the data transmission circuit 113. Indication of power, temperature, or operating environment.

在第二藍牙電路120中,藍牙通信電路121可用於跟其他藍牙裝置進行資料通信。資料傳輸電路123可用於跟其他成員電路進行資料通信。In the second Bluetooth circuit 120, the Bluetooth communication circuit 121 can be used for data communication with other Bluetooth devices. The data transmission circuit 123 can be used for data communication with other member circuits.

控制電路125耦接於藍牙通信電路121與資料傳輸電路123,設置成可透過藍牙通信電路121以藍牙無線傳輸方式與其他進行資料通信,並可透過資料傳輸電路123與其他成員電路進行資料通信。The control circuit 125 is coupled to the Bluetooth communication circuit 121 and the data transmission circuit 123, and is configured to perform data communication with other wireless communication methods via the Bluetooth communication circuit 121 and to perform data communication with other member circuits through the data transmission circuit 123.

判斷電路127耦接於控制電路125,設置成可評估第二藍牙電路120的運算負荷、剩餘電力、溫度、或是操作環境,並可在第二藍牙電路120的前述操作參數達到預定條件時通知控制電路125。The judging circuit 127 is coupled to the control circuit 125, and is configured to evaluate the computing load, remaining power, temperature, or operating environment of the second Bluetooth circuit 120, and can notify when the aforementioned operating parameters of the second Bluetooth circuit 120 reach a predetermined condition Control circuit 125.

在某些實施例中,判斷電路127還會耦接於資料傳輸電路123,並透過資料傳輸電路123接收其他成員電路(例如,圖1中的藍牙電路110或130)傳來的運算負荷、剩餘電力、溫度、或是操作環境的指示信息。In some embodiments, the judgment circuit 127 is also coupled to the data transmission circuit 123, and receives the computational load and remaining data from other member circuits (for example, the Bluetooth circuit 110 or 130 in FIG. 1) through the data transmission circuit 123. Indication of power, temperature, or operating environment.

實作上,前述的藍牙通信電路111與121,皆可用能夠支援各種版本的藍牙通信協定的合適通信電路來實現。前述的資料傳輸電路113與123,皆可用各種有線傳輸電路、無線傳輸電路、或是同時整合前述兩種傳輸機制的混合電路來實現。前述的控制電路115與125,皆可用具有適當運算能力的各種微處理器或數位信號處理電路來實現。前述的判斷電路117與127,皆可用能夠感測、收集、記錄、及比較相關操作參數的合適電路來實現。In practice, the aforementioned Bluetooth communication circuits 111 and 121 can be implemented by suitable communication circuits that can support various versions of the Bluetooth communication protocol. The aforementioned data transmission circuits 113 and 123 can be implemented by various wired transmission circuits, wireless transmission circuits, or a hybrid circuit that integrates both transmission mechanisms. Both the aforementioned control circuits 115 and 125 can be implemented by various microprocessors or digital signal processing circuits with appropriate computing capabilities. The aforementioned judgment circuits 117 and 127 can be implemented by suitable circuits capable of sensing, collecting, recording, and comparing related operating parameters.

在某些實施例中,也可以將判斷電路117或127整合到控制電路115或125中。另外,也可以將前述的資料傳輸電路113與123,分別整合到前述的藍牙通信電路111與121中,或是利用前述的藍牙通信電路111與121來實現資料傳輸電路113與123的功能。In some embodiments, the judgment circuit 117 or 127 may also be integrated into the control circuit 115 or 125. In addition, the aforementioned data transmission circuits 113 and 123 may be integrated into the aforementioned Bluetooth communication circuits 111 and 121, respectively, or the aforementioned Bluetooth communication circuits 111 and 121 may be used to implement the functions of the data transmission circuits 113 and 123.

換言之,前述的藍牙通信電路111與資料傳輸電路113有可能用不同的電路來實現,也可能用同一個電路來實現。同樣地,前述的藍牙通信電路121與資料傳輸電路123有可能用不同的電路來實現,也可能用同一個電路來實現。In other words, the aforementioned Bluetooth communication circuit 111 and the data transmission circuit 113 may be implemented by different circuits, or may be implemented by the same circuit. Similarly, the aforementioned Bluetooth communication circuit 121 and the data transmission circuit 123 may be implemented by different circuits, or may be implemented by the same circuit.

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

由前述說明可知,多成員藍牙裝置100中的不同成員電路可以透過各自的資料傳輸電路,以各種有線或無線傳輸機制彼此進行資料通信,以形成各式型態的資料網路或資料鏈路。當多成員藍牙裝置100與遠端藍牙裝置102進行資料通信時,多成員藍牙裝置100的多個成員電路在同一時間中只會有一個特定的成員電路負責與遠端藍牙裝置102進行直接資料通信,其他的成員電路則都會透過該特定的成員電路間接與遠端藍牙裝置102進行資料通信。因此,遠端藍牙裝置102會將多成員藍牙裝置100視為單一藍牙裝置來對待。It can be seen from the foregoing description that different member circuits in the multi-member Bluetooth device 100 can communicate with each other through various data transmission circuits and various wired or wireless transmission mechanisms 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 multiple member circuits of the multi-member Bluetooth device 100 will only have one specific member circuit responsible for direct data communication with the remote Bluetooth device 102 at the same time All other member circuits communicate with the remote Bluetooth device 102 indirectly through the specific member circuit. Therefore, the remote Bluetooth device 102 treats the multi-member Bluetooth device 100 as a single Bluetooth device.

以下將搭配圖2至圖4來進一步說明多成員藍牙裝置100的運作方式。圖2為本發明在多成員藍牙裝置100的不同成員電路之間實現無縫交接的方法簡化後的流程圖。圖3與圖4為多成員藍牙裝置100在不同運作階段的簡化後操作示意圖。The operation of the multi-member Bluetooth device 100 will be further described below with reference to FIGS. 2 to 4. FIG. 2 is a simplified flowchart of a method for implementing seamless handover between different member circuits of the multi-member Bluetooth device 100 of the present invention. FIG. 3 and FIG. 4 are simplified operation diagrams of the multi-member Bluetooth device 100 in different operation stages.

在圖2的流程圖中,位於一特定裝置所屬欄位中的流程,即代表由該特定裝置所進行的流程。例如,標記在「第一藍牙電路」欄位中的部分,是由第一藍牙電路110所進行的流程;標記在「第二藍牙電路」欄位中的部分,是由第二藍牙電路120所進行的流程;標記在「第三藍牙電路」欄位中的部分,則是由第三藍牙電路130所進行的流程。前述的邏輯也適用於後續的其他流程圖中。In the flowchart of FIG. 2, the process in the field to which a specific device belongs belongs to the process performed by the specific device. For example, the part marked in the "first Bluetooth circuit" field is the process performed by the first Bluetooth circuit 110; the part marked in the "second Bluetooth circuit" field is the second Bluetooth circuit 120 The process performed; the part marked in the "third Bluetooth circuit" field is the process performed by the third Bluetooth circuit 130. The aforementioned logic is also applicable to other subsequent flowcharts.

為了方便說明起見,以下假設在多成員藍牙裝置100中預設用來負責與外部藍牙裝置進行藍牙通信的成員電路是第一藍牙電路110。For convenience of explanation, the following assumes that the member circuit preset to be responsible for Bluetooth communication with an external Bluetooth device in the multi-member Bluetooth device 100 is the first Bluetooth circuit 110.

在流程202中,第一藍牙電路110會直接與遠端藍牙裝置102進行資料通信,如圖1所示。例如,控制電路115可在流程202中控制藍牙通信電路111與遠端藍牙裝置102建立藍牙連線,並與遠端藍牙裝置102直接進行雙向資料通信。又例如,控制電路115可在流程202中控制藍牙通信電路111以廣告模式向遠端藍牙裝置102單向發送資料。又例如,控制電路115可在流程202中控制藍牙通信電路111以適當的藍牙封包接收模式單向接收遠端藍牙裝置102傳來的資料。In the process 202, the first Bluetooth circuit 110 directly communicates with the remote Bluetooth device 102, as shown in FIG. For example, the control circuit 115 may control the Bluetooth communication circuit 111 to establish a Bluetooth connection with the remote Bluetooth device 102 in the process 202, and directly perform two-way data communication with the remote Bluetooth device 102. For another example, the control circuit 115 may control the Bluetooth communication circuit 111 to unidirectionally send data to the remote Bluetooth device 102 in the advertising mode in the process 202. For another example, the control circuit 115 may control the Bluetooth communication circuit 111 in the process 202 to unidirectionally receive data from the remote Bluetooth device 102 in an appropriate Bluetooth packet receiving mode.

換言之,第一藍牙電路110與遠端藍牙裝置102之間的資料通信可以是雙向的,也可以是單向的。In other words, the data communication between the first Bluetooth circuit 110 and the remote Bluetooth device 102 may be bidirectional or unidirectional.

在流程204中,第一藍牙電路110會通知多成員藍牙裝置100中的其他成員電路,由第一藍牙電路110負責與遠端藍牙裝置102進行通信。亦即,接下來將由第一藍牙電路110扮演遠端藍牙裝置102與其他成員電路之間的資料通信橋梁。在流程204中,控制電路115可透過資料傳輸電路123將前述的通知信息傳送給其他成員電路的資料傳輸電路。In the process 204, the first Bluetooth circuit 110 notifies other member circuits in the multi-member Bluetooth device 100, and the first Bluetooth circuit 110 is responsible for communicating with the remote Bluetooth device 102. That is, next, the first Bluetooth circuit 110 will act as a data communication bridge between the remote Bluetooth device 102 and other member circuits. In the process 204, the control circuit 115 can transmit the aforementioned notification information to the data transmission circuits of other member circuits through the data transmission circuit 123.

接下來,當第二藍牙電路120需要接收遠端藍牙裝置102傳來的資料,或是需要傳送資料給遠端藍牙裝置102時,第二藍牙電路120會進行流程206。相仿地,當第三藍牙電路130需要接收遠端藍牙裝置102傳來的資料,或是需要傳送資料給遠端藍牙裝置102時,第三藍牙電路120會進行流程208。Next, when the second Bluetooth circuit 120 needs to receive data from the remote Bluetooth device 102 or needs to send data to the remote Bluetooth device 102, the second Bluetooth circuit 120 will proceed to process 206. Similarly, when the third Bluetooth circuit 130 needs to receive data from the remote Bluetooth device 102 or needs to send data to the remote Bluetooth device 102, the third Bluetooth circuit 120 will perform the process 208.

在流程206中,第二藍牙電路120會透過第一藍牙電路110間接與遠端藍牙裝置102進行資料通信。例如,第二藍牙電路120中的控制電路125可將要傳送給遠端藍牙裝置102的資料,透過資料傳輸電路123傳送給第一藍牙電路110的資料傳輸電路113,再由第一藍牙電路110將資料轉傳給遠端藍牙裝置102。又例如,第二藍牙電路120中的控制電路125可透過第一藍牙電路110接收遠端藍牙裝置102傳來的資料。In the process 206, the second Bluetooth circuit 120 indirectly communicates with the remote Bluetooth device 102 through the first Bluetooth circuit 110. For example, the control circuit 125 in the second Bluetooth circuit 120 may transmit the data to be transmitted to the remote Bluetooth device 102 through the data transmission circuit 123 to the data transmission circuit 113 of the first Bluetooth circuit 110, and then the first Bluetooth circuit 110 will The data is transferred to the remote Bluetooth device 102. For another example, the control circuit 125 in the second Bluetooth circuit 120 can receive data from the remote Bluetooth device 102 through the first Bluetooth circuit 110.

在流程208中,第三藍牙電路130會透過第一藍牙電路110間接與遠端藍牙裝置102進行資料通信。例如,第三藍牙電路130可將要傳送給遠端藍牙裝置102的資料,傳送給第一藍牙電路110的資料傳輸電路113,再由第一藍牙電路110將資料轉傳給遠端藍牙裝置102。又例如,第三藍牙電路130可透過第一藍牙電路110接收遠端藍牙裝置102傳來的資料。In the process 208, the third Bluetooth circuit 130 indirectly communicates with the remote Bluetooth device 102 through the first Bluetooth circuit 110. For example, the third Bluetooth circuit 130 may transmit the data to be transmitted to the remote Bluetooth device 102 to the data transmission circuit 113 of the first Bluetooth circuit 110, and then the first Bluetooth circuit 110 may transfer the data to the remote Bluetooth device 102. For another example, the third Bluetooth circuit 130 can receive data from the remote Bluetooth device 102 through the first Bluetooth circuit 110.

如此一來,多成員藍牙裝置100在運作時只有第一藍牙電路110會直接與遠端藍牙裝置102進行資料通信,其他的成員電路都會透過第一藍牙電路110間接與遠端藍牙裝置102進行資料通信。換言之,此時第一藍牙電路110會扮演其他成員電路與遠端藍牙裝置102之間的信號中繼角色。In this way, when the multi-member Bluetooth device 100 is in operation, only the first Bluetooth circuit 110 will directly communicate with the remote Bluetooth device 102, and other member circuits will indirectly communicate with the remote Bluetooth device 102 through the first Bluetooth circuit 110. Communication. In other words, at this time, the first Bluetooth circuit 110 will play a signal relay role between other member circuits and the remote Bluetooth device 102.

在多成員藍牙裝置100的所有成員電路都是依賴電池供電(battery-powered)的環境中,前述的機制可以節省其他成員電路的運算量、耗電量、以及發熱量。In an environment in which all member circuits of the multi-member Bluetooth device 100 are battery-powered, the aforementioned mechanism can save the calculation amount, power consumption, and heat generation of other member circuits.

在多成員藍牙裝置100運作的過程中,第一藍牙電路110的判斷電路117會週期性或間歇性進行流程210。During the operation of the multi-member Bluetooth device 100, the determination circuit 117 of the first Bluetooth circuit 110 performs the process 210 periodically or intermittently.

在流程210中,判斷電路117會評估第一藍牙電路110的運算負荷、剩餘電力、溫度、和/或操作環境等操作參數,以判斷是否需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。倘若判斷電路117判定第一藍牙電路110當下的情況已達到需要將信號中繼角色交接給其他成員電路的預設條件,則第一藍牙電路110會進行流程212;否則,判斷電路117會繼續週期性或間歇性重複進行流程210。In the process 210, the judgment circuit 117 evaluates the operational parameters such as the computing load, remaining power, temperature, and/or operating environment of the first Bluetooth circuit 110 to determine whether it is necessary to hand over the signal relay role played by the first Bluetooth circuit 110 To other member circuits. If the judgment circuit 117 judges that the current situation of the first Bluetooth circuit 110 has reached the preset condition that the signal relay role needs to be handed over to other member circuits, the first Bluetooth circuit 110 will proceed to the process 212; otherwise, the judgment circuit 117 will continue the cycle Process 210 is repeated, either intermittently or intermittently.

例如,判斷電路117可在第一藍牙電路110的運算負荷超過一預定水平、第一藍牙電路110的剩餘電力低於一預定水平、第一藍牙電路110的溫度超過一預定溫度值、且第一藍牙電路110的操作環境偏離預設條件時,才判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。在第一藍牙電路110是藍牙耳機的某些實施例中,第一藍牙電路110的操作環境的預設條件是第一藍牙電路110應該在用戶的耳道內運作。在此情況下,判斷電路117可在感測到第一藍牙電路110的位置離開用戶的耳朵時,判定第一藍牙電路110的操作環境偏離預設條件。For example, the judging circuit 117 may operate when the computing load of the first Bluetooth circuit 110 exceeds a predetermined level, the remaining power of the first Bluetooth circuit 110 is lower than a predetermined level, the temperature of the first Bluetooth circuit 110 exceeds a predetermined temperature value, and the first When the operating environment of the Bluetooth circuit 110 deviates from the preset condition, it is determined that the signal relay role played by the first Bluetooth circuit 110 needs to be handed over to other member circuits. In some embodiments where the first Bluetooth circuit 110 is a Bluetooth headset, the preset condition of the operating environment of the first Bluetooth circuit 110 is that the first Bluetooth circuit 110 should operate in the ear canal of the user. In this case, the determining circuit 117 may determine that the operating environment of the first Bluetooth circuit 110 deviates from the preset condition when it senses that the position of the first Bluetooth circuit 110 is away from the user's ear.

又例如,判斷電路117可在前述條件的至少其中之一成立時,便判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。For another example, when at least one of the foregoing conditions is met, the determination circuit 117 may determine that the signal relay role played by the first Bluetooth circuit 110 needs to be handed over to other member circuits.

在另一實施例中,判斷電路117還可在流程210中透過資料傳輸電路113接收其他成員電路(例如,圖1中的藍牙電路120與130)傳來的運算負荷、剩餘電力、溫度、或是操作環境等操作參數的指示信息,並在流程210中比較第一藍牙電路110的操作參數與其他成員電路的操作參數之間的差距,以做為判斷是否需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路的依據。在本實施例中,其他成員電路可利用各自的判斷電路評估自己的運算負荷、剩餘電力、溫度、和/或操作環境等操作參數,並在流程210中將獲得的操作參數傳送給第一藍牙電路110的判斷電路117。In another embodiment, the judgment circuit 117 can also receive the computing load, remaining power, temperature, or other data from other member circuits (for example, the Bluetooth circuits 120 and 130 in FIG. 1) through the data transmission circuit 113 in the process 210. Is the indication information of the operating parameters such as the operating environment, and compares the difference between the operating parameters of the first Bluetooth circuit 110 and the operating parameters of other member circuits in the process 210 to determine whether it is necessary to play the role of the first Bluetooth circuit 110 The basis for the handover of the signal relay role to other member circuits. In this embodiment, other member circuits may use their own judgment circuits to evaluate their own operating parameters such as computing load, remaining power, temperature, and/or operating environment, and transmit the obtained operating parameters to the first Bluetooth in process 210 The judgment circuit 117 of the circuit 110.

例如,判斷電路117可在第一藍牙電路110的運算負荷超過其他成員電路達一預定程度、第一藍牙電路110的剩餘電力低於其他成員電路的剩餘電力達一預定程度、第一藍牙電路110的溫度超過其他成員電路的溫度達一預定程度、且第一藍牙電路110的操作環境偏離預設條件但其他成員電路的操作環境符合預設條件時,才判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。For example, the judging circuit 117 may calculate the load of the first Bluetooth circuit 110 beyond the other member circuits to a predetermined degree, the remaining power of the first Bluetooth circuit 110 is lower than the remaining power of the other member circuits by a predetermined degree, the first Bluetooth circuit 110 The temperature of the other member circuits exceeds the temperature of the other member circuit by a predetermined degree, and the operating environment of the first Bluetooth circuit 110 deviates from the preset condition but the operating environment of the other member circuit meets the preset condition, it is determined that the first Bluetooth circuit 110 needs to be played The signal relay role is handed over to other member circuits.

又例如,判斷電路117可在前述條件的至少其中之一成立時,便判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。For another example, when at least one of the foregoing conditions is met, the determination circuit 117 may determine that the signal relay role played by the first Bluetooth circuit 110 needs to be handed over to other member circuits.

實作上,判斷電路117也可將前述第一藍牙電路110自己的操作參數,以及第一藍牙電路110與其他成員電路在操作參數上的差距,都一起納入前述流程210的綜合判斷考慮中。In practice, the judging circuit 117 may also incorporate the aforementioned operating parameters of the first Bluetooth circuit 110 and the differences in operating parameters between the first Bluetooth circuit 110 and other member circuits into the comprehensive judgment consideration of the foregoing process 210.

例如,判斷電路117可在第一藍牙電路110的運算負荷超過一預定水平、第一藍牙電路110的剩餘電力低於一預定水平、第一藍牙電路110的溫度超過一預定溫度值、第一藍牙電路110的運算負荷超過其他成員電路達一預定程度、第一藍牙電路110的剩餘電力低於其他成員電路的剩餘電力達一預定程度、第一藍牙電路110的溫度超過其他成員電路的溫度達一預定程度、且第一藍牙電路110的操作環境偏離預設條件但其他成員電路的操作環境符合預設條件時,才判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。For example, the judging circuit 117 may operate when the operation load of the first Bluetooth circuit 110 exceeds a predetermined level, the remaining power of the first Bluetooth circuit 110 is lower than a predetermined level, the temperature of the first Bluetooth circuit 110 exceeds a predetermined temperature value, the first Bluetooth The operation load of the circuit 110 exceeds the other member circuits by a predetermined degree, the remaining power of the first Bluetooth circuit 110 is lower than the remaining power of the other member circuits by a predetermined degree, and the temperature of the first Bluetooth circuit 110 exceeds the temperature of the other member circuits by one When it is predetermined and the operating environment of the first Bluetooth circuit 110 deviates from the preset condition but the operating environment of the other member circuits meets the preset condition, it is determined that the signal relay role played by the first Bluetooth circuit 110 needs to be handed over to the other member circuits.

或者,判斷電路117也可在前述條件的至少其中一部分成立時,便判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路。Alternatively, the determination circuit 117 may also determine that the signal relay role played by the first Bluetooth circuit 110 needs to be handed over to other member circuits when at least part of the foregoing conditions are satisfied.

當判斷電路117判定需要將第一藍牙電路110扮演的信號中繼角色交接給其他成員電路時,判斷電路117會通知控制電路115,使控制電路115進行流程212。When the judging circuit 117 judges that the signal relaying role played by the first Bluetooth circuit 110 needs to be handed over to other member circuits, the judging circuit 117 notifies the control circuit 115 and causes the control circuit 115 to perform the process 212.

在流程212中,控制電路115可從多成員藍牙裝置100的其他成員電路中,選出一個成員電路來扮演後續運作中的信號中繼角色,並透過資料傳輸電路113將第一藍牙電路110的裝置識別資料、第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數、以及一交接指示(handover instruction),傳送給選定的成員電路。In the process 212, the control circuit 115 may select a member circuit from other member circuits of the multi-member Bluetooth device 100 to play a role of signal relay in subsequent operations, and connect the device of the first Bluetooth circuit 110 through the data transmission circuit 113 The identification data, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102, and a handover instruction are transmitted to the selected member circuit.

實作上,控制電路115可從多成員藍牙裝置100的其他成員電路中,挑選任意一個成員電路來扮演後續運作中的信號中繼角色。In practice, the control circuit 115 can select any member circuit from other member circuits of the multi-member Bluetooth device 100 to play the role of signal relay in subsequent operations.

或者,控制電路115也可從多成員藍牙裝置100的其他成員電路中,挑選操作參數最理想的一個成員電路來扮演後續運作中的信號中繼角色。Alternatively, the control circuit 115 may also select a member circuit with the most ideal operating parameters from other member circuits of the multi-member Bluetooth device 100 to play a role of signal relay in subsequent operations.

例如,控制電路115可從多成員藍牙裝置100的其他成員電路中,挑選剩餘電力最高的一個成員電路來扮演後續運作中的信號中繼角色。For example, the control circuit 115 may select a member circuit with the highest remaining power from other member circuits of the multi-member Bluetooth device 100 to play a signal relay role in subsequent operations.

又例如,控制電路115可從多成員藍牙裝置100的其他成員電路中,挑選平均運算負荷量最低的一個成員電路來扮演後續運作中的信號中繼角色。For another example, the control circuit 115 may select a member circuit with the lowest average computing load from other member circuits of the multi-member Bluetooth device 100 to play a role of signal relay in subsequent operations.

又例如,控制電路115可從多成員藍牙裝置100的其他成員電路中,挑選溫度最低的一個成員電路來扮演後續運作中的信號中繼角色。For another example, the control circuit 115 may select a member circuit having the lowest temperature from other member circuits of the multi-member Bluetooth device 100 to play a signal relay role in subsequent operations.

又例如,控制電路115也可對其他成員電路的多個操作參數分別設定合適的權重,並挑選這些操作參數的加權評分最高的一個成員電路來扮演後續運作中的信號中繼角色。For another example, the control circuit 115 may also set appropriate weights on a plurality of operation parameters of other member circuits, and select a member circuit with the highest weighted score of these operation parameters to play a role of signal relay in subsequent operations.

為了方便說明起見,以下假設控制電路115在前述的流程212中選擇了第二藍牙電路120來扮演後續運作中的信號中繼角色。For convenience of explanation, it is assumed that the control circuit 115 selects the second Bluetooth circuit 120 in the foregoing process 212 to play a role of signal relay in subsequent operations.

因此,控制電路115在流程212中會透過資料傳輸電路113與資料傳輸電路123,將第一藍牙電路110的裝置識別資料、第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數、以及交接指示,傳送給第二藍牙電路120,如圖3所示。Therefore, in the process 212, the control circuit 115 uses the data transmission circuit 113 and the data transmission circuit 123 to compare the device identification data of the first Bluetooth circuit 110 and the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 And, the handover instruction is transmitted to the second Bluetooth circuit 120, as shown in FIG. 3.

前述的交接指示是用來指示第二藍牙電路120使用第一藍牙電路110的裝置識別資料與藍牙連線參數,冒充(imitate)第一藍牙電路110的名義直接與遠端藍牙裝置102進行資料通信,亦即,指示第二藍牙電路120使用第一藍牙電路110的裝置識別資料與藍牙連線參數,頂替第一藍牙電路110以藍牙無線傳輸方式直接與遠端藍牙裝置102進行資料通信,以接續扮演信號中繼角色。The aforementioned handover instruction is used to instruct the second Bluetooth circuit 120 to use the device identification data and Bluetooth connection parameters of the first Bluetooth circuit 110 to impersonate the name of the first Bluetooth circuit 110 to directly communicate with the remote Bluetooth device 102 That is, instruct the second Bluetooth circuit 120 to use the device identification data and Bluetooth connection parameters of the first Bluetooth circuit 110, instead of directly communicating with the remote Bluetooth device 102 via Bluetooth wireless transmission method for the first Bluetooth circuit 110 to continue Play the role of signal relay.

實作上,在前述流程212中所傳送的第一藍牙電路110的裝置識別資料,可以隨著多成員藍牙裝置100與遠端藍牙裝置102之間所採用的藍牙通信協定的版本,或是藍牙通信模式而有所不同。In practice, the device identification data of the first Bluetooth circuit 110 transmitted in the foregoing process 212 can be changed according to the version of the Bluetooth communication protocol used between the multi-member Bluetooth device 100 and the remote Bluetooth device 102, or Bluetooth The communication mode varies.

例如,在一實施例中,前述第一藍牙電路110的裝置識別資料包含第一藍牙電路110使用的同步字(sync word)、第一藍牙電路110的藍牙位址(Bluetooth address)、以及第一藍牙電路110的邏輯傳輸位址(logical transport address,LT_ADDR)。For example, in one embodiment, the device identification data of the first Bluetooth circuit 110 includes a sync word used by the first Bluetooth circuit 110, a Bluetooth address of the first Bluetooth circuit 110, and a first The logical transport address (LT_ADDR) of the Bluetooth circuit 110.

又例如,在另一實施例中,前述第一藍牙電路110的裝置識別資料包含第一藍牙電路110的存取位址(access address)。For another example, in another embodiment, the device identification data of the first Bluetooth circuit 110 includes the access address of the first Bluetooth circuit 110.

又例如,在另一實施例中,前述第一藍牙電路110的裝置識別資料包含第一藍牙電路110的存取位址、以及第一藍牙電路110的廣告裝置位址(advertising device address)。For another example, in another embodiment, the device identification data of the first Bluetooth circuit 110 includes the access address of the first Bluetooth circuit 110 and the advertising device address of the first Bluetooth circuit 110.

同樣地,在前述流程212中所傳送的藍牙連線參數,可以隨著多成員藍牙裝置100與遠端藍牙裝置102之間所採用的藍牙通信協定的版本,或是藍牙通信模式而有所不同。Similarly, the Bluetooth connection parameters transmitted in the foregoing process 212 may vary according to the version of the Bluetooth communication protocol used between the multi-member Bluetooth device 100 and the remote Bluetooth device 102, or the Bluetooth communication mode .

例如,在一實施例中,前述第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數,包含微微網時脈(piconet clock)、以及適應性跳頻映射(adaptive frequency hopping map,AFH map)。For example, in an embodiment, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 include a piconet clock and an adaptive frequency hopping map. AFH map).

又例如,在另一實施例中,前述第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數,包含微微網時脈、適應性跳頻映射、鏈路金鑰(link key)、以及加密金鑰(encryption key)For another example, in another embodiment, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 include piconet clock, adaptive frequency hopping mapping, and link key , And encryption key

又例如,在另一實施例中,前述第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數,包含廣告時距(advertising interval)、通道映射(channel map)、以及製造商自定的時序資料(vendor specific timing data)。For another example, in another embodiment, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 include advertising interval, channel map, and manufacturer’s own Vendor specific timing data.

又例如,在另一實施例中,前述第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數,包含錨點時序(anchor point instant)、連線計數值(connection counter)、連線時距(connection interval)、通道映射、長期金鑰(long term key)、連線金鑰(session key)、初始化向量(initialization vector)、加密演算法計數值(CCM counter)、以及製造商自定的時序資料。For another example, in another embodiment, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102 include an anchor point instant, a connection counter, and a connection counter. Line interval (connection interval), channel mapping, long term key (long term key), connection key (session key), initialization vector (initialization vector), encryption algorithm count value (CCM counter), and manufacturer's own Scheduled data.

在流程214中,第二藍牙電路120的控制電路125會透過資料傳輸電路123接收第一藍牙電路110傳來的前述裝置識別資料、藍牙連線參數、以及交接指示。In the process 214, the control circuit 125 of the second Bluetooth circuit 120 receives the aforementioned device identification data, Bluetooth connection parameters, and handover instruction from the first Bluetooth circuit 110 through the data transmission circuit 123.

在流程216中,第一藍牙電路110或第二藍牙電路120會通知多成員藍牙裝置100中的其他成員電路,改由第二藍牙電路120負責與遠端藍牙裝置102進行通信。亦即,接下來將改由第二藍牙電路120扮演遠端藍牙裝置102與其他成員電路之間的資料通信橋梁。在流程216中,控制電路115或125可透過相應的資料傳輸電路將前述的通知信息傳送給其他成員電路的資料傳輸電路。In the process 216, the first Bluetooth circuit 110 or the second Bluetooth circuit 120 notifies other member circuits in the multi-member Bluetooth device 100, and the second Bluetooth circuit 120 is responsible for communicating with the remote Bluetooth device 102. That is, next, the second Bluetooth circuit 120 will instead act as a data communication bridge between the remote Bluetooth device 102 and other member circuits. In the process 216, the control circuit 115 or 125 may transmit the aforementioned notification information to the data transmission circuits of other member circuits through the corresponding data transmission circuits.

在流程218中,第二藍牙電路120的控制電路125會控制藍牙通信電路121使用第一藍牙電路110的裝置識別資料與藍牙連線參數,冒充第一藍牙電路110的名義直接與遠端藍牙裝置102進行資料通信,如圖4所示。請注意,前述所謂冒充第一藍牙電路110的名義,是指第二藍牙電路120在直接與遠端藍牙裝置102進行藍牙通信時,會刻意用第一藍牙電路110的裝置識別資料當作第二藍牙電路120的裝置識別資料,藉此致使遠端藍牙裝置102誤以為自己仍然是在跟第一藍牙電路110進行藍牙通信。In the process 218, the control circuit 125 of the second Bluetooth circuit 120 controls the Bluetooth communication circuit 121 to use the device identification data and the Bluetooth connection parameters of the first Bluetooth circuit 110 to directly communicate with the remote Bluetooth device in the name of the first Bluetooth circuit 110 102 performs data communication, as shown in Figure 4. Please note that the aforementioned pretending to be the name of the first Bluetooth circuit 110 means that the second Bluetooth circuit 120 will deliberately use the device identification data of the first Bluetooth circuit 110 as the second when communicating directly with the remote Bluetooth device 102 The device identification data of the Bluetooth circuit 120 causes the remote Bluetooth device 102 to mistakenly think that it is still performing Bluetooth communication with the first Bluetooth circuit 110.

另一方面,當第二藍牙電路120的藍牙通信電路121用第一藍牙電路110的名義直接與遠端藍牙裝置102進行資料通信時,第一藍牙電路110的控制電路115則會控制藍牙通信電路111停止以藍牙無線傳輸方式直接與遠端藍牙裝置102進行資料通信,以避免造成遠端藍牙裝置102收訊上的衝突。On the other hand, when the Bluetooth communication circuit 121 of the second Bluetooth circuit 120 directly communicates with the remote Bluetooth device 102 in the name of the first Bluetooth circuit 110, the control circuit 115 of the first Bluetooth circuit 110 controls the Bluetooth communication circuit 111 stops directly performing data communication with the remote Bluetooth device 102 by Bluetooth wireless transmission, so as to avoid conflicts in the reception of the remote Bluetooth device 102.

換言之,在第一藍牙電路110利用藍牙通信電路111直接與遠端藍牙裝置102進行資料通信的期間,第二藍牙電路120的藍牙通信電路121不會直接與遠端藍牙裝置102進行資料通信,而在第二藍牙電路120的藍牙通信電路121直接與遠端藍牙裝置102進行資料通信的期間,第一藍牙電路110的藍牙通信電路111則不會直接與遠端藍牙裝置102進行資料通信。In other words, while the first Bluetooth circuit 110 uses the Bluetooth communication circuit 111 to directly communicate with the remote Bluetooth device 102, the Bluetooth communication circuit 121 of the second Bluetooth circuit 120 does not directly communicate with the remote Bluetooth device 102, and While the Bluetooth communication circuit 121 of the second Bluetooth circuit 120 directly communicates with the remote Bluetooth device 102, the Bluetooth communication circuit 111 of the first Bluetooth circuit 110 does not directly communicate with the remote Bluetooth device 102.

此外,藍牙通信電路121使用裝置識別資料與多個藍牙連線參數,冒充第一藍牙電路110的名義以藍牙無線傳輸方式直接與遠端藍牙裝置102進行資料通信的做法,並不需要先經過遠端藍牙裝置102的同意。因此,在第二藍牙電路120開始與遠端藍牙裝置102直接進行藍牙通信時,便不會被遠端藍牙裝置102要求重新進行藍牙連線程序。In addition, the Bluetooth communication circuit 121 uses the device identification data and multiple Bluetooth connection parameters to pretend to be the name of the first Bluetooth circuit 110 to directly communicate with the remote Bluetooth device 102 by Bluetooth wireless transmission, and does not need to go through End Bluetooth device 102 agrees. Therefore, when the second Bluetooth circuit 120 starts direct Bluetooth communication with the remote Bluetooth device 102, the remote Bluetooth device 102 will not be required to perform the Bluetooth connection procedure again.

換言之,前述第二藍牙電路120沿用第一藍牙電路110的裝置識別資料與藍牙連線參數直接與遠端藍牙裝置102進行藍牙通信的方式,能夠省去重新與遠端藍牙裝置102進行藍牙連線程序所需的時間。從另一角度而言,前述的方式能夠有效避免第二藍牙電路120需要以自己的名義重新與遠端藍牙裝置102建立藍牙連線過程而造成的信號中斷情況。In other words, the aforementioned second Bluetooth circuit 120 uses the device identification data and Bluetooth connection parameters of the first Bluetooth circuit 110 to directly perform Bluetooth communication with the remote Bluetooth device 102, thereby eliminating the need to reconnect with the remote Bluetooth device 102 for Bluetooth. The time required for the procedure. From another perspective, the foregoing method can effectively avoid the signal interruption caused by the second Bluetooth circuit 120 needing to re-establish the Bluetooth connection process with the remote Bluetooth device 102 in its own name.

接下來,當第一藍牙電路110需要接收遠端藍牙裝置102傳來的資料,或是需要傳送資料給遠端藍牙裝置102時,第一藍牙電路110會進行流程220。相仿地,當第三藍牙電路130需要接收遠端藍牙裝置102傳來的資料,或是需要傳送資料給遠端藍牙裝置102時,第三藍牙電路120會進行流程222。Next, when the first Bluetooth circuit 110 needs to receive data from the remote Bluetooth device 102 or needs to send data to the remote Bluetooth device 102, the first Bluetooth circuit 110 will perform the process 220. Similarly, when the third Bluetooth circuit 130 needs to receive data from the remote Bluetooth device 102 or needs to send data to the remote Bluetooth device 102, the third Bluetooth circuit 120 will perform the process 222.

在流程220中,第一藍牙電路110會改透過第二藍牙電路120間接與遠端藍牙裝置102進行資料通信。例如,第一藍牙電路110中的控制電路115可將要傳送給遠端藍牙裝置102的資料,透過資料傳輸電路113傳送給第二藍牙電路120的資料傳輸電路123,再由第二藍牙電路120將資料轉傳給遠端藍牙裝置102。又例如,第一藍牙電路110中的控制電路115可透過第二藍牙電路120接收遠端藍牙裝置102傳來的資料。In the process 220, the first Bluetooth circuit 110 will instead indirectly communicate with the remote Bluetooth device 102 via the second Bluetooth circuit 120. For example, the control circuit 115 in the first Bluetooth circuit 110 may transmit the data to be transmitted to the remote Bluetooth device 102 through the data transmission circuit 113 to the data transmission circuit 123 of the second Bluetooth circuit 120, and then the second Bluetooth circuit 120 will The data is transferred to the remote Bluetooth device 102. For another example, the control circuit 115 in the first Bluetooth circuit 110 can receive data from the remote Bluetooth device 102 through the second Bluetooth circuit 120.

在流程222中,第三藍牙電路130會透過第二藍牙電路120間接與遠端藍牙裝置102進行資料通信。例如,第三藍牙電路130可將要傳送給遠端藍牙裝置102的資料,傳送給第二藍牙電路120的資料傳輸電路123,再由第二藍牙電路120將資料轉傳給遠端藍牙裝置102。又例如,第三藍牙電路130可透過第二藍牙電路120接收遠端藍牙裝置102傳來的資料。In the process 222, the third Bluetooth circuit 130 indirectly communicates with the remote Bluetooth device 102 through the second Bluetooth circuit 120. For example, the third Bluetooth circuit 130 may transmit the data to be transmitted to the remote Bluetooth device 102 to the data transmission circuit 123 of the second Bluetooth circuit 120, and then the second Bluetooth circuit 120 may transfer the data to the remote Bluetooth device 102. For another example, the third Bluetooth circuit 130 can receive data from the remote Bluetooth device 102 through the second Bluetooth circuit 120.

如此一來,在多成員藍牙裝置100接下來的運作中,只有第二藍牙電路120會直接與遠端藍牙裝置102進行資料通信,其他的成員電路都會改透過第二藍牙電路120間接與遠端藍牙裝置102進行資料通信。換言之,此時第二藍牙電路120會頂替第一藍牙電路110扮演其他成員電路與遠端藍牙裝置102之間的信號中繼角色。In this way, in the subsequent operation of the multi-member Bluetooth device 100, only the second Bluetooth circuit 120 will directly communicate with the remote Bluetooth device 102, and the other member circuits will be indirectly communicated with the remote through the second Bluetooth circuit 120. The Bluetooth device 102 performs data communication. In other words, at this time, the second Bluetooth circuit 120 will replace the first Bluetooth circuit 110 as a signal relaying role between other member circuits and the remote Bluetooth device 102.

請注意,前述圖2中的流程執行順序只是一示範性的實施例,並非侷限本發明的實際實施方式。例如,前述將第一藍牙電路110的裝置識別資料、第一藍牙電路110與遠端藍牙裝置102之間的藍牙連線參數、以及交接指示傳送給第二藍牙電路120的動作,是在流程212中同時進行,但在實際應用上也可以分開在不同的時間點進行。Please note that the foregoing sequence of execution of the process in FIG. 2 is only an exemplary embodiment, and does not limit the actual implementation of the present invention. For example, the foregoing action of transmitting the device identification data of the first Bluetooth circuit 110, the Bluetooth connection parameters between the first Bluetooth circuit 110 and the remote Bluetooth device 102, and the handover instruction to the second Bluetooth circuit 120 is in the process 212 In the same time, but in practical applications can also be carried out separately at different points in time.

在某些實施例或應用中,前述第一藍牙電路110在扮演信號中繼角色的過程中,亦可為了實現特定的應用目的,而跳過(skip)前述流程210的判斷運作直接進行流程212的運作。例如,控制電路115可在第一藍牙電路110要進入某種特定運作模式(例如,進入省電模式、進入韌體自動更新模式、或是準備重新啟動時),主動要求其他成員電路中的某一個成員電路(例如,前述的第二藍牙電路120)頂替第一藍牙電路110直接與遠端藍牙裝置102進行資料通信,以接續扮演信號中繼角色,而不受限於判斷電路117當時的判斷結果。在此情況下,相當於是第一藍牙電路110跳過前述的流程210而直接進行流程212的運作。In some embodiments or applications, in the process of playing the role of signal relay, the aforementioned first Bluetooth circuit 110 may also skip the judgment operation of the aforementioned process 210 to directly proceed to the process 212 in order to achieve a specific application purpose. Operation. For example, the control circuit 115 may actively request a certain one of the other member circuits when the first Bluetooth circuit 110 enters a certain operation mode (for example, when entering the power saving mode, entering the firmware automatic update mode, or preparing to restart) A member circuit (for example, the aforementioned second Bluetooth circuit 120) replaces the first Bluetooth circuit 110 to directly communicate with the remote Bluetooth device 102 to continue to play the role of signal relay without being limited to the judgment of the judgment circuit 117 at the time result. In this case, it is equivalent to the first Bluetooth circuit 110 skipping the aforementioned procedure 210 and directly performing the procedure 212.

另外,前述多成員藍牙裝置100中的成員電路的數量,可以減少至兩個,也可依實際電路應用的需要而增加。In addition, the number of member circuits in the aforementioned multi-member Bluetooth device 100 can be reduced to two, or it can be increased according to actual circuit application needs.

前述多成員藍牙裝置100的架構與運作方式,可應用在成對的藍牙耳機、成組的藍牙喇叭、成組的虛擬實境設備、成組的藍牙胎壓偵測器、包含多個物聯網單元電路的物聯網系統等各式採用藍牙傳輸機制的裝置或系統中。前述的遠端藍牙裝置102則可以用各式具有藍牙傳輸能力的桌上型電腦、筆記型電腦、平板電腦、手機、智慧手錶、虛擬實境的影像信號產生裝置、智慧喇叭、智慧電視、車用電子設備、物聯網傳收電路等合適的裝置來實現。The aforementioned multi-member Bluetooth device 100 architecture and operation mode can be applied to pairs of Bluetooth headsets, groups of Bluetooth speakers, groups of virtual reality devices, groups of Bluetooth tire pressure detectors, including multiple Internet of Things The unit circuit of the Internet of Things system and other various devices or systems adopting the Bluetooth transmission mechanism. The aforementioned remote Bluetooth device 102 can use various types of desktop computers, notebook computers, tablet computers, mobile phones, smart watches, virtual reality image signal generating devices, smart speakers, smart TVs, and cars with Bluetooth transmission capabilities Use electronic devices, Internet of Things transmission and reception circuits and other suitable devices to achieve.

由前述說明可知,第一藍牙電路110會先扮演多成員藍牙裝置100中的信號中繼角色,直接與遠端藍牙裝置102進行藍牙通信,並作為遠端藍牙裝置102與其他成員電路之間的資料通信橋梁。等到第一藍牙電路110扮演信號中繼角色一段時間之後,第一藍牙電路110的控制電路115便會指示第二藍牙電路120接續扮演信號中繼角色,並使用第一藍牙電路110的裝置識別資料與藍牙連線參數,冒充第一藍牙電路110的名義頂替第一藍牙電路110直接與遠端藍牙裝置102進行藍牙通信,以作為遠端藍牙裝置102與其他成員電路之間的資料通信橋梁。As can be seen from the foregoing description, the first Bluetooth circuit 110 will first play the role of signal relay in the multi-member Bluetooth device 100, directly perform Bluetooth communication with the remote Bluetooth device 102, and serve as a communication between the remote Bluetooth device 102 and other member circuits Data communication bridge. After the first Bluetooth circuit 110 plays the role of signal relay for a period of time, the control circuit 115 of the first Bluetooth circuit 110 will instruct the second Bluetooth circuit 120 to continue to play the role of signal relay and use the device identification data of the first Bluetooth circuit 110 With the connection parameters of Bluetooth, the name of the first Bluetooth circuit 110 is assumed to replace the first Bluetooth circuit 110 to directly perform Bluetooth communication with the remote Bluetooth device 102 as a data communication bridge between the remote Bluetooth device 102 and other member circuits.

前述第一藍牙電路110將信號中繼角色交接給第二藍牙電路120的做法,能有效減輕第一藍牙電路110的運算量、耗電量、或發熱量。The aforementioned method of the first Bluetooth circuit 110 handing over the signal relay role to the second Bluetooth circuit 120 can effectively reduce the calculation amount, power consumption, or heat generation of the first Bluetooth circuit 110.

另外,採用前述冒充第一藍牙電路110的名義直接與遠端藍牙裝置102進行資料通信的方式,第二藍牙電路120便無需與遠端藍牙裝置102重新建立新的藍牙連線,所以能有效避免多成員藍牙裝置100中的成員電路發生信號中斷的情況。In addition, using the aforementioned method of directly communicating with the remote Bluetooth device 102 in the name of the first Bluetooth circuit 110, the second Bluetooth circuit 120 does not need to re-establish a new Bluetooth connection with the remote Bluetooth device 102, so it can effectively avoid A signal interruption occurs in a member circuit of the multi-member Bluetooth device 100.

換言之,採用前述圖2的方法,第一藍牙電路110便能將信號中繼角色無縫交接給第二藍牙電路120,而且無需先取得遠端藍牙裝置102的同意。In other words, using the method of FIG. 2 described above, the first Bluetooth circuit 110 can seamlessly transfer the signal relay role to the second Bluetooth circuit 120 without first obtaining the consent of the remote Bluetooth device 102.

從另一角度而言,前述多成員藍牙裝置100中扮演當前信號中繼角色的成員電路(以下稱之為主藍牙電路),可在適當的時候挑選下一個接續扮演信號中繼角色的成員電路(以下稱之為副藍牙電路),並彈性決定副藍牙電路頂替主藍牙電路直接與遠端藍牙裝置102進行藍牙通信的時機。From another perspective, the member circuit that plays the role of the current signal relay in the aforementioned multi-member Bluetooth device 100 (hereinafter referred to as the main Bluetooth circuit) can select the next member circuit that continues to play the role of signal relay when appropriate (Hereinafter referred to as a secondary Bluetooth circuit), and flexibly decides when the secondary Bluetooth circuit replaces the primary Bluetooth circuit to directly perform Bluetooth communication with the remote Bluetooth device 102.

因此,採用前述圖2的方法,便能夠在多成員藍牙裝置100的多個藍牙電路之間實現負載平衡、耗電平衡、或發熱平衡等管理機制,故能提升多成員藍牙裝置100的整體效能、延長藍牙電路的使用壽命、或是改善用戶體驗。Therefore, by using the method of FIG. 2 described above, management mechanisms such as load balancing, power consumption balance, or heat balance can be implemented among multiple Bluetooth circuits of the multi-member Bluetooth device 100, so the overall performance of the multi-member Bluetooth device 100 can be improved , Extend the life of the Bluetooth circuit, or improve the user experience.

在前述圖2至圖4的實施例中,扮演當前信號中繼角色的主藍牙電路會與遠端藍牙裝置102進行雙向封包傳輸,而其他成員電路則會透過主藍牙電路間接接收遠端藍牙裝置102發出的封包,且主藍牙電路會依據自己的運算負荷、剩餘電力、溫度、操作環境等操作參數、和/或主藍牙電路與其他成員電路的操作參數差距,來判斷是否要將主藍牙電路扮演的信號中繼角色交接給其他成員電路。但這只是前述圖1中的多成員藍牙裝置100與遠端藍牙裝置102互動的方式之一,並非侷限多成員藍牙裝置100的實際運作方式。In the aforementioned embodiments of FIGS. 2 to 4, the main Bluetooth circuit that plays the role of current signal relay performs two-way packet transmission with the remote Bluetooth device 102, while other member circuits receive the remote Bluetooth device indirectly through the main Bluetooth circuit. The packet sent by 102, and the main Bluetooth circuit will judge whether to switch the main Bluetooth circuit according to its own operating parameters such as computing load, remaining power, temperature, operating environment, and/or the operating parameters of the main Bluetooth circuit and other member circuits. The signal relay role played is handed over to other member circuits. However, this is only one of the ways in which the multi-member Bluetooth device 100 in FIG. 1 interacts with the remote Bluetooth device 102, and does not limit the actual operation of the multi-member Bluetooth device 100.

以下將搭配圖5至圖7來進一步說明多成員藍牙裝置100的另一種運作方式。圖5為圖1中的多成員藍牙裝置100與遠端藍牙裝置102互動的另一種運作方法簡化後的流程圖。圖6至圖7為多成員藍牙裝置100的不同成員電路之間實現無縫交接的另一種方法簡化後的流程圖。The following further describes another operation mode of the multi-member Bluetooth device 100 with FIGS. 5 to 7. FIG. 5 is a simplified flowchart of another operation method of the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 in FIG. 1. 6 to 7 are simplified flowcharts of another method for achieving seamless handover between different member circuits of the multi-member Bluetooth device 100.

在本實施例中,多成員藍牙裝置100的其中一個成員電路(以下同樣稱之為主藍牙電路)會負責與遠端藍牙裝置102進行雙向封包傳輸。在主藍牙電路與遠端藍牙裝置102進行雙向封包傳輸的過程中,其他成員電路會側錄(sniff)遠端藍牙裝置102發出的封包,但不允許其他成員電路傳送指令、資料、或其他相關封包給遠端藍牙裝置102。換言之,本實施例中的多成員藍牙裝置100的所有成員電路都會接收遠端藍牙裝置102發出的封包,但只允許主藍牙電路傳送指令、資料、或其他相關封包給遠端藍牙裝置102。In this embodiment, one of the member circuits of the multi-member Bluetooth device 100 (hereinafter also referred to as the main Bluetooth circuit) will be responsible for two-way packet transmission with the remote Bluetooth device 102. In the process of two-way packet transmission between the main Bluetooth circuit and the remote Bluetooth device 102, other member circuits will sniff the packets sent by the remote Bluetooth device 102, but do not allow other member circuits to send commands, data, or other related information The packet is sent to the remote Bluetooth device 102. In other words, all the member circuits of the multi-member Bluetooth device 100 in this embodiment will receive the packets sent by the remote Bluetooth device 102, but only the main Bluetooth circuit is allowed to send commands, data, or other related packets to the remote Bluetooth device 102.

為了方便說明起見,以下假設在多成員藍牙裝置100中預設用來負責與遠端藍牙裝置102進行雙向封包傳輸的成員電路是第一藍牙電路110。For convenience of explanation, the following assumes that the member circuit preset in the multi-member Bluetooth device 100 to be responsible for bidirectional packet transmission with the remote Bluetooth device 102 is the first Bluetooth circuit 110.

如圖5所示,多成員藍牙裝置100會先進行流程502,以獲取用於接收遠端藍牙裝置102發出的封包所需的藍牙連線參數。實作上,多成員藍牙裝置100可利用其中一個成員電路先與遠端藍牙裝置102進行連線取得相關的藍牙連線參數,再利用該成員電路將取得的藍牙連線參數傳送給其他成員電路。As shown in FIG. 5, the multi-member Bluetooth device 100 will first perform the process 502 to obtain the Bluetooth connection parameters required to receive the packet sent by the remote Bluetooth device 102. In practice, the multi-member Bluetooth device 100 can use one of the member circuits to connect with the remote Bluetooth device 102 to obtain related Bluetooth connection parameters, and then use the member circuit to transmit the obtained Bluetooth connection parameters to other member circuits .

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

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

在流程504中,第一藍牙電路110會通知多成員藍牙裝置100中的其他成員電路(例如,前述的第二藍牙電路120與第三藍牙電路130),接下來將由第一藍牙電路110負責與遠端藍牙裝置102進行雙向封包傳輸。在流程504中,第一藍牙電路110也會指示其他成員電路在側錄到(亦即,接收到)遠端藍牙裝置102發出的封包時通知第一藍牙電路110。亦即,其他成員電路可單向接收遠端藍牙裝置102發出的封包,但不允許傳送指令、資料、或其他相關封包給遠端藍牙裝置102。控制電路115可透過資料傳輸電路123將前述的通知信息與指示,傳送給其他成員電路的資料傳輸電路。In the process 504, the first Bluetooth circuit 110 notifies other member circuits in the multi-member Bluetooth device 100 (for example, the aforementioned second Bluetooth circuit 120 and third Bluetooth circuit 130), and then the first Bluetooth circuit 110 is responsible for The remote Bluetooth device 102 performs two-way packet transmission. In the process 504, the first Bluetooth circuit 110 also instructs other member circuits to notify the first Bluetooth circuit 110 when recording (ie, receiving) the packet sent by the remote Bluetooth device 102. That is, other member circuits can unidirectionally receive the packets sent by the remote Bluetooth device 102, but are not allowed to transmit commands, data, or other related packets to the remote Bluetooth device 102. The control circuit 115 can transmit the aforementioned notification information and instructions to the data transmission circuits of other member circuits through the data transmission circuit 123.

接下來,當遠端藍牙裝置102需要傳送各種指令或資料給多成員藍牙裝置100,或是多成員藍牙裝置100需要傳送各種指令或資料給遠端藍牙裝置102時,第一藍牙電路110會進行流程506。Next, when the remote Bluetooth device 102 needs to send various commands or data to the multi-member Bluetooth device 100, or the multi-member Bluetooth device 100 needs to send various commands or data to the remote Bluetooth device 102, the first Bluetooth circuit 110 will perform Process 506.

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

倘若第一藍牙電路110使用的藍牙連線參數是由第一藍牙電路110自己獲取的,則第一藍牙電路110在流程506中可用第一藍牙電路110自己的名義與遠端藍牙裝置102進行雙向封包傳輸。倘若第一藍牙電路110使用的藍牙連線參數是由第二藍牙電路120傳來的,則第一藍牙電路110在流程506中可用第二藍牙電路120的名義與遠端藍牙裝置102進行雙向封包傳輸。If the Bluetooth connection parameters used by the first Bluetooth circuit 110 are acquired by the first Bluetooth circuit 110 itself, the first Bluetooth circuit 110 can use the first Bluetooth circuit 110's own name to perform bidirectional communication with the remote Bluetooth device 102 in the process 506 Packet transmission. If the Bluetooth connection parameters used by the first Bluetooth circuit 110 are transmitted from the second Bluetooth circuit 120, the first Bluetooth circuit 110 can use the name of the second Bluetooth circuit 120 to perform a two-way packet with the remote Bluetooth device 102 in the process 506 transmission.

每次藍牙通信電路111接收到遠端藍牙裝置102傳來的封包時,第一藍牙電路110的控制電路115會進行流程508,透過藍牙通信電路111傳送與接收到的封包相應的一確認信息(acknowledge message)給遠端藍牙裝置102。倘若遠端藍牙裝置102沒有收到特定封包的相應確認信息,便會重傳該特定封包給藍牙通信電路111。實作上,第一藍牙電路110與遠端藍牙裝置102之間可以採用各種合適的現有封包交握(handshake)機制,以降低或避免遺漏封包的情況發生。Each time the Bluetooth communication circuit 111 receives the packet from the remote Bluetooth device 102, the control circuit 115 of the first Bluetooth circuit 110 performs the process 508, and transmits a confirmation message corresponding to the received packet through the Bluetooth communication circuit 111 ( acknowledge message) 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 Bluetooth communication circuit 111. In practice, various suitable existing packet handshake mechanisms can be adopted between the first Bluetooth circuit 110 and the remote Bluetooth device 102 to reduce or avoid the occurrence of missing packets.

另一方面,在第一藍牙電路110與遠端藍牙裝置102進行雙向封包傳輸的過程中,其他成員電路會進行流程510,以側錄遠端藍牙裝置102發出的封包。On the other hand, during the bidirectional packet transmission between the first Bluetooth circuit 110 and the remote Bluetooth device 102, other member circuits will perform the process 510 to record the packets sent by the remote Bluetooth device 102.

例如,在流程510中,第二藍牙電路120的控制電路125可依據在流程502中所獲取的藍牙連線參數,透過藍牙通信電路121側錄遠端藍牙裝置102發出的封包。在一實施例中,藍牙通信電路121可側錄遠端藍牙裝置102發出的全部藍牙封包。在另一實施例中,藍牙通信電路121只會側錄遠端藍牙裝置102要傳送給第一藍牙電路110的藍牙封包,而不會側錄遠端藍牙裝置102要傳送給多成員藍牙裝置100以外裝置的藍牙封包。由前述流程502的說明可知,第二藍牙電路120側錄遠端藍牙裝置102發出的封包時所使用的藍牙連線參數,有可能是第二藍牙電路120自己獲取的,也可能是其他成員電路(例如,第一藍牙電路110)傳來的。For example, in the process 510, the control circuit 125 of the second Bluetooth circuit 120 may record the packets sent by the remote Bluetooth device 102 through the Bluetooth communication circuit 121 according to the Bluetooth connection parameters acquired in the process 502. In an embodiment, the Bluetooth communication circuit 121 can record all Bluetooth packets sent by the remote Bluetooth device 102. In another embodiment, the Bluetooth communication circuit 121 will only record Bluetooth packets that the remote Bluetooth device 102 will transmit to the first Bluetooth circuit 110, but will not record the remote Bluetooth device 102 to transmit to the multi-member Bluetooth device 100 Bluetooth packets from external devices. It can be known from the description of the foregoing process 502 that the Bluetooth connection parameters used when the second Bluetooth circuit 120 records the packet sent by the remote Bluetooth device 102 may be obtained by the second Bluetooth circuit 120 itself, or may be other member circuits (For example, the first Bluetooth circuit 110).

其他成員電路每次側錄到(亦即,接收到)遠端藍牙裝置102發出的封包時,都會進行流程512。在流程512中,成員電路會傳送與接收到的封包相應的一通知信息(notification message)給第一藍牙電路110,但並不會傳送任何確認信息給遠端藍牙裝置102。例如,第二藍牙電路120每次接收到遠端藍牙裝置102發出的封包時,控制電路125可進行流程512,透過資料傳輸電路123傳送一相應的通知信息給第一藍牙電路110的資料傳輸電路113,但控制電路125不會透過藍牙通信電路121與資料傳輸電路123傳送任何確認信息給遠端藍牙裝置102。Each time the other member circuit records (ie, receives) the packet sent by the remote Bluetooth device 102, the process 512 is performed. In the process 512, the member circuit sends a notification message corresponding to the received packet to the first Bluetooth circuit 110, but does not send any confirmation message to the remote Bluetooth device 102. For example, each time the second Bluetooth circuit 120 receives a packet sent by the remote Bluetooth device 102, the control circuit 125 may perform the process 512 and send a corresponding notification message to the data transmission circuit of the first Bluetooth circuit 110 through the data transmission circuit 123 113, but the control circuit 125 does not send any confirmation information to the remote Bluetooth device 102 through the Bluetooth communication circuit 121 and the data transmission circuit 123.

換言之,雖然第一藍牙電路110與其他成員電路在本實施例中都會接收遠端藍牙裝置102發出的封包,但只有第一藍牙電路110在收到封包時會傳送確認信息給遠端藍牙裝置102,其他成員電路都不會傳送確認信息給遠端藍牙裝置102,以避免遠端藍牙裝置102造成誤判。由於遠端藍牙裝置102並不知道第二藍牙電路120在側錄遠端藍牙裝置102發出的封包,而且第二藍牙電路120也沒有傳送相應確認信息給遠端藍牙裝置102,所以第二藍牙電路120與遠端藍牙裝置102之間,並不會針對遠端藍牙裝置102發出的封包進行任何封包交握程序。In other words, although the first Bluetooth circuit 110 and other member circuits both receive the packet sent by the remote Bluetooth device 102 in this embodiment, only the first Bluetooth circuit 110 sends a confirmation message to the remote Bluetooth device 102 when receiving the packet No other member circuits will send confirmation messages to the remote Bluetooth device 102 to avoid misjudgment caused by the remote Bluetooth device 102. Since the remote Bluetooth device 102 does not know that the second Bluetooth circuit 120 is recording the packets sent by the remote Bluetooth device 102, and the second Bluetooth circuit 120 does not send the corresponding confirmation information to the remote Bluetooth device 102, the second Bluetooth circuit Between 120 and the remote Bluetooth device 102, no packet handshake procedure is performed for the packets sent by the remote Bluetooth device 102.

在本實施例中,第二藍牙電路120傳送前述通知信息給第一藍牙電路110的目的,並不是為了要跟第一藍牙電路110進行封包交握程序,而是為了讓第一藍牙電路110得以掌握第二藍牙電路120側錄遠端藍牙裝置102發出的封包的結果。In this embodiment, the purpose of the second Bluetooth circuit 120 to transmit the aforementioned notification message to the first Bluetooth circuit 110 is not to perform a packet handshake procedure with the first Bluetooth circuit 110, but to allow the first Bluetooth circuit 110 to Grasp the result of the second Bluetooth circuit 120 recording the packet sent by the remote Bluetooth device 102.

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

例如,當遠端藍牙裝置102發出一特定藍牙封包時,倘若第一藍牙電路110有接收到該特定藍牙封包、但第二藍牙電路120沒有側錄到該特定藍牙封包,第一藍牙通信電路111仍會透過藍牙通信電路111傳送一相應的確認信息給遠端藍牙裝置102。反之,倘若第二藍牙電路120有側錄到該特定藍牙封包、但第一藍牙電路110沒有接收到該特定藍牙封包,則第一藍牙通信電路111就不會傳送相應的確認信息給遠端藍牙裝置102。For example, when the remote Bluetooth device 102 sends out a specific Bluetooth packet, if the first Bluetooth circuit 110 receives the specific Bluetooth packet, but the second Bluetooth circuit 120 does not record the specific Bluetooth packet, the first Bluetooth communication circuit 111 A corresponding confirmation message is still sent to the remote Bluetooth device 102 through the Bluetooth communication circuit 111. Conversely, if the second Bluetooth circuit 120 records the specific Bluetooth packet, but the first Bluetooth circuit 110 does not receive the specific Bluetooth packet, the first Bluetooth communication circuit 111 will not send the corresponding confirmation message to the remote Bluetooth装置102。 The device 102.

很明顯地,第一藍牙電路110的控制電路115在決定是否要傳送與一特定藍牙封包相應的確認信息給遠端藍牙裝置102時,並不會考慮第二藍牙電路120是否有傳送與該特定藍牙封包相應的通知信息給第一藍牙電路110。Obviously, when the control circuit 115 of the first Bluetooth circuit 110 decides whether to send the confirmation information corresponding to a specific Bluetooth packet to the remote Bluetooth device 102, it does not consider whether the second Bluetooth circuit 120 has transmitted the specific information The corresponding notification information of the Bluetooth packet is sent to the first Bluetooth circuit 110.

實作上,第二藍牙電路120傳送給第一藍牙電路110的前述通知信息,可以用各種合適的資料格式來實現。例如,當第二藍牙電路120接收到遠端藍牙裝置102傳來的一特定藍牙封包時,控制電路125可從該特定藍牙封包中擷取出對應的封包序號,並將該封包序號連同可供識別第二藍牙電路120的裝置代碼或裝置識別資料,一起組合或編碼成與該特定藍牙封包相應的通知信息。又例如,控制電路125可從該特定藍牙封包中擷取出合適的封包識別資料,並將該封包識別資料連同可供識別第二藍牙電路120的裝置代碼或裝置識別資料,一起組合或編碼成與該特定藍牙封包相應的通知信息。In practice, the foregoing notification information transmitted from the second Bluetooth circuit 120 to the first Bluetooth circuit 110 may 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 control circuit 125 may extract the corresponding packet sequence number from the specific Bluetooth packet, and the packet sequence number together with the available identification number The device code or device identification data of the second Bluetooth circuit 120 are combined or encoded together into notification information corresponding to the specific Bluetooth packet. For another example, the control circuit 125 may extract suitable packet identification data from the specific Bluetooth packet, and combine or encode the packet identification data together with a device code or device identification data for identifying the second Bluetooth circuit 120 into The corresponding notification information of the specific Bluetooth packet.

由前述說明可知,在遠端藍牙裝置102陸續發出多個藍牙封包的過程中,第一藍牙電路110在正常的情況下會重複進行前述的流程506與508,進而傳送多個確認信息給遠端藍牙裝置102。另一方面,其他成員電路在正常的情況下則會重複進行前述的流程510與512,進而傳送多個通知信息給第一藍牙電路110。例如,第二藍牙電路120會重複進行前述的流程510與512,以傳送與遠端藍牙裝置102發出的多個藍牙封包相應的多個通知信息給第一藍牙電路110。As can be seen from the foregoing description, in the process that the remote Bluetooth device 102 successively sends out multiple Bluetooth packets, the first Bluetooth circuit 110 will repeat the aforementioned processes 506 and 508 under normal circumstances, and then send multiple confirmation messages to the remote Bluetooth device 102. On the other hand, under normal circumstances, other member circuits will repeat the foregoing processes 510 and 512, and then send multiple notification messages to the first Bluetooth circuit 110. For example, the second Bluetooth circuit 120 repeats the foregoing processes 510 and 512 to transmit multiple notification messages corresponding to the multiple Bluetooth packets sent by the remote Bluetooth device 102 to the first Bluetooth circuit 110.

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

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

如前所述,第一藍牙電路110與遠端藍牙裝置102之間採用了封包交握機制,所以在正常情況下第一藍牙電路110應該能夠順利獲得遠端藍牙裝置102發出的所有封包。倘若控制電路115檢核出某一特定成員電路漏收了遠端藍牙裝置102發出的部分封包,便會進行流程516,將該特定成員電路漏收的封包透過資料傳輸電路113傳送給該特定成員電路,使該特定成員電路將漏收的封包補齊。As mentioned above, a packet handshake mechanism is adopted between the first Bluetooth circuit 110 and the remote Bluetooth device 102, so under normal circumstances the first Bluetooth circuit 110 should be able to successfully obtain all packets sent by the remote Bluetooth device 102. If the control circuit 115 detects that a particular member circuit has missed a part of the packets sent by the remote Bluetooth device 102, it will proceed to the process 516 and transmit the missed packet of the particular member circuit to the particular member through the data transmission circuit 113 Circuit, so that the specific member circuit will fill up the missed packets.

藉由重複進行前述的運作,其他成員電路便能在第一藍牙電路110的協助下將漏收的封包都補齊。By repeating the foregoing operations, the other member circuits can complete the missing packets with the assistance of the first Bluetooth circuit 110.

例如,在控制電路115檢核出第二藍牙電路120漏收遠端藍牙裝置102發出的部分封包的情況下,控制電路115會進行流程516,將第二藍牙電路120漏收的封包透過資料傳輸電路113傳送給第二藍牙電路120。在此情況下,第二藍牙電路120會進行流程518,透過資料傳輸電路123接收第一藍牙電路110傳來的封包,藉此取得漏收的封包。For example, if the control circuit 115 detects that the second Bluetooth circuit 120 has missed some packets from the remote Bluetooth device 102, the control circuit 115 will perform a process 516 to transmit the missed packets of the second Bluetooth circuit 120 through data transmission. The circuit 113 transmits to the second Bluetooth circuit 120. In this case, the second Bluetooth circuit 120 performs the process 518 to receive the packet transmitted from the first Bluetooth circuit 110 through the data transmission circuit 123, thereby obtaining the missed packet.

在多成員藍牙裝置100與遠端藍牙裝置102互動的過程中,如果其他成員電路需要傳送指令或資料給遠端藍牙裝置102,可將相關的指令或資料透過資料傳輸電路傳送給第一藍牙電路110。接著,第一藍牙電路110可將前述的指令或資料透過藍牙通信電路111傳送給遠端藍牙裝置102。換言之,其他成員電路可透過第一藍牙電路110將指令或資料間接傳送給遠端藍牙裝置102。During the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102, if other member circuits need to send commands or data to the remote Bluetooth device 102, the related commands or data can be sent to the first Bluetooth circuit through the data transmission circuit 110. Then, the first Bluetooth circuit 110 can transmit the aforementioned command or data to the remote Bluetooth device 102 through the Bluetooth communication circuit 111. In other words, other member circuits can indirectly transmit commands or data to the remote Bluetooth device 102 through the first Bluetooth circuit 110.

由前述說明可知,第一藍牙電路110與遠端藍牙裝置102之間會採用封包交握機制以避免遺漏封包的情況發生,而且第一藍牙通信電路111傳送確認信息給遠端藍牙裝置102的時序,與資料傳輸電路113是否有接收到第二藍牙電路120傳來的前述通知信息無關。As can be seen from the foregoing description, a packet handshake mechanism is used 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 , Regardless of whether the data transmission circuit 113 has received the aforementioned notification information from the second Bluetooth circuit 120.

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

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

與前述圖2的實施例相較之下,多成員藍牙裝置100採用圖5的方法與遠端藍牙裝置102進行互動,可大幅降低主藍牙電路(本例中為第一藍牙電路110)的封包轉傳負擔,進而節省主藍牙電路的耗電量。如此一來,便可有效延長主藍牙電路的工作時間與待機時間。Compared with the aforementioned embodiment of FIG. 2, the multi-member Bluetooth device 100 uses the method of FIG. 5 to interact with the remote Bluetooth device 102, which can greatly reduce the packet of the main Bluetooth circuit (in this example, the first Bluetooth circuit 110) Transmit the burden, thereby saving the power consumption of the main Bluetooth circuit. 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 requirement between the main Bluetooth circuit and other member circuits, so it can simplify the hardware design of the main Bluetooth circuit and other member circuits, and/or reduce the circuit complexity and circuit cost .

在運作時,多成員藍牙裝置100的不同成員電路之間還可採用各種合適的現有資料同步機制,來確保不同的成員電路能夠同步播放遠端藍牙裝置102傳來的音頻資料或視頻資料,藉此避免出現不同成員電路的播放時序不一致的情況。During operation, various member circuits of the multi-member Bluetooth device 100 can also use various suitable existing data synchronization mechanisms to ensure that different member circuits can simultaneously play the audio data or video data transmitted from the remote Bluetooth device 102. This avoids the inconsistent playback timing of different member circuits.

在多成員藍牙裝置100採用前述圖5的方法與遠端藍牙裝置102互動的過程中,主藍牙電路可間歇性評估是否要將主藍牙電路的角色交接給其他成員電路。同樣地,其他成員電路也可間歇性評估是否要主動取代主藍牙電路的角色。以下將搭配圖6至圖7來說明多成員藍牙裝置100的不同成員電路之間實現無縫交接的另一種方法。During the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method of FIG. 5 described above, the main Bluetooth circuit can intermittently evaluate whether to transfer the role of the main Bluetooth circuit to other member circuits. Similarly, other member circuits can also intermittently evaluate whether to actively replace the role of the main Bluetooth circuit. Hereinafter, another method for achieving seamless handover between different member circuits of the multi-member Bluetooth device 100 will be described with reference to FIGS. 6 to 7.

例如,在多成員藍牙裝置100運作的過程中,第一藍牙電路110的控制電路115可週期性或間歇性進行圖6中的流程602,而其他成員電路的控制電路則可週期性或間歇性進行圖6中的流程610。For example, during the operation of the multi-member Bluetooth device 100, the control circuit 115 of the first Bluetooth circuit 110 may periodically or intermittently perform the process 602 in FIG. 6, while the control circuits of other member circuits may be periodic or intermittent Proceed to the process 610 in FIG. 6.

在流程602中,控制電路115會計算其他成員電路的藍牙封包遺失率,並將其他成員的藍牙封包遺失率與第一藍牙電路110的藍牙封包遺失率進行比較,以評估其他成員電路與第一藍牙電路110之間的相對收訊品質。對第一藍牙電路110而言,當某一成員電路的藍牙封包遺失率越高,代表第一藍牙電路110補發封包給該成員電路的次數可能越多。In the process 602, the control circuit 115 calculates the Bluetooth packet loss rate of other member circuits, and compares the Bluetooth packet loss rate of other members with the Bluetooth packet loss rate of the first Bluetooth circuit 110 to evaluate the other member circuits and the first The relative reception quality between the Bluetooth circuits 110. For the first Bluetooth circuit 110, the higher the Bluetooth packet loss rate of a member circuit, the more times the first Bluetooth circuit 110 may reissue the packet to the member circuit.

例如,控制電路115在流程602中可依據前述流程514的判斷結果,計算出某一成員電路(例如,第二藍牙電路120)漏收遠端藍牙裝置102發出的藍牙封包的總次數、漏收封包的平均次數、或是漏收封包的移動平均次數(moving avarage),並用計算出來的結果代表該成員電路的藍牙封包遺失率。For example, in the process 602, the control circuit 115 may calculate the total number and missed reception of a Bluetooth packet sent by the remote Bluetooth device 102 by a member circuit (for example, the second Bluetooth circuit 120) according to the determination result of the foregoing process 514 The average number of packets, or the moving average number of missing packets (moving avarage), and the calculated result represents the Bluetooth packet loss rate of the member circuit.

又例如,控制電路115可計算補發封包給某一成員電路的總次數、或是移動平均次數,並用計算出來的結果代表該成員電路的藍牙封包遺失率。For another example, the control circuit 115 may calculate the total number of times the packet is reissued to a member circuit or the number of moving averages, and use the calculated result to represent the Bluetooth packet loss rate of the member circuit.

倘若控制電路115發現其他成員電路的藍牙封包遺失率比第一藍牙電路110的藍牙封包遺失率低,則第一藍牙電路110可進行流程604;反之,則第一藍牙電路110會持續監測個別成員電路的藍牙封包遺失率的變化。If the control circuit 115 finds that the Bluetooth packet loss rate of other member circuits is lower than the Bluetooth packet loss rate of the first Bluetooth circuit 110, the first Bluetooth circuit 110 may perform the process 604; otherwise, the first Bluetooth circuit 110 will continue to monitor individual members Changes in the loss rate of Bluetooth packets in the circuit.

在流程604中,控制電路115可從藍牙封包遺失率比第一藍牙電路110低的其他成員電路中,選出一個成員電路來扮演後續運作中的主藍牙電路,並透過資料傳輸電路113將一交接指示(handover instruction),傳送給選定的成員電路。In the process 604, the control circuit 115 may select a member circuit from other member circuits whose Bluetooth packet loss rate is lower than that of the first Bluetooth circuit 110 to play the role of the main Bluetooth circuit in the subsequent operation, and transfer a connection through the data transmission circuit 113 The instruction (handover instruction) is transmitted to the selected member circuit.

例如,控制電路115可挑選藍牙封包遺失率最低的成員電路,來扮演後續運作中的主藍牙電路的角色。For example, the control circuit 115 may select the member circuit with the lowest Bluetooth packet loss rate to play the role of the main Bluetooth circuit in subsequent operations.

或者,控制電路115可在預定的時間點從藍牙封包遺失率比第一藍牙電路110低的成員電路中,任意挑選一個成員電路來扮演後續運作中的主藍牙電路的角色。Alternatively, the control circuit 115 may arbitrarily select a member circuit from the member circuits having a lower Bluetooth packet loss rate than the first Bluetooth circuit 110 at a predetermined time point to play the role of a master Bluetooth circuit in subsequent operations.

為了方便說明起見,以下假設控制電路115在前述的流程604中選擇了第二藍牙電路120來扮演後續運作中的主藍牙電路的角色。For convenience of explanation, it is assumed below that the control circuit 115 selects the second Bluetooth circuit 120 in the foregoing process 604 to play the role of the main Bluetooth circuit in subsequent operations.

因此,控制電路115在流程604中會透過資料傳輸電路113與資料傳輸電路123,將交接指示傳送給第二藍牙電路120。Therefore, in the process 604, the control circuit 115 transmits the handover instruction to the second Bluetooth circuit 120 through the data transmission circuit 113 and the data transmission circuit 123.

控制電路115在流程604中所傳送的交接指示,可用來指示第二藍牙電路120接替第一藍牙電路110的角色直接與遠端藍牙裝置102進行雙向封包傳輸。亦即,前述的交接指示會指示接下來將改由第二藍牙電路120以藍牙無線傳輸方式直接與遠端藍牙裝置102進行雙向封包傳輸,以接續扮演主藍牙電路的角色。The handover instruction transmitted by the control circuit 115 in the process 604 can be used to instruct the second Bluetooth circuit 120 to take over the role of the first Bluetooth circuit 110 to directly perform two-way packet transmission with the remote Bluetooth device 102. That is, the aforementioned handover instruction will indicate that the second Bluetooth circuit 120 will be directly used to perform two-way packet transmission with the remote Bluetooth device 102 via Bluetooth wireless transmission in order to continue to play the role of the main Bluetooth circuit.

倘若在前述的流程502中所指稱的藍牙連線參數是由第一藍牙電路110獲取後傳送給第二藍牙電路120,則控制電路115還可在流程604中將第一藍牙電路110的裝置識別資料,透過資料傳輸電路113與資料傳輸電路123傳送給第二藍牙電路120。If the Bluetooth connection parameters referred to in the foregoing process 502 are acquired by the first Bluetooth circuit 110 and transmitted to the second Bluetooth circuit 120, the control circuit 115 can also identify the device of the first Bluetooth circuit 110 in the process 604 The data is transmitted to the second Bluetooth circuit 120 through the data transmission circuit 113 and the data transmission circuit 123.

在流程606中,第二藍牙電路120的控制電路125會透過資料傳輸電路123接收第一藍牙電路110傳來的交接指示。In the process 606, the control circuit 125 of the second Bluetooth circuit 120 receives the handover instruction from the first Bluetooth circuit 110 through the data transmission circuit 123.

在流程608中,第一藍牙電路110或第二藍牙電路120會通知多成員藍牙裝置100中的其他成員電路,接下來改由第二藍牙電路120負責與遠端藍牙裝置102進行雙向封包傳輸,並指示其他成員電路在側錄到遠端藍牙裝置102發出的封包時,改成通知第二藍牙電路120。亦即,接下來將改由第二藍牙電路120扮演主藍牙電路的角色。在流程608中,控制電路115或125可透過相應的資料傳輸電路將前述的通知與指示信息傳送給其他成員電路的資料傳輸電路。In the process 608, the first Bluetooth circuit 110 or the second Bluetooth circuit 120 will notify other member circuits in the multi-member Bluetooth device 100, and then the second Bluetooth circuit 120 is responsible for bidirectional packet transmission with the remote Bluetooth device 102, It also instructs other member circuits to notify the second Bluetooth circuit 120 when recording the packet sent by the remote Bluetooth device 102. That is, the second Bluetooth circuit 120 will be replaced by the role of the main Bluetooth circuit. In the process 608, the control circuit 115 or 125 may transmit the aforementioned notification and instruction information to the data transmission circuits of other member circuits through the corresponding data transmission circuits.

在第一藍牙電路110或第二藍牙電路120進行了流程608後,第一藍牙電路110便會改成只單向接收遠端藍牙裝置102發出的封包,而不會再傳送封包給遠端藍牙裝置102,以避免遠端藍牙裝置102出現封包衝突的問題。After the first Bluetooth circuit 110 or the second Bluetooth circuit 120 performs the process 608, the first Bluetooth circuit 110 will change to receive packets from 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.

由於接下來將改由藍牙封包遺失率比第一藍牙電路110低的第二藍牙電路120負責與遠端藍牙裝置102進行雙向封包傳輸,所以能夠降低遠端藍牙裝置102需要重傳封包的可能性,進而減輕遠端藍牙裝置102的運作負擔。Since the second Bluetooth circuit 120 with a lower Bluetooth packet loss rate than the first Bluetooth circuit 110 is responsible for bidirectional packet transmission with the remote Bluetooth device 102, the possibility of the remote Bluetooth device 102 needing to retransmit the packet can be reduced To further reduce the operating burden of the remote Bluetooth device 102.

如前所述,在多成員藍牙裝置100採用前述圖5的方法與遠端藍牙裝置102互動的過程中,其他成員電路的控制電路可週期性或間歇性進行圖6中的流程610,以偵測主藍牙電路110是否失能(disable)或失蹤(disappear)。As described above, during the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method of FIG. 5 described above, the control circuits of other member circuits may periodically or intermittently perform the process 610 in FIG. 6 to detect It is tested whether the main Bluetooth circuit 110 is disabled or disappeared.

例如,在流程610中,第二藍牙電路120的控制電路125可偵測主藍牙電路110是否失能或失蹤。實作上,控制電路125可藉由評估第二藍牙電路120與當時扮演主藍牙電路角色的第一藍牙電路110之間的資料通信狀況,以偵測主藍牙電路110是否失能或失蹤。For example, in the process 610, the control circuit 125 of the second Bluetooth circuit 120 may detect whether the main Bluetooth circuit 110 is disabled or missing. In practice, the control circuit 125 can detect whether the main Bluetooth circuit 110 is disabled or missing by evaluating the data communication status between the second Bluetooth circuit 120 and the first Bluetooth circuit 110 that was playing the role of the main Bluetooth circuit at that time.

前述第二藍牙電路120與第一藍牙電路110之間的資料通信狀況,主要是指資料傳輸電路123與113之間是否仍然保持正常通信能力。The aforementioned data communication status between the second Bluetooth circuit 120 and the first Bluetooth circuit 110 mainly refers to whether the data communication circuits 123 and 113 still maintain normal communication capabilities.

在本實施例中,控制電路125可設置成在第一藍牙電路110超過一預定時間沒跟第二藍牙電路120進行互動、或是第二藍牙電路120漏收的封包沒有獲得第一藍牙電路110補發的頻率超過一預定門檻時,將主藍牙電路110判定為失能或失蹤。In this embodiment, the control circuit 125 may be configured not to interact with the second Bluetooth circuit 120 when the first Bluetooth circuit 110 exceeds a predetermined time, or the packets missed by the second Bluetooth circuit 120 are not obtained by the first Bluetooth circuit 110 When the frequency of reissue exceeds a predetermined threshold, the main Bluetooth circuit 110 is determined to be disabled or missing.

在控制電路125判定第一藍牙電路110失能或失蹤時,第二藍牙電路120可進行前述的流程608,以通知多成員藍牙裝置100中的其他成員電路(包含第一藍牙電路110在內),接下來改由第二藍牙電路120負責與遠端藍牙裝置102進行雙向封包傳輸,並指示其他成員電路在側錄到遠端藍牙裝置102發出的封包時,改成通知第二藍牙電路120。亦即,接下來將改由第二藍牙電路120扮演主藍牙電路的角色。When the control circuit 125 determines that the first Bluetooth circuit 110 is disabled or missing, the second Bluetooth circuit 120 may perform the foregoing process 608 to notify other member circuits in the multi-member Bluetooth device 100 (including the first Bluetooth circuit 110) Next, the second Bluetooth circuit 120 is responsible for bidirectional packet transmission with the remote Bluetooth device 102, and instructs other member circuits to notify the second Bluetooth circuit 120 when recording the packet sent by the remote Bluetooth device 102. That is, the second Bluetooth circuit 120 will be replaced by the role of the main Bluetooth circuit.

不論是第二藍牙電路120主動決定要接續扮演主藍牙電路的角色,還是如前述由第一藍牙電路110指定第二藍牙電路120接續扮演主藍牙電路的角色,多成員藍牙裝置100接下來會進行圖7的流程,以與遠端藍牙裝置102進行互動。Whether the second Bluetooth circuit 120 actively decides to continue to play the role of the main Bluetooth circuit, or the second Bluetooth circuit 120 designated by the first Bluetooth circuit 110 to continue to play the role of the main Bluetooth circuit as described above, the multi-member Bluetooth device 100 will proceed The process of FIG. 7 to interact with the remote Bluetooth device 102.

在流程702中,第二藍牙電路120會接替第一藍牙電路110扮演負責與遠端藍牙裝置102進行雙向封包傳輸的角色。In the process 702, the second Bluetooth circuit 120 succeeds the first Bluetooth circuit 110 and plays a role of performing two-way packet transmission with the remote Bluetooth device 102.

例如,假設第一藍牙電路110於前述流程506中是用第一藍牙電路110自己的名義與遠端藍牙裝置102進行雙向封包傳輸,且第一藍牙電路110於前述流程604中將第一藍牙電路110的裝置識別資料傳送給第二藍牙電路120,則第二藍牙電路120的控制電路125在流程702中可控制藍牙通信電路121使用第一藍牙電路110提供的裝置識別資料與藍牙連線參數,冒充第一藍牙電路110的名義直接與遠端藍牙裝置102進行雙向封包傳輸,以接收遠端藍牙裝置102傳來的各種指令或資料,或是傳送各種指令或資料給遠端藍牙裝置102。與前述圖2的實施例相同,所謂冒充第一藍牙電路110的名義,是指第二藍牙電路120在與遠端藍牙裝置102進行雙向藍牙封包傳輸時,會刻意用第一藍牙電路110的裝置識別資料當作第二藍牙電路120的裝置識別資料,藉此致使遠端藍牙裝置102以為自己進行藍牙通信的對象仍然跟前述流程506的情況相同,亦即,都是第一藍牙電路110。For example, assume that the first Bluetooth circuit 110 uses the own name of the first Bluetooth circuit 110 to perform two-way packet transmission with the remote Bluetooth device 102 in the aforementioned process 506, and the first Bluetooth circuit 110 uses the first Bluetooth circuit 110 in the aforementioned process 604 The device identification data of 110 is transmitted to the second Bluetooth circuit 120, then the control circuit 125 of the second Bluetooth circuit 120 can control the Bluetooth communication circuit 121 to use the device identification data and Bluetooth connection parameters provided by the first Bluetooth circuit 110 in the process 702, Pretending to be the name of the first Bluetooth circuit 110, it directly performs two-way packet transmission with the remote Bluetooth device 102 to receive various commands or data from the remote Bluetooth device 102, or send various commands or data to the remote Bluetooth device 102. The same as the aforementioned embodiment of FIG. 2, the so-called impersonation of the first Bluetooth circuit 110 refers to a device in which the second Bluetooth circuit 120 will deliberately use the first Bluetooth circuit 110 when performing two-way Bluetooth packet transmission with the remote Bluetooth device 102 The identification data is used as the device identification data of the second Bluetooth circuit 120, so that the remote Bluetooth device 102 thinks that the object of its Bluetooth communication is still the same as the case of the foregoing process 506, that is, the first Bluetooth circuit 110.

又例如,假設在前述流程502中所指稱的藍牙連線參數是由第二藍牙電路120獲取後傳送給第一藍牙電路110,且第一藍牙電路110於前述流程506中是用第二藍牙電路110的名義與遠端藍牙裝置102進行雙向封包傳輸,則第二藍牙電路120的控制電路125在流程702中可控制藍牙通信電路121使用第二藍牙電路110的裝置識別資料以及第二藍牙電路110先前所獲取的藍牙連線參數,直接與遠端藍牙裝置102進行雙向封包傳輸,以接收遠端藍牙裝置102傳來的各種指令或資料,或是傳送各種指令或資料給遠端藍牙裝置102。與前一實施例不同,第二藍牙電路120此時並非冒充第一藍牙電路110的名義與遠端藍牙裝置102進行封包傳輸,而是使用第二藍牙電路120自己的名義與遠端藍牙裝置102進行封包傳輸,但遠端藍牙裝置102同樣會以為自己進行藍牙通信的對象仍然跟在流程506的情況相同,亦即,都是第二藍牙電路120。For another example, it is assumed that the Bluetooth connection parameters referred to in the foregoing process 502 are acquired by the second Bluetooth circuit 120 and transmitted to the first Bluetooth circuit 110, and the first Bluetooth circuit 110 uses the second Bluetooth circuit in the foregoing process 506 In the name of 110, two-way packet transmission is performed with the remote Bluetooth device 102, then the control circuit 125 of the second Bluetooth circuit 120 can control the Bluetooth communication circuit 121 to use the device identification data of the second Bluetooth circuit 110 and the second Bluetooth circuit 110 in the process 702 The previously obtained Bluetooth connection parameters directly communicate with the remote Bluetooth device 102 in two-way packets to receive various commands or data from the remote Bluetooth device 102 or send various commands or data to the remote Bluetooth device 102. Unlike the previous embodiment, the second Bluetooth circuit 120 does not perform the packet transmission with the remote Bluetooth device 102 in the name of the first Bluetooth circuit 110, but uses the second Bluetooth circuit 120's own name with the remote Bluetooth device 102 Packet transmission is performed, but the remote Bluetooth device 102 also thinks that the object of its Bluetooth communication is still the same as that in the process 506, that is, it is the second Bluetooth circuit 120.

同樣地,第二藍牙電路120接替第一藍牙電路110扮演負責與遠端藍牙裝置102進行雙向封包傳輸的角色,並不需要先經過遠端藍牙裝置102的同意。因此,在第二藍牙電路120接替第一藍牙電路110的角色後,並不會被遠端藍牙裝置102要求重新進行藍牙連線程序。Similarly, the second Bluetooth circuit 120 succeeds the first Bluetooth circuit 110 and plays a role of performing two-way packet transmission with the remote Bluetooth device 102 without first obtaining the permission of the remote Bluetooth device 102. Therefore, after the second Bluetooth circuit 120 takes over the role of the first Bluetooth circuit 110, the remote Bluetooth device 102 will not be required to perform the Bluetooth connection procedure again.

換言之,前述第二藍牙電路120接替第一藍牙電路110扮演負責與遠端藍牙裝置102進行雙向封包傳輸的角色的方式,能夠省去重新與遠端藍牙裝置102進行藍牙連線程序所需的時間。從另一角度而言,前述的方式能夠有效避免第二藍牙電路120需要重新與遠端藍牙裝置102建立藍牙連線過程而造成的信號中斷情況。In other words, the aforementioned second Bluetooth circuit 120 succeeds the first Bluetooth circuit 110 to play a role of performing two-way packet transmission with the remote Bluetooth device 102, which can save the time required to re-connect with the remote Bluetooth device 102 for the Bluetooth connection procedure . From another perspective, the foregoing method can effectively avoid the signal interruption caused by the second Bluetooth circuit 120 needing to re-establish the Bluetooth connection process with the remote Bluetooth device 102.

接下來,每次藍牙通信電路121接收到遠端藍牙裝置102傳來的封包時,第二藍牙電路120的控制電路112會進行流程704,透過藍牙通信電路121傳送與接收到的封包相應的一確認信息給遠端藍牙裝置102。倘若遠端藍牙裝置102沒有收到特定封包的相應確認信息,便會重傳該特定封包給藍牙通信電路121。與前述圖5的實施例相同,第二藍牙電路120與遠端藍牙裝置102之間可以採用各種合適的現有封包交握機制,以降低或避免遺漏封包的情況發生。如此一來,便能有效降低第二藍牙電路120的藍牙封包遺失率。Next, each time the Bluetooth communication circuit 121 receives the packet from the remote Bluetooth device 102, the control circuit 112 of the second Bluetooth circuit 120 performs a process 704, and transmits a corresponding one corresponding to the received packet through the Bluetooth communication circuit 121. Confirm the information 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 Bluetooth communication circuit 121. Similar to the foregoing embodiment of FIG. 5, various suitable existing packet handshaking mechanisms can be used between the second Bluetooth circuit 120 and the remote Bluetooth device 102 to reduce or avoid the occurrence of missing packets. In this way, the Bluetooth packet loss rate of the second Bluetooth circuit 120 can be effectively reduced.

另一方面,在第二藍牙電路120與遠端藍牙裝置102進行雙向封包傳輸的過程中,其他成員電路會進行流程706,以側錄遠端藍牙裝置102發出的封包。On the other hand, during the two-way packet transmission between the second Bluetooth circuit 120 and the remote Bluetooth device 102, other member circuits will perform a process 706 to record the packets sent by the remote Bluetooth device 102.

在流程706中,其他成員電路的控制電路會在前述流程502中所獲取的藍牙連線參數,透過相關的藍牙通信電路側錄遠端藍牙裝置102發出的封包。在一實施例中,其他成員電路可側錄遠端藍牙裝置102發出的全部藍牙封包。在另一實施例中,其他成員電路只會側錄遠端藍牙裝置102要傳送給第一藍牙電路110的藍牙封包,而不會側錄遠端藍牙裝置102要傳送給多成員藍牙裝置100以外裝置的藍牙封包。In the process 706, the control circuits of other member circuits will record the Bluetooth connection parameters acquired in the aforesaid process 502 through the relevant Bluetooth communication circuit to record the packets sent by the remote Bluetooth device 102. In an embodiment, other member circuits may record all Bluetooth packets sent by the remote Bluetooth device 102. In another embodiment, other member circuits will only record the Bluetooth packets that the remote Bluetooth device 102 will transmit to the first Bluetooth circuit 110, but will not record the remote Bluetooth device 102 to be transmitted to the multi-member Bluetooth device 100. The Bluetooth packet of the device.

例如,在第二藍牙電路120進行流程702與遠端藍牙裝置102進行雙向封包傳輸的過程中,第一藍牙電路110的控制電路115可透過藍牙通信電路111側錄遠端藍牙裝置102發出的封包。For example, during the process of the second Bluetooth circuit 120 performing the process 702 and the two-way packet transmission with the remote Bluetooth device 102, the control circuit 115 of the first Bluetooth circuit 110 may record the packets sent by the remote Bluetooth device 102 via the Bluetooth communication circuit 111 .

包含第一藍牙電路110在內的其他成員電路每次側錄到(亦即,接收到)遠端藍牙裝置102發出的封包時,都會進行流程708。在流程708中,成員電路會傳送與接收到的封包相應的一通知信息給第二藍牙電路110,但並不會傳送任何確認信息給遠端藍牙裝置102。Every time other member circuits including the first Bluetooth circuit 110 record (ie, receive) the packet sent by the remote Bluetooth device 102, the process 708 is performed. In the process 708, the member circuit sends a notification message corresponding to the received packet to the second Bluetooth circuit 110, but does not send any confirmation message to the remote Bluetooth device 102.

換言之,其他成員電路在流程708中的運作方式,與前述圖5的流程512中的運作方式很類似,差別只在於傳送通知信息的對象,此時會改為扮演主藍牙電路角色的第二藍牙電路110,而不再是第一藍牙電路110。In other words, the operation of the other member circuits in the process 708 is very similar to the operation in the process 512 of FIG. 5 described above, the difference is only the object that sends the notification message, at this time it will be changed to the second Bluetooth that plays the role of the main Bluetooth circuit Circuit 110 instead of the first Bluetooth circuit 110.

因此,雖然多成員藍牙裝置100中的所有成員電路都會接收遠端藍牙裝置102發出的封包,但只有此時扮演主藍牙電路角色的第二藍牙電路120在收到封包時會傳送確認信息給遠端藍牙裝置102,包含第一藍牙電路110在內的其他成員電路都不會傳送確認信息給遠端藍牙裝置102,以避免遠端藍牙裝置102造成誤判。Therefore, although all the member circuits in the multi-member Bluetooth device 100 will receive the packet sent by the remote Bluetooth device 102, only the second Bluetooth circuit 120 playing the role of the main Bluetooth circuit at this time will send a confirmation message to the remote when receiving the packet The terminal Bluetooth device 102 and other member circuits including the first Bluetooth circuit 110 will not send confirmation information to the remote Bluetooth device 102, so as to avoid misjudgment caused by the remote Bluetooth device 102.

例如,第一藍牙電路110每次接收到遠端藍牙裝置102發出的封包時,控制電路115可進行流程708,透過資料傳輸電路113傳送一相應的通知信息給第二藍牙電路110的資料傳輸電路123,但控制電路115不會透過藍牙通信電路111與資料傳輸電路113傳送任何確認信息給遠端藍牙裝置102。亦即,在第二藍牙電路120與遠端藍牙裝置102進行雙向封包傳輸的過程中,第一藍牙電路110不會再與端藍牙裝置102進行封包交握程序。For example, each time the first Bluetooth circuit 110 receives a packet sent by the remote Bluetooth device 102, the control circuit 115 may perform a process 708 to transmit a corresponding notification message to the data transmission circuit of the second Bluetooth circuit 110 through the data transmission circuit 113 123, but the control circuit 115 will not send any confirmation information to the remote Bluetooth device 102 through the Bluetooth communication circuit 111 and the data transmission circuit 113. That is, during the process of the two-way packet transmission between the second Bluetooth circuit 120 and the remote Bluetooth device 102, the first Bluetooth circuit 110 will no longer perform the packet handshake procedure with the end Bluetooth device 102.

在本實施例中,第一藍牙電路110傳送前述通知信息給第二藍牙電路120的目的,同樣不是為了要跟第二藍牙電路120進行封包交握程序,而是為了讓第二藍牙電路120得以掌握第一藍牙電路110側錄遠端藍牙裝置102發出的封包的結果。In this embodiment, the purpose of the first Bluetooth circuit 110 to transmit the aforementioned notification information to the second Bluetooth circuit 120 is also not to perform a packet handshake procedure with the second Bluetooth circuit 120, but to allow the second Bluetooth circuit 120 to Grasp the result of the first Bluetooth circuit 110 recording the packet sent by the remote Bluetooth device 102.

與前述圖5的實施例類似,第二藍牙電路120可間歇性或週期性進行流程710,以依據個別成員電路傳來的複數個通知信息,判斷個別成員電路是否漏收遠端藍牙裝置102發出的封包。Similar to the foregoing embodiment of FIG. 5, the second Bluetooth circuit 120 may perform the process 710 intermittently or periodically to determine whether the individual member circuit misses the remote Bluetooth device 102 according to the plurality of notification messages from the individual member circuit Packet.

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

如前所述,第二藍牙電路120與遠端藍牙裝置102之間採用了封包交握機制,所以在正常情況下第二藍牙電路120應該能夠順利獲得遠端藍牙裝置102後續發出的所有封包。倘若控制電路125檢核出某一特定成員電路漏收了遠端藍牙裝置102發出的部分封包,便會進行流程712,將該特定成員電路漏收的封包透過資料傳輸電路123傳送給該特定成員電路,使該特定成員電路將漏收的封包補齊。As mentioned above, a packet handshake mechanism is used between the second Bluetooth circuit 120 and the remote Bluetooth device 102, so under normal circumstances the second Bluetooth circuit 120 should be able to successfully obtain all subsequent packets sent by the remote Bluetooth device 102. If the control circuit 125 detects that a particular member circuit has missed a part of the packets sent by the remote Bluetooth device 102, it will proceed to the process 712 and transmit the packet missed by the particular member circuit to the particular member through the data transmission circuit 123 Circuit, so that the specific member circuit will fill up the missed packets.

藉由重複進行前述的運作,其他成員電路便能在第二藍牙電路120的協助下將漏收的封包都補齊。By repeating the foregoing operations, other member circuits can complete the missing packets with the assistance of the second Bluetooth circuit 120.

例如,在控制電路125檢核出第一藍牙電路110漏收遠端藍牙裝置102發出的部分封包的情況下,控制電路125會進行流程712,將第一藍牙電路110漏收的封包透過資料傳輸電路123傳送給第一藍牙電路110。在此情況下,第一藍牙電路110會進行流程714,透過資料傳輸電路113接收第二藍牙電路120傳來的封包,藉此取得漏收的封包。For example, if the control circuit 125 detects that the first Bluetooth circuit 110 has missed some packets from the remote Bluetooth device 102, the control circuit 125 will proceed to the process 712 to transmit the packets missed by the first Bluetooth circuit 110 through data transmission The circuit 123 is transmitted to the first Bluetooth circuit 110. In this case, the first Bluetooth circuit 110 performs the process 714 to receive the packet from the second Bluetooth circuit 120 through the data transmission circuit 113, thereby obtaining the missed packet.

在第二藍牙電路120扮演主藍牙電路角色的期間,如果其他成員電路需要傳送指令或資料給遠端藍牙裝置102,可將相關的指令或資料透過資料傳輸電路傳送給第二藍牙電路120。接著,第二藍牙電路120可將前述的指令或資料透過藍牙通信電路121傳送給遠端藍牙裝置102。換言之,其他成員電路可透過第二藍牙電路120將指令或資料間接傳送給遠端藍牙裝置102。During the period when the second Bluetooth circuit 120 plays the role of the main Bluetooth circuit, if other member circuits need to transmit commands or data to the remote Bluetooth device 102, the related commands or data may be transmitted to the second Bluetooth circuit 120 through the data transmission circuit. Then, the second Bluetooth circuit 120 can transmit the aforementioned command or data to the remote Bluetooth device 102 through the Bluetooth communication circuit 121. In other words, other member circuits can indirectly transmit commands or data to the remote Bluetooth device 102 through the second Bluetooth circuit 120.

同樣地,在多成員藍牙裝置100採用圖7的方法與遠端藍牙裝置102互動的過程中,扮演主藍牙電路角色的第二藍牙電路120可週期性或間歇性計算其他成員電路的藍牙封包遺失率,並將其他成員的藍牙封包遺失率與第二藍牙電路120的藍牙封包遺失率進行比較,以評估其他成員電路與第二藍牙電路120之間的相對收訊品質,其運作與第一藍牙電路110在前述流程602中的運作類似。同樣地,其他成員電路可週期性或間歇性評估是否要主動取代主藍牙電路的角色。Similarly, during the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method of FIG. 7, the second Bluetooth circuit 120 playing the role of the main Bluetooth circuit may periodically or intermittently calculate the loss of Bluetooth packets of other member circuits And compare the Bluetooth packet loss rate of other members with the Bluetooth packet loss rate of the second Bluetooth circuit 120 to evaluate the relative reception quality between the other member circuits and the second Bluetooth circuit 120. The operation of the circuit 110 in the aforementioned process 602 is similar. Similarly, other member circuits can periodically or intermittently evaluate whether they want to actively replace the role of the main Bluetooth circuit.

例如,此時第一藍牙電路110的控制電路115可週期性或間歇性進行圖7中的流程716,以偵測第二藍牙電路是否失能或失蹤,其運作與前述第二藍牙電路120在流程610中的運作類似。For example, at this time, the control circuit 115 of the first Bluetooth circuit 110 may periodically or intermittently perform the process 716 in FIG. 7 to detect whether the second Bluetooth circuit is disabled or missing. Its operation is the same as that of the aforementioned second Bluetooth circuit 120. The operation in process 610 is similar.

請注意,前述圖6至圖7的無縫交接方法只是一示範性的實施例,並非侷限本發明的實際實施方式。實作上,在多成員藍牙裝置100採用前述圖5的方法與遠端藍牙裝置102互動的過程中,主藍牙電路亦可利用前述圖2中的流程210的評估方式,來判斷是否要將主藍牙電路的角色交接給其他成員電路。Please note that the aforementioned seamless handover method of FIGS. 6 to 7 is only an exemplary embodiment, and does not limit the actual implementation of the present invention. In practice, during the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method shown in FIG. 5, the main Bluetooth circuit can also use the evaluation method of the process 210 in FIG. 2 to determine whether The role of the Bluetooth circuit is transferred to other member circuits.

例如,在多成員藍牙裝置100採用前述圖5的方法與遠端藍牙裝置102互動的過程中,扮演主藍牙電路角色的第一藍牙電路110可利用判斷電路117評估第一藍牙電路110的運算負荷、剩餘電力、溫度、和/或操作環境等操作參數,以判斷是否需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路。判斷電路117可在第一藍牙電路110的運算負荷超過一預定水平、第一藍牙電路110的剩餘電力低於一預定水平、第一藍牙電路110的溫度超過一預定溫度值、和/或第一藍牙電路110的操作環境偏離預設條件的情況下,判定需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路。For example, during the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method shown in FIG. 5, the first Bluetooth circuit 110 playing the role of the main Bluetooth circuit can use the judgment circuit 117 to evaluate the computing load of the first Bluetooth circuit 110 , Remaining power, temperature, and/or operating environment and other operating parameters to determine whether it is necessary to transfer the role of the primary Bluetooth circuit played by the first Bluetooth circuit 110 to other member circuits. The judging circuit 117 may operate when the computing load of the first Bluetooth circuit 110 exceeds a predetermined level, the remaining power of the first Bluetooth circuit 110 is lower than a predetermined level, the temperature of the first Bluetooth circuit 110 exceeds a predetermined temperature value, and/or the first When the operating environment of the Bluetooth circuit 110 deviates from the preset condition, it is determined that the role of the primary Bluetooth circuit played by the first Bluetooth circuit 110 needs to be handed over to other member circuits.

又例如,判斷電路117在進行前述評估運作時,亦可比較第一藍牙電路110的操作參數與其他成員電路的操作參數之間的差距,以做為判斷是否需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路的依據。在本實施例中,其他成員電路可利用各自的判斷電路評估自己的運算負荷、剩餘電力、溫度、和/或操作環境等操作參數,並在運作的過程中將獲得的操作參數傳送給第一藍牙電路110的判斷電路117。判斷電路117可在第一藍牙電路110的運算負荷超過其他成員電路達一預定程度、第一藍牙電路110的剩餘電力低於其他成員電路的剩餘電力達一預定程度、第一藍牙電路110的溫度超過其他成員電路的溫度達一預定程度、和/或第一藍牙電路110的操作環境偏離預設條件但其他成員電路的操作環境符合預設條件的情況下,判定需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路。For another example, when the judging circuit 117 performs the aforementioned evaluation operation, it can also compare the difference between the operating parameters of the first Bluetooth circuit 110 and the operating parameters of other member circuits to determine whether it is necessary to play the role of the first Bluetooth circuit 110 The basis for the transfer of the role of the main Bluetooth circuit to other member circuits. In this embodiment, other member circuits may use their own judgment circuits to evaluate their own operating parameters such as computing load, remaining power, temperature, and/or operating environment, and transmit the obtained operating parameters to the first during the operation The judgment circuit 117 of the Bluetooth circuit 110. The judging circuit 117 may calculate that the computing load of the first Bluetooth circuit 110 exceeds the other member circuits by a predetermined degree, the remaining power of the first Bluetooth circuit 110 is lower than the remaining power of the other member circuits by a predetermined degree, the temperature of the first Bluetooth circuit 110 If the temperature of other member circuits exceeds a predetermined level and/or the operating environment of the first Bluetooth circuit 110 deviates from the preset condition but the operating environment of the other member circuits meets the preset condition, it is determined that the first Bluetooth circuit 110 needs to be played The role of the main Bluetooth circuit is handed over to other member circuits.

實作上,判斷電路117也可將第一藍牙電路110自己的操作參數,以及第一藍牙電路110與其他成員電路在操作參數上的差距,都一起納入前述的綜合判斷考慮中。In practice, the judgment circuit 117 may also incorporate the operating parameters of the first Bluetooth circuit 110 and the differences in the operating parameters of the first Bluetooth circuit 110 and other member circuits into the aforementioned comprehensive judgment.

例如,判斷電路117可在第一藍牙電路110的運算負荷超過一預定水平、第一藍牙電路110的剩餘電力低於一預定水平、第一藍牙電路110的溫度超過一預定溫度值、第一藍牙電路110的運算負荷超過其他成員電路達一預定程度、第一藍牙電路110的剩餘電力低於其他成員電路的剩餘電力達一預定程度、第一藍牙電路110的溫度超過其他成員電路的溫度達一預定程度、和/或第一藍牙電路110的操作環境偏離預設條件但其他成員電路的操作環境符合預設條件的情況下,判定需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路。For example, the judging circuit 117 may operate when the operation load of the first Bluetooth circuit 110 exceeds a predetermined level, the remaining power of the first Bluetooth circuit 110 is lower than a predetermined level, the temperature of the first Bluetooth circuit 110 exceeds a predetermined temperature value, the first Bluetooth The operation load of the circuit 110 exceeds the other member circuits by a predetermined degree, the remaining power of the first Bluetooth circuit 110 is lower than the remaining power of the other member circuits by a predetermined degree, and the temperature of the first Bluetooth circuit 110 exceeds the temperature of the other member circuits by one If the predetermined degree and/or the operating environment of the first Bluetooth circuit 110 deviates from the preset condition but the operating environment of the other member circuits meets the preset condition, it is determined that the role of the primary Bluetooth circuit played by the first Bluetooth circuit 110 needs to be handed over to the other Member circuit.

一旦判斷電路117判定需要將第一藍牙電路110扮演的主藍牙電路角色交接給其他成員電路,第一藍牙電路110便可進行圖6中的流程604,傳送交接指示給其他合適的成員電路(例如,前述的第二藍牙電路120)。Once the judging circuit 117 determines that the role of the primary Bluetooth circuit played by the first Bluetooth circuit 110 needs to be handed over to other member circuits, the first Bluetooth circuit 110 can proceed to the process 604 in FIG. 6 and send a handover instruction to other suitable member circuits (for example , The aforementioned second Bluetooth circuit 120).

由前述說明可知,在第一藍牙電路110透過藍牙通信電路111與遠端藍牙裝置102進行雙向封包傳輸的期間,第二藍牙電路120的藍牙通信電路121不會與遠端藍牙裝置102進行雙向封包傳輸,而在第二藍牙電路120透過藍牙通信電路121與遠端藍牙裝置102進行雙向封包傳輸的期間,第一藍牙電路110的藍牙通信電路111不會與遠端藍牙裝置102進行雙向封包傳輸。As can be seen from the foregoing description, during the two-way packet transmission between the first Bluetooth circuit 110 and the remote Bluetooth device 102 through the Bluetooth communication circuit 111, the Bluetooth communication circuit 121 of the second Bluetooth circuit 120 does not perform two-way packet with the remote Bluetooth device 102 While the second Bluetooth circuit 120 performs the two-way packet transmission with the remote Bluetooth device 102 through the Bluetooth communication circuit 121, the Bluetooth communication circuit 111 of the first Bluetooth circuit 110 does not perform the two-way packet transmission with the remote Bluetooth device 102.

請注意,前述圖5至圖7中的流程執行順序只是一示範性的實施例,並非侷限本發明的實際實施方式。Please note that the foregoing sequence of execution of the processes in FIGS. 5 to 7 is only an exemplary embodiment, and does not limit the actual implementation of the present invention.

例如,可將前述圖5中的流程502與504同時進行,或是將流程502與504的順序對調。For example, the processes 502 and 504 in FIG. 5 can be performed simultaneously, or the order of the processes 502 and 504 can be reversed.

又例如,圖6中的流程602與610,皆可以在進行圖5的流程506至518之間的任何時間點進行。For another example, the processes 602 and 610 in FIG. 6 can be performed at any time between the processes 506 to 518 in FIG. 5.

在某些實施例中,亦可將圖6中的流程602、604、與606省略,或是將流程610省略。In some embodiments, the processes 602, 604, and 606 in FIG. 6 may also be omitted, or the process 610 may be omitted.

前述多成員藍牙裝置100中的成員電路的數量,可以減少至兩個,也可依實際電路應用的需要而增加。在多成員藍牙裝置100中的成員電路數量只有兩個的實施例中,當第二藍牙電路120於圖6的流程610中判定第一藍牙電路110失能或失蹤時,可跳過流程608而直接進行圖7的流程702。The number of member circuits in the aforementioned multi-member Bluetooth device 100 can be reduced to two, or it can be increased according to actual circuit application needs. In an embodiment in which the number of member circuits in the multi-member Bluetooth device 100 is only two, when the second Bluetooth circuit 120 determines that the first Bluetooth circuit 110 is disabled or missing in the process 610 of FIG. 6, the process 608 may be skipped. The flow 702 of FIG. 7 is directly performed.

另外,在某些實施例中,亦可將前述第一藍牙電路110中的判斷電路117、和/或第二藍牙電路120中的判斷電路127省略。In addition, in some embodiments, the determination circuit 117 in the first Bluetooth circuit 110 and/or the determination circuit 127 in the second Bluetooth circuit 120 may also be omitted.

由前述說明可知,在多成員藍牙裝置100採用前述圖5的方法與遠端藍牙裝置102互動的過程中,其他成員電路都會側錄遠端藍牙裝置102發出的封包,所以主藍牙電路只需傳送其他成員電路漏收的封包給其他成員電路即可,無需轉送遠端藍牙裝置102發出的全部封包給其他成員電路。因此,多成員藍牙裝置100採用圖5的方法與遠端藍牙裝置102進行互動,可大幅降低主藍牙電路的封包轉傳負擔,進而節省主藍牙電路的耗電量、減少主藍牙電路的發熱量。如此一來,便可有效延長主藍牙電路的工作時間與待機時間、延長主藍牙電路的使用壽命、和/或改善用戶體驗。。As can be seen from the foregoing description, during the interaction between the multi-member Bluetooth device 100 and the remote Bluetooth device 102 using the method shown in FIG. 5, other member circuits will record the packets sent by the remote Bluetooth device 102, so the main Bluetooth circuit only needs to transmit The packets missed by other member circuits may be sent to other member circuits, and there is no need to transfer all the packets sent by the remote Bluetooth device 102 to other member circuits. Therefore, the multi-member Bluetooth device 100 uses the method of FIG. 5 to interact with the remote Bluetooth device 102, which can greatly reduce the packet transfer burden of the main Bluetooth circuit, thereby saving the power consumption of the main Bluetooth circuit and reducing the calorific value of the main Bluetooth circuit . In this way, the working time and standby time of the main Bluetooth circuit can be effectively extended, the service life of the main Bluetooth circuit can be extended, and/or the user experience can be improved. .

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

另外,當其他成員電路的藍牙封包遺失率低於主藍牙電路、或是主藍牙電路失能或失蹤時,其他成員電路可接替主藍牙電路扮演與遠端藍牙裝置102進行雙向封包傳輸的角色,而無需與遠端藍牙裝置102重新建立新的藍牙連線,所以能有效避免多成員藍牙裝置100中的成員電路發生信號中斷的情況。In addition, when the Bluetooth packet loss rate of other member circuits is lower than the main Bluetooth circuit, or the main Bluetooth circuit is disabled or missing, the other member circuits can take over the role of two-way packet transmission with the remote Bluetooth device 102 instead of the main Bluetooth circuit. There is no need to re-establish a new Bluetooth connection with the remote Bluetooth device 102, so the signal interruption of the member circuits in the multi-member Bluetooth device 100 can be effectively avoided.

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

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

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

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

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

110、120、130‧‧‧藍牙電路(Bluetooth circuit)110, 120, 130 ‧‧‧ Bluetooth circuit (Bluetooth circuit)

111、121‧‧‧藍牙通信電路(Bluetooth communication circuit)111、121‧‧‧Bluetooth communication circuit

113、123‧‧‧資料傳輸電路(data transmission circuit)113, 123‧‧‧ data transmission circuit (data transmission circuit)

115、125‧‧‧控制電路(control circuit)115, 125‧‧‧ control circuit

117、127‧‧‧判斷電路(determining circuit)117, 127‧‧‧determination circuit

202~222、502~518、602~610、702~716‧‧‧運作流程(operation)202~222, 502~518, 602~610, 702~716

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

圖2為本發明在多成員藍牙裝置的不同成員電路之間實現無縫交接(seamless handover)的方法簡化後的流程圖。2 is a simplified flowchart of a method for achieving seamless handover between different member circuits of a multi-member Bluetooth device according to the present invention.

圖3與圖4為圖1中的多成員藍牙裝置在不同運作階段的簡化後操作示意圖。3 and 4 are simplified operation diagrams of the multi-member Bluetooth device in FIG. 1 at different operation stages.

圖5為本發明的多成員藍牙裝置與遠端藍牙裝置互動的另一種運作方法簡化後的流程圖。FIG. 5 is a simplified flowchart of another operation method of the interaction between the multi-member Bluetooth device and the remote Bluetooth device of the present invention.

圖6至圖7為本發明在多成員藍牙裝置的不同成員電路之間實現無縫交接的另一種方法簡化後的流程圖。6 to 7 are simplified flowcharts of another method for achieving seamless handover between different member circuits of a multi-member Bluetooth device according to the present invention.

502~518‧‧‧運作流程 502~518‧‧‧Operating process

Claims (10)

一種多成員藍牙裝置(100),用於與一遠端藍牙裝置(102)進行資料傳輸,該多成員藍牙裝置(100)包含: 一主藍牙電路(110),包含: 一第一藍牙通信電路(111); 一第一資料傳輸電路(113);以及 一第一控制電路(115),設置成可透過該第一藍牙通信電路(111)以藍牙無線傳輸方式與該遠端藍牙裝置(102)進行雙向封包傳輸,並可透過該第一資料傳輸電路(113)與其他裝置進行資料通信;以及 一副藍牙電路(120),包含: 一第二藍牙通信電路(121); 一第二資料傳輸電路(123);以及 一第二控制電路(125),設置成控制該第二資料傳輸電路(123)與該第一資料傳輸電路(113)進行資料通信; 其中,在該第一藍牙通信電路(111)與該遠端藍牙裝置(102)進行封包傳輸的過程中,該第二控制電路(125)會利用該第二藍牙通信電路(121)側錄(sniff)該遠端藍牙裝置(102)發出的封包;且 該第一控制電路(115)還設置成在檢核出該副藍牙電路(120)漏收該遠端藍牙裝置(102)發出的封包的情況下,將該副藍牙電路(120)漏收的封包透過該第一資料傳輸電路(113)傳送給該第二資料傳輸電路(123)。A multi-member Bluetooth device (100) is used 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 data transmission circuit (113); and a first control circuit (115) configured to communicate with the remote Bluetooth device (102) via Bluetooth wireless transmission through the first Bluetooth communication circuit (111) ) Two-way packet transmission and data communication with other devices through the first data transmission circuit (113); and a pair of Bluetooth circuits (120), including: a second Bluetooth communication circuit (121); a second data A transmission circuit (123); and a second control circuit (125) configured to control the second data transmission circuit (123) to perform data communication with the first data transmission circuit (113); wherein, the first Bluetooth communication During the packet transmission between the circuit (111) and the remote Bluetooth device (102), the second control circuit (125) will use the second Bluetooth communication circuit (121) to sniff the remote Bluetooth device ( 102) The packet sent out; and the first control circuit (115) is further configured to, when the secondary Bluetooth circuit (120) is detected to have missed the packet sent by the remote Bluetooth device (102), the secondary Bluetooth Packets missed by the circuit (120) are transmitted to the second data transmission circuit (123) through the first data transmission circuit (113). 如請求項1所述的多成員藍牙裝置(100),其中,該第一控制電路(115)還設置成在收到該遠端藍牙裝置(102)發出的封包時,透過該第一藍牙通信電路(111)傳送一確認信息給該遠端藍牙裝置(102),而該第二控制電路(125)還設置成在收到該遠端藍牙裝置(102)發出的封包時,透過該第二資料傳輸電路(123)傳送一相應的通知信息給該第一資料傳輸電路(113),但不透過該第二藍牙通信電路(121)傳送任何確認信息給該遠端藍牙裝置(102); 其中,該第一藍牙通信電路(111)傳送該確認信息給該遠端藍牙裝置(102)的時序,與該第一資料傳輸電路(113)是否有接收到該通知信息無關。The multi-member Bluetooth device (100) according to claim 1, wherein the first control circuit (115) is further configured to communicate through the first Bluetooth when receiving a packet from the remote Bluetooth device (102) The circuit (111) sends a confirmation message to the remote Bluetooth device (102), and the second control circuit (125) is also configured to pass the second Bluetooth device (102) when receiving a packet from the remote The data transmission circuit (123) transmits a corresponding notification message to the first data transmission circuit (113), but does not transmit any confirmation information to the remote Bluetooth device (102) through the second Bluetooth communication circuit (121); wherein The timing of the first Bluetooth communication circuit (111) transmitting the confirmation message to the remote Bluetooth device (102) is independent of whether the first data transmission circuit (113) has received the notification message. 如請求項2所述的多成員藍牙裝置(100),其中,該第一控制電路(115)還設置成依據該第二資料傳輸電路(123)傳來的複數個通知信息,檢核該副藍牙電路(120)是否漏收該遠端藍牙裝置(102)發出的封包。The multi-member Bluetooth device (100) according to claim 2, wherein the first control circuit (115) is further configured to check the vice according to a plurality of notification messages from the second data transmission circuit (123) Whether the Bluetooth circuit (120) misses the packet sent by the remote Bluetooth device (102). 如請求項2所述的多成員藍牙裝置(100),其中,該第一控制電路(115)還設置成在該副藍牙電路(120)的藍牙封包遺失率比該主藍牙電路(110)的藍牙封包遺失率低時,指示該副藍牙電路(120)接替該主藍牙電路(110)與該遠端藍牙裝置(102)進行雙向封包傳輸。The multi-member Bluetooth device (100) according to claim 2, wherein the first control circuit (115) is further configured to have a higher Bluetooth packet loss rate in the secondary Bluetooth circuit (120) than in the primary Bluetooth circuit (110) When the Bluetooth packet loss rate is low, the secondary Bluetooth circuit (120) is instructed to replace the primary Bluetooth circuit (110) and the remote Bluetooth device (102) for bidirectional packet transmission. 如請求項4所述的多成員藍牙裝置(100),其中,在該副藍牙電路(120)接替該主藍牙電路(110)與該遠端藍牙裝置(102)進行雙向封包傳輸的過程中,該第一控制電路(115)會透過該第一藍牙通信電路(111)側錄該遠端藍牙裝置(102)發出的封包。The multi-member Bluetooth device (100) according to claim 4, wherein in the process of the two-way packet transmission in which the secondary Bluetooth circuit (120) succeeds the main Bluetooth circuit (110) and the remote Bluetooth device (102), The first control circuit (115) will record the packet sent by the remote Bluetooth device (102) through the first Bluetooth communication circuit (111). 如請求項2所述的多成員藍牙裝置(100),其中,該第二控制電路(125)還設置成在該主藍牙電路(110)失能或失蹤時,透過該第二藍牙通信電路(121)與該遠端藍牙裝置(102)進行雙向封包傳輸,以避免漏收該遠端藍牙裝置(102)發出的封包。The multi-member Bluetooth device (100) according to claim 2, wherein the second control circuit (125) is further configured to pass through the second Bluetooth communication circuit when the main Bluetooth circuit (110) is disabled or missing ( 121) Two-way packet transmission with the remote Bluetooth device (102) to avoid missing packets from the remote Bluetooth device (102). 如請求項6所述的多成員藍牙裝置(100),其中,該第二控制電路(125)還設置成藉由評估該主藍牙電路(110)與該副藍牙電路(120)之間的資料通信狀況,以偵測該主藍牙電路(110)是否失能或失蹤。The multi-member Bluetooth device (100) according to claim 6, wherein the second control circuit (125) is further configured to evaluate data between the primary Bluetooth circuit (110) and the secondary Bluetooth circuit (120) Communication status to detect whether the main Bluetooth circuit (110) is disabled or missing. 如請求項2所述的多成員藍牙裝置(100),其中,該主藍牙電路(110)另包含: 一第一判斷電路(117),耦接於該第一控制電路(115),設置成評估該主藍牙電路(110)的運算負荷、剩餘電力、溫度、或是操作環境; 其中,該第一判斷電路(117)會在該主藍牙電路(110)的運算負荷超過一預定水平、該主藍牙電路(110)的剩餘電力低於一預定水平、該主藍牙電路(110)的溫度超過一預定溫度值、或是該主藍牙電路(110)的操作環境偏離預設條件時,指示該副藍牙電路(120)接替該主藍牙電路(110)與該遠端藍牙裝置(102)進行雙向封包傳輸。The multi-member Bluetooth device (100) according to claim 2, wherein the main Bluetooth circuit (110) further includes: a first judgment circuit (117), coupled to the first control circuit (115), set to Evaluate the computing load, remaining power, temperature, or operating environment of the main Bluetooth circuit (110); wherein, the first judging circuit (117) will exceed the computing load of the main Bluetooth circuit (110) by a predetermined level, the When the remaining power of the main Bluetooth circuit (110) is lower than a predetermined level, the temperature of the main Bluetooth circuit (110) exceeds a predetermined temperature value, or the operating environment of the main Bluetooth circuit (110) deviates from a preset condition, the The secondary Bluetooth circuit (120) takes over the main Bluetooth circuit (110) and performs two-way packet transmission with the remote Bluetooth device (102). 如請求項2所述的多成員藍牙裝置(100),其中,該主藍牙電路(110)另包含: 一第一判斷電路(117),耦接於該第一控制電路(115)與該第一資料傳輸電路(113),設置成評估該主藍牙電路(110)的運算負荷、剩餘電力、溫度、或是操作環境,並透過該第一資料傳輸電路(113)接收該副藍牙電路(120)傳來的運算負荷、剩餘電力、溫度、或是操作環境的指示信息; 其中,該第一判斷電路(117)會在該主藍牙電路(110)的運算負荷超過該副藍牙電路(120)達一預定程度、該主藍牙電路(110)的剩餘電力低於該副藍牙電路(120)的剩餘電力達一預定程度、該主藍牙電路(110)的溫度超過該副藍牙電路(120)的溫度達一預定程度、或是該主藍牙電路(110)的操作環境偏離預設條件但該副藍牙電路(120)的操作環境符合預設條件時,指示該副藍牙電路(120)接替該主藍牙電路(110)與該遠端藍牙裝置(102)進行雙向封包傳輸。The multi-member Bluetooth device (100) according to claim 2, wherein the main Bluetooth circuit (110) further includes: a first judgment circuit (117), coupled to the first control circuit (115) and the first A data transmission circuit (113) configured to evaluate the operation load, remaining power, temperature, or operating environment of the main Bluetooth circuit (110), and receive the secondary Bluetooth circuit (120) through the first data transmission circuit (113) ) Incoming computing load, remaining power, temperature, or operating environment indication information; wherein, the computing load of the first Bluetooth circuit (117) in the primary Bluetooth circuit (110) exceeds the secondary Bluetooth circuit (120) To a predetermined degree, the remaining power of the main Bluetooth circuit (110) is lower than the remaining power of the sub-Bluetooth circuit (120) by a predetermined degree, and the temperature of the main Bluetooth circuit (110) exceeds that of the sub-Bluetooth circuit (120) When the temperature reaches a predetermined level, or the operating environment of the main Bluetooth circuit (110) deviates from the preset condition but the operating environment of the sub-Bluetooth circuit (120) meets the preset condition, the sub-Bluetooth circuit (120) is instructed to take over the main The Bluetooth circuit (110) and the remote Bluetooth device (102) perform two-way packet transmission. 如請求項2至9中任一項所述的多成員藍牙裝置(100),其中,在該第一藍牙通信電路(111)與該遠端藍牙裝置(102)進行雙向封包傳輸的期間,該第二藍牙通信電路(121)不會與該遠端藍牙裝置(102)進行雙向封包傳輸,而在該第二藍牙通信電路(121)與該遠端藍牙裝置(102)進行雙向封包傳輸的期間,該第一藍牙通信電路(111)不會與該遠端藍牙裝置(102)進行雙向封包傳輸。The multi-member Bluetooth device (100) according to any one of claims 2 to 9, wherein during the two-way packet transmission between the first Bluetooth communication circuit (111) and the remote Bluetooth device (102), the The second Bluetooth communication circuit (121) does not perform two-way packet transmission with the remote Bluetooth device (102), but during the two-way packet transmission between the second Bluetooth communication circuit (121) and the remote Bluetooth device (102) , The first Bluetooth communication circuit (111) will not perform two-way packet transmission with the remote Bluetooth device (102).
TW108108850A 2018-04-13 2019-03-15 Multi-member bluetooth device capable of avoiding signal interrupt TWI733094B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201910261904.2A CN110381484B (en) 2018-04-13 2019-04-02 Multi-member bluetooth device capable of avoiding signal interruption
US16/381,666 US10700817B2 (en) 2018-04-13 2019-04-11 Multi-member bluetooth device capable of avoiding signal interrupt
KR1020190043166A KR102224417B1 (en) 2018-04-13 2019-04-12 Multi-member bluetooth device capable of avoiding signal interrupt
JP2019076259A JP6772329B2 (en) 2018-04-13 2019-04-12 Multi-configuration personnel type Bluetooth device that can avoid signal interruption

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862724633P 2018-08-30 2018-08-30
US62/724,633 2018-08-30

Publications (2)

Publication Number Publication Date
TW202010348A true TW202010348A (en) 2020-03-01
TWI733094B TWI733094B (en) 2021-07-11

Family

ID=70766370

Family Applications (3)

Application Number Title Priority Date Filing Date
TW108108851A TWI707604B (en) 2018-04-13 2019-03-15 Main bluetooth circuit of multi-member bluetooth device
TW108108850A TWI733094B (en) 2018-04-13 2019-03-15 Multi-member bluetooth device capable of avoiding signal interrupt
TW108108852A TWI707555B (en) 2018-04-13 2019-03-15 Auxiliary bluetooth circuit of multi-member bluetooth device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
TW108108851A TWI707604B (en) 2018-04-13 2019-03-15 Main bluetooth circuit of multi-member bluetooth device

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW108108852A TWI707555B (en) 2018-04-13 2019-03-15 Auxiliary bluetooth circuit of multi-member bluetooth device

Country Status (1)

Country Link
TW (3) TWI707604B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI789236B (en) * 2021-02-09 2023-01-01 瑞昱半導體股份有限公司 Bluetooth communication system be capable of avoiding voice interruption, and related bluetooth device set

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648863A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8155055B2 (en) * 2007-09-14 2012-04-10 Sony Ericsson Mobile Communications Ab Automatic re-connection of a previously lost connection in a frequency hopping communication system
US8115609B2 (en) * 2008-07-22 2012-02-14 Nissaf Ketari Multi function bluetooth apparatus
US8768252B2 (en) * 2010-09-02 2014-07-01 Apple Inc. Un-tethered wireless audio system
US20160112825A1 (en) * 2014-10-15 2016-04-21 Qualcomm Incorporated Rendering A Media Stream By Wireless Devices Sharing Device Identifiers And Encryption Keys
TWI563806B (en) * 2015-04-20 2016-12-21 Mediatek Inc Bluetooth device and method for controlling bluetooth device or wireless device
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
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI789236B (en) * 2021-02-09 2023-01-01 瑞昱半導體股份有限公司 Bluetooth communication system be capable of avoiding voice interruption, and related bluetooth device set

Also Published As

Publication number Publication date
TWI733094B (en) 2021-07-11
TW202010277A (en) 2020-03-01
TWI707604B (en) 2020-10-11
TW202010352A (en) 2020-03-01
TWI707555B (en) 2020-10-11

Similar Documents

Publication Publication Date Title
CN110380759B (en) Secondary bluetooth circuit for multi-member bluetooth device
TWI659637B (en) Multi-member bluetooth device capable of avoiding signal interrupt and related main bluetooth circuit and auxiliary bluetooth circuit
CN110380758B (en) Master bluetooth circuit for multi-member bluetooth device
CN110381484B (en) Multi-member bluetooth device capable of avoiding signal interruption
TWI707604B (en) Main bluetooth circuit of multi-member bluetooth device
TWI739550B (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