CN105245404A - Broadband uplink speed test method based on ping technology - Google Patents

Broadband uplink speed test method based on ping technology Download PDF

Info

Publication number
CN105245404A
CN105245404A CN201510706443.7A CN201510706443A CN105245404A CN 105245404 A CN105245404 A CN 105245404A CN 201510706443 A CN201510706443 A CN 201510706443A CN 105245404 A CN105245404 A CN 105245404A
Authority
CN
China
Prior art keywords
address
ping
broadband
reliable
method based
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.)
Pending
Application number
CN201510706443.7A
Other languages
Chinese (zh)
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.)
SHENZHEN FENGLIAN TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN FENGLIAN TECHNOLOGY 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 SHENZHEN FENGLIAN TECHNOLOGY Co Ltd filed Critical SHENZHEN FENGLIAN TECHNOLOGY Co Ltd
Priority to CN201510706443.7A priority Critical patent/CN105245404A/en
Publication of CN105245404A publication Critical patent/CN105245404A/en
Pending legal-status Critical Current

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/0888Throughput
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Abstract

The invention discloses a broadband uplink speed test method based on a ping technology. The method comprises the following steps: (S10) actively detecting and acquiring an IP address set by a reliable operator gateway through a user side; and (S20) sending icmp messages to the detected reliable IP address for a certain time period, meanwhile continuously receiving messages returned by gateway equipment, and performing statistics to obtain a quantity of the received messages in order to calculate a network flow, namely, a broadband uplink rate. Through adoption of the ping technology, the problem that a conventional speed test way tends to be influenced by a network environment is solved skillfully, and broadband uplink speed test from the user side to an operator side is realized with a basic network protocol. The method is novel in concept, skillful in design and convenient to use. A user can get a real-time broadband condition rapidly and accurately in order to judge whether an operator provides reliable broadband services or not.

Description

A kind of broadband upstream speed-measuring method based on ping technology
Technical field
The present invention relates to net application technology field, specifically, relate to a kind of broadband upstream speed-measuring method based on ping technology.
Background technology
Along with the Internet constantly rises, increasing user has opened broadband services, also oneself real-time broadband is understood in real time in order to better allow Consumer's Experience broadband services, network tests the speed also therefore constantly prevailing, the Internet there is many network velocity-measuring systems, as 360 test the speed, telecommunications webpage tests the speed and speedtest website etc., this demonstrates user and more and more urgently knows whether the broadband oneself used reaches standard, whether operator provides reliable broadband service.
Because now current website of testing the speed is more, each the strategy that tests the speed used is different, measure the different situation of result come under appearing in same network environment, testing the speed of even having is only descending testing the speed, and it is accurate not that the situation that entirety embodies is to test the speed in broadband.Make a concrete analysis of it, at present the strategy of these test network upstream and downstream bandwidth is to realize testing the speed of upstream broadband and downstream broadband mostly in the mode of upload file and download file, generally network hand over mutually in upload file more more complicated than download file process, the setting wherein related to more bothers, and just mainly there are following 2 deficiencies in the method exactly tested the speed in upload file:
First upload file resource has significant limitation, and limitation is mainly may not in same network environment with the server address uploaded and local broadband network environment, and the speed therefore uploaded can receive the impact in different network environments;
It two is variations due to the file system of file size, file type and upload server etc. when uploading, also can cause calculating upstream bandwidth inaccurate.
Therefore, the inaccurate problem of test result of middle existence of testing the speed for network uplink width known on the market, we propose a kind of new solution.
Summary of the invention
For overcoming the problems referred to above of the prior art, the invention provides a kind of novel, design ingenious, can rapidly and accurately to the broadband upstream speed-measuring method based on ping technology of application identification.
To achieve these goals, the technical solution used in the present invention is as follows:
Based on a broadband upstream speed-measuring method for ping technology, comprise the steps:
(S10) user side active probe obtains the IP address of reliable operator's gateway device;
(S20) to the reliable IP address duration a period of time detected send icmp message, simultaneously constantly receive the message responded by gateway device, and the message number that statistics receives, calculate network traffics thus, be broadband upstream speed.
Particularly, described icmp message is produced by ping order.
Particularly, the single length of the icmp message sent in described step (S20) is 1428 bytes, adopts the icmp message of this length under the condition taking upstream broadband, can avoid the situation of IP message process burst as far as possible.
Particularly, the time continuing to send icmp message in described step (S20) is 10-20 second.
Particularly, the frequency sending icmp message in described step (S20) is 1800-2200/second, and this frequency is subject to the impact of user side hardware device to a certain extent.
More specifically, to the realization of step (S10), in the present invention, provide the following two kinds scheme:
One, in described step (S10), first by traceroute order get user side and operator hold between the IP address of all gateway devices, then go out to receive by ping order filtering and feed back the IP address of icmp message, being reliable IP address.Further, in described step (S20), to any one reliable IP address duration a period of time send icmp message;
Its two, the concrete steps of described step (S10) are as follows:
(S11) by traceroute order get user side and operator hold between the IP address of all gateway devices;
(S12) by ping order, filler test is carried out in all IP addresses got, if can receive and feed back icmp message, then this IP address is reliable IP address, perform step (S20), otherwise repeated execution of steps (S12), until obtain reliable IP address or by complete for whole IP address filler tests;
Wherein, when repeating described step (S12), the IP address of at every turn carrying out filler test is all different.
Compared with prior art, the present invention has following beneficial effect:
The present invention adopts ping technology to avoid tradition dexterously and tests the speed and be easily subject to the problem of network environment influence in mode, utilize the procotol on basis to realize the broadband upstream that user side holds to operator to test the speed, novel, design ingenious, easy to use, user can be allowed rapidly and accurately to recognize used real-time broadband situation, judge whether operator provides reliable broadband service, be with a wide range of applications, be applicable to applying.
Embodiment
Below in conjunction with embodiment, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment 1
Based on the broadband upstream speed-measuring method of ping technology, should comprise the steps:
(S10) user side active probe obtains the IP address of reliable operator's gateway device, be specially first by traceroute order get user side and operator hold between the IP address of all gateway devices, then go out to receive by ping order filtering and feed back the IP address of icmp message, being reliable IP address;
(S20) by ping order, to the reliable IP address of any one detecting above-mentioned, by giving out a contract for a project frequency 1800-2200/second, continue 10-20 ground second and send the icmp message that single length is 1428 bytes, constantly receive the message responded by gateway device simultaneously, and add up the message number received, calculate network traffics thus, be broadband upstream speed.
Embodiment 2
Based on the broadband upstream speed-measuring method of ping technology, should comprise the steps:
(S10) user side active probe obtains the IP address of reliable operator's gateway device, is specially:
(S11) by traceroute order get user side and operator hold between the IP address of all gateway devices;
(S12) in all IP addresses got, filler test is carried out by ping order, if can receive and feed back icmp message, then this IP address is reliable IP address, performs step (S20), otherwise this IP address is the IP address of prohibiting ping, repeated execution of steps (S12), until obtain reliable IP address or by complete for whole IP address filler tests, wherein, when repeating described step (S12), the IP address of at every turn carrying out filler test is all different;
(S20) by ping order, to the above-mentioned reliable IP address detected, by giving out a contract for a project frequency 1800-2200/second, continue 10-20 ground second and send the icmp message that single length is 1428 bytes, constantly receive the message responded by gateway device simultaneously, and add up the message number received, calculate network traffics thus, be broadband upstream speed.
By method of the present invention, user can be allowed rapidly and accurately to understand the real-time broadband of oneself reality, judge whether operator provides reliable broadband service.
Above-described embodiment is only the preferred embodiments of the present invention, not limiting the scope of the invention, as long as adopt design principle of the present invention, and the change carried out non-creativeness work on this basis and make, all should belong within protection scope of the present invention.

Claims (9)

1., based on a broadband upstream speed-measuring method for ping technology, it is characterized in that, comprise the steps:
(S10) user side active probe obtains the IP address of reliable operator's gateway device;
(S20) to the reliable IP address duration a period of time detected send icmp message, simultaneously constantly receive the message responded by gateway device, and the message number that statistics receives, calculate network traffics thus, be broadband upstream speed.
2. a kind of broadband upstream speed-measuring method based on ping technology according to claim 1, it is characterized in that, described icmp message is produced by ping order.
3. a kind of broadband upstream speed-measuring method based on ping technology according to claim 1, is characterized in that, the single length of the icmp message sent in described step (S20) is 1428 bytes.
4. a kind of broadband upstream speed-measuring method based on ping technology according to claim 3, is characterized in that, the time continuing to send icmp message in described step (S20) is 10-20 second.
5. a kind of broadband upstream speed-measuring method based on ping technology according to claim 1, is characterized in that, the frequency sending icmp message in described step (S20) is 1800-2200/second.
6. a kind of broadband upstream speed-measuring method based on ping technology according to any one of claim 1 ~ 5, it is characterized in that, in described step (S10), first by traceroute order get user side and operator hold between the IP address of all gateway devices, then go out to receive by ping order filtering and feed back the IP address of icmp message, being reliable IP address.
7. a kind of broadband upstream speed-measuring method based on ping technology according to claim 6, is characterized in that, in described step (S20), to any one reliable IP address duration a period of time send icmp message.
8. a kind of broadband upstream speed-measuring method based on ping technology according to any one of claim 1 ~ 5, it is characterized in that, the concrete steps of described step (S10) are as follows:
(S11) by traceroute order get user side and operator hold between the IP address of all gateway devices;
(S12) by ping order, filler test is carried out in all IP addresses got, if can receive and feed back icmp message, then this IP address is reliable IP address, perform step (S20), otherwise repeated execution of steps (S12), until obtain reliable IP address or by complete for whole IP address filler tests.
9. a kind of broadband upstream speed-measuring method based on ping technology according to claim 8, is characterized in that, when repeating described step (S12), the IP address of at every turn carrying out filler test is all different.
CN201510706443.7A 2015-10-27 2015-10-27 Broadband uplink speed test method based on ping technology Pending CN105245404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510706443.7A CN105245404A (en) 2015-10-27 2015-10-27 Broadband uplink speed test method based on ping technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510706443.7A CN105245404A (en) 2015-10-27 2015-10-27 Broadband uplink speed test method based on ping technology

Publications (1)

Publication Number Publication Date
CN105245404A true CN105245404A (en) 2016-01-13

Family

ID=55042913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510706443.7A Pending CN105245404A (en) 2015-10-27 2015-10-27 Broadband uplink speed test method based on ping technology

Country Status (1)

Country Link
CN (1) CN105245404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671606A (en) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 Network speed measurement method, device and system, storage medium and gateway equipment
CN113783751A (en) * 2021-08-30 2021-12-10 北京东方网信科技股份有限公司 Method, electronic device and medium for detecting user broadband quality

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117907A (en) * 2013-03-11 2013-05-22 星云融创(北京)信息技术有限公司 Network speed test method and system and method and system for selecting accelerating server
CN103763156A (en) * 2014-01-28 2014-04-30 中国移动(深圳)有限公司 Network speed measurement method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117907A (en) * 2013-03-11 2013-05-22 星云融创(北京)信息技术有限公司 Network speed test method and system and method and system for selecting accelerating server
CN103763156A (en) * 2014-01-28 2014-04-30 中国移动(深圳)有限公司 Network speed measurement method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
418694118: "Ping命令", 《51CTO博客》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671606A (en) * 2020-12-16 2021-04-16 深圳创维数字技术有限公司 Network speed measurement method, device and system, storage medium and gateway equipment
CN112671606B (en) * 2020-12-16 2022-11-25 深圳创维数字技术有限公司 Network speed measuring method, device and system, storage medium and gateway equipment
CN113783751A (en) * 2021-08-30 2021-12-10 北京东方网信科技股份有限公司 Method, electronic device and medium for detecting user broadband quality
CN113783751B (en) * 2021-08-30 2023-01-17 北京东方网信科技股份有限公司 Method, electronic device and medium for detecting user broadband quality

Similar Documents

Publication Publication Date Title
Goldoni et al. Assolo, a new method for available bandwidth estimation
US10003506B2 (en) Automatic discovery and enforcement of service level agreement settings
Goga et al. Speed measurements of residential internet access
CN106487605B (en) Packet loss rate detection method and device
EP3398296B1 (en) Performance measurement in a packet-switched communication network
WO2014030061A4 (en) Validating network traffic policy
KR102126362B1 (en) Method and apparatus for determining video quality, and method and apparatus for locating network defects
CN107438254B (en) Service identification method, device and system based on user behavior
CN104780004A (en) Bandwidth speed measurement system and method of home gateway
CN109617868A (en) A kind of detection method of DDOS attack, device and detection service device
Midoglu et al. MONROE-Nettest: A configurable tool for dissecting speed measurements in mobile broadband networks
CN106656643A (en) Measuring method of segmental calculation of network delay
CN102325060B (en) Link bandwidth test method and router
JP2015504260A (en) Method, system, and computer program for testing a DIAMETER routing node
Lübke et al. Measuring accuracy and performance of network emulators
US11121938B2 (en) Performance measurement in a packet-switched communication network
Chan et al. TRIO: Measuring asymmetric capacity with three minimum round-trip times
CN105245404A (en) Broadband uplink speed test method based on ping technology
Garcia et al. Delay metrics and delay characteristics: A study of four Swedish HSDPA+ and LTE networks
Genin et al. Where in the Internet is congestion?
CN103905272A (en) Available bandwidth measuring method and system of wireless network
Umeh et al. Throughput and delay analysis in a real time network
CN109474940B (en) Service quality detection method and device
Yang et al. Quality of service test mechanism and management of broadband access network
CN107786385B (en) Method and device for detecting rerouting capability of Label Switched Path (LSP) tunnel of equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113