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 PDFInfo
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
一种宽带网络终端,包括处理器、拨号判断模块、网络判断模块及控制模块。拨号判断模块用于判断所述网络电话当前是否处于拨号状态。网络判断模块用于设置网络速度参考值,并判断当前以太网速度是否小于或者等于所述网络速度参考值。控制模块用于在所述网络电话处于拨号状态,并且当前以太网速度大于所述网络速度参考值时,调节当前以太网速度至所述网络速度参考值。处理器用于执行所述网络判断模块、所述拨号判断模块及所述控制模块。本发明还提供一种宽带网络终端动态调节网络速度的方法。上述宽带网络终端及其动态调节网络速度的方法可以避免在网络高速运行时网络电话之拨号出现错误。
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.
Description
技术领域 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,100a
拨号判断模块 103
网络判断模块 105Network
控制模块 107
挂机判断模块 1031On-
通话判断模块 1033
忙音判断模块 1035Busy
处理器 109
以太网 200Ethernet 200
网络电话 300
公共交换电话网络 400Public Switched Telephone Network 400
因特网 500
中央处理单元 301Central Processing Unit 301
交换电路 303Switching
局域网接口 305
存储器 307
用户线接口 309
电话接口 311
广域网接口 313
具体实施方式 Detailed ways
图1为本发明宽带网络终端100一实施方式的模块图。FIG. 1 is a block diagram of an embodiment of a
在本实施方式中,宽带网络终端100连接于以太网200与网络电话300之间。用于将来自网络电话300的拨号信息传送至以太网200。在本实施方式中,宽带网络终端100可为家庭用的网关(Gateway)。In this embodiment, the
宽带网络终端100包括拨号判断模块103、网络判断模块105、控制模块107及处理器109。处理器109用于执行拨号判断模块103、网络判断模块105及控制模块107。The
拨号判断模块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
网络判断模块103用于设置网络速度参考值,并且判断当前以太网速度是否小于或者等于所述网络速度参考值。其中,当所述处理器109的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。具体而言,若当前以太网速度大于所述网络速度参考值,则处理器109需要用大量的资源执行以太网功能,剩下的资源不会很多,就可能导致对网络电话300的拨号处理不及时,从而容易发生对网络电话300之拨号出现侦测错误。若当前以太网速度小于或者等于所述网络速度参考值,则处理器109只需要用少量的资源执行以太网功能,剩下的资源较多,就有较多的资源处理网络电话300的拨号,故一定不会发生网络电话300之拨号出现侦测错误。The
通话判断模块1033用于在所述网络电话300处于摘机状态时,判断所述网络电话300是否处于通话状态。在本实施方式中,所述通话状态是指用户通过网络电话300与远端用户通话时的状态。具体而言,网络电话300拨号结束等待远端用户接听,远端用户摘机同时产生摘机信号,本地宽带网络终端100收到远端摘机信号后修改网络通话协议中的通话状态标识为通话状态。本地网络电话300或者远端用户挂机时产生挂机信号,宽带网络终端100收到挂机信号后修改网络通话协议中的通话状态标识为未通话状态。因此,在网络电话300处于摘机状态时,通话判断模块1033获取通话协议中通话状态标识的状态,并据此判断网络电话300是否处于通话状态。The
忙音判断模块1035用于当所述网络电话300处于未通话状态时,判断所述网络电话300是否处于忙音状态,并当网络电话300处于非忙音状态时,判定所述网络电话300处于拨号状态。在本实施方式中,忙音状态是指网络电话300摘机后尚未进行拨号时的状态及当通话结束后远端网络电话挂机而本地网络电话300未挂机时的状态。举例而言,当网络电话300摘机后尚未进行拨号,此时网络电话处于忙音状态,当按下数字键开始拨号时,产生拨号触发信号,网络通话协议中忙音状态标识被宽带网络终端100修改为非忙音状态,因此忙音判断模块1035判断网络电话300处于非忙音状态,进而判断网络电话300处于拨号状态。通话结束后,本地网络电话300尚未挂机,远端网络电话挂机并且产生挂机信号,本地宽带网络终端100收到远端挂机信号后,修改通话协议中忙音状态标识为忙音状态,因此忙音判断模块1035判断网络电话300处于忙音状态。The busy
控制模块107用于在所述网络电话300处于拨号状态,并且在当前以太网速度大于所述网络速度参考值时,调节当前以太网速度至所述网络速度参考值。在本实施方式中,当所述宽带网络终端的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。The
控制模块107还用于在所述网络电话300处于非拨号状态时,调节当前以太网速度至所述处理器109支持的最大网络速度。在本实施方式中所述非拨号状态指网络电话300处于挂机状态、通话状态或者忙音状态。The
参阅图2,为本发明宽带网络终端100动态调节网络速度的方法一实施方式的流程图。在本实施方式中,动态调节网络速度的方法通过图1中功能模块来实施。Referring to FIG. 2 , it is a flowchart of an embodiment of a method for dynamically adjusting network speed by the
在步骤S202,网络判断模块105设置网络速度参考值。在本实施方式中,当所述处理器109的运行速度小于或者等于所述网络速度参考值时,所述网络电话300之拨号不会出现侦测错误。In step S202, the
在本实施方式中,拨号判断模块103通过步骤S204、S206及S208来判断网络电话是否处于拨号状态。所述拨号状态是指摘机状态中的网络电话处于未通话状态与非忙音状态。在步骤S204,挂机判断模块1031判断网络电话300是否处于挂机状态。具体而言,当用户拿起网络电话300时产生一个摘机信号,宽带网络终端100获取所述摘机信号后修改网络通话协议中的话机状态标识为摘机状态,当用户挂机时产生一个挂机信号,宽带网络终端100获取挂机信号后修改话机状态标识为挂机状态。因此挂机判断模块1031通过判断网络通话协议中的话机状态标识可以判断网络电话300是否处于挂机状态。In this embodiment, the dialing judging
若网络电话300处于未挂机状态即摘机状态,则在步骤S206,通话判断模块1033判断网络电话300是否处于通话状态。在本实施方式中,所述通话状态是指用户正在用网络电话300与远端用户进行通话,具体而言,用户使用网络电话300呼叫远端用户,当远端用户摘机时产生摘机信号,本地宽带网络终端100收到远端摘机信号后修改网络通话协议中的通话状态标识为通话状态,其中所述网络通话协议可以为媒体网关控制协议(Media Gateway Control Protocol,MGCP)、会话发起协议(Session Initiation Protocol,SIP)等网络电话(Voice overIntemet Protocol,VoIP)协议。因此通话判断模块1033可通过判断网络通话协议中的通话状态标识判断网络电话300是否处于通话状态。If the
若网络电话300处于未通话状态,则在步骤S208,忙音判断模块1035判断网络电话300是否处于忙音状态。在本实施方式中,忙音状态是指网络电话300摘机后尚未进行拨号时的状态及通话结束后远端网络电话挂机而本地网络电话300未挂机时的状态。If the
若网络电话300处于非忙音状态,则在步骤S210,网络判断模块105判断当前以太网速度是否小于或者等于所述网络速度参考值。If the
若当前以太网速度大于所述网络速度参考值,则在步骤S212,控制模块107调节当前以太网速度至所述网络速度参考值。If the current Ethernet speed is greater than the network speed reference value, then in step S212, the
然后,在步骤S214,宽带网络终端100等待10ms后继续执行步骤S204。Then, in step S214, the
若步骤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
图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
本发明宽带网络终端100可以在以太网高速运行时,动态调节以太网速度,从而避免网络电话300之拨号出现侦测错误。The
Claims (10)
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)
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)
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 |
-
2010
- 2010-06-28 CN CN 201010210962 patent/CN102299813B/en active Active
Patent Citations (3)
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. |