CN107800560B - Network detection method and device, and network detection query method and device - Google Patents

Network detection method and device, and network detection query method and device Download PDF

Info

Publication number
CN107800560B
CN107800560B CN201610812177.0A CN201610812177A CN107800560B CN 107800560 B CN107800560 B CN 107800560B CN 201610812177 A CN201610812177 A CN 201610812177A CN 107800560 B CN107800560 B CN 107800560B
Authority
CN
China
Prior art keywords
network
parameter value
detection parameter
user identifier
network detection
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.)
Active
Application number
CN201610812177.0A
Other languages
Chinese (zh)
Other versions
CN107800560A (en
Inventor
张浩扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610812177.0A priority Critical patent/CN107800560B/en
Publication of CN107800560A publication Critical patent/CN107800560A/en
Application granted granted Critical
Publication of CN107800560B publication Critical patent/CN107800560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a network detection method and device and a network detection query method and device. The network detection method comprises the following steps: acquiring a network fault query request; acquiring a second user identifier which is positioned at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is positioned; acquiring the third user identifier on the same interface server as the first user identifier; acquiring a first network detection parameter value and a second network detection parameter value of the second user identifier and the third user identifier in the preset time period, wherein the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server; and returning the first network detection parameter value and the second network detection parameter value to the terminal of the first user identification and displaying. The network states of the terminal and the interface server are visually displayed, and network faults can be accurately positioned.

Description

Network detection method and device, and network detection query method and device
Technical Field
The present invention relates to the field of network applications, and in particular, to a network detection method and apparatus, and a network detection query method and apparatus.
Background
With the development of computer technology and network technology, more and more users use networks to engage in social activities. When a user uses a network to engage in social activities, such as browsing a webpage, watching a video, etc., the network needs to be kept smooth, so that normal display of the webpage or normal playing of the video is ensured.
When a user uses a network, the problems of blurred video playing picture, unsmooth video playing picture, incapability of webpage and the like may occur, which are often caused by the problem of the network, and at this time, the user who usually needs to feed back the problem needs to check whether the network is normal or not.
However, when the user checks the network, the user can only detect whether the network is in a connected state, and the network fault cannot be accurately located.
Disclosure of Invention
Therefore, it is necessary to provide a network detection method and device for accurately locating a network fault, aiming at the problem that the network fault cannot be accurately located in the conventional network detection.
In addition, it is necessary to provide a network detection query method and device, which can accurately locate a network fault.
A network detection method, comprising:
acquiring a network fault query request, wherein the network fault query request comprises a first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
acquiring a second user identifier which is positioned at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is positioned according to the network fault query request;
acquiring a network address of an interface server where the first user identifier is located according to the network fault query request, and acquiring a third user identifier on the interface server;
acquiring a first network detection parameter value of the second user identifier in the preset time period, and acquiring a second network detection parameter value of the third user identifier in the preset time period, wherein the first network detection parameter value is used for representing the network state of a terminal, and the second network detection parameter value is used for representing the network state of an interface server;
and returning a first network detection parameter value of the second subscriber identity in the preset time period and a second network detection parameter value of the third subscriber identity in the preset time period to a terminal where the first subscriber identity is located, so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first subscriber identity is located.
A network detection apparatus, comprising:
the network fault query system comprises a request receiving module, a network fault query module and a fault state judging module, wherein the request receiving module is used for acquiring a network fault query request which comprises a first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
the searching module is used for acquiring a second user identifier which is positioned at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is positioned according to the network fault inquiring request; acquiring a network address of an interface server where the first user identifier is located according to the network fault query request, and acquiring a third user identifier on the interface server;
a processing module, configured to obtain a first network detection parameter value of the second subscriber identity in the preset time period, and obtain a second network detection parameter value of the third subscriber identity in the preset time period, where the first network detection parameter value is used to represent a network state of a terminal, and the second network detection parameter value is used to represent a network state of an interface server;
and the returning module is used for returning the first network detection parameter value of the second user identifier in the preset time period and the second network detection parameter value of the third user identifier in the preset time period to the terminal where the first user identifier is located so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first user identifier is located.
The network detection method and the device obtain a second user identification positioned at the same network outlet of the same network operator according to the network address of the terminal where the first user identification is positioned in the network fault query request by obtaining the network fault query request, obtain a third user identification positioned at the same interface server with the first user identification, respectively obtain a first network detection parameter value of the second user identification in a preset time period and a second network detection parameter value of the third user identification in the preset time period, wherein the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, and return the first network detection parameter value and the second network detection parameter value to the terminal, and the network state of the terminal and the interface server is displayed on the terminal, so that the network state of the terminal and the interface server can be visually displayed, and the network fault can be accurately positioned.
A network detection query method comprises the following steps:
acquiring an input first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
acquiring a trigger instruction, and initiating a network fault query request to a monitoring server according to the trigger instruction so as to enable the monitoring server to acquire a second user identifier which is at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is located, acquire the network address of an interface server where the first user identifier is located, acquire a third user identifier on the interface server, acquire a first network detection parameter value of the second user identifier in the preset time period, and acquire a second network detection parameter value of the third user identifier in the preset time period, wherein the network fault query request comprises the first user identifier, the network address of the terminal where the first user identifier is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server;
receiving a first network detection parameter value of a second user identifier returned by the monitoring server according to the network fault query request in the preset time period and a second network detection parameter value of a third user identifier in the preset time period;
and displaying the first network detection parameter value and the second network detection parameter value.
A network detection query device, comprising:
the acquisition module is used for acquiring the input first user identification, the network address of the terminal where the first user identification is located and a preset time period;
a request initiating module, configured to obtain a trigger instruction, initiate a network fault query request to a monitoring server according to the trigger instruction, so that the monitoring server obtains a second subscriber identity, which is located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, obtains the network address of an interface server where the first subscriber identity is located, obtains a third subscriber identity on the interface server, obtains a first network detection parameter value of the second subscriber identity within the preset time period, and obtains a second network detection parameter value of the third subscriber identity within the preset time period, where the network fault query request includes the first subscriber identity, the network address of the terminal where the first subscriber identity is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server;
a result receiving module, configured to receive a first network detection parameter value of a second user identifier returned by the monitoring server according to the network fault query request within the preset time period, and a second network detection parameter value of a third user identifier within the preset time period;
and the display module is used for displaying the first network detection parameter value and the second network detection parameter value.
The network detection query method and the device, by initiating a network fault query request, enable the monitoring server to obtain a second user identifier at the same network outlet of the same network operator according to the network address of the terminal where the first user identifier is located in the network fault query request, obtain a third user identifier at the same interface server as the first user identifier, respectively obtain a first network detection parameter value of the second user identifier in a preset time period and a second network detection parameter value of the third user identifier in the preset time period, the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, receive the first network detection parameter value and the second network detection parameter value returned by the monitoring server, and display, thereby realizing the visual display of the network states of the terminal and the interface server, network faults can be accurately located.
Drawings
FIG. 1 is a diagram illustrating an exemplary application environment of a network detection method and a network detection query method;
fig. 2A is a schematic diagram of an internal structure of a terminal in one embodiment;
FIG. 2B is a diagram illustrating an internal architecture of a monitoring server according to an embodiment;
FIG. 3 is a flow diagram of a network detection method in one embodiment;
fig. 4A is a schematic diagram of an uplink packet loss rate and a downlink packet loss rate of a second subscriber identity that is the same as a segment C of a network address of a terminal where a first subscriber identity is located and changes with time;
fig. 4B is a schematic diagram of an uplink packet loss rate and a downlink packet loss rate of a third user identifier located in the same interface server as the first user identifier and varying with time;
FIG. 5 is a flow diagram of a method for network detection query in one embodiment;
FIG. 6 is a block diagram of a network detection device in one embodiment;
FIG. 7 is a block diagram showing the structure of a network detecting apparatus according to another embodiment;
FIG. 8 is a block diagram showing the structure of a network detecting apparatus according to another embodiment;
FIG. 9 is a block diagram showing the structure of a network detecting apparatus according to another embodiment;
FIG. 10 is a block diagram showing the structure of a network detecting apparatus according to another embodiment;
FIG. 11 is a block diagram showing the structure of a network device for detecting and querying a network in one embodiment;
fig. 12 is a block diagram showing the structure of a network detection inquiry apparatus in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first terminal may be termed a second terminal, and, similarly, a second terminal may be termed a first terminal, without departing from the scope of the present invention. The first terminal and the second terminal are both terminals, but they are not the same terminal.
Fig. 1 is a schematic diagram of an application environment of a network detection method and a network detection query method in one embodiment. As shown in fig. 1, the application environment includes a terminal 110, a monitoring server 120, and an interface server 130. The terminal 110 initiates a network fault query request to the monitoring server 120, where the network fault query request includes the first subscriber identity, the network address of the terminal where the first subscriber identity is located, and a preset time period. The monitoring server 120 obtains, according to the network failure query request, a second subscriber identity located at the same network outlet of the same network operator as the network address of the terminal 110 where the first subscriber identity is located, obtains the network address of the interface server 130 where the terminal 110 is located, and obtaining a third subscriber identity on the interface server 130, obtaining a first network detection parameter value of the second subscriber identity within a preset time period, and a second network detection parameter value of the third subscriber identity within a preset time period, returning a first network detection parameter value corresponding to the second subscriber identity and a second network detection parameter value corresponding to the third subscriber identity to the terminal 110, and displaying, the network fault situation can be intuitively known according to the displayed first network detection parameter value and the second network detection parameter value, and the network fault actual terminal 110 or the interface server 130 can be accurately positioned.
In other embodiments, the monitoring server 120 and the interface server 130 may be the same server or different servers.
Fig. 2A is a schematic diagram of an internal structure of a terminal (or an electronic device, etc.) in one embodiment. As shown in fig. 2A, the terminal includes a processor, a nonvolatile storage medium, an internal memory, a network interface, a display screen, and an input device, which are connected through a system bus. The non-volatile storage medium of the terminal stores an operating system and further comprises a network detection and query device, and the network detection and query device is used for realizing a network detection and query method. The processor is used for providing calculation and control capability and supporting the operation of the whole terminal. An internal memory in the terminal provides an environment for operation of the network detection query device in the non-volatile storage medium, and the internal memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor can be caused to execute a network detection query method. The network interface is used for performing network communication with the server, such as sending a query request to the server, receiving a query result returned by the server, and the like. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, or an external keyboard, a touch pad or a mouse. The terminal can be a mobile phone, a personal computer, a tablet computer or a personal digital assistant or a wearable device and the like. Those skilled in the art will appreciate that the configuration shown in fig. 2A is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the terminal to which the present application is applied, and a particular terminal may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
Fig. 2B is a schematic diagram of an internal structure of a monitoring server (or a cloud, etc.) in an embodiment. As shown in fig. 2B, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus. The non-volatile storage medium of the monitoring server stores an operating system, a database and a network detection device, wherein the database stores network data, and the network detection device is used for realizing a network detection method suitable for the server. The processor of the monitoring server is used for providing calculation and control capacity and supporting the operation of the whole server. The internal memory of the monitoring server provides an environment for the operation of the network detection apparatus in the non-volatile storage medium, and the internal memory may store computer-readable instructions, which, when executed by the processor, may cause the processor to execute a network detection method. The network interface of the monitoring server is used for communicating with an external terminal through network connection, such as receiving a query request sent by the terminal and returning a query result to the terminal. The monitoring server may be implemented by an independent server or a server cluster composed of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 2B is merely a block diagram of some of the structures associated with the present solution and does not constitute a limitation on the servers to which the present solution applies, and that a particular server may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Fig. 3 is a flow diagram of a network detection method in one embodiment. As shown in fig. 3, a network detection method, which is executed in the monitoring server in fig. 1, includes:
step 302, a network fault query request is obtained, where the network fault query request includes a first user identifier, a network address of a terminal where the first user identifier is located, and a preset time period.
In particular, network failures may include network hang, network disconnected, network delays, and the like. The user identification is used to uniquely represent the user identity. The IP (Internet Protocol) address of the terminal is a network address.
The preset time period refers to a time period selected by the user, for example, 10 minutes and 10 seconds at 10 hours at 29 days 8 and 29 months 2016 to 10 minutes and 15 seconds at 10 hours at 29 days 8 and 29 months 2016, and the like, but is not limited thereto. In addition, the preset time period may also be a default time period of the system, and the default time period may be a time period of a preset time length before the time of initiating the network fault query request, for example, the time of initiating the network fault query request is 2016, 8, 29, 10, minutes and 10 seconds, the preset time length is 5 seconds, and the default time period is 2016, 8, 29, 10, minutes and 5 seconds, to 2016, 8, 29, 10, minutes and 10 seconds.
The first user identification may be an identification of a service provider, such as a merchant.
Step 304, obtaining a second subscriber identity, which is located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, according to the network fault query request.
Specifically, the second subscriber identity, which is located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, may be obtained by obtaining all subscriber identities located in the C segment of the same IP as the network address of the terminal where the first subscriber identity is located, and using all subscriber identities located in the C segment of the same IP as the second subscriber identity.
The C segment of the IP refers to a 32-bit integer IP address, the first 24-bit address being the same. By comparing the network data of other subscriber identities in segment C of the same IP with the network data of the first subscriber identity, it can be determined whether it is a network problem for the network operator.
Step 306, obtaining the network address of the interface server where the first user identifier is located according to the network fault query request, and obtaining a third user identifier on the interface server.
Specifically, a user identifier, corresponding network data and acquisition time are recorded on the monitoring server. The network data includes network uplink data, network downlink data, a network address of the terminal, and a network address of the interface server. In addition, the network data may also include code rate, jitter, delay, etc.
The network address of the interface server where the first user identification is located can be found from the monitoring server according to the first user identification, and then a third user identification which is accessed to the same interface server can be found according to the network address of the interface server.
Step 308, obtaining a first network detection parameter value of the second subscriber identity in the preset time period, and obtaining a second network detection parameter value of the third subscriber identity in the preset time period, where the first network detection parameter value is used to represent a network state of the terminal, and the second network detection parameter value is used to represent a network state of the interface server.
Specifically, a user identifier and corresponding network data are recorded on the monitoring server. The network data includes network uplink data, network downlink data, a network address of the terminal, and a network address of the interface server.
And obtaining a first network detection parameter value in a preset time period according to the network uplink data, the network downlink data and the acquisition time in the network data corresponding to the second user identifier. And obtaining a second network detection parameter value in a preset time period according to the network uplink data, the network downlink data and the acquisition time in the network data corresponding to the second user identifier. The first network detection parameter value is used to represent the network status of the terminal. The second network detection parameter value is used to represent a network status of the interface server.
The first network detection parameter and the second network detection parameter are both network detection parameters. The network detection parameter is a parameter for detecting whether the network is failed. The network detection parameter may be a packet loss rate, etc. The first network detection parameter value and the second network detection parameter value may be packet loss values.
And calculating to obtain the network uplink packet loss rate according to the network uplink data, and calculating to obtain the network downlink packet loss rate according to the network downlink data. For example, the network downlink data includes the number of packets to be received and the number of packets to be actually received, and the network downlink packet loss rate is ((the number of packets to be received-the number of packets to be actually received) × 100/the number of packets to be received)%. The network uplink data comprises an expected transmission packet number and an actual transmission packet number, and the network uplink packet loss rate is (the expected transmission packet number-the actual transmission packet number) 100/the expected transmission packet number).
The first network detection parameter value or the second network detection parameter value in the preset time period may be the first network detection parameter value or the second network detection parameter value which changes with time in the preset time period.
The first network detection parameter value in the preset time period may be an average value of network detection parameter values corresponding to all or second user identifiers meeting preset conditions at each time in the preset time period, or an average value of network detection parameter values corresponding to all or second users meeting preset conditions in the preset time period, or a sum of network detection parameter values corresponding to all or second user identifiers meeting preset conditions in the preset time period, or a sum of network detection parameter values corresponding to all or second users meeting preset conditions in the preset time period. The preset condition can be set according to the requirement, for example, the network detection parameter value is not maximum or minimum.
The second network detection parameter value in the preset time period may be an average value of network detection parameter values corresponding to all or third user identifiers meeting preset conditions at each time in the preset time period, or an average value of network detection parameter values corresponding to all or third user identifiers meeting preset conditions in the preset time period, or a sum of network detection parameter values corresponding to all or third user identifiers meeting preset conditions at each time in the preset time period, or a sum of network detection parameter values corresponding to all or third user identifiers meeting preset conditions in the preset time period. The preset condition can be set according to the requirement, for example, the network detection parameter value is not maximum or minimum.
The second network detection parameter value in the preset time period may be an average value or a sum of network detection parameter values corresponding to all or a third user identifier meeting a preset condition calculated in a preset unit time length in the preset time period. The preset unit time length can be set according to needs, such as 5 seconds, 10 seconds and the like. For example, if the preset time period is from 10 minutes and 10 seconds at 10 hours at 29 days at 8 months and 2016 at 10 hours at 10 days at 29 days at 8 months and 2016 at 16 minutes and 10 seconds at 10 days at 29 days at 8 months and 2016 at 5 seconds, the packet loss rate value of every 5 seconds in the time period is calculated as the packet loss rate value at the starting time of the 5 seconds, so that a packet loss rate value corresponding to every 5 seconds can be formed.
Step 310, returning the first network detection parameter value of the second subscriber identity in the preset time period and the second network detection parameter value of the third subscriber identity in the preset time period to the terminal where the first subscriber identity is located, so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first subscriber identity is located.
Specifically, a first network detection parameter value and a second network detection parameter value are returned to the terminal, and the first network detection parameter value and the second network detection parameter value which change along with time within a preset time period are displayed on the terminal. Fig. 4A is a schematic diagram of an uplink packet loss rate and a downlink packet loss rate of a second subscriber identity that is the same as a segment C of a network address of a terminal where a first subscriber identity is located and changes with time, and fig. 4B is a schematic diagram of an uplink packet loss rate and a downlink packet loss rate of a third subscriber identity that is located in the same interface server as the first subscriber identity and changes with time. As shown in fig. 4A, the network address of the terminal is 113.133.142.251, the preset time period includes a start time and an end time, for example, the start time is 16:14:00 to 16:16:30, the first subscriber identity may be 11111, and the second subscriber identity of the C segment at the same network address as the first subscriber identity may include 12345, 23456, 34567, 45678, 123456789, etc. The packet loss rate may include an uplink total packet loss rate and a downlink total packet loss rate, and the uplink total packet loss rate may be a sum of uplink packet loss rates of second user identifiers located in the C segment of the same network address as the first user identifier. The downlink total packet loss rate may be a sum of downlink packet loss rates of second subscriber identities in the C segment of the same network address as the first subscriber identity. As shown in fig. 4B, the network address of the interface server is 10.236.5.210, the preset time period includes a start time and an end time, for example, the start time is 16:14:00 to 16:16:30, the first user id may be 11111, and the third user id on the same interface server as the first user id may include 123456, 234567, 345678, 456789, 223456789, etc. The packet loss rate may include an uplink total packet loss rate and a downlink total packet loss rate, and the uplink total packet loss rate may be a sum of uplink packet loss rates of third user identifiers that access the same interface server as the first user identifier. The downlink total packet loss rate may be a sum of downlink packet loss rates of third user identifiers accessing the same interface server as the first user identifier.
The network detection method comprises the steps of obtaining a network fault query request, obtaining a second user identifier positioned at the same network outlet of the same network operator according to the network address of a terminal where a first user identifier is positioned in the network fault query request, obtaining a third user identifier positioned at the same interface server with the first user identifier, respectively obtaining a first network detection parameter value of the second user identifier in a preset time period and a second network detection parameter value of the third user identifier in the preset time period, wherein the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, and returning the first network detection parameter value and the second network detection parameter value to the terminal, and the network state of the terminal and the interface server is displayed on the terminal, so that the network state of the terminal and the interface server can be visually displayed, and the network fault can be accurately positioned.
In one embodiment, the network detection method further includes: receiving network data and acquisition time corresponding to a user identifier which is acquired by a terminal in real time and reported in a timing manner; and establishing a corresponding relation among the user identification, the network data and the acquisition time.
Specifically, the monitoring server receives network data and acquisition time corresponding to the user identifier which is acquired by the terminal in real time and reported in a timing manner, and establishes a corresponding relation among the user identifier, the network data and the acquisition time. The timing in the timing report can be set according to needs, such as every 1 second, 2 seconds, 3 seconds, 4 seconds, 5 seconds, and the like, but is not limited thereto.
The user identification, the network data and the acquisition time are stored in a database as a record.
Further, the obtaining a first network detection parameter value of the second subscriber identity within the preset time period and obtaining a second network detection parameter value of the third subscriber identity within the preset time period include: and acquiring corresponding network data from the corresponding relation among the user identification, the network data and the acquisition time according to the second user identification, the third user identification and the preset time period, and calculating to obtain a corresponding first network detection parameter value and a corresponding second network detection parameter value according to the network data.
In one embodiment, the network detection method further includes: and after the step of collecting the network data and the collection time corresponding to the user identification which are reported by the receiving terminal in real time and in fixed time, filtering the network data and the collection time corresponding to the user identification.
In particular, the filtering process may clear exception data. The abnormal data may be, for example, the number of packets received is greater than the number of packets to be received, or other data.
In one embodiment, the network detection method further includes: after the step of collecting network data and collecting time corresponding to the user identification which is collected in real time and reported in fixed time by the receiving terminal, obtaining an identification field value in the network data; determining the service type of the network data according to the identification field value; and establishing a corresponding relation among the user identification, the network data and the acquisition time according to the service type.
Specifically, the types of services corresponding to different services are different. For example, the corresponding service types may include an audio/video playing service, a video conference service, a main broadcasting service, and the like. To differentiate traffic, an identification field value may be used for differentiation. Different values in the identification field bussType indicate different traffic types.
In one embodiment, the network detection method further includes: positioning the network fault of the first user identification at a terminal or an interface server according to the first network detection parameter value and the second network detection parameter value; if the first network detection parameter value is larger than a first threshold value and the second network detection parameter value is smaller than a second threshold value, the network fault of the first user identification is at the terminal; and if the first network detection parameter value is smaller than a first threshold value and the second network detection parameter value is larger than a second threshold value, the network fault of the first user identifier is in the interface server.
Specifically, the first threshold value and the second threshold value may be set as needed. The first and second thresholds may be the same or different. For example, the first threshold is 10% and the second threshold is 9%.
If the first network detection parameter value is greater than the first threshold value and the second network detection parameter value is greater than the second threshold value, the network fault of the first subscriber identity may be at both ends of the terminal and the interface server.
In one embodiment, the network detection method further includes: positioning the network fault of the first user identification at a terminal or an interface server according to the first network detection parameter value and the second network detection parameter value; if the first network detection parameter value is larger than a first threshold value and the second network detection parameter value is smaller than a second threshold value, the network fault of the first user identification is at the terminal; and if the first network detection parameter value is smaller than a third threshold value and the second network detection parameter value is larger than a fourth threshold value, the network fault of the first user identifier is in the interface server, wherein the first threshold value is larger than or equal to the third threshold value, and the second threshold value is smaller than or equal to the fourth threshold value.
Specifically, the first threshold, the second threshold, the third threshold, and the fourth threshold may be set as needed. The first and second thresholds may be the same or different. For example, the first threshold value is 10%, the second threshold value is 9%, the third threshold value is 6%, and the fourth threshold value is 10%.
If the first network detection parameter value is greater than the first threshold value and the second network detection parameter value is greater than the fourth threshold value, the network fault of the first subscriber identity may be at both ends of the terminal and the interface server.
In one embodiment, the network detection method further includes: screening out a fourth user identifier which is positioned at the same network outlet of the same network operator and on the same interface server as the network address of the terminal where the first user identifier is positioned from the second user identifier and the third user identifier; acquiring a third network detection parameter value of the fourth subscriber identity within the preset time period; and positioning the network fault of the first user identifier at the terminal or the interface server according to the first network detection parameter value and the third network detection parameter value, or according to the second network detection parameter value and the third network detection parameter value.
Specifically, the third network detection parameter value may be a packet loss rate. The positioning of the network fault of the first subscriber identity according to the first network detection parameter value and the third network detection parameter value comprises, on the terminal or the interface server: if the first network detection parameter value is larger than the first threshold value and the third network detection parameter value is smaller than the fifth threshold value, the network fault of the first user identifier is on the terminal; and if the first network detection parameter value is smaller than a third threshold value and the third network detection parameter value is larger than a sixth threshold value, the network fault of the first user identifier is in the interface server, wherein the first threshold value is larger than or equal to the third threshold value, and the fifth threshold value is smaller than or equal to the sixth threshold value.
The positioning of the network fault of the first subscriber identity according to the second network detection parameter value and the third network detection parameter value comprises, on the terminal or the interface server: if the second network detection parameter value is larger than the fourth threshold value and the third network detection parameter value is smaller than the fifth threshold value, the network fault of the first user identifier is on the interface server; and if the second network detection parameter value is smaller than a second threshold value and the third network detection parameter value is larger than a sixth threshold value, the network fault of the first subscriber identity is in the terminal, wherein the second threshold value is smaller than or equal to the fourth threshold value, and the fifth threshold value is smaller than or equal to the sixth threshold value. The fifth threshold and the sixth threshold are set as necessary.
In this embodiment, a fourth user identifier, which is located at the same network outlet of the same network operator and on the same interface server as the network address of the first user identifier, is screened out, and a corresponding third network detection parameter value is obtained according to the fourth user identifier, so that a network fault can be more accurately located according to the third network detection parameter value.
FIG. 5 is a flow diagram of a network detection query method in one embodiment. As shown in fig. 5, a network detection query method, which is executed on a terminal, includes:
step 502, acquiring the input first user identifier, the network address of the terminal where the first user identifier is located, and a preset time period.
Specifically, as shown in fig. 4A and 4B, a network detection query interface is displayed on the terminal, and a network address input box of the terminal where the first user identifier is located, a network address input box of the interface server, a time period selection control, and the like are provided in the query interface, and the query interface may further include a last five-minute query control, a last ten-minute query control, a forward movement control, and a backward movement control. The forward control is used for moving the selected time period forward in whole according to the preset time length (namely moving to the previous moment of the selected time period). The backward control is used for moving the selected time period backward (i.e. moving to the later time of the selected time period) according to the preset time length.
And acquiring the network address of the terminal input by the user in the input box through input equipment such as a keyboard or a mouse and the like and the selected preset time period. For example, the network address of the terminal is 192.168.1.10, and the preset time period is 0 minutes 00 seconds at 10/29/8/2016 to 30 minutes 00 seconds at 11/29/8/2016.
Step 504, acquiring a trigger instruction, and initiating a network fault query request to a monitoring server according to the trigger instruction, so that the monitoring server acquires a second subscriber identity located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, acquires the network address of an interface server where the first subscriber identity is located, acquires a third subscriber identity on the interface server, acquires a first network detection parameter value of the second subscriber identity within the preset time period, and acquires a second network detection parameter value of the third subscriber identity within the preset time period, wherein the network fault query request includes the first subscriber identity, the network address of the terminal where the first subscriber identity is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server.
Specifically, the monitoring server obtains the second subscriber identity at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, and may obtain all the subscriber identities at the C segment of the same IP as the network address of the terminal where the first subscriber identity is located, and use all the subscriber identities at the C segment of the same IP as the second subscriber identity.
User identification, corresponding network data and acquisition time are recorded on the monitoring server. The network data includes network uplink data, network downlink data, a network address of the terminal, and a network address of the interface server. In addition, the network data may also include code rate, jitter, delay, etc.
The network address of the interface server where the first user identification is located can be found from the monitoring server according to the first user identification, and then a third user identification which is accessed to the same interface server can be found according to the network address of the interface server.
And obtaining a first network detection parameter value in a preset time period according to the network uplink data, the network downlink data and the acquisition time in the network data corresponding to the second user identifier. And obtaining a second network detection parameter value in a preset time period according to the network uplink data, the network downlink data and the acquisition time in the network data corresponding to the second user identifier. The first network detection parameter value is used to represent the network status of the terminal. The second network detection parameter value is used to represent a network status of the interface server.
The first network detection parameter and the second network detection parameter are both network detection parameters. The network detection parameter is a parameter for detecting whether the network is failed. The network detection parameter may be a packet loss rate, etc. The first network detection parameter value and the second network detection parameter value may be packet loss values.
The first network detection parameter value or the second network detection parameter value in the preset time period may be the first network detection parameter value or the second network detection parameter value which changes with time in the preset time period.
The first network detection parameter value in the preset time period may be an average value of network detection parameter values corresponding to all or the second user identifiers meeting the preset condition at each time in the preset time period, or an average value of network detection parameter values corresponding to all or the second users meeting the preset condition in the preset time period. The preset condition can be set according to the requirement, for example, the network detection parameter value is not maximum or minimum.
The second network detection parameter value in the preset time period may be an average value of network detection parameter values corresponding to all or third user identifiers meeting preset conditions at each time in the preset time period, or an average value of network detection parameter values corresponding to all or third users meeting preset conditions in the preset time period. The preset condition can be set according to the requirement, for example, the network detection parameter value is not maximum or minimum.
Step 506, receiving a first network detection parameter value of the second user identifier returned by the monitoring server according to the network fault query request within the preset time period, and a second network detection parameter value of the third user identifier within the preset time period.
Step 508, displaying the first network detection parameter value and the second network detection parameter value.
The network detection query method comprises the steps of initiating a network fault query request to enable a monitoring server to obtain a second user identifier positioned at the same network outlet of the same network operator according to the network address of a terminal where a first user identifier is positioned in the network fault query request, obtaining a third user identifier positioned at the same interface server with the first user identifier, respectively obtaining a first network detection parameter value of the second user identifier in a preset time period and a second network detection parameter value of the third user identifier in the preset time period, wherein the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, receiving the first network detection parameter value and the second network detection parameter value returned by the monitoring server, displaying and realizing visual display of the network states of the terminal and the interface server, network faults can be accurately located.
In one embodiment, the network detection query method further includes: acquiring network data and acquisition time corresponding to the user identification in real time; and reporting the user identification, the network data and the acquisition time at regular time.
Specifically, the acquiring of the network data corresponding to the user identifier in real time may be acquiring the network data corresponding to the user identifier through a millisecond acquisition frequency, and recording an acquisition time for acquiring the network data. The timing can be set as required, for example, reporting once in 2 seconds.
Fig. 6 is a block diagram of a network detection device according to an embodiment. As shown in fig. 6, a network detection apparatus, which runs on a monitoring server, includes a request receiving module 602, a searching module 604, a processing module 606, and a returning module 608. Wherein:
the request receiving module 602 is configured to obtain a network failure query request, where the network failure query request includes a first subscriber identity, a network address of a terminal where the first subscriber identity is located, and a preset time period.
The searching module 604 is configured to obtain, according to the network fault query request, a second subscriber identity located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located; and acquiring the network address of the interface server where the first user identifier is located according to the network fault query request, and acquiring a third user identifier on the interface server.
The processing module 606 is configured to obtain a first network detection parameter value of the second subscriber identity in the preset time period, and obtain a second network detection parameter value of the third subscriber identity in the preset time period, where the first network detection parameter value is used to represent a network state of the terminal, and the second network detection parameter value is used to represent a network state of the interface server.
The returning module 608 is configured to return the first network detection parameter value of the second subscriber identity in the preset time period and the second network detection parameter value of the third subscriber identity in the preset time period to the terminal where the first subscriber identity is located, so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first subscriber identity is located.
The network detection device obtains a network fault query request, obtains a second user identifier positioned at the same network outlet of the same network operator according to the network address of a terminal where a first user identifier is positioned in the network fault query request, obtains a third user identifier positioned at the same interface server with the first user identifier, respectively obtains a first network detection parameter value of the second user identifier in a preset time period and a second network detection parameter value of the third user identifier in the preset time period, the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, and returns the first network detection parameter value and the second network detection parameter value to the terminal, and the network state of the terminal and the interface server is displayed on the terminal, so that the network state of the terminal and the interface server can be visually displayed, and the network fault can be accurately positioned.
Fig. 7 is a block diagram showing the structure of a network detection device according to another embodiment. As shown in fig. 7, a network detection apparatus, which runs on a monitoring server, includes a data receiving module 710, a filtering module 712, and a relationship establishing module 714, in addition to a request receiving module 702, a searching module 704, a processing module 706, and a returning module 708. Wherein:
the data receiving module 710 is configured to receive network data and acquisition time corresponding to the user identifier that are acquired by the terminal in real time and reported in a timing manner.
The filtering module 712 is configured to filter the network data and the collection time corresponding to the user identifier after the data receiving module receives the network data and the collection time corresponding to the user identifier that are collected by the terminal in real time and reported in a timing manner.
The relationship establishing module 714 is used for establishing a corresponding relationship between the user identifier, the network data and the collection time.
The processing module 706 is further configured to obtain corresponding network data from the corresponding relationship among the user identifier, the network data, and the acquisition time according to the second user identifier, the third user identifier, and the preset time period, and calculate a corresponding first network detection parameter value and a corresponding second network detection parameter value according to the network data.
In other embodiments, the filtering module 712 may be omitted.
Fig. 8 is a block diagram showing the structure of a network detection device according to another embodiment. As shown in fig. 8, a network detection apparatus, which runs on a monitoring server, includes a request receiving module 802, a searching module 804, a processing module 806, a returning module 808, a data receiving module 810, a filtering module 812, a relationship establishing module 814, an extracting module 816, and a type identifying module 818.
The extracting module 816 is configured to obtain the identifier field value in the network data after the data receiving module receives the network data and the acquisition time corresponding to the user identifier that is acquired by the terminal in real time and reported at regular time.
The type identification module 818 is used to determine the service type of the network data according to the identification field value.
The relationship establishing module 814 is further configured to establish a corresponding relationship between the user identifier, the network data, and the collection time according to the service type.
In other embodiments, the filtering module 812 may be omitted.
Fig. 9 is a block diagram showing the structure of a network detection device according to another embodiment. As shown in fig. 9, a network detection apparatus, which runs on a monitoring server, includes a request receiving module 902, a searching module 904, a processing module 906, a returning module 908, and a first fault locating module 910.
The first fault location module 910 is configured to locate the network fault of the first subscriber identity at the terminal or the interface server according to the first network detection parameter value and the second network detection parameter value.
And if the first network detection parameter value is larger than the first threshold value and the second network detection parameter value is smaller than the second threshold value, the network fault of the first user identifier is at the terminal. And if the first network detection parameter value is smaller than a third threshold value and the second network detection parameter value is larger than a fourth threshold value, the network fault of the first user identifier is in the interface server. The first threshold is greater than or equal to a third threshold, and the second threshold is less than or equal to a fourth threshold.
Fig. 10 is a block diagram showing the structure of a network detection device according to another embodiment. As shown in fig. 10, a network detection apparatus, which runs on a monitoring server, includes a request receiving module 1002, a searching module 1004, a processing module 1006, a returning module 1008, and a second fault locating module 1010.
The lookup module 1004 is further configured to filter out a fourth subscriber identity, which is located at the same network outlet of the same network operator and on the same interface server as the network address of the terminal where the first subscriber identity is located, from the second subscriber identity and the third subscriber identity.
The processing module 1006 is further configured to obtain a third network detection parameter value of the fourth ue within the preset time period.
The second fault location module 1010 is configured to locate the network fault of the first subscriber identity at the terminal or the interface server according to the first network detection parameter value and the third network detection parameter value, or according to the second network detection parameter value and the third network detection parameter value.
In other embodiments, a network detection apparatus, operating on a monitoring server, includes all possible combinations of a request receiving module, a searching module, a processing module, a returning module, a data receiving module, a filtering module, a relationship establishing module, an extracting module, a type identifying module, a first fault locating module, and a second fault locating module.
Fig. 11 is a block diagram showing a configuration of a network detection inquiry apparatus according to an embodiment. As shown in fig. 11, a network detection query apparatus, which runs on a terminal, includes an obtaining module 1102, a request initiating module 1104, a result receiving module 1106, and a presenting module 1108. Wherein:
the obtaining module 1102 is configured to obtain the input first user identifier, a network address of a terminal where the first user identifier is located, and a preset time period.
The request initiating module 1104 is configured to obtain a trigger instruction, initiate a network fault query request to a monitoring server according to the trigger instruction, so that the monitoring server obtains a second subscriber identity located at a same network outlet of a same network operator as a network address of a terminal where the first subscriber identity is located, obtains a network address of an interface server where the first subscriber identity is located, obtains a third subscriber identity on the interface server, obtains a first network detection parameter value of the second subscriber identity within the preset time period, and obtains a second network detection parameter value of the third subscriber identity within the preset time period, where the network fault query request includes the first subscriber identity, the network address of the terminal where the first subscriber identity is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server.
The result receiving module 1106 is configured to receive a first network detection parameter value of the second user identifier returned by the monitoring server according to the network failure query request within the preset time period, and a second network detection parameter value of the third user identifier within the preset time period.
The presentation module 1108 is configured to present the first network detection parameter value and the second network detection parameter value.
The network detection query device initiates a network fault query request to enable the monitoring server to obtain a second user identifier at the same network outlet of the same network operator according to the network address of the terminal where the first user identifier is located in the network fault query request, obtain a third user identifier at the same interface server as the first user identifier, respectively obtain a first network detection parameter value of the second user identifier in a preset time period and a second network detection parameter value of the third user identifier in the preset time period, the first network detection parameter value represents the network state of the terminal, the second network detection parameter value represents the network state of the interface server, receives the first network detection parameter value and the second network detection parameter value returned by the monitoring server, and displays the first network detection parameter value and the second network detection parameter value, so that the network states of the terminal and the interface server are visually displayed, network faults can be accurately located.
Fig. 12 is a block diagram showing the structure of a network detection inquiry apparatus in another embodiment. As shown in fig. 12, a network detection query apparatus, which runs on a terminal, includes an obtaining module 1202, a request initiating module 1204, a result receiving module 1206, a displaying module 1208, a collecting module 1210, and a reporting module 1212.
The acquisition module 1210 is configured to acquire network data and acquisition time corresponding to the user identifier in real time.
The reporting module 1212 is configured to report the user identifier, the network data, and the collection time at regular time.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A network detection method, comprising:
acquiring a network fault query request, wherein the network fault query request comprises a first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
acquiring a second user identifier which is positioned at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is positioned according to the network fault query request;
acquiring a network address of an interface server where the first user identifier is located according to the network fault query request, and acquiring a third user identifier on the interface server;
acquiring a first network detection parameter value of the second user identifier in the preset time period, and acquiring a second network detection parameter value of the third user identifier in the preset time period, wherein the first network detection parameter value is used for representing the network state of a terminal, and the second network detection parameter value is used for representing the network state of an interface server;
and returning a first network detection parameter value of the second subscriber identity in the preset time period and a second network detection parameter value of the third subscriber identity in the preset time period to a terminal where the first subscriber identity is located, so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first subscriber identity is located.
2. The method of claim 1, further comprising:
receiving network data and acquisition time corresponding to a user identifier which is acquired by a terminal in real time and reported in a timing manner;
establishing a corresponding relation among the user identification, the network data and acquisition time;
the obtaining a first network detection parameter value of the second subscriber identity within the preset time period and obtaining a second network detection parameter value of the third subscriber identity within the preset time period include:
and acquiring corresponding network data from the corresponding relation among the user identification, the network data and the acquisition time according to the second user identification, the third user identification and a preset time period, and calculating to obtain a corresponding first network detection parameter value and a corresponding second network detection parameter value according to the network data.
3. The method according to claim 2, wherein after the step of acquiring the network data and the acquisition time corresponding to the user identifier by the receiving terminal in real time and reporting the network data and the acquisition time in a timed manner, the method further comprises:
and filtering the network data and the acquisition time corresponding to the user identification.
4. The method according to claim 2, wherein after the step of acquiring the network data and the acquisition time corresponding to the user identifier by the receiving terminal in real time and reporting the network data and the acquisition time in a timed manner, the method further comprises:
acquiring an identification field value in the network data;
determining the service type of the network data according to the identification field value;
and establishing a corresponding relation among the user identification, the network data and the acquisition time according to the service type.
5. The method of claim 2, wherein the first network detection parameter value and the second network detection parameter value are packet loss rates; the network data comprises network uplink data, network downlink data, a network address of the terminal and a network address of the interface server.
6. The method of claim 1, further comprising:
positioning the network fault of the first user identification at a terminal or an interface server according to the first network detection parameter value and the second network detection parameter value;
if the first network detection parameter value is larger than a first threshold value and the second network detection parameter value is smaller than a second threshold value, the network fault of the first user identifier is at the terminal;
if the first network detection parameter value is smaller than a third threshold value and the second network detection parameter value is larger than a fourth threshold value, the network fault of the first user identifier is in an interface server;
wherein the first threshold is greater than or equal to a third threshold, and the second threshold is less than or equal to a fourth threshold.
7. The method of claim 1, further comprising:
screening out a fourth user identifier which is positioned at the same network outlet of the same network operator and on the same interface server as the network address of the terminal where the first user identifier is positioned from the second user identifier and the third user identifier;
acquiring a third network detection parameter value of the fourth user identifier in the preset time period;
and positioning the network fault of the first user identifier at a terminal or an interface server according to the first network detection parameter value and the third network detection parameter value, or according to the second network detection parameter value and the third network detection parameter value.
8. A network detection query method comprises the following steps:
acquiring an input first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
acquiring a trigger instruction, and initiating a network fault query request to a monitoring server according to the trigger instruction so as to enable the monitoring server to acquire a second user identifier which is at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is located, acquire the network address of an interface server where the first user identifier is located, acquire a third user identifier on the interface server, acquire a first network detection parameter value of the second user identifier in the preset time period, and acquire a second network detection parameter value of the third user identifier in the preset time period, wherein the network fault query request comprises the first user identifier, the network address of the terminal where the first user identifier is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server;
receiving a first network detection parameter value of a second user identifier returned by the monitoring server according to the network fault query request in the preset time period and a second network detection parameter value of a third user identifier in the preset time period;
and displaying the first network detection parameter value and the second network detection parameter value.
9. The method of claim 8, further comprising:
acquiring network data and acquisition time corresponding to the user identification in real time;
and reporting the user identification, the network data and the acquisition time at regular time.
10. A network sensing apparatus, comprising:
the network fault query system comprises a request receiving module, a network fault query module and a fault state judging module, wherein the request receiving module is used for acquiring a network fault query request which comprises a first user identifier, a network address of a terminal where the first user identifier is located and a preset time period;
the searching module is used for acquiring a second user identifier which is positioned at the same network outlet of the same network operator as the network address of the terminal where the first user identifier is positioned according to the network fault inquiring request; acquiring a network address of an interface server where the first user identifier is located according to the network fault query request, and acquiring a third user identifier on the interface server;
a processing module, configured to obtain a first network detection parameter value of the second subscriber identity in the preset time period, and obtain a second network detection parameter value of the third subscriber identity in the preset time period, where the first network detection parameter value is used to represent a network state of a terminal, and the second network detection parameter value is used to represent a network state of an interface server;
and the returning module is used for returning the first network detection parameter value of the second user identifier in the preset time period and the second network detection parameter value of the third user identifier in the preset time period to the terminal where the first user identifier is located so as to display the first network detection parameter value and the second network detection parameter value on the terminal where the first user identifier is located.
11. The apparatus of claim 10, further comprising:
the data receiving module is used for receiving network data and acquisition time corresponding to the user identification which is acquired by the terminal in real time and reported in a timing manner;
the relation establishing module is used for establishing the corresponding relation among the user identification, the network data and the acquisition time;
the processing module is further configured to obtain corresponding network data from the corresponding relationship among the user identifier, the network data and the acquisition time according to the second user identifier, the third user identifier and a preset time period, and calculate to obtain a corresponding first network detection parameter value and a corresponding second network detection parameter value according to the network data.
12. The apparatus of claim 11, further comprising:
and the filtering module is used for filtering the network data and the acquisition time corresponding to the user identifier after the data receiving module receives the network data and the acquisition time corresponding to the user identifier which are acquired by the terminal in real time and reported regularly.
13. The apparatus of claim 11, further comprising:
the extraction module is used for acquiring the identification field value in the network data after the data receiving module receives the network data and the acquisition time corresponding to the user identification which is acquired by the terminal in real time and reported at regular time;
the type identification module is used for determining the service type of the network data according to the identification field value;
the relation establishing module is also used for establishing the corresponding relation among the user identification, the network data and the acquisition time according to the service type.
14. The apparatus of claim 11, wherein the first network detection parameter value and the second network detection parameter value are packet loss rates; the network data comprises network uplink data, network downlink data, a network address of the terminal and a network address of the interface server.
15. The apparatus of claim 10, further comprising:
the first fault positioning module is used for positioning the network fault of the first user identifier at a terminal or an interface server according to the first network detection parameter value and the second network detection parameter value;
if the first network detection parameter value is larger than a first threshold value and the second network detection parameter value is smaller than a second threshold value, the network fault of the first user identifier is at the terminal;
if the first network detection parameter value is smaller than a third threshold value and the second network detection parameter value is larger than a fourth threshold value, the network fault of the first user identifier is in an interface server;
wherein the first threshold is greater than or equal to a third threshold, and the second threshold is less than or equal to a fourth threshold.
16. The apparatus according to claim 10, wherein the lookup module is further configured to filter out a fourth subscriber identity that is located at the same network outlet of the same network operator and on the same interface server as the network address of the terminal where the first subscriber identity is located, from the second subscriber identity and the third subscriber identity;
the processing module is further configured to obtain a third network detection parameter value of the fourth subscriber identity within the preset time period;
and the second fault positioning module is used for positioning the network fault of the first user identifier at a terminal or an interface server according to the first network detection parameter value and the third network detection parameter value, or according to the second network detection parameter value and the third network detection parameter value.
17. A network detection query device, comprising:
the acquisition module is used for acquiring the input first user identification, the network address of the terminal where the first user identification is located and a preset time period;
a request initiating module, configured to obtain a trigger instruction, initiate a network fault query request to a monitoring server according to the trigger instruction, so that the monitoring server obtains a second subscriber identity, which is located at the same network outlet of the same network operator as the network address of the terminal where the first subscriber identity is located, obtains the network address of an interface server where the first subscriber identity is located, obtains a third subscriber identity on the interface server, obtains a first network detection parameter value of the second subscriber identity within the preset time period, and obtains a second network detection parameter value of the third subscriber identity within the preset time period, where the network fault query request includes the first subscriber identity, the network address of the terminal where the first subscriber identity is located, and the preset time period; the first network detection parameter value is used for representing the network state of the terminal, and the second network detection parameter value is used for representing the network state of the interface server;
a result receiving module, configured to receive a first network detection parameter value of a second user identifier returned by the monitoring server according to the network fault query request within the preset time period, and a second network detection parameter value of a third user identifier within the preset time period;
and the display module is used for displaying the first network detection parameter value and the second network detection parameter value.
18. The apparatus of claim 17, further comprising:
the acquisition module is used for acquiring network data and acquisition time corresponding to the user identification in real time;
and the reporting module is used for reporting the user identification, the network data and the acquisition time in a timing manner.
CN201610812177.0A 2016-09-07 2016-09-07 Network detection method and device, and network detection query method and device Active CN107800560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610812177.0A CN107800560B (en) 2016-09-07 2016-09-07 Network detection method and device, and network detection query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610812177.0A CN107800560B (en) 2016-09-07 2016-09-07 Network detection method and device, and network detection query method and device

Publications (2)

Publication Number Publication Date
CN107800560A CN107800560A (en) 2018-03-13
CN107800560B true CN107800560B (en) 2020-08-14

Family

ID=61530974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610812177.0A Active CN107800560B (en) 2016-09-07 2016-09-07 Network detection method and device, and network detection query method and device

Country Status (1)

Country Link
CN (1) CN107800560B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112242937B (en) * 2020-10-13 2024-03-08 腾讯科技(深圳)有限公司 Network speed measuring method and device, electronic equipment and computer readable medium
CN112272127A (en) * 2020-10-26 2021-01-26 福州智永信息科技有限公司 Method and terminal for detecting network condition of mobile equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136921B2 (en) * 2001-06-19 2006-11-14 Nec Corporation Network system, detection method and monitoring method of network entity faults, and storage medium
CN101388925A (en) * 2008-11-05 2009-03-18 北京中创信测科技股份有限公司 Telecommunication network failure enquiry method, apparatus and telecommunication network collaboration monitoring system
CN101640672A (en) * 2008-07-31 2010-02-03 华为技术有限公司 Internet protocol network fault location test method, system and device
CN102111310A (en) * 2010-12-31 2011-06-29 网宿科技股份有限公司 Method and system for monitoring content delivery network (CDN) equipment status
CN102308522A (en) * 2011-07-21 2012-01-04 华为技术有限公司 Method, device and system for locating network fault
CN103414916A (en) * 2013-08-30 2013-11-27 苏州科达科技股份有限公司 Fault diagnosis system and method
CN103701625A (en) * 2012-09-28 2014-04-02 中国电信股份有限公司 Home gateway WLAN (Wireless Local Area Network) network fault location method and network management system
CN104579733A (en) * 2013-10-25 2015-04-29 华为终端有限公司 Method, equipment and system for carrying out fault diagnosis

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136921B2 (en) * 2001-06-19 2006-11-14 Nec Corporation Network system, detection method and monitoring method of network entity faults, and storage medium
CN101640672A (en) * 2008-07-31 2010-02-03 华为技术有限公司 Internet protocol network fault location test method, system and device
CN101388925A (en) * 2008-11-05 2009-03-18 北京中创信测科技股份有限公司 Telecommunication network failure enquiry method, apparatus and telecommunication network collaboration monitoring system
CN102111310A (en) * 2010-12-31 2011-06-29 网宿科技股份有限公司 Method and system for monitoring content delivery network (CDN) equipment status
CN102308522A (en) * 2011-07-21 2012-01-04 华为技术有限公司 Method, device and system for locating network fault
CN103701625A (en) * 2012-09-28 2014-04-02 中国电信股份有限公司 Home gateway WLAN (Wireless Local Area Network) network fault location method and network management system
CN103414916A (en) * 2013-08-30 2013-11-27 苏州科达科技股份有限公司 Fault diagnosis system and method
CN104579733A (en) * 2013-10-25 2015-04-29 华为终端有限公司 Method, equipment and system for carrying out fault diagnosis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
运营商WLAN网络面临问题研究;黎晶 等;《移动信息》;20151106;全文 *

Also Published As

Publication number Publication date
CN107800560A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN106878064B (en) Data monitoring method and device
US20150120914A1 (en) Service monitoring system and service monitoring method
CN106874273B (en) Channel information statistical method, device and system
US8601095B1 (en) Feedback mechanisms providing contextual information
CN105376335B (en) Collected data uploading method and device
US8528031B2 (en) Distributed diagnostics for internet video link
US20140189431A1 (en) Method and system for monitoring transaction execution on a computer network and computer storage medium
EP2719153A1 (en) Model-based method for managing information derived from network traffic
CN106411629B (en) Method and equipment for monitoring state of CDN node
KR102086524B1 (en) Using messaging associated with adaptive bitrate streaming to perform media monitoring for mobile platforms
US20150009998A1 (en) Method and apparatus for managing device context using an ip address in a communication system
CN107306200B (en) Network fault early warning method and gateway for network fault early warning
CN111614954A (en) Index acquisition processing method and device for streaming media, computer and storage medium
CN105553770B (en) Data acquisition control method and device
CN107800560B (en) Network detection method and device, and network detection query method and device
CN114301800A (en) Network equipment quality difference analysis method and device
JP5962117B2 (en) Video selection method in an environment with multiple image compression methods
CN112583659A (en) Method and device for detecting network state of video network, terminal equipment and storage medium
CN111200522A (en) Port detection method, device, equipment and storage medium
US10616306B2 (en) System and method for large-scale capture and tracking of web-based application parameters
CN114666390B (en) Page monitoring method and device of application program, electronic equipment and storage medium
CN108255868B (en) Method and device for checking links in website
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN114205169A (en) Network security defense method, device and system
CN113434729A (en) Video related information aggregation obtaining method and device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant