CN107181644A - For the method and apparatus for the network performance for monitoring network application - Google Patents
For the method and apparatus for the network performance for monitoring network application Download PDFInfo
- Publication number
- CN107181644A CN107181644A CN201710456903.4A CN201710456903A CN107181644A CN 107181644 A CN107181644 A CN 107181644A CN 201710456903 A CN201710456903 A CN 201710456903A CN 107181644 A CN107181644 A CN 107181644A
- Authority
- CN
- China
- Prior art keywords
- domain name
- name server
- network
- local domain
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Abstract
This application discloses the method and apparatus of the network performance for monitoring network application.One embodiment of this method includes:Test data bag is sent to the backbone node that network service is provided for objective network application, and obtains test result corresponding with the backbone node, wherein, the test result includes at least one of following:Response time and packet loss;According to test result corresponding with the backbone node, the network performance of the network pair between the backbone node is monitored.The network performance that the embodiment realizes the backbone node to providing network service for network application is monitored in real time.
Description
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly, to monitors network
The method and apparatus of the network performance of application.
Background technology
Network application, is the application by providing network service for the user on internet.In order to ensure network application
It is unimpeded, it is necessary in real time monitoring for network application provide service outside network device (for example, server, interchanger etc.) network
Performance, for example:Network connectivty, response time and packet loss etc..
However, existing be mostly monitored using a kind of method to the network performance of network application, so as to there is monitoring
The problem of mode dimension is less.
The content of the invention
The purpose of the application is a kind of improved method and apparatus for being used to monitor the network performance of network application of proposition,
To solve the technical problem that background section above is mentioned.
The embodiment of the present application provides A1, a kind of method for being used to monitor the network performance of network application, and the above method includes:
Test data bag is sent to the backbone node that network service is provided for objective network application, and obtains corresponding with above-mentioned backbone node
Test result, wherein, above-mentioned test result includes at least one of following:Response time and packet loss;According to it is above-mentioned with it is above-mentioned
The corresponding test result of backbone node, the network performance of the network pair between above-mentioned backbone node is monitored.
A2, such as A1 above-mentioned method, the above method also includes:Local domain name server IP (the interconnections that receiving terminal is sent
FidonetFido, Internet Protocol) address, wherein, above-mentioned local domain name server IP address is in the parsing of above-mentioned terminal
The IP address of local domain name server obtained by stating after the domain name of objective network application;To above-mentioned local domain name server IP
Local domain name server indicated by location sends test data bag, and obtains test knot corresponding with above-mentioned local domain name server
Really;According to above-mentioned test result corresponding with above-mentioned local domain name server, the net pair between above-mentioned local domain name server
The network performance of network is monitored.
A3, such as A2 above-mentioned method, the above method also includes:Obtain the geographical position where above-mentioned terminal, and by basis
The area identification corresponding with above-mentioned geographical position that above-mentioned geographical position is determined is defined as local area mark;According to pre-setting
Area identification and preset IP address between corresponding relation, it is determined that with the corresponding preset IP address of above-mentioned local area mark;
Determine whether above-mentioned local domain name server IP address is identical with identified preset IP address;In response to determining above-mentioned local domain
Name server ip address it is identical with identified preset IP address, it is determined that with indicated by above-mentioned local domain name server IP address
The network operation between local domain name server is normal.
A4, such as A3 above-mentioned method, the above method also includes:In response to determine above-mentioned local domain name server IP address with
Identified preset IP address is differed, it is determined that with the local domain name server indicated by above-mentioned local domain name server IP address
Between the network operation it is abnormal.
A5, such as A4 above-mentioned method, the above method also includes:The terminal test result that above-mentioned terminal is sent is received, wherein,
Above-mentioned terminal test result is from the local domain name server indicated by above-mentioned terminal to above-mentioned local domain name server IP address
The test result between above-mentioned terminal and above-mentioned local domain name server obtained by transmission test bag;According to received end
Test result is held, the network performance of the network between above-mentioned terminal and above-mentioned local domain name server is monitored.
A6, such as A5 above-mentioned method, the above method also includes:Obtain and received in preset time period from above-mentioned backbone node
The number for the local domain name server IP address that terminal is sent and/or the number of terminal test result;According to acquired number,
The network performance of network pair between above-mentioned backbone node is monitored.
The embodiment of the present application provides B1, a kind of device for being used to monitor the network performance of network application, and said apparatus includes:
First transmitting element, is configured to send test data bag to the backbone node for providing network service for objective network application, and
Test result corresponding with above-mentioned backbone node is obtained, wherein, above-mentioned test result includes at least one of following:Response time and
Packet loss;First monitoring unit, is configured to according to above-mentioned test result corresponding with above-mentioned backbone node, pair with above-mentioned backbone
The network performance of network between node is monitored.
B2, such as B1 above-mentioned device, said apparatus also includes:First receiving unit, is configured to what receiving terminal was sent
Local domain name server IP address, wherein, above-mentioned local domain name server IP address is to parse above-mentioned target network by above-mentioned terminal
The IP address of local domain name server obtained by after the domain name of network application;Second transmitting element, is configured to above-mentioned local
Local domain name server indicated by domain name server IP address sends test data bag, and obtains and above-mentioned local Domain Name Service
The corresponding test result of device;Second monitoring unit, is configured to according to above-mentioned test corresponding with above-mentioned local domain name server
As a result, the network performance of the network pair between above-mentioned local domain name server is monitored.
B3, such as B2 above-mentioned device, said apparatus also includes:First acquisition unit, is configured to obtain above-mentioned terminal institute
Geographical position, and the area identification corresponding with above-mentioned geographical position determined according to above-mentioned geographical position is defined as locality
Area identification;First determining unit, is configured to according to the corresponding pass between the area identification pre-set and preset IP address
System, it is determined that with the corresponding preset IP address of above-mentioned local area mark;Second determining unit, is configured to determine above-mentioned local domain
Whether name server ip address is identical with identified preset IP address;3rd determining unit, is configured in response in determination
State local domain name server IP address identical with identified preset IP address, it is determined that with above-mentioned local domain name server IP address
The network operation between indicated local domain name server is normal.
B4, such as B3 above-mentioned device, said apparatus also includes:4th determining unit, is configured to above-mentioned in response to determining
Local domain name server IP address is differed with identified preset IP address, it is determined that with above-mentioned local domain name server IP address
The network operation between indicated local domain name server is abnormal.
B5, such as B4 above-mentioned device, said apparatus also includes:Second receiving unit, is configured to receive above-mentioned terminal hair
The terminal test result come, wherein, above-mentioned terminal test result is from above-mentioned terminal to above-mentioned local domain name server IP address
The survey between above-mentioned terminal and above-mentioned local domain name server obtained by indicated local domain name server transmission test bag
Test result;3rd monitoring unit, is configured to according to received terminal test result, to above-mentioned terminal and above-mentioned local domain
The network performance of network between name server is monitored.
B6, such as B5 above-mentioned device, said apparatus also includes:Second acquisition unit, is configured to obtain preset time period
The interior number that the local domain name server IP address that terminal is sent is received from above-mentioned backbone node and/or terminal test result
Number;4th monitoring unit, is configured to according to acquired number, the internetworking of the network pair between above-mentioned backbone node
It can be monitored.
The embodiment of the present application provides C1, a kind of server, and the server includes:One or more processors;Storage device,
For storing one or more programs, when said one or multiple programs are by said one or multiple computing devices so that
Said one or multiple processors realize the method as described in any implementation in A1 to A6.
The embodiment of the present application provides D1, a kind of computer-readable recording medium, is stored thereon with computer program, its feature
It is, the method as described in any implementation in A1 to A6 is realized when the computer program is executed by processor.
The method and apparatus for being used to monitor the network performance of network application that the embodiment of the present application is provided, by for target
The backbone node that network application provides network service sends test data bag, and obtains test result corresponding with backbone node,
Further according to test result corresponding with backbone node, the network performance of the network pair between backbone node is monitored, and is realized
The network performance of backbone node to providing network service for network application is monitored in real time.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow for being used to monitor one embodiment of the method for the network performance of network application according to the application
Figure;
Fig. 3 is the flow for being used to monitor another embodiment of the method for the network performance of network application according to the application
Figure;
Fig. 4 is the flow for being used to monitor the further embodiment of the method for the network performance of network application according to the application
Figure;
Fig. 5 is shown according to the structure for being used to monitor one embodiment of the device of the network performance of network application of the application
It is intended to;
Fig. 6 is adapted for the structural representation of the computer system of the server for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
Be easy to description, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for the network performance for monitoring network application of the application or for monitoring network
The exemplary system architecture 100 of the embodiment of the device of the network performance of network application.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, network 104, local Domain Name Service
Device 105, backbone node 106, network 107 and application server 108.Network 104 be used to terminal device 101,102,103,
The medium of communication link is provided between local domain name server 105 and backbone node 106.Network 107 is used in backbone node
The medium of communication link is provided between 106 and application server 108.Network 104 and network 107 can include various connection classes
Type, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with local domain name server 105, with
Receive or send message etc..Various terminals application can be installed on terminal device 101,102,103, such as take-away class application,
Web browser applications, the application of shopping class, searching class application, JICQ, mailbox terminal, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments browsed with display screen and supported web page, bag
Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Local domain name server 105 can be to provide the server of domain name resolution service, for example to terminal device 101,
102nd, the domain name mapping request transmitted by the network application shown on 103 is handled, and by result (for example, IP address)
Feed back to terminal device.
Backbone network (Backbone Network) is for connection to the express network in multiple regions or area.Each backbone network
In at least one tie point for being interconnected with other backbone networks, this tie point is exactly backbone node.Backbone node
106 can be server, work station, interchanger, can also be other network switching equipment.
Application server 108 can be the server or server cluster that service is provided for network application.For example to end
The network application shown in end equipment 101,102,103 provides the background application server supported.Background application server can be with
The request of data received is carried out the processing such as to analyze, and result (for example, data that terminal device is asked) is fed back
To terminal device.
It should be noted that when application server 108 is a server, what the embodiment of the present application was provided is used to supervise
The method for controlling the network performance of network application is typically performed by application server 108, correspondingly, the net for monitoring network application
The device of network performance is generally positioned in application server 108.When application server 108 is server cluster, the application is real
The method for applying the network performance for monitoring network application that example is provided is general by the given server in application server 108
Perform, correspondingly, for monitoring the specified clothes that the device of network performance of network application is generally positioned in application server 108
It is engaged in device.
It should be understood that the number of the terminal device, network, backbone node, local domain name server and application server in Fig. 1
Mesh is only schematical.According to needs are realized, can have any number of terminal device, network, backbone node, local domain
Name server and application server.
With continued reference to Fig. 2, it illustrates the one of the method for the network performance for monitoring network application according to the application
The flow 200 of individual embodiment.This is used for the method for monitoring the network performance of network application, comprises the following steps:
Step 201, to for objective network application provides network service backbone node send test data bag, and obtain and
The corresponding test result of backbone node.
In the present embodiment, the method for the network performance for monitoring network application runs electronic equipment (example thereon
Application server 108 as shown in Figure 1) can be by wired connection mode or radio connection to for objective network application
The backbone node for providing network service sends test data bag, and obtains test result corresponding with backbone node.Wherein, test
As a result include at least one of following:Response time and packet loss.
In some optional implementations of the present embodiment, the IP of backbone node can be preset with above-mentioned electronic equipment
Address, may then pass through the above-mentioned backbone nodes of ping IP address come to backbone node send test data bag, and obtain with
The corresponding test result of backbone node.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can also be using the scanning of network connection end
Instrument (for example, NMap), which is realized to backbone node, sends test data bag, and obtains test result corresponding with backbone node.
Step 202, according to test result corresponding with backbone node, the network performance of the network pair between backbone node
It is monitored.
In the present embodiment, above-mentioned electronic equipment can according to obtained in step 201 it is corresponding with backbone node test
As a result, the network performance of the network pair between backbone node is monitored.
In some optional implementations of the present embodiment, step 202 can be carried out as follows:
For the parameter value of each test parameter in test result corresponding with backbone node, this test parameter is determined
Whether parameter value is in the range of preset parameter value corresponding with this test parameter;If it is determined that the parameter value of this test parameter
Not in the range of preset parameter value corresponding with this test parameter, it is determined that the network performance of the network between backbone node
It is abnormal.
If it is determined that the parameter value of each test parameter is tested with this in test result corresponding with backbone node
In the range of the corresponding preset parameter value of parameter, it is determined that the network performance of the network between backbone node is normal.
In some optional implementations of the present embodiment, step 202 may be carried out as follows:
For the parameter value of each test parameter in test result corresponding with backbone node, this test parameter is determined
Whether parameter value is in the range of preset parameter value corresponding with this test parameter;If it is determined that the parameter value of this test parameter
Not in the range of preset parameter value corresponding with this test parameter, then generate for the network between instruction and backbone node
The abnormal warning message of network performance.
The method that above-described embodiment of the application is provided to the backbone that network service is provided for objective network application by saving
Point sends test data bag, and obtains test result corresponding with backbone node, is tied further according to test corresponding with backbone node
Really, the network performance of the network pair between backbone node is monitored, and realizes the bone for providing network application network service
The network performance of dry node is monitored in real time.
With further reference to Fig. 3, it illustrates another embodiment of the method for the network performance for monitoring network application
Flow 300.This is used for the flow 300 for monitoring the method for the network performance of network application, comprises the following steps:
Step 301, to for objective network application provides network service backbone node send test data bag, and obtain and
The corresponding test result of backbone node.
Step 302, according to test result corresponding with backbone node, the network performance of the network pair between backbone node
It is monitored.
In the present embodiment, step 201 and step in the concrete operations of step 301 and step 302 and embodiment shown in Fig. 2
Rapid 202 operation is essentially identical, will not be repeated here.
Step 303, the local domain name server IP address that receiving terminal is sent.
In the present embodiment, the method for the network performance for monitoring network application runs electronic equipment (example thereon
Application server 108 as shown in Figure 1) the local domain name server IP address that can be sent with receiving terminal.Wherein, it is above-mentioned local
Domain name server IP address is that local domain name server resulting after the domain name of objective network application is parsed by above-mentioned terminal
IP address.
Step 304, the local domain name server indicated by local domain name server IP address sends test data bag, and
Obtain test result corresponding with local domain name server.
In the present embodiment, above-mentioned electronic equipment can receive the local Domain Name Service that terminal is sent in step 303
After device IP address, the local domain name server indicated by local domain name server IP address sends test data bag, and obtains
Test result corresponding with local domain name server.Wherein, send test data bag and obtain the specific method of test result can
Referring to the related description in step 201 in the embodiment shown in Fig. 2, will not be repeated here.
Step 305, according to test result corresponding with local domain name server, the net pair between local domain name server
The network performance of network is monitored.
In the present embodiment, above-mentioned electronic equipment can according to test result corresponding with local domain name server, pair with
The network performance of network between local domain name server is monitored.
In some optional implementations of the present embodiment, step 305 can be carried out as follows:
For the parameter value of each test parameter in test result corresponding with local domain name server, determine that this tests
Whether the parameter value of parameter is in the range of preset parameter value corresponding with this test parameter;If it is determined that this test parameter
Parameter value is not in the range of preset parameter value corresponding with this test parameter, it is determined that the net between local domain name server
The network performance of network is abnormal.
If it is determined that in test result corresponding with local domain name server the parameter value of each test parameter with this
In the range of the corresponding preset parameter value of item test parameter, it is determined that the network performance of the network between local domain name server is just
Often.
In some optional implementations of the present embodiment, step 305 may be carried out as follows:
For the parameter value of each test parameter in test result corresponding with local domain name server, determine that this tests
Whether the parameter value of parameter is in the range of preset parameter value corresponding with this test parameter;If it is determined that this test parameter
Parameter value is then generated for instruction and local domain name server not in the range of preset parameter value corresponding with this test parameter
Between network the abnormal warning message of network performance.
Step 306, the geographical position where terminal is obtained, and will be determined according to geographical position and above-mentioned geographical position pair
The area identification answered is defined as local area mark.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be determined by the IP address of terminal
Position where terminal.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can also pass through the middle installation of terminal
The registered address of the currently logged on user of intended application determines the position where terminal.
In the present embodiment, area identification corresponding with geographical position can be for characterizing the ground belonging to geographical position
The area identification in the region in area, city or province.
Step 307, according to the corresponding relation between the area identification and preset IP address pre-set, it is determined that with working as area
The corresponding preset IP address of domain identifier.
In the present embodiment, above-mentioned electronic equipment can be prestored for characterizing between area identification and preset IP address
The mapping table of corresponding relation, so, above-mentioned electronic equipment can be according to the area identifications and preset IP address pre-set
Between corresponding relation, it is determined that with the corresponding preset IP address of local area mark.
Step 308, determine whether local domain name server IP address is identical with identified preset IP address.
In the present embodiment, above-mentioned electronic equipment can determine in step 303 from terminal to local domain name server IP
Whether address is identical with identified preset IP address in step 307.If it is determined that it is identical, then turn to step 309.If it is determined that
Difference, then turn to step 310.
Step 309, it is determined that the network between the local domain name server indicated by local domain name server IP address is transported
Row is normal.
In the present embodiment, above-mentioned electronic equipment can determine local domain name server IP address and institute in step 308
In the case of the preset IP address identical of determination, it is determined that with the local domain name server indicated by local domain name server IP address
Between the network operation it is normal.
Step 310, it is determined that the network between the local domain name server indicated by local domain name server IP address is transported
Row is abnormal.
In the present embodiment, above-mentioned electronic equipment can determine local domain name server IP address and institute in step 308
In the case that the preset IP address of determination is differed, it is determined that with the local Domain Name Service indicated by local domain name server IP address
The network operation between device is abnormal.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, being used in the present embodiment monitors network application
The flow 300 of the method for network performance has had more sends test data according to the local domain name server IP address sent to terminal
The step 303- steps 305 that are monitored of test result obtained by bag, and according to local domain name server IP address whether
The whether identical step 306- steps 310 to be monitored of preset IP address corresponding with terminal position.Thus, this implementation
The scheme of example description can introduce more monitor modes, so as to realize the network performance of the monitoring network application of more various dimensions.
Below with reference to Fig. 4, it illustrates the further embodiment of the method for the network performance for monitoring network application
Flow 400.This is used for the flow 400 for monitoring the method for the network performance of network application, comprises the following steps:
Step 401, to for objective network application provides network service backbone node send test data bag, and obtain and
The corresponding test result of backbone node.
Step 402, according to test result corresponding with backbone node, the network performance of the network pair between backbone node
It is monitored.
Step 403, the local domain name server IP address that receiving terminal is sent.
Step 404, the local domain name server indicated by local domain name server IP address sends test data bag, and
Obtain test result corresponding with local domain name server.
Step 405, according to test result corresponding with local domain name server, the net pair between local domain name server
The network performance of network is monitored.
Step 406, the geographical position where terminal is obtained, and will be determined according to geographical position and above-mentioned geographical position pair
The area identification answered is defined as local area mark.
Step 407, according to the corresponding relation between the area identification and preset IP address pre-set, it is determined that with working as area
The corresponding preset IP address of domain identifier.
Step 408, determine whether local domain name server IP address is identical with identified preset IP address.
If it is determined that it is identical, then turn to step 409.If it is determined that it is different, then turn to step 410.
Step 409, it is determined that the network between the local domain name server indicated by local domain name server IP address is transported
Row is normal.
Step 410, it is determined that the network between the local domain name server indicated by local domain name server IP address is transported
Row is abnormal.
In the present embodiment, step 301- steps in the concrete operations of step 401- steps 410 and embodiment shown in Fig. 3
310 operation is essentially identical, will not be repeated here.
Step 411, the terminal test result that receiving terminal is sent.
In the present embodiment, the method for the network performance for monitoring network application runs electronic equipment (example thereon
Application server 108 as shown in Figure 1) the terminal test result that can be sent with receiving terminal.Wherein, above-mentioned terminal test result
Be from indicated by local domain name server from terminal to local domain name server IP address send test bag obtained by terminal with
Test result between local domain name server.
Step 412, according to received terminal test result, to the network between terminal and local domain name server
Network performance is monitored.
In the present embodiment, above-mentioned electronic equipment can be according to the terminal test result received in step 411, to terminal
The network performance of network between local domain name server is monitored.
In some optional implementations of the present embodiment, step 412 can be carried out as follows:
For the parameter value of each test parameter in terminal test result, determine this test parameter parameter value whether
In the range of preset parameter value corresponding with this test parameter;If it is determined that the parameter value of this test parameter is not surveyed with this
Try in the range of the corresponding preset parameter value of parameter, it is determined that the network performance of the network between terminal and local domain name server is different
Often.
If it is determined that the parameter value of each test parameter is corresponding with this test parameter pre- in terminal test result
In the range of setting parameter value, it is determined that the network performance of the network between terminal and local domain name server is normal.
In some optional implementations of the present embodiment, step 412 may be carried out as follows:
For the parameter value of each test parameter in terminal test result, determine this test parameter parameter value whether
In the range of preset parameter value corresponding with this test parameter;If it is determined that the parameter value of this test parameter is not surveyed with this
Try in the range of the corresponding preset parameter value of parameter, then generate the net for the network between instruction terminal and local domain name server
The warning message of network property abnormality.
Step 413, obtain preset time period in from backbone node with receiving the local domain name server IP that terminal is sent
The number of location and/or the number of terminal test result.
In the present embodiment, above-mentioned electronic equipment, which can be obtained, receives terminal from backbone node in preset time period and sends
Local domain name server IP address number and/or the number of terminal test result.
Step 414, according to acquired number, the network performance of the network pair between backbone node is monitored.
In the present embodiment, above-mentioned electronic equipment can according to number acquired in step 413, pair with backbone node it
Between the network performance of network be monitored.
In some optional implementations of the present embodiment, step 414 can be carried out as follows:
It is determined that in acquired preset time period from backbone node with receiving the local domain name server IP that terminal is sent
Whether the number of location is in preset IP address number range corresponding with backbone node.If it was not then determining and backbone node
Between network network performance it is abnormal.
In some optional implementations of the present embodiment, step 414 may be carried out as follows:
It is determined that in acquired preset time period from backbone node receive terminal test result number whether with bone
In the corresponding default test result number range of dry node.If it was not then determining the network of the network between backbone node
Property abnormality.
In some optional implementations of the present embodiment, step 414 can also be carried out as follows:
It is determined that in acquired preset time period from backbone node with receiving the local domain name server IP that terminal is sent
Whether the number of location is in preset IP address number range corresponding with backbone node, and determines acquired preset time period
It is interior whether to receive the number of terminal test result in default test result number model corresponding with backbone node from backbone node
In enclosing.If not in corresponding scope, it is determined that the network performance of the network between backbone node is abnormal.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 3, being used in the present embodiment monitors network application
The flow 300 of the method for network performance has had more the terminal test result sent according to terminal to terminal and local domain name server
Between network the step 411- steps 412 that are monitored of network performance, and according in preset time period from backbone node
Receive the number for the local domain name server IP address that terminal is sent and/or the number pair and backbone node of terminal test result
Between network the network performance step 413 and step 414 that are monitored.Thus, the scheme of the present embodiment description can draw
Enter more monitor modes, so that the network performance of the monitoring network application of more various dimensions is realized, and fault point.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, it is used for monitoring network this application provides one kind
One embodiment of the device of the network performance of network application, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, should
Device specifically can apply in various electronic equipments.
As shown in figure 5, the device 500 of the network performance for monitoring network application of the present embodiment includes:First sends
The monitoring unit 502 of unit 501 and first.Wherein, the first transmitting element 501, is configured to provide net to for objective network application
The backbone node of network service sends test data bag, and obtains test result corresponding with above-mentioned backbone node, wherein, above-mentioned survey
Test result includes at least one of following:Response time and packet loss;First monitoring unit 502, be configured to according to it is above-mentioned with it is upper
The corresponding test result of backbone node is stated, the network performance of the network pair between above-mentioned backbone node is monitored.
In the present embodiment, for the network performance that monitors network application device 500 the first transmitting element 501 and
The specific processing of one monitoring unit 502 and its technique effect that is brought can respectively with reference to step 201 in Fig. 2 correspondence embodiments and
The related description of step 202, will not be repeated here.
In some optional implementations of the present embodiment, said apparatus 500 can also include:First receiving unit
503, the local domain name server IP address that receiving terminal is sent is configured to, wherein, above-mentioned local domain name server IP address
It is the IP address that local domain name server resulting after the domain name of above-mentioned objective network application is parsed by above-mentioned terminal;Second hair
Unit 504 is sent, the local domain name server indicated by above-mentioned local domain name server IP address is configured to and sends test number
According to bag, and obtain test result corresponding with above-mentioned local domain name server;Second monitoring unit 505, is configured to according to upper
Test result corresponding with above-mentioned local domain name server is stated, the internetworking of the network pair between above-mentioned local domain name server
It can be monitored.First receiving unit 503, the specific processing of the second transmitting element 504 and the second monitoring unit 505 and its institute's band
The technique effect come can refer to the related description of step 303, step 304 and step 305 in Fig. 3 correspondence embodiments respectively, herein
Repeat no more.
In some optional implementations of the present embodiment, said apparatus 500 can also include:First acquisition unit
506, it is configured to obtain the geographical position where above-mentioned terminal, and will be determined according to above-mentioned geographical position and above-mentioned geographical position
Put corresponding area identification and be defined as local area mark;First determining unit 507, is configured to according to the region pre-set
Identify preset IP address between corresponding relation, it is determined that with the corresponding preset IP address of above-mentioned local area mark;Second is true
Order member 508, is configured to determine whether above-mentioned local domain name server IP address is identical with identified preset IP address;The
Three determining units 509, are configured in response to determining above-mentioned local domain name server IP address and identified preset IP address
It is identical, it is determined that the network operation between the local domain name server indicated by above-mentioned local domain name server IP address is normal.
First acquisition unit 506, the first determining unit 507, the specific processing of the second determining unit 508 and the 3rd determining unit 509 and
Its technique effect brought can refer to step 306 in Fig. 3 correspondence embodiments, step 307, step 308 and step 309 respectively
Related description, will not be repeated here.
In some optional implementations of the present embodiment, said apparatus 500 can also include:4th determining unit
510, it is configured in response to determining that above-mentioned local domain name server IP address is differed with identified preset IP address, it is determined that
The network operation between the local domain name server indicated by above-mentioned local domain name server IP address is abnormal.4th determines list
The specific processing of member 510 and its technique effect brought refer to the related description of step 310 in Fig. 3 correspondence embodiments,
This is repeated no more.
In some optional implementations of the present embodiment, said apparatus 500 can also include:Second receiving unit
511, it is configured to receive the terminal test result that above-mentioned terminal is sent, wherein, above-mentioned terminal test result is by above-mentioned terminal
To indicated by above-mentioned local domain name server IP address local domain name server send test bag obtained by above-mentioned terminal with
Test result between above-mentioned local domain name server;3rd monitoring unit 512, is configured to according to received terminal survey
Test result, is monitored to the network performance of the network between above-mentioned terminal and above-mentioned local domain name server.Second receives single
The specific processing of member 511 and the 3rd monitoring unit 512 and its technique effect that is brought can be respectively with reference in the corresponding embodiments of Fig. 4
The related description of step 411 and step 412, will not be repeated here.
In some optional implementations of the present embodiment, said apparatus 500 can also include:Second acquisition unit
513, it is configured to obtain in preset time period from above-mentioned backbone node with receiving the local domain name server IP that terminal is sent
The number of location and/or the number of terminal test result;4th monitoring unit 514, is configured to according to acquired number, pair with
The network performance of network between above-mentioned backbone node is monitored.The tool of the monitoring unit 514 of second acquisition unit 513 and the 4th
Body processing and its technique effect that is brought can mutually speaking on somebody's behalf with reference to step 413 in Fig. 4 correspondence embodiments and step 414 respectively
It is bright, it will not be repeated here.
Below with reference to Fig. 6, it illustrates suitable for the computer system 600 for the server of realizing the embodiment of the present application
Structural representation.Server shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use range band
Carry out any limitation.
As shown in fig. 6, computer system 600 includes CPU (CPU, Central Processing Unit)
601, its can according to the program being stored in read-only storage (ROM, Read Only Memory) 602 or from storage part
606 programs being loaded into random access storage device (RAM, Random Access Memory) 603 and perform it is various appropriate
Action and processing.In RAM 603, the system that is also stored with 600 operates required various programs and data.CPU 601、ROM
602 and RAM 603 is connected with each other by bus 604.Input/output (I/O, Input/Output) interface 605 is also connected to
Bus 604.
I/O interfaces 605 are connected to lower component:Storage part 606 including hard disk etc.;And including such as LAN (locals
Net, Local Area Network) card, modem etc. NIC communications portion 607.Communications portion 607 is passed through
Communication process is performed by the network of such as internet.Driver 608 is also according to needing to be connected to I/O interfaces 605.Detachable media
609, such as disk, CD, magneto-optic disk, semiconductor memory etc., as needed be arranged on driver 608 on, in order to from
The computer program read thereon is mounted into storage part 606 as needed.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart may be implemented as computer
Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium
On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality
Apply in example, the computer program can be downloaded and installed by communications portion 607 from network, and/or from detachable media
609 are mounted.When the computer program is performed by CPU (CPU) 601, perform what is limited in the present processes
Above-mentioned functions.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer-readable recording medium either the two any combination.Computer-readable recording medium for example can be --- but
Be not limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.
The more specifically example of computer-readable recording medium can include but is not limited to:Electrical connection with one or more wires,
Portable computer diskette, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type may be programmed read-only deposit
Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory
Part or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any be included or store
The tangible medium of program, the program can be commanded execution system, device or device and use or in connection.And
In the application, computer-readable signal media can include believing in a base band or as the data of carrier wave part propagation
Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not
It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer
Any computer-readable medium beyond readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use
In by the use of instruction execution system, device or device or program in connection.Included on computer-readable medium
Program code any appropriate medium can be used to transmit, include but is not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang
Any appropriate combination stated.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code, the part of the module, program segment or code is used comprising one or more
In the executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, being marked in square frame
The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actually
It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note
Meaning, the combination of each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart can be with holding
The special hardware based system of function or operation as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag
Include the first transmitting element and the first monitoring unit.Wherein, the title of these units is not constituted to the unit under certain conditions
The restriction of itself, for example, the first transmitting element is also described as " unit for sending test data bag ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be
Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating
Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the device so that should
Device:Test data bag is sent to the backbone node that network service is provided for objective network application, and is obtained and above-mentioned key section
The corresponding test result of point, wherein, above-mentioned test result includes at least one of following:Response time and packet loss;According to above-mentioned
Test result corresponding with above-mentioned backbone node, the network performance of the network pair between above-mentioned backbone node is monitored.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical schemes formed by any combination.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical characteristic of energy carries out technical scheme formed by replacement mutually.
Claims (10)
1. a kind of method for being used to monitor the network performance of network application, it is characterised in that methods described includes:
Test data bag is sent to the backbone node that network service is provided for objective network application, and is obtained and the backbone node
Corresponding test result, wherein, the test result includes at least one of following:Response time and packet loss;
According to the test result corresponding with the backbone node, the network performance of the network pair between the backbone node
It is monitored.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
The local domain name server internet protocol address that receiving terminal is sent, wherein, the local domain name server IP
Location is the IP address that local domain name server resulting after the domain name of the objective network application is parsed by the terminal;
Local domain name server indicated by the local domain name server IP address sends test data bag, and obtains and institute
State the corresponding test result of local domain name server;
According to the test result corresponding with the local domain name server, the net pair between the local domain name server
The network performance of network is monitored.
3. method according to claim 2, it is characterised in that methods described also includes:
Obtain the geographical position where the terminal, and by according to the geographical position determine it is corresponding with the geographical position
Area identification is defined as local area mark;
According to the corresponding relation between the area identification and preset IP address pre-set, it is determined that with the local area mark pair
The preset IP address answered;
Determine whether the local domain name server IP address is identical with identified preset IP address;
In response to determining that the local domain name server IP address is identical with identified preset IP address, it is determined that with it is described locally
The network operation between local domain name server indicated by domain name server IP address is normal.
4. method according to claim 3, it is characterised in that methods described also includes:
In response to determining that the local domain name server IP address is differed with identified preset IP address, it is determined that with described
The network operation between local domain name server indicated by region name server ip address is abnormal.
5. method according to claim 4, it is characterised in that methods described also includes:
The terminal test result that the terminal is sent is received, wherein, the terminal test result is from the terminal to described
Local domain name server indicated by region name server ip address send the terminal obtained by test bag with it is described local
Test result between name server;
According to received terminal test result, to the network of the network between the terminal and the local domain name server
Performance is monitored.
6. method according to claim 5, it is characterised in that methods described also includes:
Obtain the number for receiving the local domain name server IP address that terminal is sent in preset time period from the backbone node
And/or the number of terminal test result;
According to acquired number, the network performance of the network pair between the backbone node is monitored.
7. a kind of device for being used to monitor the network performance of network application, it is characterised in that described device includes:
First transmitting element, is configured to send test data to the backbone node for providing network service for objective network application
Bag, and test result corresponding with the backbone node is obtained, wherein, the test result includes at least one of following:Response
Time and packet loss;
First monitoring unit, is configured to according to the test result corresponding with the backbone node, pair with the key section
The network performance of network between point is monitored.
8. device according to claim 7, it is characterised in that described device also includes:
First receiving unit, is configured to the local domain name server internet protocol address that receiving terminal is sent, wherein, institute
It is that local domain resulting after the domain name of the objective network application is parsed by the terminal to state local domain name server IP address
The IP address of name server;
Second transmitting element, is configured to the local domain name server indicated by the local domain name server IP address and sends
Test data bag, and obtain test result corresponding with the local domain name server;
Second monitoring unit, is configured to according to the test result corresponding with the local domain name server, pair with it is described
The network performance of network between local domain name server is monitored.
9. a kind of server, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors
Realize the method as described in any in claim 1-6.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The method as described in any in claim 1-6 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710456903.4A CN107181644B (en) | 2017-06-16 | 2017-06-16 | Method and apparatus for monitoring the network performance of network application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710456903.4A CN107181644B (en) | 2017-06-16 | 2017-06-16 | Method and apparatus for monitoring the network performance of network application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107181644A true CN107181644A (en) | 2017-09-19 |
CN107181644B CN107181644B (en) | 2019-09-27 |
Family
ID=59835712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710456903.4A Active CN107181644B (en) | 2017-06-16 | 2017-06-16 | Method and apparatus for monitoring the network performance of network application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107181644B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110875831A (en) * | 2018-08-31 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Method and device for monitoring network quality |
CN114071544A (en) * | 2021-11-01 | 2022-02-18 | 北京字节跳动网络技术有限公司 | Network testing method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868666A (en) * | 2011-07-07 | 2013-01-09 | 北京东方文骏软件科技有限责任公司 | Implementation method of streaming media quality monitoring report based on user experience interaction |
CN104052832A (en) * | 2014-06-30 | 2014-09-17 | 北京金山安全软件有限公司 | Method and device for setting IP address of domain name resolution server and server |
CN104270291A (en) * | 2014-10-22 | 2015-01-07 | 网宿科技股份有限公司 | Content delivery network (CDN) quality monitoring method |
CN104363243A (en) * | 2014-11-27 | 2015-02-18 | 福建星网锐捷网络有限公司 | Method and device for preventing gateway deceit |
CN106571977A (en) * | 2016-10-24 | 2017-04-19 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
-
2017
- 2017-06-16 CN CN201710456903.4A patent/CN107181644B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868666A (en) * | 2011-07-07 | 2013-01-09 | 北京东方文骏软件科技有限责任公司 | Implementation method of streaming media quality monitoring report based on user experience interaction |
CN104052832A (en) * | 2014-06-30 | 2014-09-17 | 北京金山安全软件有限公司 | Method and device for setting IP address of domain name resolution server and server |
CN104270291A (en) * | 2014-10-22 | 2015-01-07 | 网宿科技股份有限公司 | Content delivery network (CDN) quality monitoring method |
CN104363243A (en) * | 2014-11-27 | 2015-02-18 | 福建星网锐捷网络有限公司 | Method and device for preventing gateway deceit |
CN106571977A (en) * | 2016-10-24 | 2017-04-19 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110875831A (en) * | 2018-08-31 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Method and device for monitoring network quality |
CN110875831B (en) * | 2018-08-31 | 2023-04-07 | 北京京东尚科信息技术有限公司 | Method and device for monitoring network quality |
CN114071544A (en) * | 2021-11-01 | 2022-02-18 | 北京字节跳动网络技术有限公司 | Network testing method and device and electronic equipment |
CN114071544B (en) * | 2021-11-01 | 2024-03-15 | 北京字节跳动网络技术有限公司 | Network testing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107181644B (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107256195B (en) | Webpage front-end test method and device | |
CN107066609A (en) | Image display method and device | |
CN108920376A (en) | Test method, device and the medium of application program | |
CN107566786A (en) | A kind of method, apparatus and terminal device for obtaining monitor video | |
CN103312551A (en) | Test method and test device of common gateway interface | |
CN107423085A (en) | Method and apparatus for application deployment | |
CN105491140A (en) | Remote testing method and system for terminal | |
CN110149298A (en) | A kind of method and apparatus for kidnapping detection | |
CN109815105A (en) | Applied program testing method and device based on Btrace | |
CN112039796A (en) | Data packet transmission method and device, storage medium and electronic equipment | |
CN110471848A (en) | A kind of method and apparatus of dynamic returned packet | |
CN109902247A (en) | A kind of method, apparatus and electronic equipment of page rendering | |
CN109586962A (en) | IPv4 is upgraded to processing unit, method and the electronic equipment of the HTTPS exterior chain problem of IPv6 | |
CN111294235A (en) | Data processing method, device, gateway and readable storage medium | |
CN106792784B (en) | A kind of method, server and system carrying out data check in server side | |
CN107360036B (en) | Network fault positioning method, terminal and server | |
CN107181644B (en) | Method and apparatus for monitoring the network performance of network application | |
CN117176802B (en) | Full-link monitoring method and device for service request, electronic equipment and medium | |
CN109587197A (en) | It is associated with the methods, devices and systems of reported data | |
CN111161072A (en) | Block chain-based random number generation method, equipment and storage medium | |
CN108134709A (en) | A kind of test method and device applied to protenchyma networking transport | |
CN114285774B (en) | Flow recording method and device, electronic equipment and storage medium | |
CN110098921A (en) | Verification code generation method, device, application service end and system | |
CN109005250A (en) | Method and apparatus for accessing server-side | |
CN107608858A (en) | Information processing system, method and apparatus |
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 | ||
CP03 | Change of name, title or address |
Address after: Building N3, building 12, No. 27, Jiancai Chengzhong Road, Haidian District, Beijing 100086 Patentee after: Beijing Xingxuan Technology Co.,Ltd. Address before: 100085 Beijing, Haidian District on the road to the information on the ground floor of the 1 to the 3 floor of the 2 floor, room 11, 202 Patentee before: Beijing Xiaodu Information Technology Co.,Ltd. |
|
CP03 | Change of name, title or address |