US20080089356A1 - VoIP device and service switching method thereof - Google Patents
VoIP device and service switching method thereof Download PDFInfo
- Publication number
- US20080089356A1 US20080089356A1 US11/647,732 US64773206A US2008089356A1 US 20080089356 A1 US20080089356 A1 US 20080089356A1 US 64773206 A US64773206 A US 64773206A US 2008089356 A1 US2008089356 A1 US 2008089356A1
- Authority
- US
- United States
- Prior art keywords
- module
- interface module
- subscriber interface
- service
- time slot
- 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.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
Definitions
- the invention relates to voice over Internet protocol (VoIP), and particularly to a VoIP device and a service switching method.
- VoIP voice over Internet protocol
- telephone communication services include a public switched telephone network (PSTN) service and a voice over Internet protocol (VoIP) service.
- PSTN public switched telephone network
- VoIP voice over Internet protocol
- the PSTN service is popular for standard telephone communications
- the VoIP service is to transmit voice and image packets through an open network to provide telephone communication service.
- the charge for the VoIP service is significantly cheaper than that for the PSTN service, but the voice quality of the VoIP service is worse than that of the PSTN service.
- a VoIP gateway that can provide both the VoIP service and the PSTN service is developed. However, how to automatically and simply switch between the two services becomes a big challenge for designers of the VoIP gateway.
- An exemplary embodiment of the present invention provides a voice over Internet protocol (VoIP) device.
- the VoIP device includes a first time division data bus, at least one subscriber interface module, a switch control module, a telephony interface module, a first processing module, and a second processing module.
- the first time division data bus includes a plurality of time slots.
- the at least one subscriber interface module receives a telephone number from a corresponding telephone set.
- the switch control module determines whether a required service is a first service or a second service according to the telephone number.
- the telephony interface module assigns a first time slot or a second time slot to the subscriber interface module according to the determined result of the switch control module.
- the first processing module connected to the subscriber interface module via the first time division data bus, uses the first time slot when the required service is the first service, to transmit data to and receive data from the subscriber interface module via the first time division data bus.
- the second processing module connected to the subscriber interface module via the first time division data bus, uses the second time slot when the required service is the second service, to transmit data to and receive data from the subscriber interface module via the first time division data bus.
- Another exemplary embodiment of the present invention provides a service switching method.
- the method includes: providing a time division data bus including a plurality of time slots; receiving a telephone number via a subscriber interface module; determining whether a required service is a first service; assigning a first time slot to the subscriber interface module and a first processing module if the required service is the first service; and transmitting and receiving data between the subscriber interface module and the first processing module via the time division data bus in the first time slot.
- FIG. 1 is a schematic diagram of functional modules of a voice over Internet protocol (VoIP) device of an exemplary embodiment of the present invention
- FIG. 2 is a schematic diagram showing a mapped relationship between identifiers (IDs) of subscriber interface modules and time slots of a first time division data bus;
- FIG. 3 is a flowchart of a service switching method of a further exemplary embodiment of the present invention.
- FIG. 4 is a detailed flowchart of the service switching method of FIG. 3 .
- FIG. 1 is a schematic diagram of functional modules of a voice over Internet protocol (VoIP) device of an exemplary embodiment of the present invention.
- a communication system includes a plurality of subscribers using respective telephone sets 100 , a VoIP device 200 , a first network 300 , and a second network 400 .
- the VoIP device 200 may be a VoIP gateway
- the first network 300 may be a VoIP network
- the second network 400 may be a public switched telephone network (PSTN).
- PSTN public switched telephone network
- the plurality of telephone sets 100 are connected to the VoIP device 200
- the VoIP device 200 is connected to the first network 300 and the second network 400 .
- the VoIP device 200 can provide a first service and a second service for the telephone sets 100 .
- the first service may be a VoIP service
- the second service may be a PSTN service.
- the VoIP device 200 when a subscriber dials a VoIP communication number or a VoIP phone number via one of the plurality of telephone sets 100 , the VoIP device 200 provides the VoIP service for the telephone set 100 .
- the VoIP device 200 When a subscriber dials a PSTN communication number or a PSTN phone number via one of the plurality of telephone sets 100 , the VoIP device 200 provides the PSTN service for the telephone set 100 .
- the VoIP device 200 includes a time division data bus including a plurality of time slots.
- the VoIP device 200 receives a telephone number, and determines whether a required service is a first service or a second service. Then, the VoIP device 200 switches to the required service using time division multiplexing (TDM).
- TDM time division multiplexing
- a first time slot is assigned to a subscriber interface module and a first processing module.
- the subscriber interface module transmits data to and receives data from the first processing module via the time division data bus in the first time slot, namely providing the first service.
- a second time slot is assigned to the subscriber interface module and a second processing module. In such case, the subscriber interface module transmits data to and receives data from the second processing module via the time division data bus in the second time slot, namely providing the second service.
- the VoIP device 200 includes a plurality of subscriber interface modules 210 , a telephony interface module 220 , a switch control module 230 , a first processing module 240 , a second processing module 250 , a first control bus 260 , and a first time division data bus 270 .
- the first control bus 260 connects the plurality of subscriber interface modules 210 and the telephony interface module 220 .
- the first control bus 260 may be a serial bus such as a serial packet interface (SPI) bus.
- SPI serial packet interface
- the first time division data bus 270 connects the plurality of subscriber interface modules 210 , the first processing module 240 , and the second processing module 250 .
- the first time division data bus 270 includes a plurality of time slots.
- the first time division data bus 270 may be a pulse code modulation (PCM) bus.
- PCM pulse code modulation
- the plurality of subscriber interface modules 210 are correspondingly connected to the plurality of telephone sets 100 .
- Each subscriber interface module 210 is for receiving a telephone number from one corresponding telephone set 100 , and informs the telephony interface module 220 of the telephone number.
- the subscriber interface module 210 may be a subscriber line interface circuit (SLIC).
- SLIC subscriber line interface circuit
- the telephone number is a VoIP phone number
- the user of the telephone set 100 requires a VoIP service.
- the telephone number is a PSTN phone number
- the user of the telephone set 100 requires a PSTN service.
- the service required by the user is called a required service for short.
- the telephony interface module 220 connected to the plurality of subscriber interface modules 210 via the first control bus 260 , informs the switch control module 230 of the telephone number and an identifier (ID) of the subscriber interface module 210 .
- the switch control module 230 determines whether the required service is the first service or the second service. In the exemplary embodiment, the switch control module 230 determines whether the required service is the first service or the second service according to a local match. For example, the required service is determined according to a PSTN digit map and a VoIP digit map, according to a service type match, or according to a combination of the PSTN digit map, the VoIP digit map, and the service type match.
- the switch control module 230 may determine whether the required service is the first service or the second service according to a remote match.
- the required service is determined according to an in-service database. It should be noted that the present invention does not restrict the service determination method of the VoIP and PSTN services.
- the switch control module 230 When the required service is the first service, the switch control module 230 further transmits a first command to the telephony interface module 220 , and a second command and the ID of the subscriber interface module 210 to the first processing module 240 .
- the first command is for asking the telephony interface module 220 to assign one time slot to the subscriber interface module 210 .
- the second command is for asking the first processing module 240 to assign one digital signal processor (DSP) to the subscriber interface module 210 , and assign one time slot to the assigned DSP.
- DSP digital signal processor
- the telephony interface module 220 When receiving the first command, the telephony interface module 220 assigns a first time slot to the subscriber interface module 210 according to the first command.
- the telephony interface module 220 stores a mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and assigns the first time slot to the subscriber interface module 210 according to the first command, the ID of the subscriber interface module 210 , and the mapped relationship.
- FIG. 2 is a schematic diagram showing a mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 .
- the number of the time slots of the first time division data bus 270 is not less than double the number of the subscriber interface modules 210 .
- the number of the subscriber interface modules 210 is 48, from a 1st subscriber interface module 210 to a 48th subscriber interface module 210 .
- the number of the time slots of the first time division data bus 270 is not less than 96. For example, the number of the time slots is 120.
- the time slots of the first time division data bus 270 includes a first portion from a 1st time slot to a 48th time slot, a second portion from a 49th time slot to a 96th time slot, and a idle portion from a 97th time slot to a 120th time slot.
- the first time slot assigned to the subscriber interface module 210 by the telephony interface module 220 is one time slot from the first portion of the first time division data bus 270 .
- the 1st time slot is assigned to the first service of the 1st subscriber interface module 210
- the 49th time slot is assigned to the second service of the 1st subscriber interface module 210
- the 2nd time slot is assigned to the first service of the 2nd subscriber interface module 210
- the 50th time slot is assigned to the second service of the 2nd subscriber interface module 210
- the 48th time slot is assigned to the first service of the 48th subscriber interface module 210
- the 96th time slot is assigned to the second service of the 48th subscriber interface module 210 .
- the time slots from 97th to 120th are idle.
- the switch control module 230 determines that a service required by the telephone set 100 connected to the 1st subscriber interface module 210 is the first service
- the telephony interface module 220 assigns the 1st time slot to the 1st subscriber interface module 210 , and the first processing module 240 uses the 1st time slot. Then the 1st subscriber interface module 210 transmits data to and receives data from the first processing module 240 in the 1st time slot, namely providing the first service.
- the switch control module 230 determines that a service required by the telephone set 100 connected to the 1st subscriber interface module 210 is the second service
- the telephony interface module 220 assigns the 49th time slot to the 1st subscriber interface module 210 , and the second processing module 250 uses the 49th time slot. Then the 1st subscriber interface module 210 transmits data to and receives data from the second processing module 250 in the 2nd time slot, namely providing the second service.
- the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time slot data bus 270 is not restricted to the mapped relationship described in FIG. 2 .
- the telephony interface module 220 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time slot data bus 270 , and dynamically assigns the first time slot to the subscriber interface module 210 according to the first command.
- the first processing module 240 connected to the plurality of subscriber interface modules 210 via the first time division data bus 270 , uses the first time slot when the required service is the first service, to transmit data to and receive data from the subscriber interface module 210 via the first time division data bus 270 , namely providing the first service for the telephone set 100 .
- the first processing module 240 includes a first service module 241 , a plurality of DSPs 242 , a network module 243 , and a second control bus 244 .
- the second control bus 244 connects the first service module 241 and the plurality of DSPs 242 .
- the second control bus 244 is a parallel bus, such as a host port interface (HPI) bus.
- HPI host port interface
- the plurality of DSPs 241 are connected to the plurality of subscriber interface modules 210 via the first time division data bus 270 .
- the number of the DSPs 242 is equal to the number of the subscriber interface modules 210 .
- the first service module 241 assigns one DSP 242 to the subscriber interface module 210 , and assigns the first time slot to the assigned DSP 242 , both according to the second command.
- the first service module 241 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 .
- the first service module 241 receives the second command and the ID of the subscriber interface module 210 , and then assigns the first time slot according to the second command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the mapped relationship stored in the first service module 241 is the same as that stored in the telephony interface module 220 , and both of the telephony interface module 220 and the first service module 241 assign the first time slot according to the ID of the subscriber interface module 210 and the same mapped relationship.
- the first service module 241 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and dynamically assigns the first time slot to the assigned DSP 242 according to the second command.
- the subscriber interface module 210 transmits data to and receives data from the assigned DSP 242 via the first time division data bus 270 in the first time slot.
- the subscriber interface module 210 receives an analog signal from the corresponding telephone set 100 , and converts the analog signal to a digital signal.
- the assigned DSP 242 receives the digital signal via the first time division data bus 270 in the first time slot, and converts the digital signal to real-time transport protocol (RTP) data.
- the network module 240 converts the RTP data to a RTP packet, and transmits the RTP packet to the first network 300 .
- the network module 240 receives a RTP packet from the first network 300 , and converts the RTP packet to RTP data.
- the assigned DSP 242 converts the RTP data to a digital signal.
- the subscriber interface module 210 receives the digital signal via the first time division data bus 270 in the first time slot, and converts the digital signal to an analog signal, and also transmits the analog signal to the corresponding telephone set 100 .
- the switch control module 230 When determining that the required service is the second service, the switch control module 230 further transmits a third command to the telephony interface module 220 , and a fourth command and the ID of the subscriber interface module 210 to the second processing module 250 .
- the third command is for asking the telephony interface module 220 to assign one time slot to the subscriber interface module 210 .
- the fourth command is for asking the second processing module 250 to use one time slot.
- the telephony interface module 220 When receiving the third command, assigns a second time slot to the subscriber interface module 210 according to the third command.
- the telephony interface module 220 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and assigns the second time slot to the subscriber interface module 210 according to the third command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the second time slot is one time slot from the second portion of the first time division data bus 270 , namely one time slot from the 49th to 96th time slots.
- the telephony interface module 220 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time slot data bus 270 , and dynamically assigns the second time slot to the subscriber interface module 210 according to the third command.
- the second processing module 250 connected to the plurality of subscriber interface modules 210 via the first time division data bus 270 , uses the second time slot when the required service is the second service, to transmit data to and receive data from the subscriber interface module 210 via the first time division data bus 270 , namely providing the second service for the telephone set 100 .
- the second processing module 250 includes a second service module 251 , a time slot switch module 252 , a synchronous transmission module 253 , a third control bus 254 , and a second time division data bus 255 .
- the third control bus 254 connects the second service module 251 and the time slot switch module 252 .
- the third control bus 254 is a parallel bus, such as an HPI bus.
- the time slot switch module 252 is connected to the plurality of subscriber interface modules 210 via the first time division data bus 270 .
- the second service module 251 assigns the second time slot to the time slot switch module 252 according to the fourth command.
- the second service module 251 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 .
- the second service module 251 receives the fourth command and the ID of the subscriber interface module 210 , and then assigns the second time slot according to the fourth command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the mapped relationship stored in the second service module 251 is the same as that stored in the telephony interface module 220 , and both of the telephony interface module 220 and the second service module 251 assign the second time slot according to the ID of the subscriber interface module 210 and the same mapped relationship.
- the second service module 251 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and dynamically assigns the second time slot to the time slot switch module 252 according to the fourth command.
- the subscriber interface module 210 transmits data to and receives data from the time slot switch module 252 via the first time division data bus 270 in the second time slot.
- the subscriber module 210 receives an analog signal from the corresponding telephone set 100 , and converts the analog signal to a digital signal.
- the time slot switch module 252 receives the digital signal via the first time division data bus 270 in the second time slot, and switches the digital signal from the second time slot to a third time slot.
- the synchronous transmission module 253 receives the digital signal via the second time division data bus 255 in the third time slot, and converts the digital signal to an E1/T1 signal, and also transmits the E1/T1 signal to the second network 400 .
- the synchronous transmission module 253 receives an E1/T1 signal from the second network 400 , and converts the E1/T1 signal to a digital signal.
- the time slot switch module 252 receives the digital signal via the second time division data bus 255 in a third time slot, and switches the digital signal from the third time slot to a second time slot.
- the subscriber interface module 210 receives the digital signal via the first time division data bus 270 in the second time slot, and converts the digital signal to an analog signal, and also transmits the analog signal to the corresponding telephone set 100 .
- FIG. 3 is a flowchart of a service switching method of an exemplary embodiment of the present invention.
- one of the plurality of subscriber interface modules 210 receives a telephone number.
- the subscriber interface module 210 receives the telephone number from one corresponding telephone set 100 , and then transmits the telephone number to the switch control module 230 via the telephony interface module 220 .
- step S 302 the switch control module 230 determines whether a required service is a first service.
- a first time slot is assigned to the subscriber interface module 210 and the first processing module 240 . That is, the telephony interface module 220 assigns the first time slot to the subscriber interface module 210 , and the first processing module 240 uses the first time slot.
- step S 306 the subscriber interface module 210 transmits data to and receives data from the first processing module 240 via the first time division data bus 270 in the first time slot, namely providing the first service for the telephone set 100 .
- step S 308 a second time slot is assigned to the subscriber interface module 210 and the second processing module 250 . That is, the telephony interface module 220 assigns the second time slot to the subscriber interface module 210 , and the first processing module 240 uses the second time slot.
- step S 310 the subscriber interface module 210 transmits data to and receives data from the second processing module 250 via the first time division data bus 270 in the second time slot, namely providing the second service for the telephone set 100 .
- FIG. 4 is a detailed flowchart of the service switching method of FIG. 3 .
- step S 400 one of the plurality of subscriber interface modules 210 receives a telephone number from one corresponding telephone set 100 .
- step S 402 the subscriber interface module 210 informs the telephony interface module 220 of the telephone number.
- step S 404 the telephony interface module 220 informs the switch control module 230 of the telephone number and an ID of the subscriber interface module 210 .
- step S 406 the switch control module 230 determines whether a required service is a first service. In the exemplary embodiment, the switch control module 230 determines whether the required service is the first service according to a local match.
- the switch control module 230 may determine whether the required service is the first service according to a remote match. It should be noted that the present invention does not restrict the service determination method of the VoIP and PSTN services.
- step S 408 the switch control module 230 transmits a first command to the telephony interface module 220 , and a second command and the ID of the subscriber interface module 210 to the first service module 241 .
- the first command is for asking the telephony interface module 220 to assign one time slot to the subscriber interface module 210 .
- the second command is for asking the first service module 241 to assign one DSP to the subscriber interface module 210 , and assign one time slot to the assigned DSP.
- step S 410 the telephony interface module 220 assigns a first time slot to the subscriber interface module 210 according to the first command.
- the telephony interface module 220 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and assigns the first time slot to the subscriber interface module 210 according to the first command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the telephony interface module 220 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time slot data bus 270 , and dynamically assigns the first time slot to the subscriber interface module 210 according to the first command.
- the first service module 241 assigns one DSP 242 to the subscriber interface module 210 , and assigns the first time slot to the assigned DSP 242 , both according to the second command.
- the first service module 241 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 .
- the first service module 241 receives the second command and the ID of the subscriber interface module 210 , and then assigns the first time slot according to the second command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the first service module 241 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and dynamically assigns the first time slot to the assigned DSP 242 according to the second command.
- steps S 410 and S 412 are not restricted. Steps S 410 and S 412 may be executed simultaneously or one after the other.
- step S 414 the subscriber interface module 210 transmits data to and receives data from the assigned DSP 242 via the first time division data bus 270 in the first time slot.
- step S 416 the switch control module 230 transmits a third command to the telephony interface module 220 , and a fourth command and the ID of the subscriber interface module 210 to the second service module 251 .
- the third command is for asking the telephony interface module 220 to assign one time slot to the subscriber interface module 210 .
- the fourth command is for asking the second service module 251 to assign one time slot to the time slot switch module 252 .
- step S 418 the telephony interface module 220 assigns a second time slot to the subscriber interface module 210 according to the third command.
- the telephony interface module 220 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 , and assigns the second time slot to the subscriber interface module 210 according to the third command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the telephony interface module 220 may not store the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time slot data bus 270 , and dynamically assigns the second time slot to the subscriber interface module 210 according to the third command.
- the second service module 251 assigns the second time slot to the time slot switch module 252 according to the fourth command.
- the second service module 251 stores the mapped relationship between the IDs of the subscriber interface modules 210 and the time slots of the first time division data bus 270 .
- the second service module 251 receives the fourth command and the ID of the subscriber interface module 210 , and then assigns the second time slot according to the fourth command, the ID of the subscriber interface module 210 , and the mapped relationship.
- the second service module 251 may not store the mapped relationship between the IDs of the subscriber interface module 210 and the time slots of the first time division data bus 270 , and dynamically assigns the second time slot to the time slot switch control module 252 according to the fourth command.
- steps S 418 and S 420 are not restricted. Steps S 418 and S 420 may be executed simultaneously or one after the other.
- step S 422 the subscriber interface module 210 transmits data to and receives data from the time slot switch module 252 via the first time division data bus 270 in the second time slot.
- the VoIP device 200 automatically and simply switches between the first service and the second service by use of TDM.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A service switching method includes: providing a time division data bus including a plurality of time slots; receiving a telephone number via a subscriber interface module; determining whether a required service is a first service; assigning a first time slot to the subscriber interface module and a first processing module if the required service is the first service; and transmitting and receiving data between the subscriber interface module and the first processing module via the time division data bus in the first time slot. A voice over Internet protocol (VoIP) device employing the method is also provided.
Description
- 1. Field of the Invention
- The invention relates to voice over Internet protocol (VoIP), and particularly to a VoIP device and a service switching method.
- 2. Description of Related Art
- Generally, telephone communication services include a public switched telephone network (PSTN) service and a voice over Internet protocol (VoIP) service. The PSTN service is popular for standard telephone communications, and the VoIP service is to transmit voice and image packets through an open network to provide telephone communication service.
- The charge for the VoIP service is significantly cheaper than that for the PSTN service, but the voice quality of the VoIP service is worse than that of the PSTN service. Thus, a VoIP gateway that can provide both the VoIP service and the PSTN service is developed. However, how to automatically and simply switch between the two services becomes a big challenge for designers of the VoIP gateway.
- An exemplary embodiment of the present invention provides a voice over Internet protocol (VoIP) device. The VoIP device includes a first time division data bus, at least one subscriber interface module, a switch control module, a telephony interface module, a first processing module, and a second processing module. The first time division data bus includes a plurality of time slots. The at least one subscriber interface module receives a telephone number from a corresponding telephone set. The switch control module determines whether a required service is a first service or a second service according to the telephone number. The telephony interface module assigns a first time slot or a second time slot to the subscriber interface module according to the determined result of the switch control module. The first processing module, connected to the subscriber interface module via the first time division data bus, uses the first time slot when the required service is the first service, to transmit data to and receive data from the subscriber interface module via the first time division data bus. The second processing module, connected to the subscriber interface module via the first time division data bus, uses the second time slot when the required service is the second service, to transmit data to and receive data from the subscriber interface module via the first time division data bus.
- Another exemplary embodiment of the present invention provides a service switching method. The method includes: providing a time division data bus including a plurality of time slots; receiving a telephone number via a subscriber interface module; determining whether a required service is a first service; assigning a first time slot to the subscriber interface module and a first processing module if the required service is the first service; and transmitting and receiving data between the subscriber interface module and the first processing module via the time division data bus in the first time slot.
- Other advantages and novel features will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
-
FIG. 1 is a schematic diagram of functional modules of a voice over Internet protocol (VoIP) device of an exemplary embodiment of the present invention; -
FIG. 2 is a schematic diagram showing a mapped relationship between identifiers (IDs) of subscriber interface modules and time slots of a first time division data bus; -
FIG. 3 is a flowchart of a service switching method of a further exemplary embodiment of the present invention; and -
FIG. 4 is a detailed flowchart of the service switching method ofFIG. 3 . -
FIG. 1 is a schematic diagram of functional modules of a voice over Internet protocol (VoIP) device of an exemplary embodiment of the present invention. In the exemplary embodiment, a communication system includes a plurality of subscribers usingrespective telephone sets 100, aVoIP device 200, afirst network 300, and asecond network 400. In this embodiment, theVoIP device 200 may be a VoIP gateway, thefirst network 300 may be a VoIP network, and thesecond network 400 may be a public switched telephone network (PSTN). The plurality oftelephone sets 100 are connected to theVoIP device 200, and theVoIP device 200 is connected to thefirst network 300 and thesecond network 400. TheVoIP device 200 can provide a first service and a second service for thetelephone sets 100. In the embodiment, the first service may be a VoIP service, and the second service may be a PSTN service. - For example, when a subscriber dials a VoIP communication number or a VoIP phone number via one of the plurality of
telephone sets 100, theVoIP device 200 provides the VoIP service for thetelephone set 100. When a subscriber dials a PSTN communication number or a PSTN phone number via one of the plurality oftelephone sets 100, theVoIP device 200 provides the PSTN service for thetelephone set 100. - In the exemplary embodiment, the
VoIP device 200 includes a time division data bus including a plurality of time slots. TheVoIP device 200 receives a telephone number, and determines whether a required service is a first service or a second service. Then, theVoIP device 200 switches to the required service using time division multiplexing (TDM). In detail, when the required service is the first service, a first time slot is assigned to a subscriber interface module and a first processing module. In such case, the subscriber interface module transmits data to and receives data from the first processing module via the time division data bus in the first time slot, namely providing the first service. When the required service is the second service, a second time slot is assigned to the subscriber interface module and a second processing module. In such case, the subscriber interface module transmits data to and receives data from the second processing module via the time division data bus in the second time slot, namely providing the second service. - The
VoIP device 200 includes a plurality ofsubscriber interface modules 210, atelephony interface module 220, aswitch control module 230, afirst processing module 240, asecond processing module 250, afirst control bus 260, and a first timedivision data bus 270. - The
first control bus 260 connects the plurality ofsubscriber interface modules 210 and thetelephony interface module 220. In the exemplary embodiment, thefirst control bus 260 may be a serial bus such as a serial packet interface (SPI) bus. - The first time
division data bus 270 connects the plurality ofsubscriber interface modules 210, thefirst processing module 240, and thesecond processing module 250. The first timedivision data bus 270 includes a plurality of time slots. In the exemplary embodiment, the first timedivision data bus 270 may be a pulse code modulation (PCM) bus. - The plurality of
subscriber interface modules 210 are correspondingly connected to the plurality oftelephone sets 100. Eachsubscriber interface module 210 is for receiving a telephone number from onecorresponding telephone set 100, and informs thetelephony interface module 220 of the telephone number. In the exemplary embodiment, thesubscriber interface module 210 may be a subscriber line interface circuit (SLIC). When the telephone number is a VoIP phone number, the user of thetelephone set 100 requires a VoIP service. When the telephone number is a PSTN phone number, the user of thetelephone set 100 requires a PSTN service. In the embodiment of the present invention, the service required by the user is called a required service for short. - The
telephony interface module 220, connected to the plurality ofsubscriber interface modules 210 via thefirst control bus 260, informs theswitch control module 230 of the telephone number and an identifier (ID) of thesubscriber interface module 210. - The
switch control module 230 determines whether the required service is the first service or the second service. In the exemplary embodiment, theswitch control module 230 determines whether the required service is the first service or the second service according to a local match. For example, the required service is determined according to a PSTN digit map and a VoIP digit map, according to a service type match, or according to a combination of the PSTN digit map, the VoIP digit map, and the service type match. - In other embodiments, the
switch control module 230 may determine whether the required service is the first service or the second service according to a remote match. For example, the required service is determined according to an in-service database. It should be noted that the present invention does not restrict the service determination method of the VoIP and PSTN services. - When the required service is the first service, the
switch control module 230 further transmits a first command to thetelephony interface module 220, and a second command and the ID of thesubscriber interface module 210 to thefirst processing module 240. The first command is for asking thetelephony interface module 220 to assign one time slot to thesubscriber interface module 210. The second command is for asking thefirst processing module 240 to assign one digital signal processor (DSP) to thesubscriber interface module 210, and assign one time slot to the assigned DSP. - When receiving the first command, the
telephony interface module 220 assigns a first time slot to thesubscriber interface module 210 according to the first command. In the exemplary embodiment, thetelephony interface module 220 stores a mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and assigns the first time slot to thesubscriber interface module 210 according to the first command, the ID of thesubscriber interface module 210, and the mapped relationship. -
FIG. 2 is a schematic diagram showing a mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270. In the exemplary embodiment, the number of the time slots of the first timedivision data bus 270 is not less than double the number of thesubscriber interface modules 210. In order to describe more clearly, it is assumed that the number of thesubscriber interface modules 210 is 48, from a 1stsubscriber interface module 210 to a 48thsubscriber interface module 210. The number of the time slots of the first timedivision data bus 270 is not less than 96. For example, the number of the time slots is 120. In this example, the time slots of the first timedivision data bus 270 includes a first portion from a 1st time slot to a 48th time slot, a second portion from a 49th time slot to a 96th time slot, and a idle portion from a 97th time slot to a 120th time slot. The first time slot assigned to thesubscriber interface module 210 by thetelephony interface module 220 is one time slot from the first portion of the first timedivision data bus 270. - In the exemplary embodiment, the 1st time slot is assigned to the first service of the 1st
subscriber interface module 210, and the 49th time slot is assigned to the second service of the 1stsubscriber interface module 210. The 2nd time slot is assigned to the first service of the 2ndsubscriber interface module 210, and the 50th time slot is assigned to the second service of the 2ndsubscriber interface module 210. As such, the 48th time slot is assigned to the first service of the 48thsubscriber interface module 210, and the 96th time slot is assigned to the second service of the 48thsubscriber interface module 210. The time slots from 97th to 120th are idle. - Thus, when the
switch control module 230 determines that a service required by the telephone set 100 connected to the 1stsubscriber interface module 210 is the first service, thetelephony interface module 220 assigns the 1st time slot to the 1stsubscriber interface module 210, and thefirst processing module 240 uses the 1st time slot. Then the 1stsubscriber interface module 210 transmits data to and receives data from thefirst processing module 240 in the 1st time slot, namely providing the first service. - When the
switch control module 230 determines that a service required by the telephone set 100 connected to the 1stsubscriber interface module 210 is the second service, thetelephony interface module 220 assigns the 49th time slot to the 1stsubscriber interface module 210, and thesecond processing module 250 uses the 49th time slot. Then the 1stsubscriber interface module 210 transmits data to and receives data from thesecond processing module 250 in the 2nd time slot, namely providing the second service. - It should be noted that the mapped relationship between the IDs of the
subscriber interface modules 210 and the time slots of the first timeslot data bus 270 is not restricted to the mapped relationship described inFIG. 2 . - In other embodiments, the
telephony interface module 220 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timeslot data bus 270, and dynamically assigns the first time slot to thesubscriber interface module 210 according to the first command. - As seen in
FIG. 1 again, thefirst processing module 240, connected to the plurality ofsubscriber interface modules 210 via the first timedivision data bus 270, uses the first time slot when the required service is the first service, to transmit data to and receive data from thesubscriber interface module 210 via the first timedivision data bus 270, namely providing the first service for thetelephone set 100. - In the exemplary embodiment, the
first processing module 240 includes afirst service module 241, a plurality ofDSPs 242, anetwork module 243, and asecond control bus 244. - The
second control bus 244 connects thefirst service module 241 and the plurality ofDSPs 242. In this embodiment, thesecond control bus 244 is a parallel bus, such as a host port interface (HPI) bus. - The plurality of
DSPs 241 are connected to the plurality ofsubscriber interface modules 210 via the first timedivision data bus 270. In the exemplary embodiment, the number of theDSPs 242 is equal to the number of thesubscriber interface modules 210. - The
first service module 241 assigns oneDSP 242 to thesubscriber interface module 210, and assigns the first time slot to the assignedDSP 242, both according to the second command. In the exemplary embodiment, thefirst service module 241 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270. Thefirst service module 241 receives the second command and the ID of thesubscriber interface module 210, and then assigns the first time slot according to the second command, the ID of thesubscriber interface module 210, and the mapped relationship. In this embodiment of the present invention, the mapped relationship stored in thefirst service module 241 is the same as that stored in thetelephony interface module 220, and both of thetelephony interface module 220 and thefirst service module 241 assign the first time slot according to the ID of thesubscriber interface module 210 and the same mapped relationship. - In other embodiments, the
first service module 241 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and dynamically assigns the first time slot to the assignedDSP 242 according to the second command. - Thus, the
subscriber interface module 210 transmits data to and receives data from the assignedDSP 242 via the first timedivision data bus 270 in the first time slot. - When the telephone set 100 transmits data to the
first network 300 via theVoIP device 200, thesubscriber interface module 210 receives an analog signal from the corresponding telephone set 100, and converts the analog signal to a digital signal. The assignedDSP 242 receives the digital signal via the first timedivision data bus 270 in the first time slot, and converts the digital signal to real-time transport protocol (RTP) data. Thenetwork module 240 converts the RTP data to a RTP packet, and transmits the RTP packet to thefirst network 300. - When the telephone set 100 receives data from the
first network 300 via theVoIP device 200, thenetwork module 240 receives a RTP packet from thefirst network 300, and converts the RTP packet to RTP data. The assignedDSP 242 converts the RTP data to a digital signal. Thesubscriber interface module 210 receives the digital signal via the first timedivision data bus 270 in the first time slot, and converts the digital signal to an analog signal, and also transmits the analog signal to the corresponding telephone set 100. - When determining that the required service is the second service, the
switch control module 230 further transmits a third command to thetelephony interface module 220, and a fourth command and the ID of thesubscriber interface module 210 to thesecond processing module 250. The third command is for asking thetelephony interface module 220 to assign one time slot to thesubscriber interface module 210. The fourth command is for asking thesecond processing module 250 to use one time slot. - When receiving the third command, the
telephony interface module 220 assigns a second time slot to thesubscriber interface module 210 according to the third command. In the exemplary embodiment, thetelephony interface module 220 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and assigns the second time slot to thesubscriber interface module 210 according to the third command, the ID of thesubscriber interface module 210, and the mapped relationship. In the above example ofFIG. 2 , the second time slot is one time slot from the second portion of the first timedivision data bus 270, namely one time slot from the 49th to 96th time slots. - In other embodiments, the
telephony interface module 220 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timeslot data bus 270, and dynamically assigns the second time slot to thesubscriber interface module 210 according to the third command. - The
second processing module 250, connected to the plurality ofsubscriber interface modules 210 via the first timedivision data bus 270, uses the second time slot when the required service is the second service, to transmit data to and receive data from thesubscriber interface module 210 via the first timedivision data bus 270, namely providing the second service for thetelephone set 100. - In the exemplary embodiment, the
second processing module 250 includes asecond service module 251, a timeslot switch module 252, asynchronous transmission module 253, athird control bus 254, and a second timedivision data bus 255. - The
third control bus 254 connects thesecond service module 251 and the timeslot switch module 252. In this embodiment, thethird control bus 254 is a parallel bus, such as an HPI bus. - The time
slot switch module 252 is connected to the plurality ofsubscriber interface modules 210 via the first timedivision data bus 270. - The
second service module 251 assigns the second time slot to the timeslot switch module 252 according to the fourth command. In the exemplary embodiment, thesecond service module 251 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270. Thesecond service module 251 receives the fourth command and the ID of thesubscriber interface module 210, and then assigns the second time slot according to the fourth command, the ID of thesubscriber interface module 210, and the mapped relationship. In this embodiment of the present invention, the mapped relationship stored in thesecond service module 251 is the same as that stored in thetelephony interface module 220, and both of thetelephony interface module 220 and thesecond service module 251 assign the second time slot according to the ID of thesubscriber interface module 210 and the same mapped relationship. - In other embodiments, the
second service module 251 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and dynamically assigns the second time slot to the timeslot switch module 252 according to the fourth command. - Thus, the
subscriber interface module 210 transmits data to and receives data from the timeslot switch module 252 via the first timedivision data bus 270 in the second time slot. - When the telephone set 100 transmits data to the
second network 400 via theVoIP device 200, thesubscriber module 210 receives an analog signal from the corresponding telephone set 100, and converts the analog signal to a digital signal. The timeslot switch module 252 receives the digital signal via the first timedivision data bus 270 in the second time slot, and switches the digital signal from the second time slot to a third time slot. Thesynchronous transmission module 253 receives the digital signal via the second timedivision data bus 255 in the third time slot, and converts the digital signal to an E1/T1 signal, and also transmits the E1/T1 signal to thesecond network 400. - When the telephone set 100 receives data from the
second network 400 via theVoIP device 200, thesynchronous transmission module 253 receives an E1/T1 signal from thesecond network 400, and converts the E1/T1 signal to a digital signal. The timeslot switch module 252 receives the digital signal via the second timedivision data bus 255 in a third time slot, and switches the digital signal from the third time slot to a second time slot. Thesubscriber interface module 210 receives the digital signal via the first timedivision data bus 270 in the second time slot, and converts the digital signal to an analog signal, and also transmits the analog signal to the corresponding telephone set 100. -
FIG. 3 is a flowchart of a service switching method of an exemplary embodiment of the present invention. - In step S300, one of the plurality of
subscriber interface modules 210 receives a telephone number. In the exemplary embodiment, thesubscriber interface module 210 receives the telephone number from one corresponding telephone set 100, and then transmits the telephone number to theswitch control module 230 via thetelephony interface module 220. - In step S302, the
switch control module 230 determines whether a required service is a first service. - If the required service is the first service, in step S304, a first time slot is assigned to the
subscriber interface module 210 and thefirst processing module 240. That is, thetelephony interface module 220 assigns the first time slot to thesubscriber interface module 210, and thefirst processing module 240 uses the first time slot. - In step S306, the
subscriber interface module 210 transmits data to and receives data from thefirst processing module 240 via the first timedivision data bus 270 in the first time slot, namely providing the first service for thetelephone set 100. - If the required service is not the first service, in step S308, a second time slot is assigned to the
subscriber interface module 210 and thesecond processing module 250. That is, thetelephony interface module 220 assigns the second time slot to thesubscriber interface module 210, and thefirst processing module 240 uses the second time slot. - In step S310, the
subscriber interface module 210 transmits data to and receives data from thesecond processing module 250 via the first timedivision data bus 270 in the second time slot, namely providing the second service for thetelephone set 100. -
FIG. 4 is a detailed flowchart of the service switching method ofFIG. 3 . - In step S400, one of the plurality of
subscriber interface modules 210 receives a telephone number from one corresponding telephone set 100. - In step S402, the
subscriber interface module 210 informs thetelephony interface module 220 of the telephone number. - In step S404, the
telephony interface module 220 informs theswitch control module 230 of the telephone number and an ID of thesubscriber interface module 210. - In step S406, the
switch control module 230 determines whether a required service is a first service. In the exemplary embodiment, theswitch control module 230 determines whether the required service is the first service according to a local match. - In other embodiments, the
switch control module 230 may determine whether the required service is the first service according to a remote match. It should be noted that the present invention does not restrict the service determination method of the VoIP and PSTN services. - If the required service is the first service, in step S408, the
switch control module 230 transmits a first command to thetelephony interface module 220, and a second command and the ID of thesubscriber interface module 210 to thefirst service module 241. The first command is for asking thetelephony interface module 220 to assign one time slot to thesubscriber interface module 210. The second command is for asking thefirst service module 241 to assign one DSP to thesubscriber interface module 210, and assign one time slot to the assigned DSP. - In step S410, the
telephony interface module 220 assigns a first time slot to thesubscriber interface module 210 according to the first command. In the exemplary embodiment, thetelephony interface module 220 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and assigns the first time slot to thesubscriber interface module 210 according to the first command, the ID of thesubscriber interface module 210, and the mapped relationship. - In other embodiments, the
telephony interface module 220 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timeslot data bus 270, and dynamically assigns the first time slot to thesubscriber interface module 210 according to the first command. - In step S412, the
first service module 241 assigns oneDSP 242 to thesubscriber interface module 210, and assigns the first time slot to the assignedDSP 242, both according to the second command. In the exemplary embodiment, thefirst service module 241 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270. Thefirst service module 241 receives the second command and the ID of thesubscriber interface module 210, and then assigns the first time slot according to the second command, the ID of thesubscriber interface module 210, and the mapped relationship. - In other embodiments, the
first service module 241 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and dynamically assigns the first time slot to the assignedDSP 242 according to the second command. - In this embodiment, the sequences of steps S410 and S412 are not restricted. Steps S410 and S412 may be executed simultaneously or one after the other.
- In step S414, the
subscriber interface module 210 transmits data to and receives data from the assignedDSP 242 via the first timedivision data bus 270 in the first time slot. - If the
switch control module 230 determines that the required is not the first service, in step S416, theswitch control module 230 transmits a third command to thetelephony interface module 220, and a fourth command and the ID of thesubscriber interface module 210 to thesecond service module 251. The third command is for asking thetelephony interface module 220 to assign one time slot to thesubscriber interface module 210. The fourth command is for asking thesecond service module 251 to assign one time slot to the timeslot switch module 252. - In step S418, the
telephony interface module 220 assigns a second time slot to thesubscriber interface module 210 according to the third command. In the exemplary embodiment, thetelephony interface module 220 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270, and assigns the second time slot to thesubscriber interface module 210 according to the third command, the ID of thesubscriber interface module 210, and the mapped relationship. - In other embodiments, the
telephony interface module 220 may not store the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timeslot data bus 270, and dynamically assigns the second time slot to thesubscriber interface module 210 according to the third command. - In step S420, the
second service module 251 assigns the second time slot to the timeslot switch module 252 according to the fourth command. In the exemplary embodiment, thesecond service module 251 stores the mapped relationship between the IDs of thesubscriber interface modules 210 and the time slots of the first timedivision data bus 270. Thesecond service module 251 receives the fourth command and the ID of thesubscriber interface module 210, and then assigns the second time slot according to the fourth command, the ID of thesubscriber interface module 210, and the mapped relationship. - In other embodiments, the
second service module 251 may not store the mapped relationship between the IDs of thesubscriber interface module 210 and the time slots of the first timedivision data bus 270, and dynamically assigns the second time slot to the time slotswitch control module 252 according to the fourth command. - In this embodiment, the sequences of steps S418 and S420 are not restricted. Steps S418 and S420 may be executed simultaneously or one after the other.
- In step S422, the
subscriber interface module 210 transmits data to and receives data from the timeslot switch module 252 via the first timedivision data bus 270 in the second time slot. - Thus, the
VoIP device 200 automatically and simply switches between the first service and the second service by use of TDM. - While various embodiments and methods of the present invention have been described above, it should be understood that they have been presented by way of example only and not by way of limitation. Thus the breadth and scope of the present invention should not be limited by the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
Claims (20)
1. A voice over Internet protocol (VoIP) device comprising:
a first time division data bus, comprising a plurality of time slots;
at least one subscriber interface module, for receiving a telephone number from a corresponding telephone set;
a switch control module, for determining whether a required service is a first service or a second service according to the telephone number;
a telephony interface module, for assigning a first time slot or a second time slot to the subscriber interface module according to the determined result of the switch control module;
a first processing module, connected to the subscriber interface module via the first time division data bus, for using the first time slot when the required service is the first service, to transmit data to and receive data from the subscriber interface module via the first time division data bus; and
a second processing module, connected to the subscriber interface module via the first time division data bus, for using the second time slot when the required service is the second service, to transmit data to and receive data from the subscriber interface module via the first time division data bus.
2. The VoIP device as claimed in clam 1, wherein the subscriber interface module is a subscriber line interface circuit (SLIC), and the first time division data bus is a pulse code modulation (PCM) bus.
3. The VoIP device as claimed in claim 1 , further comprising a first control bus, for connecting the telephony interface module and the subscriber interface module; the first control bus is a serial bus.
4. The VoIP device as claimed in claim 1 , wherein the switch control module transmits a first command to the telephony interface module and a second command to the first processing module when the required service is the first service; the telephony interface module assigns the first time slot to the subscriber interface module according to the first command.
5. The VoIP device as claimed in claim 4 , wherein the first processing module comprises:
at least one digital signal processor (DSP), connected to the at least one subscriber interface module via the first time division data bus; and
a first service module, for assigning one DSP to the subscriber interface module, and assigning the first time slot to the assigned DSP, both according to the second command;
wherein the subscriber interface module transmits data to and receives data from the assigned DSP via the first time division data bus in the first time slot.
6. The VoIP device as claimed in claim 5 , wherein the telephony interface module transmits an identifier (ID) of the subscriber interface module to the switch control module; the switch control module further transmits the ID of the subscriber interface module to the first service module when the required service is the first service; the first service module stores a mapped relationship between the ID of the at least one subscriber interface module and the time slots; the first service module assigns the first time slot to the assigned DSP according to the second command, the ID of the subscriber interface module, and the mapped relationship.
7. The VoIP device as claimed in claim 5 , wherein the first processing module further comprises a second control bus, for connecting the first service module and the at least one DSP; the second control bus is a parallel bus.
8. The VoIP device as claimed in claim 5 , wherein the first processing module further comprises a network module, for converting a real-time transport (RTP) packet received from a first network to RTP data, and converting RTP data received from the DSP to an RTP packet; the subscriber interface module is for converting an analog signal received from the corresponding telephone set to a digital signal, and converting a digital signal received from the DSP to an analog signal; the DSP is for converting a digital signal received from the subscriber interface module to RTP data, and converting RTP data received from the network module to a digital signal.
9. The VoIP device as claimed in claim 1 , wherein the switch control module further transmits a third command to the telephony interface module when the required service is the second service, and transmits a fourth command to the second processing module; the telephony interface module assigns the second time slot to the subscriber interface module according to the third command.
10. The VoIP device as claimed in claim 9 , wherein the second processing module comprises:
a time slot switch module, connected to the at least one subscriber interface module via the first time division data bus; and
a second service module, for assigning the second time slot to the time slot switch module according to the fourth command;
wherein the subscriber interface module transmits data to and receives data from the time slot switch module via the first time division data bus in the second time slot.
11. The VoIP device as claimed in claim 10 , wherein the telephony interface module further transmits an ID of the subscriber interface module to the switch control module; the switch control module transmits the ID of the subscriber interface module to the second service module when the required service is the second service; the second service module stores a mapped relationship between the ID of the at least one subscriber interface module and the time slots; the second service module assigns the second time slot to the time slot switch module according to the fourth command, the ID of the subscriber interface module, and the mapped relationship.
12. The VoIP device as claimed in claim 10 , wherein the second processing module further comprises a third control bus, for connecting the second service module and the time slot switch module; the third control bus is a parallel bus.
13. The VoIP device as claimed in claim 10 , wherein the second processing module further comprises a synchronous transmission module, connected to the time slot switch module via a second time division data bus, for converting an E1/T1 signal received from a second network to a digital signal, and converting a digital signal received from the time slot switch module to an E1/T1 signal; the subscriber interface module is for converting an analog signal received from the corresponding telephone set to a digital signal, and converting a digital signal received from the time slot switch module to an analog signal; the time slot switch module is for switching a digital signal from the synchronous transmission module from a third time slot to the second time slot, and switching a digital signal received from the subscriber interface module from the second time slot to a third time slot.
14. A service switching method, comprising:
providing a time division data bus comprising a plurality of time slots;
receiving a telephone number via a subscriber interface module;
determining whether a required service is a first service;
assigning a first time slot to the subscriber interface module and a first processing module if the required service is the first service; and
transmitting and receiving data between the subscriber interface module and the first processing module via the time division data bus in the first time slot.
15. The service switching method as claimed in claim 14 , wherein assigning the first time slot to the subscriber interface module and the first processing module comprises:
transmitting a first command and a second command;
assigning the first time slot to the subscriber interface module according to the first command; and
assigning a digital signal processor (DSP) to the subscriber interface module, and assigning the first time slot to the assigned DSP, both according to the second command.
16. The service switching method as claimed in claim 15 , further comprising:
transmitting the telephone number and an identifier (ID) of the subscriber interface module from a telephony interface module to a switch control module;
transmitting the ID of the subscriber interface module from the switch control module to the first processing module;
assigning the first time slot to the assigned DSP according to the second command, the ID of the subscriber interface module, and a mapped relationship between the ID of the subscriber interface module and the plurality of time slots; and
transmitting and receiving data between the subscriber interface module and the assigned DSP via the time division data bus in the first time slot.
17. The service switching method as claimed in claim 14 , further comprising:
assigning a second time slot to the subscriber interface module and a second processing module if the required service is not the first service; and
transmitting and receiving data between the subscriber interface module and the second processing module via the time division data bus in the second time slot.
18. The service switching method as claimed in claim 17 , wherein assigning the second time slot to the subscriber interface module and the second processing module comprises:
transmitting a third command and a fourth command;
assigning the second time slot to the subscriber interface module according to the third command; and
assigning the second time slot to the second processing module according to the fourth command.
19. The service switching method as claimed in claim 18 , further comprising:
transmitting the telephone number and an identifier (ID) of the subscriber interface module from a telephony interface module to a switch control module;
transmitting the ID of the subscriber interface module from the switch control module to the second processing module; and
assigning the second time slot to the second processing module according to the fourth command, the ID of the subscriber interface module, and a mapped relationship between the ID of the subscriber interface module and the plurality of time slots.
20. A method for switching different communication services provided by at least two service networks respectively, comprising steps of:
providing a data bus comprising a plurality of time slots each of which is able to communicate a subscriber interface module with at least two service networks respectively providing different communication services;
receiving a communication number from a subscriber through said subscriber interface module;
determining one of said different communication services to be required by said subscriber according to said received communication number;
assigning one of said plurality of time slots of said data bus to said subscriber interface module and a processing module correspondingly to provide said one of said different communication services through a corresponding one of said at least two service networks; and
communicating said subscriber interface module with said processing module via said one of said plurality of time slots of said data bus.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100630340A CN101163175A (en) | 2006-10-11 | 2006-10-11 | Network voice device and service switch method thereof |
CN200610063034.0 | 2006-10-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
US20080089356A1 true US20080089356A1 (en) | 2008-04-17 |
Family
ID=39297995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/647,732 Abandoned US20080089356A1 (en) | 2006-10-11 | 2006-12-29 | VoIP device and service switching method thereof |
Country Status (3)
Country | Link |
---|---|
US (1) | US20080089356A1 (en) |
JP (1) | JP2008099258A (en) |
CN (1) | CN101163175A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090109969A1 (en) * | 2007-10-31 | 2009-04-30 | General Instrument Corporation | Dynamic Routing of Wideband and Narrowband Audio Data in a Multimedia Terminal Adapter |
US20100254371A1 (en) * | 2009-04-02 | 2010-10-07 | Hon Hai Precision Industry Co., Ltd. | Voip device and method of preventing noise generation thereby |
US20110182286A1 (en) * | 2008-10-25 | 2011-07-28 | Huawei Technologies Co., Ltd. | Separation device and method for transmitting voice signal |
TWI427977B (en) * | 2009-04-17 | 2014-02-21 | Hon Hai Prec Ind Co Ltd | Voip device and method of reducing noise thereof |
US10601720B2 (en) | 2013-11-27 | 2020-03-24 | Nordic Semiconductor Asa | Integrated circuit radio devices |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107257422A (en) * | 2017-04-17 | 2017-10-17 | 太仓鸿策创达广告策划有限公司 | A kind of VOIP bimodulus gateway system |
Citations (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020101860A1 (en) * | 1999-11-10 | 2002-08-01 | Thornton Timothy R. | Application for a voice over IP (VoIP) telephony gateway and methods for use therein |
US6442169B1 (en) * | 1998-11-20 | 2002-08-27 | Level 3 Communications, Inc. | System and method for bypassing data from egress facilities |
US6459708B1 (en) * | 1999-12-21 | 2002-10-01 | Toledo Communications, Inc. | Apparatus and method for providing T1/E1 telecommunications trunks over IP networks |
US6498791B2 (en) * | 1998-04-03 | 2002-12-24 | Vertical Networks, Inc. | Systems and methods for multiple mode voice and data communications using intelligently bridged TDM and packet buses and methods for performing telephony and data functions using the same |
US20030067918A1 (en) * | 2001-10-05 | 2003-04-10 | Demars Alan | Method and apparatus for compressing packet headers |
US6603757B1 (en) * | 1999-04-14 | 2003-08-05 | Excel Switching Corporation | Voice-data access concentrator for node in an expandable telecommunications system |
US20030154264A1 (en) * | 2000-05-04 | 2003-08-14 | Martin Peter N | Method and gateway for performing on line switching of software in a communication system |
US20040001479A1 (en) * | 2002-07-01 | 2004-01-01 | Pounds Gregory E. | Systems and methods for voice and data communications including a network drop and insert interface for an external data routing resource |
US20040001501A1 (en) * | 2002-07-01 | 2004-01-01 | Delveaux William J. | Systems and methods for voice and data communications including a scalable TDM switch/multiplexer |
US6674745B1 (en) * | 1998-12-31 | 2004-01-06 | 3Com Corporation | Method and system for mapping phone numbers to IP addresses |
US6747995B1 (en) * | 1998-09-21 | 2004-06-08 | Lucent Technologies Inc. | System for multiple voice lines with data over a single subscriber loop |
US6751236B1 (en) * | 2000-12-15 | 2004-06-15 | Cisco Technology, Inc. | Configurable channel associated signaling (“CAS”) line signaling using plain text strings |
US20040120325A1 (en) * | 2002-12-13 | 2004-06-24 | Lawrence Ayres | System for content based message processing |
US20040213286A1 (en) * | 2003-01-03 | 2004-10-28 | Jette Michael H. | Fiber to the home broadband home unit |
US20040240430A1 (en) * | 2003-05-27 | 2004-12-02 | Innomedia Pte Ltd. | IP gateway for hybrid circuit switched and IP based mobile wireless telephone system |
US20050031097A1 (en) * | 1999-04-13 | 2005-02-10 | Broadcom Corporation | Gateway with voice |
US20050047574A1 (en) * | 2003-09-02 | 2005-03-03 | Laura Reid | Methods, apparatus and computer program products for routing phone calls to a PSTN or a packet switched network based on called number |
US20050175032A1 (en) * | 2004-02-09 | 2005-08-11 | Eung-Moon Yeom | Processing session initiation protocol signaling in voice/data integrated switching system |
US6961416B1 (en) * | 2000-02-29 | 2005-11-01 | Emeeting.Net, Inc. | Internet-enabled conferencing system and method accommodating PSTN and IP traffic |
US20060013240A1 (en) * | 2000-12-11 | 2006-01-19 | Stephen Ma | Distributed packet processing architecture for network access servers |
US7006489B2 (en) * | 2001-02-23 | 2006-02-28 | Santera Systems, Inc. | Voice packet switching system and method |
US20060120347A1 (en) * | 2004-12-03 | 2006-06-08 | Cisco Technology, Inc. | Voice over internet protocol (VOIP) subcell multiplexing |
US20060187900A1 (en) * | 2005-02-22 | 2006-08-24 | Akbar Imran M | Method and system for providing private virtual secure Voice over Internet Protocol communications |
US20070064677A1 (en) * | 2005-09-12 | 2007-03-22 | Innomedia Pte Ltd. | Packet media gateway with a secondary PSTN connection and method for time slot switching |
US20070127454A1 (en) * | 2001-04-24 | 2007-06-07 | General Bandwidth Inc. | System and Method for Providing Lifeline Telecommunication Service |
US7548539B2 (en) * | 2005-03-08 | 2009-06-16 | Audiocodes, Inc. | Method and apparatus for Voice-over-IP call recording |
US7564840B2 (en) * | 1998-11-20 | 2009-07-21 | Level 3 Communications, Llc | Voice over data telecommunications network architecture |
US7567576B2 (en) * | 1999-12-30 | 2009-07-28 | Cisco Technology, Inc. | Method and apparatus for throttling audio packets according to gateway processing capacity |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6315596A (en) * | 1986-07-08 | 1988-01-22 | Nec Corp | Allocation system for time slot of exchange |
JP2001186193A (en) * | 1999-12-24 | 2001-07-06 | Fujitsu Ltd | Ip communication interface device, line switching exchanger and ip communication network system |
JP2002078050A (en) * | 2000-09-01 | 2002-03-15 | Toyo Commun Equip Co Ltd | Time slot assignment method in t-s-t type switch circuit network |
JP4517567B2 (en) * | 2001-11-12 | 2010-08-04 | 株式会社日立製作所 | Exchange device |
-
2006
- 2006-10-11 CN CNA2006100630340A patent/CN101163175A/en active Pending
- 2006-12-29 US US11/647,732 patent/US20080089356A1/en not_active Abandoned
-
2007
- 2007-09-06 JP JP2007231527A patent/JP2008099258A/en active Pending
Patent Citations (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6498791B2 (en) * | 1998-04-03 | 2002-12-24 | Vertical Networks, Inc. | Systems and methods for multiple mode voice and data communications using intelligently bridged TDM and packet buses and methods for performing telephony and data functions using the same |
US6747995B1 (en) * | 1998-09-21 | 2004-06-08 | Lucent Technologies Inc. | System for multiple voice lines with data over a single subscriber loop |
US6442169B1 (en) * | 1998-11-20 | 2002-08-27 | Level 3 Communications, Inc. | System and method for bypassing data from egress facilities |
US7564840B2 (en) * | 1998-11-20 | 2009-07-21 | Level 3 Communications, Llc | Voice over data telecommunications network architecture |
US6674745B1 (en) * | 1998-12-31 | 2004-01-06 | 3Com Corporation | Method and system for mapping phone numbers to IP addresses |
US20050031097A1 (en) * | 1999-04-13 | 2005-02-10 | Broadcom Corporation | Gateway with voice |
US6603757B1 (en) * | 1999-04-14 | 2003-08-05 | Excel Switching Corporation | Voice-data access concentrator for node in an expandable telecommunications system |
US20020101860A1 (en) * | 1999-11-10 | 2002-08-01 | Thornton Timothy R. | Application for a voice over IP (VoIP) telephony gateway and methods for use therein |
US6459708B1 (en) * | 1999-12-21 | 2002-10-01 | Toledo Communications, Inc. | Apparatus and method for providing T1/E1 telecommunications trunks over IP networks |
US7567576B2 (en) * | 1999-12-30 | 2009-07-28 | Cisco Technology, Inc. | Method and apparatus for throttling audio packets according to gateway processing capacity |
US6961416B1 (en) * | 2000-02-29 | 2005-11-01 | Emeeting.Net, Inc. | Internet-enabled conferencing system and method accommodating PSTN and IP traffic |
US20030154264A1 (en) * | 2000-05-04 | 2003-08-14 | Martin Peter N | Method and gateway for performing on line switching of software in a communication system |
US20060013240A1 (en) * | 2000-12-11 | 2006-01-19 | Stephen Ma | Distributed packet processing architecture for network access servers |
US6751236B1 (en) * | 2000-12-15 | 2004-06-15 | Cisco Technology, Inc. | Configurable channel associated signaling (“CAS”) line signaling using plain text strings |
US7593415B2 (en) * | 2001-02-23 | 2009-09-22 | Santera Systems, Llc | Voice packet switching systems and methods |
US7006489B2 (en) * | 2001-02-23 | 2006-02-28 | Santera Systems, Inc. | Voice packet switching system and method |
US20070127454A1 (en) * | 2001-04-24 | 2007-06-07 | General Bandwidth Inc. | System and Method for Providing Lifeline Telecommunication Service |
US20030067918A1 (en) * | 2001-10-05 | 2003-04-10 | Demars Alan | Method and apparatus for compressing packet headers |
US20040001501A1 (en) * | 2002-07-01 | 2004-01-01 | Delveaux William J. | Systems and methods for voice and data communications including a scalable TDM switch/multiplexer |
US20040001479A1 (en) * | 2002-07-01 | 2004-01-01 | Pounds Gregory E. | Systems and methods for voice and data communications including a network drop and insert interface for an external data routing resource |
US20040120325A1 (en) * | 2002-12-13 | 2004-06-24 | Lawrence Ayres | System for content based message processing |
US20040213286A1 (en) * | 2003-01-03 | 2004-10-28 | Jette Michael H. | Fiber to the home broadband home unit |
US20040240430A1 (en) * | 2003-05-27 | 2004-12-02 | Innomedia Pte Ltd. | IP gateway for hybrid circuit switched and IP based mobile wireless telephone system |
US20050047574A1 (en) * | 2003-09-02 | 2005-03-03 | Laura Reid | Methods, apparatus and computer program products for routing phone calls to a PSTN or a packet switched network based on called number |
US20050175032A1 (en) * | 2004-02-09 | 2005-08-11 | Eung-Moon Yeom | Processing session initiation protocol signaling in voice/data integrated switching system |
US20060120347A1 (en) * | 2004-12-03 | 2006-06-08 | Cisco Technology, Inc. | Voice over internet protocol (VOIP) subcell multiplexing |
US20060187900A1 (en) * | 2005-02-22 | 2006-08-24 | Akbar Imran M | Method and system for providing private virtual secure Voice over Internet Protocol communications |
US7548539B2 (en) * | 2005-03-08 | 2009-06-16 | Audiocodes, Inc. | Method and apparatus for Voice-over-IP call recording |
US20070064677A1 (en) * | 2005-09-12 | 2007-03-22 | Innomedia Pte Ltd. | Packet media gateway with a secondary PSTN connection and method for time slot switching |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090109969A1 (en) * | 2007-10-31 | 2009-04-30 | General Instrument Corporation | Dynamic Routing of Wideband and Narrowband Audio Data in a Multimedia Terminal Adapter |
US20110182286A1 (en) * | 2008-10-25 | 2011-07-28 | Huawei Technologies Co., Ltd. | Separation device and method for transmitting voice signal |
US8537809B2 (en) | 2008-10-25 | 2013-09-17 | Huawei Technologies Co., Ltd. | Separation device and method for transmitting voice signal |
US20100254371A1 (en) * | 2009-04-02 | 2010-10-07 | Hon Hai Precision Industry Co., Ltd. | Voip device and method of preventing noise generation thereby |
US8228940B2 (en) * | 2009-04-02 | 2012-07-24 | Hon Hai Precision Industry Co., Ltd. | VoIP device and method of preventing noise generation thereby |
TWI427977B (en) * | 2009-04-17 | 2014-02-21 | Hon Hai Prec Ind Co Ltd | Voip device and method of reducing noise thereof |
US10601720B2 (en) | 2013-11-27 | 2020-03-24 | Nordic Semiconductor Asa | Integrated circuit radio devices |
Also Published As
Publication number | Publication date |
---|---|
CN101163175A (en) | 2008-04-16 |
JP2008099258A (en) | 2008-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6987756B1 (en) | Multi-mode endpoint in a communication network system and methods thereof | |
US7519732B2 (en) | Routing service method in voice over internet protocol system | |
US20080089356A1 (en) | VoIP device and service switching method thereof | |
US8718045B2 (en) | System and method for switching between public switched telephone networks and voice over internet protocol networks | |
US20090274141A1 (en) | Ip telephone system and ip telephone method | |
CN101127794A (en) | System and method for automatic dialing mode transformation | |
EP1169830B1 (en) | Communications controller for providing multiple access using a single telephone line | |
US8102873B2 (en) | Communication system, communication apparatus and terminal accommodation apparatus | |
CN101431577A (en) | Gateway device and system of network telephone and automatic number jumping method | |
US20060245568A1 (en) | Gateway device, private branch exchange system, and private branch exchange method | |
KR100362346B1 (en) | Network switching system for relaying subscriber line and method for offering communication service using the same | |
US20040081141A1 (en) | Digital subscriber line device and method of processing dial string thereby | |
US20070047559A1 (en) | Gateway device, audio communication system, and audio communication method | |
US20100027764A1 (en) | Network device and method for redialing phone calls | |
KR100542703B1 (en) | Swiching system and method capable of supporting convergence service through interworking various network | |
US20070165651A1 (en) | Broad band transmission path modem, radio terminal device, program, and recording medium | |
JP4215550B2 (en) | Private branch exchange system for intersystem connection by IP and system information transmission method thereof | |
CN100433677C (en) | Method for realizing networked phone, and device of networked phone | |
KR200316804Y1 (en) | VoIP gateway having a variable prefix function | |
TWI373955B (en) | Network device and method for redialing calls thereof | |
JP3875132B2 (en) | Private branch exchange and call establishment method | |
KR100627222B1 (en) | VoIP gateway having a variable prefix function and control method using the same | |
JP2002374309A (en) | Internet telephone system using isdn telephone terminal | |
CN201345677Y (en) | Telephone | |
US20040228334A1 (en) | Apparatus and method for network telephony |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HON HAI PRECISION INDUSTRY CO., LTD., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HSU, SHIN-HSIN;YANG, JENG-SHYAN;REEL/FRAME:018750/0854 Effective date: 20061222 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE |