CN104185195A - Mobile web performance measuring method, device and system - Google Patents

Mobile web performance measuring method, device and system Download PDF

Info

Publication number
CN104185195A
CN104185195A CN 201410465555 CN201410465555A CN104185195A CN 104185195 A CN104185195 A CN 104185195A CN 201410465555 CN201410465555 CN 201410465555 CN 201410465555 A CN201410465555 A CN 201410465555A CN 104185195 A CN104185195 A CN 104185195A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
measurement
network
mobile network
mobile
plurality
Prior art date
Application number
CN 201410465555
Other languages
Chinese (zh)
Other versions
CN104185195B (en )
Inventor
尹浩
Original Assignee
北京瑞汛世纪科技有限公司
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

Links

Abstract

The invention provides a mobile web performance measuring method, device and system. The method is operated on a mobile measuring device of a linux operation system and comprises the steps that a plurality of available mobile webs to be measured are obtained through USB concentrators; a measuring sequence is set for the available mobile webs, wherein the measuring sequence is the sequence according to which measuring data packets are sent to measuring servers through the available mobile webs respectively; performance measuring of the mobile webs is triggered according to the measuring sequence. By the adoption of the mobile web performance measuring method, device and system, the mobile webs are connected through USB Hubs, and therefore performance measuring of the mobile webs in different web formats can be supported; the mobile web performance measuring method, device and system are based on the linux operation system, thereby being low in cost and suitable for large-scale deployment; by setting the sequence of the mobile webs, uninterrupted measuring of the mobile webs can be realized.

Description

一种移动网络性能的测量方法、装置和系统 Measurement method for a mobile network performance, apparatus and system

技术领域 FIELD

[0001] 本申请涉及移动网络领域,特别涉及一种移动网络性能的测量方法、装置和系统。 [0001] The present application relates to mobile networks, and in particular relates to a measuring method for a mobile network performance, apparatus and system.

背景技术 Background technique

[0002] 移动网络(mobile web)指基于浏览器的Web服务,如万维网,并使用移动设备,例如手机,掌上电脑或其它便携式工具连接的公共网络。 [0002] the mobile network (mobile web) refers to a Web browser-based services, such as World Wide Web, and using a mobile device, e.g. public network phones, PDAs, or other portable tool connected. 随着移动设备的普及,移动网络的性能测量对了解移动网络的性能,实现实时网络性能监控都具有重要的意义。 With the popularity of mobile network performance measurement of mobile devices have important implications for understanding the performance of mobile networks, real-time network performance monitoring.

[0003] 现有技术中,进行移动网络的性能测试的在方法上主要分为两种:第一种是通过部署专用测量设备来实现,常用的测量设备是智能手机。 In the method of the [0003] prior art, the mobile network performance testing of two major types: the first is achieved by deploying a dedicated measurement equipment, commonly used measurement device is a smart phone. 例如,MobiPerf (http://www.mobiperf.com)用Android智能手机来测量网络性能(比如网络延迟与带宽)。 For example, MobiPerf (http://www.mobiperf.com) with Android smartphones network performance measurement (such as network latency and bandwidth). 第二种则利用收费或免费智能手机应用程序收集和汇聚用户端产生的性能数据(例如sensorly.com)来实现。 The second is the use of paid or free smartphone app collection and aggregation of performance data generated by the client (for example sensorly.com) to achieve.

[0004] 但是发明人在研究过程中发现,第一种方法存在连接的移动商数量较少的问题,即便是双卡双待手机也最多只能连接两个服务商从而测量两个移动网络的性能,并且,智能手机包含触摸屏等成本较高的部件,并且网络制式与智能手机有关,固定不可更改。 [0004] However, the inventors found that during the study, there are fewer number of mobile operators to issue a first connection method, even if the dual card dual standby mobile phone can not connect more than two service providers in order to measure two mobile network performance, and the high cost of smart phones contain components such as touch screens, smart phones and related network standard, fixed unchangeable. 而第二种方法虽然部署的成本低,但是不能实现不间断地对移动网络进行测量。 While the second method, although the low cost of deployment, but can not be achieved without interruption of mobile network measurement.

发明内容 SUMMARY

[0005] 因此,本申请所要解决的技术问题是提供一种移动网络性能的测量方法,用以解决现有技术中采用第一种方法导致的成本高、同时可测量的移动网络数量少并且网络制式受限的问题,并且解决现有技术中采用第二种方法导致的不能实现不间断地对移动网络进行测量的问题。 [0005] Accordingly, the present application to solve the technical problem of providing a method for measuring the performance of a mobile network, a first method to solve the prior art high employed due to cost, while less measurable mobile network and the network number problem of limited formats, and solve problems of the prior art can not be achieved using the second method results in continuously measuring the mobile network.

[0006] 本申请还提供了一种移动网络性能的测量装置和系统,用以保证上述方法在实际中的实现及应用。 [0006] The present application further provides a measuring apparatus and system for a mobile network performance, in order to ensure the realization of the above method and its application in practice.

[0007] 为了解决上述问题,本申请公开了一种移动网络性能的测量方法,所述方法运行于Iinux操作系统的移动测量装置上,所述方法包括: [0007] In order to solve the above problems, the present application discloses a method for measuring the performance of a mobile network, the method Iinux operating system running on a mobile measurement device, the method comprising:

[0008] 通过USB集线器获取当前待测量的多个可用移动网络; [0008] Gets the current to be measured a plurality of available mobile networks via a USB hub;

[0009] 为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序; [0009] The measurement sequence is provided to the plurality of available mobile network, the measurement order is the order of transmission of the measuring packet through the plurality of available mobile networks each measurement server;

[0010] 按照所述测量顺序分别触发对所述多个移动网络的性能测量。 [0010] each triggering sequence in accordance with said measured performance measurements of the plurality of mobile networks.

[0011] 可选的,所述按照所述测量顺序分别触发对所述多个移动网络的测量,包括: [0011] Alternatively, the measurement sequence in accordance with said measurement of said plurality of triggers each mobile network, comprising:

[0012] 按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量; [0012] The measuring order of the first mobile network to be measured as the current mobile network, respectively, of the current mobile network performance measurements physical layer, link layer and network layer;

[0013] 待所述第一个测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络,如果是,则按照测量顺序将下一个待测量的移动网络作为当前移动网络,并执行所述分别对所述当前移动网络进行物理层、链路层和网络层的测量的步骤,如果否,则结束流程。 After the [0013] network performance testing to be the first measurement of the mobile network is completed, the mobile network determines whether there is an unmeasured, if so, the next measurement sequence according to the mobile network to be measured as the current mobile network, and respectively performing the step of the current mobile network physical layer, link layer and network layer measurements, and if not, the process ends.

[0014] 可选的,所述分别对当前移动网络进行物理层、链路层和网络侧的测量,具体包括: [0014] Optionally, each of the current mobile network, measured link layer and network-side physical layer comprises:

[0015] 将测试数据包发送至所述当前移动网络对应的测量服务器,并依据所述测量服务器返回的回复数据包确定网络层的性能测量结果; [0015] The test data packets to the corresponding measurement current mobile network server, and based on the measurement server returns the reply packet to determine the network layer performance measurement results;

[0016] 依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,计算链路层的性能测量结果; [0016] According to the time sequence and time interval measuring packet and the reply packet time sequence and time interval, calculating performance measurement result of the link layer;

[0017] 通过定时查询获取物理层的性能测量结果。 [0017] The performance measurements of the physical layer by polling.

[0018] 可选的,所述网络侧的性能测量结果包括:端到端延迟时间和网络带宽,物理层的性能测量结果包括:接收的信号强度指示RSSI,链路层的性能测量结果包括:状态机的状态迁移息。 [0018] Alternatively, the network performance measurements comprises: end delay time and network bandwidth, performance measurement results of the physical layer comprising: the RSSI received signal strength indication, link layer performance measurements comprising: state machine migration information.

[0019] 可选的,还包括: [0019] Optionally, further comprising:

[0020] 将所述网络层和物理层的性能测量结果进行聚类; [0020] The performance of the network layer and the physical layer measurements are clustered;

[0021] 依据聚类的结果建立从物理层到网络层的映射模型。 [0021] a mapping model from the physical layer to the network layer according to the result of the clustering.

[0022] 可选的,还包括: [0022] Optionally, further comprising:

[0023] 将所述多个可用移动网络的性能测量结果发送至测量数据收集服务器。 [0023] The result of the plurality of performance measurements available to the mobile network transmits the measurement data collection server.

[0024] 本申请还提供了一种移动网络性能的测量装置,该装置包括: [0024] The present application further provides a mobile apparatus for measuring network performance, the apparatus comprising:

[0025] 获取网络模块,用于通过USB集线器获取当前待测量的多个可用移动网络; [0025] network acquisition module for acquiring the current to be measured a plurality of available mobile networks via a USB hub;

[0026] 设置模块,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序; [0026] The setting module configured to set the measurement order of the plurality of available mobile network, the measurement order is the order of transmission of the measuring packet through the plurality of available mobile networks each measurement server;

[0027] 测量模块,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量; [0027] The measurement module for measuring order in accordance with said performance measurement trigger each of the plurality of mobile networks;

[0028] 获取结果模块,用于获取所述多个可用移动网络的多个网络性能测量结果。 [0028] The results obtaining module configured to obtain a plurality of network performance measurements plurality of available mobile network.

[0029] 可选的,所述测量模块包括: [0029] Alternatively, the measuring module comprises:

[0030] 测量子模块,用于按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量; [0030] The measurement sub-module, according to the measurement order to the first mobile network to be measured as the current mobile network, respectively, of the current mobile network performance measurements physical layer, link layer and network layer;

[0031] 判断子模块,用于待所述第一个测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络; [0031] The determination sub-module, to be used for network performance testing after the first measurement of the mobile network is completed, the mobile network determines whether there is an unmeasured;

[0032] 触发子模块,用于在所述判断子模块的结果为是的情况下,按照测量顺序将下一个待测量的移动网络作为当前移动网络,并执行所述分别对所述当前移动网络进行物理层、链路层和网络层的测量的步骤; In the case [0032] trigger sub-module, for determining the result of the sub-module is YES, the next measurement sequence according to the mobile network to be measured as the current mobile network, and executes the each of the current mobile network step physical layer, link layer and network layer measurements;

[0033] 结束模块,用于在所述判断子模块的结果为否的情况下,结束流程。 [0033] End module, the result of the determination to the sub-module is NO, the process ends.

[0034] 可选的,所述测量子模块包括: [0034] Alternatively, the measurement sub-module comprises:

[0035] 发送子模块,用于将测试数据包发送至所述当前移动网络对应的测量服务器; [0035] The sending sub-module, for transmitting test data packets to the mobile network corresponding to the current measurement server;

[0036] 确定子模块,用于依据所述测量服务器返回的回复数据包确定网络层的性能测量结果; [0036] The determination sub-module, for measurement according to the reply packet returned by the server to determine the result of the network layer performance measurement;

[0037] 计算子模块,用于依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,计算链路层的性能测量结果; [0037] calculation sub-module, a time sequence and time interval, and the reply packet according to the time sequence and time interval measuring packet, calculation of the performance measurement result of the link layer;

[0038] 获取子模块,用于通过定时查询获取物理层的性能测量结果。 [0038] The obtaining sub-module, configured to obtain performance measurement results of the physical layer by polling.

[0039] 可选的,还包括: [0039] Optionally, further comprising:

[0040] 聚类模块,用于将所述网络层和物理层的性能测量结果进行聚类; [0040] The clustering module, for performance measurements in the network layer and the physical layer clustering;

[0041] 模型建立模块,用于依据聚类的结果建立从物理层到网络层的映射模型。 [0041] The model creating module, configured to establish a mapping model from the physical layer to the network layer according to the result of the clustering.

[0042] 可选的,还包括: [0042] Optionally, further comprising:

[0043] 发送模块,用于将所述多个可用移动网络的性能测量结果发送至测量数据收集服务器。 [0043] transmitting means for transmitting the plurality of available mobile network performance measurements to the measurement data collection server.

[0044] 本申请还提供了一种移动网络性能的测量系统,该系统包括测量装置和USB集线器,所述USB集线器与多个可用移动网络的网卡连接,所述测量装置包括: [0044] The present application further provides a mobile network performance measurement system, the system comprising a measuring device and a USB hub, a USB hub and a plurality of available mobile network card connected to a measuring apparatus comprising:

[0045] 获取网络模块,用于通过USB集线器获取当前待测量的多个可用移动网络;设置模块,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序;测量模块,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量;获取结果模块,用于获取所述多个可用移动网络的多个网络性能测量结果。 [0045] The network acquisition module for acquiring the current to be measured a plurality of available mobile networks via a USB hub; setting module configured to set a plurality of available mobile networks measurement sequence, the measurement sequence through a plurality of said available mobile network server are transmitted to the measurement data packet measurement order; measurement module for measuring order in accordance with said performance measurement trigger each of the plurality of mobile network; acquisition result module configured to obtain a plurality of available mobile a plurality of network performance measurements to the network.

[0046] 与现有技术相比,本申请包括以下优点: [0046] Compared with the prior art, the present application includes the following advantages:

[0047] 在本申请中,由于通过USB Hub来连接多个移动网络,因此可以支持对不同的网络制式的多个移动网络的性能测量,并且与具有触摸屏等昂贵部件的智能手机来讲,本申请基于Iinux操作系统,成本低所以适合大规模部署,并且通过对多个移动网络的顺序设置,可以实现不间断的对多个移动网络进行测量。 [0047] In the present application, since the plurality of connecting mobile networks via USB Hub, and therefore the performance measurement may support a plurality of mobile networks of different network standards, and is concerned with the smart phone having a touch screen, an expensive component, the present Iinux application is based on the operating system, it is suitable for large-scale deployment of low cost, and by providing a sequence of a plurality of mobile networks, can achieve continuous measurement for a plurality of mobile networks.

[0048] 当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。 [0048] Of course, embodiments of the present application, any of the products does not necessarily achieve all of the advantages described above.

附图说明 BRIEF DESCRIPTION

[0049] 为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0049] In order to more clearly illustrate the technical solutions in the present application embodiment, as briefly described in the introduction to the accompanying drawings required for use in describing the embodiments. Apparently, the drawings in the following description are only some of the present application embodiments, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0050] 图1是本申请的一种移动网络性能的测量方法实施例的流程图; [0050] FIG. 1 is a flowchart of an embodiment of the method for measuring the performance of a mobile network according to the present disclosure;

[0051] 图2是在本申请在实际应用中的应用场景的结构示意图; [0051] FIG. 2 is a schematic view of the present application in an application scenario in the practical application;

[0052] 图3是本申请的方法实施例中步骤103的流程图; [0052] FIG. 3 is a flowchart of step 103 in the embodiment of the present application;

[0053] 图4是本申请中多个移动网络同步进行性能测量的时序控制原理图; [0053] FIG. 4 is a timing chart of the present application, a plurality of mobile network synchronization performance measurement control schematic;

[0054] 图5是本申请中对一个移动网络进行测量的原理示意图; [0054] FIG. 5 is a schematic diagram of the principles of the present application, a mobile network measurement;

[0055] 图6是本申请的一种移动网络性能的测量装置实施例的结构框图; [0055] FIG. 6 is a block diagram showing an embodiment of an apparatus for measuring the performance of a mobile network according to the present disclosure;

[0056] 图7是本申请的测量装置实施例中测量模块603的结构框图。 [0056] FIG. 7 is a configuration block diagram of the measurement module 603 of the measuring apparatus of the embodiment of the present application.

具体实施方式 detailed description

[0057] 下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。 [0057] below with reference to this application example of the accompanying drawings, technical solutions in the embodiments will be apparent to the present application, fully described, obviously, the described embodiments are merely part of the present application embodiment, but not all embodiments example. 基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。 Based on the embodiments of the present application, all other embodiments to those of ordinary skill in the art without any creative effort shall fall within the scope of the present application.

[0058] 本申请可用于众多通用或专用的计算装置环境或配置中。 [0058] The present application with numerous general purpose or special purpose computing environments or configurations of the device. 例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器装置、包括以上任何装置或设备的分布式计算环境等等。 For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor apparatus, comprising any of the above apparatus, or device distributed computing environment.

[0059] 本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。 [0059] The present application may be described in the general context of computer-executable instructions, executed by a computer, such as program modules. 一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。 Generally, program modules include performing particular tasks or implement particular abstract data types routines, programs, objects, components, data structures, and the like. 也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。 This application may be practiced in a distributed computing environment, the distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. 在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。 In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices in.

[0060] 参考图1,示出了本申请一种移动网络性能的测量方法实施例的流程图,所述方法运行于Iinux操作系统的移动测量装置上,本实施例可以包括以下步骤: [0060] Referring to FIG 1, there is shown a flowchart of a mobile application of the present embodiment of the method of measuring network performance embodiment, the process running on the operating system Iinux movement measuring apparatus according to the present embodiment may include the steps of:

[0061] 步骤101:通过USB集线器获取当前待测量的多个可用移动网络。 [0061] Step 101: Get the current to be measured a plurality of available mobile networks through a USB hub.

[0062] 在本申请实施例中,移动网络性能的测量方法可以运行于具有Iinux操作系统的移动测量装置上,该装置对应的测试程序代码可以设置为Linux的upstart脚本,则测试程序自动启动时可以进行测试环境初始化(包括更新系统时钟等),不需用户干预。 [0062] When the embodiment, the measurement method of a mobile network performance can be run on a mobile measuring device has Iinux operating system, which means a corresponding test program code may be provided as the Linux upstart scripts, the test program automatically started in the present application embodiment test environment can be initialized (including updates the system clock, etc.), without user intervention.

[0063] 参考图2所示,为本申请在实际应用中的应用场景结构图。 As shown in [0063] Referring to Figure 2, the structure of the application scenario in FIG practical application of the present application. 本申请的移动测量装置可以通过USB集线器(USB Hub)与网络连接设备(例如USB上网卡)相连。 Movement measuring apparatus according to the present disclosure may be connected to devices (e.g., USB stick) is connected via a USB hub (USB the Hub) and the network. 在图2中,一个USB Hub可以连接多个USB上网卡,包括第一运营商的USB3G网卡103,第一运营商的LTE网卡104,第二运营商的3G网卡105,以及第二运营商的Wifi网卡106共四个。 In FIG. 2, a plurality of USB Hub USB adapter can be connected, comprising a first carrier USB3G card 103, the first operator LTE card 104, the second operator 3G NIC 105, and a second carrier Wifi card 106 a total of four. 并且,考虑至Ij USB Hub的速率上限(例如,USB2.0 High Speed在250〜480Mbps),因此,可以通过添加USB Hub的方式来支持对更多个运营商的4G网卡(108)或未来5G网卡的移动网络的性能测量,或者也可以通过完全建立一套和图2中的101、102、103、104、105和106完全一致的独立或者协同工作的平台来实现对多个运营商的更多移动网络的性能测量。 And, considering the upper limit to the rate of Ij USB Hub (eg, USB2.0 High Speed ​​in 250~480Mbps), therefore, may be more support for the operator's 4G network card by adding a USB Hub way (108) or future 5G performance measurement mobile network card, or more may be implemented by a plurality of carriers and the establishment of a complete in 2 101,102,103,104,105 and 106 exactly the same independent of the work platform or multiple mobile network performance measurement. 在图2中,测量控制服务器108可以给移动测量装置发送控制参数(例如,测量时间,测量频率以及Ping对端服务器地址等)。 In FIG. 2, the measurement control server 108 may send control parameters to the mobile measurement device (e.g., measurement time, the measurement frequency, and the remote server address Ping). 具体的,系统管理员可以在测量控制服务器上根据实际需要或者场景需求来制定性能测量所需要的控制参数,然后由测量控制服务器108主动下发给移动测量装置,或者,移动测量装置也可以询问测量控制服务器108来获取最新的测量活动参数。 Specifically, the system administrator can develop on the measurement control server according to actual needs or requirements scenario performance measure control parameters required, then the active control server 108 by the measurement under measurement to the mobile device, or mobile measurement device may also ask measurement and control server 108 to obtain the latest measurement campaign parameters.

[0064] 在实际应用中,在进行移动网络的性能测量之前,移动测量装置可以先进行初始化,并通过I2C总线从RTC实时时钟控制器获取正确的实时时钟,以保证在即使没有可用的移动网络的情况下系统运行的正确性,并纪录正确的测量时间。 [0064] In practice, prior to measuring the performance of a mobile network, the mobile measurement device may be initialized, and for the correct real-time clock RTC real time clock from the controller via the I2C bus, to ensure that the mobile network is not available even in the accuracy of the system is running under the circumstances, and to record the correct measurement time. 移动测量装置首先会检测是否连接了USB Hub和USB上网卡(例如图1中的103-106),并检测连接的USB上网卡的工作状态是否正常,从而发现当前可用的移动网络连接类型(例如,Wifi,3G或LTE)。 Movement measuring apparatus first detects whether the USB connector and the USB Hub card (e.g. 103-106 in FIG. 1), and detects whether the card is connected to the USB is operating normally, to discover currently available mobile connection type (e.g. , Wifi, 3G, or LTE).

[0065] 接下来,进入步骤102:为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序。 [0065] Next, the routine proceeds to step 102: the plurality of available mobile networks to set the measurement sequence, the measurement sequence measuring packet transmission order for the plurality of available mobile network by the server respectively measured.

[0066] 在移动测量装置检测到多个可用移动网络的情况下,为该多个可用移动网络设置测量顺序。 Under [0066] In the case of a mobile measuring device detects the plurality of available mobile networks, a plurality of mobile networks are available for the measurement sequence is provided. 在本实施例中,对多个网络的测量是顺序进行的,先进行一个移动网络的测量,待这个移动网络的物理层、链路层和网络层的性能都测量完毕,再进行下一个移动网络的测量,这多个移动网络之间的测量顺序本领域技术人员可以根据实际需求或应用场景自主申报,一般来讲没有特定的要求。 In the present embodiment, the measurement is carried out for a plurality of network order to measure a mobile network, a mobile network to be the physical layer, link layer and network layer are performance measurement is completed, then the next mobile measuring network, those skilled in measuring sequence between the plurality of mobile networks may be self declarations according to actual demand or application scenario, in general no specific requirements. 在某些情况下,测量顺序也可以与移动测量装置的移动路线和速度做综合考虑。 In some cases, the order of measurement can be considered to make the moving speed of the moving path and the measuring device. 例如,如果该测量设备在该时间段的物理位置是可预计的,则可以预留某个测试时段给某个移动供应商的网卡。 For example, if the physical location of the measurement device is expected time period, the time period can be reserved for a certain mobile test card vendor. 可见在本申请实施例中,通过对测量顺序的确定,和对时延参数的使用,将多个移动网络的测量活动合理,从而高效得分布在时间轴上。 It is seen in the embodiment of the present application embodiment, by determining the sequence of measurement, and the use of the delay parameter, the plurality reasonable measurement activity of the mobile network to efficiently obtain the distribution on the time axis.

[0067] 在本申请实施例或者,考虑到频段干扰、天线耦合和电耗的限制,在任何时间段都只进行对单个网络的测量。 [0067] In the present embodiment or application, taking into account the interference bands, the antenna coupling and electrical consumption limit, only a single measurement of the network at any time.

[0068] 接下来,进入步骤103:按照所述测量顺序分别触发对所述多个移动网络的性能测量。 [0068] Next, the routine proceeds to step 103: according to the measurement procedure is triggered each performance measurement of the plurality of mobile networks.

[0069] 在设定多个移动网络的测量顺序之后,就需要按照测量顺序分别对多个移动网络进行性能测量,参考图3所示,图3为对多个移动网络进行性能测量的流程图。 [0069] After setting the plurality of mobile network measurement sequence, it is necessary for a plurality of mobile networks each performance measurement according to the measurement sequence, with reference to FIG. 3, FIG. 3 is a flowchart of a plurality of mobile network performance measurement is performed .

[0070] 在详细介绍对多个移动网络进行性能测量的过程之前,首先参考图4所示,图4为多个移动网络同步进行性能测量的时序控制原理图。 [0070] Before a detailed description of a plurality of mobile network performance measurement process, first with reference to FIG. 4, 4 a plurality of mobile network timing synchronization performance measurement control schematic of FIG. 在对单个移动网络I (例如3G或4G)的测量中,首先移动测量装置向测量服务器或目标网站(例如baidu.com)发送一个ping包Pl (如401所示),在收到Pl的回复包(Rl)后,等待“Tproml”的时间(403),使得3G或4G的链路层状态机从“空闲”转变为“RRC建立”状态。 In the measurement of a single mobile network I (for example, 3G or 4G), first movement measuring apparatus transmits a ping packet Pl (shown as 401) to the measurement server or target site (e.g. Baidu.com), Pl is received reply after coating (Rl), waiting "Tproml" time (403), such that the link layer state machine 3G or 4G from "idle" to "RRC established" state. 此后,数据传输就可以利用已经完全建立的3G或4G链接。 Thereafter, the data transmission can take advantage of 3G or 4G links have been fully established. 如402所示,正式的测量数据包P2在“Tproml”之后发出,测量对象可以包括测量网络延迟、网络上载速率、下载速率等,在收到测量服务器的回复包R2后,系统必须等待“Tgapl”时长(如404所示),使得3G或4G网络链路层状态机从“RRC建立”状态返回“空闲”状态,从而保证在发起下次对另一个移动网络2的测量(如405所示)之前,当前测量的移动网络I的移动网卡和天线处于零能耗和无干扰状态。 As shown in 402, the data packet P2 formal measurement after "Tproml" is issued, the measurement object may include a measurement network delay, the network upload speed, download speed and the like, after receiving the reply packet R2 measurement server, the system must wait "Tgapl "duration (e.g., 404 shown), so that the 3G or 4G network link layer state machine transitions from" "return state" idle "state RRC setup to ensure measurement of another mobile network 2 in initiating the next (e.g., 405 shown in FIG. before), the current I measured by mobile network card and a mobile antenna and no interference at zero energy state.

[0071] 需要说明的是,“Τρι.οπιΓ'和“Tgapl”是与移动运营商、网络制式和网络频段相关的参数,用来控制发送测量数据包的时间顺序,本领域技术人员可以通过预先测量实验来确定。例如,在测量3G网络中,可以采用“Tproml”为2秒,“Tgapl”为4秒。可以理解的是,“Tproml”和“Tgapl”的具体取值并不影响本申请的实现,也因此本申请中对其数值不作具体限定。 [0071] Incidentally, "Τρι.οπιΓ 'and" Tgapl "with the mobile operator, and the network band network format associated parameters used for controlling the transmission time measurement packet sequence, those skilled in the art can advance experimental measurements is determined. for example, in measuring the 3G network, may be employed "Tproml" 2 seconds, "Tgapl" 4 seconds. It will be appreciated that, "Tproml" and "Tgapl" does not affect the value of the specific application implementation, and thus its value in the present application is not specifically limited.

[0072] 接着回到图3,参考图3所示,步骤103具体可以包括: [0072] Returning to Figure 3 Next, with reference to FIG. 3, step 103 specifically comprises:

[0073] 步骤301:按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量。 [0073] Step 301: according to the measurement order to the first mobile network to be measured as the current mobile network, respectively, of the current mobile network performance measurements physical layer, link layer and network layer.

[0074] 先按照测量顺序对第一个待测量的移动网络进行性能测量,移动测量装置将测试数据包发送至第一个移动网络对应的测量服务器,并依据测量服务器返回的回复数据包确定网络层的性能测量结果,同时依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,可以计算得到链路层的性能测量结果,以及,通过定时查询(例如,每个整点,或每隔I分钟等)获取物理层的性能测量结果。 [0074] The first performance measurements of the first mobile network to be measured according to the measurement sequence, the mobile measuring device sends test packets to the first mobile network corresponding to the measurement server, and based on the measurement server returns the reply packet to determine the network performance measurements layer while according to the time sequence and time interval measuring packet and the reply packet and the time-series interval can be calculated performance measurement result of the link layer, and, by polling ( For example, every hour, or every minute, etc. I) to obtain performance measurement results of the physical layer.

[0075] 具体的,测量单个网络时,对物理层、链路层和网络层的测量按照图5的方式和顺序。 [0075] Specifically, when measuring a single network, the manner and order of measurement of the physical layer, link layer and network layer in FIG. 5. 参考图5所示,为对一个移动网络进行测量的原理示意图。 Referring shown in FIG. 5, a mobile network is a principle schematic diagram of the measurement. 本申请实施例中对每个移动网络的测量涵盖物理层(503)、链路层(502)和网络层(501)的性能参数。 The present application encompasses embodiments in the physical layer (503), the link layer (502) for measuring each of the mobile network and the network layer (501) performance parameters embodiment. 其中,网络层的测量使用数据包队列(如504所示)来测量网络端到端延迟和网络带宽等。 Wherein the measurement data using the network layer packet queue (as shown in 504) to measure the network end to end delay and network bandwidth. 而源数据包的时间间隔可以预先设置好,例如设置在100毫秒左右,因为过小的时间间隔会加重设备的负载,本领域技术人员同样可以根据应用场景或者实际需求自主设置。 And the time interval of the source packet can be pre-set, for example, about 100 ms is provided, because too small a time interval may load device, those skilled in the art may also be provided autonomously or according to actual demand scenarios. 测量数据包可以由移动测量装置发送至另一个放置在相同移动网络运营商的测量服务器上,其中,每个移动网都部署有自己的测量服务器。 Measurement packets can be sent by the mobile measuring apparatus to another place on the same mobile network operator of the measurement server, wherein each mobile network has deployed its own measurement server. 而测量服务器为每个收到的数据包发送回复包。 And the measurement server for each data packet received reply packet. 移动测量装置对每个发送的测量数据包和收到的回复数据包都打上时间标记(如505所示)例如pt_l,pt_2……至pt_n。 Movement measuring means for the reply packet for each packet transmitted and received by the measurement data are time stamped (e.g., 505 shown) e.g. pt_l, pt_2 ...... to pt_n. 数据包的时间序列和时间间隔可以用来分析链路层的状态机的状态迁移(如506所示),因为网络的实时状态是可变的,状态机迁移过程可能不同于经验值。 Time sequence and time interval data packets can be used to analyze the state machine of the link layer state transition (as indicated by 506), since the real-time state of the network is variable, the state machine migration process may differ from the experience. 而在物理层,考虑到减少USB上网卡的处理开销,移动测量装置可以使用定期(例如30秒一次或者每个整点等)查询的方式来获取物理层的信号强度指数(RSSIjn 507所示)。 In the physical layer, in view of reduction of processing overhead on the USB card, the mobile measurement device may be used on a regular basis (e.g., 30 seconds or every hour, etc.) to obtain the polling is a physical layer signal strength index (RSSIjn 507 shown) .

[0076] 可见,在本申请实施例中,对于任一移动网络,其网络侧的性能测量结果具体可以包括:端到端延迟时间和网络带宽,对测量服务器(baidu)的网路延迟:30毫秒,下载速率:4兆字节每秒,上载速率:1兆字节每秒;而物理层的性能测量结果可以包括:接收的信号强度指示RSSI,例如:一75dBm ;而链路层的性能测量结果可以包括:状态机的状态迁移信息,例如,链路层“空闲”转变为“RRC建立”的延迟时间为:200毫秒。 [0076] visible, in the present application embodiment, for any mobile network, the network performance measurements side thereof may include: end delay time and network bandwidth, the measurement server (baidu) network delay: 30 ms, download rate: 4 megabytes per second, the upload rate: 1 megabyte per second; the physical layer performance measurements may include: a received signal strength indication the RSSI, for example: a 75dBm; the performance of a link layer measurements may comprise: a state machine state transition information, e.g., link layer "idle" to "RRC establishment" delay time: 200 ms.

[0077] 可见在本步骤中,可以根据测量数据包的发送时间与回复包的接收时间进行分析,从而得到网络性能的测量结果。 [0077] In this step, the visible, and the reception time may be analyzed reply packet according to the transmission time measurement packet, so that network performance measurement results. 可以理解的是,对于3G和LTE网络,移动测量装置还可以测量得到USB上网卡所链接的基站信息(比如代号Cell ID,区域码LAC,和,频段等信息),具体可以通过对USB上网卡与基站的AT命令序列来获得。 It will be appreciated that for 3G and LTE networks, the mobile measurement device may also be measured by the base station information (such code Cell ID, area code the LAC, and, band information) on the card USB linked, particularly by the card to the USB the base station and the AT command sequence to obtain.

[0078] 步骤302:待所述第一个待测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络,如果是,则按照测量顺序将下一个待测量的移动网络作为当前移动网络,并进入步骤301,如果否,则结束流程。 [0078] Step 302: After the network performance testing to be a first mobile network to be measured is completed, the mobile network determines whether there is an unmeasured, if so, the next measurement sequence according to the mobile network to be measured as the current mobile network, and proceeds to step 301, if NO, the process ends.

[0079] 在对第一个移动网络的网络性能测试完毕之后,如果存在未测量的其他移动网络,则按照测量顺序确定出下一个待测量的移动网络作为当前移动网络,并执行步骤301对下一个待测量的移动网络进行性能测量,直至对所有的待测量的移动网络的性能测量完毕。 [0079] After the mobile network a first network performance test is completed, if there is another mobile network is not measured, the measurement sequence is determined according to a mobile network to be measured next as the current mobile network, and the next step 301 is performed a mobile network to be measured, performance measurement, the performance measurement is completed until all of the mobile network to be measured.

[0080] 在本申请中,由于通过USB Hub来连接多个移动网络,因此可以支持对不同的网络制式的多个移动网络的性能测量,并且与具有触摸屏等昂贵部件的智能手机来讲,本申请基于Iinux操作系统,成本低所以适合大规模部署,并且通过对多个移动网络的顺序设置,可以实现不间断的对多个移动网络进行测量。 [0080] In the present application, since the plurality of connecting mobile networks via USB Hub, and therefore the performance measurement may support a plurality of mobile networks of different network standards, and is concerned with the smart phone having a touch screen, an expensive component, the present Iinux application is based on the operating system, it is suitable for large-scale deployment of low cost, and by providing a sequence of a plurality of mobile networks, can achieve continuous measurement for a plurality of mobile networks.

[0081] 可以理解的是,在不同的实施例中,在步骤103之后,还可以包括: [0081] It will be appreciated that, in various embodiments, after step 103, may further comprise:

[0082] 步骤104:将所述网络层和物理层的性能测量结果进行聚类。 [0082] Step 104: The measured performance of the network layer and the physical layer of the clustering results.

[0083] 在获取网络层和物理层的网络性能参数后,可以使用数据聚类的方法将网络层的参数与物理层的参数对应起来,并去除噪音样本,从而建立从物理层到网络层的映射模型。 [0083] After acquiring the network layer and the physical layer of the network performance parameters, data clustering method may be used together corresponding to the specifications of the physical layer of the network layer, and removing the noise samples, thereby establishing the physical layer to network layer mapping model.

[0084] 步骤105:依据聚类的结果建立从物理层到网络层的映射模型。 [0084] Step 105: establishing a mapping model from the physical layer to the network layer according to the result of the clustering.

[0085] 步骤104中建立的映射模型可以为在特殊场景下做性能估计提供经验数据基础。 Mapping model [0085] Step 104 may be established in special scenarios do provide performance estimation empirical data base. 例如,当USB上网卡所消耗的网络流量达到与运营商的流量合约上限时,移动测量装置将不能成功发送和接收数据包,这种情况下可以用物理层的RSSI参数来估计网络层的性能(例如,端到端延迟和丢包率)。 For example, when the traffic contract on the USB card network traffic consumed reaches a limit of carriers, the mobile measuring apparatus can not be successfully transmitted and received packet, RSSI can be used in this case to estimate the parameters of the physical layer performance of the network layer (e.g., end to end delay and packet loss rate).

[0086] 在不同的实施例中,在步骤103之后,移动测量装置还可以将得到的多个可用移动网络的性能测量结果发送至测量数据收集服务器。 [0086] In various embodiments, a plurality of performance measurements available mobile networks after step 103, the mobile measurement device may also send the resulting measurement data to the collection server. 参考图2所示,可选的,测量数据收集服务器(107)可以接收移动测量装置发回的性能数据。 Referring shown in FIG. 2, an alternative, the measurement data collection server (107) may receive performance data sent back by the mobile measuring device.

[0087] 对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。 [0087] For the embodiment of the foregoing method embodiments, for ease of description, it is described as a series combination of actions, those skilled in the art should understand that the present disclosure is not limited by the order of acts described, as the basis The present application, some steps may be performed simultaneously or in other sequences. 其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。 Secondly, those skilled in the art should also understand that the embodiments are described in the specification are exemplary embodiments, actions and modules are not necessarily related to the present application necessary.

[0088] 与上述本申请一种移动网络性能的测量方法实施例所提供的方法相对应,参见图6,本申请还提供了一种移动网络性能的测量装置实施例,在本实施例中,该装置与USB集线器相连,该装置可以包括: [0088] and a mobile application of the present method provided corresponding to a network performance measurement embodiment, see FIG. 6, the present application also provides an apparatus for measuring the performance of a mobile network embodiment, in the present embodiment, the device is connected to the USB hub, the apparatus may comprise:

[0089] 获取网络模块601,用于通过USB集线器获取当前待测量的多个可用移动网络。 [0089] acquire the network module 601, configured to obtain a current to be measured via a USB hub plurality of available mobile networks.

[0090] 设置模块602,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序。 [0090] The setting module 602, is used to set a plurality of available mobile networks measurement sequence, the measurement sequence is a sequence of measurement packets transmitted by the plurality of mobile networks are available to a measurement server.

[0091] 测量模块603,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量。 [0091] The measurement module 603, according to the measurement procedure for triggering performance measurement respectively the plurality of mobile networks.

[0092] 获取结果模块604,用于获取所述多个可用移动网络的多个网络性能测量结果。 [0092] The results obtaining module 604, configured to obtain a plurality of the plurality of network performance measurements available mobile network.

[0093] 参考图7所示,所述测量模块603具体可以包括: [0093] Referring to FIG. 7, the measuring module 603 may include:

[0094] 测量子模块701,用于按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量。 [0094] The measurement sub-module 701, according to the measurement order to the first mobile network to be measured as the current mobile network, respectively, of the current mobile network performance measurements physical layer, link layer and network layer.

[0095] 判断子模块702,用于待所述第一个测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络。 [0095] The determination sub-module 702, to be used for network performance testing after the first measurement of the mobile network is completed, the mobile network determines whether there is an unmeasured.

[0096] 触发子模块703,用于在所述判断子模块的结果为是的情况下,按照测量顺序将下一个待测量的移动网络作为当前移动网络,并执行所述分别对所述当前移动网络进行物理层、链路层和网络层的测量的步骤。 [0096] trigger sub-module 703, the result of the determination to the sub-module is YES, the next measurement sequence according to the mobile network to be measured as the current mobile network, and executes the movement of the said current, respectively, step network physical layer, link layer and network layer measurements.

[0097] 结束子模块704,用于在所述判断子模块的结果为否的情况下,结束流程。 [0097] End sub-module 704, the result of the determination to the sub-module is NO, the process ends.

[0098] 其中,所述测量子模块701具体可以包括: [0098] wherein the measurement sub-module 701 may include:

[0099] 发送子模块,用于将测试数据包发送至所述当前移动网络对应的测量服务器;确定子模块,用于依据所述测量服务器返回的回复数据包确定网络层的性能测量结果;计算子模块,用于依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,计算链路层的性能测量结果;以及,获取子模块,用于通过定时查询获取物理层的性能测量结果。 [0099] sending submodule, configured to send test packets to the mobile network corresponding to the current measurement server; determination sub-module, for measurement according to the reply packet returned by the server to determine the result of the network layer performance measurement; Calculation sub-module, a time sequence and time based on said packet interval measurement, and the reply packet sequence and time interval, which is the link layer performance measurements; and, obtaining sub-module, through the timing for query performance measurements of the physical layer.

[0100] 在本申请装置实施例中,由于通过USB Hub来连接多个移动网络,因此可以支持对不同的网络制式的多个移动网络的性能测量,并且与具有触摸屏等昂贵部件的智能手机来讲,本申请基于Iinux操作系统,成本低所以适合大规模部署,并且通过对多个移动网络的顺序设置,可以实现不间断的对多个移动网络进行测量。 [0100] In the apparatus of the present application embodiment, since the plurality of connecting mobile networks via USB Hub, and therefore the performance measurement may support a plurality of mobile networks of different network standards, and to have a smart phone with a touch screen and other expensive parts , the present application is based Iinux operating systems, so for large-scale deployment of low cost, and by providing a sequence of a plurality of mobile networks, can achieve continuous measurement for a plurality of mobile networks.

[0101] 在不同的实施例中,除了图6所示的模块之外,移动测量装置,还可以包括: [0101] In various embodiments, in addition to the module shown in FIG. 6, the mobile measuring apparatus may further comprise:

[0102] 聚类模块605,用于将所述网络层和物理层的性能测量结果进行聚类。 [0102] Clustering module 605, performance measurements to the network layer and the physical layer clustering.

[0103] 模型建立模块606,用于依据聚类的结果建立从物理层到网络层的映射模型。 [0103] model module 606, configured to establish a mapping model from the physical layer to the network layer according to the result of the clustering.

[0104] 在不同的实施例中,移动测量装置除了图6所示的模块之外,还可以包括:发送模块,用于将所述多个可用移动网络的性能测量结果发送至测量数据收集服务器。 [0104] In various embodiments, the movement measuring device in addition to the module shown in FIG. 6, also comprising: transmitting means for transmitting said plurality of performance measurements available to the mobile network measurement data collection server .

[0105] 本申请实施例还提供了一种移动网络性能的测量系统,该系统具体可以包括测量装置和USB集线器,所述USB集线器与多个可用移动网络的网卡连接,而所述测量装置具体可以包括: [0105] Example embodiments of the present application further provides a mobile network performance measurement system, the system may comprise a particular measuring device and a USB hub, a USB hub and a plurality of NICs available mobile network connection, and said measuring means DETAILED They may include:

[0106] 获取网络模块,用于通过USB集线器获取当前待测量的多个可用移动网络;设置模块,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序;测量模块,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量;获取结果模块,用于获取所述多个可用移动网络的多个网络性能测量结果。 [0106] network acquisition module for acquiring the current to be measured a plurality of available mobile networks via a USB hub; setting module configured to set a plurality of available mobile networks measurement sequence, the measurement sequence through a plurality of said available mobile network server are transmitted to the measurement data packet measurement order; measurement module for measuring order in accordance with said performance measurement trigger each of the plurality of mobile network; acquisition result module configured to obtain a plurality of available mobile a plurality of network performance measurements to the network.

[0107] 采用本申请实施例公开的测量系统,由于其中的测量装置通过USBHub来连接多个移动网络,因此可以支持对不同的网络制式的多个移动网络的性能测量,并且与具有触摸屏等昂贵部件的智能手机来讲,本申请基于Iinux操作系统,成本低所以适合大规模部署,并且通过对多个移动网络的顺序设置,可以实现不间断的对多个移动网络进行测量。 [0107] The embodiment disclosed in the present application embodiment of the measurement system, due to which the measuring device by connecting a plurality of mobile networks USBHub, it is possible to support performance measurement for a plurality of mobile networks of different network standards, and the like having a touch screen expensive smartphone member concerned, the present application is based Iinux operating systems, so for large-scale deployment of low cost, and by providing a sequence of a plurality of mobile networks, can achieve continuous measurement for a plurality of mobile networks.

[0108] 需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0108] Incidentally, the various embodiments of the present specification are described in a progressive manner, differences from the embodiment and the other embodiments each of which emphasizes embodiment, the same or similar portions between the respective embodiments We can see each other. 对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 For the device class of embodiments, since the embodiment which is substantially similar method, it is relatively simple description, see Methods section of Example place related to embodiments described.

[0109] 最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0109] Finally, it should be noted that, herein, relational terms such as first and second and the like are only used to distinguish one entity or operation from another entity or action without necessarily requiring or implying any such actual relationship or order between these entities or operations. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0110] 以上对本申请所提供的一种移动网络性能的测量方法、装置及系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 [0110] or more be measuring method, apparatus and system for a mobile network performance provided herein are described in detail herein through specific examples of the principles and embodiments of the present application are set forth in description of the above embodiment only to assist in understanding the method and core ideas of the present application; Meanwhile, those of ordinary skill in the art based on the idea of ​​the present disclosure, may make modifications to the specific embodiments and applications of the embodiment, the summary, the the specification shall not be construed as limiting the present disclosure.

Claims (12)

  1. 1.一种移动网络性能的测量方法,其特征在于,所述方法运行于Iinux操作系统的移动测量装置上,所述方法包括: 通过USB集线器获取当前待测量的多个可用移动网络; 为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序; 按照所述测量顺序分别触发对所述多个移动网络的性能测量。 A method of measuring performance of a mobile network, wherein the method for operating the measuring device on the mobile Iinux operating system, the method comprising: obtaining a plurality of mobile network available currently to be measured via a USB hub; of the said plurality of available mobile network settings measurement sequence, the measurement sequence is a sequence of measurement packets transmitted by the plurality of mobile networks are available to a measurement server; measured according to the each order of said plurality of triggers performance of the mobile network measuring.
  2. 2.根据权利要求1所述的方法,其特征在于,所述按照所述测量顺序分别触发对所述多个移动网络的测量,包括: 按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量; 待所述第一个测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络,如果是,则按照测量顺序将下一个待测量的移动网络作为当前移动网络,并执行所述分别对所述当前移动网络进行物理层、链路层和网络层的测量的步骤,如果否,则结束流程。 2. The method according to claim 1, characterized in that the measurement sequence in accordance with said measurement of said plurality of triggers each mobile network, comprising: a measuring order in accordance with the first mobile network to be measured as the current mobile networks, each mobile network of the current physical layer, link layer and network layer of performance measurements; until after the first measurement of the network performance testing a mobile network is completed, the mobile network determines whether there is unmeasured, If so, the next measurement sequence in accordance with a mobile network to be measured as the current mobile network, and performs each step of the physical layer, link layer and network layer of the measurement of the current mobile network, if not, the end of the process.
  3. 3.根据权利要求2所述的方法,其特征在于,所述分别对当前移动网络进行物理层、链路层和网络侧的测量,具体包括: 将测试数据包发送至所述当前移动网络对应的测量服务器,并依据所述测量服务器返回的回复数据包确定网络层的性能测量结果; 依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,计算链路层的性能测量结果; 通过定时查询获取物理层的性能测量结果。 3. The method according to claim 2, wherein each of said measured current mobile network physical layer, link layer and the network side comprises: transmitting test data packets to the mobile network corresponding to the current the measurement server, and based on the measurement server returns the reply packet to determine the network layer performance measurement results; according to the time sequence and time interval measuring packet and the reply packet and the time-series interval, which is link layer performance measurements; performance measurements result of the physical layer by polling.
  4. 4.根据权利要求3所述的方法,其特征在于,所述网络侧的性能测量结果包括:端到端延迟时间和网络带宽,物理层的性能测量结果包括:接收的信号强度指示RSSI,链路层的性能测量结果包括:状态机的状态迁移信息。 4. The method according to claim 3, wherein the performance measurements the network side comprises: end to end delay performance measurements and network bandwidth, the physical layer comprising: a received signal strength indication of the RSSI, chain performance measurement path layer comprising: a state machine transition information.
  5. 5.根据权利要求2〜4任一项所述的方法,其特征在于,还包括: 将所述网络层和物理层的性能测量结果进行聚类; 依据聚类的结果建立从物理层到网络层的映射模型。 5. A method according to any one of claims 2 ~ 4, characterized in that, further comprising: measuring the performance of the network layer and the physical layer clustering result; from the physical layer to establish a network based on clustering results mapping model layer.
  6. 6.根据权利要求1〜4任一项所述的方法,其特征在于,还包括: 将所述多个可用移动网络的性能测量结果发送至测量数据收集服务器。 6. The method according to any of claims 1 ~ 4, characterized in that, further comprising: transmitting a plurality of performance measurements available to the mobile network measurement data collection server.
  7. 7.一种移动网络性能的测量装置,其特征在于,该装置包括: 获取网络模块,用于通过USB集线器获取当前待测量的多个可用移动网络; 设置模块,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序; 测量模块,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量; 获取结果模块,用于获取所述多个可用移动网络的多个网络性能测量结果。 A mobile network performance measurement apparatus, wherein, the apparatus comprising: acquiring a network module, configured to obtain the current to be measured a plurality of available mobile networks via a USB hub; setting module, for said plurality of available mobile network settings measurement sequence, the measurement sequence is a sequence of measurement packets transmitted by the plurality of mobile networks are available to the measurement server; measurement module for each of said plurality of triggers the mobile network in accordance with the measurement sequence performance measurement; obtaining result module, configured to obtain a plurality of the plurality of network performance measurements available mobile network.
  8. 8.根据权利要求7所述的装置,其特征在于,所述测量模块包括: 测量子模块,用于按照测量顺序将第一个待测量的移动网络作为当前移动网络,分别对所述当前移动网络进行物理层、链路层和网络层的性能测量; 判断子模块,用于待所述第一个测量的移动网络的网络性能测试完毕之后,判断是否存在未测量的移动网络; 触发子模块,用于在所述判断子模块的结果为是的情况下,按照测量顺序将下一个待测量的移动网络作为当前移动网络,并执行所述分别对所述当前移动网络进行物理层、链路层和网络层的测量的步骤; 结束模块,用于在所述判断子模块的结果为否的情况下,结束流程。 8. The apparatus according to claim 7, characterized in that the measuring module comprises: a measurement sub-module, according to the measurement order to the first mobile network to be measured as the current mobile network, are moved to the current network physical layer, link layer and network performance measurement layer; judging sub-module, to be used for network performance testing after the first measurement of the mobile network is completed, the mobile network determines whether there is an unmeasured; trigger sub-module for the result of the determination sub-module is YES, the next measurement sequence according to the mobile network to be measured as the current mobile network, and executes the current mobile network on each of the physical layer, link and the step of measuring the level of the network layer; end module for the result of the determination submodule is NO, the process ends.
  9. 9.根据权利要求8所述的装置,其特征在于,所述测量子模块包括: 发送子模块,用于将测试数据包发送至所述当前移动网络对应的测量服务器; 确定子模块,用于依据所述测量服务器返回的回复数据包确定网络层的性能测量结果; 计算子模块,用于依据所述测量数据包的时间序列和时间间隔,以及所述回复数据包的时间序列和时间间隔,计算链路层的性能测量结果; 获取子模块,用于通过定时查询获取物理层的性能测量结果。 9. The apparatus according to claim 8, wherein the measurement sub-module comprises: a sending submodule, configured to send test packets to the mobile network corresponding to the current measurement server; determination sub-module, for measured according to the reply packet returned by the server to determine the result of the network layer performance measurement; calculation sub-module, for measuring time series data according to the packet and the time interval, time-series data and the reply packet and the time interval, calculating the link layer performance measurements; obtaining sub-module, configured to obtain performance measurement results of the physical layer by polling.
  10. 10.根据权利要求7〜9任一项所述的装置,其特征在于,还包括: 聚类模块,用于将所述网络层和物理层的性能测量结果进行聚类; 模型建立模块,用于依据聚类的结果建立从物理层到网络层的映射模型。 10. Device according to any one of claims 7~9, wherein, further comprising: clustering means for measuring the performance of the network layer and the physical layer clustering result; model module, with establishing a mapping from the model to the physical layer to network layer based clustering results.
  11. 11.根据权利要求7〜9任一项所述的装置,其特征在于,还包括: 发送模块,用于将所述多个可用移动网络的性能测量结果发送至测量数据收集服务器。 11. The apparatus according to any of claims 7~9, wherein, further comprising: transmitting means for transmitting said plurality of performance measurements available to the mobile network measurement data collection server.
  12. 12.—种移动网络性能的测量系统,其特征在于,该系统包括测量装置和USB集线器,所述USB集线器与多个可用移动网络的网卡连接,所述测量装置包括: 获取网络模块,用于通过USB集线器获取当前待测量的多个可用移动网络;设置模块,用于为所述多个可用移动网络设置测量顺序,所述测量顺序为通过所述多个可用移动网络分别向测量服务器发送测量数据包的顺序;测量模块,用于按照所述测量顺序分别触发对所述多个移动网络的性能测量;获取结果模块,用于获取所述多个可用移动网络的多个网络性能测量结果。 12.- kinds of mobile network performance measurement system, characterized in that the system comprises a measuring device and a USB hub, a USB hub and a plurality of available mobile network card connected to a measuring device comprising: obtaining a network module, for Get the current to be measured via a USB hub plurality of available mobile networks; setting module configured to set a plurality of available mobile networks measurement sequence, the measurement sequence is transmitted measured by the plurality of available mobile networks respectively measurement server packet order; measurement module for measuring order in accordance with said performance measurement trigger each of the plurality of mobile network; acquisition result module configured to obtain a plurality of the plurality of network performance measurements available mobile network.
CN 201410465555 2014-09-12 2014-09-12 Measurement method for a mobile network performance, apparatus and system CN104185195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410465555 CN104185195B (en) 2014-09-12 2014-09-12 Measurement method for a mobile network performance, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410465555 CN104185195B (en) 2014-09-12 2014-09-12 Measurement method for a mobile network performance, apparatus and system

Publications (2)

Publication Number Publication Date
CN104185195A true true CN104185195A (en) 2014-12-03
CN104185195B CN104185195B (en) 2018-03-23

Family

ID=51965864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410465555 CN104185195B (en) 2014-09-12 2014-09-12 Measurement method for a mobile network performance, apparatus and system

Country Status (1)

Country Link
CN (1) CN104185195B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506383A (en) * 2014-12-22 2015-04-08 深圳市博瑞得科技有限公司 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346194A (en) * 2000-10-04 2002-04-24 索尼公司 Telecommunication system, equipment and method adopting multplex communication network
CN1465163A (en) * 2001-12-27 2003-12-31 英特尔公司 Distributed usage metering of multiple networked devices
US20080214186A1 (en) * 2004-12-30 2008-09-04 Telecom Italia S.P.A. System for Monitoring the Quality of Service in a Communication Network
CN102076007A (en) * 2011-01-31 2011-05-25 大唐移动通信设备有限公司 Cell service quality monitoring method and equipment
CN102438262A (en) * 2011-12-12 2012-05-02 上海大唐移动通信设备有限公司 Method for testing data return and apparatus thereof
CN102891779A (en) * 2012-09-27 2013-01-23 北京网瑞达科技有限公司 Large-scale network performance measuring system and method for IP network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346194A (en) * 2000-10-04 2002-04-24 索尼公司 Telecommunication system, equipment and method adopting multplex communication network
CN1465163A (en) * 2001-12-27 2003-12-31 英特尔公司 Distributed usage metering of multiple networked devices
US20080214186A1 (en) * 2004-12-30 2008-09-04 Telecom Italia S.P.A. System for Monitoring the Quality of Service in a Communication Network
CN102076007A (en) * 2011-01-31 2011-05-25 大唐移动通信设备有限公司 Cell service quality monitoring method and equipment
CN102438262A (en) * 2011-12-12 2012-05-02 上海大唐移动通信设备有限公司 Method for testing data return and apparatus thereof
CN102891779A (en) * 2012-09-27 2013-01-23 北京网瑞达科技有限公司 Large-scale network performance measuring system and method for IP network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506383A (en) * 2014-12-22 2015-04-08 深圳市博瑞得科技有限公司 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission

Also Published As

Publication number Publication date Type
CN104185195B (en) 2018-03-23 grant

Similar Documents

Publication Publication Date Title
US20140335885A1 (en) Initiator-conditioned fine timing measurement service request
US20150382208A1 (en) Method and apparatus for managing wireless probe devices
US9351182B2 (en) Method and apparatus for monitoring and adjusting multiple communication services at a venue
US20070259670A1 (en) Mobile wifi network monitor
US20130196600A1 (en) System and methods that enable automated testing of mobile devices at a remote monitor site
US20140253295A1 (en) Techniques for Wirelessly Docking to a Device
CN101437327A (en) Method, equipment and system for obtaining and sending public station data
CN102137383A (en) Methods and systems for acquiring mobility relevant information of MTC equipment and optimizing configuration
Sonntag et al. Netradar-Measuring the wireless world
US20140287751A1 (en) Methods, systems, and computer readable media for reducing wi-fi scanning using cellular network to wi-fi access point mapping information
CN102546843A (en) Method for achieving UART (universal asynchronous receiver/transmitter) communication interfaces through software simulation
CN101351002A (en) System and method for automatically reporting operation exception of software system
Perera et al. Sensor discovery and configuration framework for the internet of things paradigm
CN104539686A (en) Traffic-free application downloading method, terminals and server side
US20160183171A1 (en) Techniques for conducting fine timing measurements
CN103279384A (en) Method and device for reporting and sharing application programs for user
US20120190353A1 (en) Systems, devices and methods for dynamic selection of data and telecommunication service providers
US20140233550A1 (en) Location determination
CN101917736A (en) Sensor network test bed system and test method thereof
CN104641245A (en) Method for detecting electric quantity of equipment, equipment, and system
CN103079286A (en) Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
Li et al. On the accuracy of smartphone-based mobile network measurement
US20150207720A1 (en) Method and system for using a downloadable agent for a communication system, device, or link
CN103906107A (en) Data collecting type WLAN testing system and method based on WIFI terminal
CN103442024A (en) System and method for synchronizing smart mobile terminal and cloud virtual mobile terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
GR01