WO2016177099A1 - 一种家庭网关的带宽测速系统及方法 - Google Patents

一种家庭网关的带宽测速系统及方法 Download PDF

Info

Publication number
WO2016177099A1
WO2016177099A1 PCT/CN2016/076138 CN2016076138W WO2016177099A1 WO 2016177099 A1 WO2016177099 A1 WO 2016177099A1 CN 2016076138 W CN2016076138 W CN 2016076138W WO 2016177099 A1 WO2016177099 A1 WO 2016177099A1
Authority
WO
WIPO (PCT)
Prior art keywords
speed measuring
home gateway
unit
bandwidth
measuring unit
Prior art date
Application number
PCT/CN2016/076138
Other languages
English (en)
French (fr)
Inventor
王恺
王志军
柳安意
Original Assignee
烽火通信科技股份有限公司
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 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Publication of WO2016177099A1 publication Critical patent/WO2016177099A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • the invention relates to the field of bandwidth speed measurement technology, in particular to a bandwidth measurement system and method for a home gateway.
  • the home gateway is the entrance of the user's home to the Internet (Internet).
  • the actual access rate determines the quality of the broadband service carried by the user. With the gradual popularization of broadband services, users are paying more and more attention to their actual access rates. Bandwidth measurement is a common method used by users.
  • the traditional bandwidth measurement is initiated by a terminal (such as a PC) in the home network, and is obtained by accessing a website or downloading a corresponding speed measurement program to the local to download/upload large data.
  • a terminal such as a PC
  • This method has the following disadvantages: 1. If other devices in the home network access the Internet at the same time, such as video services, P2P (Peer to Peer), etc., the speed measurement flow of the speed measuring terminal is affected by other methods. The impact of traffic squeezes, resulting in a lower measured bandwidth rate. 2. In order to obtain an accurate bandwidth rate, other devices in the home network need to stop accessing the Internet, and the operation is not convenient.
  • the present invention aims to provide a bandwidth measurement system and method for a home gateway.
  • the present invention is not affected by his service crowding and can accurately calculate the bandwidth rate;
  • Other devices in the home network stop accessing the Internet and are easy to operate.
  • the technical solution adopted by the present invention is: a bandwidth measurement system of a home gateway, including a home gateway and a user terminal connected to the home gateway, the home gateway includes an uplink network interface, and the user terminal includes a human-machine interface.
  • the home gateway further includes a speed measuring unit, a recording unit and a proxy unit; wherein the proxy unit is configured to monitor the human machine interface, determine whether the request sent by the human machine interface is received in the monitoring period; if the human machine interface receives the request The request unit determines the type of the request sent by the human interface; if the request type sent by the human interface is the acquisition bandwidth rate request, the proxy unit reads the bandwidth rate on the recording unit and sends it to the human interface; if the human interface If the request type sent is a speed measurement request, the agent unit continues to determine whether the speed measuring unit is activated; if the speed measuring unit is activated, the agent unit directly sends the speed measuring signal; if the speed measuring unit is not activated, the agent unit starts the speed measuring unit and sends the speed measuring signal; After receiving the request sent by the human machine interface, the agent unit judges Whether the speed measuring unit is started, if yes, the agent unit turns off the speed measuring unit and continues to monitor the human machine interface; otherwise, the agent unit continues to monitor the human machine interface
  • the speed measuring unit is further configured to start an upload/download task, where the upload/download task is used to make the bandwidth rate of the uplink network interface of the home gateway be at a full load state.
  • the invention also discloses a bandwidth measurement method of a home gateway based on the above system, comprising the following steps: Step S1: The proxy unit listens to the human machine interface, and determines whether the request sent by the human machine interface is received in the monitoring period; if yes, the jump Go to step S4; otherwise, go to step S2; step S2. The agent unit determines whether the speed measuring unit is activated, and if so, jumps to step S3; otherwise, returns to step S1; step S3. the agent unit closes the speed measuring unit, returns to the step S1; Step S4.
  • the proxy unit determines the type of the request sent by the human interface; if it is to obtain the bandwidth rate request, the process goes to step S5; if it is the speed measurement request, Go to step S6; step S5.
  • the agent unit reads the bandwidth rate on the recording unit and sends it to the human machine interface, and returns to step S1; step S6.
  • the agent unit determines whether the speed measuring unit is activated, and if so, jumps to step S7. Otherwise, the process goes to step S8; step S7.
  • the speed measuring unit periodically monitors the uplink network interface of the home gateway, calculates the bandwidth rate and stores it to the recording unit, and returns to step S1; step S8, the agent unit starts the speed measuring unit, and returns to Step S7.
  • step S1 the method further includes the steps of: starting a home gateway, and initializing a human machine interface of the user terminal.
  • step S1 the listening period is 5 seconds.
  • step S4 if the request type transmitted by the human interface cannot be resolved in step S4, the process returns to step S1.
  • step S701 The speed measuring unit starts an uploading/downloading task; the uploading/downloading task is used to make the bandwidth rate of the uplink network interface of the home gateway at a full load state; S702.
  • the speed measuring unit accesses the uplink network interface of the home gateway, acquires statistics information of the uplink packet and the downlink packet, and records the current system time; in step S703, the speed measuring unit enters a sleep period; and in step S704, the sleep ends, and the speed measuring unit accesses again.
  • the uplink network interface of the home gateway obtains the statistics information of the uplink packet and the downlink packet, and records the current system time. Step S705.
  • the speed measurement unit collects the statistics of the uplink packet and the downlink packet obtained by accessing the uplink network interface. The information, and the system time difference twice, calculate the uplink bandwidth rate and the downlink bandwidth rate; step S706. The speed measuring unit stores the calculated uplink bandwidth rate and downlink bandwidth rate to the recording unit, and returns to step S703.
  • step S701 the uploading/downloading task is performed in a user-server manner or a peer-to-peer network P2P mode.
  • the user-server mode adopts file transmission.
  • Protocol FTP mode or Hypertext Transfer Protocol HTTP mode.
  • step S703 the sleep period is 1 second to 5 seconds.
  • the speed measuring unit of the present invention is installed in a home gateway, and calculates a bandwidth rate through an uplink network interface of the home gateway, and the user accesses the home gateway through a Web (World Wide Web) or a smart terminal App (Application).
  • the home gateway is triggered to upload/download tasks to a preset address, and together with the data accessed by the internal network to the Internet, the actual bandwidth of the home gateway is evaluated and fed back to the user. Since the speed measurement data is directly derived from the uplink port of the home gateway, and is not interfered by the internal network environment, the speed measurement using the PC terminal is more stable than the conventional method. Therefore, the speed measuring unit is not affected by his business squeeze and can accurately calculate the bandwidth rate.
  • the speed measuring unit of the present invention is installed in the home gateway. Therefore, in the speed measuring process, other devices in the home network are not required to stop accessing the Internet, and the operation is convenient.
  • FIG. 1 is a structural block diagram of a bandwidth measurement system of a home gateway according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for measuring a bandwidth of a home gateway according to an embodiment of the present invention
  • FIG. 3 is a specific flowchart of step S7 in FIG. 2.
  • an embodiment of the present invention provides a bandwidth measurement system for a home gateway, including a home gateway and a user terminal connected to the home gateway.
  • the home gateway includes an uplink network interface, and the user terminal includes a human machine interface;
  • the utility model also includes a speed measuring unit, a recording unit and a proxy unit; wherein
  • the agent unit is configured to monitor the human machine interface, and determine whether the request sent by the human machine interface is received during the monitoring period;
  • the proxy unit determines the type of the request sent by the human interface
  • the proxy unit reads the bandwidth rate on the recording unit and sends the bandwidth rate to the human machine interface;
  • the agent unit continues to determine whether the speed measuring unit is activated
  • the agent unit directly sends the speed measuring signal
  • the agent unit starts the speed measuring unit and sends a speed measuring signal
  • the agent unit determines whether the speed measuring unit is activated. If yes, the agent unit turns off the speed measuring unit and continues to listen to the human machine interface; otherwise, the agent unit continues to listen to the human machine interface.
  • the speed measuring unit is configured to periodically monitor the uplink network interface, calculate the bandwidth rate, and store the bandwidth rate to the recording unit.
  • the speed measuring unit is further configured to start an upload/download task, and the upload/download task is used to enable the family.
  • the bandwidth rate of the gateway's upstream network interface is at full capacity.
  • a recording unit for storing a bandwidth rate calculated by the speed measuring unit.
  • an embodiment of the present invention further provides a method for measuring a bandwidth of a home gateway based on the foregoing system, including the following steps:
  • Step S1 The agent unit monitors the human-machine interface of the home gateway, determines whether the request sent by the human-machine interface is received in the listening period; if yes, the process goes to step S4; otherwise, the process goes to step S2; according to the practical experience value, the listening period 5 seconds is better.
  • Step S2 The agent unit determines whether the speed measuring unit is activated, and if so, jumps to step S3; otherwise, returns to step S1.
  • Step S3. The agent unit turns off the speed measuring unit, and returns to step S1.
  • Step S4 The agent unit determines the type of the request sent by the human interface; if it is to obtain the bandwidth rate request, the process goes to step S5; if it is the speed measurement request, the process goes to step S6. If the request type sent by the human interface cannot be resolved, the process returns to step S1.
  • Step S5. The proxy unit reads the bandwidth rate on the recording unit and transmits it to the human machine interface of the user terminal, and returns to step S1.
  • Step S6 The agent unit determines whether the speed measuring unit is activated, and if so, jumps to step S7; otherwise, it jumps to step S8.
  • Step S7 The speed measuring unit periodically monitors the uplink network interface of the home gateway, calculates the bandwidth rate, and stores the bandwidth rate to the recording unit, and returns to step S1.
  • Step S8 The agent unit starts the speed measuring unit, and returns to step S7.
  • the method further includes the steps of: starting a home gateway, and initializing a human machine interface of the user terminal.
  • step S7 is as follows:
  • Step S701. The speed measuring unit starts the uploading/downloading task; the uploading/downloading task is used to make the bandwidth rate of the uplink network interface of the home gateway in a full load state; the uploading/downloading task is performed in a user-server mode or a P2P mode.
  • the user-server mode uses an FTP (File Transfer Protocol) or HTTP (Hypertext Transfer Protocol) method. According to the Best-Effort nature of IP, the current bandwidth rate of the uplink network interface approaches the actual access bandwidth rate of the home gateway on the link.
  • Step S702 The speed measuring unit accesses the uplink network interface of the home gateway, obtains statistics information of the uplink packet and the downlink packet, and records the current system time.
  • Step S703. The speed measuring unit enters a sleep period.
  • the sleep period may be 1s-5s. If the speed measurement result is displayed in near real time, the sleep period is preferably 1s; If the speed measurement result is smoother, the sleep period is preferably 5s.
  • Step S704. After the hibernation is completed, the speed measuring unit accesses the uplink network interface of the home gateway again, acquires statistics information of the uplink packet and the downlink packet, and records the current system time.
  • Step S705. The speed measuring unit calculates the uplink bandwidth rate and the downlink bandwidth rate according to the statistics information of the uplink packet and the downlink packet acquired by the uplink network interface and the system time difference twice.
  • Step S706 The speed measuring unit stores the calculated uplink bandwidth rate and downlink bandwidth rate to the recording unit, and the process proceeds to step S703.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种家庭网关的带宽测速系统及方法,涉及带宽测速技术领域,该系统包括家庭网关以及与该家庭网关相连的用户终端,所述家庭网关包括上行网络接口,用户终端包括人机接口;所述家庭网关还包括测速单元、记录单元和代理单元;其中,代理单元,用于监听用户终端的人机接口,并与该人机接口进行交互;控制测速单元进行测速;读取记录单元上的带宽速率;测速单元,用于接收到测速信号后,周期性的监控上行网络接口,计算带宽速率并储存至记录单元;记录单元,用于储存测速单元计算的带宽速率。本发明不会受他业务挤占影响,能够准确的计算带宽速率;在测速过程中,无需家庭网络中的其他设备停止访问互联网,操作便捷。

Description

一种家庭网关的带宽测速系统及方法 技术领域
本发明涉及带宽测速技术领域,具体来讲是一种家庭网关的带宽测速系统及方法。
背景技术
家庭网关是用户家庭接入Internet(Internet,互联网)的入口,实际的接入速率决定着承载用户宽带业务的质量。随着宽带业务的逐步普及,用户日趋关注其实际接入速率,带宽测速是用户常用的手段。
传统的带宽测速由家庭网络中的终端(如PC)发起,通过访问某一网站或者下载对应的测速程序到本地,以下载/上传大块数据来得出。这种方法有以下缺陷:1、测速时若家庭网络中的其他设备同时访问互联网,例如视频业务、P2P(Peer to Peer,对等网络)下载业务等,会导致该测速终端的测速流受其他业务挤占影响,造成测出带宽速率偏低。2、为获取准确的带宽速率,需要让家庭网络中的其他设备停止访问互联网,操作不便捷。
鉴于以上情况,用户迫切需要一种不受家庭网络其他设备影响的,便捷的带宽测速方式。
发明内容
针对现有技术中存在的缺陷,本发明的目的在于提供一种家庭网关的带宽测速系统及方法,本发明不会受他业务挤占影响,能够准确的计算的带宽速率;在测速过程中,无需家庭网络中的其他设备停止访问互联网,操作便捷。
为达到以上目的,本发明采取的技术方案是:一种家庭网关的带宽测速系统,包括家庭网关以及与该家庭网关相连的用户终端,所述家庭网关包括上行网络接口,用户终端包括人机接口;所述家庭网关还包括测速单元、记录单元和代理单元;其中,代理单元,用于监听人机接口,判断监听周期内是否接收到人机接口发送的请求;若接收到人机接口发送的请求,代理单元判断人机接口发送的请求类型;若人机接口发送的请求类型为获取带宽速率请求,则代理单元读取记录单元上的带宽速率,并发送至人机接口;若人机接口发送的请求类型为测速请求,则代理单元继续判断测速单元是否启动;若测速单元已启动,代理单元直接发送测速信号;若测速单元未启动,则代理单元启动测速单元并发送测速信号;若未接收到人机接口发送的请求,则代理单元判断测速单元是否启动,若是,代理单元关闭测速单元,并继续监听人机接口;否则,代理单元继续监听人机接口;测速单元,用于接收到测速信号后,周期性的监控上行网络接口,计算带宽速率并储存至记录单元;记录单元,用于储存测速单元计算的带宽速率。
在上述技术方案的基础上,所述测速单元还用于启动上传/下载任务,所述上传/下载任务用于使家庭网关的上行网络接口的带宽速率处于满负荷状态。
本发明还公开了基于上述系统的一种家庭网关的带宽测速方法,包括以下步骤:步骤S1.代理单元监听人机接口,判断监听周期内是否接收到人机接口发送的请求;若是,跳转至步骤S4;否则,跳转至步骤S2;步骤S2.代理单元判断测速单元是否启动,若是,跳转至步骤S3;否则,返回到步骤S1;步骤S3.代理单元关闭测速单元,返回到步骤S1;步骤S4.代理单元判断人机接口发送的请求类型;若为获取带宽速率请求,则跳转至步骤S5;若为测速请求,则 跳转至步骤S6;步骤S5.代理单元读取记录单元上的带宽速率,并发送至人机接口,返回到步骤S1;步骤S6.代理单元判断测速单元是否启动,若是,跳转至步骤S7;否则,跳转至步骤S8;步骤S7.测速单元周期性的监控家庭网关的上行网络接口,计算带宽速率并储存至记录单元,返回到步骤S1;步骤S8.代理单元启动测速单元,返回到步骤S7。
在上述技术方案的基础上,在步骤S1之前,还包括以下步骤:启动家庭网关,初始化用户终端的人机接口。
在上述技术方案的基础上,步骤S1中,所述监听周期为5秒。
在上述技术方案的基础上,步骤S4中,若人机接口发送的请求类型无法解析,则返回到步骤S1。
在上述技术方案的基础上,步骤S7的具体流程为:步骤S701.测速单元启动上传/下载任务;所述上传/下载任务用于使家庭网关的上行网络接口的带宽速率处于满负荷状态;步骤S702.测速单元访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间;步骤S703.测速单元进入休眠周期;步骤S704.休眠结束,测速单元再次访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间;步骤S705.测速单元根据近两次访问上行网络接口获取的上行报文和下行报文的统计信息,以及两次的系统时间差,计算出上行带宽速率和下行带宽速率;步骤S706.测速单元将计算出的上行带宽速率和下行带宽速率储存至记录单元,返回到步骤S703。
在上述技术方案的基础上,步骤S701中,所述上传/下载任务采用用户-服务器方式或者对等网络P2P方式进行。
在上述技术方案的基础上,所述用户-服务器方式采用文件传输 协议FTP方式或者超文本传送协议HTTP方式。
在上述技术方案的基础上,步骤S703中,所述休眠周期为1秒-5秒。
本发明的有益效果在于:
1、本发明的测速单元设置于家庭网关中,通过家庭网关的上行网络接口计算出带宽速率,用户在通过Web(World Wide Web,万维网)或智能终端App(Application,应用程序)访问家庭网关的测速功能时,会触发家庭网关向某预置地址进行上传/下载任务,与内网访问Internet的数据一起,评估出家庭网关的实际带宽,并向用户反馈。由于其测速数据直接来源于家庭网关的上联口,不受内网环境的干扰,相对传统方法中利用PC终端测速更加稳定。因此,测速单元不会受他业务挤占影响,能够准确的计算的带宽速率。
2、本发明的测速单元设置于家庭网关中,因此,在测速过程中,无需家庭网络中的其他设备停止访问互联网,操作便捷。
附图说明
图1为本发明实施例中家庭网关的带宽测速系统的结构框图;
图2为本发明实施例中家庭网关的带宽测速方法流程图;
图3为图2中步骤S7的具体流程图。
具体实施方式
以下结合附图及实施例对本发明作进一步详细说明。
参见图1所示,本发明实施例提供了一种家庭网关的带宽测速系统,包括家庭网关以及与该家庭网关相连的用户终端,家庭网关包括上行网络接口,用户终端包括人机接口;家庭网关还包括测速单元、记录单元和代理单元;其中,
代理单元,用于监听人机接口,判断监听周期内是否接收到人机接口发送的请求;
若接收到人机接口发送的请求,代理单元判断人机接口发送的请求类型;
若人机接口发送的请求类型为获取带宽速率请求,则代理单元读取记录单元上的带宽速率,并发送至人机接口;
若人机接口发送的请求类型为测速请求,则代理单元继续判断测速单元是否启动;
若测速单元已启动,代理单元直接发送测速信号;
若测速单元未启动,则代理单元启动测速单元并发送测速信号;
若未接收到人机接口发送的请求,则代理单元判断测速单元是否启动,若是,代理单元关闭测速单元,并继续监听人机接口;否则,代理单元继续监听人机接口。
测速单元,用于接收到测速信号后,周期性的监控上行网络接口,计算带宽速率并储存至记录单元;优选的,测速单元还用于启动上传/下载任务,上传/下载任务用于使家庭网关的上行网络接口的带宽速率处于满负荷状态。
记录单元,用于储存测速单元计算的带宽速率。
参见图2所示,本发明实施例还提供基于上述系统的一种家庭网关的带宽测速方法,包括以下步骤:
步骤S1.代理单元监听家庭网关的人机接口,判断监听周期内是否接收到人机接口发送的请求;若是,跳转至步骤S4;否则,跳转至步骤S2;根据实践经验值,监听周期5秒为佳。
步骤S2.代理单元判断测速单元是否启动,若是,跳转至步骤S3;否则,返回到步骤S1。
步骤S3.代理单元关闭测速单元,返回到步骤S1。
步骤S4.代理单元判断人机接口发送的请求类型;若为获取带宽速率请求,则跳转至步骤S5;若为测速请求,则跳转至步骤S6。若人机接口发送的请求类型无法解析,则返回到步骤S1。
步骤S5.代理单元读取记录单元上的带宽速率,并发送至用户终端的人机接口,返回到步骤S1。
步骤S6.代理单元判断测速单元是否启动,若是,跳转至步骤S7;否则,跳转至步骤S8。
步骤S7.测速单元周期性的监控家庭网关的上行网络接口,计算带宽速率并储存至记录单元,返回到步骤S1。
步骤S8.代理单元启动测速单元,返回到步骤S7。
优选的,在步骤S1之前,还包括以下步骤:启动家庭网关,初始化用户终端的人机接口。
参见图3所示,步骤S7的具体流程为:
步骤S701.测速单元启动上传/下载任务;上传/下载任务用于使家庭网关的上行网络接口的带宽速率处于满负荷状态;上传/下载任务采用用户-服务器方式或者P2P方式进行。其中,用户-服务器方式采用FTP(File Transfer Protocol,文件传输协议)方式或者HTTP(Hypertext Transfer Protocol,超文本传送协议)方式。根据IP的Best-Effort(尽力服务)性质,使得上行网络接口的当前带宽速率趋近于家庭网关在该链路的实际接入带宽速率。
步骤S702.测速单元访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间。
步骤S703.测速单元进入休眠周期,根据实践经验值,休眠周期可采用1s-5s,若要测速结果近乎实时显示,则休眠周期以1s为佳; 若要测速结果更为平滑,则休眠周期以5s为佳。
步骤S704.休眠结束,测速单元再次访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间。
步骤S705.测速单元根据近两次访问上行网络接口获取的上行报文和下行报文的统计信息,以及两次的系统时间差,计算出上行带宽速率和下行带宽速率。
步骤S706.测速单元将计算出的上行带宽速率和下行带宽速率储存至记录单元,跳转到步骤S703。
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。

Claims (10)

  1. 一种家庭网关的带宽测速系统,包括家庭网关以及与该家庭网关相连的用户终端,所述家庭网关包括上行网络接口,用户终端包括人机接口;其特征在于:所述家庭网关还包括测速单元、记录单元和代理单元;其中,
    代理单元,用于监听人机接口,判断监听周期内是否接收到人机接口发送的请求;
    若接收到人机接口发送的请求,代理单元判断人机接口发送的请求类型;
    若人机接口发送的请求类型为获取带宽速率请求,则代理单元读取记录单元上的带宽速率,并发送至人机接口;
    若人机接口发送的请求类型为测速请求,则代理单元继续判断测速单元是否启动;
    若测速单元已启动,代理单元直接发送测速信号;
    若测速单元未启动,则代理单元启动测速单元并发送测速信号;
    若未接收到人机接口发送的请求,则代理单元判断测速单元是否启动,若是,代理单元关闭测速单元,并继续监听人机接口;否则,代理单元继续监听人机接口;
    测速单元,用于接收到测速信号后,周期性的监控上行网络接口,计算带宽速率并储存至记录单元;
    记录单元,用于储存测速单元计算的带宽速率。
  2. 如权利要求1所述的家庭网关的带宽测速系统,其特征在于:所述测速单元还用于启动上传/下载任务,所述上传/下载任务用于使家庭网关的上行网络接口的带宽速率处于满负荷状态。
  3. 基于权利要求1所述系统的一种家庭网关的带宽测速方法, 其特征在于,包括以下步骤:
    步骤S1.代理单元监听人机接口,判断监听周期内是否接收到人机接口发送的请求;若是,跳转至步骤S4;否则,跳转至步骤S2;
    步骤S2.代理单元判断测速单元是否启动,若是,跳转至步骤S3;否则,返回到步骤S1;
    步骤S3.代理单元关闭测速单元,返回到步骤S1;
    步骤S4.代理单元判断人机接口发送的请求类型;若为获取带宽速率请求,则跳转至步骤S5;若为测速请求,则跳转至步骤S6;
    步骤S5.代理单元读取记录单元上的带宽速率,并发送至人机接口,返回到步骤S1;
    步骤S6.代理单元判断测速单元是否启动,若是,跳转至步骤S7;否则,跳转至步骤S8;
    步骤S7.测速单元周期性的监控家庭网关的上行网络接口,计算带宽速率并储存至记录单元,返回到步骤S1;
    步骤S8.代理单元启动测速单元,返回到步骤S7。
  4. 如权利要求3所述的家庭网关的带宽测速方法,其特征在于,在步骤S1之前,还包括以下步骤:启动家庭网关,初始化用户终端的人机接口。
  5. 如权利要求3所述的家庭网关的带宽测速方法,其特征在于:步骤S1中,所述监听周期为5秒。
  6. 如权利要求3所述的家庭网关的带宽测速方法,其特征在于:步骤S4中,若人机接口发送的请求类型无法解析,则返回到步骤S1。
  7. 如权利要求3所述的家庭网关的带宽测速方法,其特征在于:步骤S7的具体流程为:
    步骤S701.测速单元启动上传/下载任务;所述上传/下载任务用 于使家庭网关的上行网络接口的带宽速率处于满负荷状态;
    步骤S702.测速单元访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间;
    步骤S703.测速单元进入休眠周期;
    步骤S704.休眠结束,测速单元再次访问家庭网关的上行网络接口,获取上行报文和下行报文的统计信息,并记录当前的系统时间;
    步骤S705.测速单元根据近两次访问上行网络接口获取的上行报文和下行报文的统计信息,以及两次的系统时间差,计算出上行带宽速率和下行带宽速率;
    步骤S706.测速单元将计算出的上行带宽速率和下行带宽速率储存至记录单元,返回到步骤S703。
  8. 如权利要求7所述的家庭网关的带宽测速方法,其特征在于:步骤S701中,所述上传/下载任务采用用户-服务器方式或者对等网络P2P方式进行。
  9. 如权利要求8所述的家庭网关的带宽测速方法,其特征在于:所述用户-服务器方式采用文件传输协议FTP方式或者超文本传送协议HTTP方式。
  10. 如权利要求7所述的家庭网关的带宽测速方法,其特征在于:步骤S703中,所述休眠周期为1秒-5秒。
PCT/CN2016/076138 2015-05-05 2016-03-11 一种家庭网关的带宽测速系统及方法 WO2016177099A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510223174.9 2015-05-05
CN201510223174.9A CN104780004B (zh) 2015-05-05 2015-05-05 一种家庭网关的带宽测速系统及方法

Publications (1)

Publication Number Publication Date
WO2016177099A1 true WO2016177099A1 (zh) 2016-11-10

Family

ID=53621270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076138 WO2016177099A1 (zh) 2015-05-05 2016-03-11 一种家庭网关的带宽测速系统及方法

Country Status (2)

Country Link
CN (1) CN104780004B (zh)
WO (1) WO2016177099A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225395A (zh) * 2019-12-30 2020-06-02 杭州友声科技股份有限公司 一种基于手机下载测速的自动化wifi优化系统和方法
CN112671606A (zh) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 一种网络测速方法和装置、系统、存储介质及网关设备
CN114124763A (zh) * 2021-12-07 2022-03-01 中国信息通信研究院 一种宽带接入速率的测量方法及系统
CN116170353A (zh) * 2023-02-01 2023-05-26 广州通康创智软件有限公司 一种路由器下挂设备自动测速方法、系统及存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780004B (zh) * 2015-05-05 2018-03-20 烽火通信科技股份有限公司 一种家庭网关的带宽测速系统及方法
CN105898790B (zh) * 2016-03-24 2019-05-24 中国联合网络通信集团有限公司 一种网速测量方法及设备
CN105978754B (zh) * 2016-05-13 2019-05-17 中国联合网络通信集团有限公司 一种网络质量检测方法及网关设备
CN106506285A (zh) * 2016-12-26 2017-03-15 中国电信股份有限公司四川分公司 一种利用家庭网关进行带宽测速的方法
CN106878107B (zh) * 2017-02-28 2019-10-29 无锡研勤信息科技有限公司 基于Linux内核驱动的网络带宽测速方法
CN108540333A (zh) * 2017-03-02 2018-09-14 中兴通讯股份有限公司 测量网络侧吞吐量的方法、家庭网关、装置及系统
CN107040434A (zh) * 2017-05-31 2017-08-11 广西电网有限责任公司桂林供电局 终端电脑实际带宽远程集中采集系统及方法
CN107517135A (zh) * 2017-09-29 2017-12-26 上海斐讯数据通信技术有限公司 一种网关QoS测试系统及方法
CN112910730B (zh) * 2021-01-28 2022-08-26 小帆科技(广东)有限公司 一种通信网络实时预警监测系统及其监测方法
CN114375001B (zh) * 2021-12-24 2023-10-20 山东信通电子股份有限公司 一种网络测速方法及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107910A (zh) * 2011-11-10 2013-05-15 中国电信股份有限公司 宽带测速方法、系统及宽带接入终端
WO2013155834A1 (zh) * 2012-04-17 2013-10-24 华为技术有限公司 一种跨设备的流量类型识别方法、设备及系统
CN104426717A (zh) * 2013-09-09 2015-03-18 中国电信股份有限公司 用于检测互联网应用质量的方法、家庭网关和系统
CN104780004A (zh) * 2015-05-05 2015-07-15 烽火通信科技股份有限公司 一种家庭网关的带宽测速系统及方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647315A (zh) * 2012-05-25 2012-08-22 江南大学 网络流量检测装置
CN103763156A (zh) * 2014-01-28 2014-04-30 中国移动(深圳)有限公司 网络测速方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107910A (zh) * 2011-11-10 2013-05-15 中国电信股份有限公司 宽带测速方法、系统及宽带接入终端
WO2013155834A1 (zh) * 2012-04-17 2013-10-24 华为技术有限公司 一种跨设备的流量类型识别方法、设备及系统
CN104426717A (zh) * 2013-09-09 2015-03-18 中国电信股份有限公司 用于检测互联网应用质量的方法、家庭网关和系统
CN104780004A (zh) * 2015-05-05 2015-07-15 烽火通信科技股份有限公司 一种家庭网关的带宽测速系统及方法

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225395A (zh) * 2019-12-30 2020-06-02 杭州友声科技股份有限公司 一种基于手机下载测速的自动化wifi优化系统和方法
CN111225395B (zh) * 2019-12-30 2023-04-18 杭州友声科技股份有限公司 一种基于手机下载测速的自动化wifi优化系统和方法
CN112671606A (zh) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 一种网络测速方法和装置、系统、存储介质及网关设备
CN112671606B (zh) * 2020-12-16 2022-11-25 深圳创维数字技术有限公司 一种网络测速方法和装置、系统、存储介质及网关设备
CN114124763A (zh) * 2021-12-07 2022-03-01 中国信息通信研究院 一种宽带接入速率的测量方法及系统
CN114124763B (zh) * 2021-12-07 2023-10-24 中国信息通信研究院 一种宽带接入速率的测量方法及系统
CN116170353A (zh) * 2023-02-01 2023-05-26 广州通康创智软件有限公司 一种路由器下挂设备自动测速方法、系统及存储介质
CN116170353B (zh) * 2023-02-01 2023-10-24 广州通则康威智能科技有限公司 一种路由器下挂设备自动测速方法、系统及存储介质

Also Published As

Publication number Publication date
CN104780004A (zh) 2015-07-15
CN104780004B (zh) 2018-03-20

Similar Documents

Publication Publication Date Title
WO2016177099A1 (zh) 一种家庭网关的带宽测速系统及方法
WO2017215614A1 (zh) 心跳保活的实现方法、装置及系统
US7325068B2 (en) Method and system for managing data transfer over a network
CN108965058B (zh) 一种终端网络性能探测方法及系统
WO2013163852A1 (zh) 家庭网关及分析用户上网行为和监控网络质量的方法
WO2015074536A1 (zh) 智能电视及其升级方法和升级装置
US10164893B2 (en) Data transfer apparatus, data transfer controlling method and data stream
CN101039281B (zh) 一种流媒体服务器负荷分担方法
CN107623644B (zh) 一种带宽限速方法、装置及设备
US20120151068A1 (en) Endpoint web monitoring system and method for measuring popularity of a service or application on a web server
CN107409071A (zh) 诊断测试
CN103731887A (zh) 网络带宽调整方法、移动终端及服务器
US20120173712A1 (en) Method and device for identifying p2p application connections
CN110690988A (zh) 带宽控制方法、带宽控制平台、服务器及存储介质
WO2016197727A1 (zh) 一种数据传输方法及装置
CN106487906A (zh) 一种情境感知的移动Web应用协议切换方法
CN109561054A (zh) 一种数据传输方法、控制器及接入设备
CN107992416B (zh) 一种网页时延的确定方法及装置
CN108768738B (zh) 基于cdn网络技术的快速自适应网络带宽检测方法
CN110169134A (zh) 无线质量支持视频体验的检测方法及装置
CN102821302B (zh) 视频下载方法、网关设备及网络视频监控系统
WO2017005118A1 (zh) 维持通信连接的方法、装置、终端及服务器
CN104836824B (zh) 应用于数据平台的数据共享方法及装置
CN204836205U (zh) 一种基于云计算的网络监测系统
US20170127356A1 (en) Method and apparatus for prolonging lasting time of inactive mode

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16789093

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789093

Country of ref document: EP

Kind code of ref document: A1