CN106656665A - Local area network speed testing method and device - Google Patents
Local area network speed testing method and device Download PDFInfo
- Publication number
- CN106656665A CN106656665A CN201611121748.2A CN201611121748A CN106656665A CN 106656665 A CN106656665 A CN 106656665A CN 201611121748 A CN201611121748 A CN 201611121748A CN 106656665 A CN106656665 A CN 106656665A
- Authority
- CN
- China
- Prior art keywords
- speed
- transfer rate
- average
- testing
- test
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
Abstract
The embodiment of the invention discloses a local area network speed testing method and device. The local area network speed testing method comprises the steps that an access request, which is to access a speed testing server through a terminal browser, of a user is received, and a speed testing interface is returned to the terminal browser, wherein the terminal browser accesses the speed testing server through a router; a speed testing instruction which transmits a number of copies of a test file at the same time and is input by the user through the speed testing interface is received; according to the speed testing instruction, a packet capturing tool is controlled to capture a data packet when the test file is transmitted; and according to speed testing data per second, the transmission rate peak and the transmission rate mean of a local area network are calculated, wherein the speed testing data are acquired when the packet capturing tool captures the data packet. A user can easily send the speed testing instruction to the speed testing server through the speed testing interface on the terminal browser. The speed testing operation is simple and convenient. The speed testing server captures the packet to carry out statistics on flow between the terminal browser and the speed testing server. The speed testing accuracy is high.
Description
Technical field
The present invention relates to networking technology area, more particularly to a kind of method and apparatus of test LAN network speed.
Background technology
LAN (Local Area Network, LAN) is (such as school, a work in the geographic range of a local
In factory and office), within usually having an area of several kms, various computers, external equipment and database are linked up mutually
The computer communication network of composition.It can by data communication network or exclusive data circuit, LAN, database with a distant place or
Processing center is connected, and constitutes a large range of information processing system.LAN can realize file management, application software
The functions such as shared, sharing printer, scanner are shared, the schedule in working group, Email and facsimile service.It is right
For LAN, good network performance is the necessary requirement for realizing above-mentioned functions, and LAN network speed is to embody its internetworking
One important indicator of energy, therefore, test LAN network speed is particularly important.
In the prior art, the amalgamation machine top to CableModem routers, wireless router and with router feature
The LAN network speed test of the network terminal products such as box, it usually needs tested using the flow rate test instrument of specialty, such as
Iperf, IxChariot etc., and the process of these professional tools configuration parameter for domestic consumer excessively specialty, operation are too
It is complicated.Therefore, domestic consumer how is made using the high method of simple to operate and measuring accuracy to test LAN network speed be ability
Domain problem demanding prompt solution.
The content of the invention
To solve Related Technical Issues, it is an object of the invention to provide a kind of method and apparatus of test LAN network speed,
Because the professional and Operating Complexity of professional tool causes inapplicable and domestic consumer in solve the problems, such as prior art.
For achieving the above object, the embodiment of the present invention is adopted the following technical scheme that:
In a first aspect, embodiments providing a kind of method of test LAN network speed, methods described includes:
Receive user accesses the access request of the server that tests the speed by terminal browser, and returns to the terminal browser
Test the speed interface, wherein, the terminal browser is by the server that tests the speed described in router access;
Receive user transmits the instruction of testing the speed of many parts an of test file while input by the interface of testing the speed;
According to the instruction of testing the speed, the packet during packet catcher crawl transmission test file is controlled;
The measurement data per second obtained when capturing the packet according to the packet catcher, calculates the transmission speed of LAN
Rate peak value and transfer rate average.
Second aspect, the embodiment of the present invention also accordingly provides a kind of device of test LAN network speed, described device
Including:
Access request receiver module, for the access request that receive user accesses the server that tests the speed by terminal browser,
And interface of testing the speed is returned to the terminal browser, wherein, the terminal browser passes through the service of testing the speed described in router access
Device;
Test the speed command reception module, and while input by the interface of testing the speed for receive user a test file is transmitted
Many parts of instruction of testing the speed;
Packet capturing module, for according to the instruction of testing the speed, controlling the number during packet catcher crawl transmission test file
According to bag;
Transfer rate computing module, the number that tests the speed per second obtained during for capturing the packet according to the packet catcher
According to the transfer rate peak value and transfer rate average of calculating LAN.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:
In the technical program, when user has the demand of test LAN network speed, sent out to the server that tests the speed by browser
Access request is played, the server respond request that tests the speed returns to an interface of testing the speed, and user can easily to survey by the interface of testing the speed
Fast server sends instruction of testing the speed, and it is simple to operate, convenient to test the speed;Server is tested the speed simultaneously according to the instruction control packet catcher that tests the speed
Measurement data per second is tested, the transfer rate peak value and transmission speed of LAN are finally calculated according to whole measurement datas per second
Rate average, by packet capturing terminal browser and the flow tested the speed between server are counted, and the degree of accuracy of testing the speed is high.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to institute in embodiment of the present invention description
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to present invention enforcement
The content of example and these accompanying drawings obtain other accompanying drawings.
Figure 1A is a kind of schematic flow sheet of the method for test LAN network speed that the embodiment of the present invention one is provided;
Figure 1B is the signal of terminal, router and the annexation between server of testing the speed that the embodiment of the present invention is suitable for
Figure;
Fig. 2 is a kind of schematic flow sheet of the method for test LAN network speed that the embodiment of the present invention two is provided;
Fig. 3 is a kind of configuration diagram of the device of test LAN network speed that the embodiment of the present invention three is provided;
Fig. 4 is a kind of configuration diagram of the device of test LAN network speed that the embodiment of the present invention four is provided.
Specific embodiment
For make present invention solves the technical problem that, the technical scheme that adopts and the technique effect that reaches it is clearer, below
Accompanying drawing will be combined to be described in further detail the technical scheme of the embodiment of the present invention, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Embodiment one
Figure 1A and Figure 1B is refer to, wherein, Figure 1A is a kind of test LAN network speed that the embodiment of the present invention one is provided
The schematic flow sheet of method.Figure 1B is that terminal, router and the connection between server of testing the speed that the embodiment of the present invention is suitable for is closed
The schematic diagram of system.The method of the present embodiment can be performed by server is tested the speed, and can be applicable to user test LAN network speed
Scene, wherein, the server that tests the speed is a kind of special web server, is mainly used in testing network speed.
A kind of method of test LAN network speed that the present embodiment is provided, may include steps of:
S110:Receive user accesses the access request of the server that tests the speed by terminal browser, and returns to terminal browser
Go back to interface of testing the speed.
Exemplary, the terminal browser of user is tested the speed server by router access.When user has test office
During the demand of domain net network speed, agreed address can be input into the address field of terminal browser and initiate access request to the server that tests the speed,
The server that tests the speed is received after the access request, and to the terminal browser interface of testing the speed is returned to, and the interface display that tests the speed is at this
On the current page window of terminal browser, user can by actual demand by this test the speed interface be input into different testing the speed instruct into
Row network speed is tested.
For example, the method that terminal browser obtains interface of testing the speed in the present embodiment, can be with conventional by browser
The method that router setting interface is obtained when arranging router is similar to, and the agreed address being input into the address field of terminal browser can
To be the special address of generally acknowledged address, or vendors dictate, terminal browser can be IE browser, red fox browser
Or the common browser such as Google's browser.
Preferably, the instruction of testing the speed in the present embodiment, can test the speed instruction and download is tested the speed instruction including upload.
Preferably, when need to only test a router to be measured, terminal browser accesses the LAN mouths of browser to be measured, and
The server that tests the speed is directly connected to by the WAN mouths of router to be measured.
Or as shown in Figure 1B, (one is only illustrated in figure) when needing and testing multiple routers to be measured, terminal browser
By router to be measured, and accompanying of connecting with the router to be measured is tested the speed server described in survey router access.For example, terminal
Browser accesses the LAN mouths of browser to be measured, and the WAN mouths connection of browser to be measured is accompanied the one of LAN mouths for surveying router, accompanied
Survey router and the server that tests the speed is connected by another LAN mouth, wherein the effect for accompanying survey router is to support to be treated to multiple
Survey router to be tested.
S120:Receive user transmits the instruction of testing the speed of many parts an of test file while input by interface of testing the speed.
Exemplary, what terminal browser showed test the speed interface is tested the speed button and input including test the speed button, download of upload
Frame, user is input into input frame transmits same many parts of test file, 7 parts of the same test file of such as simultaneous transmission, so
Click on that button is tested the speed in upload or download is tested the speed button afterwards, to the server that tests the speed instruction of testing the speed is sent.
It should be noted that in prior art, during terminal browser transmission file, (network connects typically one stream
Connect) transmission, now the transfer rate of terminal browser to the server that tests the speed is limited, it is impossible to test out the transfer rate peak of LAN
Value.The present embodiment is transmitted using a plurality of stream (multiple network connections), can be by arranging same many parts of the test file of simultaneous transmission
(such as 7 parts), accurately tests out the transfer rate peak value of LAN, because a browser page can only transmit a test text
Part, therefore when 7 parts of simultaneous transmission is arranged, need to open 7 browser pages to transmit.
S130:According to instruction of testing the speed, packet during packet catcher crawl transmission test file is controlled.
Exemplary, the server that tests the speed is received after instruction of testing the speed, the transmission of triggering transmission test file (upload or under
Carry) action, start to transmit test file, while arranging filter condition for packet catcher, control packet catcher starts crawl transmission
Packet during test file.
For example, packet catcher can be the common packet capturing works of increasing income such as firebug, httpwatch or fiddler
Tool.Arrange for packet catcher when uploading test file and upload filter condition, such as:Ip.dst==192.168.15.54 and
Tcp.dstport==8000, represent all packets be flow direction test the speed server (ip.dst==192.168.15.54) and
It is to flow to testing service device to test the speed the packet of program (tcp.dstport==8000).Download test the speed file when for packet capturing work
Tool is arranged downloads filter condition, such as:Ip.src==192.168.15.54 and tcp.srcport==8000, represent
The source of packet is the server and be the number of program (tcp.srcport==8000) of testing the speed from the server that tests the speed of testing the speed
According to bag.
S140:The measurement data per second obtained when capturing packet according to packet catcher, calculates the transfer rate of LAN
Peak value and transfer rate average.
It is exemplary, packet catcher when packet capturing flow is counted, statistics per second once, for example, when by 7 network connections
During 7 parts of test files of simultaneous transmission, packet catcher counts delivery flow rate of each network connection within each second, by 7 networks
Connect corresponding data to be added, you can obtain the measurement data per second during transmission test file, after end of test file to be transmitted,
Whole measurement data per second according to obtaining calculates the transfer rate peak value and transfer rate average of LAN.Transfer rate peak
The circular of value and transfer rate average, the embodiment of the present invention two gives optional embodiment, and here is not in addition
Repeat.
The method of the present embodiment, can Validity Test go out in LAN CableModem routers, wireless router or lead the way
The network speed of the network terminal products such as the amalgamation Set Top Box by device function.
To sum up, in the technical program, the server receive user that tests the speed accesses the server that tests the speed by terminal browser
Access request, and interface of testing the speed is returned to terminal browser, receive user transmits a test while input by interface of testing the speed
The instruction of testing the speed of many parts of file, according to instruction of testing the speed, controls packet during packet catcher crawl transmission test file, according to grabbing
The measurement data per second obtained during job contract tool crawl packet, calculates the transfer rate peak value and transfer rate average of LAN.
User easily can send instruction of testing the speed by the interface of testing the speed on terminal browser to the server that tests the speed, test the speed it is simple to operate,
It is convenient, terminal browser and the flow tested the speed between server are counted by server packet capturing of testing the speed, the degree of accuracy of testing the speed is high.
Embodiment two
Fig. 2 is refer to, it is that a kind of flow process of the method for test LAN network speed that the embodiment of the present invention two is provided is illustrated
Figure.The present embodiment differs primarily in that with embodiment one, increased transfer rate peak value on the basis of embodiment one and
Transfer rate average is transferred to terminal, so that terminal is by test the speed interface display transfer rate peak value and the biography on terminal browser
The content of defeated speed average, and further provide the optional embodiment of S140 in embodiment one.
A kind of method of test LAN network speed that the present embodiment is provided, may include steps of:
S210:Receive user accesses the access request of the server that tests the speed by terminal browser, and returns to terminal browser
Go back to interface of testing the speed.
S220:Receive user transmits the instruction of testing the speed of many parts an of test file while input by interface of testing the speed.
S230:According to instruction of testing the speed, packet during packet catcher crawl transmission test file is controlled.
S240:The measurement data per second obtained when capturing packet according to packet catcher, calculates the transfer rate of LAN
Peak value and transfer rate average.
Optionally, S240 can include two steps of following S241 and S242, wherein:
S241:In the whole measurement data per second obtained when capturing message from packet catcher, the maximum conduct of numerical value is chosen
Transfer rate peak value.
For example, 7 parts of the same test file of simultaneous transmission, 10 seconds used times, then obtains 10 measurement datas per second, from
A maximum data of numerical value, as the transfer rate peak value of LAN are chosen in 10 data.
S242:According to the whole measurement datas per second of the size of default statistic algorithm and test file statistics, transmitted
Speed average.
Exemplary, to transmitting different size of test file, the transmission speed of LAN is calculated using different methods
Rate average.
Preferably, above-mentioned default statistic algorithm can be:
If the size of test file is less than predetermined threshold value, the first average of all measurement datas per second is calculated, will be complete
Numerical value is all filtered less than the measurement data per second of the first average in portion's measurement data per second, calculates remaining measurement data per second
Second average, using the second average as transfer rate average.For example, if the size of test file is less than 100,000,000, transmission time
Shorter is to obtain within 6 seconds corresponding measurement data per second per second totally 6 data, first average of this 6 data is calculated, by this 6
Beginning and end is all filtered out less than the data of first average in data, for example, filter out and start first two seconds with last second
3 data, continue the second average for calculating remaining 3 data, using second average as the transfer rate average of LAN.
If the size of test file is not less than predetermined threshold value, will transmission beginning 1 second and transmission ending 1 second it is corresponding every
Second measurement data is all filtered, and the 3rd average of remaining measurement data per second is calculated, using the 3rd average as transfer rate average.
For example, if the size of test file is not less than 100,000,000, transmission time obtains measurement data per second totally 15 number in more a length of 15 seconds
According to, only need to will start the previous second and last second corresponding 2 data are filtered out, the 3rd average of remaining 13 data is calculated,
Using the 3rd average as the transfer rate average of LAN.
S250:Transfer rate peak value and transfer rate average are transferred into terminal, so that terminal is by terminal browser
Test the speed interface display transfer rate peak value and transfer rate average.
Exemplary, the server that tests the speed is calculated after the transfer rate average of LAN, and result of calculation is transferred into terminal,
Result of calculation will be displayed in testing the speed on interface on terminal browser.
To sum up, in the technical program, the server receive user that tests the speed accesses the server that tests the speed by terminal browser
Access request, and interface of testing the speed is returned to terminal browser, receive user transmits a test while input by interface of testing the speed
The instruction of testing the speed of many parts of file, according to instruction of testing the speed, controls packet during packet catcher crawl transmission test file, according to grabbing
The measurement data per second obtained during job contract tool crawl packet, by default statistic algorithm the transfer rate peak value of LAN is calculated
With transfer rate average, and result of calculation is transferred into terminal includes testing the speed on interface.User is by terminal browser
Interface of testing the speed easily can send instruction of testing the speed to the server that tests the speed, and it is simple to operate, convenient to test the speed, by server packet capturing of testing the speed
Statistics terminal browser and the flow tested the speed between server, the degree of accuracy of testing the speed is high.
Hereinafter provide a kind of embodiment of the device of test LAN network speed, one kind test LAN for the embodiment of the present invention
The device of network speed belongs to same inventive concept with a kind of above-mentioned method of test LAN network speed, in the embodiment of device not
The detail content of detailed description, refer to the embodiment of said method.
Embodiment three
Fig. 3 is refer to, it is that a kind of framework of the device of test LAN network speed that the embodiment of the present invention three is provided is illustrated
Figure.
A kind of device 300 of test LAN network speed that the present embodiment is provided, can include following content:
Access request receiver module 310, please by the access that terminal browser accesses the server that tests the speed for receive user
Ask, and return to terminal browser and test the speed interface, wherein, terminal browser is tested the speed server by router access.
The command reception module that tests the speed 320, while input by interface of testing the speed for receive user a test file is transmitted
Many parts of instruction of testing the speed.
Packet capturing module, for according to instruction 330 of testing the speed, controlling packet during packet catcher crawl transmission test file.
Transfer rate computing module 340, the measurement data per second obtained during for capturing packet according to packet catcher, meter
Calculate the transfer rate peak value and transfer rate average of LAN.
Preferably, the command reception module that tests the speed 320, specifically for receive user by testing the speed of being provided of interface of testing the speed by
Button and input frame transmit the instruction of testing the speed of many parts an of test file while input.
Preferably, above-mentioned terminal browser is tested the speed server by router access, including:
Terminal browser is tested the speed server by router access to be measured;Or
Terminal browser is by router to be measured, and accompanying of connect with router to be measured surveys the router access service of testing the speed
Device.
Preferably, above-mentioned instruction of testing the speed includes that instruction is tested the speed in upload and download is tested the speed instruction.
To sum up, in the technical program, the server receive user that tests the speed accesses the server that tests the speed by terminal browser
Access request, and interface of testing the speed is returned to terminal browser, receive user transmits a test while input by interface of testing the speed
The instruction of testing the speed of many parts of file, according to instruction of testing the speed, controls packet during packet catcher crawl transmission test file, according to grabbing
The measurement data per second obtained during job contract tool crawl packet, calculates the transfer rate peak value and transfer rate average of LAN.
User easily can send instruction of testing the speed by the interface of testing the speed on terminal browser to the server that tests the speed, test the speed it is simple to operate,
It is convenient, terminal browser and the flow tested the speed between server are counted by server packet capturing of testing the speed, the degree of accuracy of testing the speed is high.
Example IV
Fig. 4 is refer to, it is that a kind of framework of the device of test LAN network speed that the embodiment of the present invention four is provided is illustrated
Figure.The present embodiment differs primarily in that with embodiment three, and transfer rate transport module is increased on the basis of embodiment three
450, and further provide the optional embodiment of transfer rate computing module in embodiment three.
A kind of device 400 of test LAN network speed that the present embodiment is provided, can include following content:
Access request receiver module 410, please by the access that terminal browser accesses the server that tests the speed for receive user
Ask, and return to terminal browser and test the speed interface, wherein, terminal browser is tested the speed server by router access.
The command reception module that tests the speed 420, while input by interface of testing the speed for receive user a test file is transmitted
Many parts of instruction of testing the speed.
Packet capturing module, for according to instruction 430 of testing the speed, controlling packet during packet catcher crawl transmission test file.
Transfer rate computing module 440, the measurement data per second obtained during for capturing packet according to packet catcher, meter
Calculate the transfer rate peak value and transfer rate average of LAN.
Transfer rate transport module 450, for transfer rate peak value and transfer rate average to be transferred into terminal, so that eventually
End is by test the speed interface display transfer rate peak value and the transfer rate average on terminal browser.
Optionally, transfer rate computing module 440, can include transfer rate peak value obtaining unit 441 and transfer rate
Average obtaining unit 442, wherein:
Transfer rate peak value obtaining unit 441, the whole number that tests the speed per second obtained during for capturing message from packet catcher
According in, choose numerical value it is maximum as transfer rate peak value.
Transfer rate average obtaining unit 442, for complete according to the size of default statistic algorithm and test file statistics
Portion's measurement data per second, obtains transfer rate average.
Preferably, above-mentioned default statistic algorithm can be:
If the size of test file is less than predetermined threshold value, the first average of all measurement datas per second is calculated, will be complete
Numerical value is all filtered less than the measurement data per second of the first average in portion's measurement data per second, calculates remaining measurement data per second
Second average, using the second average as transfer rate average;
If the size of test file is not less than predetermined threshold value, will transmission beginning 1 second and transmission ending 1 second it is corresponding every
Second measurement data is all filtered, and the 3rd average of remaining measurement data per second is calculated, using the 3rd average as transfer rate average.
To sum up, in the technical program, the server receive user that tests the speed accesses the server that tests the speed by terminal browser
Access request, and interface of testing the speed is returned to terminal browser, receive user transmits a test while input by interface of testing the speed
The instruction of testing the speed of many parts of file, according to instruction of testing the speed, controls packet during packet catcher crawl transmission test file, according to grabbing
The measurement data per second obtained during job contract tool crawl packet, by default statistic algorithm the transfer rate peak value of LAN is calculated
With transfer rate average, and result of calculation is transferred into terminal includes testing the speed on interface.User is by terminal browser
Interface of testing the speed easily can send instruction of testing the speed to the server that tests the speed, and it is simple to operate, convenient to test the speed, by server packet capturing of testing the speed
Statistics terminal browser and the flow tested the speed between server, the degree of accuracy of testing the speed is high.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (14)
1. it is a kind of test LAN network speed method, it is characterised in that methods described includes:
Receive user accesses the access request of the server that tests the speed by terminal browser, and tests the speed to terminal browser return
Interface, wherein, the terminal browser is by the server that tests the speed described in router access;
Receive user transmits the instruction of testing the speed of many parts an of test file while input by the interface of testing the speed;
According to the instruction of testing the speed, the packet during packet catcher crawl transmission test file is controlled;
The measurement data per second obtained when capturing the packet according to the packet catcher, calculates the transfer rate peak of LAN
Value and transfer rate average.
2. the method for claim 1, it is characterised in that the transfer rate peak value and transfer rate of the calculating LAN
After average, also include:
The transfer rate peak value and transfer rate average are transferred into terminal, so that the terminal passes through the terminal browser
On test the speed transfer rate peak value described in interface display and transfer rate average.
3. the method for claim 1, it is characterised in that it is described obtain when capturing message according to the packet catcher it is every
Second measurement data, calculates the transfer rate peak value and transfer rate average of LAN, including:
In the whole measurement data per second obtained when capturing message from the packet catcher, the maximum conduct transmission speed of numerical value is chosen
Rate peak value;
Whole measurement data per second is counted according to the size of default statistic algorithm and the test file, transmission speed is obtained
Rate average.
4. method as claimed in claim 3, it is characterised in that the default statistic algorithm is:
If the size of the test file is less than predetermined threshold value, the first average of whole measurement data per second is calculated,
Numerical value in whole measurement data per second is all filtered less than the measurement data per second of first average, calculates remaining every
Second average of second measurement data, using second average as transfer rate average;
If the size of the test file is not less than predetermined threshold value, will transmission beginning 1 second and transmission ending 1 second it is corresponding every
Second measurement data is all filtered, and the 3rd average of remaining measurement data per second is calculated, using the 3rd average as transfer rate
Average.
5. the method for claim 1, it is characterised in that while the receive user is input into by the interface of testing the speed
The instruction of testing the speed of many parts an of test file is transmitted, including:
Receive user transmits a test file while input by test the speed button and the input frame that the interface of testing the speed is provided
Many parts of instruction of testing the speed.
6. the method for claim 1, it is characterised in that the terminal browser is by the clothes that test the speed described in router access
Business device, including:
The terminal browser is by the server that tests the speed described in router access to be measured;Or
The terminal browser by router to be measured, and connect with the router to be measured accompany survey described in survey router access
Fast server.
7. the method as described in any one of claim 1-6, it is characterised in that the instruction of testing the speed include upload test the speed instruction and
Download is tested the speed instruction.
8. it is a kind of test LAN network speed device, it is characterised in that described device includes:
Access request receiver module, for the access request that receive user accesses the server that tests the speed by terminal browser, and to
The terminal browser returns to interface of testing the speed, wherein, the terminal browser is by the server that tests the speed described in router access;
Test the speed command reception module, and while input by the interface of testing the speed for receive user many parts an of test file is transmitted
Instruction of testing the speed;
Packet capturing module, for according to the instruction of testing the speed, controlling the packet during packet catcher crawl transmission test file;
Transfer rate computing module, the measurement data per second obtained during for capturing the packet according to the packet catcher,
Calculate the transfer rate peak value and transfer rate average of LAN.
9. device as claimed in claim 8, it is characterised in that described device also includes:
Transfer rate transport module, for the transfer rate peak value and transfer rate average to be transferred into terminal, so that described
Terminal is by test the speed transfer rate peak value described in interface display and the transfer rate average on the terminal browser.
10. device as claimed in claim 8, it is characterised in that the packet capturing module, including:
Transfer rate peak value obtaining unit, the whole measurement data per second obtained during for capturing message from the packet catcher
In, choose numerical value it is maximum as transfer rate peak value;
Transfer rate average obtaining unit, for described complete according to the size of default statistic algorithm and test file statistics
Portion's measurement data per second, obtains transfer rate average.
11. devices as claimed in claim 10, it is characterised in that the default statistic algorithm is:
If the size of the test file is less than predetermined threshold value, the first average of whole measurement data per second is calculated,
Numerical value in whole measurement data per second is all filtered less than the measurement data per second of first average, calculates remaining every
Second average of second measurement data, using second average as transfer rate average;
If the size of the test file is not less than predetermined threshold value, will transmission beginning 1 second and transmission ending 1 second it is corresponding every
Second measurement data is all filtered, and the 3rd average of remaining measurement data per second is calculated, using the 3rd average as transfer rate
Average.
12. devices as claimed in claim 8, it is characterised in that the command reception module that tests the speed, specifically for:
Receive user transmits a test file while input by test the speed button and the input frame that the interface of testing the speed is provided
Many parts of instruction of testing the speed.
13. devices as claimed in claim 8, it is characterised in that the terminal browser described in router access by testing the speed
Server, including:
The terminal browser is by the server that tests the speed described in router access to be measured;Or
The terminal browser by router to be measured, and connect with the router to be measured accompany survey described in survey router access
Fast server.
14. devices as described in any one of claim 8-13, it is characterised in that the instruction of testing the speed includes that upload is tested the speed instruction
Test the speed instruction with download.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121748.2A CN106656665B (en) | 2016-12-08 | 2016-12-08 | Method and device for testing network speed of local area network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121748.2A CN106656665B (en) | 2016-12-08 | 2016-12-08 | Method and device for testing network speed of local area network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656665A true CN106656665A (en) | 2017-05-10 |
CN106656665B CN106656665B (en) | 2020-09-22 |
Family
ID=58818780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611121748.2A Active CN106656665B (en) | 2016-12-08 | 2016-12-08 | Method and device for testing network speed of local area network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656665B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322360A (en) * | 2018-01-24 | 2018-07-24 | 上海康斐信息技术有限公司 | A kind of method to be tested the speed by router network, system and equipment |
CN108833525A (en) * | 2018-06-07 | 2018-11-16 | 国家计算机网络与信息安全管理中心 | A kind of auditing method of the HTTPS flow content based on Fiddler |
CN110224884A (en) * | 2019-05-31 | 2019-09-10 | 广州鑫梦达信息科技有限公司 | Wireless router networks access velocity-measuring system |
CN110366201A (en) * | 2019-08-20 | 2019-10-22 | 深圳市凯木金科技有限公司 | The test method and test macro of WIFI chip transmission rate |
CN114760228A (en) * | 2020-12-25 | 2022-07-15 | 深圳Tcl新技术有限公司 | Network speed testing method and device, intelligent equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190483A1 (en) * | 2008-01-25 | 2009-07-30 | Inventec Corporation | Network transmission system and a testing method thereof |
CN103001835A (en) * | 2012-12-29 | 2013-03-27 | 电信科学技术第一研究所 | Network bandwidth test method and system based on data transmission |
CN103684926A (en) * | 2013-12-23 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method and device for testing network speed of local area network |
-
2016
- 2016-12-08 CN CN201611121748.2A patent/CN106656665B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190483A1 (en) * | 2008-01-25 | 2009-07-30 | Inventec Corporation | Network transmission system and a testing method thereof |
CN103001835A (en) * | 2012-12-29 | 2013-03-27 | 电信科学技术第一研究所 | Network bandwidth test method and system based on data transmission |
CN103684926A (en) * | 2013-12-23 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Method and device for testing network speed of local area network |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322360A (en) * | 2018-01-24 | 2018-07-24 | 上海康斐信息技术有限公司 | A kind of method to be tested the speed by router network, system and equipment |
CN108833525A (en) * | 2018-06-07 | 2018-11-16 | 国家计算机网络与信息安全管理中心 | A kind of auditing method of the HTTPS flow content based on Fiddler |
CN108833525B (en) * | 2018-06-07 | 2021-06-25 | 国家计算机网络与信息安全管理中心 | Fiddler-based HTTPS flow content auditing method |
CN110224884A (en) * | 2019-05-31 | 2019-09-10 | 广州鑫梦达信息科技有限公司 | Wireless router networks access velocity-measuring system |
CN110366201A (en) * | 2019-08-20 | 2019-10-22 | 深圳市凯木金科技有限公司 | The test method and test macro of WIFI chip transmission rate |
CN114760228A (en) * | 2020-12-25 | 2022-07-15 | 深圳Tcl新技术有限公司 | Network speed testing method and device, intelligent equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106656665B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656665A (en) | Local area network speed testing method and device | |
EP4082174B1 (en) | System and method for estimation of quality of experience (qoe) for video streaming | |
EP3823342B1 (en) | Method and apparatus for providing performance and usage information for a wireless local area network | |
US20140064136A1 (en) | Communication system | |
Wamser et al. | Traffic characterization of a residential wireless Internet access | |
JP5673805B2 (en) | Network device, communication system, abnormal traffic detection method and program | |
CN106851341B (en) | For measuring the method and mobile terminal of network video delivery quality | |
CN106302017B (en) | The small capaciated flow network velocity-measuring system of high concurrent and method | |
CN104202220A (en) | Pressure test method and pressure test device | |
CN105024872A (en) | Network performance test method and device | |
CN110535888A (en) | Port Scan Attacks detection method and relevant apparatus | |
US9509581B2 (en) | Methods for monitoring data traffic in a gateway device | |
CN107222403A (en) | A kind of data transmission method, system and electronic equipment | |
CN110169134A (en) | The detection method and device of wireless quality support video tastes | |
CN1860734A (en) | Method and apparatus for network throughput measurement | |
CN105162780B (en) | A kind of url filtering address setting method and system | |
CN114285760A (en) | Webpage access quality evaluation method and device | |
JP6418638B2 (en) | Communication identification method and apparatus | |
JP6554011B2 (en) | Timeout time setting device and timeout time setting method | |
CN204836205U (en) | Network monitoring system based on cloud calculates | |
JP2018032983A (en) | Terminal device and communication monitoring method | |
CN104349337B (en) | Acquisition methods, device and the computational methods and device of cell networking speed | |
WO2021135466A1 (en) | Method for intelligently acquiring baseband chip data, apparatus, device and storage medium | |
CN109600320A (en) | Congestion processing method and equipment, data center network | |
JP7272189B2 (en) | Information processing device, wireless communication system, information processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |