WO2015196693A1 - 数据采集方法及装置 - Google Patents
数据采集方法及装置 Download PDFInfo
- Publication number
- WO2015196693A1 WO2015196693A1 PCT/CN2014/090399 CN2014090399W WO2015196693A1 WO 2015196693 A1 WO2015196693 A1 WO 2015196693A1 CN 2014090399 W CN2014090399 W CN 2014090399W WO 2015196693 A1 WO2015196693 A1 WO 2015196693A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- quality indicator
- party application
- module
- indicator data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
Definitions
- the present invention relates to the field of communications, and in particular to a data acquisition method and apparatus.
- the present invention provides a data collecting method and device to solve at least the above problems.
- a data collection method including: a built-in probe on a smart terminal acquires play quality indicator data from a third-party application on the smart terminal; and the acquired play quality The indicator data is processed; the processed playback quality indicator data is uploaded to the monitoring system.
- the method further includes: the built-in probe receiving the third-party application in the Event notification sent during the process of playing the media by the smart terminal.
- the method further includes: the preset timer expires.
- the method further includes: receiving, by the built-in probe, the collection sent by the monitoring system instruction.
- uploading the processed play quality indicator data to the monitoring system includes: the built-in probe generates the quality file of the predetermined data format by using the processed play quality indicator data, and uploading the quality file to the monitoring system .
- the play quality indicator data includes: a media play quality parameter and a user behavior parameter.
- a data collection apparatus including: an acquisition module, configured to acquire playback quality indicator data from a third-party application of the smart terminal; and a processing module configured to follow a predetermined rule, The obtained playback quality indicator data is processed; the uploading module is configured to upload the processed playback quality indicator data to the monitoring system.
- the device further includes: a first receiving module, configured to receive an event notification sent by the third-party application in a process of playing the media by the smart terminal, and trigger the location when receiving the event notification The acquisition module.
- a first receiving module configured to receive an event notification sent by the third-party application in a process of playing the media by the smart terminal, and trigger the location when receiving the event notification The acquisition module.
- the device further includes: a preset timer, set to time, and triggers the acquiring module when the predetermined time arrives.
- the device further includes: a second receiving module, configured to receive an acquisition instruction sent by the monitoring system, and trigger the acquiring module when receiving the collection instruction.
- a second receiving module configured to receive an acquisition instruction sent by the monitoring system, and trigger the acquiring module when receiving the collection instruction.
- the uploading module uploads the processed play quality indicator data by: generating the quality file of the predetermined data format by using the processed play quality indicator data, and uploading the quality file to the monitoring system.
- an intelligent terminal including: the foregoing data collection device and a third-party application module, wherein the data collection device is independent of the third-party application module, or The data collection device is embedded in the third party application module.
- the data collection device communicates with the third-party application module through an Android interface definition language interface.
- the playback quality indicator data is obtained from the third-party application on the smart terminal, and the obtained playback quality indicator data is processed and uploaded to the monitoring system, thereby solving the problem that the relevant technology cannot effectively obtain the media on the smart terminal.
- the problem of playing quality indicator data which enables the monitoring system to effectively monitor the quality of media playback.
- FIG. 1 is a flow chart of a data collection method according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of a data collection device according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a smart set top box in the first embodiment
- FIG. 5 is a schematic structural diagram of a smart set top box in Embodiment 2;
- FIG. 8 is a signaling flowchart of Embodiment 5.
- a data acquisition method is provided.
- FIG. 1 is a flowchart of a data collection method according to an embodiment of the present invention. As shown in FIG. 1, the method mainly includes the following steps S102 to S106.
- Step S102 The built-in probe on the smart terminal acquires the play quality indicator data from a third-party application on the smart terminal.
- a smart set-top box comes with a number of third-party applications built in. These third-party applications provide a user interface UI (User Interface) for users to browse programs and on-demand programs.
- UI User Interface
- the playback of the program is done by the player (usually using the system default player, or may use its own custom player), these players are completed from the media server For media streaming, decoding playback, etc., to monitor user playback quality, you need to get data from the player.
- the player generally provides some application programming interfaces (APIs) for upper-layer application calls, and third-party applications can use these APIs to obtain player status indicators.
- APIs application programming interfaces
- the built-in probe on the smart terminal can be implemented by using the Android package (Android package, referred to as APK) or the plug-in package program.
- step S102 may be performed periodically, or when the third party application detects the media action, the probe event APK or the plug-in package program is notified through the message event, and the probe APK or the plug-in package program receives the event. After the notification, step S102 is performed.
- the probe APK or the plug-in package program may also perform step S102 in response to the collection instruction when receiving the acquisition instruction sent by the monitoring system.
- Step S104 Processing the obtained playback quality indicator data.
- the probe APK or the plug-in package program can calculate and summarize the playback quality indicator data.
- the calculation formula may be preset, and the original data taken may be calculated by the calculation formula, or some original indicators in the collected data may be combined.
- Step S105 Upload the processed play quality indicator data to the monitoring system.
- the probe APK or the plug-in package program may generate the quality file of the predetermined data format by using the processed playback quality indicator data, and upload the quality file to the monitoring system.
- the probe APK or the plug-in package program may be uploaded after each time the playback quality data is acquired, or may be uploaded periodically, which is not limited in the embodiment of the present invention.
- the play quality indicator data may include: a media play quality parameter and a user behavior parameter, for example, a buffer size of the media play, a number of frames per second during the current play, and a media current. The location, the size of the window occupied by the current media playback, the time to pause and resume playback, and so on.
- the smart set top box is installed from the service management platform to download the probe APK or the plugin package when pre-installed or first booted, and gives sufficient permission to the probe APK or the plug-in package. And initialize the terminal parameters.
- the third-party application will send various events such as play, fast forward, rewind, pause, resume, buffer, exit, error or bit rate switching to the probe APK or plug-in package (ie Triggered by the event, then the probe APK or plug-in package program responds to the message and gets (Get) the playback quality indicator data from the third-party application.
- Probe APK or plugin package program for the original acquisition
- the indicators are calculated, processed, and aggregated, and then a quality file of a certain data format is generated for the processed indicators to be uploaded to the monitoring system.
- the built-in probe in the smart terminal can not only collect the playing data of the intelligent terminal, but also collect the user behavior data, and then use the active uploading method to send the playing quality indicator to the upper monitoring system. Effective analysis, or receiving instructions issued by the upper monitoring system to collect corresponding indicators.
- the independent probe APK and the built-in plug-in package can be deployed in different operating systems and smart terminals, and the smart terminal manufacturers themselves can not care about the collection of these playback quality indicators, thereby realizing hardware and software. Decoupling also makes it easy for operators to develop uniform specifications and collection metrics.
- a data collection device is also provided, which may be the built-in probe described above for implementing the above data acquisition method.
- FIG. 2 is a schematic structural diagram of a data collection apparatus according to an embodiment of the present invention.
- the apparatus mainly includes: an obtaining module 22, configured to obtain playback quality indicator data from a third-party application of the smart terminal; and a processing module 24, configured to process the obtained play quality indicator data according to a predetermined rule; and the uploading module 26 is configured to upload the processed play quality indicator data to the monitoring system.
- the device may further include: a first receiving module, configured to receive an event notification sent by the third-party application during the playing of the media by the smart terminal, and trigger the event notification when receiving the event notification The acquisition module.
- a first receiving module configured to receive an event notification sent by the third-party application during the playing of the media by the smart terminal, and trigger the event notification when receiving the event notification The acquisition module.
- the device may further include: a preset timer, set to timing, and triggering the acquiring module when a predetermined time period arrives.
- the device may further include: a second receiving module, configured to receive an acquisition instruction sent by the monitoring system, and trigger the acquiring module when receiving the collection instruction.
- a second receiving module configured to receive an acquisition instruction sent by the monitoring system, and trigger the acquiring module when receiving the collection instruction.
- the uploading module 26 may upload the processed play quality indicator data by: generating the quality file of the predetermined data format by using the processed play quality indicator data, and uploading the quality file to the monitoring system.
- an intelligent terminal is also provided.
- the smart terminal mainly includes: the foregoing data collection device 32 and a third-party application module 34, wherein the data collection device 32 can In addition to being independent of the third party application module 34 (eg, the separate probe APK described above), or the data collection device 32 may also be embedded in the third party application module 34 (eg, as described above) Embedded program).
- the third party application module 34 e.g, the separate probe APK described above
- the data collection device 32 may also be embedded in the third party application module 34 (eg, as described above) Embedded program).
- the data collection device 32 is independent of the third-party application module 34, the data collection device 32 and the third-party application module 34 define an interface through an Android interface (Android Interface Definition Language). , hereinafter referred to as AIDL) interface for communication.
- Android interface Android Interface Definition Language
- FIG. 4 is a schematic structural diagram of the smart set top box in the embodiment. As shown in FIG. 4, in the embodiment, the data collection device adopts a probe. APK.
- the smart set-top box of the client has a third-party application built in, and the third-party application is responsible for reading the play quality data of the media.
- the probe APK of the embodiment of the present invention uses the AIDL interface to communicate with the third-party application, and is triggered by a message or a timing message.
- the probe APK can also receive instructions issued by the monitoring system, collect corresponding playback quality indicator data according to the instructions, and upload the data.
- FIG. 5 is a schematic structural diagram of the smart set top box in the embodiment.
- the third party application embeds the plugin package structure model.
- the client's smart set-top box has a built-in third-party application.
- the third-party application is responsible for reading the media's playback quality data. It communicates through the API interface and the plug-in package program, through message triggering or timing messages, and the plug-in package program reads the media playback.
- Buffer size the number of frames per second during the current playback, the current location of the media, the size of the window occupied by the current video playback, the time quality parameters of the pause and resume playback, by calculating, processing, summarizing, generating a certain data format file Upload files to the monitoring system for analysis via the HTTP protocol.
- the plug-in package program can also receive instructions issued by the monitoring system, and collect corresponding playback quality indicators and data of the indicators according to the instructions.
- FIG. 6 is a signaling flowchart of the embodiment. As shown in FIG. 6, the method mainly includes the following steps:
- Step S601 During the process of playing the media in the smart set-top box, the third-party application sends various events such as play, fast forward, rewind, pause, resume, buffer, exit, error or code rate switching to the probe APK or plug-in. package.
- Step S602 the probe APK or the plug-in package program responds to the message.
- step S603 the probe APK or the plug-in package program reads the playback quality indicator data from the third-party application.
- step S604 the probe APK or the plug-in package program calculates, processes, and summarizes the read original indicator data.
- Step S605 the probe APK or the plug-in package program generates a certain data format quality file for the processed indicator, and periodically uploads it to the monitoring system.
- FIG. 7 is a signaling flowchart of the embodiment. As shown in FIG. 7, the method mainly includes the following steps:
- step S701 the probe APK or the plug-in package program periodically triggers the collection of the message according to the time.
- Step S702 the probe APK or the plug-in package program goes to the third-party application to read the playback quality indicator data.
- Step S703 the probe APK or the plug-in package program calculates, processes, and summarizes the read original indicator data.
- Step S704 the probe APK or the plug-in package program generates a certain data format quality file for the processed indicator, and periodically uploads it to the monitoring system.
- FIG. 8 is a signaling flowchart of the embodiment. As shown in FIG. 8, the method mainly includes the following steps:
- Step S801 the monitoring system sends an acquisition instruction
- Step S802 the probe APK or the plug-in package program receives the acquisition instruction of the monitoring system.
- Step S803 the probe APK or the plug-in package program goes to the third-party application to read the playback quality indicator data.
- step S804 the probe APK or the plug-in package program calculates, processes, and summarizes the read original indicator data.
- Step S805 the probe APK or the plug-in package program generates a certain data format quality file for the processed indicator, and periodically uploads it to the monitoring system.
- a separate probe APK built in the smart set top box or a method of embedding the plugin package in a third party application is not only
- the play data of the smart set top box can be collected, and the user behavior data can also be collected, and then the play quality indicator can be effectively analyzed by the active uploading method to the upper layer monitoring system, or the instruction issued by the upper layer monitoring system can be received to collect the corresponding indicator.
- the probe APK and plug-in package can be deployed in different operating systems and smart set-top boxes.
- the smart set-top box manufacturers can not care about the collection of these playback quality indicators, thus achieving hardware and software decoupling, and also facilitating operators. Develop uniform specifications and collection indicators.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the playback quality indicator data is obtained from a third-party application on the smart terminal, and the obtained playback quality indicator data is processed and uploaded to the monitoring system, which solves the problem that the related technology cannot be effective.
- the problem of obtaining quality indicator data for media playback on the smart terminal enables the monitoring system to effectively monitor the quality of the media playback.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种数据采集方法及装置。其中,该方法包括:智能终端上的内置探针从智能终端上的第三方应用程序中获取播放质量指标数据;对获取的播放质量指标数据进行处理;将处理后的播放质量指标数据上传到监控系统。
Description
本发明涉及通信领域,具体而言,涉及一种数据采集方法及装置。
随着互联网的发展,互联网电视发展迅速,智能机顶盒越来越普及,目前在市场层面,为了有效的服务用户,一些厂家对媒体播放质量进行监控,也对主流视频媒体视频类别、视频影片收视情况做过统计,但一般是采用抓包的方式来获取媒体播放质量的相关数据,由于用户在不同时间段的行为可能不相同,因此,采用这种方式,不能有效的采集用户的行为数据,不能有效的获取到智能终端上媒体播放的质量指标数据,从而无法对媒体播放质量进行有效的监控。
针对相关技术中不能有效的获取到智能终端上媒体播放的质量指标数据的问题,目前尚未提出有效的解决方案。
发明内容
针对相关技术中不能有效的获取到智能终端上媒体播放的质量指标数据的问题,本发明提供了一种数据采集方法及装置,以至少解决上述问题。
根据本发明的一个实施例,提供了一种数据采集方法,包括:智能终端上的内置探针从所述智能终端上的第三方应用程序中获取播放质量指标数据;对获取的所述播放质量指标数据进行处理;将处理后的播放质量指标数据上传到监控系统。
可选地,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:所述内置探针接收到所述第三方应用在所述智能终端播放媒体的过程中发送的事件通知。
可选地,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:预设的定时器到时。
可选地,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:所述内置探针接收到所述监控系统下发的采集指令。
可选地,将处理后的播放质量指标数据上传到监控系统包括:所述内置探针将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。
可选地,所述播放质量指标数据包括:媒体播放质量参数和用户行为参数。
根据本发明的另一个实施例,提供了一种数据采集装置,包括:获取模块,设置为从智能终端的第三方应用程序中获取播放质量指标数据;处理模块,设置为对按照预定规则,对获取的所述播放质量指标数据进行处理;上传模块,设置为将处理后的播放质量指标数据上传到监控系统。
可选地,所述装置还包括:第一接收模块,设置为接收所述第三方应用在所述智能终端播放媒体的过程中发送的事件通知,并在接收到所述事件通知时,触发所述获取模块。
可选地,所述装置还包括:预设的定时器,设置为计时,并在预定时长到达时,触发所述获取模块。
可选地,所述装置还包括:第二接收模块,设置为接收所述监控系统下发的采集指令,并在接收到所述采集指令时,触发所述获取模块。
可选地,其中,所述上传模块通过以下方式上传处理后的播放质量指标数据:将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。
根据本发明的又一个实施例,提供了一种智能终端,包括:上述数据采集装置和第三方应用模块,其中,所述数据采集装置独立于所述第三方应用模块之外,或者,所述数据采集装置内嵌在所述第三方应用模块中。
可选地,如果所述数据采集装置独立于所述第三方应用模块之外,则所述数据采集装置与所述第三方应用模块之间通过安卓接口定义语言接口进行通讯。
通过本发明,从智能终端上的第三方应用程序中获取播放质量指标数据,并对获取的播放质量指标数据进行处理后上传给监控系统,解决了相关技术中不能有效的获取到智能终端上媒体播放的质量指标数据的问题,进而使得监控系统能够对媒体播放质量进行有效的监控。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的数据采集方法的流程图;
图2是根据本发明实施例的数据采集装置的结构示意图;
图3是根据本发明实施例的智能终端的结构示意图;
图4是实施例一中的智能机顶盒的结构示意图;
图5是实施例二中的智能机顶盒的结构示意图;
图6是实施例三的信令流程图;
图7是实施例四的信令流程图;
图8是实施例五的信令流程图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
根据本发明实施例,提供了一种数据采集方法。
图1为根据本发明实施例的数据采集方法的流程图,如图1所示,该方法主要包括以下步骤S102-步骤S106。
步骤S102,智能终端上的内置探针从智能终端上的第三方应用程序中获取播放质量指标数据。
监控智能机顶盒用户的播放质量最直接最准确的方式是在客户端的智能机顶盒内置探针,通过探针来采集智能终端(例如,智能机顶盒)的播放质量指标。例如,智能机顶盒出厂时内置有多个第三方应用程序,这些第三方应用程序提供用户界面UI(User Interface),供用户浏览节目、点播节目。节目的播放由播放器完成(一般采用系统默认播放器,也可能采用自己定制的播放器),这些播放器完成从媒体服务器获取
媒体流、解码播放等所有工作,要监控用户播放质量,就需要从播放器获得数据。播放器一般提供了一些应用程序接口(Application Programming Interface,简称API)供上层应用调用,第三方应用程序可以通过这些API去获取播放器状态指标。
在具体实施过程中,智能终端上的内置探针可以通过探针安卓包(Android Package,简称APK)或插件包程序两种方式来实现。
可选地,本发明实施例中,可以定时执行步骤S102,也可以是第三方应用探测到媒体动作时,通过消息事件通知探针APK或插件包程序,探针APK或插件包程序接收到事件通知后,执行步骤S102。或者,探针APK或插件包程序也可以在接收监控系统发送的采集指令时,响应所述采集指示,执行步骤S102。
步骤S104,对获取的所述播放质量指标数据进行处理。
例如,在采集原始数据后,探针APK或插件包程序可以通过计算和汇总,得到处的播放质量指标数据。在具体实施过程中,可以预先设置计算公式,通过计算公式对采取到的原始数据进行运算,或者,也可以对采集到的数据中的一些原始指标进行组合。
步骤S105,将处理后的播放质量指标数据上传到监控系统。
可选地,探针APK或插件包程序可以将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。在上传时,探针APK或插件包程序可以在每次获取播放质量数据之后就上传,也可以定时上传,具体本发明实施例不作限定。
在本发明实施例的一个可选实施方式,所述播放质量指标数据可以包括:媒体播放质量参数和用户行为参数,例如,媒体播放的缓冲区大小、当前播放时每秒的帧数目、媒体当前位置、当前媒体播放时占用的窗口大小、暂停和恢复播放的时间等。
以智能机顶盒采集数据为例,在本发明实施例中,智能机顶盒出厂时预安装或首次启动时从业务管理平台下载探针APK或插件包安装,并为探针APK或插件包赋予足够的权限,并初始化终端参数。智能机顶盒播放媒体过程中,第三方应用将发生的各种事件如播放,快进、快退、暂停、恢复、缓冲、退出、错误或码率切换等,发给探针APK或插件包(即以事件触发),然后探针APK或插件包程序回应消息,并从第三方应用程序获取(Get)播放质量指标数据。探针APK或插件包程序对获取的原始
指标进行计算、处理和汇总,然后对经过处理的指标生成一定的数据格式的质量文件上传给监控系统。
本发明实施例中,通过和第三方合作,在智能终端内置探针,不仅可以采集智能终端的播放数据,也可以采集用户行为数据,然后采用主动上传的方式把播放质量指标给上层监控系统进行有效的分析,或接收上层监控系统下发的指令来采集对应的指标。
在本发明实施例中,独立探针APK和内置插件包的方式,可以部署在不同的操作系统和智能终端里,智能终端厂家本身可以不用关心这些播放质量指标的采集,从而实现硬件和软件的解耦,也便于运行商制定统一的规范和采集指标。
根据本发明实施例,还提供了一种数据采集装置,该装置可以为上述内置探针,用于实现上述的数据采集方法。
图2为根据本发明实施例的数据采集装置的结构示意图,如图2所示,该装置主要包括:获取模块22,设置为从智能终端的第三方应用程序中获取播放质量指标数据;处理模块24,设置为对按照预定规则,对获取的所述播放质量指标数据进行处理;上传模块26,设置为将处理后的播放质量指标数据上传到监控系统。
可选地,所述装置还可以包括:第一接收模块,设置为接收所述第三方应用在所述智能终端播放媒体的过程中发送的事件通知,并在接收到所述事件通知时,触发所述获取模块。
可选地,所述装置还可以包括:预设的定时器,设置为计时,并在预定时长到达时,触发所述获取模块。
可选地,所述装置还可以包括:第二接收模块,设置为接收所述监控系统下发的采集指令,并在接收到所述采集指令时,触发所述获取模块。
可选地,所述上传模块26可以通过以下方式上传处理后的播放质量指标数据:将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。
根据本发明实施例,还提供了一种智能终端。
图3为根据本发明实施例的智能终端的结构示意图,如图3所示,该智能终端主要包括:上述数据采集装置32和第三方应用模块34,其中,所述数据采集装置32可
以独立于所述第三方应用模块34之外(例如,上述独立的探针APK),或者,所述数据采集装置32也可以内嵌在所述第三方应用模块34中(例如,上述的内嵌包程序)。
可选地,如果所述数据采集装置32独立于所述第三方应用模块34之外,则所述数据采集装置32与所述第三方应用模块34之间通过安卓接口定义语言(Android Interface Definition Language,以下简称AIDL)接口进行通讯。
下面以智能机顶盒为例,通过具体实施例对本发明实施例提供的技术方案进行描述。
实施例一
本实施例中,数据采集装置独立于第三应用模块34之外,图4为本实施例中的智能机顶盒的结构示意图,如图4所示,在本实施例中,数据采集装置采取探针APK。客户端的智能机顶盒内置有第三方应用程序,第三方应用程序负责读取媒体的播放质量数据,本发明实施例的探针APK,采用AIDL接口和第三方应用程序通讯,通过消息触发或定时消息去读取媒体播放的缓冲区大小、当前播放时每秒的帧数目、媒体当前位置、当前视频播放时占用的窗口大小、暂停和恢复播放的时间等媒体播放质量参数和用户行为参数,然后通过计算、处理及汇总,生成一定的数据格式文件,通过超文本传输协议(Hypertext Transfer Protocol,以下简称HTTP)上传文件给监控系统进行分析。
探针APK也可以接收监控系统下发的指令,根据指令采集相对应的播放质量指标数据和上传这些数据。
实施例二
本实施例中,数据采集装置位于第三应用模块34,图5为本实施例中的智能机顶盒的结构示意图,如图5所示,在本实施例中,第三方应用程序嵌入插件包结构模型,客户端的智能机顶盒内置有第三方应用程序,第三方应用程序负责读取媒体的播放质量数据,它通过API接口和插件包程序通讯,通过消息触发或定时消息,插件包程序去读取媒体播放的缓冲区大小,,当前播放时每秒的帧数目,媒体当前位置,当前视频播放时占用的窗口大小,暂停和恢复播放的时间质量参数,通过计算,处理,汇总,生成一定的数据格式文件,通过HTTP协议上传文件给监控系统进行分析。
插件包程序也可以接收监控系统下发的指令,根据指令采集相对应的播放质量指标和上这些指标数据。
实施例三
本实施例以事件上报触发数据采集为例进行描述。图6为本实施例的信令流程图,如图6所示,主要包括以下步骤:
步骤S601,智能机顶盒播放媒体过程中,第三方应用将发生的各种事件如播放、快进、快退、暂停、恢复、缓冲、退出、错误或码率切换等,发给探针APK或插件包。
步骤S602,探针APK或插件包程序回应消息。
步骤S603,探针APK或插件包程序去第三方应用程序读取播放质量指标数据。
步骤S604,探针APK或插件包程序对读取的原始指标数据进行计算、处理及汇总。
步骤S605,探针APK或插件包程序对经过处理的指标生成一定的数据格式质量文件,定时上传给监控系统。
实施例四
本实施例以定时采集数据为例进行描述。图7为本实施例的信令流程图,如图7所示,主要包括以下步骤:
步骤S701,探针APK或插件包程序根据时间,定时触发采集消息。
步骤S702,探针APK或插件包程序去第三方应用程序读取播放质量指标数据。
步骤S703,探针APK或插件包程序对读取的原始指标数据进行计算、处理及汇总。
步骤S704,探针APK或插件包程序对经过处理的指标生成一定的数据格式质量文件,定时上传给监控系统。
实施例五
本实施例以根据监控系统指令采集数据为例进行描述。图8为本实施例的信令流程图,如图8所示,主要包括以下步骤:
步骤S801,监控系统下发采集指令
步骤S802,探针APK或插件包程序接收到监控系统的采集指令。
步骤S803,探针APK或插件包程序去第三方应用程序读取播放质量指标数据。
步骤S804,探针APK或插件包程序对读取的原始指标数据进行计算、处理及汇总。
步骤S805,探针APK或插件包程序对经过处理的指标生成一定的数据格式质量文件,定时上传给监控系统。
从以上的描述中,可以看出,本发明实施例实现了如下技术效果:通过和第三方合作,在智能机顶盒内置独立探针APK或采用在第三方的应用程序里嵌入插件包的方法,不仅可以采集智能机顶盒的播放数据,也可以采集用户行为数据,然后采用主动上传的方式把播放质量指标给上层监控系统进行有效的分析,或接收上层监控系统下发的指令来采集对应的指标。另外,探针APK和插件包的方式,可以部署在不同的操作系统和智能机顶盒里,智能机顶盒厂家本身可以不用关心这些播放质量指标的采集,从而实现硬件和软件的解耦,也便于运行商制定统一的规范和采集指标。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
基于本发明实施例提供的上述技术方案,从智能终端上的第三方应用程序中获取播放质量指标数据,并对获取的播放质量指标数据进行处理后上传给监控系统,解决了相关技术中不能有效的获取到智能终端上媒体播放的质量指标数据的问题,进而使得监控系统能够对媒体播放质量进行有效的监控。
Claims (13)
- 一种数据采集方法,包括:智能终端上的内置探针从所述智能终端上的第三方应用程序中获取播放质量指标数据;对获取的所述播放质量指标数据进行处理;将处理后的播放质量指标数据上传到监控系统。
- 根据权利要求1所述的方法,其中,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:所述内置探针接收到所述第三方应用在所述智能终端播放媒体的过程中发送的事件通知。
- 根据权利要求1所述的方法,其中,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:预设的定时器到时。
- 根据权利要求1所述的方法,其中,智能终端上的内置探针从所述智能终端的第三方应用程序中获取播放质量指标数据之前,所述方法还包括:所述内置探针接收到所述监控系统下发的采集指令。
- 根据权利要求1至4中任一项所述的方法,其中,将处理后的播放质量指标数据上传到监控系统包括:所述内置探针将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。
- 根据权利要求1至4中任一项所述的方法,其中,所述播放质量指标数据包括:媒体播放质量参数和用户行为参数。
- 一种数据采集装置,包括:获取模块,设置为从智能终端的第三方应用程序中获取播放质量指标数据;处理模块,设置为对按照预定规则,对获取的所述播放质量指标数据进行处理;上传模块,设置为将处理后的播放质量指标数据上传到监控系统。
- 根据权利要求7所述的装置,其中,所述装置还包括:第一接收模块,设置为接收所述第三方应用在所述智能终端播放媒体的过程中发送的事件通知,并在接收到所述事件通知时,触发所述获取模块。
- 根据权利要求7所述的装置,其中,所述装置还包括:预设的定时器,设置为计时,并在预定时长到达时,触发所述获取模块。
- 根据权利要求7所述的装置,其中,所述装置还包括:第二接收模块,设置为接收所述监控系统下发的采集指令,并在接收到所述采集指令时,触发所述获取模块。
- 根据权利要求7至10中任一项所述的装置,其中,所述上传模块通过以下方式上传处理后的播放质量指标数据:将处理后的播放质量指标数据生成预定数据格式的质量文件,将所述质量文件上传到所述监控系统。
- 一种智能终端,包括:权利要求7至11中任一项所述数据采集装置和第三方应用模块,其中,所述数据采集装置独立于所述第三方应用模块之外,或者,所述数据采集装置内嵌在所述第三方应用模块中。
- 根据权利要求12所述的智能终端,其中,如果所述数据采集装置独立于所述第三方应用模块之外,则所述数据采集装置与所述第三方应用模块之间通过安卓接口定义语言接口进行通讯。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410283386.1 | 2014-06-23 | ||
CN201410283386.1A CN104053054B (zh) | 2014-06-23 | 2014-06-23 | 数据采集方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015196693A1 true WO2015196693A1 (zh) | 2015-12-30 |
Family
ID=51505351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/090399 WO2015196693A1 (zh) | 2014-06-23 | 2014-11-05 | 数据采集方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104053054B (zh) |
WO (1) | WO2015196693A1 (zh) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053054B (zh) * | 2014-06-23 | 2018-11-09 | 中兴通讯股份有限公司 | 数据采集方法及装置 |
CN104462949B (zh) * | 2014-10-27 | 2017-09-26 | 中国建设银行股份有限公司 | 一种插件的调用方法及装置 |
CN105005474B (zh) * | 2015-07-02 | 2019-01-18 | 盘石软件(上海)有限公司 | 一种对Android手机信息进行秘密提取的微型设备和提取方法 |
CN106549794A (zh) * | 2015-09-23 | 2017-03-29 | 中国移动通信集团公司 | 一种ott业务的质量监测系统、装置和方法 |
CN105681867B (zh) * | 2016-01-08 | 2019-01-22 | 成都网丁科技有限公司 | 一种视频同步播放系统及其同步播放方法 |
CN106454512A (zh) * | 2016-09-06 | 2017-02-22 | 北京小度互娱科技有限公司 | 播放器事件统计方法、装置、播放器及终端设备 |
CN107872705A (zh) * | 2016-09-23 | 2018-04-03 | 中兴通讯股份有限公司 | 一种数据采集的方法、装置和系统 |
CN106850298A (zh) * | 2017-02-08 | 2017-06-13 | 中国联合网络通信集团有限公司 | Iptv业务质量监测方法、终端及系统 |
CN107690077B (zh) * | 2017-09-05 | 2021-02-26 | 北京京东尚科信息技术有限公司 | 监测视频直播卡顿的方法和装置 |
CN109561347B (zh) * | 2017-09-27 | 2022-01-25 | 中国移动通信集团山东有限公司 | 一种互联网视频播放质量判定方法及系统 |
CN107690068B (zh) * | 2017-10-10 | 2024-02-20 | 飞思达技术(北京)有限公司 | 机顶盒的嵌入式探针视频流量和质量汇聚分析方法及装置 |
CN107908558B (zh) * | 2017-11-14 | 2021-01-05 | 广东华仝九方科技有限公司 | 一种手机客户端软件质量自动化评测方法 |
CN108171079A (zh) * | 2017-12-27 | 2018-06-15 | 深圳创维-Rgb电子有限公司 | 一种基于终端的数据采集方法、装置、终端及存储介质 |
CN108521570A (zh) * | 2018-03-16 | 2018-09-11 | 网宿科技股份有限公司 | 一种视频播放器的监控系统 |
CN109151513A (zh) * | 2018-09-06 | 2019-01-04 | 视联动力信息技术股份有限公司 | 一种视联网的数据处理方法和装置 |
CN111353658B (zh) * | 2018-12-20 | 2023-06-20 | 中央电视台 | 电视节目生产监控系统和方法 |
CN111565310A (zh) * | 2019-02-14 | 2020-08-21 | 华为技术有限公司 | 处理异常的方法、装置与设备 |
CN110519623B (zh) * | 2019-09-06 | 2021-08-13 | 广州珠江数码集团股份有限公司 | 一种电视机机顶盒节能控制方法及装置 |
CN112261139B (zh) * | 2020-10-22 | 2024-01-26 | 北京指掌易科技有限公司 | 业务数据采集方法、装置以及电子设备 |
CN113778548A (zh) * | 2021-08-10 | 2021-12-10 | 新华三大数据技术有限公司 | 一种指标监控插件管理方法及装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136962A (zh) * | 2010-06-23 | 2011-07-27 | 华为技术有限公司 | 质量问题定界方法及相关设备与系统 |
CN103067749A (zh) * | 2011-10-20 | 2013-04-24 | 中国电信股份有限公司 | Iptv业务质量监测方法、装置和视频服务器 |
CN104053054A (zh) * | 2014-06-23 | 2014-09-17 | 中兴通讯股份有限公司 | 数据采集方法及装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1205815C (zh) * | 2002-12-27 | 2005-06-08 | 北京华通为尔广视科技有限公司 | 有线电视网络监控系统和监控方法 |
KR100501334B1 (ko) * | 2003-08-04 | 2005-07-18 | 삼성전자주식회사 | 씬 클라이언트 방식을 개선한 홈 미디어 게이트웨이의멀티미디어 데이터 처리장치 및 그 방법 |
CN101594260B (zh) * | 2008-05-27 | 2011-10-05 | 上海阿尔卡特网络支援系统有限公司 | Iptv视频质量监测系统 |
CN101848380A (zh) * | 2010-04-21 | 2010-09-29 | 中兴通讯股份有限公司 | 一种实现多媒体在线播放的方法及终端 |
CN103345376B (zh) * | 2013-07-08 | 2015-12-23 | 南京琅声声学科技有限公司 | 一种数字音频信号响度监测方法 |
-
2014
- 2014-06-23 CN CN201410283386.1A patent/CN104053054B/zh active Active
- 2014-11-05 WO PCT/CN2014/090399 patent/WO2015196693A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136962A (zh) * | 2010-06-23 | 2011-07-27 | 华为技术有限公司 | 质量问题定界方法及相关设备与系统 |
CN103067749A (zh) * | 2011-10-20 | 2013-04-24 | 中国电信股份有限公司 | Iptv业务质量监测方法、装置和视频服务器 |
CN104053054A (zh) * | 2014-06-23 | 2014-09-17 | 中兴通讯股份有限公司 | 数据采集方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104053054A (zh) | 2014-09-17 |
CN104053054B (zh) | 2018-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015196693A1 (zh) | 数据采集方法及装置 | |
Ameigeiras et al. | Analysis and modelling of YouTube traffic | |
WO2017054553A1 (zh) | 视频质量检测方法、装置及业务质量管理中心 | |
US20170093648A1 (en) | System and method for assessing streaming video quality of experience in the presence of end-to-end encryption | |
US9699499B2 (en) | Methods and apparatus to measure exposure to streaming media | |
US9521179B2 (en) | Validation of live media stream based on predetermined standards | |
US20160094805A1 (en) | Surveillance Video Playback Method, Device, and System | |
CN102412999B (zh) | 一种基于抓包的远程故障定位方法、系统及设备 | |
US10592377B2 (en) | Website performance tracking | |
US11089076B1 (en) | Automated detection of capacity for video streaming origin server | |
JP5780684B2 (ja) | コンテンツ再生情報推定装置及び方法及びプログラム | |
WO2015090095A1 (zh) | 一种信息推送方法、设备和系统 | |
EP3754998B1 (en) | Streaming media quality monitoring method and system | |
WO2017107774A1 (zh) | 视频质量信息的处理方法及装置 | |
US20230188585A1 (en) | Content player performance detection | |
WO2015154549A1 (zh) | 数据的处理方法及装置 | |
KR20160004377A (ko) | Ott 비디오의 품질을 모니터링하는 방법, 장치, 및 시스템 | |
JP2022106771A (ja) | データ処理方法、サーバ、およびデータ収集デバイス | |
CN103166808A (zh) | 一种iptv业务质量的监测方法,装置及系统 | |
CN113242437A (zh) | 一种rtsp协议视频无插件播放方法、系统、装置及存储介质 | |
CN114900662A (zh) | 视频流传输质量信息确定方法、系统、设备及介质 | |
US12063403B2 (en) | Estimating video resolution delivered by an encrypted video stream | |
TW201315234A (zh) | 視頻監控系統及方法 | |
CN116261021A (zh) | 一种视频流播放方法、装置、电子设备及存储介质 | |
CN106549794A (zh) | 一种ott业务的质量监测系统、装置和方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14896110 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14896110 Country of ref document: EP Kind code of ref document: A1 |