CN104955095A - Communication network detection method and communication network detection device - Google Patents

Communication network detection method and communication network detection device Download PDF

Info

Publication number
CN104955095A
CN104955095A CN201510328974.7A CN201510328974A CN104955095A CN 104955095 A CN104955095 A CN 104955095A CN 201510328974 A CN201510328974 A CN 201510328974A CN 104955095 A CN104955095 A CN 104955095A
Authority
CN
China
Prior art keywords
network
communication network
detection
request
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510328974.7A
Other languages
Chinese (zh)
Inventor
陈静聪
李斌
侯红君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510328974.7A priority Critical patent/CN104955095A/en
Publication of CN104955095A publication Critical patent/CN104955095A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0072Transmission or use of information for re-establishing the radio link of resource information of target access point

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a communication network detection method and a communication network detection device, wherein the method comprises the following steps of obtaining access point information of the current communication network, and adopting the access point information to obtain address information of a communication transit server; sending a detection request carrying a network detection data packet to the communication transit server on the basis of the address information so that the communication transit server returns a detection response message carrying the network detection data packet so as to respond to the detection request; obtaining the network state information of the communication network according to the detection request and the detection response information, and determining the quality detection result of the communication network according to the network state information. When the method and the device are adopted, the quality detection result of the current communication network can be determined on the basis of the interaction with the communication transit server, and the quality detection accuracy of the communication network is improved.

Description

A kind of communication network detection method and device thereof
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of communication network detection method and device thereof.
Background technology
Along with Internet technology is constantly developed and perfect, the terminal such as mobile phone and panel computer has become a part indispensable in people's life, except the existing system communication based on terminal (such as: converse, send short messages), people can also utilize these terminals to carry out network service.
Along with the development of technology, terminal can detect the quality of communication network before carrying out network service, existing detection mode normally judges based on the type of present communications network, such as: current communication network is Wireless Fidelity (Wireless-Fidelity, Wi-Fi) network, then think that the testing result of present communications network is that network condition is good; Current communication network is second generation mobile communication technical specification (2-Generation Wireless Telephone Technology, 2G) network, then think that the testing result of present communications network is network condition difference etc., but be also subject to the impact of the factor such as bandwidth, signal strength signal intensity due to the quality of communication network, therefore be only cannot well be detected the quality of communication network by communication network type, reduce the accuracy of the quality testing to communication network.
Summary of the invention
The embodiment of the present invention provides a kind of communication network detection method and device thereof, based on the quality measurements determining present communications network alternately with the transfer server that communicates, can promote the accuracy of the quality testing to communication network.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect provides a kind of communication network detection method, can comprise:
Obtain the access-in point information of present communications network, and adopt the address information of described access-in point information obtaining communication transfer server;
Send the detection request carrying network detection packet based on described address information to described communication transfer server, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
According to the described network state information detecting communication network described in request and described detection response information acquisition, and determine the quality measurements of described communication network according to described network state information.
Embodiment of the present invention second aspect provides a kind of communication network checkout gear, can comprise:
Information acquisition unit, for obtaining the access-in point information of present communications network, and adopts the address information of described access-in point information obtaining communication transfer server;
Request transmitting unit, for sending the detection request carrying network detection packet to described communication transfer server based on described address information, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
Result determining unit, for the network state information of communication network according to described detection request and described detection response information acquisition, and determines the quality measurements of described communication network according to described network state information.
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network.
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.
Fig. 1 is the schematic flow sheet of a kind of communication network detection method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of communication network detection method that the embodiment of the present invention provides;
Fig. 3 is the flow process sequential chart of a kind of communication network detection method that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of communication network checkout gear that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the information acquisition unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the result determining unit that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of communication network checkout gear that the embodiment of the present invention provides.
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.
The communication network detection method that the embodiment of the present invention provides can be applied to before carrying out network service the scene that present communications network quality detects, such as: communication network checkout gear obtains the access-in point information of present communications network, and adopt the address information of described access-in point information obtaining communication transfer server, described communication network checkout gear sends the detection request carrying network detection packet to described communication transfer server based on described address information, the detection response message of described network detection packet is carried to respond described detection request to make described communication transfer server return, described communication network checkout gear is according to the described network state information detecting communication network described in request and described detection response information acquisition, and the scene etc. of the quality measurements of described communication network is determined according to described network state information.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network.
The communication network checkout gear that the embodiment of the present invention relates to can comprise: panel computer, smart mobile phone, notebook computer, palmtop PC, personal computer and mobile internet device (MID) etc. possess the terminal equipment of network communicating function; Described communication transfer server is used for carrying out the background server system of in network service process, communication data being carried out to transfer of data transfer; The wireless network that described communication network provides for carrying out network service between user for Virtual network operator, described wireless network can include but not limited to Wi-Fi network, 2G network, G mobile communication (3 rd-Generation, 3G) network, forth generation mobile communication technology (The 4 thgeneration Mobile Communication Technology, 4G) network etc.
Below in conjunction with accompanying drawing 1 and accompanying drawing 2, a kind of communication network detection method that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of communication network detection method.As shown in Figure 1, the described method of the embodiment of the present invention can comprise the following steps S101-step S103.
S101, obtains the access-in point information of present communications network, and adopts the address information of described access-in point information obtaining communication transfer server;
Concrete, when communication network checkout gear detects that current network communications applications is opened, such as: when the client main program of network communication applications starts, or client main program is adjusted to foreground display during from backstage, described communication network checkout gear can obtain the access-in point information of current communication network, described access-in point information can comprise the ownership place of described client, the access point etc. of communication network, and described communication network checkout gear can adopt the address information of described access-in point information obtaining communication transfer server.
S102, send the detection request carrying network detection packet based on described address information to described communication transfer server, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
Concrete, described communication network checkout gear is based on described address information, can send to described communication transfer server and carry the detection request that network detects packet, described communication transfer server, after receiving described detection request, can return the detection response message carrying described network detection packet and ask to respond described detection.Further, described communication network checkout gear can send every preset time period the detection request carrying network detection packet to described communication transfer server based on described address information, the detection request that described communication transfer server can send every preset time period according to described communication network checkout gear, returns detection response message respectively to described communication network checkout gear.
S103, according to the described network state information detecting communication network described in request and described detection response information acquisition, and determines the quality measurements of described communication network according to described network state information;
Concrete, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear can according to the described network state information detecting communication network described in request and described detection response information acquisition, described network state information specifically can comprise at least one in the network transmitting-receiving deferred message of described communication network and the packet loss of described communication network, described communication network checkout gear can detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition and/or the packet loss of described communication network according to described, and the quality measurements of described communication network is finally determined according to described network transmitting-receiving deferred message and/or described packet loss, described communication network checkout gear can process described network communication requests accordingly according to described quality measurements, such as: if described quality measurements represents that the network condition of described communication network is good, then can respond described network communication requests and initiate network service, if described quality measurements represents that the network condition of described communication network is poor, then can export information to communicate to point out user to be converted to system communication mode, described system communication mode is the communicating number (such as: phone number etc.) by obtaining at common carrier, and provided system communication platform carries out system communication (such as: converse, send short messages).
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of communication network detection method.As shown in Figure 2, the described method of the embodiment of the present invention can comprise the following steps S201-step S207.
S201, obtains the access-in point information of present communications network;
Concrete, when communication network checkout gear detects that current network communications applications is opened, such as: when the client main program of network communication applications starts, or client main program is adjusted to foreground display during from backstage, described communication network checkout gear can obtain the access-in point information of current communication network, and described access-in point information can comprise the ownership place of described client, the access point etc. of communication network.
S202, is sent to address lookup server by described access-in point information, adopts preset the address information that lookup algorithm obtains communication transfer server corresponding to described access-in point information to make described address lookup server;
S203, receives the described address information that described address lookup server returns;
Concrete, described access-in point information can be sent to address lookup server with the address information of acquisition request communication transfer server by described communication network checkout gear, the address information of communication transfer server corresponding to access-in point information is stored in described address lookup server, be understandable that, for the access-in point information of different geographical, the transfer server that communicates accordingly can be configured, described address lookup server also can adopt according to described access-in point information and preset the address information that lookup algorithm obtains corresponding communication transfer server, described default lookup algorithm specifically may be used for the address information of searching the communication transfer server the most close with described access-in point information, the address information of described communication transfer server can be back to described communication network checkout gear by described address lookup server, described communication network checkout gear receives the described address information that described address lookup server returns.
S204, send the detection request carrying network detection packet based on described address information to described communication transfer server, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
Concrete, described communication network checkout gear is based on described address information, can send to described communication transfer server and carry the detection request that network detects packet, described communication transfer server, after receiving described detection request, can return the detection response message carrying described network detection packet and ask to respond described detection.Further, described communication network checkout gear can send every preset time period the detection request carrying network detection packet to described communication transfer server based on described address information, the detection request that described communication transfer server can send every preset time period according to described communication network checkout gear, returns detection response message respectively to described communication network checkout gear.
Described communication network checkout gear can according to the described network state information detecting communication network described in request and described detection response information acquisition, it should be noted that, described network state information specifically can comprise at least one in the network transmitting-receiving deferred message of described communication network and the packet loss of described communication network, described communication network checkout gear can detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition and/or the packet loss of described communication network according to described, and the quality measurements of described communication network is finally determined according to described network transmitting-receiving deferred message and/or described packet loss, described communication network checkout gear can process described network communication requests accordingly according to described quality measurements, such as: if described quality measurements represents that the network condition of described communication network is good, then can respond described network communication requests and initiate network service, if described quality measurements represents that the network condition of described communication network is poor, then can export information to communicate to point out user to be converted to system communication mode, described system communication mode is the communicating number (such as: phone number etc.) by obtaining at common carrier, and provided system communication platform carries out system communication (such as: converse, send short messages).
Describe in detail to the obtain manner of the network transmitting-receiving deferred message of communication network and the packet loss of communication network below, be understandable that, the step S205 of the embodiment of the present invention and S206 is all as optional step, corresponding step can be performed, such as: only perform step S205, only execution step S206 or perform step S205 and S206 simultaneously according to different detection demands.
S205, according to the described network transmitting-receiving deferred message detecting communication network described in request and described detection response information acquisition;
Concrete, for described network transmitting-receiving deferred message, described network detects in packet and can include very first time stamp, described very first time stamp is for representing the described transmitting time detecting request, be understandable that, the detection request that different time sends, the very first time stamp that the network that it carries detects in packet is all not identical, therefore, described detection request and described detection response message carry out one_to_one corresponding by described very first time stamp, described communication network checkout gear can obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate according to described very first time stamp and described second timestamp the transmitting-receiving time interval that described network detects packet, based on aforementioned one or more sent detection request, correspondence can receive one or more detection response message, described communication network checkout gear can adopt the mode of sequence to store at least one obtained transmitting-receiving time interval in advance, when described communication network checkout gear detects that described client initiates network communication requests, the network that described communication network checkout gear can calculate described communication network according at least one transmitting-receiving time interval described receives and dispatches deferred message, such as: suppose that the transmitting-receiving time interval is expressed as A, then N number of transmitting-receiving time interval can be expressed as A 1, A 2..., A n, the network transmitting-receiving deferred message of described communication network can be expressed as: (A 1+ A 2+ ... + A n)/(2*N).By the mode that the transmitting-receiving time interval detecting packet to network in advance calculates, the follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened, and then improve the efficiency that communication network quality is detected.Certainly, described second timestamp also can to mark in described detection response message and to store by described communication network checkout gear in advance, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear carries out the calculating of receiving and dispatching the time interval again, then computing network transmitting-receiving deferred message.
S206, according to the described packet loss detecting communication network described in request and described detection response information acquisition;
Concrete, for described packet loss, described communication network checkout gear can also be added up the reception number of described the transmission number and described detection response message that detect request in advance, preferably, two global variables can be stored in described communication network checkout gear, be respectively the first global variable and the second global variable, wherein, first global variable is for representing the current described transmission number detecting request, second global variable is for representing the reception number of current detection response message, follow-up whenever sending one again and detecting request, namely 1 is added to described first global variable, and detect response message whenever receiving one again, namely 1 is added to described second global variable, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear can calculate the packet loss of described communication network according to described transmission number and described reception number, namely directly the currency of the first global variable and the currency of the second global variable is obtained, and the packet loss of described communication network is calculated according to the currency of the first global variable and the currency of the second global variable.Adding up by quoting the reception number of global variable to the transmission number and detection response message that detect request in advance, the efficiency that the follow-up packet loss to communication network calculates can be shortened, and then improve the efficiency that communication network quality is detected.
S207, determines the quality measurements of described communication network according to described network transmitting-receiving deferred message and/or described packet loss;
Concrete, be previously provided with transmitting-receiving in described communication network checkout gear and postpone threshold value and/or packet loss threshold value, if the network state information that described communication network checkout gear obtains is the network transmitting-receiving deferred message of described communication network, when described network transmitting-receiving deferred message meets described transmitting-receiving delay threshold value, such as: when described network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value, determine that described quality measurements is that the network condition of described communication network is good.In like manner, if the network state information that described communication network checkout gear obtains is the packet loss of described communication network, when described packet loss meets described packet loss threshold value, such as: when described packet loss is greater than described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described packet loss is less than or equal to described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is good.If the network state information that described communication network checkout gear obtains is network transmitting-receiving deferred message and the packet loss of described communication network, then need to adopt transmitting-receiving delay threshold value and packet loss threshold value to judge network transmitting-receiving deferred message and packet loss simultaneously, when occurring that network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value and/or when described packet loss is greater than described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value and described packet loss is less than or equal to described packet loss threshold value time, determine that described quality measurements is that the network condition of described communication network is good.
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network; By detecting to network mode that transmitting-receiving time interval of packet calculates in advance and/or in advance to the mode that the transmission number detecting request and the reception number that detects response message are added up, follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened and/or shorten the efficiency that the follow-up packet loss to communication network calculates, and then improving the efficiency to communication network quality detection.
Refer to Fig. 3, for embodiments providing a kind of flow process sequential chart of communication network detection method.As shown in Figure 3, the described method of the embodiment of the present invention can comprise the following steps S301-step S307.
S301, communication network checkout gear detects the client main program starting network communication applications;
Concrete, whether described communication network checkout gear detects current network communications applications and is unlocked, such as: when the client main program of network communication applications starts, or client main program is adjusted to foreground display from backstage, described communication network checkout gear can determine that described network communication applications is unlocked.
S302, described communication network checkout gear is to the address information of address lookup server request obtaining communication transfer server;
Concrete, when described communication network checkout gear detects that current network communications applications is opened, described communication network checkout gear can obtain the access-in point information of current communication network, described access-in point information can comprise the ownership place of described client, the access point etc. of communication network, and described access-in point information can be sent to address lookup server with the address information of acquisition request communication transfer server by described communication network checkout gear.
S303, described address lookup server returns described address information;
Concrete, for the access-in point information of different geographical, the transfer server that communicates accordingly can be configured, described address lookup server also can adopt according to described access-in point information and preset the address information that lookup algorithm obtains corresponding communication transfer server, described default lookup algorithm specifically may be used for the address information of searching the communication transfer server the most close with described access-in point information, the address information of described communication transfer server can be back to described communication network checkout gear by described address lookup server, described communication network checkout gear receives the described address information that described address lookup server returns.
S304, described communication network checkout gear sends to described communication transfer server and carries the detection request that network detects packet;
S305, described communication transfer server returns and carries the detection response message that described network detects packet;
Concrete, described communication network checkout gear is based on described address information, can send to described communication transfer server and carry the detection request that network detects packet, described communication transfer server, after receiving described detection request, can return the detection response message carrying described network detection packet and ask to respond described detection.Further, described communication network checkout gear can send every preset time period the detection request carrying network detection packet to described communication transfer server based on described address information, the detection request that described communication transfer server can send every preset time period according to described communication network checkout gear, returns detection response message respectively to described communication network checkout gear.
Described communication network checkout gear can according to the described network state information detecting communication network described in request and described detection response information acquisition, it should be noted that, described network state information specifically can comprise at least one in the network transmitting-receiving deferred message of described communication network and the packet loss of described communication network, described communication network checkout gear can detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition and/or the packet loss of described communication network according to described, and the quality measurements of described communication network is finally determined according to described network transmitting-receiving deferred message and/or described packet loss, described communication network checkout gear can process described network communication requests accordingly according to described quality measurements, such as: if described quality measurements represents that the network condition of described communication network is good, then can respond described network communication requests and initiate network service, if described quality measurements represents that the network condition of described communication network is poor, then can export information to communicate to point out user to be converted to system communication mode, described system communication mode is the communicating number (such as: phone number etc.) by obtaining at common carrier, and provided system communication platform carries out system communication (such as: converse, send short messages).
S306, described communication network checkout gear detects described client and initiates network communication requests;
S307, described communication network checkout gear obtains the network state information of described communication network, and determines the quality measurements of described communication network according to described network state information;
Concrete, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear can according to the described network state information detecting communication network described in request and described detection response information acquisition, described network state information specifically can comprise at least one in the network transmitting-receiving deferred message of described communication network and the packet loss of described communication network, described communication network checkout gear can detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition and/or the packet loss of described communication network according to described, and the quality measurements of described communication network is finally determined according to described network transmitting-receiving deferred message and/or described packet loss, described communication network checkout gear can process described network communication requests accordingly according to described quality measurements, such as: if described quality measurements represents that the network condition of described communication network is good, then can respond described network communication requests and initiate network service, if described quality measurements represents that the network condition of described communication network is poor, then can export information to communicate to point out user to be converted to system communication mode, described system communication mode is the communicating number (such as: phone number etc.) by obtaining at common carrier, and provided system communication platform carries out system communication (such as: converse, send short messages).
Optionally, for described network transmitting-receiving deferred message, described network detects in packet and can include very first time stamp, described very first time stamp is for representing the described transmitting time detecting request, be understandable that, the detection request that different time sends, the very first time stamp that the network that it carries detects in packet is all not identical, therefore, described detection request and described detection response message carry out one_to_one corresponding by described very first time stamp, described communication network checkout gear can obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate according to described very first time stamp and described second timestamp the transmitting-receiving time interval that described network detects packet, based on aforementioned one or more sent detection request, correspondence can receive one or more detection response message, described communication network checkout gear can adopt the mode of sequence to store at least one obtained transmitting-receiving time interval in advance, when described communication network checkout gear detects that described client initiates network communication requests, the network that described communication network checkout gear can calculate described communication network according at least one transmitting-receiving time interval described receives and dispatches deferred message, such as: suppose that the transmitting-receiving time interval is expressed as A, then N number of transmitting-receiving time interval can be expressed as A 1, A 2..., A n, the network transmitting-receiving deferred message of described communication network can be expressed as: (A 1+ A 2+ ... + A n)/(2*N).By the mode that the transmitting-receiving time interval detecting packet to network in advance calculates, the follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened, and then improve the efficiency that communication network quality is detected.Certainly, described second timestamp also can to mark in described detection response message and to store by described communication network checkout gear in advance, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear carries out the calculating of receiving and dispatching the time interval again, then computing network transmitting-receiving deferred message.
Optionally, for described packet loss, described communication network checkout gear can also be added up the reception number of described the transmission number and described detection response message that detect request in advance, preferably, two global variables can be stored in described communication network checkout gear, be respectively the first global variable and the second global variable, wherein, first global variable is for representing the current described transmission number detecting request, second global variable is for representing the reception number of current detection response message, follow-up whenever sending one again and detecting request, namely 1 is added to described first global variable, and detect response message whenever receiving one again, namely 1 is added to described second global variable, when described communication network checkout gear detects that described client initiates network communication requests, described communication network checkout gear can calculate the packet loss of described communication network according to described transmission number and described reception number, namely directly the currency of the first global variable and the currency of the second global variable is obtained, and the packet loss of described communication network is calculated according to the currency of the first global variable and the currency of the second global variable.Adding up by quoting the reception number of global variable to the transmission number and detection response message that detect request in advance, the efficiency that the follow-up packet loss to communication network calculates can be shortened, and then improve the efficiency that communication network quality is detected.
Be previously provided with transmitting-receiving in described communication network checkout gear and postpone threshold value and/or packet loss threshold value, if the network state information that described communication network checkout gear obtains is the network transmitting-receiving deferred message of described communication network, when described network transmitting-receiving deferred message meets described transmitting-receiving delay threshold value, such as: when described network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value, determine that described quality measurements is that the network condition of described communication network is good.In like manner, if the network state information that described communication network checkout gear obtains is the packet loss of described communication network, when described packet loss meets described packet loss threshold value, such as: when described packet loss is greater than described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described packet loss is less than or equal to described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is good.If the network state information that described communication network checkout gear obtains is network transmitting-receiving deferred message and the packet loss of described communication network, then need to adopt transmitting-receiving delay threshold value and packet loss threshold value to judge network transmitting-receiving deferred message and packet loss simultaneously, when occurring that network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value and/or when described packet loss is greater than described packet loss threshold value, determine that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value and described packet loss is less than or equal to described packet loss threshold value time, determine that described quality measurements is that the network condition of described communication network is good.
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network; By detecting to network mode that transmitting-receiving time interval of packet calculates in advance and/or in advance to the mode that the transmission number detecting request and the reception number that detects response message are added up, follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened and/or shorten the efficiency that the follow-up packet loss to communication network calculates, and then improving the efficiency to communication network quality detection.
Below in conjunction with accompanying drawing 4-accompanying drawing 6, the communication network checkout gear that the embodiment of the present invention provides is described in detail.It should be noted that, communication network checkout gear shown in accompanying drawing 4-accompanying drawing 6, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Refer to Fig. 4, for embodiments providing a kind of structural representation of communication network checkout gear.As shown in Figure 4, the described communication network checkout gear 1 of the embodiment of the present invention can comprise:
Information acquisition unit 11, for obtaining the access-in point information of present communications network, and adopts the address information of described access-in point information obtaining communication transfer server;
In specific implementation, when described communication network checkout gear 1 detects that current network communications applications is opened, such as: when the client main program of network communication applications starts, or client main program is adjusted to foreground display during from backstage, described communication network checkout gear 1 can obtain the access-in point information of current communication network, described access-in point information can comprise the ownership place of described client, the access point etc. of communication network, and described information acquisition unit 11 can adopt the address information of described access-in point information obtaining communication transfer server.
Concrete, please also refer to Fig. 5, for embodiments providing the structural representation of information acquisition unit.As shown in Figure 5, described information acquisition unit 11 can comprise:
Acquisition of information subelement 111, for obtaining the access-in point information of present communications network;
In specific implementation, when described communication network checkout gear 1 detects that current network communications applications is opened, such as: when the client main program of network communication applications starts, or client main program is adjusted to foreground display during from backstage, described acquisition of information subelement 111 can obtain the access-in point information of current communication network, and described access-in point information can comprise the ownership place of described client, the access point etc. of communication network.
Information sends subelement 112, for described access-in point information is sent to address lookup server, adopts preset the address information that lookup algorithm obtains communication transfer server corresponding to described access-in point information to make described address lookup server;
Receives information subelement 113, for receiving the described address information that described address lookup server returns;
In specific implementation, described information sends subelement 112 can be sent to address lookup server with the address information of acquisition request communication transfer server by described access-in point information, the address information of communication transfer server corresponding to access-in point information is stored in described address lookup server, be understandable that, for the access-in point information of different geographical, the transfer server that communicates accordingly can be configured, described address lookup server also can adopt according to described access-in point information and preset the address information that lookup algorithm obtains corresponding communication transfer server, described default lookup algorithm specifically may be used for the address information of searching the communication transfer server the most close with described access-in point information, the address information of described communication transfer server can be back to described communication network checkout gear 1 by described address lookup server, described receives information subelement 113 receives the described address information that described address lookup server returns.
Request transmitting unit 12, for sending the detection request carrying network detection packet to described communication transfer server based on described address information, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
In specific implementation, described request transmitting element 12 is based on described address information, can send to described communication transfer server and carry the detection request that network detects packet, described communication transfer server, after receiving described detection request, can return the detection response message carrying described network detection packet and ask to respond described detection.Further, described request transmitting element 12 can send every preset time period the detection request carrying network detection packet to described communication transfer server based on described address information, the detection request that described communication transfer server can send every preset time period according to described request transmitting element 12, returns detection response message respectively to described communication network checkout gear 1.
Result determining unit 13, for the network state information of communication network according to described detection request and described detection response information acquisition, and determines the quality measurements of described communication network according to described network state information;
In specific implementation, when described communication network checkout gear 1 detects that described client initiates network communication requests, described result determining unit 13 can according to the described network state information detecting communication network described in request and described detection response information acquisition, described network state information specifically can comprise at least one in the network transmitting-receiving deferred message of described communication network and the packet loss of described communication network, described result determining unit 13 can detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition and/or the packet loss of described communication network according to described, and the quality measurements of described communication network is finally determined according to described network transmitting-receiving deferred message and/or described packet loss, described communication network checkout gear 1 can process described network communication requests accordingly according to described quality measurements, such as: if described quality measurements represents that the network condition of described communication network is good, then can respond described network communication requests and initiate network service, if described quality measurements represents that the network condition of described communication network is poor, then can export information to communicate to point out user to be converted to system communication mode, described system communication mode is the communicating number (such as: phone number etc.) by obtaining at common carrier, and provided system communication platform carries out system communication (such as: converse, send short messages).
Concrete, please also refer to Fig. 6, for embodiments providing the structural representation of result determining unit.As shown in Figure 6, described result determining unit 13 can comprise:
Deferred message obtains subelement 131, for receiving and dispatching deferred message according to the described network detecting communication network described in request and described detection response information acquisition;
In specific implementation, for described network transmitting-receiving deferred message, described network detects in packet and can include very first time stamp, described very first time stamp is for representing the described transmitting time detecting request, be understandable that, the detection request that different time sends, the very first time stamp that the network that it carries detects in packet is all not identical, therefore, described detection request and described detection response message carry out one_to_one corresponding by described very first time stamp, described deferred message obtains subelement 131 and can obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate according to described very first time stamp and described second timestamp the transmitting-receiving time interval that described network detects packet, based on aforementioned one or more sent detection request, correspondence can receive one or more detection response message, described communication network checkout gear 1 can adopt the mode of sequence to store at least one obtained transmitting-receiving time interval in advance, when described communication network checkout gear 1 detects that described client initiates network communication requests, the network that described deferred message acquisition subelement 131 can calculate described communication network according at least one transmitting-receiving time interval described receives and dispatches deferred message, such as: suppose that the transmitting-receiving time interval is expressed as A, then N number of transmitting-receiving time interval can be expressed as A 1, A 2..., A n, the network transmitting-receiving deferred message of described communication network can be expressed as: (A 1+ A 2+ ... + A n)/(2*N).By the mode that the transmitting-receiving time interval detecting packet to network in advance calculates, the follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened, and then improve the efficiency that communication network quality is detected.Certainly, described second timestamp also can to mark in described detection response message and to store by described communication network checkout gear 1 in advance, when described communication network checkout gear 1 detects that described client initiates network communication requests, described deferred message obtains the calculating that subelement 131 carries out receiving and dispatching the time interval again, then computing network transmitting-receiving deferred message.
Packet loss obtains subelement 132, for the packet loss of communication network according to described detection request and described detection response information acquisition;
In specific implementation, for described packet loss, described packet loss obtains subelement 132 and can also add up the reception number of described the transmission number and described detection response message that detect request in advance, preferably, described packet loss obtains in subelement 132 can store two global variables, be respectively the first global variable and the second global variable, wherein, first global variable is for representing the current described transmission number detecting request, second global variable is for representing the reception number of current detection response message, follow-up whenever sending one again and detecting request, namely 1 is added to described first global variable, and detect response message whenever receiving one again, namely 1 is added to described second global variable, when described communication network checkout gear 1 detects that described client initiates network communication requests, described packet loss obtains subelement 132 can calculate described communication network packet loss according to described transmission number and described reception number, namely directly the currency of the first global variable and the currency of the second global variable is obtained, and the packet loss of described communication network is calculated according to the currency of the first global variable and the currency of the second global variable.Adding up by quoting the reception number of global variable to the transmission number and detection response message that detect request in advance, the efficiency that the follow-up packet loss to communication network calculates can be shortened, and then improve the efficiency that communication network quality is detected.
It should be noted that, the obtain manner of the packet loss of obtaining communication network of network transmitting-receiving deferred message and/or communication network can be selected according to different detection demands in the embodiment of the present invention, when needs obtaining communication network of network transmitting-receiving deferred message, can notify that deferred message obtains subelement 131 and performs according to the described network transmitting-receiving deferred message detecting communication network described in request and described detection response information acquisition; When needing the packet loss of obtaining communication network, can notify that packet loss obtains subelement 132 and performs according to the described packet loss detecting communication network described in request and described detection response information acquisition; When needing obtaining communication network of network simultaneously to receive and dispatch the packet loss of deferred message and communication network, can notify that deferred message obtains subelement 131 and performs the network transmitting-receiving deferred message of communication network according to described detection request and described detection response information acquisition and notify that packet loss obtains the packet loss that subelement 132 performs communication network according to described detection request and described detection response information acquisition simultaneously.
Result determination subelement 133, the packet loss that network transmitting-receiving deferred message and/or described packet loss acquisition subelement for obtaining subelement acquisition according to described deferred message obtain determines the quality measurements of described communication network;
In specific implementation, be previously provided with transmitting-receiving in described result determination subelement 133 and postpone threshold value and/or packet loss threshold value, if the network state information obtained is the network transmitting-receiving deferred message of described communication network, when described network transmitting-receiving deferred message meets described transmitting-receiving delay threshold value, such as: when described network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is good.In like manner, if the network state information obtained is the packet loss of described communication network, when described packet loss meets described packet loss threshold value, such as: when described packet loss is greater than described packet loss threshold value, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is poor; When described packet loss is less than or equal to described packet loss threshold value, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is good.If the network state information obtained is network transmitting-receiving deferred message and the packet loss of described communication network, then need to adopt transmitting-receiving delay threshold value and packet loss threshold value to judge network transmitting-receiving deferred message and packet loss simultaneously, when occurring that network transmitting-receiving deferred message is greater than described transmitting-receiving delay threshold value and/or when described packet loss is greater than described packet loss threshold value, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is poor; When described network transmitting-receiving deferred message is less than or equal to described transmitting-receiving delay threshold value and described packet loss is less than or equal to described packet loss threshold value time, described result determination subelement 133 determines that described quality measurements is that the network condition of described communication network is good.
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network; By detecting to network mode that transmitting-receiving time interval of packet calculates in advance and/or in advance to the mode that the transmission number detecting request and the reception number that detects response message are added up, follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened and/or shorten the efficiency that the follow-up packet loss to communication network calculates, and then improving the efficiency to communication network quality detection.
Refer to Fig. 7, for embodiments providing the structural representation of another kind of communication network checkout gear.As shown in Figure 7, described communication network checkout gear 1000 can comprise: at least one processor 1001, such as CPU, at least one network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies.Wherein, user interface 1003 can comprise display screen (Display), keyboard (Keyboard), and optional user interface 1003 can also comprise wireline interface, the wave point of standard.Network interface 1004 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Memory 1005 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 1005 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 1001.As shown in Figure 7, application program is detected as operating system, network communication module, Subscriber Interface Module SIM and network can be comprised in a kind of memory 1005 of computer-readable storage medium.
In the communication network checkout gear 1000 shown in Fig. 7, user interface 1003 is mainly used in, for user provides the interface of input, obtaining the data of user's input; Network interface 1004 is mainly used in carrying out transfer of data with server; And processor 1001 may be used for calling the network detection application program stored in memory 1005, and the following operation of concrete execution:
Obtain the access-in point information of present communications network, and adopt the address information of described access-in point information obtaining communication transfer server;
Send the detection request carrying network detection packet based on described address information to described communication transfer server, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
According to the described network state information detecting communication network described in request and described detection response information acquisition, and determine the quality measurements of described communication network according to described network state information.
In one embodiment, described processor 1001, when performing the address information adopting described access-in point information obtaining communication transfer server, specifically performs following operation:
Described access-in point information is sent to address lookup server, adopts to make described address lookup server and preset the address information that lookup algorithm obtains communication transfer server corresponding to described access-in point information;
Receive the described address information that described address lookup server returns.
In one embodiment, described processor 1001, when execution carries the detection request of network detection packet based on described address information to described communication transfer server transmission, operates below concrete execution:
Send the detection request carrying network detection packet to described communication transfer server based on described address information every preset time period.
In one embodiment, described processor 1001 is when performing the network state information of communication network according to described detection request and described detection response information acquisition, and concrete execution is following to be operated:
According to the described network transmitting-receiving deferred message detecting communication network described in request and described detection response information acquisition; And/or,
According to the described packet loss detecting communication network described in request and described detection response information acquisition;
Described processor 1001 is when execution determines the quality measurements of described communication network according to described network state information, and concrete execution is following to be operated:
The quality measurements of described communication network is determined according to described network transmitting-receiving deferred message and/or described packet loss.
In one embodiment, described network detects packet and comprises very first time stamp, and described very first time stamp is for representing the described transmitting time detecting request;
Described processor 1001 perform according to described detect the network transmitting-receiving deferred message of communication network described in request and described detection response information acquisition time, concrete perform following operation:
Obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate the transmitting-receiving time interval of described network detection packet according to described very first time stamp and described second timestamp;
The network transmitting-receiving deferred message of described communication network is calculated according at least one transmitting-receiving time interval.
In one embodiment, described processor 1001 is when performing the packet loss of communication network according to described detection request and described detection response information acquisition, and concrete execution is following to be operated:
Add up described and detect the transmission number of request and the reception number of described detection response message;
The packet loss of described communication network is calculated according to described transmission number and described reception number.
In embodiments of the present invention, by obtaining the address information of communication transfer server corresponding to present communications network, send to communication transfer server and carry the detection request that network detects packet, communication transfer server is returned and carries the detection response message of network detection packet to respond the request of detection, again according to the network state information detecting request and detection response information acquisition communication network, and finally according to the quality measurements of network state information determination communication network.Detecting the mutual in advance of packet by carrying out network with the transfer server that communicates, achieving and utilizing the request of pre-mutual generation and the quality measurements of message to communication network to determine, improving the accuracy of the quality testing to communication network; By detecting to network mode that transmitting-receiving time interval of packet calculates in advance and/or in advance to the mode that the transmission number detecting request and the reception number that detects response message are added up, follow-up efficiency that network transmitting-receiving deferred message is calculated can be shortened and/or shorten the efficiency that the follow-up packet loss to communication network calculates, and then improving the efficiency to communication network quality detection.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
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. a communication network detection method, is characterized in that, comprising:
Obtain the access-in point information of present communications network, and adopt the address information of described access-in point information obtaining communication transfer server;
Send the detection request carrying network detection packet based on described address information to described communication transfer server, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
According to the described network state information detecting communication network described in request and described detection response information acquisition, and determine the quality measurements of described communication network according to described network state information.
2. method according to claim 1, is characterized in that, the address information of described employing described access-in point information obtaining communication transfer server, comprising:
Described access-in point information is sent to address lookup server, adopts to make described address lookup server and preset the address information that lookup algorithm obtains communication transfer server corresponding to described access-in point information;
Receive the described address information that described address lookup server returns.
3. method according to claim 1, is characterized in that, the described detection request carrying network detection packet based on described address information to described communication transfer server transmission, comprising:
Send the detection request carrying network detection packet to described communication transfer server based on described address information every preset time period.
4. method according to claim 3, is characterized in that, described according to the described network state information detecting communication network described in request and described detection response information acquisition, comprising:
According to the described network transmitting-receiving deferred message detecting communication network described in request and described detection response information acquisition; And/or,
According to the described packet loss detecting communication network described in request and described detection response information acquisition;
The described quality measurements determining described communication network according to described network state information, comprising:
The quality measurements of described communication network is determined according to described network transmitting-receiving deferred message and/or described packet loss.
5. method according to claim 4, is characterized in that, described network detects packet and comprises very first time stamp, and described very first time stamp is for representing the described transmitting time detecting request;
Described according to the described network transmitting-receiving deferred message detecting communication network described in request and described detection response information acquisition, comprising:
Obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate the transmitting-receiving time interval of described network detection packet according to described very first time stamp and described second timestamp;
The network transmitting-receiving deferred message of described communication network is calculated according at least one transmitting-receiving time interval.
6. method according to claim 4, is characterized in that, described according to the described packet loss detecting communication network described in request and described detection response information acquisition, comprising:
Add up described and detect the transmission number of request and the reception number of described detection response message;
The packet loss of described communication network is calculated according to described transmission number and described reception number.
7. a communication network checkout gear, is characterized in that, comprising:
Information acquisition unit, for obtaining the access-in point information of present communications network, and adopts the address information of described access-in point information obtaining communication transfer server;
Request transmitting unit, for sending the detection request carrying network detection packet to described communication transfer server based on described address information, carry the detection response message of described network detection packet to respond described detection request to make described communication transfer server return;
Result determining unit, for the network state information of communication network according to described detection request and described detection response information acquisition, and determines the quality measurements of described communication network according to described network state information.
8. device according to claim 7, is characterized in that, described information acquisition unit comprises:
Acquisition of information subelement, for obtaining the access-in point information of present communications network;
Information sends subelement, for described access-in point information is sent to address lookup server, adopts preset the address information that lookup algorithm obtains communication transfer server corresponding to described access-in point information to make described address lookup server;
Receives information subelement, for receiving the described address information that described address lookup server returns.
9. device according to claim 7, is characterized in that, described request transmitting element is specifically for sending the detection request carrying network detection packet to described communication transfer server based on described address information every preset time period.
10. device according to claim 9, is characterized in that, described result determining unit comprises:
Deferred message obtains subelement, for receiving and dispatching deferred message according to the described network detecting communication network described in request and described detection response information acquisition; And/or,
Packet loss obtains subelement, for the packet loss of communication network according to described detection request and described detection response information acquisition;
Described result determining unit also comprises:
Result determination subelement, the packet loss that network transmitting-receiving deferred message and/or described packet loss acquisition subelement for obtaining subelement acquisition according to described deferred message obtain determines the quality measurements of described communication network.
11. devices according to claim 10, is characterized in that, described network detects packet and comprises very first time stamp, and described very first time stamp is for representing the described transmitting time detecting request;
Described deferred message obtain subelement specifically for:
Obtain and receive network described in described the second timestamp when detecting detection response message corresponding to request and described detection response message and detect the described very first time stamp that packet comprises, and calculate the transmitting-receiving time interval of described network detection packet according to described very first time stamp and described second timestamp;
The network transmitting-receiving deferred message of described communication network is calculated according at least one transmitting-receiving time interval.
12. devices according to claim 10, is characterized in that, described packet loss obtain subelement specifically for:
Add up described and detect the transmission number of request and the reception number of described detection response message;
The packet loss of described communication network is calculated according to described transmission number and described reception number.
CN201510328974.7A 2015-06-15 2015-06-15 Communication network detection method and communication network detection device Pending CN104955095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510328974.7A CN104955095A (en) 2015-06-15 2015-06-15 Communication network detection method and communication network detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510328974.7A CN104955095A (en) 2015-06-15 2015-06-15 Communication network detection method and communication network detection device

Publications (1)

Publication Number Publication Date
CN104955095A true CN104955095A (en) 2015-09-30

Family

ID=54169360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510328974.7A Pending CN104955095A (en) 2015-06-15 2015-06-15 Communication network detection method and communication network detection device

Country Status (1)

Country Link
CN (1) CN104955095A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376761A (en) * 2015-10-12 2016-03-02 腾讯科技(深圳)有限公司 Method, device and conversation system for establishing conversation connection
CN105491594A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Network connection processing method and device
WO2016188205A1 (en) * 2015-11-13 2016-12-01 中兴通讯股份有限公司 Method and device for acquiring network state information about bearer network, and computer storage medium
CN106411647A (en) * 2016-10-13 2017-02-15 腾讯科技(深圳)有限公司 Communication quality detection method and detection server
CN107920122A (en) * 2017-11-23 2018-04-17 杭州电魂网络科技股份有限公司 Game player's matching process, device, match server and readable storage medium storing program for executing
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN109951351A (en) * 2019-01-15 2019-06-28 兴业证券股份有限公司 Network test method and system based on market
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN112087773A (en) * 2019-05-27 2020-12-15 中国移动通信集团安徽有限公司 Method and system for testing access point in short number service
CN112134758A (en) * 2020-09-22 2020-12-25 上海茂声智能科技有限公司 Method and device for monitoring weak network environment and reconnecting communication session
CN113840319A (en) * 2020-06-23 2021-12-24 上海东方富联科技有限公司 Packet loss rate acquisition method, gateway coverage acquisition method, medium, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404768A (en) * 2011-11-22 2012-04-04 广东欧珀移动通信有限公司 Automatic test method for mobile phone data network
CN103052089A (en) * 2011-10-14 2013-04-17 腾讯科技(深圳)有限公司 Network detection method and network detection device for mobile terminal
KR20130111065A (en) * 2012-03-30 2013-10-10 삼지전자 주식회사 Method for remote monitoring long term evolution network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052089A (en) * 2011-10-14 2013-04-17 腾讯科技(深圳)有限公司 Network detection method and network detection device for mobile terminal
CN102404768A (en) * 2011-11-22 2012-04-04 广东欧珀移动通信有限公司 Automatic test method for mobile phone data network
KR20130111065A (en) * 2012-03-30 2013-10-10 삼지전자 주식회사 Method for remote monitoring long term evolution network

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376761B (en) * 2015-10-12 2019-01-11 腾讯科技(深圳)有限公司 Establish the method, apparatus and phone system of call connection
CN105376761A (en) * 2015-10-12 2016-03-02 腾讯科技(深圳)有限公司 Method, device and conversation system for establishing conversation connection
WO2016188205A1 (en) * 2015-11-13 2016-12-01 中兴通讯股份有限公司 Method and device for acquiring network state information about bearer network, and computer storage medium
CN105491594A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Network connection processing method and device
CN106411647A (en) * 2016-10-13 2017-02-15 腾讯科技(深圳)有限公司 Communication quality detection method and detection server
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit
CN108092837B (en) * 2016-11-21 2021-04-27 腾讯科技(深圳)有限公司 Network communication quality detection method, speed measurement server and network speed measurement plug-in
CN107920122A (en) * 2017-11-23 2018-04-17 杭州电魂网络科技股份有限公司 Game player's matching process, device, match server and readable storage medium storing program for executing
CN109951351A (en) * 2019-01-15 2019-06-28 兴业证券股份有限公司 Network test method and system based on market
CN109951351B (en) * 2019-01-15 2022-11-11 兴业证券股份有限公司 Network testing method and system based on market conditions
CN112087773A (en) * 2019-05-27 2020-12-15 中国移动通信集团安徽有限公司 Method and system for testing access point in short number service
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN110460732B (en) * 2019-09-24 2021-05-14 腾讯科技(深圳)有限公司 Network quality monitoring method and device and communication server
CN113840319A (en) * 2020-06-23 2021-12-24 上海东方富联科技有限公司 Packet loss rate acquisition method, gateway coverage acquisition method, medium, and device
CN112134758A (en) * 2020-09-22 2020-12-25 上海茂声智能科技有限公司 Method and device for monitoring weak network environment and reconnecting communication session

Similar Documents

Publication Publication Date Title
CN104955095A (en) Communication network detection method and communication network detection device
CN102801656B (en) Realize condition control method, the equipment and system of instant messaging application
EP3779832A1 (en) Payment risk control method and system
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
CN104283926A (en) Data synchronization method, device and server
CN110312266B (en) Method and device for realizing WIFI communication by multiple systems of terminal
CN108600399A (en) Information-pushing method and Related product
CN110297658A (en) Functional unit sharing method, device and computer equipment
CN111031140A (en) Resource settlement method and device, electronic equipment and storage medium
CN114902717A (en) WLAN perception measurement method and device, electronic equipment and storage medium
CN103841080A (en) Called number completion method, device and system
CN110662191B (en) Communication mode selection method and device and electronic equipment
CN115023964A (en) WLAN (Wireless local area network) perception measurement establishment termination method and device, electronic equipment and storage medium
CN113423120A (en) Data distribution processing method and device based on private network terminal and electronic equipment
CN111432453B (en) Communication channel determination method, device and equipment
CN104424253A (en) Route query method, device and terminal equipment
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
CN112866897B (en) Positioning measurement method, terminal and network node
CN115021831A (en) Weak network testing method, device, system, equipment and storage medium
CN104899730B (en) Mobile terminal data processing method, terminal and system
CN109714734B (en) DMR system, wireless communication method and device of DMR and terminal equipment
CN109246034B (en) Method and equipment for allocating flow resources for mobile equipment
CN102891888B (en) A kind of data access method and relevant device, system
CN112714420A (en) Network access method and device of wifi hotspot providing equipment and electronic equipment
CN105792387A (en) Communication connection method and device thereof

Legal Events

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

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication