CN105099822A - Method and physical machine for measuring network performance - Google Patents

Method and physical machine for measuring network performance Download PDF

Info

Publication number
CN105099822A
CN105099822A CN201510472370.XA CN201510472370A CN105099822A CN 105099822 A CN105099822 A CN 105099822A CN 201510472370 A CN201510472370 A CN 201510472370A CN 105099822 A CN105099822 A CN 105099822A
Authority
CN
China
Prior art keywords
packet
server
virtual machine
physical machine
testing result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510472370.XA
Other languages
Chinese (zh)
Inventor
尹浩
王俊昌
王威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Network Technology Co., Ltd.
Original Assignee
BEIJING RUIXUN CENTURY SCIENCE AND TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING RUIXUN CENTURY SCIENCE AND TECHNOLOGY Co Ltd filed Critical BEIJING RUIXUN CENTURY SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN201510472370.XA priority Critical patent/CN105099822A/en
Publication of CN105099822A publication Critical patent/CN105099822A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and physical machine for measuring network performance, and the method and the physical machine are used for improving the accuracy of the measuring result and realizing the overall network performance measurement. The method in the embodiment comprises steps: when the data interaction between an application program and a server in a virtual machine is determined, the data packet sent in the data interaction process is intercepted; the virtual machine runs in the preset virtual machine software of the physical machine, and the server is arranged on the outside of the physical machine; the data packet is packaged; the deep packet inspection (DPI) is used on the packaged data packet, and the measuring result is obtained; and the network performance in data interaction process is determined according to the measuring result.

Description

A kind of method and physical machine measuring network performance
Technical field
The present invention relates to internet arena, particularly relate to a kind of method and the physical machine of measuring network performance.
Background technology
Along with the continuous enhancing of the mobile terminal device performances such as mobile phone, the proportion that the use of mobile terminal device is shared in people's daily life is increasing, the increase of its use amount result also in the increasing of Mobile data flow, there is investigation display: mobile data on flows has increased by 80 times from 2009 by 2012, and estimate its numerical value in 2016 by 19 times that are increased to 2011 bytes that namely end every month 10.8.Its data huge gradually mean the lifting of measuring network performance importance, and the data of magnanimity have and important effect for the analysis of network performance simultaneously.
In the method for measurement of existing network performance, be mainly divided into Active measuring and passive measurement two kinds.Namely Active measuring utilizes survey tool to measure use traffic injection network and carrys out the performance of Measurement and analysis network according to the transmission situation of measuring flow; Namely passive measurement utilizes measuring equipment to measure network performance on link.Current common metering system is all realized by Active measuring method.
But, cause response in a network by survey tool, the load of macroreticular can be added, increase the burden of network; Simultaneously because the ruuning situation of network obtains change, the result that measurement obtains and real situation have some deviations, especially, time for edge network performance test, when network throughput is not natively very large, measuring flow just seems very huge to the impact of network performance.Simultaneously current application program, very complicated when accessing the Internet, the measurement only carrying out ad-hoc network performance realizes just seeming very difficult to the measurement of overall performance of network.
Summary of the invention
Embodiments provide a kind of method and the physical machine of measuring network performance, the accuracy that can improve measurement result and the measurement realized overall performance of network.
In view of this, first aspect present invention provides a kind of method measuring network performance, can comprise:
When the application program determining to operate in virtual machine and server carry out data interaction, intercept and capture the packet transmitted in described data exchange process; Described virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that described server is positioned at described physical machine;
Encapsulate described packet;
Deep-packet detection DPI is carried out to the described packet encapsulated, obtains testing result;
The network performance in described data exchange process is determined according to described testing result.
In conjunction with first aspect present invention, in the first execution mode of first aspect present invention, can comprise:
Determine that the application program operated in virtual machine carries out data interaction by wireless network card and server.
In conjunction with first aspect present invention, in the second execution mode of first aspect present invention, can comprise:
The packet transmitted in described data exchange process is intercepted and captured by pre-configured packet capturing order.
In conjunction with first aspect present invention, in the 3rd execution mode of first aspect present invention, can comprise:
The content in the described packet encapsulated is read by pre-configured deep packet inspection technical, and by the content in described packet, the information in Open System Interconnection OSI seven layer protocol corresponding to described packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and described server.
In conjunction with first aspect present invention, the first execution mode of first aspect present invention, the second execution mode of first aspect present invention, the 3rd execution mode of first aspect present invention, in the 4th execution mode of first aspect present invention, can comprise:
Store described packet.
In view of this, second aspect present invention provides a kind of physical machine, can comprise:
First determining unit, for determining to operate in application program in virtual machine and server carries out data interaction; Described virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that described server is positioned at described physical machine;
Acquiring unit, for intercepting and capturing the packet transmitted in described data exchange process;
Encapsulation unit, for encapsulating described packet;
Detecting unit, for carrying out deep-packet detection DPI to the described packet encapsulated, obtains testing result;
Second determining unit, for determining the network performance in described data exchange process according to described testing result.
In conjunction with second aspect present invention, in the first execution mode of second aspect present invention, can comprise:
Described first determining unit carries out data interaction specifically for determining the application program operated in virtual machine by wireless network card and server.
In conjunction with second aspect present invention, in the second execution mode of second aspect present invention, can comprise:
Described acquiring unit is specifically for intercepting and capturing by pre-configured packet capturing order the packet transmitted in described data exchange process.
In conjunction with second aspect present invention, in the 3rd execution mode of second aspect present invention, can comprise:
Described detecting unit is specifically for reading the content in the described packet that encapsulated by pre-configured deep packet inspection technical, and by the content in described packet, the information in Open System Interconnection OSI seven layer protocol corresponding to described packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and described server.
In conjunction with second aspect present invention, the first execution mode of second aspect present invention, the second execution mode of second aspect present invention, the 3rd execution mode of second aspect present invention, in the 4th execution mode of second aspect present invention, can comprise:
Memory cell, for storing described packet.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: when measuring network performance, network performance is measured by the method for the packet transmitted in intercepted data reciprocal process, on the one hand owing to not causing any response in a network in measuring process, make to measure the result obtained identical with real network environment, improve the accuracy of measurement result; On the other hand by the analysis to packet, achieve the measurement to overall performance of network.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
To facilitate understanding of the present embodiment of the invention, the system configuration schematic diagram measuring network performance is introduced in the embodiment of the present invention below.
As shown in Figure 1, under physical machine operates in linux operating system, in physical machine, installed virtual opetrating system simulator (QEMU), Android (Andriod) virtual machine operates in this QEMU, and application program operates in Android (Andriod) virtual machine.
When the application program in Andriod virtual machine carries out data interaction by wireless network card and extraneous server, physical machine walks abreast and uses tcpdump order to intercept and capture the packet transmitted in data exchange process, be dump file by the packet encapsulation of intercepting and capturing, the dump file obtained like this is exactly the packet of application program and extraneous server interaction in Andriod virtual machine simultaneously.
After obtaining dump file, by deep-packet detection (DPI) technology, dump file is analyzed, come Open System Interconnection (OpenSystemInterconnection by the content of read data packet, OSI) information in seven layer protocols is recombinated, the content of the program that is applied.In application layer, obtain domain name system (DomainNameSystem, DNS) Internet protocol (InternetProtocol of server, IP) information such as address, HTML (Hypertext Markup Language) (HyperTextTransferProtocol, HTTP) Delay can be obtained simultaneously, thus obtain the performance of each server, in transport layer, can obtain in data exchange process information such as the setup delays of asking each time of network.By analyzing packet, also just network performance can be determined.
Refer to Fig. 2, the method embodiment measuring network performance in the embodiment of the present invention comprises:
101, when the application program determining to operate in virtual machine and server carry out data interaction, the packet transmitted in this data exchange process is intercepted and captured; This virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that this server is positioned at this physical machine;
In the present embodiment, when physical machine determines to operate in the application program in virtual machine and server carries out data interaction, intercept and capture the packet transmitted in this data exchange process.
It should be noted that, the number of above-mentioned server can be one, also can be multiple, and the type of each server can be identical, also can be different.Above-mentioned virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that above-mentioned server is positioned at this physical machine.
102, this packet is encapsulated;
After this packet is intercepted and captured, encapsulate this packet.
Can be dump file by this packet encapsulation, the dump file obtained like this be exactly the packet of this application program in virtual machine and extraneous server interaction.
103, deep-packet detection DPI is carried out to this packet encapsulated, obtain testing result;
After this packet is packed, deep-packet detection DPI is carried out to this packet, obtains testing result.
Wherein testing result comprises network delay, also comprises other information.
104, the network performance in this data exchange process is determined according to this testing result.
After obtaining testing result, the network performance in this data exchange process between application program and server can be determined by this testing result.
In the present embodiment, when measuring network performance, network performance is measured by the method for the packet transmitted in intercepted data reciprocal process, on the one hand owing to not causing any response in a network in measuring process, make to measure the result obtained identical with real network environment, improve the accuracy of measurement result; On the other hand by the analysis to packet, achieve the measurement to overall performance of network.
For the ease of understanding, be described in detail the method for the measurement network performance in the embodiment of the present invention below, refer to Fig. 3, another embodiment measuring the method for network performance in the embodiment of the present invention comprises:
201, determine that the application program operated in virtual machine carries out data interaction by wireless network card and server;
In the present embodiment, determine that the application program operated in virtual machine carries out data interaction by wireless network card and server, wherein, this wireless network card can be arranged in virtual machine, this virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that this server is positioned at this physical machine.
Wherein, under this physical machine operates in linux operating system, this software virtual machine can be QEMU.The number of above-mentioned server can be one, also can be multiple, and the type of each server can be identical, also can be different.
Further, the data interaction between above-mentioned application program and server, can also adopt additive method, be not limited to wireless network card.
202, intercept and capture by pre-configured packet capturing order the packet transmitted in this data exchange process;
When determining that the application program operated in virtual machine carries out data interaction by wireless network card and server, intercept and capture by pre-configured packet capturing order the packet transmitted in this data exchange process.
Wherein this pre-configured packet capturing order comprises tcpdump order.
203, encapsulate this packet, and store this packet;
After packet is intercepted and captured, be dump file by the packet encapsulation of intercepting and capturing, the dump file obtained like this is exactly the packet of application program in virtual machine and server interaction, after having encapsulated packet, this packet is stored.
Be understandable that, can also be other types by packet encapsulation, be specifically not construed as limiting herein.
204, the content in this packet encapsulated is read by pre-configured deep packet inspection technical, and by the content in this packet, the information in Open System Interconnection OSI seven layer protocol corresponding to this packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and this server;
After obtaining dump file, analyzed by pre-configured deep packet inspection technical, by the content reading this packet, the information in OSI seven layer protocol is recombinated, the content of the program that is applied.In application layer, obtain the information such as the IP address of dns server, obtain HTTP Delay simultaneously, in transport layer, obtain network delay, the information such as bandwidth.
205, the network performance in this data exchange process is determined according to this testing result.
Obtain bandwidth, behind network delay and IP address, determine the network performance in this data exchange process.
In the present embodiment, when measuring network performance, network performance is measured by the method for the packet transmitted in intercepted data reciprocal process, on the one hand owing to not causing any response in a network in measuring process, make to measure the result obtained identical with real network environment, improve the accuracy of measurement result; On the other hand by the analysis to packet, achieve the measurement to overall performance of network.
Secondly, complete data interaction by wireless network card, by packet capturing order intercepted data bag, improve the selectivity of scheme.
Again, describe the particular content that deep packet inspection technical detects, and packaged packet is stored, make this programme more specifically.
For the ease of understanding, be described with the method for the application scenarios of a reality to the measurement network performance in the embodiment of the present invention below:
Under physical machine operates in Ubuntu12.04 operating system, install QEMU software virtual machine in physical machine, Android virtual machine operates in this software virtual machine, and the Android version simultaneously chosen is 4.2.2, and application program operates in Android virtual machine.When the application program in Android virtual machine carries out data interaction by wireless network card and extraneous server, physical machine walk abreast use tcpdump order to the packet transmitted in network packet header intercept and capture, be dump file by the packet encapsulation of intercepting and capturing simultaneously, by deep packet inspection technical, dump file is analyzed, by the content of read data packet, the information in OSI seven layer protocol is recombinated, obtain testing result, determine the network performance in this data exchange process by testing result.
Introduce the physical machine in the embodiment of the present invention below, refer to Fig. 4, in the embodiment of the present invention, an embodiment of physical machine comprises:
First determining unit 301, for determining to operate in application program in virtual machine and server carries out data interaction; This virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that this server is positioned at this physical machine;
Acquiring unit 302, for intercepting and capturing the packet transmitted in this data exchange process;
Encapsulation unit 303, for encapsulating this packet;
Detecting unit 304, for carrying out deep-packet detection DPI to this packet encapsulated, obtains testing result;
Second determining unit 305, for determining the network performance in this data exchange process according to this testing result.
Optionally, the present embodiment also comprises:
Memory cell 306, for storing this packet.
Wherein the first determining unit carries out data interaction specifically for determining the application program operated in virtual machine by wireless network card and server.
Acquiring unit is specifically for intercepting and capturing by pre-configured packet capturing order the packet transmitted in this data exchange process.
Detecting unit is specifically for reading the content in this packet of having encapsulated by pre-configured deep packet inspection technical, and by the content in this packet, the information in Open System Interconnection OSI seven layer protocol corresponding to this packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and this server.
In the present embodiment, when measuring network performance, network performance is measured by the method for the packet transmitted in intercepted data reciprocal process, on the one hand owing to not causing any response in a network in measuring process, make to measure the result obtained identical with real network environment, improve the accuracy of measurement result; On the other hand by the analysis to packet, achieve the measurement to overall performance of network.
Secondly, complete data interaction by wireless network card, by packet capturing order intercepted data bag, improve the selectivity of scheme.
Again, describe the particular content that deep packet inspection technical detects, and packaged packet is stored, make this programme more specifically.
For the ease of understand, below with the application scenarios of a reality to being described alternately between each unit of physical machine in the present embodiment:
First determining unit 301 determines that the application program operated in virtual machine carries out data interaction by wireless network card and server, wherein, this wireless network card can be arranged in virtual machine, and this virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that this server is positioned at this physical machine.Wherein, under this physical machine operates in linux operating system, this software virtual machine can be QEMU.The number of above-mentioned server can be one, also can be multiple, and the type of each server can be identical, also can be different.Further, the data interaction between above-mentioned application program and server, can also adopt additive method, be not limited to wireless network card.When determining that the application program operated in virtual machine carries out data interaction by wireless network card and server, acquiring unit 302 intercepts and captures by pre-configured packet capturing order the packet transmitted in this data exchange process.Wherein this pre-configured packet capturing order comprises tcpdump order.After packet is intercepted and captured, the packet encapsulation of intercepting and capturing is dump file by encapsulation unit 303, and the dump file obtained like this is exactly the packet of application program in virtual machine and server interaction, after having encapsulated packet, this packet is stored.After obtaining dump file, detecting unit 304 is analyzed by pre-configured deep packet inspection technical, is recombinated to the information in OSI seven layer protocol by the content reading this packet, the content of the program that is applied.In application layer, obtain the information such as the IP address of dns server, obtain HTTP Delay simultaneously, in transport layer, obtain network delay, the information such as bandwidth.Obtaining bandwidth, behind network delay and IP address, the second determining unit 305 determines the network performance in this data exchange process.
The embodiment of the present invention also provides a kind of server, as shown in Figure 5, comprising: receiver 401 and processor 402;
Wherein, above-mentioned processor 402, performs for controlling: when the application program determining to operate in virtual machine and server carry out data interaction, intercept and capture the packet transmitted in this data exchange process; This virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that this server is positioned at this physical machine; Encapsulate this packet; Deep-packet detection DPI is carried out to this packet encapsulated, obtains testing result; The network performance in this data exchange process is determined according to this testing result.
The present embodiment additionally provides the specific implementation of data interaction, as follows: above-mentioned processor 402, performs: determine that the application program operated in virtual machine carries out data interaction by wireless network card and server specifically for controlling.
The present embodiment additionally provides the specific implementation of intercepted data bag, as follows: above-mentioned processor 402, performs: intercept and capture by pre-configured packet capturing order the packet transmitted in described data exchange process specifically for controlling.
The present embodiment additionally provides the specific implementation of deep-packet detection, as follows: above-mentioned processor 402, perform specifically for controlling: read the content in the described packet encapsulated by pre-configured deep packet inspection technical, and by the content in described packet, the information in Open System Interconnection OSI seven layer protocol corresponding to described packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and described server.
After packet encapsulation, probably need to be stored, therefore, the present embodiment additionally provides the scheme storing packet, as follows: above-mentioned processor 402, performs: store described packet specifically for controlling.
The embodiment of the present invention also provides a kind of server, refers to Fig. 6, and in the embodiment of the present invention, another embodiment of server comprises:
Fig. 6 is a kind of server architecture schematic diagram that the embodiment of the present invention provides, this server 500 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessingunits can be comprised, CPU) 501 (such as, one or more processors) and memory 502, one or more store the storage medium 505 (such as one or more mass memory units) of application program 503 or data 504.Wherein, memory 502 and storage medium 505 can be of short duration storages or store lastingly.The program being stored in storage medium 505 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 501 can be set to communicate with storage medium 505, and server 500 performs a series of command operatings in storage medium 502.
Server 500 can also comprise one or more power supplys 506, one or more wired or wireless network interfaces 507, one or more input/output interfaces 508, and/or, one or more operating system 509, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM etc.
Step in above-described embodiment performed by server can based on the server architecture shown in this Fig. 6.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system configuration schematic diagram measuring network performance in the embodiment of the present invention;
Fig. 2 is the method embodiment schematic diagram measuring network performance in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of method measuring network performance in the embodiment of the present invention;
Fig. 4 is physical machine embodiment schematic diagram in the embodiment of the present invention;
Fig. 5 is server embodiment schematic diagram in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of server in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method and the physical machine of measuring network performance, for improving accuracy and the measurement of realization to overall performance of network of measurement result.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.

Claims (10)

1. measure a method for network performance, it is characterized in that, comprising:
When the application program determining to operate in virtual machine and server carry out data interaction, intercept and capture the packet transmitted in described data exchange process; Described virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that described server is positioned at described physical machine;
Encapsulate described packet;
Deep-packet detection DPI is carried out to the described packet encapsulated, obtains testing result;
The network performance in described data exchange process is determined according to described testing result.
2. method according to claim 1, is characterized in that, describedly determines to operate in application program in virtual machine and server and carries out data interaction and comprise:
Determine that the application program operated in virtual machine carries out data interaction by wireless network card and server.
3. method according to claim 1, is characterized in that, the packet transmitted in the described data exchange process of described intercepting and capturing comprises:
The packet transmitted in described data exchange process is intercepted and captured by pre-configured packet capturing order.
4. method according to claim 1, is characterized in that, the described described packet to having encapsulated carries out deep-packet detection DPI, obtains testing result and comprises:
The content in the described packet encapsulated is read by pre-configured deep packet inspection technical, and by the content in described packet, the information in Open System Interconnection OSI seven layer protocol corresponding to described packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and described server.
5. the method according to any one of Claims 1-4, is characterized in that, after the described packet of described encapsulation, described method also comprises:
Store described packet.
6. a physical machine, is characterized in that, comprising:
First determining unit, for determining to operate in application program in virtual machine and server carries out data interaction; Described virtual machine operates in the software virtual machine of physical machine pre-installation, and it is outside that described server is positioned at described physical machine;
Acquiring unit, for intercepting and capturing the packet transmitted in described data exchange process;
Encapsulation unit, for encapsulating described packet;
Detecting unit, for carrying out deep-packet detection DPI to the described packet encapsulated, obtains testing result;
Second determining unit, for determining the network performance in described data exchange process according to described testing result.
7. physical machine according to claim 6, is characterized in that, described first determining unit carries out data interaction specifically for determining the application program operated in virtual machine by wireless network card and server.
8. physical machine according to claim 6, is characterized in that, described acquiring unit is specifically for intercepting and capturing by pre-configured packet capturing order the packet transmitted in described data exchange process.
9. physical machine according to claim 6, it is characterized in that, described detecting unit is specifically for reading the content in the described packet that encapsulated by pre-configured deep packet inspection technical, and by the content in described packet, the information in Open System Interconnection OSI seven layer protocol corresponding to described packet is recombinated, obtain the testing result of the internet protocol address of bandwidth, network delay and described server.
10. the physical machine according to any one of claim 6 to 9, is characterized in that, described physical machine also comprises:
Memory cell, for storing described packet.
CN201510472370.XA 2015-08-04 2015-08-04 Method and physical machine for measuring network performance Pending CN105099822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510472370.XA CN105099822A (en) 2015-08-04 2015-08-04 Method and physical machine for measuring network performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510472370.XA CN105099822A (en) 2015-08-04 2015-08-04 Method and physical machine for measuring network performance

Publications (1)

Publication Number Publication Date
CN105099822A true CN105099822A (en) 2015-11-25

Family

ID=54579433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510472370.XA Pending CN105099822A (en) 2015-08-04 2015-08-04 Method and physical machine for measuring network performance

Country Status (1)

Country Link
CN (1) CN105099822A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN106375142A (en) * 2016-08-26 2017-02-01 腾讯科技(深圳)有限公司 Application program test method and apparatus
CN106911710A (en) * 2017-03-30 2017-06-30 福州大学 Towards the data traffic monitor method of cloudstack
CN106921533A (en) * 2015-12-25 2017-07-04 清华大学 A kind of method, apparatus and system for measuring network performance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243225A (en) * 2013-06-19 2014-12-24 北京思普崚技术有限公司 Traffic identification method based on deep package inspection
CN104253712A (en) * 2013-06-26 2014-12-31 北京思普崚技术有限公司 Method utilizing deep packet detection technology to carry out P2P network identification
CN104702469A (en) * 2015-03-27 2015-06-10 北京奇虎科技有限公司 Method for monitoring network data, entity machine virtual device and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243225A (en) * 2013-06-19 2014-12-24 北京思普崚技术有限公司 Traffic identification method based on deep package inspection
CN104253712A (en) * 2013-06-26 2014-12-31 北京思普崚技术有限公司 Method utilizing deep packet detection technology to carry out P2P network identification
CN104702469A (en) * 2015-03-27 2015-06-10 北京奇虎科技有限公司 Method for monitoring network data, entity machine virtual device and network system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921533A (en) * 2015-12-25 2017-07-04 清华大学 A kind of method, apparatus and system for measuring network performance
CN106921533B (en) * 2015-12-25 2020-02-14 清华大学 Method, device and system for measuring network performance
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN106375142A (en) * 2016-08-26 2017-02-01 腾讯科技(深圳)有限公司 Application program test method and apparatus
CN106911710A (en) * 2017-03-30 2017-06-30 福州大学 Towards the data traffic monitor method of cloudstack

Similar Documents

Publication Publication Date Title
US20220066858A1 (en) Remote debugging and management
CN110351156B (en) Test method and device
Kuladinithi et al. Implementation of coap and its application in transport logistics
CN102946616B (en) Internet of things middleware performance testing system and testing method
CN103067214B (en) For testing the method for web site performance, client, server and system
CN105099822A (en) Method and physical machine for measuring network performance
CN108363662A (en) A kind of applied program testing method, storage medium and terminal device
CN107018001B (en) Application fault positioning method and device
JP2015503789A (en) Computer-implemented methods, computer program products, and systems for targeted security testing
CN109962789B (en) Method and device for constructing Internet of things application label system based on network data
CN102761456A (en) Method, device and system for acquiring performance parameters of browser of mobile terminal
KR102461022B1 (en) Method and Apparatus for Analysis of Log Data
CN109542786A (en) Visual testing method and device
CN106487847A (en) A kind of information processing method and transfer server
US20220417117A1 (en) Telemetry redundant measurement avoidance protocol
CN110224897A (en) Vulnerable network test method, device, mobile device and the storage medium of application program
CN105159992A (en) Method and device for detecting page contents and network behaviors of application program
CN104809063A (en) Test method and device of distributed system
CN105656727A (en) Method and device achieving application testing on mobile terminal
CN104424098A (en) Application test method and application testing device
CN107317723B (en) Data processing method and server
CN113535580B (en) CTS test method, CTS test device and test equipment
Rege et al. Crowdmeter: An emulation platform for performance evaluation of crowd-sensing applications
CN108363922B (en) Automatic malicious code simulation detection method and system
CN106470237B (en) Asynchronous downloading method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160722

Address after: 410208 Hunan, Changsha, Yuelu science and Technology Industrial Park, No. 8, Changsha science and Technology Park, including science and Technology Industrial Park Development and Construction Co., Ltd., general services building, room 6018

Applicant after: Hunan Network Technology Co., Ltd.

Address before: 100084, building 2, No. 66, Zhongguancun East Road, Beijing, Haidian District 0605

Applicant before: Beijing Ruixun Century Science and Technology Co., Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wang Junchang

Inventor after: Wang Wei

Inventor before: Yin Hao

Inventor before: Wang Junchang

Inventor before: Wang Wei

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125