200826572 九、發明說明: 【發明所屬之技領域】 本發明涉及〆種自如貞測並切換局端介面與用戶端介面 之模組與方法,尤其是1藉由單—咖插座實現自純測 並切換局端介面與用戶端介面之模組與方法。 【先前技術】 目前市面上已列數據機為筆記型電腦(Laptop) 其標準配備’但並不是很常被消費者所使用,不過 在沒有寬頻網路的環境中,數據機還是必需的,因 此使用者可用其撥接上網。 此外市面上所流通的Analogue Telephone Adaptor (ΑΤΑ)和網路電話轉接盒(caUb〇x),其基 本功忐不外乎只是用來撥打網路電話或來電轉接至 其他電話號碼上,在V〇Ip技術中,扮演其重要的角 色,也是在使用電腦時,為不可獲缺的一項配備裝 置。 因此上述之說明,均是以一 RJ11插座為連接介 面之裝置’如何整合上述之裝置,或是在適時的情 形之下’可發揮該裝置最大的功能,已是目前待解 6 200826572 決的問題。 現今的筆記型電腦有内建數據機,其連接介面 是一 RJ11插座,用以連接公共交換電信網路(PSTN) 局線,以致於可數據撥接上網; 另,現今的VoIP技術之一是透過一 ΑΤΑ來撥 打網路電話,其連接介面有一萬用串列匯流排控制 模組(USB Controller )和一 RJ11插座,其中萬用串 列匯流排控制模組是與電腦相接,用以收送語音數 據資料,RJ11是藉由電話線與傳統電話相接,用以 收送使用者的語音。 現今的VoIP技術之二是透過一網路電話轉接盒 來撥打一般電話和網路電話,其連接介面有一萬用 串列匯流排控制模組和兩RJ 11插座,其中萬用串列 匯流排控制模組是與電腦相接,用以收送語音數據 資料,一 RJ 11插座是藉由電話線與傳統電話相接, 用以收送使用者的語音,另一 RJ11插座是用以連接 公共交換電信網路局線用以撥打接收一般電話或是藉 由公共交換電信網路局線作轉接。 7 200826572 【發明内容】 鐾於上述之發明背景中,為了符合產業上某些利益之需 求’本發明提供-種藉由單_則插座實現自動偵測並切換 局端介面與用戶端介面之模組與方法可肋解決上述傳統之 切換模組未能達成之標的。 本考X月之目的係提供一種藉由單一 RJ11插座實現自動 偵測並切換局端介面與用戶端介面之模組,此一模組包含單一 RJ11插座、一萬用串列匯流排控制模組、一數據機元 牛 電話用戶介面電路模組與一直接存取編排模 組,其中萬用串列匯流排控制模組係與一電腦電性 耦合,且此一模組可自動债測與則插座連接的係為 父換電網路或電話機,並根據债測結果選擇電話機經由 電腦連結至網際網路以收發網路電話,或是選擇電腦經由數 據機元件撥接上網以收發網路電話,亦可藉由電腦直接收 發公共交換電信網路之電話。 【實施方式】 本發明在此所探朗方向為由單—RI11插座實現 自動細並切換局端介面與用戶端介面之模組與方法。為了能 徹底地瞭解本卿’將在下列的描述巾提&詳盡的步驟及其組 8 200826572 二=:本發明的施行並未限定於藉由單,11插座實 =動偵砸域局端細翻戶齡面 技 藝者所熟習的特殊細節。另 、…、方法之技 未描述於細料,㈣免’眾所壯的組成或步驟並 ,, ^成私日林必要之關。本發明的 ==例會詳細描述如下,然而除了這些詳細描述之外,本 為^可以廣泛地〜仃在其他的實施例中,且本發明的範圍不 文限定’其以之後的翻範圍為準。 f200826572 IX. Description of the Invention: [Technical Field] The present invention relates to a module and method for freely detecting and switching between a central office interface and a user interface, in particular, a self-purity measurement by a single-coffee socket A module and method for switching between a central office interface and a client interface. [Prior Art] Currently, the data planes listed on the market are notebook computers (Laptop), which are standard equipment's but are not very often used by consumers. However, in an environment without a broadband network, the data machine is still required, so Users can use it to dial up to the Internet. In addition, the Analogogue Telephone Adaptor (ΑΤΑ) and the Internet Telephony Transfer Box (caUb〇x) circulating on the market are basically used to make calls or calls to other phone numbers. In the 〇Ip technology, it plays an important role, and it is also an indispensable device when using a computer. Therefore, the above description is based on an RJ11 socket as the interface device. How to integrate the above-mentioned device, or in the right circumstances, can play the maximum function of the device, which is the problem that is currently to be solved 6 200826572 . Today's notebook computers have a built-in modem, and the connection interface is an RJ11 socket for connecting to the public switched telecommunication network (PSTN) office line so that data can be dialed up. Another one of today's VoIP technologies is Through a single call to make an Internet call, the connection interface has a 10,000-digit serial bus control module (USB Controller) and an RJ11 socket. The universal serial busbar control module is connected to the computer for To receive voice data, RJ11 is connected to a traditional telephone through a telephone line to receive the user's voice. The second of today's VoIP technology is to make general and network calls through a network telephone transfer box. The connection interface has a 10,000 serial bus control module and two RJ 11 sockets, in which the universal serial communication The row control module is connected to the computer for receiving voice data. An RJ 11 socket is connected to the traditional telephone through a telephone line to receive the user's voice, and another RJ11 socket is used to connect. The public switched telecommunications network line is used to make general calls or to switch over the public switched telecommunications network. 7 200826572 SUMMARY OF THE INVENTION In the above-mentioned background of the invention, in order to meet the needs of certain interests in the industry, the present invention provides a method for automatically detecting and switching between a central office interface and a client interface by means of a single socket. The group and method can solve the problem that the above conventional switching module fails to achieve. The purpose of this test is to provide a module that automatically detects and switches between the central interface and the user interface through a single RJ11 socket. The module includes a single RJ11 socket and a 10,000 serial busbar control module. a data machine, a digital telephone user interface circuit module and a direct access programming module, wherein the universal serial bus control module is electrically coupled to a computer, and the module can be automatically tested and tested. The socket is connected to the parent's grid or telephone. According to the results of the debt measurement, the telephone is connected to the Internet via a computer to send and receive Internet calls, or the computer is connected to the Internet via a data device component to send and receive Internet calls. The telephone of the public switched telecommunication network can be directly sent and received by the computer. [Embodiment] The present invention is directed to a module and method for automatically switching between a central interface and a client interface by a single-RI11 socket. In order to be able to thoroughly understand this Qing's description in the following descriptions and detailed steps and its group 8 200826572 II =: The implementation of the present invention is not limited to the single, 11 socket real = dynamic detection domain bureau Special details that are familiar to the craftsman of the age. The other, ..., the technique of the method is not described in the fine material, (4) to avoid the composition or steps of the public, and to become a necessary part of the private forest. The == example of the present invention will be described in detail below, but in addition to the detailed description, the present invention may be widely used in other embodiments, and the scope of the present invention is not limited to the following. . f
本發明之—實施例係為-鋪由單-RI11插座實現自動 _並切換局齡面油戶齡面之漁.其包含一萬用 串列匯流排控制模組11〇、一則插座112、一偵測模組 114與-數據機兀件116。上述之萬用串列匯流排控制模 組110係與-電腦130 €性輕合,RJ11插座112係連接一公 共交換電信網路(PSTN) 118與-電話機12G其中之一,而 偵測模組114係偵測依據RJ11插座112電氣訊號的不同特性 以判斷RJ11插座112係為連接公共交換電信網路118或電話 機120,偵測方式如下: 依電壓特性偵測: 一般而言,公共交換電信網路118係提供48V之電壓, 參考第一圖所示,偵測模組114之一電話用戶介面電路 (Subscriber line interface circuit,SLIC)模、组 122 偵測RJ11插座112是否有電壓:如電壓大於一預設值(例如 9 200826572 設定預設值為18V),則RJ11插座112係為連接公共交換電信 網路118 ;如電壓小於預設值,則RJ11插座112係為連接電 話機120。 依電流特性偵測: 偵測模組114之一直接存取編排(Direct access arrangement,DAA)模組124藉由仿效拿起電話(〇ff hook)偵測RJ11插座112是否有電流,當直接存取編排模 組124仿效拿起電話時,有電流流經直接存取編排模組 124,則RJ11插座112係為連接公共交換電信網路us,因為 直接存取編排模組124會與公共交換電信網路ι18形成一 電性迴路而有電流流過;若無電流流經直接存取編排模組 124,則RJ11插座112係為連接電話機120。 依訊號頻率偵測: 藉由電腦130中的數位訊號處理(DigitalSignalPr〇cess〇r, DSP)軟體偵測RJli插座112是否有音頻組成,當直接存取 編排模組124仿效拿起電話時,電腦13〇藉由經由一電容組 126、電話用戶介面電路模組122與萬用串列匯流排控 制核組110偵測RJ11插座112的電氣訊號是否有一撥號音 (dial tone) ··當電腦13〇偵測到撥號音時,RJ11插座ιΐ2係 為連接公共交換電信網路118,因為公共交換電信網路118會 200826572 與直接存取編排模組m軸—雜瓣,當直接存取 、扁排模組124仿效旱起電話時,公共交換電信網路ιι8會傳 达-撥號音;如f腦並未翻到織音時,則腿插座 112係為連接電話機12G。上述之數位訊號處理軟體係可藉由 具有相同魏之硬魏路元件抑較雜,並且此一等效替 換係為熟知蝴技術者可_推知,於此不再加以費述。 第-圖顯示使用單-RJ1J插座以實現雙網路電話和數據 機之模組128㈣翻且上述之⑽射為—筆記型電 腦,透過上述之制方切可得知咖插座112連接為何, 再藉由上述之模組128與電腦130搭配使用,可分成下列幾種 應用: RJ11插座112連接電話機120: 如第二圖所示’路徑(1)係為利用連接電腦13()之耳機 與麥克風131撥打和接聽skype網路電話;路徑(3)係為利 用電話機120撥打和接聽skype網路電話,其中電腦13〇可透 過RJ45插座132連接網際網路通訊協定網路(IpNetw〇rk)134。 RJ11插座112連接公共交換電信網路n8 : 如第四圖所示,路徑(2)利用數據機元件116撥接上網, 可利用連接電腦130之耳機與麥克風131撥打和接聽skype網 路電話。 11 200826572 第五圖顯示使用單一謂插座實現網路電話轉接盒之模 、、且136的架構圖,透過上述之偵測方式可得知插座 連接為何,再藉由此模組136與電腦13〇搭配使用,可分成下 列幾種應用: RJ45插座132有連接網際網路通訊協定網路ι34 : a· RJ11插座112連接公共交換電信網路: 如第六圖所示,路徑(1)利用連接電腦13〇之耳機與麥 克風131撥打和接聽Skype網路電話;路徑⑵利用連接電 腦130之耳機與麥克風131接聽來自公共交換電信網路118的 電話,路徑(3)轉接Skype網路電話至公共交換電信網路118, 或是轉接來自公共交換電信網路118的電話至skype網路電 話。 b· RJ11插座112連接電話機12〇 : 如第七圖所示’路徑(1)利用連接電腦13()之耳機與麥 克風131撥打和接聽Skype網路電話;路徑)利用電話機 120撥打和接聽Skype網路電話。 RJ45未連接網際網路通訊協定網路I% : a· RJ11插座112連接公共交換電信網路118 : 如第八圖所示,路徑(2)利用連接電腦13〇之耳機與麥 200826572 克風131接聽來自公共交換電信網路118的電話。 b· RJ11插座112連接電話機120 : 如第九圖所示,將電話機12〇與連接電腦13〇之耳機與 麥克風131藉由電腦130分接以達成區域分機之目的。 另,上述之模組1〇〇更包令^一第一繼電器138與一第二 繼電器140 ’其中萬用串列匯流排控制模組11〇、電話用 戶介面電路模組122與直接存取編排模組124係經由 第一繼電138與RJ11插座112建立一通訊,而萬用串列 匯流排控制模組110、數據機元件116與電話用戶介面 電路模組122係經由第二繼電器14〇電性耦合至第一繼電器 138 ’且第二繼電器140係可選擇數據機功能或網路電話轉接 盒功能,參考第十圖所示,當第二繼電器14〇選擇數據機功能 時’上述之模組100執行如第四圖之路徑(2)。參考第^^一圖 所不,當第二繼電器140選擇網路電話轉接盒功能時,上述之 模組100之應用方式包含如第六圖至第九圖之所有路徑。 上述之實施例係包含下列情形: A· RJ11插座112連接公共交換電信網路118且電腦連接 網際網路通訊協定網路134 ; B. RJ11插座112連接公共交換電信網路118且電腦未連 接網際網路通訊協定網路134 ; 13 200826572 C. RJ11插座m連接餘機⑽且電腦連翻際網路通 訊協定網路134 ; D. RJ11插座112連接電話機12G且電腦未連接網際網路 通訊協定網路134。 其中當制結果係為情形A時,如第六圖所示,上述之 藉由單-顧插座實現自㈣測並切換局端介面與用戶端介 面之模組100的應用包含: 路徑(1):電腦130與網際網路通訊協定網路134建立 -通訊連結(例如電腦130、經由網際網路通訊協定網路134收 發一網路電話); 路徑(2):電腦130與公共交換電信網路118建立一通 §ίΙ連結(例如電腦130經由公共交換電信網路118收發一電 話); 路徑(3):網際網路通訊協定網路134與公共交換電信 網路118經由電腦130建立一通訊連結(例如電腦13〇轉接來 自網際網路通訊協定網路134之網路電話至公共交換電信網 路118 ’或是電腦130轉接來自公共交換電信網路118之電話 至網際網路通訊協定網路134)。 如第四圖所示,當偵測結果係為情形Β時,上述之應用 包含: 200826572 路彼(2):電腦13〇與公共交換電信網路118建立一通 訊連結(例如電腦130經由公共交換電信網路118收發一電 話)抑或數據機元件116經由公共交換電信網路118撥接至 網際網路通訊協定網路134,並且電腦130與網際網路通訊協 疋網路134建立一通訊連結(例如數據機元件116經由公共交 換電k網路118撥接至網際網路通訊協定網路134,並且電腦 130纟二由網際網路通訊協定網路I%收發一網路電話)。 如第七圖所示,當偵測結果係為情形c時,該應用包含: 路徑(1):電腦130與網際網路通訊協定網路134建立 一通訊連結(例如電腦13〇經由網際網路通訊協定網路134收 發一網路電話); 路徑(3):電話機120與網際網路通訊協定網路134建 立一通訊連結(例如電話機12〇經由網際網路通訊協定網路 134收發一網路電話)。 如第九圖所示,當偵測結果係為情形D時,該應用包含: 電話機120與電腦13〇建立一通訊連結(例如電話機與 連結電腦130之耳機及麥克風藉由電腦分接以達成區域分機 之目的)。 綜合上述並將加以適度擴充後,本發明更提供一種藉由 單一 RJ11插座實現自動偵測並切換局端介面與用戶端介面之 15 200826572 系統200。參考第十二圖所示,上述之系統2〇〇包含一通訊界 面延伸模組210、一電腦250、一第一遠端通訊裝置252、一 通訊裝置254、-網路通訊裝置256與―第二遠端通訊裝置 258。如第十三圖所示,其中上述之通訊界面延伸模組21〇包 含一第一通訊元件212、一 RJ11插座214、一第二通訊元件 216、一通訊控制元件218與一偵測模組220。 如第12圖所示,第一通訊元件212與上述之電腦25〇建 立一第一通訊連結222,第二通訊元件216經由RjU插座214 建立一第二通訊連結224。當RJ11插座214連接一公共交換電 信網路226時,第二通訊元件216透過公共交換電信網路226 與弟一运端通§fl裝置252建立第二通訊連結224,並且當RJ11 插座214連接通訊裝置254時,第二通訊元件216與通訊裝置 254建立第二通訊連結224。其中上述之第一通訊元件212係可 為萬用串列匯流排控制模組、藍芽模組、紅外線傳輸模組、 無線電波傳輸模組或其他可等效替換之模組,而上述之第二通 訊元件216係為下列群組之一及其組合:一直接存取編排模 組228、一電話用戶介面電路模組230與一數據機元件 232,且第二通訊元件216更可包含一第一繼電器234與一第二 繼電器236’其中第一通訊元件212、直接存取編排模組228 與電話用戶介面電路模組230係經由第一繼電器234與 RJ11插座214建立第二通訊連結224,以及第一通訊元件212、 200826572 數據機元件232與電話用戶介面電路模組230係經由第二 繼電器236電_合至第—繼電器234,參考第十四圖所示。 再者’第一遠端通訊裳置252係可為—公共交換電信網路之交 換機,通訊裝置254係可為一電話機。 〃上述之通訊控制元件218透過控制第一通訊連結拉與 第Ifl連、,、σ 224將第-遠端通訊裝置议與通訊裝置⑸之 成為電腦25G之-人機界面,例如將電話機做為上述之電腦 ’的人機介面,即可藉由撥打電話機峨由制250撥號至 網路電話,或是將公共交魏侧路之交換機#作上述之電腦 250的人機介面,電腦即可接聽來自公共交換電信網路224之 電話。其中上述之電腦250經由第一通訊連結222控制通訊控 制兀件218,且電腦250係連接一網際網路通訊協定網路26〇, 其中電腦經由網際網路通域线過—VGlp/VbIM通訊協定 交換一多媒體資料。上述之通訊控制元件218係可為直接存 取編排模組228與電話用戶介面電路模組230之一及 其組合。 上述之偵測模組220偵測RJ11插座214是否連接公共交 換電信網路226以產生一偵測結果,其中通訊控制元件218依 據偵測結果將通訊裝置254與第一遠端通訊裝置252之一成為 電腦250之人機界面。而上述之偵測模組220包含一電容組 238、直接存取編排模組228與電話用戶介面電路模組 17 200826572 23 0以偵測來自第二通訊連結224之一電氣訊號,其中電氣訊 號包含一撥號音、一電流與一電壓,且上述之電容組238係為 併聯之二電容。當直接存取編排模組228仿效拿起電話 時’電腦250經由電谷組238、電話用戶介面電路模組23〇 ^ 與第一通訊元件212偵測是否有一撥號音來自第二通訊連結 • 224,當電腦250經由電容組238偵測到撥號音來自第二通訊 連結224時,RJ11插座214係為連接公共交換電信網路226, 當電腦250經由電容組238未偵測到撥號音來自第二通訊連結 224時,RJ11插座214係為連接通訊裝置254。 另,當直接存取編排模組228仿效拿起電話時,直 接存取編排模組228偵測是否有一電流來自第二通訊連結 224,當直接存取編排模組228偵測到電流來自第二通訊 連結224時,RJ11插座214係為連接公共交換電信網路226, 當直接存取編排模組228未偵測到電流來自第二通訊連結 I‘ 224時,RJ11插座214係為連接通訊裝置254。 而上述之電話用戶介面電路模組230係偵測來自第 二通訊連結224之電麼是否大於一預設值,當電壓大於預設值 時’ RJ11插座214係為連接公共交換電信網路226,當電壓 小於一預設值時,RJ11插座214係為連接通訊裝置254。 參考第十五圖所示,上述之數據機元件232透過第一遠 端通訊裝置252連接網際網路通訊協定網路260,亦即數據機 18 200826572 元件232經由公共交換電信網路η6以透過公共交換電信網路 之交換機撥接上網。其中上述之數據機元件232係可内建於電 腦250,其中電腦250係可為一筆記型電腦。 • 而上述之第—遠端通訊裝置252經由公共交換電信網路 • 226撥打電話至第二通訊元件216以建立第二通訊連結似, 例如公共交換電侧路之交換機_公共賴電信網路⑽ 齡電話至第二通訊元件216以建立第二通訊連結224。反之 Γ 第二通訊元件216亦可經由公共交換電信網路226撥打電話至 第一遠端通訊252裝置建立第二通訊連結奴,例如第二通訊 兀件216經由公共交換電信網路226撥打電話至公共交換電信 網路之交換機以建立第二通訊連結224。 其中上述之電腦250經由網際網路通訊協定網路26〇與 周路通Λ襄置256建立-第二通訊連結262,電腦25〇經由第 〇 三通訊連結262交換多媒體資料,其中上述之網路通訊裝置 256係可為一遠端電腦。例如上述之電腦250、經由網際網路通 • 訊協定網路260與遠端電腦建立一 Skype網路電話之通訊。 故’上述之網路通訊褒置256係可為一遠端電腦與一網路電話 裝置之組合’其巾瓣f話裝聽可為—耳機與一麥克 風0 上述之人機界面亦可透過電腦25〇與網路通訊裝置256 父換多媒體資料。其中上述之網路通訊裝置256係可經由公共 19 200826572 交換電信網路226與-第二遠端通訊裝置258建立_第四通訊 連結264 ’電腦250、經由第四通訊連、结放與第二遠端通訊裝 置258交換多媒體資料,其中上述之第二遠端通訊裝置258係 可為-遠端f話機與公敎魏鋼路之交賴之—及其組 合。且上述之人機界面亦可透㈣腦25G與第二遠端通訊裝置 258交換多_資料。例如公共交魏細路之交換機或電話 機透過« 250鱗端電腦建綱路電話之通訊,或是公共交 換電信網路之交換機或電話機透過電腦25()與遠端電腦經由 公共交換電信網路挪與遠端電話機建立通訊。 其甲上述之電腦250經由第三通訊連結262接收-第一 控制-p 7並且依據第一控制命令控制通訊控制元件训要求 第f通訊元件216經由公共交換電信網路226撥打至第一遠端 L fl裝置252以建立第一通訊連結224。例如遠端電腦撥打網 路電話至上述之電腦㈣,並傳送第—控制命令至上述之電腦 250以要求電腦25〇控制通訊控制元件218 ’以要求第二通訊 几件216轉接上述之網路電話至公共交換電信網路226。 反之亦可藉由上述之電腦25〇經由人機界面接收一第二 控制命令,並且依據第二控制命令建立第三通訊連結加。例 如電知250接收來自公共交換電信網路之交換機或電話機撥 打的電話’並依據此一電話中的第二控制命令轉接電話至遠端 電腦。同理,上述之電腦25〇可依據第二控制命令要求網路通 20 200826572 訊裝置256建立第四通訊連結2科,亦即電腦25〇可依據第二 控制命令要求遠端電腦再轉接上述之電話至公共交換電信網 路之交換機或遠端電話機。 根據上述之實施例,本發明更提供—種通訊界面延伸之 方法,包含下列步驟: 藉由-第-通訊元件與-電腦建立—第—通訊連結; 藉由-第二通訊元件經由一仙!插座建立一第二通訊連 結’其中當RJ11插座連接—公共交換電信網路時,第二通訊 元件透過公共交換電信網路與—遠端通訊裝置建立第二通訊 連結’以及當RJ11插麟接―奶隨置時,帛二通訊元件與 通§fL裝置建立苐二通訊連結; 侧RJ11插座是否連接公共交換電信網路以產生一制 結果,並依據制絲控鄉—軌連結鮮三祕連結將通 訊裝置與遠端通訊裝置之—成為電腦之—人機界面。 另,上述之通訊界面延伸之方法更包含下列步驟: 藉由-數據機元件透過遠端通訊裝置連接一網際網路通 .il協疋、鹏’其巾上述之數據機元件伽建於電腦,其中電腦 係為一筆記型電腦。 其中上述之遠端通訊裝置經由公共交換電侧路撥打至 第-通Α元件賤立第二通訊連結,或上述之第二通訊元件經 21 200826572 置以建立第二通訊連 由A共父換電彳§網路撥打至遠端通訊裝 結。 本發明之另—實施例係為—種藉由單-RI11插座實現自 動價測並切換局端介面與肝端介面之方法,包含下列步驟: 藉由一第-通訊元件與-電腦建立一第一通訊連結; 藉由-第二通訊元件經由一削插座建立一第二通訊連 結’其中當则難連接—公共交換電信網路時,第二通訊 元件透過公共交換電信晴與—第—遠端通訊裝置建立第二 通訊連結,以及當謹_連接—通轉置時,第二通訊: 件與通§fl裝置建立第二通訊連結; 偵測則插座是科接公共賴電信網路以產生一偵測 結果,並錄侧絲騎域置鮮—輕觀裝置之」成 為電腦之一人機界面; 控制第-通訊連結與第二通訊連結將第—遠端通訊裳置 與通訊裝置之一成為上述之人機界面; 、 藉由電腦經由第-通訊連結控制通訊控制元件,並且電 腦連接-網際網路通訊協定網路,其中電腦經__路通訊 協定透過一 VoIP/VoIM通訊協定交換一多媒體資料。 11 另,上述之藉由單—㈣插座實現自動_並切換局端 介面與用戶端介面之方法更包含下列步驟: 22 200826572 網際網 ’其中 藉由一數據機元件透過第一遠端通訊裝 ^通訊協定祕,其巾上叙數_轉 電腦係為一筆記型電腦。 驟桃 揆 元 第 打至第^軌裝置麵公共親電信網路 翻請鱗立第二職魏,虹叙第二通訊 件糾公共交㈣信轉衡至第—遠俩絲置以建立 一通§fl連結。 而上狀電驗由崎_通娜物 裝置建立-帛謂财結,魏_第三觀秋 :料’其中上述之人機界面透蝴與網路通訊裝置交換多媒 體貧料,且上述之網路通訊裝置係為—遠端電腦與—網路電話 裝置之一及其組合。 再者,上述之網路通訊裝置經由公共交換電信網路與一The embodiment of the present invention is a single-RI11 socket to realize automatic _ and switch the fishing of the age-old surface oil-aged surface. It comprises a 10,000-series busbar control module 11〇, a socket 112, and a The detection module 114 and the data processor element 116 are detected. The above-mentioned universal serial busbar control module 110 is lightly coupled with a computer 130, and the RJ11 socket 112 is connected to one of a public switched telecommunication network (PSTN) 118 and a telephone 12G, and the detecting module The 114 system detects that the RJ11 socket 112 is connected to the public switched telecommunication network 118 or the telephone 120 according to the different characteristics of the RJ11 socket 112 electrical signal. The detection method is as follows: According to the voltage characteristic detection: Generally, the public switched telecommunication network The circuit 118 provides a voltage of 48V. Referring to the first figure, a subscriber line interface circuit (SLIC) module and a group 122 of the detection module 114 detect whether the RJ11 socket 112 has a voltage: if the voltage is greater than A preset value (for example, 9 200826572 sets the preset value to 18V), then the RJ11 socket 112 is connected to the public switched telecommunication network 118; if the voltage is less than the preset value, the RJ11 socket 112 is connected to the telephone 120. According to the current characteristic detection, a direct access arrangement (DAA) module 124 of the detection module 114 detects whether the RJ11 socket 112 has current by emulating a call (〇ff hook), and directly stores the current. When the layout module 124 is used to pick up the phone, a current flows through the direct access orchestration module 124, and the RJ11 socket 112 is connected to the public switched telecommunication network us because the direct access orchestration module 124 communicates with the public. The network ι 18 forms an electrical loop through which current flows; if no current flows through the direct access orchestration module 124, the RJ11 socket 112 is connected to the telephone 120. According to the signal frequency detection: the digital signal processing (DigitalSignalPr〇cess〇r, DSP) software in the computer 130 detects whether the RJli socket 112 has an audio component, and when the direct access programming module 124 imitates picking up the phone, the computer 13: Detecting whether the electrical signal of the RJ11 socket 112 has a dial tone through a capacitor group 126, the telephone user interface circuit module 122, and the universal serial bus control core group 110. When a dial tone is detected, the RJ11 socket ιΐ2 is connected to the public switched telecommunication network 118 because the public switched telecommunication network 118 will be 200826572 and directly access the orchestration module m-axis, when directly accessing, flat-arranging When the group 124 emulates a dry call, the public switched telecommunication network ιι 8 will convey a dial tone; if the f brain does not turn to the woven tone, the leg socket 112 is connected to the telephone 12G. The above-mentioned digital signal processing soft system can be complicated by the same Wei hard-road component, and the equivalent replacement is known to those skilled in the art, and will not be described here. The first figure shows the use of a single-RJ1J socket to implement the dual-network phone and data machine module 128 (four) flip and the above (10) shot as a notebook computer, through the above-mentioned system cut to know why the coffee socket 112 is connected, and then By using the above-mentioned module 128 in combination with the computer 130, it can be divided into the following applications: RJ11 socket 112 is connected to the telephone 120: As shown in the second figure, the path (1) is the earphone and microphone connected to the computer 13(). 131 dials and answers the skype network telephone; the path (3) is to make and receive the skype network telephone by using the telephone 120, wherein the computer 13 can connect to the Internet Protocol Network (IpNetw〇rk) 134 through the RJ45 socket 132. The RJ11 socket 112 is connected to the public switched telecommunication network n8: As shown in the fourth figure, the path (2) is dialed up by the data unit component 116, and the earphone and the microphone 131 connected to the computer 130 can be used to make and receive the skype network telephone. 11 200826572 The fifth figure shows the architecture of the VoIP adapter box using a single socket, and the architecture diagram of 136. The above detection method can be used to know the connection of the socket, and then the module 136 and the computer 13 〇Used together, can be divided into the following applications: RJ45 socket 132 has a connection to the Internet Protocol Network ι34: a · RJ11 socket 112 connects to the public switched telecommunications network: As shown in Figure 6, the path (1) uses the connection The computer 13 〇 headset and microphone 131 make and receive Skype network calls; the path (2) uses the headset connected to the computer 130 and the microphone 131 to answer the call from the public switched telecommunications network 118, the path (3) transfers the Skype network call to the public The telecommunications network 118 is switched, or the telephone from the public switched telecommunications network 118 is forwarded to the skype internet telephone. b. RJ11 socket 112 is connected to the telephone 12: as shown in the seventh figure, 'path (1) uses the headset connected to the computer 13 () to dial and receive the Skype network telephone; path) uses the telephone 120 to make and receive the Skype network Road call. RJ45 is not connected to the Internet Protocol Network I%: a· RJ11 socket 112 is connected to the public switched telecommunications network 118: As shown in the eighth figure, the path (2) uses the headset connected to the computer 13〇 with the wheat 200826572 gram wind 131 The call from the public switched telecommunications network 118 is answered. b. RJ11 socket 112 is connected to the telephone 120: As shown in the ninth figure, the telephone 12 is connected to the earphone and the microphone 131 connected to the computer 13 by the computer 130 to achieve the purpose of the regional extension. In addition, the above-mentioned module 1 further includes a first relay 138 and a second relay 140', wherein the universal serial bus control module 11, the telephone user interface circuit module 122 and the direct access orchestration The module 124 establishes a communication with the RJ11 socket 112 via the first relay 138, and the universal serial bus control module 110, the data machine component 116 and the telephone user interface circuit module 122 are powered by the second relay 14. Sexually coupled to the first relay 138 ' and the second relay 140 can select a data machine function or a network telephone transfer box function, as shown in the tenth figure, when the second relay 14 〇 selects the data machine function Group 100 performs path (2) as in the fourth figure. Referring to the figure, when the second relay 140 selects the function of the network telephone transfer box, the above-described application mode of the module 100 includes all the paths as shown in the sixth to ninth figures. The above embodiments include the following scenarios: A. RJ11 socket 112 is connected to the public switched telecommunications network 118 and the computer is connected to the Internet Protocol network 134; B. RJ11 socket 112 is connected to the public switched telecommunications network 118 and the computer is not connected to the Internet. Network Protocol Network 134; 13 200826572 C. RJ11 socket m connected to the remaining machine (10) and the computer connected to the network protocol network 134; D. RJ11 socket 112 connected to the telephone 12G and the computer is not connected to the Internet Protocol network Road 134. When the result of the system is Case A, as shown in the sixth figure, the application of the module 100 for performing (4) measurement and switching between the central interface and the client interface by using the single-guest socket includes: path (1) The computer 130 establishes a communication link with the Internet Protocol Network 134 (for example, the computer 130 transmits and receives a network call via the Internet Protocol Network 134); path (2): the computer 130 and the public switched telecommunication network 118 establishes a § Ι link (eg, computer 130 sends and receives a call via public switched telecommunication network 118); path (3): Internet Protocol Network 134 and public switched telecommunication network 118 establish a communication link via computer 130 ( For example, the computer 13 transfers the internet call from the internet protocol network 134 to the public switched telecommunication network 118' or the computer 130 transfers the call from the public switched telecommunication network 118 to the internet protocol network. 134). As shown in the fourth figure, when the detection result is a situation, the above application includes: 200826572 Lubi (2): The computer 13〇 establishes a communication link with the public switched telecommunications network 118 (for example, the computer 130 exchanges via the public The telecommunications network 118 sends and receives a telephone call) or the data unit component 116 is dialed to the Internet Protocol network 134 via the public switched telecommunications network 118, and the computer 130 establishes a communication link with the Internet communications infrastructure network 134 ( For example, the data unit component 116 is dialed to the internet protocol network 134 via the public switched k network 118, and the computer 130 transmits and receives a network call by the internet protocol network I%. As shown in the seventh figure, when the detection result is case c, the application includes: path (1): the computer 130 establishes a communication link with the internet protocol network 134 (for example, the computer 13 is connected to the Internet via the Internet) The protocol network 134 sends and receives a network call; path (3): the phone 120 establishes a communication link with the Internet Protocol Network 134 (eg, the phone 12 transmits and receives a network via the Internet Protocol Network 134). phone). As shown in the ninth figure, when the detection result is situation D, the application includes: the telephone 120 establishes a communication connection with the computer 13 (for example, the telephone and the headset and the microphone connected to the computer 130 are tapped by the computer to reach an area. The purpose of the extension). After the above is integrated and moderately expanded, the present invention further provides a system for automatically detecting and switching between a central interface and a client interface by using a single RJ11 socket. Referring to FIG. 12, the system 2 includes a communication interface extension module 210, a computer 250, a first remote communication device 252, a communication device 254, a network communication device 256, and a Two remote communication devices 258. As shown in FIG. 13 , the communication interface extension module 21 includes a first communication component 212 , an RJ11 socket 214 , a second communication component 216 , a communication control component 218 , and a detection module 220 . . As shown in FIG. 12, the first communication component 212 establishes a first communication link 222 with the computer 25, and the second communication component 216 establishes a second communication link 224 via the RjU socket 214. When the RJ11 socket 214 is connected to a public switched telecommunication network 226, the second communication component 216 establishes a second communication link 224 through the public switched telecommunication network 226 and the PDU device 252, and when the RJ11 socket 214 is connected to the communication. At device 254, second communication component 216 establishes a second communication link 224 with communication device 254. The first communication component 212 can be a universal serial bus control module, a Bluetooth module, an infrared transmission module, a radio wave transmission module or other equivalently replaceable modules, and the foregoing The second communication component 216 is one of the following groups and a combination thereof: a direct access orchestration module 228, a telephone user interface circuit module 230 and a data machine component 232, and the second communication component 216 can further include a first a relay 234 and a second relay 236', wherein the first communication component 212, the direct access programming module 228, and the telephone user interface circuit module 230 establish a second communication link 224 via the first relay 234 and the RJ11 socket 214, and The first communication component 212, 200826572 data device component 232 and the telephone user interface circuit module 230 are electrically coupled to the first relay 234 via the second relay 236, as shown in FIG. Furthermore, the first remote communication device 252 can be a switch for a public switched telecommunication network, and the communication device 254 can be a telephone. The communication control component 218 described above controls the first communication link to pull the first communication link, and the σ 224 to make the first-end communication device and the communication device (5) become the human-machine interface of the computer 25G, for example, using the telephone as The above-mentioned computer's human-machine interface can be dialed to the Internet phone by dialing the telephone number, or the switch of the public side of the Wei side road can be used as the human-machine interface of the above computer 250, and the computer can answer the call. A call from the public switched telecommunications network 224. The computer 250 controls the communication control component 218 via the first communication link 222, and the computer 250 is connected to an internet protocol network 26, wherein the computer passes through the Internet domain---------- Exchange a multimedia material. The above-mentioned communication control component 218 can be one of the direct access programming module 228 and the telephone user interface circuit module 230, and a combination thereof. The detection module 220 detects whether the RJ11 socket 214 is connected to the public switched telecommunication network 226 to generate a detection result. The communication control component 218 connects the communication device 254 to the first remote communication device 252 according to the detection result. Become the human machine interface of the computer 250. The detection module 220 includes a capacitor group 238, a direct access programming module 228, and a telephone user interface circuit module 17 200826572 23 0 for detecting an electrical signal from the second communication link 224, wherein the electrical signal includes A dial tone, a current and a voltage, and the capacitor group 238 is a parallel capacitor. When the direct access orchestration module 228 is similar to picking up the phone, the computer 250 detects whether there is a dial tone from the second communication link via the electric valley group 238, the telephone user interface circuit module 23, and the first communication component 212. When the computer 250 detects that the dial tone is from the second communication link 224 via the capacitor group 238, the RJ11 socket 214 is connected to the public switched telecommunication network 226, and when the computer 250 does not detect the dial tone via the capacitor group 238, the second When the communication link 224 is made, the RJ11 socket 214 is connected to the communication device 254. In addition, when the direct access orchestration module 228 is similar to pick up the phone, the direct access orchestration module 228 detects whether a current is from the second communication link 224, and when the direct access orchestration module 228 detects the current from the second When the communication link 224 is connected, the RJ11 socket 214 is connected to the public switched telecommunication network 226. When the direct access orchestration module 228 does not detect current from the second communication link I' 224, the RJ11 socket 214 is connected to the communication device 254. . The phone user interface circuit module 230 detects whether the power from the second communication link 224 is greater than a preset value. When the voltage is greater than the preset value, the RJ11 socket 214 is connected to the public switched telecommunication network 226. When the voltage is less than a predetermined value, the RJ11 socket 214 is connected to the communication device 254. Referring to the fifteenth figure, the data unit component 232 is connected to the Internet Protocol network 260 via the first remote communication device 252, that is, the data machine 18 200826572 component 232 is transmitted through the public switched telecommunication network η6. The switch that exchanges the telecommunication network dials up to access the Internet. The data device component 232 described above can be built into the computer 250, wherein the computer 250 can be a notebook computer. • The above-mentioned first-distal communication device 252 makes a call to the second communication component 216 via the public switched telecommunication network 226 to establish a second communication connection, such as a switch of the public switched electrical side road_public network (10) The phone calls to the second communication component 216 to establish a second communication link 224. Conversely, the second communication component 216 can also make a call to the first remote communication device 252 via the public switched telecommunication network 226 to establish a second communication link slave. For example, the second communication component 216 can make a call via the public switched telecommunication network 226. The switch of the public switched telecommunications network establishes a second communication link 224. The computer 250 is connected to the Zhoulutong device 256 via the Internet Protocol Network 26 and the second communication link 262. The computer 25 exchanges multimedia data via the third communication link 262, wherein the network communication device is The 256 Series can be a remote computer. For example, the computer 250 described above establishes a Skype network telephone communication with the remote computer via the Internet Protocol Network 260. Therefore, the above-mentioned network communication device 256 system can be a combination of a remote computer and a network telephone device, and its earphones can be used as a headset and a microphone. The above-mentioned human-machine interface can also be accessed through a computer. 25〇 and the network communication device 256 father to change the multimedia material. The above-mentioned network communication device 256 can establish a fourth communication link 264 'computer 250 via the public 19 200826572 exchange telecommunication network 226 and the second remote communication device 258, via the fourth communication connection, the connection and the second connection. The remote communication device 258 exchanges multimedia data, wherein the second remote communication device 258 can be a remote terminal and a combination of the public and the Weigang Road. And the above-mentioned human-machine interface can also exchange (4) brain 25G with the second remote communication device 258 to exchange more data. For example, the switch or telephone of the public Wi-Fi road can communicate with the remote computer through the public switched telecommunication network through the communication of the "250-scale computer-based computer road, or the switch or telephone of the public switched telecommunication network through the computer 25 (). Establish communication with the remote phone. The above-mentioned computer 250 receives the first control -p 7 via the third communication link 262 and controls the communication control component training request according to the first control command. The f communication component 216 is dialed to the first remote end via the public switched telecommunication network 226. L fl device 252 to establish a first communication link 224. For example, the remote computer dials the network phone to the computer (4), and transmits a first control command to the computer 250 to request the computer 25 to control the communication control component 218' to request the second communication component 216 to transfer the network. The call is made to the public switched telecommunications network 226. Alternatively, a second control command may be received via the human machine interface via the computer 25, and a third communication link may be established according to the second control command. For example, the drive 250 receives a call from a switch or telephone set by a public switched telecommunications network and forwards the call to the remote computer in accordance with a second control command in the call. Similarly, the above computer 25 can request the network communication 20 200826572 device 256 to establish a fourth communication link 2 according to the second control command, that is, the computer 25 can request the remote computer to transfer the above according to the second control command. The call is made to a switch or a remote telephone of the public switched telecommunications network. According to the above embodiments, the present invention further provides a method for extending a communication interface, comprising the steps of: establishing a first communication link by using a - communication element and a computer; and communicating with the second communication element via a fairy! The socket establishes a second communication link 'When the RJ11 socket is connected - the public switched telecommunication network, the second communication element establishes a second communication link with the remote communication device through the public switched telecommunication network' and when the RJ11 is plugged in - When the milk is installed, the second communication component establishes the second communication link with the §fL device; whether the side RJ11 socket is connected to the public switched telecommunication network to produce a system result, and according to the silk control township-rail connection The communication device and the remote communication device become the computer-human machine interface. In addition, the method for extending the communication interface further includes the following steps: connecting the Internet device through the remote communication device via the remote communication device, and the data component of the mobile device is built on the computer. The computer is a notebook computer. The remote communication device is connected to the first communication component via the public switched electrical side channel to establish a second communication link, or the second communication component is configured to establish a second communication connection by the A common parent.彳 § Network dialing to the remote communication assembly. Another embodiment of the present invention is a method for realizing automatic price measurement and switching between a central interface and a liver interface by a single-RI11 socket, comprising the following steps: establishing a first by a first communication component and a computer a communication link; by means of the second communication component via a cut-out socket to establish a second communication link, wherein when it is difficult to connect - the public switched telecommunication network, the second communication component transmits through the public exchange telecommunication and - the - remote The communication device establishes a second communication link, and when the connection is turned on, the second communication component establishes a second communication link with the device, and the detection socket is a public access network to generate a Detecting the result, and recording the side of the silk riding area - the light device is a human-machine interface of the computer; controlling the first-communication link and the second communication link to make the first-distal communication device and the communication device become the above The human-machine interface; control the communication control component via the first communication link through the computer, and the computer connection-internet communication protocol network, wherein the computer communicates through a VoIP/VoIM communication protocol via the __way communication protocol A multimedia information exchange. 11 In addition, the above method for automatically and _switching the central office interface and the user interface by the single-(four) socket further includes the following steps: 22 200826572 "Internet] through a first remote communication device by a data machine component The secret of the communication protocol is that the computer is a notebook computer. The beginning of the Taotao Yuan to the first rail device, the public pro-telecom network, please set up the second job, Wei, Hongxu, the second communication, correct the public relations (four) letter to the first - far two to set up a § Fl link. The upper-shaped electric test was established by the Qi _ Tongna object device - 帛 财 财 财, Wei _ third view of the autumn: "The above-mentioned human-machine interface through the butterfly and the network communication device exchange multimedia poor materials, and the above network The road communication device is one of a remote computer and a network telephone device and a combination thereof. Furthermore, the above network communication device is connected to the public via a public switched telecommunication network.
第二遠端通訊裝置建立-第四通訊連結,電腦經由第三通訊連 結與第四軌連結與第二遠端觀裝置交換多舰資料,其中 上述之人機界面透過電職第二遠端通訊裝置交換多媒體資 料,且上述之第二遠端通訊展置係為一電話機與一公共交換電 信網路之交換機之一及其組合。 其中上述之電腦係可經由第三通訊連結接收—第一控制 命令,並域據第-㈣命令控制軌_元件要求第二通訊 23 200826572 交換電信網路撥打至第-遠端通訊裳置以建立 結。同理’上述之電腦亦可經由上述之人機界面接 控制命令,並且依據第二控制命令建立第三通訊連 立 ^,或是上述之電腦依據第二控制命令要求網路通訊裝 第四通訊連結。The second remote communication device establishes a fourth communication link, and the computer exchanges the multi-ship data with the second remote view device via the third communication link and the fourth track connection, wherein the human-machine interface passes through the second remote communication of the electric service The device exchanges multimedia material, and the second remote communication display is a switch and a combination of a telephone and a public switched telecommunication network. The computer system can receive the first control command via the third communication link, and control the track_component to request the second communication according to the (4)th command. The 200826572 exchange telecommunication network dials to the first-end communication device to establish Knot. Similarly, the above computer can also be connected to the control command via the above-mentioned human-machine interface, and the third communication connection is established according to the second control command, or the computer is required to request the fourth communication link according to the second control command. .
八上述之偵測結果係藉由一 _存取編排模組_來 2第「通訊連結之-魏峨產生化上述之賊訊號係包含 撥就音’其中當直接存取編排模組仿效拿起電話時,電腦經 由一電容組、-電話用戶介面電路模組與第—通訊元賴 測是否有-織音來自第二通訊賴,t電職由電容_測 到撥號音來自第二通訊連結時,顧插觸為連接—公共交 換電信網路,當賴經由電容組未侧曝號音來自第二通訊 連、、Ό時,RJ11插座係為連接通訊裝置。其中上述之電容組係 為併聯之二電容。The above detection results are obtained by an _access programming module _ to the second "communication link - Wei Wei generated the above thief signal system contains dial tone" where the direct access orchestration module imitates pick up When the phone is on, the computer passes through a capacitor group, the telephone user interface circuit module and the first communication element to determine whether there is a sound from the second communication, and the power is measured by the capacitor _ when the dial tone is from the second communication link. The plug-in is a connection-public switched telecommunication network. When the un-exposed sound of the capacitor group is from the second communication link, the RJ11 socket is connected to the communication device. The above-mentioned capacitor group is connected in parallel. Two capacitors.
上述之電氣訊號更包含一電流,其中當直接存取編排模 组仿效拿起電話時’直接存取編排模組债測是否有一電流來自 卓一通訊連結,當直接存取編排模組偵測到電流來自第二通訊 連結時,RJ11插座係為連接一公共交換電信網路,當直接存 取編排模組未彳貞測到電流來自第二通訊連結時,RJU插座係 為連接通訊裝置。 上述之電氣訊號亦包含一電壓,並藉由一電話用戶介面 24 200826572 電路模組偵測來自第二通訊連結之一電壓是否大於一預設 值,當電壓大於預設值時,RJ11插座係為連接一公共交換電 信網路,當電壓小於-預設辦,咖插絲為連接通訊裝 置。 其中上述之第-遠端通訊裝置係可為-公共交換電信網 路之父換機’上述之第二遠端通訊裝置係可為電話機與公共交 換電信網路之交換機之-及其組合,上述之軌裝置係可為一 電話機’上述之第-通訊元件係可為序列埠、並解、萬用串 列匯流排控制模、组、藍芽模組、紅外線傳輸模組與無線電波 傳輸模組之-及其組合或其他具有相通魏之裝置皆可等效 替換,而上述之第二通訊元件係可為—電話用戶介面電路 模組、-直接存取編排模組與一數據機元件之一及其植合。 顯然地’依照上面實施财的描述,本發財能有許多 的修正與差異。因此需要在細加的侧要求項之範圍内加以 理解’除了上述詳細的描述外,本發明還可以廣泛地在其他的 實施例中施行。上述僅為本發明之較佳實施例而已,並_以 限定本發明之申請專利範圍;凡其它未脫離本發騎揭示之精 神下所完成的等效改魏修飾,均應包含在下述申請專利範^ 内。 _ 25 200826572 【圖式簡單說明】 第一圖係為偵測RJ11插座之結構示意圖; 第二圖、第三圖與第四圖係為使用單一 RJ11實現雙網路電 話和數據機之結構示意圖; 第五圖、第/、圖、第七圖、第八圖與第九圖係為使用單一 實現網路電話轉接盒之結構示意圖; 第十圖與第十一圖係為結合數據機功能與網路電話轉接盒 能之結構示意圖;以及 第十二圖、第十三圖、第十四圖與第十五圖係為本發明一實 施例之結構示意圖。 ' 【主要元件符號說明】 藉由單RJ11插座實現自動偵測並切換局端介面 戶端介面之模組 〃 萬用串列匯流排控制模組 112 RJ11 插座 114 偵測模組 U6 數據機元件 118 公共交換電信網路 !2〇電話機 122 電話用戶介面電路模組 26 200826572 124 直接存取編排模組 126 電容組 128 使用單一 RJ11插座以實現雙網路電話和數據機之模組 130 電腦 ~ 131 耳機與麥克風 • 132 RJ45插座 134 網際網路通訊協定網路 f 136 使用單一 RJ11插座實現網路電話轉接盒之模組 138 第一繼電器 140 第二繼電器 200 藉由單一 RJ11插座實現自動偵測並切換局端介面與用 戶端介面之系統 210 通訊界面延伸模組 212 第一通訊元件 ί; 214 RJ11 接口 216 第二通訊元件 218 通訊控制元件 220 偵測模組 222 第一通訊連結 224 第二通訊連結 226 公共交換電信網路 27 200826572 228 直接存取編排模組 230 電話用戶介面電路模組 232 數據機元件 234 第一繼電器 236 第二繼電器· 238 電容組 250 電腦 252 第一遠端通訊裝置 254 通訊裝置 256 網路通訊裝置 258 第二遠端通訊裝置 260 網際網路通訊協定網路 262 第三通訊連結 264 第四通訊連結 28The above electrical signal further includes a current, wherein when the direct access orchestration module imitates picking up the phone, the direct access programming module measures whether a current comes from the Zhuoyi communication link, and when the direct access programming module detects When the current comes from the second communication link, the RJ11 socket is connected to a public switched telecommunication network. When the direct access programming module does not measure the current from the second communication link, the RJU socket is connected to the communication device. The above electrical signal also includes a voltage, and the voltage of one of the second communication links is greater than a preset value by a telephone user interface 24 200826572 circuit module. When the voltage is greater than a preset value, the RJ11 socket is Connected to a public switched telecommunications network, when the voltage is less than - preset, the coffee plug is connected to the communication device. The above-mentioned first-distal communication device may be a parent of a public switched telecommunication network. The second remote communication device may be a switch of a telephone and a public switched telecommunication network, and a combination thereof. The track device can be a telephone. The above-mentioned first communication component can be a serial port, a parallel solution, a universal serial bus bar control module, a group, a Bluetooth module, an infrared transmission module and a radio wave transmission module. And the combination thereof or other devices having the same Wei can be equivalently replaced, and the second communication component can be one of a telephone user interface circuit module, a direct access programming module and a data device component. And its planting. Obviously, according to the description of the above implementation, there are many corrections and differences in this wealth. Therefore, it is to be understood that within the scope of the appended claims, the invention may be practiced in other embodiments. The above are only the preferred embodiments of the present invention, and are intended to limit the scope of the claims of the present invention; all other equivalent modifications that have been made without departing from the spirit of the present disclosure should be included in the following patent application. Fan ^ inside. _ 25 200826572 [Simple diagram of the diagram] The first diagram is a schematic diagram of the structure of the RJ11 socket; the second diagram, the third diagram and the fourth diagram are schematic diagrams of the structure of the dual network telephone and the data machine using a single RJ11; The fifth diagram, the fourth diagram, the seventh diagram, the eighth diagram, the eighth diagram and the ninth diagram are schematic diagrams of the structure using a single implementation network telephone transfer box; the tenth diagram and the eleventh figure are combined with the data machine function and A schematic diagram of the structure of the network telephone transfer box; and the twelfth, thirteenth, fourteenth and fifteenth drawings are schematic structural views of an embodiment of the present invention. ' [Main component symbol description] Automatic detection and switching of the interface of the central office interface by a single RJ11 socket 〃 Universal serial bus control module 112 RJ11 socket 114 detection module U6 data machine component 118 Public switched telecommunications network! 2〇 telephone 122 telephone user interface circuit module 26 200826572 124 direct access orchestration module 126 capacitor group 128 using a single RJ11 socket to implement a dual network telephone and data system module 130 computer ~ 131 headphones With microphone • 132 RJ45 socket 134 Internet Protocol Network f 136 Module for VoIP box using a single RJ11 socket 138 First relay 140 Second relay 200 Automatic detection and switching by a single RJ11 socket System interface and user interface interface 210 communication interface extension module 212 first communication component ί; 214 RJ11 interface 216 second communication component 218 communication control component 220 detection module 222 first communication link 224 second communication link 226 Public switched telecommunication network 27 200826572 228 Direct access orchestration module 230 Telephone user interface Circuit module 232 data machine component 234 first relay 236 second relay · 238 capacitor bank 250 computer 252 first remote communication device 254 communication device 256 network communication device 258 second remote communication device 260 internet communication protocol network Road 262 third communication link 264 fourth communication link 28