CN103840989A - Method and device for testing network speed through router - Google Patents

Method and device for testing network speed through router Download PDF

Info

Publication number
CN103840989A
CN103840989A CN201410115465.1A CN201410115465A CN103840989A CN 103840989 A CN103840989 A CN 103840989A CN 201410115465 A CN201410115465 A CN 201410115465A CN 103840989 A CN103840989 A CN 103840989A
Authority
CN
China
Prior art keywords
network
speed
instrument
operating system
router
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
CN201410115465.1A
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.)
BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Original Assignee
BEIJING JIKEJIKE 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 BEIJING JIKEJIKE TECHNOLOGY Co Ltd filed Critical BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Priority to CN201410115465.1A priority Critical patent/CN103840989A/en
Publication of CN103840989A publication Critical patent/CN103840989A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of network communication, and discloses a method and device for testing network speed through a router. The method comprises the steps that an operating system of the router is started, and data traffic generated by all users are captured and recorded in the operating system in real time; a tool for generating network data packages is started, and network data traffic increased gradually is generated to enable jamming to occur in a network; the data traffic generated by the tool when the jamming occurs in the network is recorded, and the sum of the data traffic generated by the tool and the data traffic generated by the users when the jamming occurs is regarded as the speed of the current network and is recorded in the operating system. According to the method and device for testing the network speed, due to the fact that all the network traffic is recorded in the layer of the operating system of the router, the interference of software besides speed testing software is avoided, the real speed of the network can be tested out more accurately, and the normal network application of the users cannot be interfered.

Description

Test the method and apparatus of network speed by router
Technical field
The present invention relates to network communications technology field, be specifically related to a kind of method and apparatus of testing network speed by router.
Background technology
The measuring technology of Internet speed is at home always in scattered and blank state, existing network velocity measuring technique is all to carry out based on the function software in computer, utilize the software that tests the speed operating in operating system, by constantly sending a large amount of packets, bandwidth is reached capacity, and then the amount of the packet that sends while reaching capacity of record, thus as the speed of current network.Although which is more easily implemented, but also there is obvious drawback in the method for this test network speed meanwhile, intelligence records the data traffic size that the software self that tests the speed sends, owing to cannot knowing that other softwares use the actual value of the network bandwidth in a large amount of use, when the software that has other is in a large amount of utilized bandwidths, can have a huge impact the accuracy of the software that tests the speed.Typically, in the time that the software that tests the speed is testing the speed, if there is other software, for example a sudden peal of thunder is just in high-speed downloads, and the value of testing the speed that the software that tests the speed so obtains will be very little, because a large amount of bandwidth that takies a sudden peal of thunder tests the speed, software cannot be known, and this has just caused test the speed inaccurate.Similarly, in shared network, in the time having many people to use network simultaneously, a people tests the speed, if have other people that surfing the Net also in utilized bandwidth, the people who is so testing the speed cannot know other people bandwidth taking of surfing the Net, and this numerical value testing the speed is forbidden.
Summary of the invention
For the above-mentioned defect existing in prior art, technical problem to be solved by this invention is how fast to carry out exactly network to test the speed.
For solving the problems of the technologies described above, on the one hand, the invention provides a kind of method of testing network speed by router, comprise step:
Start router operation system, catch the data traffic of all users' generations and be recorded in real time in described operating system;
Start network data packet generation instrument, produce the network traffic data constantly increasing network is got congestion;
The data traffic that described in when recording network get congestion in described operating system, instrument produces, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
Preferably, described method also comprises step: the instrument and the network data packet generation instrument that catch customer flow are installed and/or unloaded in the instruction based on user in described router.
Preferably, described operating system is intelligent terminal operating system, and the instrument and the network data packet generation instrument that catch customer flow are intelligent terminal application.
Preferably, described method also comprises step: in user interface, provide and operate and rendering preferences, or on described router, provide physical button, Trackpad, display screen or touch-screen operate and show.
Preferably, described method also comprises step: the network bandwidth that regulates/control each user according to the speed of described current network.
On the other hand, the present invention also provides a kind of device of testing network speed by router simultaneously, it is characterized in that, described device comprises:
Customer flow capture module, for starting router operation system, catches the data traffic of all users' generations and is recorded in real time in described operating system;
Packet generation module, for starting network data packet generation instrument, produces the network traffic data constantly increasing network is got congestion;
Network speed test module, while getting congestion for recording network in described operating system described in the data traffic that produces of instrument, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
Preferably, described device also comprises: installation/Unload module, install and/or unload at described router the instrument and the network data packet generation instrument that catch customer flow for the instruction based on user.
Preferably, described operating system is intelligent terminal operating system, and the instrument and the network data packet generation instrument that catch customer flow are intelligent terminal application.
Preferably, described device also comprises: interactive module, for providing and operate and rendering preferences at user interface, or on described router, provide physical button, Trackpad, display screen or touch-screen operate and show.
Preferably, described device also comprises: bandwidth control module, and for regulate/control each user's the network bandwidth according to the speed of described current network.
The method and apparatus of testing network speed by router disclosed by the invention, record overall network flow owing to having adopted in router operation system layer, thereby the interference of the software outside the software of avoiding being tested the speed, thereby more can accurately measure the true velocity of network, and proper network application that can interference user.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of testing the method for network speed in one embodiment of the present of invention by router.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is for implementing preferred embodiments of the present invention, and described description is to illustrate that rule of the present invention is object, not in order to limit scope of the present invention.Protection scope of the present invention should with claim the person of being defined be as the criterion, based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
The existing mode of testing the speed can only obtain the flow situation of system or software itself, cannot record all network traffic datas of user's network of living in, can not measure accurately the true velocity of network.In the present invention in order accurately to know user's network speed situation, router side user is carried out network speed test, due to the normally key equipment of user Internet access of router, can touch all sidedly user uplink/descending data traffic, thereby can carry out accurate network and test the speed.
The method of as shown in Figure 1, testing network speed by router in one embodiment of the present of invention comprises step:
Start router operation system, catch the data traffic of all users' generations and be recorded in real time in described operating system;
Start network data packet generation instrument, produce the network traffic data constantly increasing network is got congestion;
The data traffic that described in when recording network get congestion in described operating system, instrument produces, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
Wherein, router operation system is preferably intelligent terminal operating system, and the instrument and the network data packet generation instrument that catch customer flow can be controlled by mobile terminal, and the instruction of these instruments based on user installed and/or unloaded in described router.Similarly, the selection that the method can be based on user and starting; The speed of the current network of record also can optionally feed back to and start the user who tests the speed.Preferably, above-mentioned startup, peace loading, unloading or feedback option provide in user interface; But also can on described router, provide physical button, Trackpad, display screen or touch-screen operate and show.
Further, method of the present invention also can comprise step: the network bandwidth that regulates/control each user according to the speed of current network.
One of ordinary skill in the art will appreciate that, the all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a computer read/write memory medium, this program is in the time carrying out, comprise each step of above-described embodiment method, and described storage medium can be: ROM/RAM, magnetic disc, CD, storage card etc.Therefore, relevant technical staff in the field will be understood that corresponding with method of the present invention, and the present invention also comprises a kind of device of testing network speed by router simultaneously, with said method step correspondingly, this device comprises:
Customer flow capture module, for starting router operation system, catches the data traffic of all users' generations and is recorded in real time in described operating system;
Packet generation module, for starting network data packet generation instrument, produces the network traffic data constantly increasing network is got congestion;
Network speed test module, while getting congestion for recording network in described operating system described in the data traffic that produces of instrument, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
The common software that tests the speed can only be estimated by recording the network traffic data self producing the speed of network, but in the situation that having other software application networks, test the speed software because can only record the flow self producing, can be on the low side so do kind of a network speed of measuring, even very inaccurate.The present invention records network packet by the operating system in router, the network packet flow that all software is comprised to test the speed software and the generation of other software is all recorded, thereby more can accurately measure the true velocity of network, and not be subject to the impact of traditional speed-measuring method.Traditional mode of testing the speed need to be suspended all internet behaviors of user before testing the speed, and such as browsing page, saw video etc., otherwise can affect the result that network tests the speed; Test the speed by router of the present invention, can the in the situation that of the normal practical network of interference user not, test the speed.
Below be only the preferred embodiment of the present invention, it should be pointed out that above-mentioned preferred implementation should not be considered as limitation of the present invention, protection scope of the present invention should be as the criterion with claim limited range.For those skilled in the art, without departing from the spirit and scope of the present invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a method of testing network speed by router, is characterized in that, described method comprises step:
Start router operation system, catch the data traffic of all users' generations and be recorded in real time in described operating system;
Start network data packet generation instrument, produce the network traffic data constantly increasing network is got congestion;
The data traffic that described in when recording network get congestion in described operating system, instrument produces, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
2. the method for claim 1, is characterized in that, described method also comprises step:
The instrument and the network data packet generation instrument that catch customer flow are installed and/or are unloaded in instruction based on user in described router.
3. method as claimed in claim 1 or 2, is characterized in that, described operating system is intelligent terminal operating system, and the instrument and the network data packet generation instrument that catch customer flow are intelligent terminal application.
4. the method for claim 1, is characterized in that, described method also comprises step:
In user interface, provide and operate and rendering preferences, or on described router, provide physical button, Trackpad, display screen or touch-screen operate and show.
5. the method for claim 1, is characterized in that, described method also comprises step:
Regulate/control each user's the network bandwidth according to the speed of described current network.
6. a device of testing network speed by router, is characterized in that, described device comprises:
Customer flow capture module, for starting router operation system, catches the data traffic of all users' generations and is recorded in real time in described operating system;
Packet generation module, for starting network data packet generation instrument, produces the network traffic data constantly increasing network is got congestion;
Network speed test module, while getting congestion for recording network in described operating system described in the data traffic that produces of instrument, the data traffic sum that instrument and user produce when blocking up as the speed record of current network in described operating system.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Installation/Unload module, installs and/or unloads at described router the instrument and the network data packet generation instrument that catch customer flow for the instruction based on user.
8. the device as described in claim 6 or 7, is characterized in that, described operating system is intelligent terminal operating system, and the instrument and the network data packet generation instrument that catch customer flow are intelligent terminal application.
9. device as claimed in claim 6, is characterized in that, described device also comprises:
Interactive module, for providing and operate and rendering preferences at user interface, or on described router, provide physical button, Trackpad, display screen or touch-screen operate and show.
10. device as claimed in claim 6, is characterized in that, described device also comprises:
Bandwidth control module, for regulating/control each user's the network bandwidth according to the speed of described current network.
CN201410115465.1A 2014-03-26 2014-03-26 Method and device for testing network speed through router Pending CN103840989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410115465.1A CN103840989A (en) 2014-03-26 2014-03-26 Method and device for testing network speed through router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410115465.1A CN103840989A (en) 2014-03-26 2014-03-26 Method and device for testing network speed through router

Publications (1)

Publication Number Publication Date
CN103840989A true CN103840989A (en) 2014-06-04

Family

ID=50804150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410115465.1A Pending CN103840989A (en) 2014-03-26 2014-03-26 Method and device for testing network speed through router

Country Status (1)

Country Link
CN (1) CN103840989A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169328A1 (en) * 2015-04-24 2016-10-27 中兴通讯股份有限公司 Method for implementing flow control, and client
CN108768767A (en) * 2018-05-11 2018-11-06 北京奇虎科技有限公司 Determine the method and device of bandwidth ability
CN113225224A (en) * 2021-04-26 2021-08-06 深圳市奇虎智能科技有限公司 Network speed measuring method, system, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665204A (en) * 2005-03-18 2005-09-07 清华大学 Method for real-time measurement of local service quality of computer network
CN101730086A (en) * 2009-12-02 2010-06-09 北京盈通创新数字技术有限公司 High speed downloading method of mobile terminal connecting multiple gateways and starting multiple threads
US20140082180A1 (en) * 2012-09-18 2014-03-20 Fujitsu Limited Information processor apparatus, information processing method, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665204A (en) * 2005-03-18 2005-09-07 清华大学 Method for real-time measurement of local service quality of computer network
CN101730086A (en) * 2009-12-02 2010-06-09 北京盈通创新数字技术有限公司 High speed downloading method of mobile terminal connecting multiple gateways and starting multiple threads
US20140082180A1 (en) * 2012-09-18 2014-03-20 Fujitsu Limited Information processor apparatus, information processing method, and recording medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李晋峰: "《浅谈ADSL网速测试与故障诊断》", 《长治学院学报》 *
闫巧: "《嵌入式3G路由器的设计与实现》", 《计算机工程与设计》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169328A1 (en) * 2015-04-24 2016-10-27 中兴通讯股份有限公司 Method for implementing flow control, and client
CN106161266A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 A kind of method realizing flow-control and client
CN108768767A (en) * 2018-05-11 2018-11-06 北京奇虎科技有限公司 Determine the method and device of bandwidth ability
CN108768767B (en) * 2018-05-11 2021-01-12 北京奇虎科技有限公司 Method and device for determining bandwidth capacity
CN113225224A (en) * 2021-04-26 2021-08-06 深圳市奇虎智能科技有限公司 Network speed measuring method, system, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
US10263879B2 (en) I/O stack modeling for problem diagnosis and optimization
US9575745B1 (en) Immediately launching applications
CN109189682A (en) A kind of script method for recording and device
CN107168841A (en) The remote test method and device of a kind of mobile device
CN111937006B (en) System for determining performance based on entropy
CN104156165A (en) Method and device for adjusting playing pace of video
US10728136B2 (en) MCellblock for parallel testing of multiple devices
CN104239139A (en) Method, device and terminal for processing boot-strap self-starting project
CN104079445A (en) Distributed type pressure testing system and method
CN107357726A (en) A kind of application compatibility method of testing and device
Merlo et al. Measuring and estimating power consumption in android to support energy-based intrusion detection
US20140198670A1 (en) Wireless network site survey systems and methods
US20180314752A1 (en) Display apparatus and method for displaying information regarding activities thereof
CN106357887A (en) Icon view method, equipment and mobile terminal
US20190278627A1 (en) Executing applications prior to user login
US20170006188A1 (en) Partial snapshots for creating generalized snapshots
CN107741902A (en) Program application detection method and program application detection means
CN109254922A (en) A kind of automated testing method and device of server B MC Redfish function
CN103840989A (en) Method and device for testing network speed through router
US20160359990A1 (en) Media content consumption analytics
CN108124273A (en) A kind of method of acquisition of information, equipment and medium
CN109582549A (en) A kind of recognition methods of device type and device
CN117241276A (en) Detection tool, detection method, detection system and detection equipment for mobile application
JP2023503232A (en) Data loss risk detection for 5G enabled devices
US8819495B2 (en) Application harnessing system and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140604