CN105553752A - Method of on-line speed measurement of home gateway, speed measurement platform and gateway device - Google Patents

Method of on-line speed measurement of home gateway, speed measurement platform and gateway device Download PDF

Info

Publication number
CN105553752A
CN105553752A CN201510870247.3A CN201510870247A CN105553752A CN 105553752 A CN105553752 A CN 105553752A CN 201510870247 A CN201510870247 A CN 201510870247A CN 105553752 A CN105553752 A CN 105553752A
Authority
CN
China
Prior art keywords
speed
home gateway
gateway
information
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510870247.3A
Other languages
Chinese (zh)
Other versions
CN105553752B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510870247.3A priority Critical patent/CN105553752B/en
Publication of CN105553752A publication Critical patent/CN105553752A/en
Application granted granted Critical
Publication of CN105553752B publication Critical patent/CN105553752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a method of on-line speed measurement of a home gateway, a speed measurement platform and a gateway device. The method comprises: receiving the supporting routing quantity information and the gateway signing speed information of the home gateway reported by the home gateway; constructing the same quantity of source IP addresses according to the supporting routing quantity information; averaging obtained gateway signing speed to each source IP address, and obtaining the average speed of each source IP address; sending data packets with a preset size from each source IP address to a target IP address with respect to the home gateway according to the average speed in a preset time; receiving the total quantity of received data packets received from each source IP address and reported by the home gateway; and dividing the total quantity of the data packets by a preset time to obtain the on-line speed of the home gateway. The method of on-line speed measurement of home gateway, the speed measurement platform and the gateway device provided by the invention are able to effectively realize that service providers can monitor the network speed in the home gateway at any time and satisfy the requirement of gateway speed measurement without any user behavior.

Description

The method tested the speed online for home gateway, test the speed platform and gateway device
Technical field
The present invention relates to network communication technology field, be specifically related to a kind of test the speed online for home gateway method, test the speed platform and gateway device.
Background technology
Along with the develop rapidly of science and technology, the use of internet is more and more universal, domestic consumer is also more and more responsive to the fixed broadband access rate applied for from operator, the O&M department of domestic telecommunication operator needs the access bandwidth grasping all users in nationwide in real time, needs the function tested the speed in the IAD deploy of domestic consumer.
In prior art, to the method that gateway tests the speed be: user downloads and tests the speed client on PC or smart mobile phone, client utilizes multithreading to download (P2P) pattern, calculate download time after the file (as 100M) of a fixed size is downloaded to this locality by HTTP technology, drawn the broadband access speed of user by file size divided by the time.
But in the process implementing the technical program, inventor finds that prior art exists following problem: the process tested the speed places one's entire reliance upon the behavior of user, and operator cannot monitor the network rate in existing network.
Summary of the invention
The invention provides a kind of test the speed online for home gateway method, test the speed platform and gateway device, the information that tests the speed that existing network is all can be monitored for a long time, and the process tested the speed does not rely on the morpheme of user, meets the requirement of operator.
An aspect of of the present present invention is to provide a kind of method tested the speed online for home gateway, comprising:
Receive the support route quantity information of described home gateway that home gateway reports and gateway to contract rate information;
According to described support route quantity information, the source IP address of structure equal number;
Speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
In Preset Time, send to the object IP address that described home gateway is corresponding the packet presetting size from each described source IP address according to described Mean Speed;
Receive the packet total quantity received from each described source IP address that described home gateway reports;
Using described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
Another aspect of the present invention is also in order to a kind of method tested the speed online for home gateway, comprising:
Receive the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway to contract the indication information of rate information;
According to described indication information, send the support route quantity information of described home gateway and gateway to the described platform that tests the speed to contract rate information, with the source IP address of platform according to described support route quantity information structuring equal number that test the speed described in making, and speed of being contracted by gateway is on average to each source IP address, obtains the Mean Speed of each source IP address;
Platform test the speed described in reception in Preset Time, the packet of the default size sent to the object IP address that described home gateway is corresponding from each described source IP address according to described Mean Speed, and obtains the packet total quantity received from each source IP address;
Send described packet total quantity to the described platform that tests the speed, described in making, test the speed platform by described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
Another aspect of the present invention to test the speed platform in order to one, comprising:
First receiver module, support route quantity information and gateway for receiving the described home gateway that home gateway reports are contracted rate information;
Source IP builds module, for according to described support route quantity information, constructs the source IP address of equal number;
Mean Speed acquisition module, for the gateway of acquisition is contracted speed on average to each source IP address, obtains the Mean Speed of each source IP address;
First sending module, in Preset Time, sends to the object IP address that described home gateway is corresponding the packet presetting size from each described source IP address according to described Mean Speed;
Described first receiver module, also for receiving the packet total quantity received from each described source IP address that described home gateway reports;
Speed acquiring module, for using described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
Another aspect of the invention is in order to a kind of gateway device, comprising:
Second receiver module, to contract the indication information of rate information for receiving the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway;
Second sending module, for according to described indication information, send the support route quantity information of described home gateway and gateway to the described platform that tests the speed to contract rate information, described in making, test the speed platform according to described support route quantity information, the source IP address of structure equal number; Speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
Data reception module, test the speed platform in Preset Time described in receiving, the packet of the default size sent from each described source IP address to the object IP address that described home gateway is corresponding according to described Mean Speed, and obtain the packet total quantity received from each source IP address;
Data transmission blocks, for sending described packet total quantity to the described platform that tests the speed, tests the speed platform by described packet total quantity divided by the on-line velocity of described Preset Time as home gateway described in making.
The method tested the speed online for home gateway provided by the invention, test the speed platform and gateway device, route quantity information is supported by obtaining, the source IP address of structure equal number, and speed of being contracted by gateway is on average to each source IP address, obtain the Mean Speed of each source IP address, and send packet according to Mean Speed to source IP address, obtain the packet total amount of data that home gateway reports, the on-line velocity of home gateway can be obtained according to Preset Time, effectively achieve operator and can monitor network rate in existing network at any time, and do not rely on the behavior of user completely, meet the requirement that existing network tests the speed, improve convenient and swift degree and accuracy that existing network tests the speed.
Accompanying drawing explanation
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 1 given by one embodiment of the invention;
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 2 given by further embodiment of this invention;
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 3 given by yet another embodiment of the invention;
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 4 given by another embodiment of the present invention;
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 5 given by another embodiment of the present invention;
The structural representation of the test the speed platform of Fig. 6 given by one embodiment of the invention;
The structural representation of the test the speed platform of Fig. 7 given by further embodiment of this invention;
The structural representation of the gateway device of Fig. 8 given by one embodiment of the invention;
The structural representation of the gateway device of Fig. 9 given by further embodiment of this invention.
In figure:
1, the first receiver module; 2, source IP builds module;
3, Mean Speed acquisition module; 4, the first sending module;
5, speed acquiring module; 6, authentication module;
7, the second receiver module; 8, the second sending module;
9, data reception module; 10, data transmission blocks;
11, the command reception that tests the speed module.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following instance for illustration of the present invention, but is not used for limiting the scope of the invention.
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 1 given by an embodiment; With reference to accompanying drawing 1 known, an aspect of of the present present invention provides a kind of method tested the speed online for home gateway, the method be test the speed platform as executive agent, with gateway device in home gateway carry out mutual process, specifically comprise:
S101: receive the support route quantity information of home gateway that home gateway reports and gateway and to contract rate information;
Wherein, the contract obtain manner of rate information of the support route quantity information reported for home gateway and gateway does not limit, as support route quantity information and/or gateway contracted, rate information is set to be stored in advance in home gateway, also can be set to home gateway and Carrier administrative server communicates to connect, obtain the support route quantity information of this home gateway and gateway and to contract rate information; The gateway management platform that rate information of support route quantity information and gateway can also being contracted is set to by being connected with home gateway is sent to home gateway, and gateway management platform can communicate to connect with the upper management server of operation, obtain above-mentioned information etc., those skilled in the art can be arranged according to concrete design requirement, do not repeat them here.
S102: according to support route quantity information, the source IP address of structure equal number;
Wherein, the object IP address mapped mutually with the source IP address of structure is home gateway, and then achieves the communication structure of the corresponding object IP address of many source IP addresss; In addition, concrete methods for the source IP address of structure equal number do not limit, those skilled in the art can adopt prior art to carry out constructing, as long as can realize, construct the source IP address with the support route number of home gateway.
S103: speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
Wherein, for gateway is contracted speed on average to each source IP address and the methods obtaining Mean Speed do not limit, all can be considered as identical by several source IP addresss of structure, so Mean Speed is gateway and contracts the number of speed divided by source IP address; Those skilled in the art can also obtain Mean Speed in other way, as long as can obtain the Mean Speed of each source IP address.
S104: in Preset Time, sends to the object IP address that home gateway is corresponding the packet presetting size from each source IP address according to Mean Speed;
Wherein, Preset Time is existing network and tests the speed process duration, and the concrete scope of Preset Time is not limited, as Preset Time being set to 5s, 10s, 30s, 1min or 5min etc., wherein, in order to ensure the stability that existing network tests the speed and accuracy, Preset Time is set to be more than or equal to 10s, the comparatively conventional time is 30s or 1min, and those skilled in the art can be arranged according to the concrete demand of testing the speed, and do not repeat them here; Wherein, size for packet does not limit, any one as packet being set in 64-1518 byte data bag, generally, packet can be set to is the packet of 512 bytes, certain, those skilled in the art can also select the packet of other sizes, as long as can obtain home gateway on-line velocity; Do not repeat them here; In the technical program, home gateway is sent data packet number according to source IP address (routing table) the quantity dispersion supported, effectively reduce the error measuring on-line velocity, and then improve the accuracy and reliability that test the speed online.
S105: receive the packet total quantity received from each source IP address that home gateway reports;
Wherein, due in data transmission procedure, there is consumption or the other reasons of communication line in each source IP address, each source IP address can be made to be less than or equal to the data packet number received by each source IP address to the data packet number that home gateway sends, therefore, in order to ensure the accuracy tested the speed online, the packet total quantity received using home gateway is as the parameter that tests the speed, and the packet total quantity received by home gateway is each source IP address sends to the data packet number sum of home gateway.
S106: using packet total quantity divided by the on-line velocity of Preset Time as home gateway.
The method tested the speed online for home gateway provided by the invention, route quantity information is supported by obtaining, the source IP address of structure equal number, and speed of being contracted by gateway is on average to each source IP address, obtain the Mean Speed of each source IP address, and send packet according to Mean Speed to source IP address, obtain the packet total amount of data that home gateway reports, the on-line velocity of home gateway can be obtained according to Preset Time, effectively achieve operator and can monitor network rate in existing network at any time, and do not rely on the behavior of user completely, meet the requirement that existing network tests the speed, improve convenient and swift degree and accuracy that existing network tests the speed.
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 2 given by another embodiment, on the basis of above-described embodiment, continue with reference to accompanying drawing 1-2 known, when test the speed platform and home gateway carry out mutual, tested the speed platform before the support route quantity information and gateway that receive the home gateway that home gateway reports contract rate information, also comprise:
S001: receive the connectivity request message that home gateway sends, and send checking solicited message according to connectivity request message to home gateway;
S002: receive the authorization information that home gateway sends, and according to authorization information, home gateway is verified;
S003: if be verified, then connect with home gateway, and send to home gateway and obtain the support route quantity information of home gateway and gateway and to contract the indication information of rate information.
Wherein, the concrete form of authorization information and content are not limited, those skilled in the art can be arranged according to concrete design requirement, as authorization information content comprised the username information of home gateway, encrypted message, MAC Address or IP address etc., as long as can home gateway be identified, do not repeat them here; In addition, route quantity information and gateway is supported to contract rate information for can not only comprise in the indication information obtained to home gateway, can also comprise other information, as the session number of threads that CPU supports, this is closely related with concrete method of testing and testing scheme; In addition, the platform that tests the speed in the technical program not only comprises identification home gateway according to authorization information to the process that home gateway is verified, also comprises and identifying the instruction of testing the speed of home gateway, so that carry out with home gateway the associative operation that tests the speed; And concrete is not specifically limited the procedure that home gateway is verified according to authorization information, as can by the characteristic information (as username and password information, mac address information or IP address information etc.) of home gateway in the authorization information that obtains, the characteristic information of acquisition and the standard feature information prestored are contrasted, if match, then be verified, test the speed platform and home gateway can be connected.
S004: if do not mate, then illustrate that checking is not passed through, then return failure information, the connection establishment process of platform and home gateway and stopping is tested the speed.
Before testing the speed online, after the platform that tests the speed is verified home gateway according to the authorization information of home gateway, and know the instruction of testing the speed of home gateway; The safe coefficient that effectively ensure that tests the speed is connected between platform with home gateway, and the platform that makes to test the speed only is connected with the home gateway receiving instruction of testing the speed, decrease the communication process with other home gateways, and then ensure that the speed be connected with home gateway, improve the reliability testing the speed online and run.
Fig. 3 is the schematic flow sheet of the method tested the speed online for home gateway again given by an embodiment, known with reference to accompanying drawing 3, another aspect of the present invention, further provide a kind of method tested the speed online for home gateway, the method is that platform carries out mutual process using the home gateway in gateway device as executive agent, with testing the speed, and specifically comprises:
S201: receive the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway and to contract the indication information of rate information;
Wherein, the concrete form of this indication information and content are not limited, those skilled in the art can be arranged according to concrete respective demand, as long as this indication information can be realized can be given expression to and need to obtain the support route quantity information of home gateway and gateway and to contract rate information, do not repeat them here; In addition, contract for rate information for gateway, the bandwidth information that itself and home gateway and operator sign is proportional, namely the bandwidth signed is larger, gateway speed of contracting is larger, and for the bandwidth information signed, itself and operator are specially actual provision bandwidth that home gateway provides without direct relation, if home gateway and operator bandwidth information of contracting is 10M, when embody rule, supplier is sometimes in order to ensure the accuracy for client's provision bandwidth, and the bandwidth of the 11M that may provide for the home gateway of user, to reserve the waste when transmitting; Or operator is only for the home gateway of user provides the bandwidth of 10M; In order to more accurately measure home gateway at wire rate, using the signing speed of home gateway as factor of judgment.
S202: according to indication information, send the support route quantity information of home gateway and gateway to the platform that tests the speed to contract rate information, to make to test the speed platform according to the source IP address supporting route quantity information structuring equal number, and speed of being contracted by gateway is on average to each source IP address, obtains the Mean Speed of each source IP address;
Wherein, home gateway is sent and supports that the contract concrete mode of rate information of route quantity information and gateway does not limit, those skilled in the art can be arranged arbitrarily according to its design requirement, as long as can make to test the speed, platform receives and supports route quantity information and gateway to contract rate information, in addition, method for the platform architecture source IP address that tests the speed does not limit, the implementation procedure of the structure source IP address in embodiment corresponding to its process and function realized and Fig. 1 is identical with function, specifically with reference to above statement content, can not repeat them here.
S203: receive and test the speed platform in Preset Time, the packet of the default size sent from each source IP address to the object IP address that home gateway is corresponding according to Mean Speed, and obtain the packet total quantity received from each source IP address;
Wherein, home gateway receives the packet that the platform that tests the speed is sent by several source IP addresss, the packet several source IP addresss being sent to home gateway carries out summation process, obtain packet total quantity, this process above-mentioned is the throughput in order to obtain home gateway, to obtain the on-line velocity of home gateway.
S204: platform sends packet total quantity, to make to test the speed platform by packet total quantity divided by the on-line velocity of Preset Time as home gateway to testing the speed.
The method tested the speed online for home gateway provided by the invention, route quantity information is supported by obtaining, the source IP address of structure equal number, and speed of being contracted by gateway is on average to each source IP address, obtain the Mean Speed of each source IP address, and send packet according to Mean Speed to source IP address, obtain the packet total amount of data that home gateway reports, the on-line velocity of home gateway can be obtained according to Preset Time, effectively achieve operator and can monitor network rate in existing network at any time, and do not rely on the behavior of user completely, meet the requirement that existing network tests the speed, improve convenient and swift degree and accuracy that existing network tests the speed.
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 4 given by another embodiment, on the basis of above-described embodiment, known with reference to accompanying drawing 3-4, home gateway receive the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway contract rate information indication information before, also comprise:
S301: receive the command information that tests the speed online that gateway management platform sends, to make home gateway according to the command information that tests the speed online, to testing the speed, platform sends connectivity request message, and the platform that tests the speed sends checking solicited message according to this connectivity request message to home gateway;
S302: according to test the speed online command information to prefectures and cities test the speed platform send connectivity request message;
S303: receive the checking solicited message that the platform that tests the speed sends;
S304: according to checking solicited message, to testing the speed, platform sends authorization information, and to make to test the speed, platform is verified home gateway according to authorization information.
Wherein, the detailed process that home gateway is verified in the present embodiment and function and the detailed process in the above-mentioned embodiment about verifying home gateway and function identical, particular content in the description content with reference to above-described embodiment, can not repeat them here; By by test the speed platform with communicated to connect by the home gateway verified, effectively avoid the generation that test the speed platform and other home gateways carry out communication connection state, what effectively save the platform that tests the speed takies resource, and then ensure that the reliability that home gateway is tested the speed, improve the accuracy tested the speed online.
The schematic flow sheet of the method that for home gateway online test the speed of Fig. 5 given by another embodiment, known with reference to accompanying drawing 5, the contract concrete source of rate information of support route quantity information in home gateway and gateway is not limited, can be set to be stored in advance in home gateway, or home gateway is direct and Carrier administrative server communicates to connect, and then obtain and support route quantity information and gateway to contract rate information, wherein, comparatively preferred, speed of being contracted by gateway and support route quantity information are sent to home gateway place by gateway management platform, the effective like this memory space saving home gateway, and then the hardware requirement reduced home gateway, concrete,
Before the command information that tests the speed online receiving the transmission of gateway management platform, also comprise:
S401: send to gateway management platform and obtain the support route quantity information of home gateway and gateway and to contract the solicited message of rate information;
S402: gateway management platform receives solicited message, and be sent to home gateway according to solicited message rate information of the support route quantity information obtained in advance and gateway being contracted.
Being obtained to Carrier administrative server by gateway management platform supports route quantity information and gateway to contract rate information, and rate information of support route quantity information and gateway being contracted is stored in this locality, after the solicited message receiving home gateway transmission, rate information of support route quantity information and gateway being contracted sends to home gateway, to make home gateway, above-mentioned information is transmitted to the platform that tests the speed, and make home gateway can not store the above-mentioned information content, effectively decrease the hardware requirement to home gateway, and then effectively raise the practicality of the method.
The structural representation of the test the speed platform of Fig. 6 given by an embodiment, known with reference to accompanying drawing 6, another aspect of the present invention, provide one to test the speed platform, this platform that tests the speed is the executive agent of the side of implementing the method tested the speed online for home gateway, carry out communication interaction with the home gateway in gateway device, specifically comprise:
First receiver module 1, support route quantity information and gateway for receiving the home gateway that home gateway reports are contracted rate information;
Source IP builds module 2, for according to support route quantity information, constructs the source IP address of equal number;
Mean Speed acquisition module 3, for the gateway of acquisition is contracted speed on average to each source IP address, obtains the Mean Speed of each source IP address;
First sending module 4, in Preset Time, sends to the object IP address that home gateway is corresponding the packet presetting size from each source IP address according to Mean Speed;
First receiver module 1, also for receiving the packet total quantity received from each source IP address that home gateway reports;
Speed acquiring module 5, for using packet total quantity divided by the on-line velocity of Preset Time as home gateway.
Wherein, the concrete structure of above-mentioned modules and connected mode are not limited, as long as can above-mentioned functions be realized, in addition, it is identical as the functional effect of the concrete steps process in the method tested the speed online for home gateway of executive agent and each step using the platform that tests the speed with above-mentioned that the first receiver module 1 in the present embodiment, source IP build the step process that realizes of module 2, Mean Speed acquisition module 3, first sending module 4 and speed acquiring module 5 and functional effect, specifically with reference to above statement content, can not repeat them here.
The platform that tests the speed provided by the invention, obtained by the first receiver module 1 and support route quantity information, source IP builds the source IP address that module 2 constructs equal number, gateway is contracted speed on average to each source IP address by Mean Speed acquisition module 3, obtain the Mean Speed of each source IP address, and send packet according to Mean Speed to source IP address by the first sending module 4, first receiver module 1 obtains the packet total amount of data that home gateway reports, get final product Negotiation speed acquisition module 5 obtains home gateway on-line velocity according to Preset Time, effectively achieve operator and can monitor network rate in existing network at any time, and do not rely on the behavior of user completely, meet the requirement that existing network tests the speed, improve convenient and swift degree and accuracy that existing network tests the speed, effectively raise the practicality of the platform that tests the speed, be conducive to the propagation and employment in market.
The structural representation of the test the speed platform of Fig. 7 given by another embodiment, on the basis of above-described embodiment, continues with reference to accompanying drawing 6-7 known, also comprises:
First receiver module 1, also for before rate information of contracting at the support route quantity information and gateway that receive the home gateway that home gateway reports, receive the connectivity request message that home gateway sends, and send checking solicited message according to connectivity request message to home gateway;
Authentication module 6, for receiving the authorization information that home gateway sends, and verifies home gateway according to authorization information;
First sending module 4, if also for being verified, then connects with home gateway, and sends to home gateway and obtain the support route quantity information of home gateway and gateway and to contract the indication information of rate information.
Wherein, the concrete structure of the authentication module 6 in the present embodiment and connected mode are not limited, as long as can realize above-mentioned functions effect; In addition, the detailed process that the first receiver module 1 in this embodiment, authentication module 6 and the first sending module 4 are realized and functional effect with above-mentioned about to and the embodiment verified of home gateway in detailed process and functional effect identical, particular content with reference to above statement content, can not repeat them here.
Before testing the speed online, after home gateway being verified according to the authorization information of home gateway by authentication module 6, and know the instruction of testing the speed of home gateway; The safe coefficient that effectively ensure that tests the speed is connected between platform with home gateway, and the platform that makes to test the speed only is connected with the home gateway receiving instruction of testing the speed, decrease the communication resource taken required for being connected with other home gateways, and then ensure that the speed be connected with home gateway, improve the reliability testing the speed online and run.
The structural representation of the gateway device of Fig. 8 given by an embodiment, known with reference to accompanying drawing 8, another aspect of the invention, provides a kind of gateway device, this gateway is set to the executive agent of the side of implementing the method tested the speed online for home gateway, and platform carries out communication interaction with testing the speed; Specifically comprise:
Second receiver module 7, to contract the indication information of rate information for receiving the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway;
Second sending module 8, for according to indication information, sends the support route quantity information of home gateway and gateway to the platform that tests the speed and to contract rate information, to make to test the speed platform according to support route quantity information, the source IP address of structure equal number; Speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
Data reception module 9, test the speed platform in Preset Time for receiving, the packet of the default size sent from each source IP address to the object IP address that home gateway is corresponding according to Mean Speed, and obtain the packet total quantity received from each source IP address;
Data transmission blocks 10, for sending packet total quantity, to make to test the speed platform by packet total quantity divided by the on-line velocity of Preset Time as home gateway to the platform that tests the speed.
Wherein, do not limit for the concrete structure of the above-mentioned modules in the present embodiment and connected mode, the function that those skilled in the art can realize according to it be arranged, as long as can realize the functional effect that above-mentioned modules should realize; In addition, for the implementation of the detailed process of the performing step of the second receiver module 7, second sending module 8, data reception module 9 and data transmission blocks 10 and functional effect and each step in the above-mentioned relevant method tested the speed online for home gateway using gateway device as executive agent side and functional effect identical, particular content with reference to above statement content, can not repeat them here.
Gateway device provided by the invention, being sent to the platform that tests the speed by the second sending module 7 supports route quantity information and gateway to contract rate information, with the source IP address of the platform architecture equal number that makes to test the speed, and speed of being contracted by gateway is on average to each source IP address, obtain the Mean Speed of each source IP address, and send packet according to Mean Speed to source IP address, packet total amount of data is sent to the platform that tests the speed by data transmission blocks 10, the on-line velocity of home gateway can be obtained according to Preset Time, effectively achieve operator and can monitor network rate in existing network at any time, and do not rely on the behavior of user completely, meet the requirement that existing network tests the speed, improve convenient and swift degree and accuracy that existing network tests the speed.
The structural representation of the gateway device of Fig. 9 given by another embodiment, on the basis of above-described embodiment, continues with reference to accompanying drawing 8-9 known, also comprises:
The command reception that tests the speed module 11, before the instruction for rate information of contracting at the support route quantity information and gateway that receive the acquisition home gateway that the platform that tests the speed sends, receives the command information that tests the speed online that gateway management platform sends;
Second receiver module 7, also for receiving the checking solicited message that the platform that tests the speed sends;
Second sending module 8, also for according to checking solicited message, to testing the speed, platform sends authorization information, and to make to test the speed, platform is verified home gateway according to authorization information.
Wherein, do not limit for the concrete structure of the above-mentioned modules in the present embodiment and connected mode, the function that those skilled in the art can realize according to it be arranged, as long as can realize the functional effect that above-mentioned modules should realize; In addition, for the detailed process of the performing step of the second receiver module 7, second sending module 8 and the command reception module 11 that tests the speed and functional effect and the above-mentioned relevant method tested the speed online for home gateway using gateway device as executive agent side to the implementation of the method step that home gateway is verified and functional effect identical, particular content with reference to above statement content, can not repeat them here.
Authorization information is sent to the platform that tests the speed by the second sending module 8, with make to test the speed platform with communicated to connect by the home gateway verified, effectively avoid the generation that test the speed platform and other home gateways carry out communication connection state, what effectively save the platform that tests the speed takies resource, and then ensure that the reliability that home gateway is tested the speed, improve the accuracy tested the speed online.
During specific design, in order to solve the above-mentioned technical problem of the application, also consider to adopt the client that will test the speed to be transplanted on home gateway, if but adopt and test in this way, there is following problem: what common home gateway adopted is built-in Linux be main, the client that tests the speed is transplanted and is difficult to; Support that multithreading HTTP downloads, require higher to CPU, RAM, cause cost increase; If will test the speed, file download is to family's intra-gateway, requires to improve, cause cost increase to Flash.
Therefore, the technical program effectively achieves and is meeting on the basis that existing network tests the speed, and reduces the hardware requirement that General Access Network closes as much as possible, reduce hardware cost, in order to the process of understanding the technical program clearly, exemplify following examples and be described, specifically comprise:
1) home gateway is after point-to-point connection protocol PPPoE registers from Broadband Remote Access Server BRAS certification, be connected with the gateway management platform of existing network, gateway management platform (refers to the existing system total management of operator from backstage, the base support management platform as operator) get the signing speed of home gateway and support route quantity information, then home gateway is handed down to, wherein, suppose that the signing speed of home gateway is 10M;
2) after home gateway receives the instruction of the on-line testing that gateway management platform sends, first the platform that tests the speed to prefectures and cities sends connectivity request message, and carries out certification (concrete authentication method can be set to username and password certification) to home gateway;
3) when after certification, when testing the speed, platform is connected with home gateway, and the platform that tests the speed sends the key property obtaining information of home gateway to home gateway, and wherein, key property comprises supports route quantity information and gateway to contract rate information etc.;
4) home gateway replys the performance information of home gateway to the platform that tests the speed, comprise support route quantity information, gateway that operator writes in advance contracts rate information (such as 10M), the platform that tests the speed obtains to be supported that route quantity information and gateway are contracted after rate information and starts formally to test the speed;
5) according to the support route quantity information of home gateway, the source IP address of structure equal number, namely can support how many routes, just have how many source IP addresss, the route quantity of support is set to 100;
6) gateway is contracted rate information (10M) divided by the Mean Speed 10M/100=0.1M drawing every bar route after the quantity (100) of source IP address by the platform that tests the speed, simulate the packet sending 512 bytes with the Mean Speed of 0.1M to every bar source IP address simultaneously, wherein, because the size of the packet of 1 512 byte is about 4Kb, therefore, namely obtain the platform that tests the speed to send the speed of packet and be about n=0.1M/4k=25/second, and to set the duration be 10s;
7) after the duration, 10s terminated, home gateway obtains the data packet number that every bar source IP address sends, and the packet total quantity (the packet sum that every bar source IP sends to home gateway) received by obtaining, tentation data bag total quantity is 248000, and to the platform reported data bag total quantity that tests the speed, what can obtain home gateway is exactly probably that packet total quantity size 248000*4kb is divided by duration 10s at wire rate, for the ease of com-parison and analysis, unit conversion can be carried out at wire rate to what obtain, namely overall process is 248000*4kb/10s*1000*1000=9.96M.
The technical program traditional HTTP down load application is tested the speed to become simple TCP/UDP Packet forwarding and test the speed, 3 layers of Packet forwarding support are become from 4 layers of application layer protocol support, and because home gateway is originally with regard to 3 layers of Packet forwarding of support two-forty, thus avoid the loss needing home gateway subsequent development to support application layer protocol support and multiple threads, therefore for home gateway CPU disposal ability be no longer bottleneck (because three layers of TCP bag is forwarded by hardware, transfer capability generally all can more than 800M).
Meanwhile, can not need in the technical program specific client (traditional client that tests the speed needs adaptation, proposes requirement to Flash and CPU simultaneously) is installed; Further, the process of testing the speed in the technical program sends based on the specific speed of user instead of based on maximum trial, namely reaches the specific rate requirement of user, avoid the consumption higher to resource.
In addition, the technical program disperses the bag quantity receiving and send according to the support route quantity of home gateway, effectively reduce error, be namely equivalent to: only have a route in prior art, so home gateway needs 24800 bags in calculating route; And be after packet being distributed to 100 routing tables in this technology, just only need to calculate every bar routing table 248 bag; Above-mentioned two kinds of technical schemes, when there is physical circuit noise or hardware handles problem, the whole result impact that the technical scheme being distributed to 100 routing tables tests the speed online on home gateway is less, and then makes to test the speed result online comparatively accurately, effectively improves the accuracy tested the speed online.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. for the method that home gateway tests the speed online, it is characterized in that, comprising:
Receive the support route quantity information of described home gateway that home gateway reports and gateway to contract rate information;
According to described support route quantity information, the source IP address of structure equal number;
Speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
In Preset Time, send to the object IP address that described home gateway is corresponding the packet presetting size from each described source IP address according to described Mean Speed;
Receive the packet total quantity received from each described source IP address that described home gateway reports;
Using described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
2. the method tested the speed online for home gateway according to claim 1, is characterized in that, the support route quantity information of the described home gateway that reception home gateway reports and gateway are contracted before rate information, also comprise:
Receive the connectivity request message that described home gateway sends, and send checking solicited message according to described connectivity request message to home gateway;
Receive the authorization information that described home gateway sends, and according to described authorization information, home gateway is verified;
If be verified, then connect with described home gateway, and send the support route quantity information that obtains described home gateway and gateway to described home gateway and to contract the indication information of rate information.
3. the method tested the speed online for home gateway according to claim 1 and 2, is characterized in that, described Preset Time is more than or equal to 10s.
4. for the method that home gateway tests the speed online, it is characterized in that, comprising:
Receive the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway to contract the indication information of rate information;
According to described indication information, send the support route quantity information of described home gateway and gateway to the described platform that tests the speed to contract rate information, with the source IP address of platform according to described support route quantity information structuring equal number that test the speed described in making, and speed of being contracted by gateway is on average to each source IP address, obtains the Mean Speed of each source IP address;
Platform test the speed described in reception in Preset Time, the packet of the default size sent to the object IP address that described home gateway is corresponding from each described source IP address according to described Mean Speed, and obtains the packet total quantity received from each source IP address;
Send described packet total quantity to the described platform that tests the speed, described in making, test the speed platform by described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
5. the method tested the speed online for home gateway according to claim 4, is characterized in that, receive the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway contract rate information indication information before, also comprise:
Receive the command information that tests the speed online that gateway management platform sends;
According to described test the speed online command information to prefectures and cities test the speed platform send connectivity request message;
The checking solicited message that the platform that tests the speed described in reception sends;
According to described checking solicited message, send authorization information to the described platform that tests the speed, according to described authorization information, described home gateway is verified with the platform that tests the speed described in making.
6. the method tested the speed online for home gateway according to claim 5, is characterized in that, before the command information that tests the speed online receiving the transmission of gateway management platform, also comprises:
Send to gateway management platform and obtain the support route quantity information of described home gateway and gateway and to contract the solicited message of rate information;
Gateway management platform receives described request information, and is sent to described home gateway according to described request information rate information of the support route quantity information obtained in advance and gateway being contracted.
7. test the speed a platform, it is characterized in that, comprising:
First receiver module, support route quantity information and gateway for receiving the described home gateway that home gateway reports are contracted rate information;
Source IP builds module, for according to described support route quantity information, constructs the source IP address of equal number;
Mean Speed acquisition module, for the gateway of acquisition is contracted speed on average to each source IP address, obtains the Mean Speed of each source IP address;
First sending module, in Preset Time, sends to the object IP address that described home gateway is corresponding the packet presetting size from each described source IP address according to described Mean Speed;
Described first receiver module, also for receiving the packet total quantity received from each described source IP address that described home gateway reports;
Speed acquiring module, for using described packet total quantity divided by the on-line velocity of described Preset Time as home gateway.
8. the platform that tests the speed according to claim 7, is characterized in that, comprising:
Described first receiver module, also for before rate information of contracting at the support route quantity information and gateway that receive the described home gateway that home gateway reports, receive the connectivity request message that described home gateway sends, and send checking solicited message according to described connectivity request message to home gateway;
Authentication module, for receiving the authorization information that described home gateway sends, and verifies home gateway according to described authorization information;
Described first sending module, if also for being verified, then connects with described home gateway, and sends the support route quantity information that obtains described home gateway and gateway to described home gateway and to contract the indication information of rate information.
9. a gateway device, is characterized in that, comprising:
Second receiver module, to contract the indication information of rate information for receiving the support route quantity information of acquisition home gateway that the platform that tests the speed sends and gateway;
Second sending module, for according to described indication information, send the support route quantity information of described home gateway and gateway to the described platform that tests the speed to contract rate information, described in making, test the speed platform according to described support route quantity information, the source IP address of structure equal number; Speed of being contracted by the gateway of acquisition, on average to each source IP address, obtains the Mean Speed of each source IP address;
Data reception module, test the speed platform in Preset Time described in receiving, the packet of the default size sent from each described source IP address to the object IP address that described home gateway is corresponding according to described Mean Speed, and obtain the packet total quantity received from each source IP address;
Data transmission blocks, for sending described packet total quantity to the described platform that tests the speed, tests the speed platform by described packet total quantity divided by the on-line velocity of described Preset Time as home gateway described in making.
10. gateway device according to claim 9, is characterized in that, also comprises:
The command reception that tests the speed module, before the instruction for rate information of contracting at the support route quantity information and gateway that receive the acquisition home gateway that the platform that tests the speed sends, receives the command information that tests the speed online that gateway management platform sends;
Described second sending module, also for according to described test the speed online command information to prefectures and cities test the speed platform send connectivity request message;
Described second receiver module, also for checking solicited message that the platform that tests the speed described in receiving sends;
Described second sending module, also for according to described checking solicited message, sends authorization information to the described platform that tests the speed, and verifies according to described authorization information with the platform that tests the speed described in making to home gateway.
CN201510870247.3A 2015-12-02 2015-12-02 The method that tests the speed online for home gateway, test the speed platform and gateway device Active CN105553752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510870247.3A CN105553752B (en) 2015-12-02 2015-12-02 The method that tests the speed online for home gateway, test the speed platform and gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510870247.3A CN105553752B (en) 2015-12-02 2015-12-02 The method that tests the speed online for home gateway, test the speed platform and gateway device

Publications (2)

Publication Number Publication Date
CN105553752A true CN105553752A (en) 2016-05-04
CN105553752B CN105553752B (en) 2018-07-03

Family

ID=55832692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510870247.3A Active CN105553752B (en) 2015-12-02 2015-12-02 The method that tests the speed online for home gateway, test the speed platform and gateway device

Country Status (1)

Country Link
CN (1) CN105553752B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791059A (en) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Broadband speed measuring method, device and system
CN105978754A (en) * 2016-05-13 2016-09-28 中国联合网络通信集团有限公司 Network quality detection method and gateway equipment
CN106302493A (en) * 2016-08-23 2017-01-04 王志强 Method, system and the equipment of notes communication is realized by multiple-authentication
CN111147323A (en) * 2019-12-17 2020-05-12 中国联合网络通信集团有限公司 Speed measuring method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744535A (en) * 2005-10-14 2006-03-08 中国移动通信集团公司 WAP gateway performance test method
CN102932218A (en) * 2012-11-21 2013-02-13 成都市迅电网络技术有限公司 Method and system for acquiring maximum bandwidth of network physical line
CN103107910A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Method and system of broadband speed measurement and broadband access terminal
CN104601493A (en) * 2014-12-03 2015-05-06 中国联合网络通信集团有限公司 Bandwidth adjustment method and system and intelligent pipe platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744535A (en) * 2005-10-14 2006-03-08 中国移动通信集团公司 WAP gateway performance test method
CN103107910A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Method and system of broadband speed measurement and broadband access terminal
CN102932218A (en) * 2012-11-21 2013-02-13 成都市迅电网络技术有限公司 Method and system for acquiring maximum bandwidth of network physical line
CN104601493A (en) * 2014-12-03 2015-05-06 中国联合网络通信集团有限公司 Bandwidth adjustment method and system and intelligent pipe platform

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791059A (en) * 2016-05-12 2016-07-20 中国联合网络通信集团有限公司 Broadband speed measuring method, device and system
CN105791059B (en) * 2016-05-12 2019-02-19 中国联合网络通信集团有限公司 A kind of broadband speed-measuring method, device, system
CN105978754A (en) * 2016-05-13 2016-09-28 中国联合网络通信集团有限公司 Network quality detection method and gateway equipment
CN105978754B (en) * 2016-05-13 2019-05-17 中国联合网络通信集团有限公司 A kind of network quality detection method and gateway
CN106302493A (en) * 2016-08-23 2017-01-04 王志强 Method, system and the equipment of notes communication is realized by multiple-authentication
CN106302493B (en) * 2016-08-23 2020-03-20 王志强 Method, system and equipment for realizing note-recording communication through multiple verification
CN111147323A (en) * 2019-12-17 2020-05-12 中国联合网络通信集团有限公司 Speed measuring method and device

Also Published As

Publication number Publication date
CN105553752B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN110430096A (en) A kind of gateway test method and equipment
US20040240440A1 (en) Virtual network addresses
CN105553752A (en) Method of on-line speed measurement of home gateway, speed measurement platform and gateway device
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
JP2006245841A5 (en)
CN105025044A (en) Device control method and device control system
CN107634880A (en) Broadband speed-measuring method and broadband velocity-measuring system
CN108965036A (en) Configure across public network equipment exchanging visit method, system, server and storage medium
CN102752161A (en) Test system
KR101561420B1 (en) Internet Connection Test Device And Method thereof
CN104378451A (en) Network communication route selecting method, device and system
CN104065538B (en) Measurement control method, control server and the system of network performance
CN104683994A (en) Wireless network configuration method and wireless network devices
CN111447302B (en) Method and system for simulating multi-client to test DHCP (dynamic host configuration protocol) by using raw socket
WO2016188189A1 (en) Method and device for network speed test
CN206313803U (en) A kind of router for realizing network game acceleration
CN108134711B (en) Method for testing terminal APP, simulation household appliance system and storage medium
TWI538444B (en) IPv6 CE standard automated test system
CN102075588B (en) Method and system for realizing network address translation (NAT) transversing and equipment
WO2011009339A1 (en) Method, system and device for transmitting data
Corici et al. A solution for provisioning reliable M2M infrastructures using SDN and device management
JP2018528641A (en) Communication policy control in machine-to-machine communication system
CN103929342A (en) Network performance measurement method, device and system
CN104683178B (en) A kind of test method and system of the more DUT of identical IP address
JP2010268229A (en) Gateway device, communication system, and resource securing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant