CN106375142B - The test method and device of application program - Google Patents

The test method and device of application program Download PDF

Info

Publication number
CN106375142B
CN106375142B CN201610741149.4A CN201610741149A CN106375142B CN 106375142 B CN106375142 B CN 106375142B CN 201610741149 A CN201610741149 A CN 201610741149A CN 106375142 B CN106375142 B CN 106375142B
Authority
CN
China
Prior art keywords
network
packet
vpn service
parameter
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610741149.4A
Other languages
Chinese (zh)
Other versions
CN106375142A (en
Inventor
全秀霞
张文婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610741149.4A priority Critical patent/CN106375142B/en
Publication of CN106375142A publication Critical patent/CN106375142A/en
Application granted granted Critical
Publication of CN106375142B publication Critical patent/CN106375142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage

Abstract

The invention discloses a kind of test method of application program and devices.Wherein, this method comprises: obtaining in the test pre-set network parameter of terminal, wherein network parameter is used to indicate the parameter of network environment to be simulated;After test endpoint to register VPN service, pass through VPN service transmitting network data packet between destination application and destination server, wherein VPN is serviced according to network parameter transmitting network data packet;Record the performance data of destination application in a network environment.The present invention is solved since test application program needs the technical problem that test process is more complicated caused by building network environment.

Description

The test method and device of application program
Technical field
The present invention relates to testing fields, in particular to the test method and device of a kind of application program.
Background technique
Android real-time online is applied unstable with mobile network, and user will appear high latency, the reconnection that goes offline, number According to asynchronous a variety of abnormalities.Therefore, simulated in R&D process complicated network environment test it is indispensable.At present Existing vulnerable network analogue technique generally requires the wifi hotspot that mobile phone is connected to Linux server or Windows PC is established, It is more troublesome that these schemes generally build deployment, and tester is required to be located in wifi hotspot coverage area.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of test method of application program and devices, at least to solve due to test application Program needs the technical problem that test process is more complicated caused by building network environment.
According to an aspect of an embodiment of the present invention, a kind of test method of application program is provided, comprising: acquisition is being surveyed Try the pre-set network parameter of terminal, wherein the network parameter is used to indicate the parameter of network environment to be simulated;Institute After stating test endpoint to register VPN service, pass through VPN service transmission network between destination application and destination server Data packet, wherein the VPN service transmits the network packet according to the network parameter;It is recorded in the network environment Under the destination application performance data.
According to another aspect of an embodiment of the present invention, a kind of test device of application program is additionally provided, comprising: obtain single Member, for obtaining in the test pre-set network parameter of terminal, wherein the network parameter is for indicating network to be simulated The parameter of environment;Transmission unit, for being serviced by the VPN in target application after test endpoint to register VPN service Transmitting network data packet between program and destination server, wherein the VPN service transmits the net according to the network parameter Network data packet;Recording unit, for being recorded in the performance data of the destination application under the network environment.
In embodiments of the present invention, before vpn server is forwarded to destination server, by vpn server first according to net Network parameter is transmitted, then the network interface card by testing terminal is sent to destination server.That is, servicing in VPN by network packet It is sent to before destination server, has been completed the movement according to network parameter transmitting network data packet, it is therefore not necessary to build Complicated analog network, which can be realized, issues SCN Space Cable Network data packet in heterogeneous networks parameter, solves the prior art due to test Application program needs the technical problem that test process is more complicated caused by building network environment, has reached simplified test process Effect.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the architecture diagram of hardware system according to an embodiment of the present invention;
Fig. 2 is the flow chart of the test method of application program according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of selection Application Program Interface according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of setting uplink parameter interface according to an embodiment of the present invention;
Fig. 5 is the schematic diagram of setting downstream parameter according to an embodiment of the present invention;
Fig. 6 is the flow chart of transmitting network data packet according to an embodiment of the present invention;
Fig. 7 is the flow chart of analog network environment according to an embodiment of the present invention;
Fig. 8 is the schematic diagram of layering token bucket according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of the test device of application program according to an embodiment of the present invention;
Figure 10 is the schematic diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method that can be executed by the application Installation practice is provided, It should be noted that step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence execute shown or described step.
According to embodiments of the present invention, a kind of test method of application program is provided.
Optionally, in the present embodiment, the test method of above-mentioned application program can be applied to terminal as shown in Figure 1 102 and the hardware environment that is constituted of server 104 in.As shown in Figure 1, terminal 102 is connected by network with server 104 Connect, above-mentioned network includes but is not limited to: mobile communications network, wide area network, Metropolitan Area Network (MAN) or local area network, terminal 102 can be mobile phone Terminal, tablet computer etc. have the terminal of Android system.
The main operational principle of hardware environment system shown in Fig. 1 is:
It is illustrated so that terminal 102 is mobile phone terminal as an example.
Multiple application programs are installed in mobile phone terminal, one of them in multiple application programs is selected as target application Program is tested.The test can acquire performance of the destination application under different network environments, to optimize mesh Application program is marked, performance of the destination application under different network environments is improved.
Different network environments is simulated by the VPN service on mobile phone terminal, different network parameters is set for VPN service Simulate different network environments, the network request packet of destination application is by the network environment of VPN service simulation to service Device 104 (can be server corresponding to destination application) transmission, the network that destination application passes through VPN service simulation Environment receives the network response bag that server 104 returns.In this process, using movement between VPN service and server 104 Communication network or wifi are communicated.The transmission process of network request packet and network response bag in VPN service simulates net The transmission process of network request packet and network response bag under different network environments, the data between VPN service versus server 104 It is transmitted as the transmission of real network environment.
Fig. 2 is the flow chart of the test method of application program according to an embodiment of the present invention, below in conjunction with Fig. 2 to the present invention The test method of application program provided by embodiment does specific introduction, as shown in Fig. 2, the test method of the application program is main Include the following steps:
Step S202 is obtained in the test pre-set network parameter of terminal, wherein network parameter is used to indicate simulation The parameter of network environment.
Select an application program as destination application on interface shown in Fig. 3, to the destination application into Row test.Network parameter can be set for the destination application.Network parameter includes the setting and downlink ginseng of uplink parameter Several settings.Uplink bound of parameter face is set as shown in figure 4, the interface of setting downstream parameter is as shown in Figure 5.
As shown in figure 4, upstream bandwidth, upstream delay, uplink shake, uplink packet loss, uplink can be set in uplink parameter The bit error rate, uplink packet repetitive rate and uplink packet random ordering rate etc..As shown in figure 5, downlink bandwidth can be set in downstream parameter, downlink is prolonged Late, downlink shake, downlink packet loss, the downlink bit error rate, downstream packets repetitive rate and downstream packets random ordering rate etc..
The test of destination application is carried out under the network environment that the parameter set by Fig. 4 and Fig. 5 indicates.
Step S204, after test endpoint to register VPN service, by VPN service acquisition in destination application and target The network packet transmitted between server.
Step S206 is serviced by VPN according to network parameter transmitting network data packet.
Terminal can be the terminal 102 in Fig. 1 at this time.Test terminal can be used or extend vpnservice foundation class Library services to apply for opening VPN.After opening VPN service, the network request packet that the application program tested in terminal is sent will not Destination server is directly sent to by true network interface card, and is destined to VPN service, destination service is forwarded to by VPN service Device.
VPN service can transmit network packet according to the parameter that above-mentioned Fig. 4 and Fig. 5 are set.
For example, according to upstream bandwidth be 200KB/s network number from speed to destination server transmission objectives application program According to packet, the network packet from destination server is transmitted to destination application according to the speed that downlink bandwidth is 300KB/s.
For example, according to upstream delay 300ms to the network packet of destination server transmission objectives application program, under Row delay 200ms transmits the network packet from destination server to destination application.
For example, network packet of the 50ms to destination server transmission objectives application program is shaken according to uplink, under Row shake 50ms transmits the network packet from destination server to destination application.
For example, according to uplink packet rate 5%, uplink error rate 3%, uplink packet repetitive rate 0% and uplink packet random ordering rate 2% etc. To the network packet of destination server transmission objectives application program, downlink packet loss 3%, the downlink bit error rate 6%, downstream packets weight Multiple rate 2% and downstream packets random ordering rate 7% etc. transmit the network packet from destination server to destination application.
By above-mentioned example it is found that uplink parameter and downstream parameter are set as different parameters, VPN according to setting parameter into The transmission of row network packet.
Step S208, in a network environment tests destination application.
Destination application is tested in a network environment, is existed in order to which tester records destination application According to current network parameter carry out network packet transmission performance data, change network parameter, so that it may record according to Heterogeneous networks parameter carries out the performance data of the transmission of network packet.Destination application can be carried out using these data Optimization, so that destination application with good performance can show under different network environments, so that target is answered More network environments are adapted to program, can be widely used and stable.
In the present embodiment, before vpn server is forwarded to destination server, by vpn server first according to network parameter It is transmitted, then the network interface card by testing terminal is sent to destination server.Network packet is sent to that is, being serviced in VPN Before destination server, the movement according to network parameter transmitting network data packet is had been completed, it is therefore not necessary to build complexity Analog network, which can be realized, issues SCN Space Cable Network data packet in heterogeneous networks parameter, solves the prior art due to test application journey Sequence needs the technical problem that test process is more complicated caused by building network environment, has achieved the effect that simplified test process.
Optionally, VPN service is exactly that VPN analog network parameter is signified according to the process of network parameter transmitting network data packet The process for the network environment shown, that is, by the VPN service according to the network parameter transmitting network data packet include: according to Network parameter is arranged VPN and services, wherein VPN services network environment indicated by analog network parameter;It is serviced by the VPN The network environment of simulation transmits the network packet.
By Fig. 4 and Fig. 5 it is found that network parameter includes bandwidth, delay, shake, packet loss, the bit error rate, packet repetitive rate and packet Out-of-order rate etc. services analog network environment using VPN, so that the network environment of simulation is in transmitting network data packet according to setting Good network parameter carries out the transmission of network packet.
Below in conjunction with Fig. 6 to registration VPN service in the present embodiment, and the process of transmitting network data packet is illustrated.
In the present embodiment, for using the mobile phone of Android system as test terminal.
Destination application 1. (being in application layer) Xiang Anzhuo kernel (being in transport layer, network layer and data link layer) hair SCN Space Cable Network request packet.
2. network request packet is written to tun virtual interface by Android kernel.Mobile phone terminal can be in net after registration VPN service Network layers create a tun virtual interface, and the network request packet of terminal to be tested can be sent to tun by Android kernel and virtually connect Mouthful, without being sent directly to network interface card.Tun virtual interface is used to send the network request packet of destination application to VPN clothes Business, or destination application is sent by the network response bag that VPN service returns.
3. VPN calling system API reads the network request packet of tun virtual interface.
4. VPN service according to network parameter carries out packet regulator, it is, at this time VPN service analog network environment into The transmission of row network request packet.
5. packet queue adjusted is sent to destination service by Android kernel, network and linux kernel by VPN service Device.
6. destination server generates network response bag according to network request packet, and by linux kernel, network and Android Core biography can be serviced to VPN.
7. VPN service writes back tun virtual interface by system API.
8. destination application is by calling recv or read core A PI, so that it may tun virtual interface is read, to make It obtains destination application and obtains network response bag.
Respectively 4. the step in Fig. 6 is carried out in the process of transmission network request packet and network response bag below with reference to Fig. 7 Explanation.
Step S701 to S711 in Fig. 7 is the process from tun virtual interface to destination server transmission network request packet. Step S801 to S811 in Fig. 7 is the process from destination server to tun virtual interface transmission network response bag.
The first: network packet includes network request packet, passes through VPN service delivery network request packet.
Optionally, by the VPN service according to the network parameter transmitting network data packet include: VPN service according to Network request packet is added and sends buffering queue by the queue rule that network parameter is included, wherein queue Rule Expression VPN service The configured transmission of transmission network request packet;VPN service is sent out by socket connection by the network request packet in buffering queue is sent Give destination server.
Optionally, configured transmission includes transmission speed, delay, packet loss, again packet and out-of-order, using VPN service according to It includes: that VPN service passes through that the network request packet is added and sends buffering queue by the queue rule that the network parameter is included Layering token bucket and network analog functional module are adjusted the packet queue of network request packet;Packet queue adjusted is added Send buffering queue, wherein layering token bucket is for transmission speed indicated by analog network parameter, network analog functional module For delay indicated by analog network parameter, packet loss, again at least one of packet and random ordering.
It is described as follows in conjunction with Fig. 7:
Step S701 reads network request packet.
Step S703, by the speed for being layered token bucket analogue transmission network request packet.It is layered token bucket (Hierarchical Token Bucket, abbreviation HTB) can carry out complicated and fine control to transmission speed.The one of HTB A key property is exactly to lease model.When the flow of subclassification has been more than to set the minimum speed of shaping flow rate, they Token will be borrowed to parent category, until the token quantity satisfaction that subclassification is borrowed can allow it to reach setting shaping flow rate Until maximum speed.At the same time, subclassification can be postponed sending data packet, until there is enough tokens.
As shown in figure 8, leaf node borrows token to intermediate node, intermediate node provides token to leaf node.In leaf When the token that child node no longer needs to borrow, the token of borrow can be returned intermediate node.In the token number that leaf node is connected to When amount meets the maximum speed that it can be allowed to reach setting shaping flow rate, leaf node can be postponed sending data packet.It needs Bright, only leaf node can just carry out shaping to flow, and intermediate node will not postpone to send data packet.
Step S705 controls network delay, packet loss, again packet and random ordering by network analog functional module (netemE).It should Network analog functional module normal state, Pareto are distributed (pareto) isotype, packet loss and delay and fluctuate in certain positive and negative range, Simulate more true network condition.
Step S707, the packet queue after by step S703 and step S705, after being adjusted.By packet adjusted Queue, which is written to, to be sent in buffering queue.
Step S709 parses the network packet sent in buffering queue.
Step S711 establishes socket, and takes out data packet from transmission buffering queue by the way that socket is as much as possible, And the data taken out are sent in the network interface card of test terminal, destination service is sent to will pass through network interface card for network request packet Device.
Second: network packet includes network response bag, passes through VPN service delivery network response bag.
Network response bag can be what destination server was generated according to network packet.Optionally, it is serviced by the VPN According to the network parameter transmitting network data packet include: VPN service by socket connection reception destination server send Network response bag;According to the queue rule that network parameter is included receiving cache queue is added in network response bag by VPN service, In, the configured transmission of queue Rule Expression VPN service delivery network response bag.
Optionally, configured transmission includes transmission speed, delay, packet loss, again packet and random ordering, is serviced using VPN according to network The queue rule that parameter is included by network response bag addition receiving cache queue include: VPN service by layering token bucket and The packet queue of network response bag is adjusted by network analog functional module;Packet queue adjusted is added and receives buffering team Column, wherein layering token bucket is for transmission speed indicated by analog network parameter, and network analog functional module is for simulating net Delay indicated by network parameter, packet loss, again at least one of packet and random ordering.
It is described as follows in conjunction with Fig. 7:
Step S801, socket receive the network response bag that destination server is sent.
Step S803 parses the network response bag received by socket.
Step S805, by the speed for being layered token bucket analogue transmission network response bag.
Step S807 controls network delay, packet loss, again packet and random ordering by network analog functional module.
Step S809, the packet queue after by step S805 and step S807, after being adjusted.By packet adjusted Queue is written in receiving cache queue.
Step S811, the taking-up network response bag as much as possible from receiving cache queue, and the network of taking-up is responded Packet is written in tun virtual interface.
During receiving network response bag and sending network request packet, the adjustment of transmission speed is first carried out, then is carried out The adjustment of the parameters such as packet loss, so that packet queue adjusted meets the network parameter set, to realize analog network The process that environment carries out data transmission.Also, it in this process, does not need in addition to build the net for analog network environment Network is serviced using the VPN that can register of system of test terminal itself, simulates vulnerable network environment, and flow control and weak has been reached The purpose of network-control.
Through this embodiment, mobile application needs to simulate the function of complex network environment in research and development test process, it is only necessary to The setting such as network packet packet loss, delay, shake, sequence reorganization can be realized in separate unit Android mobile phone, and test application program is in different states Family area and application environment under performance, solve existing test method need to rely on extras build wifi hotspot with And it is confined to bothering for wifi hotspot coverage area, substantially reduce research and development test cost of access.Also, due to utilizing mobile phone terminal VPN service and mobile phone itself function of surfing the Net, the efficient experience tested with oneself whenever and wherever possible can be provided.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the application program of the test method of above-mentioned application program Test device, the test device of the application program is mainly used for executing provided by above content of the embodiment of the present invention using journey The test method of sequence, the test device for being provided for the embodiments of the invention application program below do specific introduction:
Fig. 9 is the schematic diagram of the test device of application program according to an embodiment of the present invention, as shown in figure 9, this applies journey The test device of sequence specifically includes that first acquisition unit 10, second acquisition unit 10, transmission unit 30 and test cell 40.
Acquiring unit 10 is for obtaining in the test pre-set network parameter of terminal, wherein network parameter is for indicating The parameter of network environment to be simulated.
Select an application program as destination application on interface shown in Fig. 3, to the destination application into Row test.Network parameter can be set for the destination application.Network parameter includes the setting and downlink ginseng of uplink parameter Several settings.Uplink bound of parameter face is set as shown in figure 4, the interface of setting downstream parameter is as shown in Figure 5.
As shown in figure 4, upstream bandwidth, upstream delay, uplink shake, uplink packet loss, uplink can be set in uplink parameter The bit error rate, uplink packet repetitive rate and uplink packet random ordering rate etc..As shown in figure 5, downlink bandwidth can be set in downstream parameter, downlink is prolonged Late, downlink shake, downlink packet loss, the downlink bit error rate, downstream packets repetitive rate and downstream packets random ordering rate etc..
Acquiring unit 10 obtains network parameter shown by Fig. 4 and Fig. 5.
Second acquisition unit 20 is used for after test endpoint to register VPN service, by the VPN service acquisition in mesh The network packet transmitted between mark application program and destination server.
Transmission unit 30 is serviced by the VPN and transmits the network packet according to the network parameter.
Terminal can be the terminal 102 in Fig. 1 at this time.Test terminal can be used or extend vpnservice foundation class Library services to apply for opening VPN.After opening VPN service, the network request packet that the application program tested in terminal is sent will not It is sent to destination server by true network interface card, and is destined to VPN service, destination server is forwarded to by VPN service.
VPN service can transmit network packet according to the parameter that above-mentioned Fig. 4 and Fig. 5 are set.
For example, according to upstream bandwidth be 200KB/s network number from speed to destination server transmission objectives application program According to packet, the network packet from destination server is transmitted to destination application according to the speed that downlink bandwidth is 300KB/s.
For example, according to upstream delay 300ms to the network packet of destination server transmission objectives application program, under Row delay 200ms transmits the network packet from destination server to destination application.
For example, network packet of the 50ms to destination server transmission objectives application program is shaken according to uplink, under Row shake 50ms transmits the network packet from destination server to destination application.
For example, according to uplink packet rate 5%, uplink error rate 3%, uplink packet repetitive rate 0% and uplink packet random ordering rate 2% etc. To the network packet of destination server transmission objectives application program, downlink packet loss 3%, the downlink bit error rate 6%, downstream packets weight Multiple rate 2% and downstream packets random ordering rate 7% etc. transmit the network packet from destination server to destination application.
By above-mentioned example it is found that uplink parameter and downstream parameter are set as different parameters, VPN according to setting parameter into The transmission of row network packet.
Test cell 30 is in a network environment testing destination application.
Test cell 30 in a network environment tests destination application, in order to which tester records target Application program changes network parameter in the performance data for the transmission for carrying out network packet according to current network parameter, so that it may Record the performance data that the transmission of network packet is carried out according to heterogeneous networks parameter.Target can be answered using these data It is optimized with program, so that destination application with good performance can show under different network environments, So that destination application adapts to more network environments, can be widely used and stable.
In the present embodiment, before vpn server is forwarded to destination server, by vpn server first according to network parameter It is transmitted, then the network interface card by testing terminal is sent to destination server.Network packet is sent to that is, being serviced in VPN Before destination server, the movement according to network parameter transmitting network data packet is had been completed, it is therefore not necessary to build complexity Analog network, which can be realized, issues SCN Space Cable Network data packet in heterogeneous networks parameter, solves the prior art due to test application journey Sequence needs the technical problem that test process is more complicated caused by building network environment, has achieved the effect that simplified test process.
Optionally, VPN service is exactly that VPN analog network parameter is signified according to the process of network parameter transmitting network data packet The process for the network environment shown, transmission unit include: setup module, for servicing according to network parameter setting VPN, wherein VPN Service the network environment of analog network parameter instruction;Transmission module, the network environment for the excessively described VPN service simulation pass The defeated network packet.
By Fig. 4 and Fig. 5 it is found that network parameter includes bandwidth, delay, shake, packet loss, the bit error rate, packet repetitive rate and packet Out-of-order rate etc. services analog network environment using VPN, so that the network environment of simulation is in transmitting network data packet according to setting Good network parameter carries out the transmission of network packet.
Below in conjunction with Fig. 6 to registration VPN service in the present embodiment, and the process of transmitting network data packet is illustrated.
In the present embodiment, for using the mobile phone of Android system as test terminal.
Destination application 1. (being in application layer) Xiang Anzhuo kernel (being in transport layer, network layer and data link layer) hair SCN Space Cable Network request packet.
2. network request packet is written to tun virtual interface by Android kernel.Mobile phone terminal can be in net after registration VPN service Network layers create a tun virtual interface, and the network request packet of terminal to be tested can be sent to tun by Android kernel and virtually connect Mouthful, without being sent directly to network interface card.I.e. optionally, device further include: creating unit, in test endpoint to register VPN clothes After business, tun virtual interface is created, wherein tun virtual interface is for sending the network request packet of destination application to VPN service, or destination application is sent by the network response bag that VPN service returns.
3. VPN calling system API reads the network request packet of tun virtual interface.
4. VPN service according to network parameter carries out packet regulator, it is, at this time VPN service analog network environment into The transmission of row network request packet.
5. packet queue adjusted is sent to destination service by Android kernel, network and linux kernel by VPN service Device.
6. destination server generates network response bag according to network request packet, and by linux kernel, network and Android Core biography can be serviced to VPN.
7. VPN service writes back tun virtual interface by system API.
8. destination application is by calling recv or read core A PI, so that it may tun virtual interface is read, to make It obtains destination application and obtains network response bag.
Respectively 4. the step in Fig. 6 is carried out in the process of transmission network request packet and network response bag below with reference to Fig. 7 Explanation.
Step S701 to S711 in Fig. 7 is the process from tun virtual interface to destination server transmission network request packet. Step S801 to S811 in Fig. 7 is the process from destination server to tun virtual interface transmission network response bag.
Optionally, network packet includes network request packet, and transmission unit includes: the first addition module, for passing through VPN Network request packet is added according to the queue rule that network parameter is included and sends buffering queue by service, wherein queue rule list Show the configured transmission of VPN service delivery network request packet;Sending module, for that will be sent out by VPN service by socket connection The network request packet in buffering queue is sent to be sent to destination server.
Optionally, configured transmission includes transmission speed, delay, packet loss, again packet and out-of-order, and the first addition module includes: the One adjusting submodule utilizes layering token bucket and network analog functional module to the packet of network request packet for servicing by VPN Queue is adjusted;First is added submodule, sends buffering queue for packet queue adjusted to be added, wherein layering enables Board bucket is for transmission speed indicated by analog network parameter, and network analog functional module is for indicated by analog network parameter Delay, packet loss, again at least one of packet and random ordering.
It is described as follows in conjunction with Fig. 7:
Step S701 reads network request packet.
Step S703, by the speed for being layered token bucket analogue transmission network request packet.It is layered token bucket (Hierarchical Token Bucket, abbreviation HTB) can carry out complicated and fine control to transmission speed.The one of HTB A key property is exactly to lease model.When the flow of subclassification has been more than to set the minimum speed of shaping flow rate, they Token will be borrowed to parent category, until the token quantity satisfaction that subclassification is borrowed can allow it to reach setting shaping flow rate Until maximum speed.At the same time, subclassification can be postponed sending data packet, until there is enough tokens.
As shown in figure 8, leaf node borrows token to intermediate node, intermediate node provides token to leaf node.In leaf When the token that child node no longer needs to borrow, the token of borrow can be returned intermediate node.In the token number that leaf node is connected to When amount meets the maximum speed that it can be allowed to reach setting shaping flow rate, leaf node can be postponed sending data packet.It needs Bright, only leaf node can just carry out shaping to flow, and intermediate node will not postpone to send data packet.
Step S705 controls network delay, packet loss, again packet and random ordering by network analog functional module (netemE).It should Network analog functional module normal state, Pareto are distributed (pareto) isotype, packet loss and delay and fluctuate in certain positive and negative range, Simulate more true network condition.
Step S707, the packet queue after by step S703 and step S705, after being adjusted.By packet adjusted Queue, which is written to, to be sent in buffering queue.
Step S709 parses the network packet sent in buffering queue.
Step S711 establishes socket, and takes out data packet from transmission buffering queue by the way that socket is as much as possible, And the data taken out are sent in the network interface card of test terminal, destination service is sent to will pass through network interface card for network request packet Device.
Optionally, network packet includes network response bag, and transmission unit includes: receiving module, for being serviced using VPN The network response bag that destination server is sent is received by socket connection;Second be added module, for using VPN service according to Receiving cache queue is added in network response bag by the queue rule that network parameter is included, wherein queue Rule Expression VPN service The configured transmission of transmission network response bag.
Optionally, configured transmission includes transmission speed, delay, packet loss, again packet and out-of-order, and the second addition module includes: the Two adjusting submodules, for being carried out by layering token bucket and network analog functional module to network response bag using VPN service Packet regulator;Second is added submodule, for receiving cache queue to be added in packet queue adjusted, wherein layering token Bucket is for transmission speed indicated by analog network parameter, and network analog functional module indicated by analog network parameter for prolonging Late, packet loss, again at least one of packet and random ordering.
It is described as follows in conjunction with Fig. 7:
Step S801, socket receive the network response bag that destination server is sent.
Step S803 parses the network response bag received by socket.
Step S805, by the speed for being layered token bucket analogue transmission network response bag.
Step S807 controls network delay, packet loss, again packet and random ordering by network analog functional module.
Step S809, the packet queue after by step S805 and step S807, after being adjusted.By packet adjusted Queue is written in receiving cache queue.
Step S811, the taking-up network response bag as much as possible from receiving cache queue, and the network of taking-up is responded Packet is written in tun virtual interface.
During receiving network response bag and sending network request packet, the adjustment of transmission speed is first carried out, then is carried out The adjustment of the parameters such as packet loss, so that packet queue adjusted meets the network parameter set, to realize analog network The process that environment carries out data transmission.Also, it in this process, does not need in addition to build the net for analog network environment Network is serviced using the VPN that can register of system of test terminal itself, simulates vulnerable network environment, and flow control and weak has been reached The purpose of network-control.
Through this embodiment, mobile application needs to simulate the function of complex network environment in research and development test process, it is only necessary to The setting such as network packet packet loss, delay, shake, sequence reorganization can be realized in separate unit Android mobile phone, and test application program is in different states Family area and application environment under performance, solve existing test method need to rely on extras build wifi hotspot with And it is confined to bothering for wifi hotspot coverage area, substantially reduce research and development test cost of access.Also, due to utilizing mobile phone terminal VPN service and mobile phone itself function of surfing the Net, the efficient experience tested with oneself whenever and wherever possible can be provided.
During receiving network response bag and sending network request packet, the adjustment of transmission speed is first carried out, then is carried out The adjustment of the parameters such as packet loss, so that packet queue adjusted meets the network parameter set, to realize analog network The process that environment carries out data transmission.Also, it in this process, does not need in addition to build the net for analog network environment Network is serviced using the VPN that can register of system of test terminal itself, simulates vulnerable network environment, and flow control and weak has been reached The purpose of network-control.
Through this embodiment, mobile application needs to simulate the function of complex network environment in research and development test process, it is only necessary to The setting such as network packet packet loss, delay, shake, sequence reorganization can be realized in separate unit Android mobile phone, and test application program is in different states Family area and application environment under performance, solve existing test method need to rely on extras build wifi hotspot with And it is confined to bothering for wifi hotspot coverage area, substantially reduce research and development test cost of access.Also, due to utilizing mobile phone terminal VPN service and mobile phone itself function of surfing the Net, the efficient experience tested with oneself whenever and wherever possible can be provided.
Embodiment 3
According to embodiments of the present invention, additionally provide it is a kind of for implementing the terminal of the test method of above-mentioned application program, such as Shown in Figure 10, which mainly includes processor 1001, camera 1002, display 1003, data-interface 1004, memory 1005 and network interface 1006, in which:
Camera 1002 is mainly used for acquiring image information.
The data that third party's tool is got then mainly are transferred to place in such a way that data are transmitted by data-interface 1004 Manage device 1001.
Memory 1005 is mainly used for storing the operation data of pre-set network parameter and destination application, installation Data etc..
Network interface 1006 is mainly used for carrying out network communication with server, and network request packet is sent to destination service Device, and receive the network response bag from destination server.
Display 1003 is mainly used for the application program installed in display test terminal, the network parameter etc. being set.
Processor 1001 is mainly used for performing the following operations:
It obtains in the test pre-set network parameter of terminal, wherein the network parameter is for indicating net to be simulated The parameter of network environment;After test endpoint to register VPN service, by the VPN service acquisition in destination application and The network packet transmitted between destination server;The net is transmitted according to the network parameter by VPN service Network data packet;The destination application is tested under the network environment.
Processor 1001 is also used to that the VPN service is arranged according to the network parameter, wherein the VPN service simulation The network environment of the network parameter instruction;The network is transmitted by the network environment of VPN service simulation Data packet.
Processor 1001 is also used to will be described according to the queue rule that the network parameter is included using VPN service Network request packet, which is added, sends buffering queue, wherein network request packet described in VPN service transmission described in the queue Rule Expression Configured transmission;Using the VPN service by socket connection by it is described send buffering queue in the network request packet It is sent to the destination server.
Processor 1001 is also used to using VPN service through layering token bucket and network analog functional module to described The packet queue of network request packet is adjusted;The transmission buffering queue is added in packet queue adjusted, wherein the layering Token bucket is for simulating transmission speed indicated by the network parameter, and the network analog functional module is for simulating the net At least one of the delay, the packet loss indicated by network parameter, the heavy packet and described random ordering.
Processor 1001 is also used to receive what the destination server was sent by socket connection using VPN service The network response bag;The network is responded using the queue rule that VPN service is included according to the network parameter Receiving cache queue is added in packet, wherein the transmission of network response bag described in VPN service transmission described in the queue Rule Expression is joined Number.
Processor 1001 is also used to using VPN service through layering token bucket and network analog functional module to described Network response bag carries out packet regulator;The receiving cache queue is added in packet queue adjusted, wherein the layering enables Board bucket is for simulating transmission speed indicated by the network parameter, and the network analog functional module is for simulating the network At least one of the delay, the packet loss indicated by parameter, the heavy packet and described random ordering.
Processor 1001 is also used to create tun virtual interface, wherein the tun virtual interface is for answering the target It is sent to the VPN service with the network request packet of program, or sends institute for the network response bag that VPN service returns State destination application.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can The program code of the test method of the application program of the embodiment of the present invention for storage.
Optionally, in the present embodiment, above-mentioned storage medium can be located at mobile communications network, wide area network, Metropolitan Area Network (MAN) or At least one network equipment in multiple network equipments in the network of local area network.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 is obtained in the test pre-set network parameter of terminal, wherein the network parameter is for indicating to be simulated The parameter of network environment;
S2, after test endpoint to register VPN service, by the VPN service acquisition in destination application and mesh The network packet transmitted between mark server;
S3 transmits the network packet according to the network parameter by VPN service;
S4 tests the destination application under the network environment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: according to described The VPN service is arranged in network parameter, wherein the network environment of the network parameter instruction is simulated in the VPN service;It is logical The network environment for crossing the VPN service simulation transmits the network packet.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: described in utilization The network request packet is added according to the queue rule that the network parameter is included and sends buffering queue by VPN service, wherein The configured transmission of network request packet described in VPN service transmission described in the queue Rule Expression;Passed through using the VPN service The network request packet in the transmission buffering queue is sent to the destination server by socket connection.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: described in utilization VPN service is adjusted the packet queue of the network request packet by layering token bucket and network analog functional module;It will adjust The transmission buffering queue is added in packet queue after whole, wherein the layering token bucket is signified for simulating the network parameter The transmission speed shown, the network analog functional module is for simulating the delay indicated by the network parameter, described losing At least one of packet, the heavy packet and described random ordering.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: described in utilization VPN service receives the network response bag that the destination server is sent by socket connection;It is pressed using the VPN service Receiving cache queue is added in the network response bag by the queue rule for being included according to the network parameter, wherein the queue The configured transmission of network response bag described in VPN service transmission described in Rule Expression.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: described in utilization VPN service carries out packet regulator to the network response bag by layering token bucket and network analog functional module;It will adjustment The receiving cache queue is added in packet queue afterwards, wherein the layering token bucket is for simulating indicated by the network parameter Transmission speed, the network analog functional module for simulate the delay, the packet loss indicated by the network parameter, At least one of the heavy packet and the random ordering.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: creation tun Virtual interface, wherein the tun virtual interface is used to send the VPN for the network request packet of the destination application Service, or the destination application is sent by the network response bag that VPN service returns
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of test method of application program characterized by comprising
It obtains in the test pre-set network parameter of terminal, wherein the network parameter is for indicating network rings to be simulated The parameter in border;
After test endpoint to register VPN service, by the VPN service acquisition in destination application and destination server Between the network packet transmitted;
The network packet is transmitted according to the network parameter by VPN service;
The destination application is tested under the network environment.
2. the method according to claim 1, wherein being transmitted by VPN service according to the network parameter Network packet includes:
The VPN service is set according to the network parameter, wherein the institute of the network parameter instruction is simulated in the VPN service State network environment;
The network packet is transmitted by the network environment of VPN service simulation.
3. passing through institute the method according to claim 1, wherein the network packet includes network request packet VPN service, which is stated, according to the network parameter transmitting network data packet includes:
The network request packet, which is added, to send for the queue rule for being included according to the network parameter using VPN service delays Rush queue, wherein the configured transmission of network request packet described in VPN service transmission described in the queue Rule Expression;
The network request packet in the transmission buffering queue is sent to by institute by socket connection using VPN service State destination server.
4. according to the method described in claim 3, it is characterized in that, the configured transmission include transmission speed, delay, packet loss, Packet and random ordering again are added the network request packet using the queue rule that VPN service is included according to the network parameter Enter to send buffering queue and includes:
Using VPN service by layering token bucket and network analog functional module to the packet queue of the network request packet into Row adjustment;
The transmission buffering queue is added in packet queue adjusted, wherein the layering token bucket is for simulating the network Transmission speed indicated by parameter, the network analog functional module is for simulating described indicated by the network parameter prolong Late, at least one of the packet loss, the heavy packet and described random ordering.
5. passing through institute the method according to claim 1, wherein the network packet includes network response bag VPN service, which is stated, according to the network parameter transmitting network data packet includes:
The network response bag that the destination server is sent is received by socket connection using VPN service;
The network response bag, which is added, to receive for the queue rule for being included according to the network parameter using VPN service delays Rush queue, wherein the configured transmission of network response bag described in VPN service transmission described in the queue Rule Expression.
6. according to the method described in claim 5, it is characterized in that, the configured transmission include transmission speed, delay, packet loss, Packet and random ordering again are added the network response bag using the queue rule that VPN service is included according to the network parameter Entering receiving cache queue includes:
Packet queue is carried out to the network response bag by layering token bucket and network analog functional module using VPN service Adjustment;
The receiving cache queue is added in packet queue adjusted, wherein the layering token bucket is for simulating the network Transmission speed indicated by parameter, the network analog functional module is for simulating described indicated by the network parameter prolong Late, at least one of the packet loss, the heavy packet and described random ordering.
7. the method according to claim 1, wherein the test endpoint to register VPN service after, the side Method further include:
Create tun virtual interface, wherein the tun virtual interface is used to send out the network request packet of the destination application It is sent to the VPN service, or sends the destination application for the network response bag that VPN service returns.
8. a kind of test device of application program characterized by comprising
First acquisition unit, for obtaining in the test pre-set network parameter of terminal, wherein the network parameter is used for table Show the parameter of network environment to be simulated;
Second acquisition unit, for being answered by the VPN service acquisition in target after test endpoint to register VPN service With the network packet transmitted between program and destination server;
Transmission unit transmits the network packet according to the network parameter by VPN service;
Test cell, for testing under the network environment the destination application.
9. device according to claim 8, which is characterized in that the transmission unit includes:
Setup module is serviced for the VPN to be arranged according to the network parameter, wherein the network is simulated in the VPN service The network environment of parameter instruction;
Transmission module, for being taken by the network environment of VPN service simulation in the destination application and target The transmission of the network packet is carried out between business device.
10. device according to claim 8, which is characterized in that the network packet includes network request packet, the biography Defeated unit includes:
First is added module, for servicing the queue rule for being included according to the network parameter for the net by the VPN Network request packet, which is added, sends buffering queue, wherein network request packet described in VPN service transmission described in the queue Rule Expression Configured transmission;
Sending module, for by the VPN service by socket connection by it is described send buffering queue in the network Request packet is sent to the destination server.
11. device according to claim 10, which is characterized in that the configured transmission includes transmission speed, postpones, loses Packet, again packet and random ordering, the first addition module include:
The first adjustment submodule, for being serviced using layering token bucket and network analog functional module by the VPN to described The packet queue of network request packet is adjusted;
First is added submodule, for the transmission buffering queue to be added in packet queue adjusted, wherein the layering token Bucket is for simulating transmission speed indicated by the network parameter, and the network analog functional module is for simulating the network ginseng At least one of the indicated delay of number, the packet loss, the heavy packet and described random ordering.
12. device according to claim 8, which is characterized in that the network packet includes network response bag, the biography Defeated unit includes:
Receiving module, for receiving the net that the destination server is sent by socket connection using VPN service Network response bag;
Second is added module, for servicing the queue rule for being included according to the network parameter for the net using the VPN Receiving cache queue is added in network response bag, wherein network response bag described in VPN service transmission described in the queue Rule Expression Configured transmission.
13. device according to claim 12, which is characterized in that the configured transmission includes transmission speed, postpones, loses Packet, again packet and random ordering, the second addition module include:
Second adjustment submodule, for passing through layering token bucket and network analog functional module to described using VPN service Network response bag carries out packet regulator;
Second is added submodule, for the receiving cache queue to be added in packet queue adjusted, wherein the layering token Bucket is for simulating transmission speed indicated by the network parameter, and the network analog functional module is for simulating the network ginseng At least one of the indicated delay of number, the packet loss, the heavy packet and described random ordering.
14. device according to claim 8, which is characterized in that described device further include:
Creating unit, for creating tun virtual interface after test endpoint to register VPN service, wherein the tun is empty Quasi- interface is used to send the network request packet of the destination application to the VPN and service, or the VPN service is returned The network response bag returned is sent to the destination application.
CN201610741149.4A 2016-08-26 2016-08-26 The test method and device of application program Active CN106375142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610741149.4A CN106375142B (en) 2016-08-26 2016-08-26 The test method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610741149.4A CN106375142B (en) 2016-08-26 2016-08-26 The test method and device of application program

Publications (2)

Publication Number Publication Date
CN106375142A CN106375142A (en) 2017-02-01
CN106375142B true CN106375142B (en) 2019-09-13

Family

ID=57904154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610741149.4A Active CN106375142B (en) 2016-08-26 2016-08-26 The test method and device of application program

Country Status (1)

Country Link
CN (1) CN106375142B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462594B (en) * 2017-02-21 2022-03-04 阿里巴巴集团控股有限公司 Virtual private network and rule table generation method, device and routing method
CN107332872A (en) * 2017-05-23 2017-11-07 成都联宇云安科技有限公司 A kind of method that Android device network agile management and control is realized based on VPN connections
CN109271310B (en) * 2017-07-18 2022-07-05 北京京东尚科信息技术有限公司 Development testing method and device for network function of mobile application program
CN110865931B (en) * 2018-08-28 2023-05-12 阿里巴巴集团控股有限公司 Simulation method, simulation device, electronic equipment and storage medium
CN109450736B (en) * 2018-12-11 2021-03-30 杭州网易再顾科技有限公司 Network interface test method and device, medium and computing equipment
CN109560998B (en) * 2019-02-02 2022-07-08 腾讯科技(深圳)有限公司 Network mechanism testing method, device, terminal and storage medium
CN110324201A (en) * 2019-05-21 2019-10-11 平安科技(深圳)有限公司 Terminal network test method, device, computer equipment and storage medium
CN110138617B (en) * 2019-05-22 2021-11-12 北京字节跳动网络技术有限公司 Data transmission quality testing method, system, electronic device and storage medium
CN110224897B (en) * 2019-06-26 2022-10-04 深圳市腾讯信息技术有限公司 Weak network testing method and device of application program, mobile device and storage medium
CN112448860B (en) * 2019-08-30 2023-04-07 北京奇艺世纪科技有限公司 Application program testing method and related equipment
CN111431758B (en) * 2020-02-20 2022-05-31 平安科技(深圳)有限公司 Cloud network equipment testing method and device, storage medium and computer equipment
CN112769627B (en) * 2021-02-03 2024-03-22 阿里巴巴集团控股有限公司 Network environment simulation method, system and computer program product
CN112929914A (en) * 2021-02-03 2021-06-08 叮当快药科技集团有限公司 System and method for network link simulation auxiliary test
CN113419812B (en) * 2021-05-20 2022-03-11 济南浪潮数据技术有限公司 Port forwarding test method, device, equipment and medium in virtualization environment
CN115174461B (en) * 2022-09-08 2022-12-23 北京迎风知至科技有限公司 System testing method and device based on network request

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100463418C (en) * 2005-11-23 2009-02-18 杭州华三通信技术有限公司 Network performance test method, system and network device
US8812693B2 (en) * 2011-11-09 2014-08-19 William Biddle HAYNES System and method of implementing aggregated virtual private network (VPN) settings through a simplified graphical user interface (GUI)
WO2016081506A1 (en) * 2014-11-18 2016-05-26 Ustream, Inc. Software defined content delivery network for flexible, real-time management of large-scale data transfers
CN105099822A (en) * 2015-08-04 2015-11-25 北京瑞汛世纪科技有限公司 Method and physical machine for measuring network performance

Also Published As

Publication number Publication date
CN106375142A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106375142B (en) The test method and device of application program
CN105210337B (en) A kind of service implementation method and communication unit of NFV system
CN101626383B (en) Route test method of aeronautical telecommunication network and router virtual machine
CN105518611B (en) A kind of remote direct data access method, equipment and system
CN104978261B (en) The test method of application program, apparatus and system
CN108234187B (en) High-fidelity link simulation method for data message forwarding
CN102638407B (en) Message forwarding method, device and network equipment
CN106850402A (en) The transmission method and device of message
CN108009028A (en) Message treatment method, device, equipment and computer-readable recording medium
CN106020926B (en) A kind of method and device transmitted for data in virtual switch technology
CN103475743B (en) A kind of method, apparatus and system for cloud service
CN109327319A (en) Method, equipment and the system of on-premise network slice
CN109828843A (en) Method, system and the electronic equipment that data are transmitted between a kind of calculate node
CN106713010B (en) A kind of communication means and system of avionics network system
CN109417507A (en) The message of section retards accesses
CN110417687A (en) A kind of message sends and receives method and device
CN109587053A (en) Network shunt method and relevant device
CN107959702A (en) Method for routing and device
CN105099923B (en) Message transmitting method and device
US6597694B1 (en) System and method for generating bulk calls and emulating applications
CN108282350A (en) Network management and device
CN109224451A (en) Development of games method, equipment and storage medium based on block chain subchain
CN105847286B (en) The acquisition methods and device of multimedia file
CN105592414B (en) A kind of information processing method and the first electronic equipment
Grønsund et al. A solution for SGi-LAN services virtualization using NFV and SDN

Legal Events

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