Nothing Special   »   [go: up one dir, main page]

CN102347841B - Router and conversation connection control method thereof - Google Patents

Router and conversation connection control method thereof Download PDF

Info

Publication number
CN102347841B
CN102347841B CN201010241356.6A CN201010241356A CN102347841B CN 102347841 B CN102347841 B CN 102347841B CN 201010241356 A CN201010241356 A CN 201010241356A CN 102347841 B CN102347841 B CN 102347841B
Authority
CN
China
Prior art keywords
interface
router
subscriber
telephone set
outside
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201010241356.6A
Other languages
Chinese (zh)
Other versions
CN102347841A (en
Inventor
周玉柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201010241356.6A priority Critical patent/CN102347841B/en
Publication of CN102347841A publication Critical patent/CN102347841A/en
Application granted granted Critical
Publication of CN102347841B publication Critical patent/CN102347841B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a router, which comprises an external exchange user interface, an external exchange station interface, a relay, a detection circuit and a control circuit, wherein the relay is electrically connected between the external exchange user interface and the external exchange station interface, the external exchange user interface is connected to a telephone, and the external exchange station interface is connected to a public exchange telephone network path. When the power of the router is switched off, the detection circuit is used for detecting whether the external exchange user interface and the telephone are in a communicated state or not. The control circuit controls the switching state of the relay according to the detection results of the detection circuit and the electrification state of the router. When an external exchange user and the telephone are in a communicated state, the control circuit controls the relay to maintain the closed state. The invention also relates to a method for the router to control the conversation connection. The router has the advantage that users can be prevented from the interruption during the public switched telephone network (PSTN) telephone dialing through foreign exchange office (FXO) interfaces.

Description

The method that router and control call thereof connect
Technical field
The present invention relates to a kind of router, relate in particular to a kind of method that router control call connects.
Background technology
Along with the development of internet and universal, internet voice protocol (Voice over InternetProtocol, VOIP) technology is to be widely used.VOIP is a kind of technological service that is transmitted speech by IP network, and user can utilize VOIP device to call by internet.
Existing VOIP device at least comprises router and telephone set, (Foreign eXchangeSubscriber or Foreign eXchange Station are exchangeed subscriber in the outside that described router comprises relay, be connected to respectively described relay, FXS) interface and FXS (Foreign eXchange Office, FXO) interface.Described telephone set is connected to described FXS interface, and dials VOIP phone by described FXS; Described FXO interface is connected to PSTN (Public Switched Telephone Network, PSTN).When described router power-off, described relay can automatically switch described FXS interface and described FXO interface are interconnected, and now described telephone set can be dialed pstn telephone by described FXO interface.
But, when re-establishing, internet connects or router while re-powering, the system power supply of described router provides the roughly power supply of 3.3V for described relay, now described relay can disconnect being connected of described FXS interface and described FXO interface automatically, if now user dials pstn telephone by FXO interface, can make user's call automatically interrupt.
Summary of the invention
In view of this, be necessary to provide a kind of user of avoiding to dial the interrupted router of PSTN and control the method that call connects by FXO interface.
Router in embodiment of the present invention comprise outside exchange subscriber interface, FXS interface, be electrically connected to relay, testing circuit and the control circuit exchangeed subscriber between interface and described FXS interface in described outside, exchange subscriber interface and be connected to telephone set in described outside, described FXS interface is connected to public switch telephone network road, when router power-off, whether described testing circuit exchanges subscriber between interface and described telephone set in on-state for detection of described outside; Described control circuit, for controlling the on off state of described relay according to the power-up state of the testing result of described testing circuit and described router; If exchange subscriber in described outside and described telephone set between in on-state, described control circuit is kept closed described relay.
As a further improvement on the present invention, if exchange subscriber in described outside and described telephone set between in hanging up state, and described router re-powers, described control circuit makes described relay disconnect described outside to exchange subscriber being connected between interface and described FXS interface.
As a further improvement on the present invention, whether described testing circuit is exchangeed subscriber and between interface and described relay, is had electric current flow through to judge that whether described outside exchange subscriber interface and described telephone set time in on-state by detecting described outside.
As a further improvement on the present invention, described relay also comprises indicating device, and described indicating device is used to indicate the connection status of exchangeing subscriber between interface in described telephone set and described outside.
As a further improvement on the present invention, when described telephone set and described outside, exchange subscriber while connecting between interface, described indicating device is shinny; When described telephone set and described outside, exchange subscriber while hanging up between interface, described indicating device extinguishes.
The method that router control call in embodiment of the present invention connects comprises the steps: router power-off; Whether described testing circuit detects described outside exchanges subscriber between interface and described telephone set in on-state; When described outside is exchangeed subscriber between interface and described telephone set in on-state, relay is kept closed described in described control circuit control.
As a further improvement on the present invention, whether described control circuit detects described router and re-powers, when exchangeing subscriber between interface and described telephone set in hanging up state in described outside, and described router re-powers, described in described control circuit control relay disconnect exchangeing subscriber in described outside and described outside Fabric Interface between be connected.
As a further improvement on the present invention, when described outside is exchangeed subscriber between interface and described telephone set in on-state, described indicating device is shinny.
As a further improvement on the present invention, when described outside, exchange subscriber between interface and described telephone set when hanging up state, described indicating device extinguishes.
Compared to prior art, whether router of the present invention detects described telephone set and described FXS interface in on-state by testing circuit is set, described control circuit is controlled described relay by the testing result of described testing circuit and the power-up state of described router, when described FXS interface and described telephone set are during in on-state, no matter whether described router re-powers, described relay is all kept closed, to keep being connected between described FXS interface and described FXO interface, so can guarantee that telephone set can not interrupt because router re-powers dialing pstn telephone.
Accompanying drawing explanation
Fig. 1 is the functional block diagram that preferred embodiments router of the present invention is connected to telephone set and PSTN.
Fig. 2 is the workflow diagram of router shown in Fig. 1.
Main element symbol description
Router one 0
FXS interface 11
FXO interface 12
Relay 13
Testing circuit 14
Control circuit 15
Indicating device 16
Telephone set 20
PSTN 30
Embodiment
Refer to Fig. 1, the router one 0 of preferred embodiments of the present invention comprises FXS interface 11, FXO interface 12, is electrically connected to relay 13, testing circuit 14, control circuit 15 and indicating device 16 between described FXS interface 11 and FXO interface 12.
Described FXS interface 11 is connected to telephone set 20, and described FXO interface 12 is connected to PSTN30.Described relay 13 makes to connect between described FXS interface 11 and described FXO interface 12 when closed, makes user to dial pstn telephone by described telephone set 20.
Described testing circuit 14 is electrically connected between described FXS interface 11 and described relay 13, for detection of between described FXS interface 11 and described telephone set 20 whether in on-state.In this preferred embodiments, whether whether described testing circuit 14 have electric current to flow through to judge between described FXS interface 11 and described telephone set 20 in on-state by detecting between described FXS interface 11 and described relay 13.
Described control circuit 15 is electrically connected between described relay 13 and described testing circuit 14, and described control circuit 15 is electrically connected to the mains switch (not shown) of described router one 0, for control the on off state of described relay 13 according to the power-up state of the testing result of described testing circuit 14 and described router one 0.When user dials pstn telephone, be while connecting between described FXS interface 11 and telephone set 20, no matter whether described router one 0 powers on, described control circuit 15 all makes described relay 13 be kept closed, so that keep on-state between described telephone set 20, FXS interface 11 and FXO interface 12 threes; When hanging up between described telephone set 20 and described FXS interface 11 and described router one 0 powers on, described control circuit 15 disconnects described relay 13, so that disconnect between described FXS interface 11 and FXO interface 12, now, user can dial VOIP phone by telephone set 20.
Described indicating device 16 is electrically connected between described relay 13 and described FXS interface 11, is used to indicate the connection status between described telephone set 20 and described FXS interface 11.When connecting between described telephone set 20 and described FXS interface 11, described indicating device 16 is shinny; When hanging up between described telephone set 20 and described FXS interface 11, described indicating device 16 extinguishes.
Refer to Fig. 2, when described router one 0 is controlled call connection, it mainly comprises the following steps:
Step S1: router one 0 power-off.Now, relay 13 closures, make FXS interface 11 be connected to FXO interface 12, and user can use telephone set 20 to dial pstn telephone by described FXO interface.
Step S2: whether described testing circuit 14 judges between described FXS interface 11 and described telephone set 20 in on-state.If so, enter step S3 and S5, if not, step S4 entered.
Step S3: indicating device 16 is shinny.
Step S4: indicating device 16 extinguishes.
Step S5: whether described control circuit 15 detects described router one 0 and re-power.If so, enter step S6, if not, step S7 entered.
Step S6: relay 13 continues to remain closed, and between telephone set 20, FXS interface 11 and FXO interface 12, continue to keep on-state.
Step S7: whether described testing circuit 14 judges between described FXS interface 11 and described telephone set 20 in hanging up state.If so, enter S8, if not, S5 returned to.
Step S8: relay 13 disconnects being connected between described FXS interface 11 and described FXO interface 12, and now router one 0 recovers initial setting.
Router one 0 of the present invention by arrange testing circuit 14 detect described telephone set 20 with described FXS interface 11 whether in on-state, described control circuit 15 is controlled described relay 13 by the testing result of described testing circuit 14 and the power-up state of described router one 0, when described FXS interface 11 is with described telephone set 20 during in on-state, no matter whether described router one 0 re-powers, described relay 13 is all kept closed, to keep being connected between described FXS interface 11 and described FXO interface 12, so can guarantee that telephone set 20 can not interrupt because router one 0 re-powers dialing pstn telephone.
In addition, those skilled in the art also can make various modifications, interpolation and the replacement in other forms and details in the claims in the present invention scope of disclosure and spirit.Certainly, the variations such as various modifications, interpolation and the replacement that these make according to spirit of the present invention, within all should being included in the present invention's scope required for protection.

Claims (9)

1. a router, described router comprises that outside exchanges subscriber interface, FXS interface and be electrically connected to the relay of exchangeing subscriber between interface and described FXS interface in described outside, exchange subscriber interface and be connected to telephone set in described outside, described FXS interface is connected to public switch telephone network road, it is characterized in that, described router also comprises:
Whether testing circuit, exchange subscriber between interface and described telephone set in on-state for detecting described outside when the router power-off; And
Control circuit, for controlling the on off state of described relay according to the power-up state of the testing result of described testing circuit and described router;
Wherein, when described router re-powers, if exchange subscriber between interface and described telephone set in on-state in described outside, described control circuit makes described relay be kept closed to keep described outside to exchange subscriber interface and described FXS interface in connection status.
2. router as claimed in claim 1, it is characterized in that: if exchange subscriber between interface and described telephone set in hanging up state in described outside, and described router re-powers, described control circuit makes described relay disconnect described outside to exchange subscriber being connected between interface and described FXS interface.
3. router as claimed in claim 1, is characterized in that: whether described testing circuit is exchangeed subscriber and between interface and described relay, had electric current flow through to judge that whether described outside exchange subscriber between interface and described telephone set in on-state by detecting described outside.
4. router as claimed in claim 1 or 2, is characterized in that: described router also comprises indicating device, and described indicating device is used to indicate the connection status of exchangeing subscriber between interface in described telephone set and described outside.
5. router as claimed in claim 4, is characterized in that: when described telephone set and described outside, exchange subscriber while connecting between interface, described indicating device is shinny; When described telephone set and described outside, exchange subscriber while hanging up between interface, described indicating device extinguishes.
6. the method that router control call as claimed in claim 1 connects, described method comprises the steps:
Router power-off;
Whether described testing circuit detects described outside exchanges subscriber between interface and described telephone set in on-state;
When exchangeing subscriber between interface and described telephone set when on-state and described router re-power in described outside, relay is kept closed to keep described outside to exchange subscriber interface and described FXS interface in connection status described in described control circuit control.
7. the method that router control call as claimed in claim 6 connects, it is characterized in that: whether described control circuit detects described router and re-power, when exchangeing subscriber between interface and described telephone set in hanging up state in described outside, and described router re-powers, relay disconnects described outside and exchanges subscriber being connected between interface and described FXS interface described in described control circuit control.
8. the method that the router control as described in claim 6 or 7 call connects, is characterized in that: described router also comprises indicating device, and when described outside is exchangeed subscriber between interface and described telephone set in on-state, described indicating device is shinny.
9. the method that the router control as described in claim 6 or 7 call connects, is characterized in that: described router also comprises indicating device, when described outside, exchanges subscriber between interface and described telephone set when hanging up state, and described indicating device extinguishes.
CN201010241356.6A 2010-07-30 2010-07-30 Router and conversation connection control method thereof Expired - Fee Related CN102347841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010241356.6A CN102347841B (en) 2010-07-30 2010-07-30 Router and conversation connection control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010241356.6A CN102347841B (en) 2010-07-30 2010-07-30 Router and conversation connection control method thereof

Publications (2)

Publication Number Publication Date
CN102347841A CN102347841A (en) 2012-02-08
CN102347841B true CN102347841B (en) 2014-04-30

Family

ID=45546153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010241356.6A Expired - Fee Related CN102347841B (en) 2010-07-30 2010-07-30 Router and conversation connection control method thereof

Country Status (1)

Country Link
CN (1) CN102347841B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104952666B (en) * 2014-03-25 2017-05-10 国基电子(上海)有限公司 Relay switching circuit
CN107105110A (en) * 2017-05-03 2017-08-29 烽火通信科技股份有限公司 A kind of calling-control method based on PSTN

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561079A (en) * 2004-02-18 2005-01-05 Ut斯达康通讯有限公司 NGV voice terminal
CN1805451A (en) * 2005-01-12 2006-07-19 英保达股份有限公司 Internet voice protocol terminal
CN1988579A (en) * 2005-12-21 2007-06-27 智邦科技股份有限公司 Personal gateway and the method of processing the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100372344B1 (en) * 2000-12-21 2003-02-15 엘지전자 주식회사 Device for Transmitting Data for Data Communication in Analogue Exclusive Line
US7852831B2 (en) * 2005-02-22 2010-12-14 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561079A (en) * 2004-02-18 2005-01-05 Ut斯达康通讯有限公司 NGV voice terminal
CN1805451A (en) * 2005-01-12 2006-07-19 英保达股份有限公司 Internet voice protocol terminal
CN1988579A (en) * 2005-12-21 2007-06-27 智邦科技股份有限公司 Personal gateway and the method of processing the same

Also Published As

Publication number Publication date
CN102347841A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
US20070165611A1 (en) Phone device for public switched telecommunication network and voice over internet protocol network
CN103685794A (en) Network telephone connection method and system
US7787156B2 (en) Facsimile device
CN102347841B (en) Router and conversation connection control method thereof
US9219814B2 (en) Communication apparatus and control method therefor
CN101018265B (en) Fleeing device and its method
TWI412248B (en) Router and method for controlling connection of a telephone conversation by the same
US20070183340A1 (en) Power-line communication system to supply power and data to integrated services digital network (ISDN) subscriber terminal and control method thereof
JP2016225936A (en) Facsimile machine, facsimile machine control method, and program
JP6525502B2 (en) Communication device, control method therefor, and program
TWI558160B (en) Access device of telephone network
US20040071277A1 (en) Multi-gateway communications system with switching control method
JP2015149605A (en) Communication apparatus, control method of the same, and program
US7944911B2 (en) Network device
JP2004032288A (en) Communication adapter and its control method
TWI472193B (en) The method of receiving the voice service
TW486899B (en) Network communication equipment with automatic connecting function at power disconnection and its method
KR20100002998U (en) Apparatus for phone line switching
TWI271093B (en) Ring-free gateway device
JP2007318627A (en) Telephone signal repeating apparatus
JP5564628B1 (en) Communication control device and program
EP2413580A1 (en) Voice service processing method and system, office end device and voice gateway
JP2008022359A (en) Communication equipment
US20120327929A1 (en) Connection Switching Device and Telephone Device
JP2007104269A (en) Terminal network controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140430

Termination date: 20140730

EXPY Termination of patent right or utility model