TW202221492A - System and method for controlling play of audio signal - Google Patents

System and method for controlling play of audio signal Download PDF

Info

Publication number
TW202221492A
TW202221492A TW109141804A TW109141804A TW202221492A TW 202221492 A TW202221492 A TW 202221492A TW 109141804 A TW109141804 A TW 109141804A TW 109141804 A TW109141804 A TW 109141804A TW 202221492 A TW202221492 A TW 202221492A
Authority
TW
Taiwan
Prior art keywords
audio
electronic device
audio adapter
adapter
audio signal
Prior art date
Application number
TW109141804A
Other languages
Chinese (zh)
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 TW109141804A priority Critical patent/TW202221492A/en
Publication of TW202221492A publication Critical patent/TW202221492A/en

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

A system and a method for controlling play of audio signal are provided. A connector of an audio adapter is continually plugged into a connection port of an electronic device such that the audio adapter is connected to the electronic device. When the audio adapter is not wirelessly connected to a remote playback device, the audio adapter reports a disconnecting signal to the electronic device. A control component of the electronic device controls a built-in broadcasting device to play an audio signal according to the disconnecting signal. When the audio adapter is wirelessly connected to the remote playback device, the audio adapter reports a connecting signal to the electronic device. The electronic device provides the audio signal to the audio adapter, and then the audio adapter transmits the audio signal to the remote playback device. The remote playback device plays the audio signal.

Description

音頻訊號播放控制系統及方法Audio signal playback control system and method

本發明涉及音頻訊號播放控制系統及方法,特別是涉及適用於USB音頻適配器的一種音頻訊號播放控制系統及方法,其偵測維持插入電子裝置的USB音頻適配器的腳位的電位高低以選擇不同播放裝置播放音頻訊號。The invention relates to an audio signal playback control system and method, in particular to an audio signal playback control system and method suitable for a USB audio adapter, which detects and maintains the potential level of the pin of the USB audio adapter inserted into an electronic device to select different playbacks The device plays an audio signal.

一般的影音裝置例如電腦、電視、遊戲機或手機等,其主機均內建音頻系統並透過裝置內的喇叭或耳機孔輸出聲音。使用者也可以插入符合規格的音頻適配器來擴充其他音頻輸出裝置。音頻適配器也可以結合有線或無線網路傳輸功能,把通用序列匯流排(USB bus) 收送的音頻資料轉到有線或無線網路,傳輸到遠端的喇叭或耳機。Common audio and video devices such as computers, TVs, game consoles, or mobile phones have built-in audio systems in their hosts and output sound through speakers or headphone jacks in the device. Users can also plug in an audio adapter that meets the specifications to expand other audio output devices. The audio adapter can also be combined with the wired or wireless network transmission function to transfer the audio data sent by the universal serial bus (USB bus) to the wired or wireless network and transmit it to the remote speakers or headphones.

當主機偵測到有音頻適配器插入時,系統就會自動將音訊通路由內建的喇叭轉到音頻適配器。當主機偵測到音頻適配器被移除時,系統就會將音訊通路由音頻適配器切換回內建的喇叭。如果主機是一個小型的可攜式裝置,如手機或掌上型遊戲機,插拔音頻適配器的動作對使用者還算方便,但若主機是大型的固定裝置如電視,對使用者就很困擾了。When the host detects that an audio adapter is plugged in, the system will automatically route the audio from the built-in speakers to the audio adapter. When the host detects that the audio adapter is removed, the system switches the audio channel from the audio adapter back to the built-in speakers. If the host is a small portable device, such as a mobile phone or a handheld game console, the action of plugging and unplugging the audio adapter is quite convenient for the user, but if the host is a large fixed device such as a TV, it is very troublesome for the user. .

本發明所要解決的技術問題在於,針對現有技術的不足提供一種音頻訊號播放控制系統,包含音頻適配器。音頻適配器的接頭維持插入電子裝置的連接埠時,將音頻適配器與連接至電子裝置維持未連線狀態。當音頻適配器與遠端播放裝置之間未連線或斷線時,音頻適配器回報一未連線訊號至電子裝置,電子裝置依據未連線訊號,以控制電子裝置的內建播音裝置播放電子裝置提供的音頻訊號。當音頻適配器與遠端播放裝置之間無線連接時,音頻適配器回報已連線訊號至電子裝置,電子裝置依據已連線訊號,以控制內建播音裝置停止播放音頻訊號,並將音頻訊號提供至音頻適配器,接著透過音頻適配器傳輸至遠端播放裝置播放。The technical problem to be solved by the present invention is to provide an audio signal playback control system including an audio adapter in view of the deficiencies of the prior art. When the connector of the audio adapter remains inserted into the port of the electronic device, the audio adapter and the connection to the electronic device remain disconnected. When there is no connection or disconnection between the audio adapter and the remote playback device, the audio adapter reports a disconnected signal to the electronic device, and the electronic device controls the built-in audio device of the electronic device to play the electronic device according to the disconnected signal. provided audio signal. When the audio adapter and the remote playback device are wirelessly connected, the audio adapter reports the connected signal to the electronic device, and the electronic device controls the built-in audio device to stop playing the audio signal according to the connected signal, and provides the audio signal to the electronic device. The audio adapter is then transmitted to the remote playback device for playback through the audio adapter.

在一實施方案中,音頻適配器的接頭為USB接頭。電子裝置的連接埠為USB連接埠。In one embodiment, the connector of the audio adapter is a USB connector. The connection port of the electronic device is a USB connection port.

在一實施方案中,當音頻適配器插入電子裝置,但未與遠端播放裝置連線時,音頻適配器的D+腳位保持於低電位。電子裝置偵測到低電位時,判定音頻適配器與電子裝置之間未連線或斷線。In one embodiment, when the audio adapter is plugged into the electronic device but not connected to the remote playback device, the D+ pin of the audio adapter is kept at a low level. When the electronic device detects a low potential, it is determined that there is no connection or disconnection between the audio adapter and the electronic device.

在一實施方案中,當音頻適配器插入電子裝置,並且與遠端播放裝置連線時,音頻適配器的D+腳位保持於高電位。電子裝置偵測到高電位時,判定音頻適配器與電子裝置之間已連線,電子裝置將音頻訊號由內建播音裝置切換到音頻適配器播放。In one embodiment, when the audio adapter is plugged into the electronic device and connected to the remote playback device, the D+ pin of the audio adapter is kept at a high potential. When the electronic device detects a high potential, it is determined that the audio adapter and the electronic device are connected, and the electronic device switches the audio signal from the built-in audio device to the audio adapter for playback.

在一實施方案中,當音頻適配器與遠端播音裝置之間的藍牙無線連接斷線時,音頻適配器的D+腳位保持於低電位。電子裝置偵測到低電位時,判定音頻適配器與電子裝置之間未連線或斷線。電子裝置將音頻訊號切回內建播音裝置切回未連線狀態時,電子裝置切回控制內建播音裝置播放音頻訊號。In one embodiment, when the Bluetooth wireless connection between the audio adapter and the remote broadcasting device is disconnected, the D+ pin of the audio adapter is kept at a low level. When the electronic device detects a low potential, it is determined that there is no connection or disconnection between the audio adapter and the electronic device. When the electronic device switches the audio signal back to the built-in broadcasting device and switches back to the disconnected state, the electronic device switches back to controlling the built-in broadcasting device to play the audio signal.

在一實施方案中,內建播放裝置包含內建在電子裝置的喇叭。遠端播放裝置包含遠端的喇叭、耳機或其組合。In one embodiment, the built-in playback device includes a speaker built into the electronic device. The remote playback device includes a remote speaker, an earphone, or a combination thereof.

另外,本發明提供一種音頻訊號播放控制方法,包含以下步驟:(a)將音頻適配器維持插入電子裝置;(b)音頻適配器判斷是否與遠端播放裝置連線,若否,則該音頻適配器維持與該電子裝置未連線狀態,電子裝置利用內建播音裝置播放音頻訊號,不執行後續步驟,若是,執行後續步驟;(c) 該音頻適配器維持與該電子裝置連線狀態,該電子裝置將音頻訊號從電子裝置有線傳輸至音頻適配器;(d)音頻適配器透過無線傳輸至遠端播放裝置;以及(e)利用遠端播放裝置播放音頻訊號,接著回到步驟(b)。In addition, the present invention provides an audio signal playback control method, comprising the following steps: (a) keeping the audio adapter plugged into the electronic device; (b) determining whether the audio adapter is connected to the remote playback device; if not, the audio adapter maintains In the disconnected state with the electronic device, the electronic device uses the built-in broadcasting device to play the audio signal, and does not perform the subsequent steps; The audio signal is wiredly transmitted from the electronic device to the audio adapter; (d) the audio adapter is wirelessly transmitted to the remote playback device; and (e) the audio signal is played by the remote playback device, and then returns to step (b).

在一實施方案中,所述音頻訊號播放控制系統更包含以下步驟:(f)在音頻適配器未與遠端播放裝置連線時,將音頻適配器的D+腳位保持於低電位;(g)依據低電位,該電子裝置決定該音頻適配器與該電子裝置未連線,並由內建播放裝置播放音頻訊號。In one embodiment, the audio signal playback control system further includes the following steps: (f) keeping the D+ pin of the audio adapter at a low level when the audio adapter is not connected to the remote playback device; (g) according to When the potential is low, the electronic device determines that the audio adapter is disconnected from the electronic device, and the built-in playback device plays the audio signal.

在一實施方案中,所述音頻訊號播放控制方法更包含以下步驟:(h)在音頻適配器與遠端播放裝置連線時,將音頻適配器的D+腳位保持於高電位;以及(i)依據高電位,該電子裝置決定該音頻適配器與該電子裝置已連線,並決定由該音頻適配器播放音頻訊號。In one embodiment, the audio signal playback control method further includes the following steps: (h) keeping the D+ pin of the audio adapter at a high potential when the audio adapter is connected to the remote playback device; and (i) according to High potential, the electronic device determines that the audio adapter is connected to the electronic device, and determines that the audio adapter plays audio signals.

