CN105050133A - Method and device for detecting internet speed under Wi-Fi hotspot - Google Patents

Method and device for detecting internet speed under Wi-Fi hotspot Download PDF

Info

Publication number
CN105050133A
CN105050133A CN201510466674.5A CN201510466674A CN105050133A CN 105050133 A CN105050133 A CN 105050133A CN 201510466674 A CN201510466674 A CN 201510466674A CN 105050133 A CN105050133 A CN 105050133A
Authority
CN
China
Prior art keywords
hotspot
focus
network speed
network
access
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
CN201510466674.5A
Other languages
Chinese (zh)
Other versions
CN105050133B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510466674.5A priority Critical patent/CN105050133B/en
Publication of CN105050133A publication Critical patent/CN105050133A/en
Application granted granted Critical
Publication of CN105050133B publication Critical patent/CN105050133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method and device for detecting internet speed under a Wi-Fi hotspot. The method comprises the following steps: detecting a Wi-Fi signal, acquiring the detected Wi-Fi hotspot according to the Wi-Fi signal, selecting the detected Wi-Fi hotspot to access; receiving an internet speed measurement instruction, sending an internet speed measurement request to a speed measurement server according to the internet speed measurement instruction, wherein the internet speed measurement request comprises an IP address of the accessed Wi-Fi hotspot; receiving a redirection request returned by the speed measurement server, wherein the redirection request comprises the IP address of a content distribution server corresponding to the IP address of the accessed Wi-Fi hotspot; sending a file downloading request to the IP address of the content distribution server, receiving a test file returned by the content distribution server, and then generating an internet speed quality parameter corresponding to a hotspot identification of the accessed Wi-Fi hotspot. The invention further discloses a device for detecting the internet speed under the Wi-Fi hotspot. Through the adoption of the method and device for detecting the internet speed under the Wi-Fi hotspot, the accurate internet speed information can be measured.

Description

Detect method and the device of the network speed under Wi-Fi Hotspot
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and device of the network speed detected under Wi-Fi Hotspot.
Background technology
In conventional art, may there is the wireless coverage of multiple Wi-Fi Hotspot in same panel region, when the intelligent terminal of user enters this region or starts shooting in this region, then can detect neighbouring Wi-Fi Hotspot.User is in order to select network quality more Wi-Fi Hotspot access, the network software that tests the speed can be used after access Wi-Fi Hotspot to be downloaded specific file measured average network speed by the test the speed server of software of access, and user can according to the network quality measuring the average network speed that obtain and judge the Wi-Fi Hotspot of current access.
But, inventor finds after deliberation, the network speed measuring module that network in conventional art tests the speed in software or focus management software is when carrying out network and testing the speed, the intelligent terminal no matter carrying out testing the speed is positioned at where, all can access same server and calculate network speed by downloading specific file, and be in the intelligent terminal of zones of different (such as with this server, be in and the intelligent terminal of server region province relatively far apart) and server between the NE quantity be connected through more, thus cause network speed to decline obviously, thus the network speed of cause network to test the speed Wi-Fi Hotspot that software records is inaccurate.
Summary of the invention
Based on this, for the network solved in the above-mentioned conventional art mentioned tests the speed the inaccurate technical problem of network speed of Wi-Fi Hotspot that software records, spy provides a kind of method of the network speed detected under Wi-Fi Hotspot.
Detect a method for the network speed under Wi-Fi Hotspot, comprising:
Detect Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, select the Wi-Fi Hotspot access detected;
Receive network speed measurement instruction, send network speed measure request according to described network speed measurement instruction to the server that tests the speed, the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access;
Receive the redirect request that the server that tests the speed returns, in described redirect request, comprise the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access;
IP address to described content distributing server sends file download request, receives the test file that described content distributing server returns, and generates and identifies corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
In addition, for the network solved in the above-mentioned conventional art mentioned tests the speed the inaccurate technical problem of network speed of Wi-Fi Hotspot that software records, spy provides a kind of device connecting Wi-Fi Hotspot.
Detect a device for the network speed under Wi-Fi Hotspot, comprising:
Focus access module, for detecting Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, selects the Wi-Fi Hotspot access detected;
Network speed measurement instruction receiver module, for receiving network speed measurement instruction, sending network speed measure request according to described network speed measurement instruction to the server that tests the speed, the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access;
CDN node acquisition module, for receiving the redirect request that the server that tests the speed returns, comprises the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access in described redirect request;
Speed measuring module, sends file download request for the IP address to described content distributing server, receives the test file that described content distributing server returns, generate and identify corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
Implement the embodiment of the present invention, following beneficial effect will be had:
After have employed the method and apparatus of the network speed under above-mentioned detection Wi-Fi Hotspot, the network speed measurement request of the software initiation of testing the speed on smart mobile phone is not direct downloads from the server that tests the speed, but downloaded by the more real CDN server of network state, thus make the network speed that records more accurate.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Wherein:
Fig. 1 is the flow chart of the method for a kind of network speed detected under Wi-Fi Hotspot in an embodiment;
Fig. 2 is the process schematic accessing Wi-Fi Hotspot in an embodiment;
Fig. 3 shows the Wi-Fi Hotspot interface schematic diagram detected in an embodiment;
Fig. 4 is the interface schematic diagram showing the network quality parameters of the Wi-Fi Hotspot of selection in an embodiment;
Fig. 5 is the schematic diagram of the device of a kind of network speed detected under Wi-Fi Hotspot in an embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For the network solved in the above-mentioned conventional art mentioned tests the speed the inaccurate technical problem of network speed of Wi-Fi Hotspot that software records, in one embodiment, spy proposes a kind of method of the network speed detected under Wi-Fi Hotspot, the method can be dependent on computer program and realizes, and can run in the computer system based on von Neumann system.This computer system can be the computer equipment that smart mobile phone, notebook computer, panel computer etc. are provided with wireless network card or Wi-Fi chip.This computer program can be that Wi-Fi connection management program, focus hypervisor or network on the intelligent terminal such as smart mobile phone or panel computer tests the speed the computer programs such as program.
Concrete, as shown in Figure 1, the method comprises:
Step S102: detect Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, selects the Wi-Fi Hotspot access detected.
If the Wi-Fi on the intelligent terminal of user connects be set to opening, then this intelligent terminal is then in the detected state to Wi-Fi signal, Wi-Fi connection management program or focus hypervisor get the focus mark of the Wi-Fi signal that Wi-Fi chip detection arrives by the driver calling intelligent terminal, such as service set is (English: ServiceSetIdentifier, be called for short: SSID) and physical address (English: MediaAccessControl, abbreviation: MAC) address.Identify as focus in conjunction with SSID and MAC, now can set up index according to SSID, and then determine concrete Wi-Fi Hotspot according to MAC.
The wireless network that may there is multiple Wi-Fi Hotspot due to same region covers, therefore, Wi-Fi connection management program on intelligent terminal or focus hypervisor can detect the Wi-Fi signal of multiple channel, the corresponding Wi-Fi Hotspot of the Wi-Fi signal of each channel, and the SSID broadcasted in the Wi-Fi signal of each channel is Wi-Fi Hotspot corresponding to the Wi-Fi signal of this channel.In the region that the wireless network of multiple Wi-Fi Hotspot covers, Wi-Fi connection management program or focus hypervisor can obtain the list of the focus mark of multiple Wi-Fi Hotspot by detecting Wi-Fi signal.
Accordingly, Wi-Fi connection management program on intelligent terminal or focus hypervisor, while the driver by intelligent terminal gets the focus mark of the Wi-Fi signal that Wi-Fi chip detection arrives, also get the signal strength signal intensity of the Wi-Fi signal that Wi-Fi chip detection arrives by the driver of intelligent terminal.
Step S104: receive network speed measurement instruction, sends network speed according to described network speed measurement instruction to the server that tests the speed and measures request, and the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access.
Step S106: receive the redirect request that the server that tests the speed returns, comprise the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access in described redirect request.
After access Wi-Fi Hotspot, the smart mobile phone that user holds is namely by the Wi-Fi Hotspot accesses network of access, and the network speed Survey Software on smart mobile phone or the focus management software with network speed measurement function can be measured network speed.User can manually input network speed measurement instruction, also after access Wi-Fi Hotspot, automatically can generate network speed measurement instruction by smart mobile phone.
The server that tests the speed is the server tested the speed for network of network speed Survey Software or the focus management software with network speed measurement function.Network speed Survey Software in conventional art or then send network speed to the server that tests the speed with the focus management software of network speed measurement function after receiving network speed measurement instruction and measure request, the server that tests the speed returns sample file or test file to smart mobile phone, and smart mobile phone downloads the duration of test file by record and the size of test file calculates network speed.
And in the present embodiment, the server that tests the speed directly does not return the file that tests the speed, but the network speed request of measuring is redirected to content distributing server (English: ContentDeliveryNetwork, the abbreviation: CDN) corresponding with accessing Wi-Fi Hotspot region.Concrete, the Wi-Fi Hotspot accessed by this smart mobile phone is forwarded to the server that tests the speed by the data message that smart mobile phone measures request to the network speed that the server that tests the speed is initiated.The Wi-Fi Hotspot of access is provided with outer net IP usually, and has NAT translation function.The intelligent terminal be in the WLAN (wireless local area network) of this Wi-Fi Hotspot establishment only has Intranet IP, the source IP address that its network speed sent is measured in the data message of request will be replaced by the outer net IP of Wi-Fi Hotspot, then forward it to by Wi-Fi Hotspot the server that tests the speed.
Test the speed server after receiving this network speed and measuring request, and the source IP address measured by resolving network speed in the data message of request can obtain the outer net IP of the Wi-Fi Hotspot of the WLAN (wireless local area network) residing for smart mobile phone.Then by the IP address of the CDN server of the IP section correspondence belonging to this outer net of inquiry IP, then the network speed request of measuring is redirected to the CDN server place inquired about and obtain.The CDN server of the IP section correspondence belonging to outer net IP of Wi-Fi Hotspot Wi-Fi Hotspot that is usual and this outer net IP has the network connection state of very high-quality, and the Internet Transmission between this Wi-Fi Hotspot and this CDN server does not have more loss.
That is, what be different from conventional art in the present embodiment is, be not directly return to smart mobile phone by the server that tests the speed for measuring test file or the sample file of network speed, namely smart mobile phone is not directly download test file by the server that tests the speed, but the loss of going logical reach nearer preferably CDN server download test file, therefore, even if smart mobile phone with test the speed that geographically span is far away for server, its network element comprised on connecting is more, still can obtain real Internet Transmission state more accurately.
Step S108: the IP address to described content distributing server sends file download request, receives the test file that described content distributing server returns, and generates and identifies corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
In the present embodiment, network speed mass parameter comprises network speed peak value and/or average network speed.Generate step identify corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access to comprise: the data volume detecting the test file that the content distributing server that receives returns every prefixed time interval, according to the data volume received and calculating network speed peak value of the described time interval and/or average network speed.
Network speed peak value is the maximum of Internet Transmission.Average network speed is the mean value of the network speed in the whole process downloading test file.Such as, the data volume of the test file downloaded in this 10ms interval can be obtained every 10ms, by can obtain the network speed in each sampling interval divided by 10ms, the maximum finding out the network speed of all sampling intervals is network speed peak value, and network speed peak value can react the overall bandwidth capacity of this Wi-Fi Hotspot.
Preferably, the bandwidth specifications parameter that threshold interval described in network speed peak value is corresponding can be searched.Such as, obtain if test the speed network speed peak value between 512kbps to 1mbps time, then corresponding bandwidth specifications parameter is the bandwidth specifications parameter of 8M broadband network; Obtain if test the speed network speed peak value between 6mbps to 12.5mbps time, then corresponding bandwidth specifications parameter is the bandwidth specifications parameter of 100M broadband network.
Measure average network speed and then obtain downloading duration, then by the data volume size of test file can be obtained average network speed divided by this duration by recording the initial time stamp starting to download test file with the end time stamp downloaded when test file completes.
In one embodiment, smart mobile phone is after testing the network speed peak value of the Wi-Fi Hotspot that it accesses, on average network speed or conversion obtain the network quality parameters such as bandwidth specifications parameter, also above-mentioned network quality parameters can be uploaded to focus management server to share, thus make other-end before this Wi-Fi Hotspot of access, namely recognize the information of the network quality of this Wi-Fi Hotspot by access focus management server.
Concrete, the focus of the Wi-Fi Hotspot according to described access also can identify and identify corresponding network speed mass parameter with described focus after identifying the step of corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access and be uploaded to focus management server by generation, identifies corresponding network quality parameters store by described focus management server generation with described focus.
Further, also comprise after detecting the step of Wi-Fi signal: the signal strength signal intensity obtaining the Wi-Fi Hotspot detected.
Select the step of the Wi-Fi Hotspot access detected then can as shown in Figure 2:
Step S202: according to described focus mark generating network mass parameter inquiry request, described network quality parameters inquiry request is sent to focus management server.
Step S204: what receive that described focus management server returns identifies corresponding network quality parameters with described focus.
Step S206: select corresponding focus to identify corresponding Wi-Fi Hotspot access according to described network quality parameters and described signal strength signal intensity.
As shown in Figure 3, receive described focus management server return identify corresponding network quality parameters with described focus after, in the Wi-Fi Hotspot list detected shown, corresponding position can be identified to the focus of Wi-Fi Hotspot and show corresponding network quality parameters, and according to the size of network quality parameters with good and badly to sort to the Wi-Fi Hotspot list detected, and be automatically connected to focus evaluation of estimate preferably Wi-Fi Hotspot access.Access failure then retry access, if after the number of times of unsuccessfully specifying at retry, still access failure, then select Wi-Fi Hotspot to access in turn according to the size order of network quality parameters in Wi-Fi Hotspot list.
Optionally, as shown in Figure 4, user also can select Wi-Fi Hotspot to access voluntarily in the Wi-Fi Hotspot list shown, receiving after Wi-Fi Hotspot chooses instruction, can prompting frame be ejected, the details of the network quality parameters of this Wi-Fi Hotspot in prompting frame, can be included, and point out user whether to switch Wi-Fi Hotspot access, if user's choosing is, then the Wi-Fi Hotspot chosen of access user.
Further, by the focus of the Wi-Fi Hotspot according to described access mark with identify with described focus the step that corresponding network speed mass parameter is uploaded to focus management server and also comprise:
The timestamp notice focus management server of described network speed information will be generated, and identify the corresponding network quality parameters in preset time period by described focus management server generation with the focus of the Wi-Fi Hotspot of described access.
That is, after intelligent terminal A accesses certain Wi-Fi Hotspot, the network speed information measured by network speed Survey Software is also corresponding with the time period, such as, if smart mobile phone is at 3 points, 9 and 12 receive 3 network speed measurement instructions respectively, then by generation respectively with 3 points, 9 and 12 corresponding network speed mass parameters, after its upload server, server is not that direct calculating mean value stores, but still store network speed information respectively according to the time period, another accesses the intelligent terminal B of this Wi-Fi Hotspot accordingly, also 3 network speed measurement instructions can respectively be received and at 5 at 8, then network speed mass parameter corresponding with and respectively will be generated at 5 at 8, after its upload server, server then supplements the network speed information of this Wi-Fi Hotspot in the time period of and at 5 at 8.
Further, step S202, also comprises the step that described network quality parameters inquiry request is sent to focus management server:
Obtain system timestamp, described system timestamp is notified described focus management server.
Step S204, what receive that described focus management server returns also comprises with the step that described focus identifies corresponding network quality parameters:
What receive that described focus management server returns identifies corresponding with described focus, and the network quality parameters under the time period of presetting belonging to described system timestamp.
Such as, if the system timestamp of intelligent terminal when selecting Wi-Fi Hotspot is 6: 30, then can be added in network quality parameters inquiry request and be sent to server, after server receives this focus quality inquiry request, then can extract system timestamp 6: 30, because it belongs to the default time period of 6 o'clock to 7 o'clock, the network quality parameters that therefore time period of 6 o'clock to 7 o'clock of whois lookup storage is corresponding is handed down to intelligent terminal.
In another embodiment, intelligent terminal also can not add system timestamp in network quality parameters inquiry request, and determines the corresponding time period by server according to the time of the network quality parameters inquiry request received.
Because the network quality parameters of Wi-Fi Hotspot is relevant with the terminal quantity of access, the terminal quantity of access is more, then drop rate is higher, and average network speed is lower; On the contrary, the terminal quantity of access is fewer, then drop rate is lower, and average network speed is higher.And the quantity accessed terminal of Wi-Fi Hotspot within the time also often in time section distribution and change.Such as, for the public Wi-Fi Hotspot of bus stop, the quantity of the intelligent terminal accessed in 1:00 AM to often less the time period of 7 in the morning, and therefore, the drop rate within this time period is often lower, and average network speed is often higher; And in the morning in time period of 7 o'clock to 10 o'clock, due to working peak period, the quantity often angle of the intelligent terminal of access, therefore, the drop rate within this time period is often higher, and average network speed is often lower.Focus mass parameter is added up respectively as statistics dimension in the manner described above by time division section, the network quality parameters being downloaded this Wi-Fi Hotspot obtained at time period in morning intelligent terminal by server can be made higher, and in the morning in time period of 7 o'clock to 10 o'clock intelligent terminal downloaded the network quality parameters of this Wi-Fi Hotspot obtained by server lower, thus make intelligent terminal at always access network mass parameter preferably Wi-Fi Hotspot of different time periods, discharge the instable impact of the access to netwoks quality of Wi-Fi Hotspot that the terminal access quantity along with Annual distribution causes, for intelligent terminal, it is then made to access always access network quality preferably Wi-Fi Hotspot, thus improve the access to netwoks quality of intelligent terminal.
In one embodiment, intelligent terminal also can over time the time period passing switch Wi-Fi Hotspot connect, concrete, intelligent terminal also can the detection system time, when system time time of origin section switches, detect Wi-Fi signal, the focus mark of the Wi-Fi Hotspot detected according to Wi-Fi signal acquisition and signal strength signal intensity.
Such as, the intelligent terminal detection system time, when system time arrives at 9, detect that system time there occurs time period switching, therefore, again can download the network quality parameters of this time period from focus management server, if detect the focus mass parameter of new Wi-Fi Hotspot and signal strength signal intensity more excellent time, can switch to new Wi-Fi Hotspot and access.
In one embodiment, intelligent terminal also can switch Wi-Fi Hotspot with the change of signal strength signal intensity and connect, concrete, intelligent terminal also can detect the signal strength signal intensity of the Wi-Fi Hotspot of access, when the signal strength signal intensity of the Wi-Fi Hotspot accessed is lower than threshold value, then detect Wi-Fi signal, the focus mark of the Wi-Fi Hotspot detected according to Wi-Fi signal acquisition and signal strength signal intensity.
Such as, if user's hand-held intelligent terminal is in mobile status, because Wi-Fi signal is wireless signal, therefore its propagation has larger decay in space, therefore, after intelligent terminal accesses certain Wi-Fi Hotspot, the signal strength signal intensity of this Wi-Fi Hotspot detected can constantly change.When the signal strength signal intensity of this Wi-Fi Hotspot is lower than threshold value, then mean that this user is now in the edge of this Wi-Fi Hotspot covering, therefore network quality may be poor.Now, network quality parameters and signal strength signal intensity preferably Wi-Fi Hotspot access can be reselected, thus improve access to netwoks quality.
For the network solved in the above-mentioned conventional art mentioned tests the speed the inaccurate technical problem of network speed of Wi-Fi Hotspot that software records, in one embodiment, spy proposes a kind of device of the network speed detected under Wi-Fi Hotspot, as shown in Figure 5, this device comprises: focus access module 102, network speed measurement instruction receiver module 104, CDN node acquisition module 106 and speed measuring module 108, wherein:
Focus access module 102, for detecting Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, selects the Wi-Fi Hotspot access detected.
Network speed measurement instruction receiver module 104, for receiving network speed measurement instruction, sending network speed measure request according to described network speed measurement instruction to the server that tests the speed, the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access.
CDN node acquisition module 106, for receiving the redirect request that the server that tests the speed returns, comprises the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access in described redirect request.
Speed measuring module 108, sends file download request for the IP address to described content distributing server, receives the test file that described content distributing server returns, generate and identify corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
In the present embodiment, network speed mass parameter comprises network speed peak value and/or average network speed.
Speed measuring module 108, also for detecting the data volume of the test file that the content distributing server that receives returns every prefixed time interval, calculates network speed peak value and/or average network speed according to the data volume received and the described time interval.
In the present embodiment, as shown in Figure 5, the device detecting the network speed under Wi-Fi Hotspot also comprises hot information sharing module 110, be uploaded to focus management server for being identified and identify corresponding network speed mass parameter with described focus by the focus of the Wi-Fi Hotspot according to described access, identify corresponding network quality parameters by described focus management server generation with described focus and store.
In the present embodiment, hot information sharing module 110 also for generating the timestamp notice focus management server of described network speed information, and identifies the corresponding network quality parameters in preset time period by described focus management server generation with the focus of the Wi-Fi Hotspot of described access.
In the present embodiment, focus access module 102 is also for obtaining the signal strength signal intensity of the Wi-Fi Hotspot detected.
Described network quality parameters inquiry request also for according to described focus mark generating network mass parameter inquiry request, is sent to focus management server by focus access module 102; What receive that described focus management server returns identifies corresponding network quality parameters with described focus; Corresponding focus is selected to identify corresponding Wi-Fi Hotspot access according to described network quality parameters and described signal strength signal intensity.
In the present embodiment, described system timestamp, also for obtaining system timestamp, is notified described focus management server by focus access module 102.
Focus access module 102 also identifies corresponding for what receive that described focus management server returns with described focus, and the network quality parameters under the time period of presetting belonging to described system timestamp.
Implement the embodiment of the present invention, following beneficial effect will be had:
After have employed the method and apparatus of the network speed under above-mentioned detection Wi-Fi Hotspot, the network speed measurement request of the software initiation of testing the speed on smart mobile phone is not direct downloads from the server that tests the speed, but downloaded by the more real CDN server of network state, thus make the network speed that records more accurate.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (12)

