CN103546558A - Data capturing method and device for OTT application - Google Patents

Data capturing method and device for OTT application Download PDF

Info

Publication number
CN103546558A
CN103546558A CN201310499636.0A CN201310499636A CN103546558A CN 103546558 A CN103546558 A CN 103546558A CN 201310499636 A CN201310499636 A CN 201310499636A CN 103546558 A CN103546558 A CN 103546558A
Authority
CN
China
Prior art keywords
target terminal
packet
data
ott application
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310499636.0A
Other languages
Chinese (zh)
Other versions
CN103546558B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310499636.0A priority Critical patent/CN103546558B/en
Publication of CN103546558A publication Critical patent/CN103546558A/en
Application granted granted Critical
Publication of CN103546558B publication Critical patent/CN103546558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data capturing method and device for OTT application. A first capture instruction for capturing signaling layer data is sent to a target terminal to enable the target terminal to generate a first data packet carrying synchronization identifications, the first capture instruction indicates the target terminal to close the OTT application to be detected from T1 to T2, open the OTT application to be detected from T2 to T3, close the OTT application to be detected from T3 to T4 and restart the OTT application to be detected from T4, a second capturing instruction for capturing application layer data is synchronously sent to core network equipment to enable the core network equipment to generate a second data packet, capturing finishing instructions are sent to the target terminal and the core network equipment, and the first data packet sent by the target terminal and the second data packet sent by the core network equipment are received. If the second data packet carries the synchronization identifications, the first data packet and the second data packet are aligned according to the synchronization identifications.

Description