在一實施方案中,所述音頻訊號播放控制方法更包含以下步驟:(j)透過藍牙,將音頻適配器無線連接至遠端播音裝置;(k)透過藍牙傳輸技術,將音頻訊號從音頻適配器傳輸至遠端播放裝置播放;(l)判定音頻適配器遠端與遠端播音裝置之間是否切回斷線狀態或遠端播音裝置移動至一可連線範圍外導致與音頻適配器遠端斷線,若否,回到步驟(k),若是,執行下一步驟(m);(m)切換至利用該內建播音裝置播放該音頻訊號。In one embodiment, the audio signal playback control method further includes the following steps: (j) wirelessly connecting the audio adapter to the remote broadcasting device through Bluetooth; (k) transmitting the audio signal from the audio adapter through Bluetooth transmission technology Play to the remote playback device; (1) determine whether the connection between the far end of the audio adapter and the remote playback device is switched back to a disconnected state or the remote playback device moves out of a connectable range, resulting in a disconnection with the far end of the audio adapter, If not, go back to step (k), if yes, go to next step (m); (m) switch to using the built-in audio device to play the audio signal.

如上所述,本發明提供一種音頻訊號播放控制系統及方法,其音頻適配器依據與遠端播放裝置例如喇叭或耳機的連線狀態,回報主機連接或非連接狀態。當網路連線了,音頻適配器回報已連線訊號(例如USB 音頻適配器的腳位保持高電位),以由音頻適配器透過無線網路傳輸至遠端播放裝置播放音頻訊號。相反地,當網路斷線了,音頻適配器回報未連線訊號(例如USB 音頻適配器的腳位保持低電位),以切換成由內建播放裝置播放音頻訊號。As described above, the present invention provides an audio signal playback control system and method, wherein the audio adapter reports the connection or disconnection status of the host according to the connection status with the remote playback device such as speakers or earphones. When the network is connected, the audio adapter reports the connected signal (for example, the pin of the USB audio adapter is kept high), so that the audio adapter can transmit the audio signal to the remote playback device through the wireless network. On the contrary, when the network is disconnected, the audio adapter reports a disconnected signal (eg, the pin of the USB audio adapter is kept low), so as to switch to the built-in playback device to play the audio signal.

為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。For a further understanding of the features and technical content of the present invention, please refer to the following detailed descriptions and drawings of the present invention. However, the drawings provided are only for reference and description, and are not intended to limit the present invention.

以下是通過特定的具體實施例來說明本發明的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不背離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。另外,本文中所使用的術語“或”,應視實際情況可能包含相關聯的列出項目中的任一個或者多個的組合。The following are specific embodiments to illustrate the embodiments of the present invention, and those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to the actual size, and are stated in advance. The following embodiments will further describe the related technical contents of the present invention in detail, but the disclosed contents are not intended to limit the protection scope of the present invention. In addition, the term "or", as used herein, should include any one or a combination of more of the associated listed items as the case may be.

請參閱圖1和圖2,其中圖1為本發明實施例的音頻訊號播放控制系統的音頻適配器與液晶顯示裝置的配置示意圖;圖2為本發明實施例的音頻訊號播放控制系統的音頻適配器與液晶顯示裝置以及藍牙耳機的配置示意圖。Please refer to FIGS. 1 and 2 , wherein FIG. 1 is a schematic diagram of the configuration of an audio adapter and a liquid crystal display device of an audio signal playback control system according to an embodiment of the present invention; FIG. 2 is an audio adapter and an audio signal playback control system of an embodiment of the present invention. Schematic diagram of the configuration of the liquid crystal display device and the Bluetooth headset.

如圖1和圖2所示,本發明實施例的音頻訊號播放控制系統可包含音頻適配器10例如USB音頻適配器。音頻適配器10可具有一插槽,例如但不限於USB插槽。As shown in FIG. 1 and FIG. 2 , the audio signal playback control system according to the embodiment of the present invention may include an audio adapter 10 such as a USB audio adapter. The audio adapter 10 may have a slot, such as but not limited to a USB slot.

舉例而言,一額外連接線的一端例如USB接頭可插入音頻適配器相匹配的插槽例如USB插槽,此連接線的另一端可插入電子裝置20(例如液晶顯示裝置)的連接埠或插槽,以透過連接線將音頻適配器10連接至電子裝置20。替換地,音頻適配器10本身可具有一接頭(例如但不限於USB接頭),其可直接插入相匹配的電子裝置20的連接埠(例如但不限於USB連接埠)。For example, one end of an extra cable, such as a USB connector, can be inserted into a matching slot of the audio adapter, such as a USB slot, and the other end of the cable can be inserted into a port or slot of the electronic device 20 (eg, a liquid crystal display device). , so as to connect the audio adapter 10 to the electronic device 20 through a cable. Alternatively, the audio adapter 10 itself may have a connector (eg, but not limited to, a USB connector) that can be directly inserted into a corresponding port of the electronic device 20 (eg, but not limited to, a USB port).

當如圖1所示的音頻適配器10未與任何遠端播放裝置連線時,音頻適配器10回報一未連線訊號至電子裝置20。電子裝置20依據此未連線訊號,以控制內建播音裝置播放音頻訊號。When the audio adapter 10 as shown in FIG. 1 is not connected to any remote playback device, the audio adapter 10 reports a disconnected signal to the electronic device 20 . The electronic device 20 controls the built-in audio device to play the audio signal according to the disconnected signal.

當如圖2所示的音頻適配器10與遠端播放裝置30(例如但不限於藍牙耳罩式耳機)之間無線連接時,音頻適配器10回報一已連線訊號至電子裝置20。電子裝置20依據已連線訊號,以控制內建播音裝置停止播放音頻訊號,並將音頻訊號提供至音頻適配器10,接著透過音頻適配器10將音頻訊號傳輸至遠端播放裝置30播放。When the audio adapter 10 as shown in FIG. 2 is wirelessly connected with the remote playback device 30 (such as but not limited to Bluetooth earphones), the audio adapter 10 reports a connected signal to the electronic device 20 . The electronic device 20 controls the built-in audio device to stop playing the audio signal according to the connected signal, provides the audio signal to the audio adapter 10 , and then transmits the audio signal to the remote playback device 30 for playback through the audio adapter 10 .

請參閱圖3和圖4,其中圖3為本發明實施例的音頻訊號播放控制系統的音頻適配器的腳位為低電位的方塊圖;圖4為本發明實施例的音頻訊號播放控制系統的音頻適配器在無線連接遠端播放裝置時將腳位從低電位轉為高電位的方塊圖。Please refer to FIG. 3 and FIG. 4 , wherein FIG. 3 is a block diagram in which the pins of the audio adapter of the audio signal playback control system according to the embodiment of the present invention are low potentials; FIG. 4 is the audio signal of the audio signal playback control system according to the embodiment of the present invention. The block diagram of the adapter changing the pin from low potential to high potential when wirelessly connected to a remote playback device.

如圖3所示,音頻適配器10的(連接線的)接頭例如USB接頭插入電子裝置20的連接埠例如USB連接埠。此時,音頻適配器10將音頻適配器10的多個腳位中的其中一腳位D+保持於低電位VL。As shown in FIG. 3 , a connector (of a cable) such as a USB connector of the audio adapter 10 is inserted into a connecting port such as a USB port of the electronic device 20 . At this time, the audio adapter 10 keeps one pin D+ of the plurality of pins of the audio adapter 10 at a low level VL.

電子裝置20的偵測元件24可電性接觸插入電子裝置20的連接埠的音頻適配器10的腳位D+。當電子裝置20的偵測元件24偵測到音頻適配器10的腳位D+為低電位VL時,輸出一未連線偵測訊號。The detection element 24 of the electronic device 20 can electrically contact the pin D+ of the audio adapter 10 inserted into the port of the electronic device 20 . When the detection element 24 of the electronic device 20 detects that the pin D+ of the audio adapter 10 is at a low level VL, it outputs a disconnection detection signal.

電子裝置20的控制元件22連接偵測元件24以及音頻訊號提供元件21。當電子裝置20的控制元件22從偵測元件24接收到未連線偵測訊號時,控制元件22判定音頻適配器10與電子裝置20之間未連線,據以選擇內建播音裝置23,使得音頻訊號提供元件21、控制元件22與內建播音裝置23之間形成音訊通路/音頻通路。在此情況下,控制元件22將音頻訊號提供元件21提供的音頻訊號傳輸至內建播音裝置23(例如但不限於喇叭),以如圖1和圖3所示由內建播音裝置23播放音頻訊號。The control element 22 of the electronic device 20 is connected to the detection element 24 and the audio signal providing element 21 . When the control element 22 of the electronic device 20 receives the disconnection detection signal from the detection element 24, the control element 22 determines that the audio adapter 10 and the electronic device 20 are disconnected, and selects the built-in broadcasting device 23 accordingly, so that the The audio signal providing element 21 , the control element 22 and the built-in broadcasting device 23 form an audio path/audio path. In this case, the control element 22 transmits the audio signal provided by the audio signal providing element 21 to the built-in broadcasting device 23 (such as but not limited to speakers), so as to play audio from the built-in broadcasting device 23 as shown in FIG. 1 and FIG. 3 signal.

接著,如圖4所示,音頻適配器10的(連接線的)接頭維持插入電子裝置20的連接埠。值得注意的是,此時音頻適配器10無線連接遠端播放裝置30例如喇叭或耳機。在此情況下,音頻適配器10將音頻適配器10的腳位D從低電位VL轉為高電位VH。Next, as shown in FIG. 4 , the connector (of the cable) of the audio adapter 10 remains inserted into the connection port of the electronic device 20 . It should be noted that at this time, the audio adapter 10 is wirelessly connected to the remote playback device 30 such as speakers or headphones. In this case, the audio adapter 10 switches the pin D of the audio adapter 10 from the low level VL to the high level VH.

當電子裝置20的偵測元件24偵測到音頻適配器10的腳位D+為高電位VH時,以輸出一已連線偵測訊號。當電子裝置20的控制元件22從偵測元件24接收到已連線偵測訊號(即音頻適配器10的腳位D+為高電位VH)時,控制元件22判定音頻適配器10與電子裝置20之間已連線,據以選擇音頻適配器10,使音頻訊號提供元件21、控制元件22與音頻適配器10之間形成音訊通路/音頻通路,並且音頻適配器10與遠端播放裝置30之間形成音訊通路/音頻通路。When the detection element 24 of the electronic device 20 detects that the pin D+ of the audio adapter 10 is at a high level VH, it outputs a connected detection signal. When the control element 22 of the electronic device 20 receives the connected detection signal from the detection element 24 (that is, the pin D+ of the audio adapter 10 is at a high level VH), the control element 22 determines the connection between the audio adapter 10 and the electronic device 20 It has been connected, and the audio adapter 10 is selected accordingly, so that an audio path/audio path is formed between the audio signal providing element 21, the control element 22 and the audio adapter 10, and an audio path/audio path is formed between the audio adapter 10 and the remote playback device 30 audio path.

在此情況下,電子裝置20的控制元件22將音頻訊號傳輸至音頻適配器10,接著音頻適配器10將音頻訊號傳輸至遠端播放裝置30(而非傳輸至內建播音裝置23),以如圖2和圖4所示,由遠端播放裝置30播放音頻訊號。此時,內建播音裝置23不播放音頻訊號。In this case, the control element 22 of the electronic device 20 transmits the audio signal to the audio adapter 10, and then the audio adapter 10 transmits the audio signal to the remote playback device 30 (not to the built-in audio device 23), as shown in the figure 2 and FIG. 4 , the audio signal is played by the remote playback device 30 . At this time, the built-in audio device 23 does not play the audio signal.

在遠端播放裝置30播放音頻訊號的過程中,遠端播放裝置30可能因移動至距離音頻適配器10太遠而未在一可連線範圍內,或是收訊不良等因素,導致音頻適配器10與遠端播放裝置30之間發生斷線的情況。當發生斷線時,音頻適配器10將音頻適配器10的腳位D+從高電位VH轉換回低電位VL。During the process of playing the audio signal by the remote playback device 30, the remote playback device 30 may move too far away from the audio adapter 10 and not within a connectable range, or the audio adapter 10 may receive poor signals. A disconnection occurs with the remote playback device 30 . When disconnection occurs, the audio adapter 10 converts the pin D+ of the audio adapter 10 from the high level VH back to the low level VL.

當控制元件22的偵測元件24偵測到音頻適配器10的腳位D+為低電位時,再次如圖3所示輸出未連線偵測訊號至控制元件22。在此情況下,電子裝置20的控制元件22依據未連線偵測訊號,判斷電子裝置20與音頻適配器10之間未連線,而將音頻訊號傳輸至內建播音裝置23,以控制內建播音裝置23播放音頻訊號。When the detection element 24 of the control element 22 detects that the pin D+ of the audio adapter 10 is at a low level, it outputs the unconnected detection signal to the control element 22 again as shown in FIG. 3 . In this case, the control element 22 of the electronic device 20 determines that the connection between the electronic device 20 and the audio adapter 10 is disconnected according to the disconnection detection signal, and transmits the audio signal to the built-in broadcasting device 23 to control the built-in broadcasting device 23 . The playback device 23 plays the audio signal.

由於音頻適配器10與電子裝置20之間發生斷線時,遠端播放裝置30可能已播放一部分的音頻訊號,控制元件22可僅傳輸音頻訊號中的剩下未播放的部分至音頻適配器10,或是傳輸完整的音頻訊號至音頻適配器10。Due to the disconnection between the audio adapter 10 and the electronic device 20, the remote playback device 30 may have played a part of the audio signal, the control element 22 may only transmit the remaining unplayed part of the audio signal to the audio adapter 10, or It transmits the complete audio signal to the audio adapter 10 .

請參閱圖5,其為本發明實施例的音頻訊號播放控制系統的音頻適配器的腳位為低電位的方塊圖。Please refer to FIG. 5 , which is a block diagram showing that the pins of the audio adapter of the audio signal playback control system according to the embodiment of the present invention are at a low level.

當音頻適配器10與電子裝置20之間未連線或斷線時,可如圖1和圖3所示由電子裝置20內部的內建播音裝置23播放音頻訊號,亦可由如圖5所示,由設於電子裝置20外部並且與電子裝置20有線連接的內建播音裝置26(例如但不限於喇叭)播放音頻訊號。When there is no connection or disconnection between the audio adapter 10 and the electronic device 20, the audio signal can be played by the built-in audio device 23 inside the electronic device 20 as shown in FIG. 1 and FIG. 3, or as shown in FIG. 5, The audio signal is played by a built-in broadcasting device 26 (such as but not limited to a speaker) which is disposed outside the electronic device 20 and is wiredly connected to the electronic device 20 .

請參閱圖6,其為本發明實施例的音頻訊號播放控制方法的步驟流程圖。Please refer to FIG. 6 , which is a flow chart of the steps of the audio signal playback control method according to the embodiment of the present invention.

如圖6所示,本實施例的音頻訊號播放控制方法包含以下步驟S101~S113,其可如前述的音頻訊號播放控制系統執行。As shown in FIG. 6 , the audio signal playback control method of this embodiment includes the following steps S101 to S113 , which can be executed as the aforementioned audio signal playback control system.

在步驟S101,將音頻適配器10維持插入電子裝置20。In step S101 , the audio adapter 10 is kept plugged into the electronic device 20 .

在步驟S103,電子裝置20的控制元件22依據音頻適配器10的腳位D+的電位高低,以判斷音頻適配器10與電子裝置20是否有連線。若音頻適配器10的腳位D+的電位為低電位時,判斷音頻適配器10未與電子裝置20連線,接著依序執行步驟S105和S107。反之,若音頻適配器10的腳位D+的電位為高電位時,判斷音頻適配器10已與電子裝置20連線,接著依序執行步驟S109~S113。In step S103 , the control element 22 of the electronic device 20 determines whether the audio adapter 10 and the electronic device 20 are connected according to the potential level of the pin D+ of the audio adapter 10 . If the potential of the pin D+ of the audio adapter 10 is low, it is determined that the audio adapter 10 is not connected to the electronic device 20 , and then steps S105 and S107 are performed in sequence. On the contrary, if the potential of the pin D+ of the audio adapter 10 is at a high level, it is determined that the audio adapter 10 has been connected to the electronic device 20 , and then steps S109 to S113 are performed in sequence.

在步驟S105,由電子裝置20的控制元件22傳輸音頻訊號至內建播音裝置30。In step S105 , the control element 22 of the electronic device 20 transmits the audio signal to the built-in broadcasting device 30 .

在步驟S107,電子裝置20利用內建播音裝置30播放接收到的音頻訊號。In step S107 , the electronic device 20 uses the built-in audio device 30 to play the received audio signal.

在步驟S109,將音頻訊號從電子裝置20傳輸至音頻適配器10。In step S109 , the audio signal is transmitted from the electronic device 20 to the audio adapter 10 .

在步驟S111,透過音頻適配器10將音頻訊號無線傳輸至遠端播放裝置30。In step S111 , the audio signal is wirelessly transmitted to the remote playback device 30 through the audio adapter 10 .

在步驟S113,利用遠端播放裝置30播放接收到的音頻訊號。In step S113 , the received audio signal is played by the remote playback device 30 .

在步驟S107和S113過程中或之後,可再次回到步驟S103,以判斷當下音頻適配器10與電子裝置20之間的連線狀態是否有改變。During or after steps S107 and S113, step S103 can be returned to determine whether the current connection status between the audio adapter 10 and the electronic device 20 has changed.

[實施例的有益效果][Advantageous effects of the embodiment]

本發明的其中一有益效果在於,本發明所提供的音頻訊號播放控制系統及其方法,其音頻適配器依據與遠端播放裝置例如喇叭或耳機的連線狀態,回報主機連接或非連接狀態。當網路連線了,音頻適配器回報已連線訊號(例如USB 音頻適配器的腳位保持高電位),以由音頻適配器透過無線網路傳輸至遠端播放裝置播放音頻訊號。相反地,當網路斷線了,音頻適配器回報未連線訊號(例如USB 音頻適配器的腳位保持低電位),以切換成由內建播放裝置播放音頻訊號。One of the beneficial effects of the present invention is that, in the audio signal playback control system and method provided by the present invention, the audio adapter reports the connection or disconnection status of the host according to the connection status with the remote playback device such as speakers or earphones. When the network is connected, the audio adapter reports the connected signal (for example, the pin of the USB audio adapter is kept high), so that the audio adapter can transmit the audio signal to the remote playback device through the wireless network. On the contrary, when the network is disconnected, the audio adapter reports a disconnected signal (eg, the pin of the USB audio adapter is kept low), so as to switch to the built-in playback device to play the audio signal.

以上所公開的內容僅為本發明的優選可行實施例,並非因此侷限本發明的申請專利範圍,所以凡是運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的申請專利範圍內。The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, any equivalent technical changes made by using the contents of the description and drawings of the present invention are included in the application of the present invention. within the scope of the patent.

10:音頻適配器 20:電子裝置 30:遠端播放裝置 21:音頻訊號提供元件 22:控制元件 23、26:內建播音裝置 24:偵測元件 D+:腳位 VH:高電位 VL:低電位 S101~S113:步驟 10: Audio Adapter 20: Electronics 30: Remote playback device 21: Audio signal providing components 22: Control elements 23, 26: Built-in broadcasting device 24: Detection element D+: pin position VH: High potential VL: low potential S101~S113: Steps

圖1為本發明實施例的音頻訊號播放控制系統的音頻適配器與液晶顯示裝置的配置示意圖。FIG. 1 is a schematic diagram of the configuration of an audio adapter and a liquid crystal display device of an audio signal playback control system according to an embodiment of the present invention.

圖2為本發明實施例的音頻訊號播放控制系統的音頻適配器與液晶顯示裝置以及藍牙耳機的配置示意圖。2 is a schematic diagram of the configuration of an audio adapter, a liquid crystal display device, and a Bluetooth headset of an audio signal playback control system according to an embodiment of the present invention.

圖3為本發明實施例的音頻訊號播放控制系統的音頻適配器的腳位為低電位的方塊圖。FIG. 3 is a block diagram showing that the pins of the audio adapter of the audio signal playback control system according to the embodiment of the present invention are at a low level.

圖4為本發明實施例的音頻訊號播放控制系統的音頻適配器在無線連接遠端播放裝置時將腳位從低電位轉為高電位的方塊圖。4 is a block diagram of the audio adapter of the audio signal playback control system according to an embodiment of the present invention, when the audio adapter is wirelessly connected to a remote playback device, the pin position is changed from a low level to a high level.

圖5為本發明實施例的音頻訊號播放控制系統的音頻適配器的腳位為低電位的方塊圖。FIG. 5 is a block diagram showing that the pins of the audio adapter of the audio signal playback control system according to the embodiment of the present invention are at a low level.

圖6為本發明實施例的音頻訊號播放控制方法的步驟流程圖。FIG. 6 is a flow chart of steps of a method for controlling audio signal playback according to an embodiment of the present invention.

10:音頻適配器 10: Audio Adapter

20:電子裝置 20: Electronics

30:遠端播放裝置 30: Remote playback device

Claims (10)

一種音頻訊號播放控制系統,包含: 一音頻適配器,該音頻適配器的一接頭維持插入一電子裝置的一連接埠時,將該音頻適配器與連接至該電子裝置維持未連線狀態; 其中當該音頻適配器與一遠端播放裝置之間未連線或斷線時,該音頻適配器回報該未連線訊號至該電子裝置,該電子裝置依據該未連線訊號,以控制該電子裝置的一內建播音裝置播放該電子裝置提供的一音頻訊號; 其中當該音頻適配器與該遠端播放裝置之間無線連接時,該音頻適配器回報一已連線訊號至該電子裝置,該電子裝置依據該已連線訊號,以控制該內建播音裝置停止播放該音頻訊號,並將該音頻訊號提供至該音頻適配器,接著透過該音頻適配器傳輸至該遠端播放裝置播放。 An audio signal playback control system, comprising: an audio adapter, when a connector of the audio adapter remains inserted into a port of an electronic device, the audio adapter remains disconnected from the electronic device; When there is no connection or disconnection between the audio adapter and a remote playback device, the audio adapter reports the disconnected signal to the electronic device, and the electronic device controls the electronic device according to the disconnected signal A built-in audio device of the electronic device plays an audio signal provided by the electronic device; When the audio adapter and the remote playback device are wirelessly connected, the audio adapter reports a connected signal to the electronic device, and the electronic device controls the built-in audio device to stop playing according to the connected signal The audio signal is provided to the audio adapter, and then transmitted to the remote playback device for playback through the audio adapter. 如請求項1所述的音頻訊號播放控制系統,其中該音頻適配器的該接頭為USB接頭,該電子裝置的該連接埠為USB連接埠。The audio signal playback control system of claim 1, wherein the connector of the audio adapter is a USB connector, and the connection port of the electronic device is a USB connection port. 如請求項2所述的音頻訊號播放控制系統,其中當該音頻適配器插入該電子裝置,但未與該遠端播放裝置連線時,該音頻適配器的一D+腳位保持於一低電位,該電子裝置偵測到該低電位時,判定該音頻適配器與該電子裝置之間未連線或斷線。The audio signal playback control system as claimed in claim 2, wherein when the audio adapter is inserted into the electronic device but not connected to the remote playback device, a D+ pin of the audio adapter is kept at a low level, the When the electronic device detects the low potential, it is determined that the audio adapter and the electronic device are not connected or disconnected. 如請求項3所述的音頻訊號播放控制系統,其中當該音頻適配器插入該電子裝置,並且與該遠端播放裝置連線時,該音頻適配器的該D+腳位保持於一高電位,該電子裝置偵測到該高電位時,判定該音頻適配器與該電子裝置之間已連線,該電子裝置將該音頻訊號由該內建播音裝置切換到該音頻適配器播放。The audio signal playback control system of claim 3, wherein when the audio adapter is inserted into the electronic device and connected to the remote playback device, the D+ pin of the audio adapter is kept at a high potential, and the electronic When the device detects the high potential, it is determined that the audio adapter and the electronic device are connected, and the electronic device switches the audio signal from the built-in audio device to the audio adapter for playing. 如請求項1所述的音頻訊號播放控制系統,其中在該音頻適配器與該遠端播音裝置之間的藍牙無線連接斷線時,該音頻適配器的腳位保持於一低電位,該電子裝置偵測到該低電位時,判定該音頻適配器與該電子裝置之間未連線或斷線,該電子裝置將該音頻訊號切回該內建播音裝置播放。The audio signal playback control system according to claim 1, wherein when the Bluetooth wireless connection between the audio adapter and the remote broadcasting device is disconnected, the pin of the audio adapter is kept at a low potential, and the electronic device detects When the low potential is detected, it is determined that there is no connection or disconnection between the audio adapter and the electronic device, and the electronic device switches the audio signal back to the built-in audio device for playback. 如請求項1所述的音頻訊號播放控制系統,其中該內建播放裝置包含內建在該電子裝置的喇叭,該遠端播放裝置包含遠端的喇叭、耳機或其組合。The audio signal playback control system of claim 1, wherein the built-in playback device includes a speaker built in the electronic device, and the remote playback device includes a remote speaker, an earphone, or a combination thereof. 一種音頻訊號播放控制方法,包含以下步驟: (a)   將一音頻適配器維持插入一電子裝置; (b)   該音頻適配器判斷是否與一遠端播放裝置連線,若否,則該音頻適配器維持與該電子裝置未連線狀態,該電子裝置利用一內建播音裝置播放一音頻訊號,不執行後續步驟,若是,執行後續步驟; (c)   該音頻適配器維持與該電子裝置連線狀態,該電子裝置將該音頻訊號從該電子裝置有線傳輸至該音頻適配器; (d)   該音頻適配器透過無線傳輸至該遠端播放裝置;以及 (e)   利用該遠端播放裝置播放該音頻訊號,接著回到步驟(b)。 An audio signal playback control method, comprising the following steps: (a) maintaining an audio adapter plugged into an electronic device; (b) The audio adapter determines whether it is connected to a remote playback device. If not, the audio adapter remains disconnected from the electronic device. The electronic device uses a built-in audio device to play an audio signal without executing Follow-up steps, if yes, perform the next steps; (c) the audio adapter remains connected to the electronic device, and the electronic device transmits the audio signal by wire from the electronic device to the audio adapter; (d) the audio adapter transmits wirelessly to the remote playback device; and (e) use the remote playback device to play the audio signal, and then return to step (b). 如請求項7所述的音頻訊號播放控制方法,更包含以下步驟: (f)    在該音頻適配器未與該遠端播放裝置連線時,將該音頻適配器的一D+腳位保持於一低電位; (g)   依據該低電位,該電子裝置決定該音頻適配器與該電子裝置未連線,並由該內建播放裝置播放該音頻訊號。 The audio signal playback control method according to claim 7, further comprising the following steps: (f) When the audio adapter is not connected to the remote playback device, keep a D+ pin of the audio adapter at a low potential; (g) According to the low level, the electronic device determines that the audio adapter is disconnected from the electronic device, and the built-in playback device plays the audio signal. 如請求項8所述的音頻訊號播放控制方法,更包含以下步驟: (h)   在該音頻適配器與該遠端播放裝置連線時,將該音頻適配器的該D+腳位保持於一高電位;以及 (i)    依據該高電位,該電子裝置決定該音頻適配器與該電子裝置已連線,並決定由該音頻適配器播放該音頻訊號。 The audio signal playback control method according to claim 8, further comprising the following steps: (h) when the audio adapter is connected to the remote playback device, keep the D+ pin of the audio adapter at a high potential; and (i) According to the high potential, the electronic device determines that the audio adapter is connected to the electronic device, and determines that the audio adapter plays the audio signal. 如請求項7所述的音頻訊號播放控制方法,更包含以下步驟: (j)    透過藍牙,將該音頻適配器無線連接至該遠端播音裝置; (k)   透過藍牙傳輸技術,將該音頻訊號從該音頻適配器傳輸至該遠端播放裝置播放;以及 (l)    判定該遠端播音裝置與該音頻適配器之間是否切回未連線狀態或該遠端播音裝置移動至一可連線範圍外導致與該音頻適配器斷線,若否,回到步驟(k),若是,執行下一步驟(m); (m) 切換至利用該內建播音裝置播放該音頻訊號。 The audio signal playback control method according to claim 7, further comprising the following steps: (j) wirelessly connect the audio adapter to the remote audio device via Bluetooth; (k) transmit the audio signal from the audio adapter to the remote playback device for playback through Bluetooth transmission technology; and (l) Determine whether the connection between the remote broadcasting device and the audio adapter is switched back to the disconnected state or the remote broadcasting device moves out of a connectable range and disconnects from the audio adapter, if not, go back to the step (k), if so, perform the next step (m); (m) Switch to play the audio signal using the built-in audio device.
TW109141804A 2020-11-27 2020-11-27 System and method for controlling play of audio signal TW202221492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109141804A TW202221492A (en) 2020-11-27 2020-11-27 System and method for controlling play of audio signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109141804A TW202221492A (en) 2020-11-27 2020-11-27 System and method for controlling play of audio signal

Publications (1)

Publication Number Publication Date
TW202221492A true TW202221492A (en) 2022-06-01

Family

ID=83062208

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109141804A TW202221492A (en) 2020-11-27 2020-11-27 System and method for controlling play of audio signal

Country Status (1)

Country Link
TW (1) TW202221492A (en)

Similar Documents

Publication Publication Date Title
US8370555B2 (en) Method and system for allowing a media player to determine if it supports the capabilities of an accessory
AU2007265077B2 (en) Method and system for allowing a media player to transfer digital audio to an accessory
US7853746B2 (en) Interface system for enabling data communication between a multi-communication device and other devices
KR101530110B1 (en) Automatic transfer of information through physical docking of devices
TW200833152A (en) Multimedia switching system
CN101790125A (en) Detecting the repositioning of an earphone using a microphone and associated action
TWI740492B (en) Charging device for wireless earbuds
US20150055781A1 (en) Wireless speaker device and wirelessly multi-channel audio system thereof
JP3143722U (en) Video-audio player with wireless audio transmission function and wireless audio transmission module
KR20150017314A (en) Audio jack system
US8497603B2 (en) Portable electronic apparatus and connection method therefor
TWM614161U (en) Multifunctional adapter device
CN111031435A (en) Audio circuit, head-mounted display equipment and head-mounted display system
JP2023527857A (en) Data cables and charging equipment
TW202221492A (en) System and method for controlling play of audio signal
KR20070108012A (en) Remote controller for portable multimedia equipment and drving method thereof
US8655417B2 (en) Video/audio playing apparatus with wireless signal transmission function and wireless video/audio transmission module thereof
TWI702854B (en) Audio playing apparatus and audio transmission circuit
CN211378222U (en) Audio circuit, head-mounted display equipment and head-mounted display system
CN204498356U (en) Separable surround speaker system
CN114615600A (en) Audio signal playing control system and method
CN110248271A (en) The playback method being wirelessly transferred using wireless headset
US8204440B2 (en) Wireless transmitting/receiving device
CN212467091U (en) Audio playing circuit and equipment for adapting to handle
KR20210064808A (en) Multimedia hub apparatus for mobile terminal