[go: up one dir, main page]

CN102299813B - Broadband network terminal and method for dynamically adjusting network speed thereof - Google Patents

Broadband network terminal and method for dynamically adjusting network speed thereof Download PDF

Info

Publication number
CN102299813B
CN102299813B CN 201010210962 CN201010210962A CN102299813B CN 102299813 B CN102299813 B CN 102299813B CN 201010210962 CN201010210962 CN 201010210962 CN 201010210962 A CN201010210962 A CN 201010210962A CN 102299813 B CN102299813 B CN 102299813B
Authority
CN
China
Prior art keywords
network
state
speed
dialing
phone
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.)
Active
Application number
CN 201010210962
Other languages
Chinese (zh)
Other versions
CN102299813A (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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN 201010210962 priority Critical patent/CN102299813B/en
Publication of CN102299813A publication Critical patent/CN102299813A/en
Application granted granted Critical
Publication of CN102299813B publication Critical patent/CN102299813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

一种宽带网络终端,包括处理器、拨号判断模块、网络判断模块及控制模块。拨号判断模块用于判断所述网络电话当前是否处于拨号状态。网络判断模块用于设置网络速度参考值,并判断当前以太网速度是否小于或者等于所述网络速度参考值。控制模块用于在所述网络电话处于拨号状态,并且当前以太网速度大于所述网络速度参考值时,调节当前以太网速度至所述网络速度参考值。处理器用于执行所述网络判断模块、所述拨号判断模块及所述控制模块。本发明还提供一种宽带网络终端动态调节网络速度的方法。上述宽带网络终端及其动态调节网络速度的方法可以避免在网络高速运行时网络电话之拨号出现错误。

Figure 201010210962

A broadband network terminal includes a processor, a dialing judging module, a network judging module and a control module. The dialing judging module is used for judging whether the Internet phone is currently in a dialing state. The network judging module is used for setting a network speed reference value, and judging whether the current Ethernet speed is less than or equal to the network speed reference value. The control module is used for adjusting the current Ethernet speed to the network speed reference value when the network phone is in a dialing state and the current Ethernet speed is greater than the network speed reference value. The processor is used to execute the network judging module, the dialing judging module and the control module. The invention also provides a method for the broadband network terminal to dynamically adjust the network speed. The above-mentioned broadband network terminal and the method for dynamically adjusting the network speed can avoid the dialing error of the Internet phone when the network is running at high speed.

Figure 201010210962

Description

宽带网络终端及其动态调节网络速度的方法Broadband network terminal and method for dynamically adjusting network speed

技术领域 technical field

本发明涉及宽带网络终端,尤其涉及一种宽带网络终端及其动态调节网络速度的方法。The invention relates to a broadband network terminal, in particular to a broadband network terminal and a method for dynamically adjusting network speed.

背景技术 Background technique

近年来随着因特网(Intemet)快速发展,网络终端产品也从简单的网络接入设备发展到现在的家庭网关,家庭网关集成了网络接入、WIFI、网络语音(Voice over Intemet Protocol,VoIP)等多个功能,在网络高速运行时,网络接入功能会占用大量的处理器(CPU)资源,容易导致处理网络语音的处理器资源不足,从而引起网络语音中的网络电话号码侦测错误,而号码侦测错误会带来无法正确呼叫远端网络电话的后果。In recent years, with the rapid development of the Internet (Internet), network terminal products have also developed from simple network access devices to current home gateways. Home gateways integrate network access, WIFI, and Voice over Internet Protocol (VoIP), etc. Multiple functions, when the network is running at high speed, the network access function will occupy a large amount of processor (CPU) resources, which will easily lead to insufficient processor resources for processing VoIP, thus causing errors in the detection of VoIP numbers in VoIP, and If the number is detected incorrectly, it will result in the inability to correctly call the remote Internet phone.

现有技术采用增加数字信号处理器(Digital Signal Processor)来解决此问题,但是现有技术带来了生产成本的增加,同时随着网络速度的增加,在网络高速运行时,仍然容易发生网络电话之拨号出现侦测错误。The prior art solves this problem by adding a digital signal processor (DSP), but the prior art brings an increase in production cost, and at the same time, with the increase of the network speed, when the network is running at a high speed, Internet calls are still prone to occur. A detect error occurred on the dial.

发明内容 Contents of the invention

有鉴于此,需要提供一种宽带网络终端,可动态调节网络速度,避免在网络高速运行时发生网络电话之拨号出现侦测错误。In view of this, it is necessary to provide a broadband network terminal that can dynamically adjust the network speed to avoid detection errors in dialing of Internet calls when the network is running at high speed.

此外,还需要提供一种宽带网络终端动态调节网络速度的方法,可动态调节网络速度,避免网络高速运行时发生网络电话之拨号出现侦测错误。In addition, it is also necessary to provide a method for dynamically adjusting the network speed of the broadband network terminal, which can dynamically adjust the network speed and avoid detection errors in the dialing of the Internet phone when the network is running at high speed.

本发明实施方式中提供的宽带网络终端连接于以太网与网络电话之间,所述宽带网络终端用于动态调节以太网速度,其包括处理器、拨号判断模块、网络判断模块及控制模块。拨号判断模块用于判断所述网络电话当前是否处于拨号状态。网络判断模块用于设置网络速度参考值,并判断当前以太网速度是否小于或者等于所述网络速度参考值,其中当所述处理器的运行速度小于或者等于所述网络速度参考值时,所述网络电话之拨号不会出现错误。控制模块用于在所述网络电话处于拨号状态,并且当前以太网速度大于所述网络速度参考值时,则调节当前以太网速度至所述网络速度参考值。若所述网络电话处于非拨号状态,则调节当前以太网速度至所述处理器支持的最大网络速度。The broadband network terminal provided in the embodiment of the present invention is connected between the Ethernet and the Internet phone. The broadband network terminal is used for dynamically adjusting the speed of the Ethernet, and includes a processor, a dialing judgment module, a network judgment module and a control module. The dialing judging module is used for judging whether the Internet phone is currently in a dialing state. The network judging module is used to set a network speed reference value, and judge whether the current Ethernet speed is less than or equal to the network speed reference value, wherein when the operating speed of the processor is less than or equal to the network speed reference value, the There will be no errors in the dialing of Internet calls. The control module is used for adjusting the current Ethernet speed to the network speed reference value when the network phone is in a dialing state and the current Ethernet speed is greater than the network speed reference value. If the network phone is in a non-dialing state, then adjust the current Ethernet speed to the maximum network speed supported by the processor.

本发明实施方式中提供的宽带网络终端动态调节网络速度的方法包括以下步骤:设置网络速度参考值;判断所述网络电话当前是否处于拨号状态;若所述网络电话处于拨号状态,则判断当前以太网速度是否小于或者等于所述网络速度参考值,其中当所述宽带网络终端的运行速度小于或者等于所述网络速度参考值时,所述网络电话之拨号不会出现错误;若当前以太网速度大于所述网络速度参考值,则调节当前以太网速度至所述网络速度参考值。若所述网络电话当前处于非拨号状态,则调节当前以太网速度至所述处理器支持的最大网络速度。The method for dynamically adjusting the network speed of a broadband network terminal provided in the embodiment of the present invention includes the following steps: setting a network speed reference value; judging whether the Internet phone is currently in a dial-up state; Whether the network speed is less than or equal to the network speed reference value, wherein when the operating speed of the broadband network terminal is less than or equal to the network speed reference value, no error will occur in the dialing of the network phone; if the current Ethernet speed is greater than the network speed reference value, adjust the current Ethernet speed to the network speed reference value. If the network phone is currently in a non-dialing state, then adjust the current Ethernet speed to the maximum network speed supported by the processor.

上述宽带网络终端及其动态调节网络速度的方法可以在不增加网络终端硬件的情况下,当以太网高速运行时,动态调节以太网速度,从而避免网络电话之拨号出现错误。The broadband network terminal and its method for dynamically adjusting the network speed can dynamically adjust the Ethernet speed when the Ethernet is running at high speed without increasing the hardware of the network terminal, so as to avoid dialing errors of the Internet phone.

附图说明 Description of drawings

图1是本发明宽带网络终端一实施方式的模块图。FIG. 1 is a block diagram of an embodiment of a broadband network terminal in the present invention.

图2是本发明宽带网络终端动态调节网络速度的方法一实施方式的流程图。Fig. 2 is a flowchart of an embodiment of a method for dynamically adjusting network speed by a broadband network terminal according to the present invention.

图3为图1中宽带网络终端所应用的环境及结构图。FIG. 3 is an environment and structural diagram of the application of the broadband network terminal in FIG. 1 .

主要元件符号说明Description of main component symbols

宽带网络终端                                100,100aBroadband network terminal 100, 100a

拨号判断模块                                103Dialing Judgment Module 103

网络判断模块                                105Network Judgment Module 105

控制模块                                    107Control Module 107

挂机判断模块                                1031On-hook judgment module 1031

通话判断模块                                1033Call judgment module 1033

忙音判断模块                                1035Busy tone judgment module 1035

处理器                                      109Processor 109

以太网                              200Ethernet 200

网络电话                            300VoIP 300

公共交换电话网络                    400Public Switched Telephone Network 400

因特网                              500Internet 500

中央处理单元                        301Central Processing Unit 301

交换电路                            303Switching circuit 303

局域网接口                          305LAN interface 305

存储器                              307Memory 307

用户线接口                          309Subscriber Line Interface 309

电话接口                            311Telephone interface 311

广域网接口                          313WAN interface 313

具体实施方式 Detailed ways

图1为本发明宽带网络终端100一实施方式的模块图。FIG. 1 is a block diagram of an embodiment of a broadband network terminal 100 according to the present invention.

在本实施方式中,宽带网络终端100连接于以太网200与网络电话300之间。用于将来自网络电话300的拨号信息传送至以太网200。在本实施方式中,宽带网络终端100可为家庭用的网关(Gateway)。In this embodiment, the broadband network terminal 100 is connected between the Ethernet 200 and the Internet phone 300 . It is used to transmit the dialing information from the Internet phone 300 to the Ethernet 200 . In this embodiment, the broadband network terminal 100 may be a gateway (Gateway) for home use.

宽带网络终端100包括拨号判断模块103、网络判断模块105、控制模块107及处理器109。处理器109用于执行拨号判断模块103、网络判断模块105及控制模块107。The broadband network terminal 100 includes a dialing judging module 103 , a network judging module 105 , a control module 107 and a processor 109 . The processor 109 is used for executing the dialing judgment module 103 , the network judgment module 105 and the control module 107 .

拨号判断模块103用于判断网络电话300当前是否处于拨号状态。其中拨号判断模块103包括挂机判断模块1031、通话判断模块1033和忙音判断模块1035。所述挂机判断模块1031用于判断网络电话300是否处于挂机状态。在本实施例中,挂机判断模块1031根据网络通话协议中的挂机状态标识来判断网络电话300是否处于挂机状态,其中所述网络通话协议可以为媒体网关控制协议(Media Gateway Control Protocol,MGCP)、会话发起协议(Session InitiationProtocol,SIP)等网络电话(Voice over Intemet Protocol,VoIP)协议。具体而言,当用户拿起网络电话300时,产生一个摘机触发信号,宽带网络终端100获取摘机触发信号后,修改网络通话协议中话机状态标识为摘机状态,当网络电话300挂机时产生一个挂机触发信号,网络通话协议中话机状态标识修改为挂机状态,从而挂机判断模块1051可根据网络通话协议中话机状态标识判断网络电话300是否处于挂机状态。The dialing judging module 103 is used for judging whether the Internet phone 300 is currently in a dialing state. The dialing judging module 103 includes an on-hook judging module 1031 , a call judging module 1033 and a busy tone judging module 1035 . The on-hook judging module 1031 is used to judge whether the Internet phone 300 is in the on-hook state. In this embodiment, the on-hook judging module 1031 judges whether the Internet phone 300 is in the on-hook state according to the on-hook state identifier in the network call protocol, wherein the network call protocol can be Media Gateway Control Protocol (Media Gateway Control Protocol, MGCP), Session Initiation Protocol (Session Initiation Protocol, SIP) and other Internet telephony (Voice over Internet Protocol, VoIP) protocols. Specifically, when the user picks up the Internet phone 300, an off-hook trigger signal is generated, and after the broadband network terminal 100 obtains the off-hook trigger signal, the phone state identifier in the Internet call protocol is modified to be an off-hook state, and when the Internet phone 300 is hung up An on-hook trigger signal is generated, and the phone status identifier in the Internet call protocol is changed to the on-hook state, so that the on-hook judging module 1051 can judge whether the Internet phone 300 is in the on-hook state according to the phone state identifier in the Internet call protocol.

网络判断模块103用于设置网络速度参考值,并且判断当前以太网速度是否小于或者等于所述网络速度参考值。其中,当所述处理器109的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。具体而言,若当前以太网速度大于所述网络速度参考值,则处理器109需要用大量的资源执行以太网功能,剩下的资源不会很多,就可能导致对网络电话300的拨号处理不及时,从而容易发生对网络电话300之拨号出现侦测错误。若当前以太网速度小于或者等于所述网络速度参考值,则处理器109只需要用少量的资源执行以太网功能,剩下的资源较多,就有较多的资源处理网络电话300的拨号,故一定不会发生网络电话300之拨号出现侦测错误。The network judging module 103 is used to set a network speed reference value, and judge whether the current Ethernet speed is less than or equal to the network speed reference value. Wherein, when the operating speed of the processor 109 is less than or equal to the network speed reference value, the dialing of the Internet phone 300 will not cause detection errors. Specifically, if the current Ethernet speed is greater than the network speed reference value, the processor 109 needs to use a large amount of resources to perform the Ethernet function, and the remaining resources will not be many, which may cause the dialing process of the Internet phone 300 to be ineffective. In time, it is easy to detect errors in the dialing of the Internet phone 300 . If the current Ethernet speed is less than or equal to the network speed reference value, the processor 109 only needs to use a small amount of resources to perform the Ethernet function, and the remaining resources are more, so there are more resources to process the dialing of the Internet phone 300, Therefore, there will be no detection errors in the dialing of the Internet phone 300.

通话判断模块1033用于在所述网络电话300处于摘机状态时,判断所述网络电话300是否处于通话状态。在本实施方式中,所述通话状态是指用户通过网络电话300与远端用户通话时的状态。具体而言,网络电话300拨号结束等待远端用户接听,远端用户摘机同时产生摘机信号,本地宽带网络终端100收到远端摘机信号后修改网络通话协议中的通话状态标识为通话状态。本地网络电话300或者远端用户挂机时产生挂机信号,宽带网络终端100收到挂机信号后修改网络通话协议中的通话状态标识为未通话状态。因此,在网络电话300处于摘机状态时,通话判断模块1033获取通话协议中通话状态标识的状态,并据此判断网络电话300是否处于通话状态。The call judgment module 1033 is used for judging whether the Internet phone 300 is in a call state when the Internet phone 300 is in an off-hook state. In this embodiment, the talking state refers to the state when the user communicates with the remote user through the network phone 300 . Specifically, the Internet phone 300 finishes dialing and waits for the remote user to answer. The remote user off-hooks and generates an off-hook signal at the same time. After receiving the remote off-hook signal, the local broadband network terminal 100 modifies the call status flag in the network call protocol to call state. When the local network phone 300 or the remote user hangs up, an on-hook signal is generated, and after receiving the on-hook signal, the broadband network terminal 100 modifies the call state flag in the network call protocol to be not in a call state. Therefore, when the Internet phone 300 is in the off-hook state, the call judging module 1033 obtains the state of the call state flag in the call protocol, and judges whether the Internet phone 300 is in the call state accordingly.

忙音判断模块1035用于当所述网络电话300处于未通话状态时,判断所述网络电话300是否处于忙音状态,并当网络电话300处于非忙音状态时,判定所述网络电话300处于拨号状态。在本实施方式中,忙音状态是指网络电话300摘机后尚未进行拨号时的状态及当通话结束后远端网络电话挂机而本地网络电话300未挂机时的状态。举例而言,当网络电话300摘机后尚未进行拨号,此时网络电话处于忙音状态,当按下数字键开始拨号时,产生拨号触发信号,网络通话协议中忙音状态标识被宽带网络终端100修改为非忙音状态,因此忙音判断模块1035判断网络电话300处于非忙音状态,进而判断网络电话300处于拨号状态。通话结束后,本地网络电话300尚未挂机,远端网络电话挂机并且产生挂机信号,本地宽带网络终端100收到远端挂机信号后,修改通话协议中忙音状态标识为忙音状态,因此忙音判断模块1035判断网络电话300处于忙音状态。The busy tone judging module 1035 is used to determine whether the internet phone 300 is in a busy tone state when the internet phone 300 is not in a call state, and determine whether the internet phone 300 is in a dialing state when the internet phone 300 is in a non-busy tone state. In this embodiment, the busy tone state refers to the state when the Internet phone 300 has not yet dialed after off-hook and the state when the remote Internet phone hangs up after the call ends but the local Internet phone 300 does not hang up. For example, when the Internet phone 300 has not yet dialed after off-hook, the Internet phone is in a busy tone state, and when a number key is pressed to start dialing, a dialing trigger signal is generated, and the busy tone state identifier in the Internet call protocol is modified by the broadband network terminal 100 It is in a non-busy tone state, so the busy tone judging module 1035 judges that the Internet phone 300 is in a non-busy tone state, and further judges that the Internet phone 300 is in a dialing state. After the call ends, the local Internet phone 300 has not hung up yet, the remote Internet phone hangs up and generates an on-hook signal, after the local broadband network terminal 100 receives the remote on-hook signal, it modifies the status of the busy tone in the call protocol to be a busy tone state, so the busy tone judging module 1035 It is judged that the network phone 300 is in a busy tone state.

控制模块107用于在所述网络电话300处于拨号状态,并且在当前以太网速度大于所述网络速度参考值时,调节当前以太网速度至所述网络速度参考值。在本实施方式中,当所述宽带网络终端的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。The control module 107 is used for adjusting the current Ethernet speed to the network speed reference value when the network phone 300 is in the dialing state and the current Ethernet speed is greater than the network speed reference value. In this embodiment, when the operating speed of the broadband network terminal is less than or equal to the network speed reference value, no detection error will occur in the dialing of the network phone 300 .

控制模块107还用于在所述网络电话300处于非拨号状态时,调节当前以太网速度至所述处理器109支持的最大网络速度。在本实施方式中所述非拨号状态指网络电话300处于挂机状态、通话状态或者忙音状态。The control module 107 is also configured to adjust the current Ethernet speed to the maximum network speed supported by the processor 109 when the Internet phone 300 is in the non-dialing state. In this embodiment, the non-dialing state refers to that the Internet phone 300 is in an on-hook state, a call state or a busy tone state.

参阅图2,为本发明宽带网络终端100动态调节网络速度的方法一实施方式的流程图。在本实施方式中,动态调节网络速度的方法通过图1中功能模块来实施。Referring to FIG. 2 , it is a flowchart of an embodiment of a method for dynamically adjusting network speed by the broadband network terminal 100 of the present invention. In this embodiment, the method for dynamically adjusting the network speed is implemented by the functional modules in FIG. 1 .

在步骤S202,网络判断模块105设置网络速度参考值。在本实施方式中,当所述处理器109的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。In step S202, the network judging module 105 sets a network speed reference value. In this embodiment, when the operating speed of the processor 109 is less than or equal to the network speed reference value, no detection error will occur in the dialing of the Internet phone 300 .

在本实施方式中,拨号判断模块103通过步骤S204、S206及S208来判断网络电话是否处于拨号状态。所述拨号状态是指摘机状态中的网络电话处于未通话状态与非忙音状态。在步骤S204,挂机判断模块1031判断网络电话300是否处于挂机状态。具体而言,当用户拿起网络电话300时产生一个摘机信号,宽带网络终端100获取所述摘机信号后修改网络通话协议中的话机状态标识为摘机状态,当用户挂机时产生一个挂机信号,宽带网络终端100获取挂机信号后修改话机状态标识为挂机状态。因此挂机判断模块1031通过判断网络通话协议中的话机状态标识可以判断网络电话300是否处于挂机状态。In this embodiment, the dialing judging module 103 judges whether the Internet phone is in a dialing state through steps S204, S206 and S208. The dialing state means that the Internet phone in the off-hook state is in a non-talking state and a non-busy tone state. In step S204, the on-hook judging module 1031 judges whether the Internet phone 300 is on-hook. Specifically, when the user picks up the Internet phone 300, an off-hook signal is generated, and after obtaining the off-hook signal, the broadband network terminal 100 modifies the phone state identification in the Internet call protocol to be an off-hook state, and generates an on-hook signal when the user hangs up. signal, after the broadband network terminal 100 obtains the on-hook signal, it modifies the phone status flag to be on-hook. Therefore, the on-hook judging module 1031 can judge whether the Internet phone 300 is in the on-hook state by judging the phone state identifier in the Internet call protocol.

若网络电话300处于未挂机状态即摘机状态,则在步骤S206,通话判断模块1033判断网络电话300是否处于通话状态。在本实施方式中,所述通话状态是指用户正在用网络电话300与远端用户进行通话,具体而言,用户使用网络电话300呼叫远端用户,当远端用户摘机时产生摘机信号,本地宽带网络终端100收到远端摘机信号后修改网络通话协议中的通话状态标识为通话状态,其中所述网络通话协议可以为媒体网关控制协议(Media Gateway Control Protocol,MGCP)、会话发起协议(Session Initiation Protocol,SIP)等网络电话(Voice overIntemet Protocol,VoIP)协议。因此通话判断模块1033可通过判断网络通话协议中的通话状态标识判断网络电话300是否处于通话状态。If the Internet phone 300 is not on-hook, that is, in the off-hook state, then in step S206, the call judging module 1033 judges whether the Internet phone 300 is in a call state. In this embodiment, the call state refers to that the user is using the Internet phone 300 to communicate with the remote user. Specifically, the user uses the Internet phone 300 to call the remote user, and an off-hook signal is generated when the remote user picks up the phone. After receiving the remote off-hook signal, the local broadband network terminal 100 modifies the call state identification in the network call protocol to call state, wherein the network call protocol can be Media Gateway Control Protocol (Media Gateway Control Protocol, MGCP), session initiation Protocol (Session Initiation Protocol, SIP) and other Internet telephony (Voice over Internet Protocol, VoIP) protocols. Therefore, the call judgment module 1033 can judge whether the Internet phone 300 is in a call state by judging the call state identifier in the Internet call protocol.

若网络电话300处于未通话状态,则在步骤S208,忙音判断模块1035判断网络电话300是否处于忙音状态。在本实施方式中,忙音状态是指网络电话300摘机后尚未进行拨号时的状态及通话结束后远端网络电话挂机而本地网络电话300未挂机时的状态。If the Internet phone 300 is not in a call state, then in step S208, the busy tone judging module 1035 judges whether the Internet phone 300 is in a busy tone state. In this embodiment, the busy tone state refers to the state when the Internet phone 300 has not dialed a number after off-hook and the state when the remote Internet phone is on-hook but the local Internet phone 300 is not on-hook after the call ends.

若网络电话300处于非忙音状态,则在步骤S210,网络判断模块105判断当前以太网速度是否小于或者等于所述网络速度参考值。If the Internet phone 300 is in the non-busy tone state, then in step S210, the network judging module 105 judges whether the current Ethernet speed is less than or equal to the network speed reference value.

若当前以太网速度大于所述网络速度参考值,则在步骤S212,控制模块107调节当前以太网速度至所述网络速度参考值。If the current Ethernet speed is greater than the network speed reference value, then in step S212, the control module 107 adjusts the current Ethernet speed to the network speed reference value.

然后,在步骤S214,宽带网络终端100等待10ms后继续执行步骤S204。Then, in step S214, the broadband network terminal 100 continues to execute step S204 after waiting for 10 ms.

若步骤S204的判断结果为挂机状态,步骤S206的判断结果为通话状态,或步骤S208的判断结果为忙音,即网络电话300处于非拨号状态,则控制模块107执行步骤S216,即调节当前以太网速度至所述处理器109支持的最大网络速度。If the judgment result of step S204 is an on-hook state, the judgment result of step S206 is a call state, or the judgment result of step S208 is a busy tone, that is, the Internet phone 300 is in a non-dialing state, then the control module 107 executes step S216, that is, adjusts the current Ethernet speed up to the maximum network speed supported by the processor 109 .

图3为图1中宽带网络终端100所应用的环境及结构图。在本实施方式中图3所示宽带网络终端100a包括中央处理单元301、交换电路303、局域网接口305、广域网接口313、用户线接口309与电话接口311。其中局域网接口305用于连接以太网200与交换电路303,广域网接口313用于连接因特网500与交换电路303。存储器307可用于存储图1所示网络判断模块105、拨号判断模块103及控制模块107对应的软件代码,中央处理单元301可用于执行图1中网络判断模块105及拨号判断模块103,交换电路303可用于执行图1中的控制模块107,从而实现对以太网速度的动态调节。在本实施方式中,所述交换电路303可以通过开关(switch)芯片实现。用户线接口309连接于网络电话300与中央处理单元301之间,用于监测网络电话300的摘机、挂机行为,产生摘机、挂机信号,并相应修改网络通话协议中各状态标识。在本发明一具体实施例中,用户线接口309可以通过用户线接口电路(Subscriber Line InterfaceCircuit,SLIC)实现。电话接口311连接公共交换电话网络(Public SwitchedTelephone Network,PSTN)400与中央处理单元301,用于监控公共交换电话网络电话线的各种行为。在本发明一具体实施例中,电话接口311可以通过数据直接存储安排电路(Data Direct Access Arrangement,DDAA)实现。FIG. 3 is an environment and structure diagram in which the broadband network terminal 100 in FIG. 1 is applied. In this implementation manner, the broadband network terminal 100a shown in FIG. The LAN interface 305 is used to connect the Ethernet 200 and the switching circuit 303 , and the WAN interface 313 is used to connect the Internet 500 and the switching circuit 303 . The memory 307 can be used to store the corresponding software codes of the network judging module 105 shown in FIG. It can be used to execute the control module 107 in FIG. 1, so as to realize the dynamic adjustment of the Ethernet speed. In this implementation manner, the switching circuit 303 may be implemented by a switch chip. The subscriber line interface 309 is connected between the Internet phone 300 and the central processing unit 301, and is used for monitoring the off-hook and on-hook behaviors of the Internet phone 300, generating off-hook and on-hook signals, and correspondingly modifying the status marks in the Internet call protocol. In a specific embodiment of the present invention, the subscriber line interface 309 may be implemented by a subscriber line interface circuit (Subscriber Line Interface Circuit, SLIC). The telephone interface 311 connects the public switched telephone network (Public Switched Telephone Network, PSTN) 400 and the central processing unit 301, and is used for monitoring various behaviors of the public switched telephone network telephone line. In a specific embodiment of the present invention, the telephone interface 311 can be realized by a data direct access arrangement circuit (Data Direct Access Arrangement, DDAA).

本发明宽带网络终端100可以在以太网高速运行时,动态调节以太网速度,从而避免网络电话300之拨号出现侦测错误。The broadband network terminal 100 of the present invention can dynamically adjust the speed of the Ethernet when the Ethernet is running at a high speed, thereby avoiding detection errors in the dialing of the Internet phone 300 .

Claims (10)

1.一种宽带网络终端,连接于以太网与网络电话之间,所述宽带网络终端用于动态调节以太网速度,其特征在于,所述宽带网络终端包括:1. a broadband network terminal, connected between ethernet and internet phone, described broadband network terminal is used for dynamically adjusting Ethernet speed, it is characterized in that, described broadband network terminal comprises: 处理器;processor; 拨号判断模块,用于判断所述网络电话当前是否处于拨号状态;A dialing judging module, configured to judge whether the Internet phone is currently in a dialing state; 网络判断模块,用于设置网络速度参考值,并判断当前以太网速度是否小于或者等于所述网络速度参考值,其中当所述处理器的运行速度小于或者等于所述网络速度参考值时,所述网络电话之拨号不会出现错误;及A network judgment module, configured to set a network speed reference value, and judge whether the current Ethernet speed is less than or equal to the network speed reference value, wherein when the operating speed of the processor is less than or equal to the network speed reference value, the The dialing of the above Internet phone will not be wrong; and 控制模块,用于在所述网络电话处于拨号状态,并且当前以太网速度大于所述网络速度参考值时,调节当前以太网速度至所述网络速度参考值;A control module, configured to adjust the current Ethernet speed to the network speed reference value when the network phone is in a dial-up state and the current Ethernet speed is greater than the network speed reference value; 其中,所述处理器用于执行所述网络判断模块、所述拨号判断模块及所述控制模块。Wherein, the processor is configured to execute the network judging module, the dialing judging module and the control module. 2.如权利要求1所述的宽带网络终端,其特征在于,所述拨号状态是指摘机状态中的网络电话处于未通话状态与非忙音状态。2. The broadband network terminal according to claim 1, wherein the dialing state means that the Internet phone in the off-hook state is in a non-talking state and a non-busy tone state. 3.如权利要求2所述的宽带网络终端,其特征在于,所述控制模块还用于在所述网络电话处于非拨号状态时,调节当前以太网速度至所述处理器支持的最大网络速度,其中所述非拨号状态包括所述网络电话处于挂机状态、通话状态或者忙音状态。3. The broadband network terminal according to claim 2, wherein the control module is also used to adjust the current Ethernet speed to the maximum network speed supported by the processor when the Internet phone is in a non-dialing state , wherein the non-dialing state includes that the Internet phone is in an on-hook state, in a call state or in a busy tone state. 4.如权利要求3所述的宽带网络终端,其特征在于,所述拨号判断模块还包括挂机判断模块,用于判断所述网络电话是否处于挂机状态。4. The broadband network terminal according to claim 3, wherein the dialing judging module further comprises an on-hook judging module for judging whether the Internet phone is in an on-hook state. 5.如权利要求4所述的宽带网络终端,其特征在于,所述拨号判断模块还包括通话判断模块,用于在所述网络电话处于未挂机状态时,判断所述网络电话是否处于通话状态。5. The broadband network terminal according to claim 4, wherein the dialing judging module further includes a call judging module, which is used to judge whether the Internet phone is in a talking state when the Internet phone is not on-hook . 6.如权利要求5所述的宽带网络终端,其特征在于,所述拨号判断模块还包括忙音判断模块,用于当所述网络电话处于未通话状态时,判断所述网络电话是否处于忙音状态,并当所述网络电话处于非忙音状态时,判定所述网络电话处于拨号状态。6. The broadband network terminal as claimed in claim 5, wherein the dialing judging module also includes a busy tone judging module for judging whether the internet phone is in a busy tone state when the internet phone is not in a call state , and when the network phone is in a non-busy tone state, it is determined that the network phone is in a dialing state. 7.一种宽带网络终端动态调节网络速度的方法,所述宽带网络终端用于动态调节以太网速度,所述宽带网络终端连接于以太网与网络电话之间,其特征在于,所述宽带网络终端动态调节网络速度的方法包括以下步骤:7. A method for dynamically adjusting network speed by a broadband network terminal, wherein the broadband network terminal is used for dynamically adjusting the Ethernet speed, and the broadband network terminal is connected between the Ethernet and the Internet phone, wherein the broadband network terminal The method for the terminal to dynamically adjust the network speed includes the following steps: 设置网络速度参考值;Set the network speed reference value; 判断所述网络电话当前是否处于拨号状态;Judging whether the Internet phone is currently in a dialing state; 若所述网络电话处于拨号状态,则判断当前以太网速度是否小于或者等于所述网络速度参考值,其中当所述宽带网络终端的运行速度小于或者等于所述网络速度参考值时,所述网络电话之拨号不会出现错误;及If the network phone is in the dial-up state, it is judged whether the current Ethernet speed is less than or equal to the network speed reference value, wherein when the operating speed of the broadband network terminal is less than or equal to the network speed reference value, the network Telephone dialing will be error-free; and 若当前以太网速度大于所述网络速度参考值,则调节当前以太网速度至所述网络速度参考值。If the current Ethernet speed is greater than the network speed reference value, adjusting the current Ethernet speed to the network speed reference value. 8.如权利要求7所述的宽带网络终端动态调节网络速度的方法,其特征在于,所述判断所述网络电话是否处于拨号状态的步骤包括以下步骤:8. The method for dynamically adjusting network speed of a broadband network terminal as claimed in claim 7, wherein said step of judging whether said Internet phone is in a dialing state comprises the following steps: 判断所述网络电话是否处于挂机状态;Judging whether the network phone is on-hook; 若所述网络电话处于未挂机状态,则判断所述网络电话是否处于通话状态;If the Internet phone is in the off-hook state, then determine whether the Internet phone is in a talking state; 若所述网络电话处于未通话状态,则判断所述网络电话是否处于忙音状态;及If the network phone is not in a call state, then determine whether the network phone is in a busy tone state; and 若所述网络电话处于非忙音状态,则判定所述网络电话当前处于拨号状态。If the network phone is in a non-busy tone state, it is determined that the network phone is currently in a dialing state. 9.如权利要求8所述的宽带网络终端动态调节网络速度的方法,其特征在于,还包括以下步骤:9. The method for dynamically adjusting the network speed of a broadband network terminal as claimed in claim 8, further comprising the steps of: 若所述网络电话处于非拨号状态,则调节当前以太网速度至所述宽带网络终端支持的最大网络速度。If the network phone is in a non-dialing state, then adjust the current Ethernet speed to the maximum network speed supported by the broadband network terminal. 10.如权利要求9所述的宽带网络终端动态调节网络速度的方法,其特征在于,所述非拨号状态包括所述网络电话处于挂机状态、通话状态或者忙音状态。10. The method for dynamically adjusting the network speed of a broadband network terminal according to claim 9, wherein the non-dialing state includes that the Internet phone is in an on-hook state, in a call state or in a busy tone state.
CN 201010210962 2010-06-28 2010-06-28 Broadband network terminal and method for dynamically adjusting network speed thereof Active CN102299813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010210962 CN102299813B (en) 2010-06-28 2010-06-28 Broadband network terminal and method for dynamically adjusting network speed thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010210962 CN102299813B (en) 2010-06-28 2010-06-28 Broadband network terminal and method for dynamically adjusting network speed thereof

Publications (2)

Publication Number Publication Date
CN102299813A CN102299813A (en) 2011-12-28
CN102299813B true CN102299813B (en) 2013-12-25

Family

ID=45360000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010210962 Active CN102299813B (en) 2010-06-28 2010-06-28 Broadband network terminal and method for dynamically adjusting network speed thereof

Country Status (1)

Country Link
CN (1) CN102299813B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752140A (en) * 2012-06-29 2012-10-24 福建富士通信息软件有限公司 Method for comprehensively detecting and solving slow network speed
CN103501277B (en) * 2013-09-30 2016-06-15 惠州Tcl移动通信有限公司 The processing method of a kind of self adaptation network speed control and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1681844A1 (en) * 2005-01-17 2006-07-19 Aevoe incorporated Method for establishing a telephone communication using a web phone with modules for Internet and PSTN connections
CN101472020A (en) * 2007-12-29 2009-07-01 二六三网络通信股份有限公司 Method, device and system for implementing network telephone business
CN201345682Y (en) * 2008-12-31 2009-11-11 李勇 Novel phone network conversion device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1681844A1 (en) * 2005-01-17 2006-07-19 Aevoe incorporated Method for establishing a telephone communication using a web phone with modules for Internet and PSTN connections
CN101472020A (en) * 2007-12-29 2009-07-01 二六三网络通信股份有限公司 Method, device and system for implementing network telephone business
CN201345682Y (en) * 2008-12-31 2009-11-11 李勇 Novel phone network conversion device

Also Published As

Publication number Publication date
CN102299813A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
US20100034194A1 (en) Eliminating unreachable subscribers in voice-over-ip networks
CN101309277A (en) SIP terminal, method and system for reporting status thereof, and method and device for processing the reported status
CA2574069C (en) Complementary voip service
CN102137364A (en) Calling method and device
CN102299813B (en) Broadband network terminal and method for dynamically adjusting network speed thereof
US8824458B2 (en) Method and apparatus for supporting call control of circuit domain telephone and VoIP
US9124600B2 (en) Smart phone system for dialing through local call and methods thereof
CN102624585B (en) Analog conversation method based on gateway terminal equipment and voice device detection device
CN102724371B (en) Voice gateway and method for establishing call through same
KR20130072733A (en) Voip gateway device, control method thereof and voip gateway system
CN101431577A (en) Network telephone gateway and system and automatic number-skipping method
WO2008138187A1 (en) A realizing method for re-answering call
CN1859517B (en) Click-to-call system and control method for Internet phone
US8391279B2 (en) Modem and calling packet processing method thereof
US20060233159A1 (en) Method and apparatus for enabling dynamic protocol interworking resolution with diverse endpoints
CN104980556A (en) Gateway and delayed ringing method thereof
JP2011239015A (en) Network apparatus and telephone system
CN101478618B (en) External line state detection method for external switching center
WO2007025436A1 (en) A method for calling identity delivery when calling in the communication system
CN106161817B (en) Communication method and communication system based on VOIP platform
US20090252317A1 (en) Method of managing a telecommunications system for adaptive serial ringing and program product therefor
US20060140171A1 (en) Method and apparatus for enabling the network to disconnect unintentionally idle off-hook endpoints
TW201203953A (en) Broadband network terminal and method for dynamically adjusting network speed thereof
CN111405121B (en) User behavior operation monitoring method and system based on voice call
WO2007083581A1 (en) Relay device, telephone system, relay program product, and computer-readable recording medium containing the relay program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180316

Address after: Shanghai City, Songjiang Export Processing Zone South Road No. 1925

Patentee after: Ambit Microsystems (Shanghai) Co., Ltd.

Address before: 201613 Shanghai city south of Songjiang Export Processing Zone Road No. 1925

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Ambit Microsystems (Shanghai) Co., Ltd.