TW201020793A - System of sharing portable audio device and method thereof - Google Patents

System of sharing portable audio device and method thereof Download PDF

Info

Publication number
TW201020793A
TW201020793A TW97145252A TW97145252A TW201020793A TW 201020793 A TW201020793 A TW 201020793A TW 97145252 A TW97145252 A TW 97145252A TW 97145252 A TW97145252 A TW 97145252A TW 201020793 A TW201020793 A TW 201020793A
Authority
TW
Taiwan
Prior art keywords
audio device
driver
sharing
terminal
portable audio
Prior art date
Application number
TW97145252A
Other languages
Chinese (zh)
Inventor
Fred Chen
Harley Yan
xiao-long Yan
Original Assignee
Inventec Besta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Besta Co Ltd filed Critical Inventec Besta Co Ltd
Priority to TW97145252A priority Critical patent/TW201020793A/en
Publication of TW201020793A publication Critical patent/TW201020793A/en

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention discloses a system of sharing a portable audio device and a method thereof, which includes a master unit processing and a slave unit processing, both connected by a USB. The characteristic of the invention is: using a driver of the slave unit to enable the slave unit opening the USB host. When the slave unit connects to the master unit, the master unit is driving the slave unit by the USB.

Description

201020793 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種共用便攜式音頻裝置之系統及方法,特 別是有關於一種利用雙邊驅動以共用便攜式音頻裝置之系統及方 法。 【先前技術】 目前,除部分筆記型電腦已經内置外,目前絕大部分之電腦 (pc)需要外接獨立的音頻輸出設備及音頻輸入裝置。隨著多媒體 ^ Skype等技術的發展普及,人們對音頻設備的需求也變得迫切, 這使得公⑽及個人用戶不得;;ρ為PC機配備賴音锻備。由於 不是PC的基核備,不少人隨身自備上這些錢設備⑽不時之 需。 同時,便攜式裝置也得到空前的發展與普及,例如:行動電 話,電子詞典’掌上影音播放器等這些設備幾乎成為每個現代人 ❹=身必備裝置。而這些裝置絕大部分都内置了像音頻輸出設備 及θ頻輸入裝置這樣的音頻設備。 ,不但 ▲因而’如果能使Pc機使用掌上智慧型裝置的音頻設備 能方便用戶,還能節省不必要的開支。 【發明内容】 有鑑於上述習知技藝之問題, 共用便攜式音頻装置之系統及方法 本發明之目的就是在提供一種 ,以解決習知之問題。 根據本發明之目的,提出—種共贱攜式音頻裝置之方法 201020793 其係包含一主控端程序及一受控端程序,主控端程序係用以控制 一主控端,受控端程序係用以控制一受控端,主控端及受控端係 由一通用序列匯流排相接’其中主控端程序係包含:(A)偵測受控 端是否由通用序列匯流排接入,若是,則進行步驟(B);出)加載一 第一驅動程式;(C)初始化該受控端之一音頻模組;以及(D)藉由通 用序列匯流排使主控端之一應用程式與音頻模組進行數據交換。 又控端程序係包含(a)初始化音頻模組;(b)執行一第二驅動程式使 音頻模組模擬為一音頻設備;(c)偵測通用序列匯流排是否與主控 © 端相接’右疋’則進行步辣(Φ; (Φ接收第一驅動程式之設定數據] 以及(e)藉由已初始化之通用序列匯流排使音頻設備與主控端進行 數據交換。 ~ 根據本發明之又-目的,提出—種共用便攜式音頻裝置之系 統’其包含-主控端及-受控端,主控端係包含—第—驅動程式 及-應用程式,受控端係包含-第二驅動程式及一音頻模組,第 二驅動程式使音頻模組模擬為一音頻設備。其中,當主控端及受 控端以-通用序列匯流排連接時’第一驅動程式係驅^音頻^ © 備,以使應用程式與音頻設備進行數據交換。 根據本發明之再-目的,提出—種共用便攜式音頻裝置之系 統及方法’其係包含-主控端之程序及—受控端之程序兩者係 由-通用序列匯流排相連接,本發明之特徵在於利用受控端之驅 動程式使受控端··序顺流狀接σ,#受控端與主控端 連接,主控端可經由通用序列匯流排驅動受控端。 【實施方式】 請參閱第i ® ’其係為本發明之共用便攜式音頻裝置之系統 201020793 及方法之主控端流程圖。圖中,共用便攜式音頻裝置之系統及方 法之主控端流程圖。圖中,主控端程序係包含:(A)受控端是否由 通用序列匯流排接入,若是,則進行步驟(B),若否,則繼續偵測 通用序列匯流排是否接入;(B)加載一第一驅動程式;(c)初始化受 控%之一音頻模組,(〇Μ貞測第一驅動程式是否成功驅動受控端之 音頻模組,若是,則進行步驟(Ε);以及(Ε)藉由已初始化之通用序 列匯流排使主控端之一應用程式與受控端之音頻模組進行數據交 換。其中,主控端程序更包含步驟(F)及步驟(G),步驟(F)係偵測通 ❹用序列麗流排是否仍與受控端連接,若否,則進行步驟(G),若是, =繼續進行步驟(E);以及(G)卸載第一驅動程式,在步驟(D)=, 若第一驅動程式未成功驅動受控端之音頻模組,則直接進行步驟 (G)。其中,第一驅動程式係内建於主控端中,主控端係可為一桌 上型電腦或一筆記型電腦。 ' 請續參閱第2圖,其係為本發明之共用便攜式音縣置之系 統及方法之受控端流程圖。圖中,受控端程序係包含@)初始化音 頻模組’·(b)執行一第二驅動程式使音頻模組模擬為一音頻設備; ❹(c)偵測受控端是否藉由通用序列匯流排與主控端相接,若是,則 進仃步驟⑹;(d)接㈣-驅動程式之設歧據;⑻侧第一驅動 程式是否成功驅動音頻設備,若是,則進行步驟(f);以及_由 通用序舰流排使音紐備與主㈣之應聰錢行數據交換。 其中’受控端程序更包含步驟(g)及步驟⑻,步驟(g)係侧通用序 列匯流排是否仍與主控端連接,若否,則進行步驟⑻;以及⑻關 閉第二驅動程式’在步驟⑻中,若第一驅動程式未成功驅動音頻 模組’則直接進打步驟(h)。其中,第二驅動程式係内建於受控端 中’受控端係可為隨身音響、行動電話、電子触或掌上影音播 201020793 放器。主控端更包含一應用程式以趨動音頻模組。 請參閱第3圖,其係為本發明之共用便攜式音頻裝置之系統 及方法之方塊圖。圖中,主控端31係包含一應用程式311、一第 一驅動程式312及一主控端通用序列匯流排313,受控端幻則包 3曰頻才莫組32丨、一第二驅動程式322及一受控端通用序列匯流 排323。當主控端31藉由主控端通用序列匯流排313與受控端通 用序列匯流排相接323,第二驅動程式322模擬音頻模組321為一 曰頻a又備’並提供-朝序顺流排接口。主控端31及受控端Μ 連接時,主控端31係加載第一驅動程式312,此第一驅動程式312 ,透過匯流排接口與音頻設備進行數據流33交換,其中,此數據 流33係藉由主控端序列匯流排313及受控端序列匯流排奶流 通如此主控端31之應用程式311即可利用第一驅動程式 對:麵組321所模擬之音頻設備進行驅動,並接收或輸出音頻 訊號%予音頻做321。藉由此模式,主控端31及受控端32即 =仃數U及音頻峨34之交流,物共用受控端之音 頻模組321之功能。 θ 夕接僅為舉例性’而非為限制性者。任何未脫離本發明 之Φ心二對其進行之等效修改或變更,均應包含於後附 之申請專利範圍中。 【圖式簡單說明】 第1圖t為本發明之共用便攜式音頻裝置之系統及方法之主控端 /^丨1程圖, 第2圖係為本發明之共用便攜式音缝置之祕及方法之受控端 201020793 流程圖;以及 第3圖係為本發明之共用便攜式音頻裝置之系統及方法之方塊 圖。 【主要元件符號說明】 (A)至(G)、⑻至⑻:步驟流程; 31 :主控端; _ 311:應用程式;201020793 VI. Description of the Invention: [Technical Field] The present invention relates to a system and method for sharing a portable audio device, and more particularly to a system and method for utilizing a bilateral drive to share a portable audio device. [Prior Art] At present, most computers (pc) require external independent audio output devices and audio input devices, except for some notebook computers. With the development of multimedia technology such as Skype, people's demand for audio equipment has become urgent, which makes public (10) and individual users unacceptable; ρ is equipped with high-speed forging for PC. Since it is not the base of the PC, many people bring their own money equipment (10) from time to time. At the same time, portable devices have also achieved unprecedented development and popularity. For example, mobile phones, electronic dictionaries, handheld video players, and other devices have become almost every modern person. Most of these devices have built-in audio devices such as audio output devices and θ-frequency input devices. Not only ▲ thus, if the audio device that enables the PC to use the handheld smart device can be convenient for the user, it can also save unnecessary expenses. SUMMARY OF THE INVENTION Systems and Methods for Sharing Portable Audio Devices In view of the above-described problems of the prior art, it is an object of the present invention to provide a solution to the conventional problems. According to the purpose of the present invention, a method for a shared audio device is provided. The method includes a host terminal program and a controlled terminal program. The master terminal program is used to control a master terminal and a controlled terminal program. The system is used to control a controlled terminal, and the master terminal and the controlled terminal are connected by a universal sequence bus. The master program includes: (A) detecting whether the controlled terminal is accessed by the universal sequence bus If yes, proceed to step (B); output a first driver; (C) initialize one of the audio modules of the controlled terminal; and (D) apply one of the masters by using a universal serial bus The program exchanges data with the audio module. And the terminal program includes (a) initializing the audio module; (b) executing a second driver to simulate the audio module as an audio device; and (c) detecting whether the universal serial bus is connected to the main control © 'Right 疋' performs stepping (Φ; (Φ receives the setting data of the first driver) and (e) exchanges the audio device with the host by the initialized universal sequence bus. ~ According to the present invention The purpose of the present invention is to provide a system for sharing a portable audio device, which includes a master and a controlled terminal, the master includes a first driver and an application, and the controlled terminal includes a second The driver and an audio module, the second driver simulates the audio module as an audio device, wherein when the master and the controlled terminal are connected by the universal sequence bus, the first driver driver ^ audio ^ © 备, in order to enable the application to exchange data with the audio device. According to the re-purpose of the present invention, a system and method for sharing a portable audio device is proposed, which includes a program of the master terminal and a program of the controlled terminal. Both by - general order The bus bar is connected, and the invention is characterized in that the controlled end driver is used to connect the controlled end sequence to the sigma, the # controlled end is connected to the main control end, and the main control end can be driven via the universal sequence bus bar. [Embodiment] Please refer to the i-> 'which is the main control terminal of the system 201020793 and method of the shared portable audio device of the present invention. In the figure, the main control system and method for sharing the portable audio device In the figure, the main control program includes: (A) whether the controlled terminal is connected by the universal sequence bus, if yes, proceed to step (B), and if not, continue to detect whether the universal sequence bus is (B) load a first driver; (c) initialize one of the controlled % audio modules (consist whether the first driver successfully drives the audio module of the controlled end, and if so, proceed Step (Ε); and (Ε) data exchange between one of the main control terminals and the audio module of the controlled end by the initialized universal sequence bus, wherein the main program further includes the step (F) And step (G), step (F) is detected Whether the sequence bus is still connected to the controlled terminal, if not, proceed to step (G), if yes, continue with step (E); and (G) uninstall the first driver, at step (D) = If the first driver does not successfully drive the audio module of the controlled end, step (G) is directly performed, wherein the first driver is built in the main control terminal, and the main control terminal can be a desktop device. A computer or a notebook computer. 'Continue to refer to Figure 2, which is a controlled end flow diagram of the system and method for sharing a portable sound county of the present invention. In the figure, the controlled terminal program includes @) initialization audio. The module '·(b) executes a second driver to simulate the audio module as an audio device; ❹(c) detects whether the controlled terminal is connected to the host through the universal serial bus, and if so,仃Step (6); (d) Connect (4) - Driver configuration; (8) Whether the first driver on the side successfully drives the audio device, and if so, proceed to step (f); and _ by the general sequence ship to make the tone Exchange data with the main (4) Ying Cong money line. The 'controlled terminal program further includes steps (g) and (8), and the step (g) is whether the general-purpose serial bus is still connected to the main control terminal; if not, proceed to step (8); and (8) close the second driver program. In step (8), if the first driver does not successfully drive the audio module, then step (h) is directly entered. Among them, the second driver is built in the controlled terminal. The controlled terminal can be a portable audio, mobile phone, electronic touch or handheld video 201020793. The host further includes an application to drive the audio module. Please refer to FIG. 3, which is a block diagram of a system and method for sharing a portable audio device of the present invention. In the figure, the main control terminal 31 includes an application 311, a first driver 312, and a master terminal sequence bus 313. The controlled terminal phantom package 3 曰 才 32 32 32 32 32 32 32 32 32 32 32 32 32 Program 322 and a controlled-end universal sequence bus 323. When the master terminal 31 is connected to the controlled terminal universal sequence bus 323 by the master terminal sequence bus 313, the second driver 322 simulates the audio module 321 for a frequency a and is provided with and provides a sequence Downstream interface. When the main control terminal 31 and the controlled terminal Μ are connected, the main control terminal 31 loads the first driver 312, and the first driver 312 exchanges the data stream 33 with the audio device through the bus interface, wherein the data stream 33 The first driver is used to drive and receive the audio device simulated by the quilt 321 by using the host serial bus 313 and the controlled terminal sequence to circulate the application 311 of the host 31. Or output audio signal % to audio 321. In this mode, the main control terminal 31 and the controlled terminal 32, that is, the communication between the number U and the audio port 34, share the function of the audio module 321 of the controlled terminal. θ 夕 接 接 接 例 例 例 例 例 例 例 例 例Any equivalent modifications or alterations to the Φ2B without departing from the invention are intended to be included in the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a main control terminal/system diagram of a system and method for sharing a portable audio device of the present invention, and FIG. 2 is a secret and method for sharing a portable sound seam according to the present invention. The controlled end 201020793 flow chart; and the third figure are block diagrams of systems and methods for sharing a portable audio device of the present invention. [Description of main component symbols] (A) to (G), (8) to (8): step flow; 31: master; _ 311: application;

P 312 :第一驅動程式; 313 :主控端通用序列匯流排; 32 :受控端; 321 :音頻模組; 322 :第二驅動程式; 323 :受控端通用序列匯流排; ❹ 33 :數據流;以及 34 :音頻訊號。P 312: first driver; 313: master general sequence bus; 32: controlled terminal; 321: audio module; 322: second driver; 323: controlled terminal universal sequence bus; ❹ 33: Data stream; and 34: audio signal.

Claims (1)

201020793 七、申請專利範圍: 1· -種共用便攜式音頻裝置之方法,其包含於—主控端程序及 一受控端程序,該主控端程序係肋控制—主控端,該受控 端程序係用以_-受控端’該主控端及該受控端係可藉^ 一通用序列匯流排(USB)相接,其中該主控端程序係包含: (A) 偵測該受控端是否由該通用序列匯流排接入,若是, 則進行步驟(B); (B) 加载一第一驅動程式; (C) 初始化該受控端之一音頻模組;以及 (D) 藉由該通用序列匯流排使該主控端之一應用程式與 該音頻模組進行數據交換; 一 該受控端之程序係包含: (a) 初始化該音頻模組; (b) 執行一第二驅動程式使該音頻模組模擬為一音頻 設備; (c) 偵測該通用序列匯流排是否與該主控端相接,若 是,則進行步驟(d); (d) 接收該第一驅動程式之設定數據;以及 (e) 藉由該通用序列匯流排使該音頻設備與該主控端 之該應用程式進行數據交換。 2.如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法,其中該第一驅動程式係用以驅動該音頻設備。 8 201020793 3. 如申請專利範圍第:1項所述之共用便攜式音頻裝置之方 法’其巾該主控端程序更包含侧該第-驅動程式是否成功 驅動該音頻模組。 4. 如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法’其中該受控端程序更包含偵測該第一驅動程式是否成功 驅動該音頻設備。 5. 如申請專魏圍第1項所述之制便攜式音頻裝置之方 ❹法,其中該第一驅動程式係内建於該主控端中。 6. 如申請專植圍第丨項所述之共用便攜式音頻裝置之方 法,其中該第二驅動程式係内建於該受控端中。 7. 如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法,其中該受控端係可為隨身音響、行動電話、電子詞典或 革上影音播放器。 8. 如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法,其中該主控端係可為一桌上型電腦或一筆記型電腦。 ❹ 9.如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法’其中該主控端程序更包含4貞測該通用序列匯流排是否仍 與該受控端連接,若否,則卸載該第一驅動程式。 ίο.如申請專利範圍第1項所述之共用便攜式音頻裝置之方 法’其中該受控端程序更包含偵測該通用序列匯流排是否仍 與該主控端連接,若否,則關閉該第二驅動程式。 11· 一種共用便攜式音頻裝置之系統,其包含: 一主控端,係包含一第一驅動程式及一應用程式;以及 9 201020793 一受控端,係包含一第二驅動程式及一音頻模組,該第二 驅動程式使該音頻模組模擬為一音頻設備; 其中’當該主控端及該受控端以一通用序列匯流排連接 時,該第一驅動程式係驅動該音頻設備,以使該應用程式與 該音頻設備進行數據交換。 12.如申請專利範圍第11項所述之共用便攜式音頻裝置之系201020793 VII. Patent application scope: 1. A method for sharing a portable audio device, which is included in a main control program and a controlled terminal program, the main control program is a rib control-main control terminal, and the controlled terminal The program is used for the _-controlled terminal. The host and the controlled terminal can be connected by a universal serial bus (USB), wherein the host program includes: (A) detecting the received Whether the terminal is accessed by the universal sequence bus, if yes, proceeding to step (B); (B) loading a first driver; (C) initializing one of the controlled audio modules; and (D) borrowing The universal sequence bus is used to exchange data between the application of the host and the audio module; the program of the controlled terminal includes: (a) initializing the audio module; (b) executing a second The driver simulates the audio module as an audio device; (c) detecting whether the universal sequence bus is connected to the master, and if so, performing step (d); (d) receiving the first driver Setting data; and (e) causing the audio device with the universal sequence bus Control end of the application to exchange data. 2. The method of sharing a portable audio device according to claim 1, wherein the first driver is for driving the audio device. 8 201020793 3. The method for sharing a portable audio device as described in claim 1 of the invention, wherein the host program further includes whether the first driver is successfully driven by the driver. 4. The method of claim 12, wherein the controlled end program further comprises detecting whether the first driver successfully drives the audio device. 5. The method for applying the portable audio device according to item 1 of Wei Wei, wherein the first driver is built in the main control terminal. 6. The method of claiming a shared portable audio device as described in the above paragraph, wherein the second driver is built in the controlled terminal. 7. The method of sharing a portable audio device according to claim 1, wherein the controlled end is a portable audio, a mobile phone, an electronic dictionary, or a music player. 8. The method of sharing a portable audio device according to claim 1, wherein the main control terminal is a desktop computer or a notebook computer. 9. The method of sharing a portable audio device according to claim 1, wherein the master program further includes detecting whether the universal sequence bus is still connected to the controlled terminal, and if not, uninstalling The first driver. The method for sharing a portable audio device according to claim 1, wherein the controlled terminal program further comprises detecting whether the universal sequence bus is still connected to the master, and if not, turning off the Two drivers. A system for sharing a portable audio device, comprising: a host, comprising a first driver and an application; and 9 201020793 a controlled terminal, comprising a second driver and an audio module The second driver simulates the audio module as an audio device; wherein when the master terminal and the controlled terminal are connected by a universal sequence bus, the first driver driver drives the audio device to The application exchanges data with the audio device. 12. The system for sharing a portable audio device as described in claim 11 統,其中該受控端係可為隨身音響、行動電話、電子詞典或 掌上影音播放器。 I3.如申叫專利範圍第π項所述之共用便攜式音頻裝置之系 統,其中該主控端係可為一桌上型電腦或一筆記变電腦。 14 ^申ίί利範圍第U項所述之共用便攜式音頻裝置之系 、、、該曰頻模組包含音頻輪出設備及音頻輸入裝置。 〇The controlled end can be a portable audio, a mobile phone, an electronic dictionary or a handheld video player. I3. A system for sharing a portable audio device as described in claim π, wherein the master terminal can be a desktop computer or a notebook computer. 14 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 〇
TW97145252A 2008-11-21 2008-11-21 System of sharing portable audio device and method thereof TW201020793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97145252A TW201020793A (en) 2008-11-21 2008-11-21 System of sharing portable audio device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97145252A TW201020793A (en) 2008-11-21 2008-11-21 System of sharing portable audio device and method thereof

Publications (1)

Publication Number Publication Date
TW201020793A true TW201020793A (en) 2010-06-01

Family

ID=44832374

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97145252A TW201020793A (en) 2008-11-21 2008-11-21 System of sharing portable audio device and method thereof

Country Status (1)

Country Link
TW (1) TW201020793A (en)

Similar Documents

Publication Publication Date Title
US9323756B2 (en) Audio book and e-book synchronization
JP2012508931A5 (en)
US7904633B2 (en) Switch providing external access to computer-system components and computer-system peripherals
TW200949595A (en) Portable computer possessing projecting function
WO2020088118A1 (en) Electronic apparatus and method employing mobile device and display device to display duplicate screens
US8156263B2 (en) Information processing apparatus and storage device control method
TWI325561B (en) Embedded controller and computer system using the same
CN208985138U (en) Electronic device, computer equipment and the data processing system of Display on the same screen
WO2017161750A1 (en) Mobile apparatus
CN105264507A (en) Apparatus and method of recognizing external device in a communication system
US20080098138A1 (en) Key device with external storage and the using method thereof
US20090300253A1 (en) Changeable CPU module apparatus for a computer
CN108958812A (en) A kind of starting method and electronic equipment
US20150212551A1 (en) Tablet device with keyboard that has overlay capability
US20100030853A1 (en) Remote desktop control system using usb interface and method thereof
CN103543798A (en) Combined type computer allowing expanded use
CN103279441B (en) A kind of USB based on domestic embedded OS turns CF/SD driving methods
TW201224744A (en) Motherboard and method of display host system parameter
CN108170383A (en) A kind of method and relevant apparatus that printing is realized based on terminal device
US20140267096A1 (en) Providing a hybrid touchpad in a computing device
CN110175139B (en) Universal debugging method for USB (Universal Serial bus) equipment and USB equipment
TW201020793A (en) System of sharing portable audio device and method thereof
WO2011060664A1 (en) System and method for sharing portable audio device
US20210019274A1 (en) Virtual com port bridge supporting host-to-host usb transmission
TW201217969A (en) Virtualized peripheral hardware platform system