CN106100888A - network quality detection method and device - Google Patents

network quality detection method and device Download PDF

Info

Publication number
CN106100888A
CN106100888A CN201610500841.8A CN201610500841A CN106100888A CN 106100888 A CN106100888 A CN 106100888A CN 201610500841 A CN201610500841 A CN 201610500841A CN 106100888 A CN106100888 A CN 106100888A
Authority
CN
China
Prior art keywords
access point
network
app
network access
server
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
CN201610500841.8A
Other languages
Chinese (zh)
Other versions
CN106100888B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610500841.8A priority Critical patent/CN106100888B/en
Publication of CN106100888A publication Critical patent/CN106100888A/en
Application granted granted Critical
Publication of CN106100888B publication Critical patent/CN106100888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • H04L41/5012Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF] determining service availability, e.g. which services are available at a certain point in time

Landscapes

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

Abstract

The disclosure is directed to network quality detection method and device.In disclosure embodiment, network quality detection operation is performed by each server network access point that APP is associated, the network quality of the server network access point that APP is associated can be detected, this achieves network quality detection of the server network access point being associated APP, and this is capable of APP and finally selects network quality quality services device Network Access Point when there being multiple server network access point to connect based on the network quality of the plurality of server network access point detected and be attached.

Description

Network quality detection method and device
Technical field
It relates to communication technical field, particularly relate to network quality detection method and device.
Background technology
Currently, along with the development of the wireless networks such as mobile device such as smart mobile phone and WIFI, 4G, more and more apply (APP) service miscellaneous is provided the user by wireless network.The user of APP is likely distributed in different regions, uses not Wireless network with type.Therefore, the user of APP, when connecting different server Network Access Point, presents different network matter Amount.
Based on this, for improving the network link of APP, it is necessary to the network quality of detecting server Network Access Point, with Ensure that the server network access node that APP finally selects network quality optimal is attached.At present, server network access point Network quality detection be technical problem the most urgently to be resolved hurrily.
Summary of the invention
Present disclose provides network quality detection method and device, to realize the network service matter of server network access point Amount detection, the server network access node facilitating APP to select network service quality optimal is attached.
First aspect according to disclosure embodiment, it is provided that a kind of network quality detection method, described method is applied to move Dynamic equipment, including:
The each server network access point being associated locally applied APP performs network quality detection operation;
Relatively server network access point sets the time to the response time and first of network quality detection operation;
When the response time of network quality detection operation is set by described server network access point less than or equal to first During the time, determine the network quality high-quality of described server network access point;
When described server network access point sets the time to the response time of network quality detection operation more than first, Setting network domain name is performed network quality detection operation, when the setting network domain name response time to network quality detection operation When setting the time less than or equal to second, determining that the network quality of described server network access point is non-prime, wherein, first sets Fix time more than or equal to the second setting time.
In an open embodiment, the detection operation of described network quality operates for Internet groper Ping.
In an open embodiment, the method farther includes:
When this locality does not exist the good service device network insertion point list that described APP is associated, in locally created and institute State the good service device network insertion point list that APP is associated, the good service device Network Access Point list records of this foundation The network quality quality services device Network Access Point determined;
When this locality exists the good service device network insertion point list that described APP is associated, by the network matter determined Amount quality services device Network Access Point replaces the server network access point in described good service device network insertion point list.
In an open embodiment, each server network access point that described APP is associated is: described APP is associated Alternate servers network insertion point list in record each server network access point.
In an open embodiment, the method farther includes:
When described APP connects network,
When this locality exists the good service device network insertion point list that described APP is associated, attempt and institute described APP State the server network access point in good service device network insertion point list and set up connection, until being successfully established connection;
When APP attempts setting up with each server network access point in good service device network insertion point list being connected mistake Lose, or, when there is not the good service device network insertion point list that described APP is associated in this locality, by described APP attempt with Each server network access point in the alternate servers network insertion point list being associated is set up and is connected, until being successfully established Connect.
Another aspect according to disclosure embodiment, it is provided that a kind of network quality detection method, described method be applied to The server network access point that application APP is associated, including:
Obtain the server network access point being associated with described APP newly increased;
After APP is successfully connected to book server Network Access Point, the server net being associated with APP that this is newly increased Network access point notifies to APP;
When described APP performs network quality detection operation to book server Network Access Point, described network quality is visited Survey operation to respond.
In an open embodiment, the server network access point being associated with APP that described acquisition newly increases includes:
Newly increased by upgrading configuration mode, point-to-point P2P mode or the acquisition of node identification NameNode informing mode The server network access point being associated with APP.
First aspect according to disclosure embodiment, it is provided that a kind of network quality detecting device, this device is applied to mobile Equipment, including:
Detecting module, each server network access point for being associated locally applied APP performs network quality and visits Survey operation;And, for comparing described server network access point to network quality detection operation when described comparison module When response time is more than the first setting time, setting network domain name is performed network quality detection operation;
Comparison module, sets the response time and first of network quality detection operation for comparing server network access point The size fixed time;And for compare setting network domain name to network quality detection operation response time with second setting time Between size;
Determine module, for comparing server network access point to network quality detection operation when described comparison module When response time is less than or equal to the first setting time, determine the network quality high-quality of described server network access point;And When described comparison module compares setting network domain name, the response time of network quality detection operation is set less than or equal to second When fixing time, determining that the network quality of described server network access point is non-prime, wherein, the first setting time was more than or equal to Second sets the time.
In an open embodiment, this device farther includes:
More new module, is used for when this locality does not exist the good service device network insertion point list that described APP is associated, The good service device network insertion point list that locally created and described APP is associated, the good service device network insertion of this foundation Point list have recorded the network quality quality services device Network Access Point determined;And, it is correlated with when this locality exists described APP During the good service device network insertion point list joined, replace institute with the network quality quality services device Network Access Point determined State the server network access point in good service device network insertion point list.
In an open embodiment, this device farther includes:
Memory module, for storing the alternate servers network insertion point list that described APP is associated;Described APP is correlated with Each server network access point of connection is: in the alternate servers network insertion point list that described APP is associated, record is every One server network access point.
In an open embodiment, this device farther includes:
Link block, is used for when described APP connects network,
When this locality exists the good service device network insertion point list that described APP is associated, attempt and institute described APP State the server network access point in good service device network insertion point list and set up connection, until being successfully established connection;
When APP attempts setting up with each server network access point in good service device network insertion point list being connected mistake Lose, or, when there is not the good service device network insertion point list that described APP is associated in this locality, by described APP attempt with Each server network access point in the alternate servers network insertion point list of described memory module storage is set up and is connected, directly To being successfully established connection.
First aspect according to disclosure embodiment, it is provided that a kind of network quality detecting device, this device is applied to and answers The server network access point being associated with APP, including:
Acquisition module, for obtaining the server network access point being associated with described APP newly increased;
Notification module, for after APP is successfully connected to book server Network Access Point, by this newly increase with APP phase The server network access point of association notifies to APP;
Respond module, for when described APP performs network quality detection operation to book server Network Access Point, to institute State network quality detection operation to respond.
In an open embodiment, described acquisition module is by upgrading configuration mode, point-to-point P2P mode or node mark Know NameNode informing mode and obtain the server network access point being associated with APP newly increased.
First aspect according to disclosure embodiment, it is provided that a kind of network quality detecting device device, including: processor; For storing the memorizer of processor executable;Wherein, described processor is configured to:
The each server network access point being associated locally applied APP performs network quality detection operation;
Relatively server network access point sets the time to the response time and first of network quality detection operation;
When the response time of network quality detection operation is set by described server network access point less than or equal to first During the time, determine the network quality high-quality of described server network access point;
When described server network access point sets the time to the response time of network quality detection operation more than first, Setting network domain name is performed network quality detection operation, when the setting network domain name response time to network quality detection operation When setting the time less than or equal to second, determining that the network quality of described server network access point is non-prime, wherein, first sets Fix time more than or equal to the second setting time.
First aspect according to disclosure embodiment, it is provided that a kind of network quality detecting device device, including: processor; For storing the memorizer of processor executable;Wherein, described processor is configured to:
Obtain the server network access point being associated with described APP newly increased;
After APP is successfully connected to book server Network Access Point, the server net being associated with APP that this is newly increased Network access point notifies to APP;
When described APP performs network quality detection operation to book server Network Access Point, described network quality is visited Survey operation to respond.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
In the disclosure, perform network quality detection operation, energy by each server network access point that APP is associated Enough detecting the network quality of the server network access point that APP is associated, this achieves the server network being associated APP The network quality detection of access point, this is capable of, and APP is based on detection when there being multiple server network access point to connect to be somebody's turn to do The network quality of multiple server network access points is finally selected network quality quality services device Network Access Point and is carried out even Connect.
In the disclosure, when this locality exists the good service device network insertion point list that APP is associated, then connect at APP Server network access point during network, in APP preferential attachment good service device network insertion point list.This greatly speeds up The efficiency of selection of high-quality node, improves the Consumer's Experience of APP.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is that the disclosure is according to a kind of network quality detection method flow chart shown in an exemplary embodiment;
Fig. 2 is that the disclosure is according to the another kind of network quality detection method flow chart shown in an exemplary embodiment;
Fig. 3 is the application scenarios schematic diagram of a kind of network quality detection shown in the disclosure;
Fig. 4 is the method flow diagram that the disclosure detects according to a kind of network quality shown in an exemplary embodiment;
Fig. 5 is the device block diagram that the disclosure detects according to a kind of network quality shown in an exemplary embodiment;
Fig. 6 is the device block diagram that the disclosure detects according to the another kind of network quality shown in an exemplary embodiment;
Fig. 7 is a disclosure structural representation according to the another kind of network quality detecting device shown in an exemplary embodiment Figure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
The term used in the disclosure is only merely for describing the purpose of specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Any or all containing one or more projects of listing being associated may combination.
Although should be appreciated that in the disclosure possible employing term first, second, third, etc. to describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... Time " or " in response to determining ".
As it is shown in figure 1, Fig. 1 is the method flow diagram detected according to a kind of network quality shown in an exemplary embodiment, The method may be used for, in mobile device, comprising the following steps:
Step 101, each server network access point being associated local APP performs network quality detection operation.
Step 102, when comparing response time and the first setting that network quality detection is operated by server network access point Between.
When APP performs network quality detection operation to server network access point, server network access point can be to this Network quality detection operation response, i.e. APP will obtain the server network access point sound to network quality detection operation response Between Ying Shi.
In an open embodiment, the first setting time can be arranged according to practical situation, is such as set to No. 5 seconds (ms).
Step 103, when server network access point is less than or equal to first to the response time of network quality detection operation During the setting time, determine the network quality high-quality of server network access point;When network quality is visited by server network access point When surveying the response time operated more than the first setting time, setting network domain name is performed network quality detection and operates, work as setting When domain names sets the time to the response time of network quality detection operation less than or equal to second, determine that server network connects The network quality of access point is non-prime.
In an open embodiment, in step 103, when the response to network quality detection operation of the server network access point When time is less than or equal to the first setting time, also can further determine that the network quality high-quality of APP.
In an open embodiment, in step 103, when the setting network domain name response time to network quality detection operation When setting the time more than second, can further determine that the network quality of APP is non-prime.Network as server network access point Quality whether high-quality, then can not be clear and definite.
In an open embodiment, the second setting time in step 103 can be arranged according to practical situation, when implementing Can be identical with the first above-mentioned setting time, it is possible to different, such as first sets the time more than the second setting time.As for first How setting time, the second setting time are arranged, and it can be arranged according to practical situation, the most no longer specifically describes.
It can be seen that in the disclosure, network quality is performed by each server network access point that APP is associated Detection operation, it is possible to detecting the network quality of the server network access point that APP is associated, this achieves and is associated APP Server network access point network quality detection, this is capable of APP when there being multiple server network access point to connect The network quality of the plurality of server network access point based on detection finally selects network quality quality services device network Access point is attached.
In an open embodiment, above-mentioned network quality detection operation can be Internet groper (Ping) operation.In view of This, in above-mentioned steps 101, each server network access point being associated local APP performs network quality detection operation tool Body is: the local APP each server network access point to being associated performs Ping operation.In like manner, in above-mentioned steps 103, right Setting network domain name performs network quality detection operation particularly as follows: local APP performs Ping operation to setting network domain name.One In open embodiment, above-mentioned setting network domain name can be the domain names of conventional service quality high-quality, such as Baidu.com, sina.com, taobao.com etc..
In an open embodiment, can farther include:
When this locality does not exist the good service device network insertion point list that described APP is associated, in locally created and institute State the good service device network insertion point list that APP is associated, the good service device Network Access Point list records of this foundation The network quality quality services device Network Access Point determined;
When this locality exists the good service device network insertion point list that described APP is associated, by the network matter determined Amount quality services device Network Access Point replaces the server network access point in described good service device network insertion point list.
In an open embodiment, each server network access point that above-mentioned APP is associated is: described APP is associated Alternate servers network insertion point list in record each server network access point.Based on this, in an open embodiment In, when APP connects network, for preventing from affecting the service that APP provides, then a server connected can be selected rapidly for APP Network Access Point.Specifically, can be the server network access point that APP selects a connection by following steps:
When this locality exists the good service device network insertion point list that APP is associated, attempt and good service device APP Server network access point in network insertion point list is set up and is connected, until being successfully established connection;
When APP attempts setting up with each server network access point in good service device network insertion point list being connected mistake Lose, or, when there is not the good service device network insertion point list that described APP is associated in this locality, by described APP attempt with Each server network access point in alternate servers network insertion point list is set up and is connected, until being successfully established connection.
As in figure 2 it is shown, Fig. 2 is according to the another kind of network quality detection method flow chart shown in an exemplary embodiment, The method may be used for, in the server network access point being associated with APP, comprising the following steps:
Step 201, obtains the server network access point being associated with APP newly increased.
Starting stage, the server network access point that APP is associated is built in APP in the form of a list.Work as movement When equipment is mounted with APP, APP, without connecting network, can obtain the server network access point being associated.But, APP is correlated with The server network access point of connection can dynamically change, when APP has been built the new server network access point being associated, The server network access point being associated before APP just obtains the server being associated with APP newly increased by certain way Network Access Point also notifies to APP, is specifically shown in following step 202.
Step 202, after APP is successfully connected to book server Network Access Point, by this being associated with APP of newly increasing Server network access point notifies to APP.
It is to say, the server network access point being associated before APP is after being successfully established with APP and being connected, just should The server network access point being associated with APP newly increased notifies to APP.This, when receiving notice, is newly increased by APP The server network access point record being associated with APP is in local alternate servers network insertion point list.
Step 203, when APP performs network quality detection operation to book server Network Access Point, visits network quality Survey operation to respond.
It can be seen that in the disclosure, after built the new server network access node being associated for APP, will These new server network access nodes being associated with APP inform the APP of each user, and this ensures that APP upgrades in time certainly The server network access node that oneself is associated, to facilitate, APP is follow-up to be gone detection and connects these new clothes being associated with APP Business device network insertion node.
Further, by the server network when APP performs network quality detection operation to server network access point Network quality detection operation is responded by access point, it is possible to the server network access point realizing being associated APP carries out net Network quality detection.
In an open embodiment, obtain the server network access point being associated with APP newly increased and include:
Newly increased by upgrading configuration mode, point-to-point P2P mode or the acquisition of node identification NameNode informing mode The server network access point being associated with APP.It is to say, the already present server network access point being associated with APP Can be obtained by upgrading configuration mode, point-to-point P2P mode or node identification NameNode informing mode newly increase with The server network access point that APP is associated.
Below in conjunction with application scenarios, disclosure embodiment is described in detail.As it is shown on figure 3, Fig. 3 is according to an example The application scenarios schematic diagram of the property a kind of network quality detection method shown in embodiment.In this Fig. 3, if network quality detection behaviour Operate as Ping.
Based on the application scenarios shown in Fig. 3, as shown in Figure 4, Fig. 4 is according to a kind of network shown in an exemplary embodiment Quality detection method flow diagram.Comprise the following steps:
Step 401, when APP connects network, it is judged that whether this locality exists the good service device network insertion that APP is associated Point list, if it is, perform step 402, if it does not, perform step 408.
Good service device Network Access Point is listed as follows literary composition description, and it is the net determined during last network quality detection The server network access point of network quality high-quality.
Step 402, is attempted setting up even with the server network access point in good service device network insertion point list by APP Connect until successful connection.Perform step 403 afterwards.
It is to say, when APP connects network, preferentially APP is connected the clothes in good service device network insertion point list Business device Network Access Point.However, it is desirable to explanation, in an open embodiment, when APP attempts connecing with good service device network When entering that in point list, each server network access point sets up connection failure, then need to perform step 408.
Step 403, the APP each server network access point to being associated performs Ping operation, and server network accesses Ping operation is responded by point.
Step 404, APP compares response time and the first setting time that Ping is operated by server network access point, when When the response time that Ping is operated by server network access point is less than or equal to the first setting time, performs step 405, work as clothes When the response time that Ping is operated by business device Network Access Point is more than the first setting time, perform step 406.
Step 405, determines the network quality of APP and the equal high-quality of network quality of server Network Access Point, set When the renewal time arrives, replace above-mentioned good service device network with the network quality quality services device Network Access Point determined Server network access point in access point list.
The renewal time of setting here arrives: each server network access point being associated has been performed by APP The time of network quality detection.
Step 406, APP performs Ping operation to setting network domain name, and Ping operation is responded by setting network domain name.
This step 406 is before the response time operated Ping at server network access point sets the time more than first Put execution.The response time operated Ping when server network access point sets the time more than first, then service is described The network quality of device Network Access Point and/or APP is non-prime.Grasp at this time, it may be necessary to setting network domain name is performed Ping by APP Detect that the network quality of specifically server network access point is non-prime or the network quality of APP is non-prime further.
In an open embodiment, the built-in above-mentioned setting network domain name of APP, as baidu.com, sina.com, Taobao.com etc..APP uses these domain names of mode ping of ping to obtain response time.
Step 407, compares response time and the second setting time that Ping is operated by setting network domain name, works as setting network When the response time that Ping is operated by domain name is less than or equal to the second setting time, determine the network quality high-quality of APP, server The network quality of Network Access Point is non-prime, and the response time operated Ping when setting network domain name was more than for the second setting time Time, determine that the network quality of APP is non-prime.
In an open embodiment, the response time operated Ping when setting network domain name was more than for the second setting time Time, can only determine that the network quality of APP is non-prime, but the network quality of server network access point whether high-quality not can determine that, Here the network quality of server network access point can only be ignored.Why determine that the network quality of APP is non-prime, mainly at this Purpose be prevent from causing APP to judge by accident when Connection Service device Network Access Point failure because the network quality of APP is non-prime be Cause because the network quality of server network access point is non-prime.
Step 408, is attempted setting up with each server network access point being associated being connected, until being successfully established by APP Connect.Perform step 409 afterwards.
In an open embodiment, when APP attempts setting up connection failure with each server network access point being associated Time, then mean that the service that APP provides is unavailable.
Step 409, the APP each server network access point to being associated performs Ping operation, and server network accesses Ping operation is responded by point.
Step 410, APP compares response time and the first setting time that Ping is operated by server network access point, when When the response time that Ping is operated by server network access point is less than or equal to the first setting time, performs step 411, work as clothes When the business device Network Access Point response time that operate Ping is more than the first setting time, return the above-mentioned step 406 of execution to Step 407.
Step 411, determines the network quality of APP and the equal high-quality of network quality of server Network Access Point, set When the renewal time arrives, in the good service device network insertion point list that locally created APP is associated, the network matter that will determine Amount quality services device Network Access Point record is in the good service device network insertion point list of this foundation.
So far, the description of Fig. 4 is completed.
In an open embodiment, further above-mentioned good service device network insertion point list can be reported server, It is analyzed by server.The most how to analyze and utilize these results as server, unrelated with patented subject matter, the most not Describe again.
Corresponding with aforementioned network quality detection embodiment of the method, the disclosure additionally provides network quality detecting device.As Shown in Fig. 5, Fig. 5 is that the disclosure is according to a kind of network quality detecting device block diagram shown in an exemplary embodiment.Device includes:
Detecting module, each server network access point being configured to be associated locally applied APP performs network matter Amount detection operation;And, it is configured as described comparison module and compares described server network access point to network quality spy When surveying the response time operated more than the first setting time, setting network domain name is performed network quality detection and operates;
Comparison module, is configured to compare server network access point to the response time of network quality detection operation and the One size setting the time;And it is configured to compare setting network domain name to the response time of network quality detection operation and the Two sizes setting the time;
Determine module, be configured as described comparison module and compare server network access point to network quality detection behaviour When the response time made is less than or equal to the first setting time, determine the network quality high-quality of described server network access point; And be configured as described comparison module compare setting network domain name to network quality detection operation response time be less than Or during equal to the second setting time, determine that the network quality of described server network access point is non-prime, wherein, during the first setting Between more than or equal to second setting the time.
In above-described embodiment, this device may further include:
More new module, is used for when this locality does not exist the good service device network insertion point list that described APP is associated, The good service device network insertion point list that locally created and described APP is associated, the good service device network insertion of this foundation Point list have recorded the network quality quality services device Network Access Point determined;And, it is correlated with when this locality exists described APP During the good service device network insertion point list joined, replace institute with the network quality quality services device Network Access Point determined State the server network access point in good service device network insertion point list.
In above-described embodiment, this device may further include:
Memory module, for storing the alternate servers network insertion point list that described APP is associated;Described APP is correlated with Each server network access point of connection is: in the alternate servers network insertion point list that described APP is associated, record is every One server network access point.
In above-described embodiment, this device may further include:
Link block, is used for when described APP connects network,
When this locality exists the good service device network insertion point list that described APP is associated, attempt and institute described APP State the server network access point in good service device network insertion point list and set up connection, until being successfully established connection;
When APP attempts setting up with each server network access point in good service device network insertion point list being connected mistake Lose, or, when there is not the good service device network insertion point list that described APP is associated in this locality, by described APP attempt with Each server network access point in the alternate servers network insertion point list of described memory module storage is set up and is connected, directly To being successfully established connection.
Network quality detecting device embodiment shown in Fig. 5 can be applied in a mobile device.
As can be seen from the above embodiments, the disclosure is performed by each server network access point being associated APP Network quality detection operation, it is possible to detecting the network quality of the server network access point that APP is associated, this achieves right The network quality detection of the server network access point that APP is associated, this is capable of APP is having multiple server network to access When point connects, the network quality of the plurality of server network access point based on detection finally selects the clothes of network quality high-quality Business device Network Access Point is attached.
In the disclosure, when this locality exists the good service device network insertion point list that APP is associated, then connect at APP Server network access point during network, in APP preferential attachment good service device network insertion point list.This greatly speeds up The efficiency of selection of high-quality node, improves the Consumer's Experience of APP.
As shown in Figure 6, Fig. 6 is that the disclosure is according to the another kind of network quality detecting device frame shown in an exemplary embodiment Figure, described device includes:
Acquisition module, for obtaining the server network access point being associated with described APP newly increased;
Notification module, for after APP is successfully connected to book server Network Access Point, by this newly increase with APP phase The server network access point of association notifies to APP;
Respond module, for when described APP performs network quality detection operation to book server Network Access Point, to institute State network quality detection operation to respond
In one embodiment, acquisition module is by upgrading configuration mode, point-to-point P2P mode or node identification NameNode informing mode obtains the server network access point being associated with APP newly increased.
Network quality detecting device embodiment shown in above-mentioned Fig. 6 can be applied at the server network being associated with APP In access point.
As can be seen from the above embodiments, in the disclosure server network access point by being associated that APP is newly increased Server network access point notifies in time to APP, it is possible to facilitate the APP network matter to the server network access point that it is associated Amount.
In said apparatus, the function of modules and the process that realizes of effect specifically refer to corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The module illustrated can be or may not be physically separate, and the parts shown as module can be or can also It not physical module, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
Accordingly, the disclosure also provides for a kind of mobile device, and described mobile device includes processor;For storing process The memorizer of device executable instruction;Wherein, described processor is configured to:
The each server network access point being associated locally applied APP performs network quality detection operation;
Relatively server network access point sets the time to the response time and first of network quality detection operation;
When the response time of network quality detection operation is set by described server network access point less than or equal to first During the time, determine the network quality high-quality of described server network access point;
When described server network access point sets the time to the response time of network quality detection operation more than first, Setting network domain name is performed network quality detection operation, when the setting network domain name response time to network quality detection operation When setting the time less than or equal to second, determining that the network quality of described server network access point is non-prime, wherein, first sets Fix time more than or equal to the second setting time.
Accordingly, the disclosure also provides for a kind of server, and described server includes processor;Can for storing processor Perform the memorizer of instruction;Wherein, described processor is configured to:
Obtain the server network access point being associated with described APP newly increased;
After APP is successfully connected to book server Network Access Point, the server net being associated with APP that this is newly increased Network access point notifies to APP;
When described APP performs network quality detection operation to book server Network Access Point, described network quality is visited Survey operation to respond.
As it is shown in fig. 7, Fig. 7 is the knot according to a kind of network quality detecting device 700 shown in an exemplary embodiment Structure schematic diagram.This device 700 may be provided in a mobile device, or is a server.With reference to Fig. 7, device 700 includes place Reason assembly 701, it farther includes one or more processor, and by the memory resource representated by memorizer 702, is used for Storage can be by the instruction of the execution of processing component 701, such as application program.In memorizer 702, the application program of storage can wrap Include one or more each corresponding to one group instruction module.Additionally, process assembly 701 is configured to execution and refers to Order, with the method performing above-mentioned intelligent selection server network access point.
Device 700 can also include that a power supply module 703 is configured to perform the power management of device 700, and one has Line or radio network interface 704 are configured to be connected to device 700 network, and input and output (I/O) interface 705.Dress Put 700 and can operate based on the operating system being stored in memorizer 702, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a network quality detection method, it is characterised in that described method is applied to mobile device, including:
The each server network access point being associated locally applied APP performs network quality detection operation;
Relatively server network access point sets the time to the response time and first of network quality detection operation;
When described server network access point was less than or equal to for the first setting time to the response time of network quality detection operation Time, determine the network quality high-quality of described server network access point;
When described server network access point sets the time to the response time of network quality detection operation more than first, to setting Determine domain names and perform network quality detection operation, when the response time of network quality detection operation is less than by setting network domain name Or during equal to the second setting time, determine that the network quality of described server network access point is non-prime, wherein, during the first setting Between more than or equal to second setting the time.
Method the most according to claim 1, it is characterised in that the detection operation of described network quality is Internet groper Ping Operation.
Method the most according to claim 1, it is characterised in that the method farther includes:
When this locality does not exist the good service device network insertion point list that described APP is associated, at locally created and described APP The good service device network insertion point list being associated, the good service device Network Access Point list records of this foundation is determined Network quality quality services device Network Access Point;
When this locality exists the good service device network insertion point list that described APP is associated, excellent by the network quality determined The server network access point of matter replaces the server network access point in described good service device network insertion point list.
Method the most according to claim 1, it is characterised in that each server network access point that described APP is associated For: each server network access point of record in the alternate servers network insertion point list that described APP is associated.
Method the most according to claim 4, it is characterised in that farther include before the method:
When described APP connects network,
When this locality exists the good service device network insertion point list that described APP is associated, described APP attempt excellent with described Server network access point in matter server network access point list is set up and is connected, until being successfully established connection;
When APP attempts setting up connection failure with each server network access point in good service device network insertion point list, Or, when this locality does not exist the good service device network insertion point list that described APP is associated, attempt and phase described APP Each server network access point in the alternate servers network insertion point list of association is set up and is connected, until the company of being successfully established Connect.
6. a network quality detection method, it is characterised in that described method is applied to and the server net applying APP to be associated Network access point, including:
Obtain the server network access point being associated with described APP newly increased;
After APP is successfully connected to book server Network Access Point, this server network being associated with APP newly increased is connect Access point notifies to APP;
When described APP performs network quality detection operation to book server Network Access Point, to described network quality detection behaviour Make to respond.
Method the most according to claim 6, it is characterised in that the server being associated with APP that described acquisition newly increases Network Access Point includes:
Obtained by upgrading configuration mode, point-to-point P2P mode or node identification NameNode informing mode newly increase with The server network access point that APP is associated.
8. a network quality detecting device, it is characterised in that this device is applied to mobile device, including:
Detecting module, each server network access point for being associated locally applied APP performs network quality detection behaviour Make;And, for comparing the response to network quality detection operation of the described server network access point when described comparison module When time is more than the first setting time, setting network domain name is performed network quality detection operation;
Comparison module, when the response time and first operated network quality detection for comparing server network access point sets Between size;And for comparing setting network domain name, the response time and second of network quality detection operation is set the time Size;
Determine module, for comparing the response to network quality detection operation of the server network access point when described comparison module When time is less than or equal to the first setting time, determine the network quality high-quality of described server network access point;And work as institute State comparison module compare setting network domain name to network quality detection operation response time less than or equal to second setting time Between time, determine that the network quality of described server network access point is non-prime, wherein, first sets the time more than or equal to second The setting time.
Device the most according to claim 8, it is characterised in that this device farther includes:
More new module, for when there is not the good service device network insertion point list that described APP is associated in this locality, in this locality Set up the good service device network insertion point list being associated with described APP, the good service device network insertion point range of this foundation The network quality quality services device Network Access Point determined of table record;And, when this locality exists what described APP was associated During good service device network insertion point list, replace described excellent with the network quality quality services device Network Access Point determined Server network access point in matter server network access point list.
Device the most according to claim 8, it is characterised in that this device farther includes:
Memory module, for storing the alternate servers network insertion point list that described APP is associated;Described APP is associated Each server network access point is: each clothes of record in the alternate servers network insertion point list that described APP is associated Business device Network Access Point.
11. devices according to claim 10, it is characterised in that this device farther includes:
Link block, is used for when described APP connects network,
When this locality exists the good service device network insertion point list that described APP is associated, described APP attempt excellent with described Server network access point in matter server network access point list is set up and is connected, until being successfully established connection;
When APP attempts setting up connection failure with each server network access point in good service device network insertion point list, Or, when this locality does not exist the good service device network insertion point list that described APP is associated, attempt and institute described APP State each server network access point in the alternate servers network insertion point list of memory module storage and set up connection, until It is successfully established connection.
12. 1 kinds of network quality detecting devices, it is characterised in that this device is applied to and the server net applying APP to be associated Network access point, including:
Acquisition module, for obtaining the server network access point being associated with described APP newly increased;
Notification module, for after APP is successfully connected to book server Network Access Point, is associated what this newly increased with APP Server network access point notify to APP;
Respond module, for when described APP performs network quality detection operation to book server Network Access Point, to described net The operation of network quality detection responds.
13. devices according to claim 12, it is characterised in that described acquisition module by upgrading configuration mode, put right Point P2P mode or node identification NameNode informing mode obtain the server network being associated with APP newly increased and access Point.
14. 1 kinds of network quality detecting devices, it is characterised in that including: processor;For storing processor executable Memorizer;Wherein, described processor is configured to:
The each server network access point being associated locally applied APP performs network quality detection operation;
Relatively server network access point sets the time to the response time and first of network quality detection operation;
When described server network access point was less than or equal to for the first setting time to the response time of network quality detection operation Time, determine the network quality high-quality of described server network access point;
When described server network access point sets the time to the response time of network quality detection operation more than first, to setting Determine domain names and perform network quality detection operation, when the response time of network quality detection operation is less than by setting network domain name Or during equal to the second setting time, determine that the network quality of described server network access point is non-prime, wherein, during the first setting Between more than or equal to second setting the time.
15. 1 kinds of network quality detecting devices, it is characterised in that including: processor;For storing processor executable Memorizer;Wherein, described processor is configured to:
Obtain the server network access point being associated with described APP newly increased;
After APP is successfully connected to book server Network Access Point, this server network being associated with APP newly increased is connect Access point notifies to APP;
When described APP performs network quality detection operation to book server Network Access Point, to described network quality detection behaviour Make to respond.
CN201610500841.8A 2016-06-29 2016-06-29 Network quality detection method and device Active CN106100888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610500841.8A CN106100888B (en) 2016-06-29 2016-06-29 Network quality detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610500841.8A CN106100888B (en) 2016-06-29 2016-06-29 Network quality detection method and device

Publications (2)

Publication Number Publication Date
CN106100888A true CN106100888A (en) 2016-11-09
CN106100888B CN106100888B (en) 2019-04-16

Family

ID=57213917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610500841.8A Active CN106100888B (en) 2016-06-29 2016-06-29 Network quality detection method and device

Country Status (1)

Country Link
CN (1) CN106100888B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900388A (en) * 2018-08-20 2018-11-27 连尚(新昌)网络科技有限公司 Method and apparatus for monitor network quality

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204349A (en) * 2008-09-29 2011-09-28 株式会社东芝 Pre-evaluation of multiple network access points
CN102625469A (en) * 2011-11-01 2012-08-01 北京小米科技有限责任公司 Method for mobile terminal to gain access to mobile internet
CN106211277A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 The method and device of intelligent selection server network access point

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204349A (en) * 2008-09-29 2011-09-28 株式会社东芝 Pre-evaluation of multiple network access points
CN102625469A (en) * 2011-11-01 2012-08-01 北京小米科技有限责任公司 Method for mobile terminal to gain access to mobile internet
CN106211277A (en) * 2016-06-29 2016-12-07 北京小米移动软件有限公司 The method and device of intelligent selection server network access point

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900388A (en) * 2018-08-20 2018-11-27 连尚(新昌)网络科技有限公司 Method and apparatus for monitor network quality

Also Published As

Publication number Publication date
CN106100888B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US10958524B2 (en) Method for generating network slice template and for applying network slice template, and apparatus
US11258667B2 (en) Network management method and related device
WO2017088703A1 (en) Page jumping method and apparatus
US10229039B2 (en) Testing a virtual network function by a virtual network tester
JP5945074B2 (en) Method, device, and mobile terminal for API intercept related applications
CN105228182B (en) Dual-card configuration method and device of multi-mode dual-card mobile terminal
US10541862B2 (en) VNF processing policy determining method, apparatus, and system
CN105897947B (en) The Network Access Method and device of mobile terminal
CN108234164B (en) Cluster deployment method and device
JP6389319B2 (en) Roaming network access method and apparatus
CN107005435B (en) Network service descriptor shelving method and device
CN106844213A (en) A kind of front end method of testing and device
CN109391514B (en) High-availability-based equipment deployment method, server, storage medium and device
CN101014168A (en) Multi-network mode switching method and apparatus
CN105721203A (en) Upgrade processing method and device
CN105930191A (en) System service reloading method and apparatus
WO2016082517A1 (en) Method and device for recovering network connection
CN104020999A (en) Management method and system of application programs
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
CN109802842B (en) Application topology generation method and related equipment
CN110011877A (en) A kind of switch test method and apparatus
CN112291365A (en) Access balance processing method and device, computer equipment and storage medium
CN107888434A (en) Network equipments configuration synchronous method and device
CN106028309A (en) Method and device for recovering master SIM (Subscriber Identity Module Card) in dual SIM dual standby terminal to data network
WO2017181465A1 (en) Access point name configuration method and device

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