Data grab method and the device of OTT application
Technical field
The present invention relates to the communication technology, relate in particular to a kind of data grab method and device of OTT application.
Background technology
Development along with mobile intelligent terminal, increasing mobile interconnected users is brought into use a series of (the Over The Top such as microblogging, micro-letter, Tencent QQ, be called for short OTT) application, along with increasing of OTT number of applications, the every resource in the network equipment is being faced with very large challenge.OTT applies the signaling consumption producing, and just progressively adds the signaling traffic load of macroreticular.Therefore, Signaling Layer data and the application layer data of each OTT application are synchronously captured, the behavior of analyzing each OTT application becomes problem demanding prompt solution to the impact of network side.
In practical application, the signaling of OTT application is transferred to network side so that network side produces the process of application layer data from end side, may be poor and occur longer propagation delay time because of transmission environment or network quality, will cause like this having nonsynchronous problem between the Signaling Layer data that get and application layer data.
Summary of the invention
The invention provides data grab method and the device of a kind of OTT application, in order to solve between the Signaling Layer data of OTT application and application layer data, have nonsynchronous problem.
For achieving the above object, the invention provides a kind of data grab method of OTT application, comprising:
To target terminal, send for capturing first of Signaling Layer data and capture instruction, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application;
Sending described the first crawl instruction to described target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet;
To described target terminal and described equipment of the core network synchronized transmission, capture END instruction;
Receive described first packet of described target terminal transmission and the second packet that described equipment of the core network sends;
Judge whether described the second packet carries described sync id;
If judgment result is that to be, according to described sync id align described the first packet and described the second packet.
For achieving the above object, the invention provides a kind of data grabbing device of OTT application, comprising:
The first sending module, captures instruction for sending to target terminal for capturing first of Signaling Layer data, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application, and sending described the first crawl instruction to described target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet;
The second sending module, for capturing END instruction to described target terminal and described equipment of the core network synchronized transmission;
Receiver module, for receiving described first packet of described target terminal transmission and the second packet that described equipment of the core network sends;
Synchronization module, for judging whether described the second packet carries described sync id, if judgment result is that and be, according to described sync id align described the first packet and described the second packet.
Data grab method and the device of a kind of OTT application provided by the invention, send for capturing first of Signaling Layer data and capture instruction to target terminal, so that target terminal generates the first packet that carries sync id, first captures instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open OTT application to be measured, from T 3constantly to T 4constantly close OTT application to be measured, from T 4constantly reopen OTT application to be measured; Wherein, sync id is the data slice with pulse signal characteristic, for realize target terminal, synchronizes with the data between equipment of the core network; Sending the first data crawl instruction to target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that equipment of the core network generates the second packet; To target terminal and equipment of the core network, send crawl END instruction; The second packet that the first packet that receiving target terminal sends and equipment of the core network send; Judge whether described the second packet carries described sync id; If judgment result is that to be, according to sync id align the first packet and the second packet.In the present invention, target terminal is from T 1-T 2close OTT application to be measured, from T 2-T 3open OTT application to be measured, from T 3-T 4close OTT application to be measured, from T 4reopen OTT application to be measured, target terminal by this processing after, in the first packet generating, can carry a sync id, correspondingly, in the second packet that equipment of the core network generates, also can carry this sync id, in the present invention, by this sync id, the first packet and the second packet are carried out synchronously, thereby can realize the synchronous of the data of Signaling Layer and the data of application layer.
Accompanying drawing explanation
The schematic diagram of the data grab method that a kind of OTT that Fig. 1 provides for the embodiment of the present invention applies;
The schematic diagram of the first packet that Fig. 2 provides for the embodiment of the present invention;
The schematic diagram of the another kind of OTT application layer data grasping means that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the data grabbing device that a kind of OTT that Fig. 4 provides for the embodiment of the present invention applies;
The structural representation of the data grabbing device that the another kind of OTT that Fig. 5 provides for the embodiment of the present invention applies;
The structural representation of the data grasping system that a kind of OTT that Fig. 6 provides for the embodiment of the present invention applies.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Each OTT is applied in end side can send signaling to network side, and network side generates application layer data in application layer according to this signaling.Miscellaneous OTT application can be installed on practical application intelligent terminal, and each OTT application can produce different behaviors on intelligent terminal, for example, the OTT application such as Tencent QQ, microblogging, Wei Xin ,You Ku, Sohu video.When user uses different OTT to apply by intelligent terminal in the different moment, while chatting, sending out the behaviors such as picture and intercommunication in real time as micro-letter, microblogging and Tencent QQ etc., because these OTT application all send signaling by same intelligent terminal to network side, therefore, the application layer of network side cannot be judged the identity of the OTT application that sends chat or send out picture signaling, that is to say, it is micro-letter that the application layer of network side cannot be determined the OTT application that sends this chat or send out picture signaling, or microblogging or Tencent QQ.In order to address the above problem, the present embodiment provides a kind of data grab method of OTT application.
The schematic diagram of the data grab method that a kind of OTT that Fig. 1 provides for the embodiment of the present invention applies.For can the Signaling Layer data of OTT application are corresponding with the application layer data of this OTT application, need to be for the terminal equipment of operating system be only installed for realizing the target terminal of the data crawl of OTT application in the present embodiment.This target terminal can be mobile phone or personal digital assistant's (Personal Digital Assistant is called for short PAD) etc.
The executive agent of the data grab method of the OTT application that the present embodiment provides can be the data grabbing device of OTT application.As shown in Figure 1, the method comprises the following steps:
101, to target terminal, send for capturing first of Signaling Layer data and capture instruction, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application, wherein, described sync id is the data slice with pulse signal characteristic, for realizing end side, synchronizes with the data between network side.
102, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet.
In the present embodiment, due to target terminal on installing operating system, when the needs Signaling Layer data that synchronously the some OTT of crawl apply and application layer data, this OTT application to be measured is installed on this target terminal.From third-party server, pass through transmission control protocol/Internet Interconnection agreement (Transmission Control Protocol/Internet Protocol, be called for short TCP/IP), get the installation kit of this OTT application to be measured, then this OTT application to be measured is installed on target terminal, after this OTT application is installed, on the server of this OTT application, register login account, to realize, the data of OTT application are captured.
On target terminal, be integrated with Signaling Layer data capture module, by this Signaling Layer data capture module, capture the signaling data that OTT application to be measured is sent.On the equipment of the core network of network side, be integrated with application layer data handling module, by this application layer data handling module, capture the application layer data of OTT application to be measured.Wherein, this Signaling Layer data capture module and application layer data handling module all can be for realizing by hardware or software.In the present embodiment, equipment of the core network can be gateway device, GPRS serving GPRS support node (Serving GPRS SUPPORT NODE, abbreviation SGSN), mobile management entity entity (Mobility Management Entity, be called for short MME) or mobile switching centre's (Mobile Switching Center is called for short MSC).
Data grabbing device sends for capturing first of Signaling Layer data and captures instruction to target terminal, so that destination end generates the first packet that carries sync id.Synchronously, data grabbing device sends for capturing second of application layer data and captures instruction to equipment of the core network, so that described equipment of the core network generates the second packet.
Particularly, first capture instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application.Second captures instruction indication equipment of the core network opens application layer data handling module, for capturing application layer data.
The schematic diagram of the first packet that Fig. 2 provides for the present embodiment.As shown in Figure 2, from T 1constantly to T 2constantly close OTT application to be measured, now user cannot use OTT to be measured, and OTT to be measured so just can not produce Signaling Layer data, and correspondingly, network side is at T 1constantly to T 2constantly also there will not be application layer data.From T 2constantly to T 3while constantly opening OTT application unlatching to be measured, user just can use OTT application to be measured, in the use procedure of OTT application to be measured, will produce Signaling Layer data, and correspondingly, network side is also at T 2constantly to T 3constantly produce application layer data.Now, the Signaling Layer data capture module on target terminal gets the Signaling Layer data of OTT to be measured, and correspondingly, the application layer data handling module of equipment of the core network just can get the application layer data of OTT to be measured.From T 3constantly to T 4constantly close OTT application to be measured, now user cannot use OTT to be measured, and OTT to be measured so just can not produce Signaling Layer data, and correspondingly, network side is at T 3constantly to T 4constantly also there will not be application layer data.From T 4constantly reopen OTT application to be measured, user just can be from T 4the OTT application to be measured of normal use constantly, signaling data handling module just can grab Signaling Layer data in real time.Correspondingly, application data handling module just can grab at network side the application layer data of OTT application to be measured in real time.
By above-mentioned processing procedure, target terminal is from T 1constantly, to the time period of data grabbing device transmission crawl END instruction, in the first packet of generation, can carry a sync id.Correspondingly, equipment of the core network is from T 1constantly, to the time period of data grabbing device transmission crawl END instruction, in the second packet of generation, also can carry a sync id.Wherein, from T 1constantly to T 4constantly, signaling data handling module can generate the data slice of similar and a pulse signal.The data slice that this is had to pulse signal characteristic in the present embodiment is as sync id.In the present embodiment, sync id can be stabbed as a special time, by this special time, stab to realize end side and synchronize with network side data.
103, to described target terminal and described equipment of the core network synchronized transmission, capture END instruction.
Data grabbing device, after the time through default, can synchronously be sent and be captured END instruction by ICP/IP protocol to target terminal and equipment of the core network.Target terminal is after receiving this crawl END instruction, and Signaling Layer data capture module can stop the crawl to the Signaling Layer data of OTT application to be measured.Equipment of the core network is after receiving this crawl END instruction, and application layer data handling module can stop the crawl to the application layer data of OTT application to be measured.
104, receive described first packet of described target terminal transmission and the second packet that described equipment of the core network sends.
After sending crawl END instruction, data grabbing device can receive the first packet of target terminal transmission and the second packet that equipment of the core network sends.Particularly, the Signaling Layer data that target terminal can capture Signaling Layer data capture module generate the first packet, by ICP/IP protocol, send to data grabbing device.Target terminal by the Signaling Layer data that capture, is packaged into the first Packet Generation to data grabbing device according to ICP/IP protocol.The application layer data that equipment of the core network can capture application layer data handling module generates the second packet, by ICP/IP protocol, sends to data grabbing device.Equipment of the core network by the application layer data capturing, is packaged into the second Packet Generation to data grabbing device according to ICP/IP protocol.
105, judge whether described the second packet carries described sync id.
Data grabbing device is after receiving the first packet and the second packet, can judge the second packet, judge whether the second packet carries the data slice with pulse signal characteristic, if the second packet has the data slice with pulse signal characteristic consistent with the first packet, illustrate that the second packet carries sync id.Carry after sync id judging the second packet, perform step 106.
106, according to synchronous described the first packet of described sync id and described the second packet.
In practical application, signaling is transferred to the process of network side from end side, impact due to factors such as network quality or transmission interference, tends to exist certain delay, and the Signaling Layer data of end side and the application layer data of network side just there will be nonsynchronous problem like this.
In the present embodiment, in the first packet and the second packet, all carry sync id, data grabbing device can, according to this sync id, carry out registration process by the first packet and the second packet, synchronous the first packet and the second packet, to eliminate the delay producing in transmitting procedure.
The data grab method of a kind of OTT application that the present embodiment provides, sends for capturing first of Signaling Layer data and captures instruction to target terminal, so that target terminal generates the first packet that carries sync id, first captures instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open OTT application to be measured, from T 3constantly to T 4constantly close OTT application to be measured, from T 4constantly reopen OTT application to be measured; Synchronously to equipment of the core network, send for capturing second of application layer data and capture instruction, so that equipment of the core network generates the second packet; To target terminal and equipment of the core network, send crawl END instruction; The second packet that the first packet that receiving target terminal sends and equipment of the core network send; When determining the second packet and carry sync id, according to sync id align the first packet and the second packet.In the present embodiment, first captures instruction indicating target terminal from T 1-T 2close OTT application to be measured, from T 2-T 3open OTT application to be measured, from T 3-T 4close OTT application to be measured, from T 4reopen OTT application to be measured, after above-mentioned processing, in the first packet that target terminal generates, can carry a sync id, correspondingly, in the second packet that equipment of the core network generates, also can carry this sync id, then by this sync id, the first packet and the second packet are carried out synchronously, eliminating the delay existing between the first packet and the second packet, thereby realized the synchronous crawl of Signaling Layer data and application layer data.
The schematic diagram of the data grab method that the another kind of OTT that Fig. 3 provides for the embodiment of the present invention applies.As shown in Figure 3, the method comprises:
301, data grabbing device is inquired about terminal list to be measured, and terminal list to be measured comprises the identity ID of each terminal.
302, data grabbing device obtains a terminal as target terminal from terminal list to be measured.
In the present embodiment, store and safeguard a terminal list to be measured in data grabbing device, this terminal list to be measured comprises the identify label (Identity is called for short ID) of each terminal.Data grabbing device can, from terminal list to be measured, be chosen a terminal as target terminal.The target terminal of generally choosing, before carrying out data crawl, can carry out adaptation processing, so that the plug-in unit mutual with data grabbing device to be installed, thereby can carry out information interaction with data grabbing device.
303, data grabbing device, according to the identity ID of target terminal, sends model inquiry request to target terminal.
From terminal list to be measured, choose after middle target terminal, data grabbing device can be learnt the identity ID of target terminal.Data grabbing device, according to the identity ID of target terminal, is sought network all over, can find this target terminal.Further, data grabbing device sends model inquiry request to this target terminal, to learn the type information of this target terminal, so that issue the brush machine instruction of mating with the model of this target terminal to this target terminal.
304, target terminal sends type information to data grabbing device.
After receiving signal inquiry request, target terminal returns to the type information of self to data grabbing device by ICP/IP protocol.Alternatively, target terminal can also send to data grabbing device by other information of self, for example, and hardware version information, positional information and the information about power etc. of target terminal.Data grabbing device can, by the type information of target terminal and other information, according to the identity ID of target terminal, upgrade in terminal list to be measured.
305, data grabbing device sends the brush machine instruction corresponding with type information to target terminal.
In the present embodiment, target terminal is the terminal equipment that a plurality of OTT application are installed, in order to guarantee to only have an OTT application on target terminal on synchronization, when target terminal being carried out to data crawl, data grabbing device need to arrange test mode by target terminal.In data grabbing device, can store the brush machine instruction of the terminal to be measured of different model.After getting the type information of target terminal, data grabbing device gets the brush machine instruction corresponding with this type information and is handed down to target terminal.Wherein, the instruction of brush machine is used to indicate target terminal and is set to test mode.In the present embodiment, test mode is that operating system is only installed on target terminal.
306, target terminal is set to only be provided with the test mode of operating system according to the state of brush machine instruction self.
After receiving the instruction of brush machine, the state of target terminal self is set to test mode, and this test mode, for operating system is only installed, that is to say, on target terminal, except operating system, OTT application can be installed.
307, target terminal sends brush machine to data grabbing device and completes instruction.
Target terminal is set to after test mode according to the brush machine instruction oneself state issuing, and can return to brush machine to data grabbing device and complete instruction.
308, data grabbing device issues installation kit and the test account of OTT application to be measured to target terminal.
309, target terminal is installed OTT application to be measured, and logs in OTT application to be measured according to test account.
Data catch device that the installation kit of OTT application to be measured is handed down to target terminal and for logging in the test account of this OTT application to be measured, by ICP/IP protocol, is handed down to target terminal.Target terminal moves the installation kit of this OTT application to be measured, and OTT application to be measured is arranged on target terminal, then by test account, logs in OTT to be measured and applies.
310, data grabbing device sends for capturing first of Signaling Layer data and captures instruction to target terminal.
311, data grabbing device sends for capturing second of application layer data and captures instruction to equipment of the core network.
In the present embodiment, data grabbing device needs synchronous execution step 310 and step 311.
312, target terminal generates the first packet that carries sync id according to the first crawl instruction.
313, equipment of the core network generates the second packet according to the second crawl instruction.
In the present embodiment, target terminal is in execution step 312 processes, and equipment of the core network synchronously performs step 313.
Particularly, data grabbing device sends first by ICP/IP protocol to target terminal and captures instruction, so that destination end generates the first packet that carries sync id.Synchronously, data grabbing device sends second by ICP/IP protocol to equipment of the core network and captures instruction, so that equipment of the core network generates the second packet.Particularly, first capture instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application.Second captures instruction indication equipment of the core network opens application layer data handling module, for capturing application layer data.
On target terminal, can be integrated with Signaling Layer data capture module, by this Signaling Layer data capture module, capture the signaling data that OTT application to be measured is sent.On the equipment of the core network of network side, be integrated with application layer data handling module, by this application layer data handling module, capture the application layer data of OTT application to be measured.Wherein, this Signaling Layer data capture module and application layer data handling module all can be for realizing by hardware or software.Particularly, Signaling Layer data capture module is as independent equipment, be arranged between target terminal and data grabbing device, by interface, be connected with data grabbing device with target terminal, Signaling Layer data capture module can capture the Signaling Layer data of OTT application, then by ICP/IP protocol, sends to data grabbing device.Application layer data handling module also can be used as independent equipment, be arranged between data grabbing device and equipment of the core network, by interface, be connected with equipment of the core network with data grabbing device, application layer data handling module can capture the application layer data of OTT application, then by ICP/IP protocol, sends to data grabbing device.
About sync id and the generative process that all carries the first packet and second packet of sync id, can, referring to the record of related content in above-mentioned example, repeat no more herein.Wherein, the schematic diagram of the first packet as shown in Figure 2.
The data slice that this is had to pulse signal characteristic in the present embodiment is as sync id.In this example, sync id is stabbed as a special time, by this special time, stab to realize end side and synchronize with network side data.
314, data grabbing device sends and captures END instruction to target terminal.
315, data grabbing device sends and captures END instruction to equipment of the core network.
Particularly, data grabbing device, after the time through default, can synchronously send crawl END instruction to target terminal and equipment of the core network by ICP/IP protocol.Target terminal, after receiving this crawl END instruction, just can stop the crawl to the Signaling Layer data of OTT application to be measured.Equipment of the core network, after receiving this crawl END instruction, just can stop the crawl to the application layer data of OTT application to be measured.
316, target terminal by the first Packet Generation to data grabbing device.
317, equipment of the core network by the second Packet Generation to data grabbing device.
After sending crawl END instruction, data grabbing device can receive the first packet of target terminal transmission and the second packet that equipment of the core network sends.Particularly, target terminal generates the first packet by the Signaling Layer data of crawl, by ICP/IP protocol, sends to data grabbing device.Target terminal by the Signaling Layer data that capture, is packaged into the first Packet Generation to data grabbing device according to ICP/IP protocol.Equipment of the core network generates the second packet by the application layer data of crawl, by ICP/IP protocol, sends to data grabbing device.Equipment of the core network by the application layer data capturing, is packaged into the second Packet Generation to data grabbing device according to ICP/IP protocol.
318, data set device judges whether the second packet carries sync id.
Concrete deterministic process can, referring to the record of related content in above-described embodiment, repeat no more herein.
319, data grabbing device is according to synchronous the first packet of sync id and the second packet.
In practical application, signaling is transferred to the process of network side from end side, impact due to factors such as network quality or transmission interference, tends to exist certain delay, and the Signaling Layer data of end side and the application layer data of network side just there will be nonsynchronous problem like this.
In the present embodiment, in the first packet and the second packet, all carry sync id, data capture module can be carried out registration process by the first packet and the second packet according to this sync id, and synchronous the first packet and the second packet, to eliminate the delay producing in transmitting procedure.
320, data grabbing device is analyzed the first packet and the second packet, generates the analysis result of OTT application to be measured.
In the present embodiment, by the time delay between the first packet after synchronous processing and the second packet, will be eliminated, in such the first packet, T Signaling Layer data constantly can be corresponding with the application layer data constantly of T in the second packet.The first packet and the second packet are carried out synchronous after, data grabbing device can be analyzed the first packet and the second packet according to analysis demand, generates the analysis result of OTT application to be measured.After synchronous processing, the analysis result accuracy of the OTT application to be measured that data grabbing device generates is higher.
In the present embodiment, first captures instruction indicating target terminal from T 1-T 2close OTT application to be measured, from T 2-T 3open OTT application to be measured, from T 3-T 4close OTT application to be measured, from T 4reopen OTT application to be measured, after above-mentioned processing, in the first packet that target terminal generates, can carry a sync id, correspondingly, in the second packet that equipment of the core network generates, also can carry this sync id, then by this sync id, the first packet and the second packet are carried out synchronously, eliminating the delay existing between the first packet and the second packet, thereby realized the synchronous crawl of Signaling Layer data and application layer data.
The structural representation of the data grabbing device that a kind of OTT that Fig. 4 provides for the embodiment of the present invention applies.As shown in Figure 4, this data grabbing device comprises: the first sending module 41, the second sending module 42, receiver module 43 and synchronization module 44.
Wherein, the first sending module 41 captures instruction for sending to target terminal for capturing first of Signaling Layer data, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application, and sending the first crawl instruction to target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet, wherein, sync id is the data slice with pulse signal characteristic, for realizing end side, synchronizes with the data between network side.The second sending module 42 is for capturing END instruction to described target terminal and described equipment of the core network synchronized transmission.Receiver module 43 sends the second packet of described the first packet and the transmission of described equipment of the core network for receiving described target terminal.Synchronization module 44 is for judging whether described the second packet carries described sync id, if judgment result is that and be, according to described sync id align described the first packet and described the second packet.
In the present embodiment, corresponding with the application layer data of this OTT application for the Signaling Layer data that an OTT can be applied, target terminal is for being only provided with the terminal equipment of operating system.Due to target terminal on installing operating system, when the needs Signaling Layer data that synchronously the some OTT of crawl apply and application layer data, in this OTT application to be measured of installation of this target terminal.From third-party server, pass through ICP/IP protocol, get the installation kit of this OTT application to be measured, then this OTT application to be measured is installed on target terminal, after this OTT application is installed, on the server of this OTT application, register login account, to realize, the data of OTT application are captured.
In data grabbing device, the first sending module 41 sends for capturing first of Signaling Layer data and captures instruction to target terminal, so that destination end generates the first packet that carries sync id.Synchronously, the first sending module 41 sends for capturing second of application layer data and captures instruction to equipment of the core network, so that equipment of the core network generates the second packet.
Particularly, first capture instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application.Second captures instruction indication equipment of the core network opens application layer data handling module, for capturing application layer data.
About sync id and the generative process that all carries the first packet and second packet of sync id, can, referring to the record of related content in above-mentioned example, repeat no more herein.Wherein, the schematic diagram of the first packet as shown in Figure 2.The data slice that this is had to pulse signal characteristic in the present embodiment is as sync id.In this example, sync id is stabbed as a special time, by this special time, stab to realize end side and synchronize with network side data.
After the time through default, the second sending module 42 can synchronously be sent and be captured END instruction by ICP/IP protocol to target terminal and equipment of the core network.Target terminal is after receiving this crawl END instruction, and Signaling Layer data capture module can stop the crawl to the Signaling Layer data of OTT application to be measured.Equipment of the core network is after receiving this crawl END instruction, and application layer data handling module can stop the crawl to the application layer data of OTT application to be measured.
After sending crawl END instruction, receiver module 43 can receive the first packet of target terminal transmission and the second packet that equipment of the core network sends.About target terminal, send the process of the first packet and the process that equipment of the core network sends the second packet, can, referring to the record of related content in above-described embodiment, repeat no more herein.
In practical application, signaling is transferred to the process of network side from end side, impact due to factors such as network quality or transmission interference, tends to exist certain delay, and the Signaling Layer data of end side and the application layer data of network side just there will be nonsynchronous problem like this.In the present embodiment, at receiver module 43, receive after the first packet and the second packet, synchronization module 44 can judge the second packet, judge whether the second packet carries the data slice with pulse signal characteristic, if the second packet has the data slice with pulse signal characteristic consistent with the first packet, illustrate that the second packet carries sync id.Carry after sync id judging the second packet, synchronization module 44 can carry out registration process by the first packet and the second packet according to this sync id, and synchronous the first packet and the second packet, to eliminate the delay producing in transmitting procedure.
Each functional module of the data grabbing device that the present embodiment provides can be used for carrying out the flow process of the data grab method of the OTT application shown in above-mentioned related embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The data grabbing device of a kind of OTT application that the present embodiment provides, sends for capturing first of Signaling Layer data and captures instruction to target terminal, so that target terminal generates the first packet that carries sync id, first captures instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open OTT application to be measured, from T 3constantly to T 4constantly close OTT application to be measured, from T 4constantly reopen OTT application to be measured; To equipment of the core network, send for capturing second of application layer data and capture instruction, so that equipment of the core network generates the second packet; To target terminal and equipment of the core network, send crawl END instruction; The second packet that the first packet that receiving target terminal sends and equipment of the core network send; According to synchronous the first packet of sync id and the second packet.In the present embodiment, first captures instruction indicating target terminal from T 1-T 2close OTT application to be measured, from T 2-T 3open OTT application to be measured, from T 3-T 4close OTT application to be measured, from T 4reopen OTT application to be measured, after above-mentioned processing, in the first packet that target terminal generates, can carry a sync id, correspondingly, in the second packet that equipment of the core network generates, also can carry this sync id, then by this sync id, the first packet and the second packet are carried out synchronously, eliminating the delay existing between the first packet and the second packet, thereby realized the synchronous crawl of Signaling Layer data and application layer data.
The structural representation of the data grabbing device that the another kind of OTT that Fig. 5 provides for the embodiment of the present invention applies.As shown in Figure 5, this data grabbing device comprises: acquisition module 51, brush machine module 52, issue module 53, the first sending module 54, the second sending module 55, receiver module 56, synchronization module 57 and analysis module 58.
In the present embodiment, store and safeguard a terminal list to be measured in data grabbing device, this terminal list to be measured comprises the identity ID of each terminal.Acquisition module 51 is for obtaining the identify label ID of described target terminal.Particularly, acquisition module 51 can, from terminal list to be measured, be chosen a terminal as target terminal.The target terminal of generally choosing, before carrying out data crawl, can carry out adaptation processing, so that the plug-in unit mutual with data grabbing device to be installed, thereby can carry out information interaction with data grabbing device.
In the present embodiment, target terminal can be for being provided with the terminal equipment of a plurality of OTT application.In order to guarantee to only have an OTT application on target terminal on synchronization, when target terminal being carried out to data crawl, data grabbing device need to arrange test mode by target terminal.
Brush machine module 52 is for sending the instruction of brush machine according to the identity ID of target terminal to target terminal, and wherein, the state of brush machine instruction indicating target terminal self is set to test mode, and test mode is that operating system is only installed on target terminal.Particularly, brush machine module 52 is according to the identity ID of target terminal to sending model inquiry request, and the type information that receiving target terminal is returned, sends the brush machine instruction corresponding with type information according to type information to target terminal.
Target terminal, after completing brush machine, sends brush machine to data grabbing device and completes instruction, and the brush machine that receiver module 56 these target terminals of reception return completes instruction.Issuing module 53 is connected with receiver module 56, complete after instruction receiving brush machine, issue module 53 and to target terminal, issue installation kit and the test account of OTT application to be measured, so that target terminal is installed OTT application to be measured, and log in OTT application to be measured according to test account.
Issue after OTT to be measured application and test account issuing module 53, the first sending module 54 sends for capturing first of Signaling Layer data and captures instruction to target terminal, so that destination end generates the first packet that carries sync id.Synchronously, the first sending module 54 sends for capturing second of application layer data and captures instruction to equipment of the core network, so that equipment of the core network generates the second packet.
Particularly, first capture instruction indicating target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application.Second captures instruction indication equipment of the core network opens application layer data handling module, for capturing application layer data.
About sync id and the generative process that all carries the first packet and second packet of sync id, can, referring to the record of related content in above-mentioned example, repeat no more herein.Wherein, the schematic diagram of the first packet as shown in Figure 2.The data slice that this is had to pulse signal characteristic in the present embodiment is as sync id.In this example, sync id is stabbed as a special time, by this special time, stab to realize end side and synchronize with network side data.
After the time through default, the second sending module 55 can synchronously be sent and be captured END instruction by ICP/IP protocol to target terminal and equipment of the core network.Target terminal is after receiving this crawl END instruction, and Signaling Layer data capture module can stop the crawl to the Signaling Layer data of OTT application to be measured.Equipment of the core network is after receiving this crawl END instruction, and application layer data handling module can stop the crawl to the application layer data of OTT application to be measured.
After sending crawl END instruction, receiver module 56 can receive the first packet of target terminal transmission and the second packet that equipment of the core network sends.About target terminal, send the process of the first packet and the process that equipment of the core network sends the second packet, can, referring to the record of related content in above-described embodiment, repeat no more herein.
In practical application, signaling is transferred to the process of network side from end side, impact due to factors such as network quality or transmission interference, tends to exist certain delay, and the Signaling Layer data of end side and the application layer data of network side just there will be nonsynchronous problem like this.In the present embodiment, at receiver module 56, receive after the first packet and the second packet, synchronization module 57 can judge whether the second packet carries sync id, if the second packet carries sync id, synchronization module 57 can be according to this sync id, the first packet and the second packet are carried out to registration process, and synchronous the first packet and the second packet, eliminated the delay existing in transmitting procedure.
In the present embodiment, by the time delay between the first packet after synchronous processing and the second packet, will be eliminated, in such the first packet, T Signaling Layer data constantly can be corresponding with the application layer data constantly of T in the second packet.The first packet and the second packet are carried out synchronous after, analysis module 58 can be analyzed the first packet and the second packet according to analysis demand, generates the analysis result of OTT application to be measured.After synchronous processing, the analysis result accuracy of the OTT application to be measured that data grabbing device generates is higher.
Each functional module of the data grabbing device that the present embodiment provides can be used for carrying out the flow process of the data grab method of the OTT application shown in above-mentioned related embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
In the present embodiment, first captures instruction indicating target terminal from T 1-T 2close OTT application to be measured, from T 2-T 3open OTT application to be measured, from T 3-T 4close OTT application to be measured, from T 4reopen OTT application to be measured, after above-mentioned processing, in the first packet that target terminal generates, can carry a sync id, correspondingly, in the second packet that equipment of the core network generates, also can carry this sync id, then by this sync id, the first packet and the second packet are carried out synchronously, eliminating the delay existing between the first packet and the second packet, thereby realized the synchronous crawl of Signaling Layer data and application layer data.
The result schematic diagram of the data grasping system that a kind of OTT that Fig. 6 provides for the embodiment of the present invention applies.As shown in Figure 6, this system comprises: data grabbing device 61, target terminal 62 and equipment of the core network 63.Wherein, about the formation of data grabbing device 61 and the introduction of function, can, referring to the record of related content in above-described embodiment, repeat no more herein.About the introduction of target terminal 62 and equipment of the core network 63, can, referring to the record of related content in above-described embodiment, repeat no more herein.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a data grab method for OTT application, is characterized in that, comprising:
To target terminal, send for capturing first of Signaling Layer data and capture instruction, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application; Wherein, described sync id is the data slice with pulse signal characteristic, for realizing end side, synchronizes with the data between network side;
Sending described the first crawl instruction to described target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet;
To described target terminal and described equipment of the core network synchronized transmission, capture END instruction;
Receive described first packet of described target terminal transmission and the second packet that described equipment of the core network sends;
Judge whether described the second packet carries described sync id;
If judgment result is that to be, according to described sync id align described the first packet and described the second packet.
2. the data grab method that OTT according to claim 1 applies, it is characterized in that, describedly to described target terminal, send for capturing first of Signaling Layer data and capture instruction, so that before described target terminal generates and carry the first packet of sync id, comprising:
Obtain the identify label ID of described target terminal;
According to described identity ID, to described target terminal, send the instruction of brush machine, the instruction of described brush machine indicates the state of described target terminal self to be set to test mode, and described test mode is the state of operating system that is only provided with on described target terminal;
Receive the brush machine that described target terminal returns and complete instruction;
To described target terminal, issue installation kit and the test account of described OTT application, so that described target terminal is installed described OTT application, and log in described OTT application according to described test account.
3. the data grab method of OTT according to claim 2 application, is characterized in that, described in obtain the identify label ID of described target terminal, comprising:
Inquire about terminal list to be measured, described terminal list to be measured comprises the identity ID of each terminal;
From described terminal list to be measured, choose a terminal as described target terminal.
4. according to the data grab method of the OTT application described in claim 2 or 3, it is characterized in that, describedly according to described identity ID, to described target terminal, send the instruction of brush machine, comprising:
According to the identity ID of described target terminal, to described target terminal, send model inquiry request;
Receive the type information that described target terminal returns;
According to described type information, to described target terminal, send the described brush machine instruction corresponding with described type information.
5. the data grab method of OTT application according to claim 1, is characterized in that, described according to after synchronous described the first packet of described sync id and described the second packet, comprising:
Described the first packet and described the second packet after synchronous are analyzed, generated the analysis result of described OTT application.
6. a data grabbing device for OTT application, is characterized in that, comprising:
The first sending module, captures instruction for sending to target terminal for capturing first of Signaling Layer data, so that described destination end generates the first packet that carries sync id, described first captures instruction indicates described target terminal from T 1constantly to T 2constantly close OTT application to be measured, from T 2constantly to T 3constantly open described OTT application, from T 3constantly to T 4constantly close described OTT application, from T 4constantly reopen described OTT application, and sending described the first crawl instruction to described target terminal when, to equipment of the core network, send for capturing second of application layer data and capture instruction, so that described equipment of the core network generates the second packet; Wherein, described sync id is the data slice with pulse signal characteristic, for realizing end side, synchronizes with the data between network side;
The second sending module, for capturing END instruction to described target terminal and described equipment of the core network synchronized transmission;
Receiver module, for receiving described first packet of described target terminal transmission and the second packet that described equipment of the core network sends;
Synchronization module, for judging whether described the second packet carries described sync id, if judgment result is that and be, according to described sync id align described the first packet and described the second packet.
7. the data grabbing device of OTT application according to claim 6, is characterized in that, also comprises:
Acquisition module, for obtaining the identify label ID of described target terminal;
Brush machine module, for sending the instruction of brush machine according to described identity ID to described target terminal, the instruction of described brush machine indicates the state of described target terminal self to be set to test mode, and described test mode is the state of operating system that is only provided with on described target terminal;
Described receiver module, also completes instruction for receiving the brush machine that described target terminal returns;
Issue module, for issue installation kit and the test account of described OTT application to described target terminal, so that described target terminal is installed described OTT application, and log in described OTT application according to described test account.
8. the data grabbing device that OTT according to claim 7 applies, it is characterized in that, described acquisition module is specifically for inquiring about terminal list to be measured, and described terminal list to be measured comprises the identity ID of each terminal, chooses a terminal as described target terminal from described terminal list to be measured.
9. according to the data grabbing device of the OTT application described in claim 7 or 8, it is characterized in that, described brush machine module specifically for according to the identity ID of described target terminal to sending model inquiry request, receive the type information that described target terminal returns, according to described type information, to described target terminal, send the described brush machine instruction corresponding with described type information.
10. the data grabbing device of OTT application according to claim 6, is characterized in that, also comprises:
Analysis module, for described the first packet and described the second packet after synchronous are analyzed, generates the analysis result of described OTT application.
CN201310499636.0A 2013-10-22 2013-10-22 The data grab method of OTT application and device Active CN103546558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310499636.0A CN103546558B (en) 2013-10-22 2013-10-22 The data grab method of OTT application and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310499636.0A CN103546558B (en) 2013-10-22 2013-10-22 The data grab method of OTT application and device

Publications (2)

Publication Number Publication Date
CN103546558A true CN103546558A (en) 2014-01-29
CN103546558B CN103546558B (en) 2016-09-21

Family

ID=49969597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310499636.0A Active CN103546558B (en) 2013-10-22 2013-10-22 The data grab method of OTT application and device

Country Status (1)

Country Link
CN (1) CN103546558B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986788A (en) * 2014-06-04 2014-08-13 中国联合网络通信集团有限公司 Data fetching method and device of OTT (over the top) application
CN105959178A (en) * 2016-05-31 2016-09-21 北京网康科技有限公司 Data information obtaining method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436993A (en) * 2008-12-31 2009-05-20 华为技术有限公司 Method, equipment and system for grabbing package
CN102292959A (en) * 2011-06-30 2011-12-21 华为技术有限公司 Media data transmission method, device and system based on ott
CN102412999A (en) * 2011-12-23 2012-04-11 华为技术有限公司 Packet capturing based remote fault location method, system and device
WO2013074313A1 (en) * 2011-11-17 2013-05-23 General Instrument Corporation Method and apparatus for network based adaptive streaming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436993A (en) * 2008-12-31 2009-05-20 华为技术有限公司 Method, equipment and system for grabbing package
CN102292959A (en) * 2011-06-30 2011-12-21 华为技术有限公司 Media data transmission method, device and system based on ott
WO2013074313A1 (en) * 2011-11-17 2013-05-23 General Instrument Corporation Method and apparatus for network based adaptive streaming
CN102412999A (en) * 2011-12-23 2012-04-11 华为技术有限公司 Packet capturing based remote fault location method, system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
叶阳,王鑫,安岗,廖军: "有关OTT业务的行为研究及测试", 《研究与开发》, 31 August 2013 (2013-08-31) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986788A (en) * 2014-06-04 2014-08-13 中国联合网络通信集团有限公司 Data fetching method and device of OTT (over the top) application
CN103986788B (en) * 2014-06-04 2017-05-17 中国联合网络通信集团有限公司 Data fetching method and device of OTT (over the top) application
CN105959178A (en) * 2016-05-31 2016-09-21 北京网康科技有限公司 Data information obtaining method and device
CN105959178B (en) * 2016-05-31 2019-06-14 北京网康科技有限公司 A kind of data information acquisition methods and device

Also Published As

Publication number Publication date
CN103546558B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN108712485A (en) A kind of resource subscription method and apparatus of internet of things equipment
CN107360247B (en) The method and the network equipment of processing business
CN106534289A (en) Automatic testing method, device and system
CN103647701B (en) The control method and device of instantaneous communication system message forwarding
CN109189698A (en) Apparatus control method, device and Internet of things system
CN103220292A (en) Cross-safe-area data transmission method and system
CN103067217A (en) Indicating system and method of communication network service quality
CN101841441A (en) Test method and system for flow control device and data stream playback device
Mavromatis et al. A software defined device provisioning framework facilitating scalability in Internet of Things
CN102724322A (en) Remote control method and device
CN104079571A (en) Method and device for recognizing Android simulator
CN103812900A (en) Data synchronization method, device and system
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN103986788A (en) Data fetching method and device of OTT (over the top) application
CN105009625A (en) Service testing method, device and system, network node and quality processing node
CN102655474B (en) Method, device and system for identifying equipment-crossing traffic types
CN114071391A (en) Content charging test method, management device, terminal device and storage medium
CN103546558A (en) Data capturing method and device for OTT application
CN105024905B (en) Information push method and device
CN101277247B (en) Real-time communication system
CN105721274A (en) Method and device for integrating variety of instant messaging
CN104168302A (en) Device control realizing method, device control realizing system and proxy gateway
CN102891781B (en) Network shares detection system and network shares detection method
CN111935316B (en) Method and device for acquiring front-end equipment catalog
CN105163335B (en) A kind of network access management method, server, mobile terminal and system

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
C14 Grant of patent or utility model
GR01 Patent grant