1. detect a method for the network speed under Wi-Fi Hotspot, it is characterized in that, comprising:
Detect Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, select the Wi-Fi Hotspot access detected;
Receive network speed measurement instruction, send network speed measure request according to described network speed measurement instruction to the server that tests the speed, the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access;
Receive the redirect request that the server that tests the speed returns, in described redirect request, comprise the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access;
IP address to described content distributing server sends file download request, receives the test file that described content distributing server returns, and generates and identifies corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
2. the method for the network speed under detection Wi-Fi Hotspot according to claim 1, is characterized in that, described network speed mass parameter comprises network speed peak value and/or average network speed;
The step that described generation identifies corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access comprises:
Detect the data volume of the test file that the content distributing server that receives returns every prefixed time interval, calculate network speed peak value and/or average network speed according to the data volume received and the described time interval.
3. the method for the network speed under detection Wi-Fi Hotspot according to claim 1 and 2, is characterized in that, described generation also comprises after identifying the step of corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access:
The focus of the Wi-Fi Hotspot according to described access is identified and identifies corresponding network speed mass parameter with described focus and is uploaded to focus management server, identify corresponding network quality parameters by described focus management server generation with described focus and store.
4. the method for connection Wi-Fi Hotspot according to claim 3, is characterized in that, described by the focus of the Wi-Fi Hotspot according to described access mark with identify with described focus the step that corresponding network speed mass parameter is uploaded to focus management server and also comprise:
The timestamp notice focus management server of described network speed information will be generated, and identify the corresponding network quality parameters in preset time period by described focus management server generation with the focus of the Wi-Fi Hotspot of described access.
5. the method for the network speed under detection Wi-Fi Hotspot according to claim 4, is characterized in that, also comprises after the step of described detection Wi-Fi signal:
Obtain the signal strength signal intensity of the Wi-Fi Hotspot detected;
The step of the Wi-Fi Hotspot access that described selection detects comprises:
According to described focus mark generating network mass parameter inquiry request, described network quality parameters inquiry request is sent to focus management server;
What receive that described focus management server returns identifies corresponding network quality parameters with described focus;
Corresponding focus is selected to identify corresponding Wi-Fi Hotspot access according to described network quality parameters and described signal strength signal intensity.
6. the method for the network speed under detection Wi-Fi Hotspot according to claim 5, is characterized in that, describedly the step that described network quality parameters inquiry request is sent to focus management server is also comprised:
Obtain system timestamp, described system timestamp is notified described focus management server;
What described reception described focus management server returned also comprises with the step that described focus identifies corresponding network quality parameters:
What receive that described focus management server returns identifies corresponding with described focus, and the network quality parameters under the time period of presetting belonging to described system timestamp.
7. detect a device for the network speed under Wi-Fi Hotspot, it is characterized in that, comprising:
Focus access module, for detecting Wi-Fi signal, according to the Wi-Fi Hotspot that Wi-Fi signal acquisition detects, selects the Wi-Fi Hotspot access detected;
Network speed measurement instruction receiver module, for receiving network speed measurement instruction, sending network speed measure request according to described network speed measurement instruction to the server that tests the speed, the request of measuring of described network speed comprises the network ip address of the Wi-Fi Hotspot of described access;
CDN node acquisition module, for receiving the redirect request that the server that tests the speed returns, comprises the IP address of the content distributing server corresponding with the IP address of the Wi-Fi Hotspot of described access in described redirect request;
Speed measuring module, sends file download request for the IP address to described content distributing server, receives the test file that described content distributing server returns, generate and identify corresponding network speed mass parameter with the focus of the Wi-Fi Hotspot of described access.
8. the device of the network speed under detection Wi-Fi Hotspot according to claim 7, is characterized in that, described network speed mass parameter comprises network speed peak value and/or average network speed;
Described speed measuring module, also for detecting the data volume of the test file that the content distributing server that receives returns every prefixed time interval, calculates network speed peak value and/or average network speed according to the data volume received and the described time interval.
9. the device of the network speed under the detection Wi-Fi Hotspot according to claim 7 or 8, it is characterized in that, described device also comprises hot information sharing module, be uploaded to focus management server for being identified and identify corresponding network speed mass parameter with described focus by the focus of the Wi-Fi Hotspot according to described access, identify corresponding network quality parameters by described focus management server generation with described focus and store.
10. the device of connection Wi-Fi Hotspot according to claim 9, it is characterized in that, described hot information sharing module, also for the timestamp notice focus management server of described network speed information will be generated, and identify the corresponding network quality parameters in preset time period by described focus management server generation with the focus of the Wi-Fi Hotspot of described access.
The device of the network speed under 11. detection Wi-Fi Hotspots according to claim 10, is characterized in that, described focus access module, also for obtaining the signal strength signal intensity of the Wi-Fi Hotspot detected;
Described focus access module, also for according to described focus mark generating network mass parameter inquiry request, is sent to focus management server by described network quality parameters inquiry request; What receive that described focus management server returns identifies corresponding network quality parameters with described focus; Corresponding focus is selected to identify corresponding Wi-Fi Hotspot access according to described network quality parameters and described signal strength signal intensity.
The device of the network speed under 12. detection Wi-Fi Hotspots according to claim 11, is characterized in that, described focus access module, also for obtaining system timestamp, described system timestamp is notified described focus management server;
Described focus access module, also identifies corresponding for what receive that described focus management server returns with described focus, and the network quality parameters under the time period of presetting belonging to described system timestamp.
CN201510466674.5A 2015-07-31 2015-07-31 Detect the method and device of the network speed under Wi-Fi Hotspot Active CN105050133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510466674.5A CN105050133B (en) 2015-07-31 2015-07-31 Detect the method and device of the network speed under Wi-Fi Hotspot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510466674.5A CN105050133B (en) 2015-07-31 2015-07-31 Detect the method and device of the network speed under Wi-Fi Hotspot

Publications (2)

Publication Number Publication Date
CN105050133A true CN105050133A (en) 2015-11-11
CN105050133B CN105050133B (en) 2019-01-29

Family

ID=54456233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510466674.5A Active CN105050133B (en) 2015-07-31 2015-07-31 Detect the method and device of the network speed under Wi-Fi Hotspot

Country Status (1)

Country Link
CN (1) CN105050133B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282719A (en) * 2015-11-26 2016-01-27 小米科技有限责任公司 Method and apparatus for prompting information, and terminal
CN105786428A (en) * 2016-02-16 2016-07-20 深圳市共进电子股份有限公司 Method and device for displaying transmission rate of router
CN106028381A (en) * 2016-05-24 2016-10-12 广州杰赛科技股份有限公司 Method and device for testing transmission rate on mobile terminal
CN106507419A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 The method and device of connection Wi-Fi hotspot
CN106851695A (en) * 2017-03-29 2017-06-13 北京小米移动软件有限公司 A kind of methods, devices and systems for testing network speed
CN109982160A (en) * 2019-04-09 2019-07-05 北京奇艺世纪科技有限公司 A kind of method, apparatus, client device and server that video uploads
WO2019144560A1 (en) * 2018-01-25 2019-08-01 网宿科技股份有限公司 Network quality detection method and system
CN116614393A (en) * 2023-07-21 2023-08-18 中融云数(北京)技术有限公司 Weak network scene bandwidth estimation method and system based on RTC communication

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540775A (en) * 2009-04-30 2009-09-23 华为技术有限公司 Method and device for distributing contents and network system for distributing contents
CN101741643A (en) * 2009-12-24 2010-06-16 北京世纪互联宽带数据中心有限公司 Content delivery network node detecting method and system
CN102006217A (en) * 2009-08-28 2011-04-06 青岛海信传媒网络技术有限公司 Content delivery bandwidth control method
WO2011071850A2 (en) * 2009-12-07 2011-06-16 Coach Wei System and method for website performance optimization and internet traffic processing
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102387168A (en) * 2010-08-30 2012-03-21 中兴通讯股份有限公司 Content access method and content access node
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal
CN104038363A (en) * 2013-10-24 2014-09-10 南京汇吉递特网络科技有限公司 Method for acquiring and counting CCDN provider information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540775A (en) * 2009-04-30 2009-09-23 华为技术有限公司 Method and device for distributing contents and network system for distributing contents
CN102006217A (en) * 2009-08-28 2011-04-06 青岛海信传媒网络技术有限公司 Content delivery bandwidth control method
WO2011071850A2 (en) * 2009-12-07 2011-06-16 Coach Wei System and method for website performance optimization and internet traffic processing
CN101741643A (en) * 2009-12-24 2010-06-16 北京世纪互联宽带数据中心有限公司 Content delivery network node detecting method and system
CN102378303A (en) * 2010-08-26 2012-03-14 中国移动通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102387168A (en) * 2010-08-30 2012-03-21 中兴通讯股份有限公司 Content access method and content access node
CN104038363A (en) * 2013-10-24 2014-09-10 南京汇吉递特网络科技有限公司 Method for acquiring and counting CCDN provider information
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282719A (en) * 2015-11-26 2016-01-27 小米科技有限责任公司 Method and apparatus for prompting information, and terminal
CN105786428A (en) * 2016-02-16 2016-07-20 深圳市共进电子股份有限公司 Method and device for displaying transmission rate of router
CN105786428B (en) * 2016-02-16 2019-03-08 深圳市共进电子股份有限公司 The method and device of the transmission rate of explicit routing device
CN106028381A (en) * 2016-05-24 2016-10-12 广州杰赛科技股份有限公司 Method and device for testing transmission rate on mobile terminal
CN106028381B (en) * 2016-05-24 2019-10-25 广州杰赛科技股份有限公司 A kind of method and device for testing transmission rate on mobile terminals
CN106507419A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 The method and device of connection Wi-Fi hotspot
CN106851695A (en) * 2017-03-29 2017-06-13 北京小米移动软件有限公司 A kind of methods, devices and systems for testing network speed
WO2019144560A1 (en) * 2018-01-25 2019-08-01 网宿科技股份有限公司 Network quality detection method and system
US11108676B2 (en) 2018-01-25 2021-08-31 Wangsu Science & Technology Co., Ltd. Method and system for detecting network quality based on a network fluctuation model
CN109982160A (en) * 2019-04-09 2019-07-05 北京奇艺世纪科技有限公司 A kind of method, apparatus, client device and server that video uploads
CN116614393A (en) * 2023-07-21 2023-08-18 中融云数(北京)技术有限公司 Weak network scene bandwidth estimation method and system based on RTC communication
CN116614393B (en) * 2023-07-21 2023-11-28 中融云数(北京)技术有限公司 Weak network scene bandwidth estimation method and system based on RTC communication

Also Published As

Publication number Publication date
CN105050133B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
CN105050133A (en) Method and device for detecting internet speed under Wi-Fi hotspot
CN106507419A (en) The method and device of connection Wi-Fi hotspot
CN105050118A (en) Wi-Fi hotspot connecting method and device
CN105791034B (en) A kind of browsing class service-aware analysis method
RU2481733C2 (en) Mobile station and mobile communication method
US20070259670A1 (en) Mobile wifi network monitor
US20200374785A1 (en) Method for Processing Radio Frequency Resources and Terminal
KR101813424B1 (en) Improved coverage estimation of wireless cellular networks by user equipment (ue) idle mode measurements
CN105357699B (en) Quality of wireless network monitors system and method
CN101715228A (en) Wireless communication system, management server, wireless terminal, and network selection method
US20100130211A1 (en) Handover determination apparatus and method in overlay wireless network environment
US20100167776A1 (en) Avoiding disturbance of restricted local access points in a wireless network
CN109391703A (en) Domain name analytic method, device, equipment and computer storage medium
CN102282883A (en) Analysing radio network coverage
CN105100174A (en) Method, device and system for scheduling Internet resource
CN105163316A (en) Method and device for accessing Wi-Fi hotspot
CN110198332B (en) Scheduling method and device for content distribution network node and storage medium
CN103731851A (en) Network performance evaluation method and device
CN110768852A (en) Method and device for testing cloud network nodes
CN108901035B (en) Identification method and device for terminal of Internet of things
CN105120492A (en) Method for optimizing CSFB frequency point configuration based on measurement report data
CN110856188B (en) Communication method, apparatus, system, and computer-readable storage medium
CN106488495B (en) Base station selecting method and device based on base station signal quality
CN114257957B (en) Network planning method and device, computing equipment and computer readable storage medium
CN104853378A (en) Method, device and terminal for detecting access capability of WIFI network

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