TWI412248B - Router and method for controlling connection of a telephone conversation by the same - Google Patents
Router and method for controlling connection of a telephone conversation by the same Download PDFInfo
- Publication number
- TWI412248B TWI412248B TW99126375A TW99126375A TWI412248B TW I412248 B TWI412248 B TW I412248B TW 99126375 A TW99126375 A TW 99126375A TW 99126375 A TW99126375 A TW 99126375A TW I412248 B TWI412248 B TW I412248B
- Authority
- TW
- Taiwan
- Prior art keywords
- router
- telephone
- external
- user interface
- interface
- Prior art date
Links
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本發明涉及一種路由器,尤其涉及一種路由器控制通話連接之方法。 The present invention relates to a router, and more particularly to a method for a router to control a call connection.
隨著網際網路之發展及普及,網際網路語音協定(Voice over Internet Protocol,VOIP)技術以得到廣泛之應用。VOIP是一種由IP網路傳送話音之技術服務,用戶可利用VOIP裝置藉由網際網路撥打電話。 With the development and popularity of the Internet, Voice over Internet Protocol (VOIP) technology is widely used. VOIP is a technology service that delivers voice over IP networks. Users can make calls over the Internet using VOIP devices.
習知之VOIP裝置至少包括路由器及電話機,所述路由器包括繼電器、分別連接至所述繼電器之外部交換用戶(Foreign eXchange Subscriber或者Foreign eXchange Station,FXS)介面及外部交換站(Foreign eXchange Office,FXO)介面。所述電話機連接至所述FXS介面,並藉由所述FXS撥打VOIP電話;所述FXO介面連接至公共交換電話網絡(Public Swi tched Telephone Network,PSTN)。當所述路由器斷電時,所述繼電器可自動切換使所述FXS介面與所述FXO介面相互連接,此時所述電話機可藉由所述FXO介面撥打PSTN電話。 The conventional VOIP device includes at least a router and a telephone, and the router includes a relay, an external e-change subscriber (Foreign eXchange Subscriber or Foreign eXchange Station, FXS) interface, and a Foreign eXchange Office (FXO) interface respectively connected to the relay. . The telephone is connected to the FXS interface and dials a VOIP call by the FXS; the FXO interface is connected to a Public Switched Telephone Network (PSTN). When the router is powered off, the relay can automatically switch to interconnect the FXS interface with the FXO interface, and the phone can dial the PSTN phone through the FXO interface.
惟,當網際網路重新建立連接或者路由器重新上電時,所述路由 器之系統電源為所述繼電器提供大致3.3V之電源,此時所述繼電器會自動斷開所述FXS介面與所述FXO介面之連接,此時若用戶正在藉由FXO介面撥扣PSTN電話,則會使用戶之通話自動中斷。 However, when the Internet re-establishes the connection or the router is powered back on, the route The system power supply provides a power supply of approximately 3.3V to the relay. At this time, the relay automatically disconnects the FXS interface from the FXO interface. If the user is dialing the PSTN phone through the FXO interface, This will automatically interrupt the user's call.
本發明實施方式中之路由器包括外部交換用戶介面、外部交換站介面、電性連接至所述外部交換用戶介面與所述外部交換站介面之間之繼電器、檢測電路及控制電路,所述外部交換用戶介面連接至電話機,所述外部交換站介面連接至公共交換電話網路,當路由器斷電時,所述檢測電路用於檢測所述外部交換用戶介面與所述電話機之間是否處於接通(通話中)狀態;所述控制電路,用於根據所述檢測電路之檢測結果及所述路由器之上電狀態來控制所述繼電器之開關狀態;若所述外部交換用戶介面與所述電話機之間處於接通狀態,則所述控制電路使所述繼電器保持閉合狀態,即保持所述外部交換用戶介面與所述外部交換站介面處於連接狀態。 The router in the embodiment of the present invention includes an external switching user interface, an external switching station interface, and a relay, a detecting circuit and a control circuit electrically connected between the external switching user interface and the external switching station interface, and the external switching The user interface is coupled to the telephone, the external switching interface being connected to the public switched telephone network, and wherein the detecting circuit is configured to detect whether the external switched user interface is in communication with the telephone when the router is powered off ( a control state, wherein the control circuit is configured to control a switch state of the relay according to a detection result of the detection circuit and an electrical state of the router; if the external exchange user interface is between the user and the phone In the on state, the control circuit maintains the relay in a closed state, i.e., maintains the external switching user interface in a connected state with the external switching station interface.
本發明實施方式中之路由器控制通話連接之方法包括如下步驟:路由器斷電;所述檢測電路檢測所述外部交換用戶介面與所述電話機之間是否處於接通(通話中)狀態;當所述外部交換用戶介面與所述電話機之間處於接通狀態時,所述控制電路控制所述繼電器保持閉合狀態,即保持所述外部交換用戶介面與所述外部交換站介面處於連接狀態。 The method for controlling a call connection by the router in the embodiment of the present invention includes the following steps: the router is powered off; the detecting circuit detects whether the external switched user interface and the telephone are in a connected (in-call) state; The control circuit controls the relay to remain in a closed state when the external exchange user interface is in an on state between the telephone and the telephone, i.e., to maintain the external exchange user interface in a connected state with the external exchange interface.
相較於習知技術,本發明所述之路由器藉由設置檢測電路檢測所述電話機與所述FXS介面是否處於接通狀態,所述控制電路藉由 所述檢測電路之檢測結果以及所述路由器之上電狀態來控制所述繼電器,即當所述FXS介面與所述電話機處於接通狀態時,無論所述路由器是否重新上電,所述繼電器都保持閉合狀態,以保持所述FXS介面與所述FXO介面之間之連接,如此可確保電話機在撥扣PSTN電話不會因為路由器重新上電而中斷。 Compared with the prior art, the router of the present invention detects whether the telephone and the FXS interface are in an on state by setting a detection circuit, wherein the control circuit The detection result of the detecting circuit and the power-on state of the router to control the relay, that is, when the FXS interface is in an on state, the relay is activated regardless of whether the router is powered on again The closed state is maintained to maintain the connection between the FXS interface and the FXO interface, thus ensuring that the telephone is not interrupted by the PSTN call being re-powered by the router.
10‧‧‧路由器 10‧‧‧ router
11‧‧‧FXS介面 11‧‧‧FXS interface
12‧‧‧FXO介面 12‧‧‧FXO interface
13‧‧‧繼電器 13‧‧‧ Relay
14‧‧‧檢測電路 14‧‧‧Detection circuit
15‧‧‧控制電路 15‧‧‧Control circuit
16‧‧‧指示器 16‧‧‧ indicator
20‧‧‧電話機 20‧‧‧ telephone
30‧‧‧PSTN 30‧‧‧PSTN
圖1所示為本發明較佳實施方式路由器連接至電話機及PSTN之功能模組圖;圖2所示為圖1所示路由器之工作流程圖。 1 is a functional block diagram of a router connected to a telephone and a PSTN according to a preferred embodiment of the present invention; and FIG. 2 is a flow chart of the operation of the router shown in FIG. 1.
請參閱圖1,本發明較佳實施方式之路由器10包括FXS介面11、FXO介面12、電性連接至所述FXS介面11及FXO介面12之間之繼電器13、檢測電路14、控制電路15及指示器16。 Referring to FIG. 1 , a router 10 according to a preferred embodiment of the present invention includes an FXS interface 11 , an FXO interface 12 , a relay 13 electrically connected between the FXS interface 11 and the FXO interface 12 , a detection circuit 14 , and a control circuit 15 . Indicator 16.
所述FXS介面11連接至電話機20,所述FXO介面12連接至PSTN30。所述繼電器13閉合時使所述FXS介面11與所述FXO介面12之間建立連接,使得用戶可藉由所述電話機20撥打PSTN電話。 The FXS interface 11 is connected to the telephone 20, and the FXO interface 12 is connected to the PSTN 30. When the relay 13 is closed, a connection is established between the FXS interface 11 and the FXO interface 12, so that the user can make a PSTN call by the telephone 20.
所述檢測電路14電性連接至所述FXS介面11與所述繼電器13之間,用於檢測所述FXS介面11與所述電話機20之間是否處於接通狀態。在本較佳實施方式中,所述檢測電路14藉由檢測所述FXS介面11與所述繼電器13之間是否有電流流過來判斷所述FXS介面11與所述電話機20之間是否處於接通(通話中)狀態。 The detecting circuit 14 is electrically connected between the FXS interface 11 and the relay 13 for detecting whether the FXS interface 11 and the telephone 20 are in an on state. In the preferred embodiment, the detecting circuit 14 determines whether the FXS interface 11 and the telephone 20 are connected by detecting whether there is current flowing between the FXS interface 11 and the relay 13. (in progress) status.
所述控制電路15電性連接至所述繼電器13與所述檢測電路14之間 ,且所述控制電路15電性連接至所述路由器10之電源開關(圖未示),用於根據所述檢測電路1'4之檢測結果及所述路由器10之上電狀態來控制所述繼電器13之開關狀態。當用戶撥打PSTN電話,即所述FXS介面11與電話機20之間接通時,無論所述路由器10是否上電,所述控制電路15都使所述繼電器13保持閉合狀態,以使所述電話機20、FXS介面11與FXO介面12三者之間保持接通狀態;當所述電話機20與所述FXS介面11之間掛斷且所述路由器10上電時,所述控制電路15使所述繼電器13斷開,以使所述FXS介面11與FXO介面12之間斷開,此時,用戶可藉由電話機20撥打VOIP電話。 The control circuit 15 is electrically connected between the relay 13 and the detection circuit 14 And the control circuit 15 is electrically connected to the power switch (not shown) of the router 10, and is configured to control the detection according to the detection result of the detection circuit 1'4 and the power state of the router 10. The switching state of the relay 13. When the user dials the PSTN call, that is, when the FXS interface 11 is connected to the telephone 20, the control circuit 15 keeps the relay 13 closed regardless of whether the router 10 is powered on, so that the telephone 20 is enabled. The FXS interface 11 and the FXO interface 12 remain in an on state; when the telephone 20 and the FXS interface 11 are hung up and the router 10 is powered on, the control circuit 15 causes the relay 13 is disconnected to disconnect the FXS interface 11 from the FXO interface 12, at which time the user can make a VOIP call by the telephone 20.
所述指示器16電性連接至所述繼電器13與所述FXS介面11之間,用於指示所述電話機20與所述FXS介面11之間之連接狀態。當所述電話機20與所述FXS介面11之間接通時,所述指示器16發亮;當所述電話機20與所述FXS介面11之間掛斷時,所述指示器16熄滅。 The indicator 16 is electrically connected between the relay 13 and the FXS interface 11 for indicating the connection state between the telephone 20 and the FXS interface 11. The indicator 16 illuminates when the telephone 20 is switched between the FXS interface 11 and the FXS interface 11, and the indicator 16 is extinguished when the telephone 20 is hung up from the FXS interface 11.
請參閱圖2,所述路由器10對通話連接進行控制時,其主要包括以下步驟: Referring to FIG. 2, when the router 10 controls the call connection, the method mainly includes the following steps:
步驟S1:路由器10斷電。此時,繼電器13閉合,使得FXS介面11連接至FXO介面12,用戶可使用電話機20藉由所述FXO介面撥打PSTN電話。 Step S1: The router 10 is powered off. At this time, the relay 13 is closed, so that the FXS interface 11 is connected to the FXO interface 12, and the user can use the telephone 20 to make a PSTN call through the FXO interface.
步驟S2:所述檢測電路14判斷所述FXS介面11與所述電話機20之間是否處於接通狀態。若是,則進入步驟S3及S5,若不是,則進 入步驟S4。 Step S2: The detecting circuit 14 determines whether the FXS interface 11 and the telephone 20 are in an on state. If yes, go to steps S3 and S5, if not, then enter Proceed to step S4.
步驟S3:指示器16發亮。 Step S3: The indicator 16 is illuminated.
步驟S4:指示器16熄滅。 Step S4: The indicator 16 is turned off.
步驟S5:所述控制電路15檢測所述路由器10是否重新上電。若是,則進入步驟S6,若不是,則進入步驟S7。 Step S5: The control circuit 15 detects whether the router 10 is powered on again. If yes, go to step S6, if not, go to step S7.
步驟S6:繼電器13繼續保持閉合,與電話機20、FXS介面11與FXO介面12之間繼續保持接通狀態。 Step S6: The relay 13 continues to remain closed, and remains in an on state with the telephone 20, the FXS interface 11 and the FXO interface 12.
步驟S7:所述檢測電路14判斷所述FXS介面11與所述電話機20之間是否處於掛斷狀態。若是,則進入S8,若不是,則返回S5。 Step S7: The detecting circuit 14 determines whether the FXS interface 11 and the telephone 20 are in a hanging state. If yes, go to S8, if not, go back to S5.
步驟S8:繼電器13斷開所述FXS介面11與所述FXO介面12之間之連接,此時路由器10恢復初始設定。 Step S8: The relay 13 disconnects the connection between the FXS interface 11 and the FXO interface 12, at which time the router 10 resumes the initial setting.
本發明所述之路由器10藉由設置檢測電路14檢測所述電話機20與所述FXS介面11是否處於接通狀態,所述控制電路15藉由所述檢測電路14之檢測結果以及所述路由器10之上電狀態來控制所述繼電器13,即當所述FXS介面11與所述電話機20處於接通狀態時,無論所述路由器10是否重新上電,所述繼電器13都保持閉合狀態,以保持所述FXS介面11與所述FXO介面12之間之連接,如此可確保電話機20在撥打PSTN電話不會因為路由器10重新上電而中斷。 The router 10 of the present invention detects whether the telephone 20 and the FXS interface 11 are in an on state by setting the detection circuit 14, and the control circuit 15 detects the result by the detection circuit 14 and the router 10 The power-on state controls the relay 13, that is, when the FXS interface 11 and the telephone 20 are in an on state, the relay 13 remains closed regardless of whether the router 10 is powered back on, to maintain The connection between the FXS interface 11 and the FXO interface 12 ensures that the telephone 20 is not interrupted when the PSTN call is made because the router 10 is powered back on.
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以 下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and those skilled in the art will be included in the equivalent modifications or changes in the spirit of the invention. Within the scope of the patent application.
10‧‧‧路由器 10‧‧‧ router
11‧‧‧FXS介面 11‧‧‧FXS interface
12‧‧‧FXO介面 12‧‧‧FXO interface
13‧‧‧繼電器 13‧‧‧ Relay
14‧‧‧檢測電路 14‧‧‧Detection circuit
15‧‧‧控制電路 15‧‧‧Control circuit
16‧‧‧指示器 16‧‧‧ indicator
20‧‧‧電話機 20‧‧‧ telephone
30‧‧‧PSTN 30‧‧‧PSTN
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99126375A TWI412248B (en) | 2010-08-06 | 2010-08-06 | Router and method for controlling connection of a telephone conversation by the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW99126375A TWI412248B (en) | 2010-08-06 | 2010-08-06 | Router and method for controlling connection of a telephone conversation by the same |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201208309A TW201208309A (en) | 2012-02-16 |
TWI412248B true TWI412248B (en) | 2013-10-11 |
Family
ID=46762456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW99126375A TWI412248B (en) | 2010-08-06 | 2010-08-06 | Router and method for controlling connection of a telephone conversation by the same |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI412248B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI262704B (en) * | 2004-12-24 | 2006-09-21 | Inventec Multimedia & Telecom | VoIP terminal with PSTN connection supported |
TW200726148A (en) * | 2005-12-21 | 2007-07-01 | Accton Technology Corp | Personal gateway and the method of processing the same |
TW200826572A (en) * | 2006-12-14 | 2008-06-16 | F3 Inc | Auto-sensing module and method for switching between FXO and FXS interfaces via single RJ11 |
-
2010
- 2010-08-06 TW TW99126375A patent/TWI412248B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI262704B (en) * | 2004-12-24 | 2006-09-21 | Inventec Multimedia & Telecom | VoIP terminal with PSTN connection supported |
TW200726148A (en) * | 2005-12-21 | 2007-07-01 | Accton Technology Corp | Personal gateway and the method of processing the same |
TW200826572A (en) * | 2006-12-14 | 2008-06-16 | F3 Inc | Auto-sensing module and method for switching between FXO and FXS interfaces via single RJ11 |
Also Published As
Publication number | Publication date |
---|---|
TW201208309A (en) | 2012-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2004336756A (en) | Computer telephony integration adapter | |
DE60333135D1 (en) | METHOD AND COMMUNICATION SYSTEM FOR AUTOMATIC DISCOVERY OF MULTIMEDIA SERVICE CAPABILITY | |
TW200735591A (en) | Communication device supporting both internet and public switched telephone network telephony | |
US20070165611A1 (en) | Phone device for public switched telecommunication network and voice over internet protocol network | |
US7693136B1 (en) | Reverting to analog service from IP phone | |
TWI412248B (en) | Router and method for controlling connection of a telephone conversation by the same | |
JP5516774B2 (en) | System and method for preventing loss of first call of VoIP terminal (System method for preventing first call loss VoIP) | |
TWI532397B (en) | Communication terminal device and emergency communication method thereof | |
CN102347841B (en) | Router and conversation connection control method thereof | |
KR102030853B1 (en) | Home gateway with standby state support | |
TW595194B (en) | A community dialing circuit apparatus for POTS phone and IP phone | |
CN103647888B (en) | A kind of magnetite phone communication means based on Asterisk and device | |
JP2005318220A5 (en) | ||
US20040071277A1 (en) | Multi-gateway communications system with switching control method | |
JP5157962B2 (en) | Telephone table | |
US7944911B2 (en) | Network device | |
JP2009147503A (en) | Power saving ip telephony system | |
JP2004032288A (en) | Communication adapter and its control method | |
JP2008022359A (en) | Communication equipment | |
TWI472193B (en) | The method of receiving the voice service | |
JP5516775B2 (en) | Power-saving IP phone main unit | |
JP2005303470A5 (en) | ||
JP2005303470A (en) | Ip phone, control apparatus, and call termination notice method | |
TW201507435A (en) | Access device of telephone network | |
TWI538464B (en) | Mobile phone and method for hanging up the mobile phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |