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

Router and conversation connection control method thereof Download PDF

Info

Publication number
CN102347841A
CN102347841A CN2010102413566A CN201010241356A CN102347841A CN 102347841 A CN102347841 A CN 102347841A CN 2010102413566 A CN2010102413566 A CN 2010102413566A CN 201010241356 A CN201010241356 A CN 201010241356A CN 102347841 A CN102347841 A CN 102347841A
Authority
CN
China
Prior art keywords
interface
router
outside
telephone set
relay
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.)
Granted
Application number
CN2010102413566A
Other languages
Chinese (zh)
Other versions
CN102347841B (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 conversation thereof connect
Technical field
The present invention relates to a kind of router, relate in particular to the method that a kind of router control conversation connects.
Background technology
Along with development of Internet and universal, (Voice over InternetProtocol, VOIP) technology is to be widely used for internet voice protocol.VOIP is a kind of technological service that transmits speech by IP network, and the user can utilize the VOIP device to call through the internet.
Existing VOIP device comprises router and telephone set at least; Said router comprises that relay, the outside that is connected to said relay respectively exchange subscriber (Foreign eXchangeSubscriber or Foreign eXchange Station; FXS) interface and FXS (Foreign eXchange Office, FXO) interface.Said telephone set is connected to said FXS interface, and dials the VOIP phone through said FXS; Said FXO interface be connected to PSTN (Public Switched Telephone Network, PSTN).When said router cut off the power supply, said relay can automatically switch said FXS interface and said FXO interface are interconnected, and this moment, said telephone set can be dialed pstn telephone through said FXO interface.
But; When rebuliding, the internet connects or router when re-powering; The system power supply of said router is that said relay provides the roughly power supply of 3.3V; The said FXS interface of said relay meeting automatic disconnection this moment is connected with said FXO interface; Then can make user's conversation automatically interrupt if the user dials pstn telephone through the FXO interface this moment.
Summary of the invention
In view of this, be necessary to provide a kind of user of avoiding to dial the method for interrupted router of PSTN and control conversation connection thereof through the FXO interface.
Router in the embodiment of the present invention comprise the outside exchange subscriber interface, FXS interface, be electrically connected to said outside and exchange subscriber relay, testing circuit and control circuit between interface and the said FXS interface; Exchange subscriber interface and be connected to telephone set in said outside; Said FXS interface is connected to the public switch telephone network road; When router cut off the power supply, said testing circuit was used to detect said outside and exchanges subscriber whether be in on-state between interface and the said telephone set; Said control circuit is used for controlling according to the power-up state of the testing result of said testing circuit and said router the on off state of said relay; If said outside exchange subscriber and said telephone set between be in on-state, then said control circuit is kept closed said relay.
As further improvement of the present invention; If said outside exchange subscriber and said telephone set between be in the state of hanging up; And said router re-powers, and then said control circuit makes said relay break off said outside to exchange subscriber being connected between interface and the said FXS interface.
As further improvement of the present invention, whether said testing circuit is exchangeed subscriber and is had electric current to flow through between interface and the said relay to judge said outside to exchange subscriber interface and said telephone set time whether to be in on-state through detecting said outside.
As further improvement of the present invention, said relay also comprises indicating device, and said indicating device is used to indicate said telephone set and said outside to exchange subscriber the connection status between the interface.
As further improvement of the present invention, to exchange subscriber when connecting between the interface when said telephone set and said outside, said indicating device is shinny; Exchange subscriber when hanging up between the interface when said telephone set and said outside, said indicating device extinguishes.
The method that router control conversation in the embodiment of the present invention connects comprises the steps: the router outage; Said testing circuit detects said outside exchanges subscriber whether be in on-state between interface and the said telephone set; Exchange subscriber when being in on-state between interface and the said telephone set when said outside, said control circuit is controlled said relay and is kept closed.
As further improvement of the present invention; Whether said control circuit detects said router and re-powers; Exchange subscriber when said outside and to be in the state of hanging up between interface and the said telephone set; And said router re-powers, said control circuit control said relay break off said outside exchange subscriber with said outside Fabric Interface between be connected.
As further improvement of the present invention, to exchange subscriber when being in on-state between interface and the said telephone set when said outside, said indicating device is shinny.
As further improvement of the present invention, to exchange subscriber when said outside and to be between interface and the said telephone set when hanging up state, said indicating device extinguishes.
Compared to prior art; Router of the present invention is by being provided with testing circuit and detecting said telephone set and whether said FXS interface being in on-state; Said control circuit is controlled said relay by the testing result of said testing circuit and the power-up state of said router; Promptly when said FXS interface and said telephone set are in on-state; No matter whether said router re-powers; Said relay all is kept closed; Keeping being connected between said FXS interface and the said FXO interface, can guarantee that so telephone set can not interrupt because router re-powers dialing pstn telephone.
Description of drawings
Fig. 1 is the functional block diagram that better embodiment router of the present invention is connected to telephone set and PSTN.
Fig. 2 is the workflow diagram of router shown in Figure 1.
The 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
See also Fig. 1, the router one 0 of better embodiment 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 said FXS interface 11 and the FXO interface 12.
Said FXS interface 11 is connected to telephone set 20, and said FXO interface 12 is connected to PSTN30.Said relay 13 makes between said FXS interface 11 and the said FXO interface 12 when closed and connects, and makes the user to dial pstn telephone through said telephone set 20.
Said testing circuit 14 is electrically connected between said FXS interface 11 and the said relay 13, is used to detect between said FXS interface 11 and the said telephone set 20 whether be in on-state.In this better embodiment, whether said testing circuit 14 has electric current to flow through between said FXS interface 11 and the said relay 13 to judge between said FXS interface 11 and the said telephone set 20 whether be in on-state through detecting.
Said control circuit 15 is electrically connected between said relay 13 and the said testing circuit 14; And said control circuit 15 is electrically connected to the mains switch (figure do not show) of said router one 0, is used for controlling according to the power-up state of the testing result of said testing circuit 14 and said router one 0 on off state of said relay 13.When the user dials pstn telephone; Be when connecting between said FXS interface 11 and the telephone set 20; No matter whether said router one 0 powers on; Said control circuit 15 all makes said relay 13 be kept closed, so that keep on-state between said telephone set 20, FXS interface 11 and FXO interface 12 threes; When hanging up between said telephone set 20 and the said FXS interface 11 and said router one 0 when powering on; Said control circuit 15 breaks off said relay 13; So that break off between said FXS interface 11 and the FXO interface 12, at this moment, the user can dial the VOIP phone through telephone set 20.
Said indicating device 16 is electrically connected between said relay 13 and the said FXS interface 11, is used to indicate the connection status between said telephone set 20 and the said FXS interface 11.When connecting between said telephone set 20 and the said FXS interface 11, said indicating device 16 is shinny; When hanging up between said telephone set 20 and the said FXS interface 11, said indicating device 16 extinguishes.
See also Fig. 2,0 pair of conversation of said router one connects when controlling, and it mainly may further comprise the steps:
Step S1: router one 0 outage.At this moment, relay 13 closures make FXS interface 11 be connected to FXO interface 12, and the user can use telephone set 20 to dial pstn telephone through said FXO interface.
Step S2: said testing circuit 14 judges between said FXS interface 11 and the said telephone set 20 whether be in on-state.If, then get into step S3 and S5, if not, step S4 then got into.
Step S3: indicating device 16 is shinny.
Step S4: indicating device 16 extinguishes.
Step S5: whether said control circuit 15 detects said router one 0 and re-powers.If, then get into step S6, if not, step S7 then got into.
Step S6: relay 13 continues to remain closed, and continues to keep on-state between telephone set 20, FXS interface 11 and the FXO interface 12.
Step S7: said testing circuit 14 judges between said FXS interface 11 and the said telephone set 20 whether be in the state of hanging up.If, then get into S8, if not, S5 then returned.
Step S8: relay 13 breaks off being connected between said FXS interface 11 and the said FXO interface 12, this moment router one 0 recovery initial setting.
Whether router one 0 of the present invention is in on-state by the said telephone set 20 of testing circuit 14 detections is set with said FXS interface 11; Said control circuit 15 is controlled said relay 13 by the testing result of said testing circuit 14 and the power-up state of said router one 0; Promptly when said FXS interface 11 is in on-state with said telephone set 20; No matter whether said router one 0 re-powers; Said relay 13 all is kept closed; Keeping being connected between said FXS interface 11 and the said FXO interface 12, can guarantee that so 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 on other forms and the details in claim of the present invention scope of disclosure and spirit.Certainly, these all should be included within the present invention's scope required for protection according to the variations such as various modifications, interpolation and replacement that the present invention's spirit is made.

Claims (9)

1. router; Said router comprises that the outside exchanges subscriber interface, FXS interface and be electrically connected to said outside and exchange subscriber the relay between interface and the said FXS interface; Exchange subscriber interface and be connected to telephone set in said outside; Said FXS interface is connected to the public switch telephone network road; It is characterized in that said relay also comprises:
Testing circuit is used for when router cuts off the power supply, detecting said outside and exchanges subscriber whether be in on-state between interface and the said telephone set; And
Control circuit is used for controlling according to the power-up state of the testing result of said testing circuit and said router the on off state of said relay;
Wherein, if said outside exchange subscriber and said telephone set between be in on-state, then said control circuit is kept closed said relay.
2. router as claimed in claim 1; It is characterized in that: if said outside exchange subscriber and said telephone set between be in the state of hanging up; And said router re-powers, and then said control circuit makes said relay break off said outside to exchange subscriber being connected between interface and the said FXS interface.
3. router as claimed in claim 1 is characterized in that: whether said testing circuit is exchangeed subscriber and is had electric current to flow through between interface and the said relay to judge said outside to exchange subscriber interface and said telephone set time whether to be in on-state through detecting said outside.
4. router as claimed in claim 1 or 2 is characterized in that: said relay also comprises indicating device, and said indicating device is used to indicate said telephone set and said outside to exchange subscriber the connection status between the interface.
5. router as claimed in claim 4 is characterized in that: exchange subscriber when connecting between the interface when said telephone set and said outside, said indicating device is shinny; Exchange subscriber when hanging up between the interface when said telephone set and said outside, said indicating device extinguishes.
6. a router as claimed in claim 1 is controlled the method that conversation connects, and said method comprises the steps:
The router outage;
Said testing circuit detects said outside exchanges subscriber whether be in on-state between interface and the said telephone set;
Exchange subscriber when being in on-state between interface and the said telephone set when said outside, said control circuit is controlled said relay and is kept closed.
7. the method that router control conversation as claimed in claim 6 connects; It is characterized in that: whether said control circuit detects said router and re-powers; Exchange subscriber when said outside and to be in the state of hanging up between interface and the said telephone set; And said router re-powers, said control circuit control said relay break off said outside exchange subscriber with said outside Fabric Interface between be connected.
8. the method that connects like claim 6 or 7 described routers control conversation is characterized in that: exchange subscriber when being in on-state between interface and the said telephone set when said outside, said indicating device is shinny.
9. the method that connects like claim 6 or 7 described routers control conversation is characterized in that: exchange subscriber when said outside and be between interface and the said telephone set when hanging up state, said 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 true CN102347841A (en) 2012-02-08
CN102347841B 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)

Cited By (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080956A1 (en) * 2000-12-21 2002-06-27 Lg Electronics Inc. Interface device for data communication in analog exclusive line
CN1561079A (en) * 2004-02-18 2005-01-05 Ut斯达康通讯有限公司 NGV voice terminal
CN1805451A (en) * 2005-01-12 2006-07-19 英保达股份有限公司 Internet voice protocol terminal
US20060187900A1 (en) * 2005-02-22 2006-08-24 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications
CN1988579A (en) * 2005-12-21 2007-06-27 智邦科技股份有限公司 Personal gateway and the method of processing the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080956A1 (en) * 2000-12-21 2002-06-27 Lg Electronics Inc. Interface device for data communication in analog exclusive line
CN1561079A (en) * 2004-02-18 2005-01-05 Ut斯达康通讯有限公司 NGV voice terminal
CN1805451A (en) * 2005-01-12 2006-07-19 英保达股份有限公司 Internet voice protocol terminal
US20060187900A1 (en) * 2005-02-22 2006-08-24 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications
CN1988579A (en) * 2005-12-21 2007-06-27 智邦科技股份有限公司 Personal gateway and the method of processing the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104952666A (en) * 2014-03-25 2015-09-30 国基电子(上海)有限公司 Relay switching circuit
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

Also Published As

Publication number Publication date
CN102347841B (en) 2014-04-30

Similar Documents

Publication Publication Date Title
US8861507B2 (en) Systems and methods for automatic public switched telephone network backup of voice over internet protocol services
CN103179270B (en) Mobile phone power-off or exceed the reminding method of service area in call
US8254562B2 (en) Port detection and protection circuit and electronic device using the same
CN103685794A (en) Network telephone connection method and system
US7787156B2 (en) Facsimile device
CN102347841B (en) Router and conversation connection control method thereof
CN102291807A (en) Mobile terminal and dialing method
CN105786154A (en) Power saving method and system of wearable terminal
CN103248737B (en) A kind of interface display control method, device and communication terminal
KR100757871B1 (en) Power line system and control method for suppling power/data to ISDN subscriber terminal
CN101018265B (en) Fleeing device and its method
KR101605259B1 (en) Call service providing method and system for switching between public switched telephone network mode and voice over internet protocol mode
TWI412248B (en) Router and method for controlling connection of a telephone conversation by the same
KR100383582B1 (en) Analoge Phone Line Auto-switching System for VOIP Gateway
WO2015131621A1 (en) Mobile communication terminal calling control method and device, and mobile communication terminal
CN102164046A (en) Signaling link backuping method for soft-switch system
CN104348988A (en) Telephone network accessing equipment
TWI472193B (en) The method of receiving the voice service
JP2004032288A (en) Communication adapter and its control method
TW486899B (en) Network communication equipment with automatic connecting function at power disconnection and its method
JP2007318627A (en) Telephone signal repeating apparatus
JP2004304693A (en) Instrument for emergency report apparatus connection in adsl line
JP5539563B1 (en) Small base station apparatus, relay communication apparatus, and power supply method
KR20100002998U (en) Apparatus for phone line switching
CN100375485C (en) Automatic on-hook controller of telephone

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