CN104581390A - EPG client detection method based on Android system - Google Patents

EPG client detection method based on Android system Download PDF

Info

Publication number
CN104581390A
CN104581390A CN201510025272.1A CN201510025272A CN104581390A CN 104581390 A CN104581390 A CN 104581390A CN 201510025272 A CN201510025272 A CN 201510025272A CN 104581390 A CN104581390 A CN 104581390A
Authority
CN
China
Prior art keywords
page
detection
iptv
network
client
Prior art date
Application number
CN201510025272.1A
Other languages
Chinese (zh)
Inventor
钟海山
徐波
杨波
Original Assignee
成都卓影科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成都卓影科技有限公司 filed Critical 成都卓影科技有限公司
Priority to CN201510025272.1A priority Critical patent/CN104581390A/en
Publication of CN104581390A publication Critical patent/CN104581390A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network, synchronizing decoder's clock; Client middleware
    • H04N21/442Monitoring 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
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network, synchronizing decoder's clock; Client middleware
    • H04N21/442Monitoring 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
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network, synchronizing decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Abstract

The invention discloses an EPG client detection method based on an Android system. The method includes the steps that first, the Android system acquires the network state of an intelligent terminal through xxx in an IPTV present network operation network environment, and the network state is transmitted to a client detection tool through broadcast massages; second, the client detection tool enters three different network setting states of pppoe, dhcp+ and static IP on the basis of the type of the received messages, then, a user has access to a network setting page, and a network is set; third, relevant parameters are configured, the client detection tool is started, and an IPTV platform is used for authentication; fourth, a detection mode is selected, page detection is performed, a page detection result is sorted in real time, detection script data are shown, and problems existing in EPG are preliminarily positioned; fifth, a detection report is generated, an output result is shown through txt or shown in a log window, and the technical effects of fast completing the adaptability progress between IPTV EPG and terminals and reducing IPTV EPG page upgrading workloads are achieved.

Description

一种基于Android系统的EPG客户端检测方法 EPG detection method based on the client system Android

技术领域 FIELD

[0001] 本发明涉及网络电视研宄领域,尤其涉及一种基于Android系统的EPG客户端检测方法。 [0001] The present invention relates to the field of study based television network, in particular to a method for detecting EPG client system based on Android.

背景技术 Background technique

[0002] IPTV(网络电视)业务是指以机顶盒接入到宽带网络,以PC机(个人电脑)或者电视机为显示终端,从而为用户提供一种交互式电视体验和多媒体服务的宽带增值业务。 [0002] IPTV (Internet TV) service refers to the set-top box access to a broadband network to a PC (personal computer) or TV as the display terminal, to provide users with an interactive TV experience and value-added business broadband multimedia services . 通过此种技术方式实现后,使得IPTV EPG升级时,减少与各种智能终端,不同android系统,不同芯片的适配周期,缩短EPG业务更新的周期与频率。 After this is achieved by technical means, such that the IPTV EPG upgrade, reduce a variety of intelligent terminals, android different systems, different chips adaptation period, to shorten the update cycle of EPG service frequency.

[0003] 传统的业务模式:定期会对IPTV EPG页面升级,遇重大节日会上线特定栏目,上线前需对本省运营的各类型终端(含不同厂家)全面测试,所有终端适配通过验收后才能正式上线;由于EPG编写的不规范,各厂家对webkit浏览器的修改,增加很多难度及重复的工作量。 [0003] The traditional business model: IPTV EPG page will regularly update, in case of major festivals specific section at the line before the line to be the province of all types of terminal operations (including different manufacturers) to fully test all terminal adapter through the acceptance of the order formally launched; because the EPG to write non-standard, the manufacturers to modify the webkit browser, increasing difficulty and a lot of repetitive work.

[0004] EPG是人机交互界面最直观的表达方式,直接面向展示丰富的应用;由于IPTV是基于电视完成EPG页面向用户的展现,因此在EPG制作上也应与传统Internet上的网页有所区别。 [0004] EPG man-machine interface is the most intuitive way of expression, directly to display rich applications; Because IPTV is based on the TV to complete the EPG page presented to the user and, therefore, should be to pages on the Internet on the traditional EPG production the difference. EPG页面制作时使用的包括图片、文字、分辨率、HTML标签、CSS以及脚本语言等所需要遵循的标准,以及IPTV终端浏览器在对于采用以上标准制作的EPG页面的支持以及显示。 When making use of EPG page including images, text, resolution, HTML tags, CSS and scripting language needed to follow the standards, as well as IPTV terminal browser support for the use of the above criteria and making the EPG page displayed. 因运营商对EPG的严格要求,致使产品上市时间延长; Because of the stringent requirements for operators EPG, resulting in prolonged time to market;

相比与传统的Iinux机顶盒来说,android智能机顶盒的开放性,易用性为终端厂商及运营商接受,越来越多的厂商加入机顶盒行业队列,促使智能机顶盒门槛大大降低。 Compared with the traditional Iinux set-top boxes, open android smart set-top boxes, ease of use for the terminal manufacturers and operators to accept, more and more companies join the queue set-top box industry, to promote intelligent set-top boxes threshold greatly reduced. 在用户不断提升用户应用感知情况下,如何减少EPG对接速度,成为运营商考虑的重要因素。 Users continue to enhance the user application in the case of perception, how to reduce the EPG docking speed, an important factor to consider is the operator.

[0005] 综上所述,本申请发明人在实现本申请实施例中发明技术方案的过程中,发现上述技术至少存在如下技术问题: [0005] In summary, the present inventors of the present application in the process of implementing the technical solutions according to embodiments of the invention, the art has found that the above technical problems at least as follows:

在现有技术中,现网运行的IPTV机顶盒中存在EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题。 In the prior art, IPTV set-top boxes running the existing network exists EPG docking slow, IPTV EPG upgrade page larger workload of technical problems.

发明内容 SUMMARY

[0006] 本发明提供了一种基于Android系统的EPG客户端检测方法,解决了IPTV现网中机顶盒EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题,不仅能够实现电信级要求的基本业务,满足其基本需求,而且能快速的完成IPTV EPG与各终端适配进度,特别是重大节日及特定的EPG模板,减少EPG页面升级工作量的技术效果。 [0006] The present invention provides a method for detecting EPG client based Android system, set-top box addresses the slow docking EPG, IPTV EPG page larger workload upgrading technical problems existing IPTV network, not only to achieve carrier-grade requirements the basic service, to meet their basic needs, and can quickly complete IPTV EPG with the terminal adapter progress, especially in major festivals and specific EPG template, the technical effect of reducing the workload of the EPG upgrade page.

[0007] 为解决上述技术问题,本申请实施例提供了一种基于Android系统的EPG客户端检测方法,所述方法包括: [0007] In order to solve the above problems, the present embodiment provides EPG application client detection method based Android system, the method comprising:

步骤一:在IPTV现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具; Step a: In the network environment existing IPTV network operation, Android intelligent terminal system to obtain network status NetWorkManager, and a broadcast message transmitted to the client by the detection means;

步骤二:客户端检测工具基于接收的消息类型,进入PPPoe,dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络; Step Two: detection means based on the client type of the received message into PPPoe, dhcp +, different static IP three network setting status, then the user enters the network setup page, set up the network;

步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证; Step three: the configuration parameters, the client start detection means, and through the IPTV platform certification;

步骤四:进入IPTV平台后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果整理,展示检测脚本数据,并对EPG存在的问题初步定位; Step four: After entering the IPTV platform, select the test way to start testing for page detection, real-time detection of page summary of the results, showing the detection script data, and EPG initial positioning problems;

步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束。 Step Five: generating a test report, txt, or display the results in the log output display window, the process ends.

[0008] 进一步的,所述客户端检测工具进行页面检测具体包括: [0008] Further, the client detection means for detecting the page comprises:

设置相关参数,所述相关参数包括但不限于:IPTV账号、密码、认证地址数,且IPTV认证通过; Set the parameters, the parameters including but not limited to: IPTV account, password, authentication number address, and the IPTV authentication;

设置单个或多个页面,启动检测则实时输出检测结果,展示页面问题,所述页面问题包括但不限于:检测脚本、分析javascript、分辨率、图片、页面资源、标签、Event合法性、〈frame〉标签、Iframe标签,并初步定位产生问题的原因及错误位置; Providing a single or a plurality of pages, detecting the start time output the detection result display page problem, problems include the page, but are not limited to: detection script, JavaScript analysis, resolution, image, page resource, the label, the legitimacy of the Event, <frame > tag, Iframe tag, and initially locate the error location and the cause of the problem;

检测完毕,退出客户端检测工具,检测报告以txt形式存储在指定目录。 Testing is completed, exit the client detection tools, test reports stored in txt form in the specified directory.

[0009] 进一步的,所述步骤一中的约束条件包括Android系统版本和芯片的类型。 [0009] Further, the step of constraints include a type and version of Android chips.

[0010] 进一步的,所述Android系统对当前网络状态的判断,分别按照pppoe,dhcp+,静态IP,wifi情况下的网络状态,按照不同的广播消息通知客户端检测工具,客户端检测工具收到相应的广播,进入网络设置页面。 [0010] Further, the Android system determines the current network state, respectively, according to pppoe, dhcp +, the IP static, wifi network state in the case, the notification client detection means according to different broadcast messages, the client receives detection means corresponding broadcast, enter the network settings page.

[0011] 进一步的,所述客户端检测工具须遵循IPTV相应技术规范,能通过IPTV的认证流程。 [0011] Further, the client must follow the appropriate detection means IPTV specification, IPTV through certification process.

[0012] 进一步的,所述页面检测方式分为: [0012] Further, detection of the page is divided into:

单个页面检测,选择测试单个页面内容即可,检测的内容以txt形式存储起来,页面检测包含:错误页面地址、错误的原因、错误代码的相应行数; Detecting a single page, select content to test a single page, the content stored in the detected txt form page detection comprising: a page address error, the cause of the error, the number of lines corresponding error code;

多个页面检测,选择需要测试的页面内容,检测的内容以txt形式存储起来,页面检测结果包含:错误页面地址、错误的原因、错误代码的相应行数。 Detecting a plurality of pages, select the page content to be tested, the detection of the contents stored in the form of txt, detection results page comprising: error page address corresponding to the number of rows, the cause of the error, the error code.

[0013] 进一步的,所述检测页面结果能够在当前页面查看相关信息,也可以txt形式查看或显示;每一个错误提示作为独立一行,多个检测结果分行显示。 [0013] Further, the detection result can be a page in the page to view information about the current and to be seen or displayed in the form of txt; each error as an independent line, a plurality of branch detection result display.

[0014] 进一步的,所述对于不同的芯片,终端厂家可以对浏览器进行相应的修改,然后进行相应的检测。 [0014] Further, for the different chips, terminal manufacturers can make the appropriate changes to the browser, and the corresponding detection.

[0015] 本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点: 由于采用了将基于Android系统的EPG客户端检测方法设计为包括:步骤一:在IPTV [0015] The present application to one or more technical solutions provided in the embodiments, having at least the following technical effects or advantages: As a result of the Client EPG-based detection system is designed to Android comprising: Step 1: IPTV

现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具;步骤二:客户端检测工具基于接收的消息类型,进入pppoe, dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络;步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证;步骤四:进入IPTV后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果展示,展示检测脚本数据,并对EPG存在的问题初步定位;步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束的技术方案,即,提供了一种基于Android系统的IPTV EPG客户端检测工具,通过此工具可以有效的检测IPTV EPG的检测当前页面的HTML基本语言脚本是否正确,同时还是需要检测中国电信《Q-CT 2370-2011 IPTV业务系统EPG页面制作及显示技 Under current network operating network environment, Android system obtained by NetWorkManager intelligent terminal network status, and the broadcast message transmitted by the client detection means; Step Two: Client detection means based on the type of message received, the process proceeds pppoe, dhcp +, static IP three different network setting status, then the user enters the network setup page, set the network; step three: the configuration parameters, start the client detection means, and through the IPTV platform authentication; step four: Into IPTV, select the mode detection start detect, for page detection, real-time detection results page display, demonstrate detection script data, and EPG initial positioning problems; step five: generate test report to txt display or output in the log window to show results, the process ends technical solutions that provides IPTV EPG client detection tool based on the Android system, this tool can effectively detect detection IPTV EPG's basic HTML scripting language for the current page is correct, China Telecom is also necessary to detect the "Q-CT 2370 -2011 IPTV EPG page production business systems and display technology 术规范(V3.0»)当中的扩展JS及相关的脚本,对检测结果进行整理和输出,生成具有可读性的报告,并能对EPG存在的问题进行初步判断与定位,在报告中展示检测脚本数量及总计脚本数量,提供一套能人工操作或者自动检测EPG的工具,可以比较直观的输出可读性的报告,对不符合相关规范内容及HTML规范内容进行判断与定位分析,便于IPTVEPG的不断升级,减少了工作量提升效率,所以,有效解决了现有的IPTV中的机顶盒存在EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题,进而实现了不仅能够实现电信级要求的基本业务,满足其基本需求,而且能快速的完成IPTV EPG与各终端适配进度,特别是重大节日特定的IPTV EPG,减少IPTV EPG页面升级工作量的技术效果。 Technique specification (V3.0 ») among the JS extension and related scripts. The results were collated and output, generate reports readable, and can conduct a preliminary judgment on the existence and location of EPG issues in the report show the total number of detected number of scripts and script, can provide a manually operated or automatically detected EPG tool, readable report can be output more intuitive, does not meet the relevant specifications of HTML content and content specification determination and location analysis, facilitates IPTVEPG escalating, reducing the workload increase efficiency, so that there is an effective solution to the existing IPTV EPG docking speed is slow in set-top boxes, IPTV EPG upgrade page larger workload of technical problems, so as to realize not only be able to achieve carrier-grade the basic service requirements, to meet their basic needs, and can quickly complete IPTV EPG with the terminal adapter progress, especially in major festivals specific IPTV EPG, the technical effect of reducing the workload of IPTV EPG upgrade page.

附图说明 BRIEF DESCRIPTION

[0016] 图1是本申请实施例一中基于Android系统的EPG客户端检测方法的流程图; [0016] FIG. 1 is a flowchart diagram of a method for detecting the EPG client Android application system based on the present embodiment;

图2是本申请实施例一中应用的Android智能终端系统框架结构示意图; FIG 2 is a diagram showing a frame structure Android intelligent terminal system according to the present embodiment is applied an embodiment of the application;

图3是本申请实施例一中接口适配方法流程示意图。 Example 3 of the present application is a method flow diagram of an interface adapter in the embodiment.

具体实施方式 Detailed ways

[0017] 本发明提供了一种基于Android系统的EPG客户端检测方法,解决了IPTV现网中的机顶盒EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题,不仅能够实现电信级要求的基本业务,满足其基本需求,而且能快速的完成IPTV EPG与各终端适配进度,特别是重大节日及特定的EPG模板,减少EPG页面升级工作量的技术效果。 [0017] The present invention provides EPG client detection method based on the Android system to solve the set-top box IPTV EPG docking current network speed is slow, IPTV EPG upgrade page larger workload of technical problems, not only to achieve carrier-grade the basic service requirements, to meet their basic needs, and can quickly complete IPTV EPG with the terminal adapter progress, especially in major festivals and specific EPG template, the technical effect of reducing the workload of the EPG upgrade page.

[0018] 本申请实施中的技术方案为解决上述技术问题。 [0018] The embodiment of the present application to solve the above technical solutions of technical problems. 总体思路如下: The general idea is as follows:

采用了将基于Android系统的EPG客户端检测方法设计为包括:步骤一:在IPTV现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具;步骤二:客户端检测工具基于接收的消息类型,进入pppoe, dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络;步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证;步骤四:进入IPTV后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果展示,展示检测脚本数据,并对EPG存在的问题初步定位;步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束的技术方案,即,提供了一种基于Android系统的IPTV EPG客户端检测工具,通过此工具可以有效的检测IPTV EPG的检测当前页面的HTML基本语言脚本是否正确,同时 Using the EPG client detection based Android system designed to include: Step 1: in a network environment IPTV existing network is running, Android system acquisition smart terminal network status NetWorkManager, and the broadcast message transmitted by the client detection means; step two: the client detection means based on the type of message received, the process proceeds pppoe, dhcp +, different static IP three network setting status, then the user enters the network setup page, set the network; step three: the configuration parameters, start the client detection tools, and through the IPTV platform certification; step four: after entering the IPTV, select the detection mode, start testing, for page detection, real-time detection results page display, demonstrate detection script data, and EPG initial positioning problems; step five : generates a detection report to txt display or display window in the log output, the flow ends technical solution, i.e., a client IPTV EPG Android detection tool based system, this tool can be effectively detected by the detector of IPTV EPG the current basic HTML page script language is correct, at the same time 还是需要检测中国电信《Q-CT 2370-2011 IPTV业务系统EPG页面制作及显示技术规范(V3.0»)当中的扩展JS及相关的脚本,对检测结果进行整理和输出,生成具有可读性的报告,并能对EPG存在的问题进行初步判断与定位,在报告中展示检测脚本数量及总计脚本数量,提供一套能人工操作或者自动检测EPG的工具,可以比较直观的输出可读性的报告,对不符合相关规范内容及HTML规范内容进行判断与定位分析,便于IPTVEPG的不断升级,减少了工作量提升效率,所以,有效解决了现有的IPTV中的机顶盒存在EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题,进而实现了不仅能够实现电信级要求的基本业务,满足其基本需求,而且能快速的完成IPTV EPG与各终端适配进度,特别是重大节日特定的IPTV EPG,减少IPTV EPG页面升级工作量的技术效果。 China Telecom still needs to detect "Q-CT 2370-2011 IPTV EPG page production business systems and display technology specification (V3.0») among the JS extension and related scripts. The results were collated and output, generating readable reports, and to conduct a preliminary judgment on the existence and location of EPG problem, the report shows the number of total number of detection script and the script can provide a manual or automatic detection EPG tool that can output more intuitive readability reports do not meet the relevant specifications and contents of the HTML specification to determine the content and location analysis, easy IPTVEPG escalating, reducing the workload increase efficiency, so that there is an effective solution to the existing IPTV EPG docking speed in set-top box is slow, IPTV EPG upgrade page larger workload of technical problems, so as to realize the basic business not only to achieve carrier-grade requirements, to meet their basic needs, and can quickly complete IPTV EPG with the terminal adapter progress, especially major holiday special IPTV EPG, the technical effect of reducing the workload of IPTV EPG upgrade page.

[0019] 为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。 [0019] For a better understanding of the above technical solutions, in conjunction with the following drawings and specific embodiments of the above technical solutions described in detail.

[0020] 实施例一: [0020] Example a:

在实施例一中,提供了一种基于Android系统的EPG客户端检测方法,请参考图1-图3,所述方法包括: In the embodiment example 1, there is provided a method of detecting EPG client system based on Android, please refer to FIGS. 1-3, the method comprising:

步骤一:在IPTV现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具; Step a: In the network environment existing IPTV network operation, Android intelligent terminal system to obtain network status NetWorkManager, and a broadcast message transmitted to the client by the detection means;

步骤二:客户端检测工具基于接收的消息类型,进入pppoe,dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络; Step Two: detection means based on the client type of the received message into pppoe, dhcp +, different static IP three network setting status, then the user enters the network setup page, set up the network;

步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证;所述相关参数包括但不限于:IPTV账号,密码,认证地址,NTP同步地址,网管认证地址; Step three: the configuration parameters, the client start detection means, and authenticated by the IPTV platform; the correlation parameters include but are not limited to: IPTV account, password, authentication address, NTP synchronization address, network address of the authentication;

步骤四:进入IPTV后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果展示,展示检测脚本数据,并对EPG存在的问题初步定位; Step four: After entering the IPTV, select the detection mode, start testing, for page detection, real-time detection results page display, demonstrate detection script data, and EPG initial positioning problems;

步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束。 Step Five: generating a test report, txt, or display the results in the log output display window, the process ends.

[0021] 其中,在本申请实施例中,NetworkManager由一个管理系统网络连接、并且将其状态通过D-BUS (是一个提供简单的应用程序互相通讯的途径的自由软件项目,它是做为freedesktoporg项目的一部分来开发的。)进行报告的后台服务,以及一个允许用户管理网络连接的客户端程序。 [0021] In the present application embodiment, NetworkManager connected by a network management system, and its status through D-BUS (a simple way to provide the application software project freely communicate with each other, it is as freedesktoporg part of the project to development.) reported a background service, and a client program to allow users to manage network connections.

[0022] 其中,在本申请实施例中,所述客户端检测工具进行页面检测具体包括: [0022] wherein, for example, the client detects a page detection means for application in the present embodiment comprises:

其中,在本申请实施例中,所述步骤一中的约束条件包括Android系统版本和芯片的类型。 Wherein, in the application of the present embodiment, the step of constraints include a type and version of Android chips.

[0023] 其中,在本申请实施例中,所述客户端检测工具基于接收的消息类型,进入pppoe,dhcp+,静态IP三种不同的网络设置状态,且用户设置好网络具体为: [0023] In the present application embodiment, the detection means based on the client type of the received message into pppoe, dhcp +, different static IP three network setting status, the user and the network set up specifically as:

其中,在本申请实施例中,所述Android系统对当前网络状态的判断,分别按照pppoe,dhcp+,静态IP,wifi情况下的网络状态,按照不同的广播消息通知客户端检测工具,客户端检测工具收到相应的广播,进入网络设置页面。 In the present application embodiment, the Android system determines the current network state, respectively, according to pppoe, dhcp +, static the IP, network state in the wifi case, the notification client detection tool, the client detects in different broadcast messages tools received the appropriate broadcast, enter the network settings page.

[0024] 其中,在本申请实施例中,所述客户端检测工具须遵循IPTV相应技术规范,能通过IPTV的认证流程。 [0024] In the present application embodiment, the client must follow the appropriate detection means IPTV specification, IPTV through certification process.

[0025] 其中,在本申请实施例中,所述页面检测方式分为: [0025] In the present application embodiment, the page detection modes:

单个页面检测,选择测试单个页面内容即可,检测的内容以txt形式存储起来,页面检测包含:错误页面地址、错误的原因、错误代码的相应行数; Detecting a single page, select content to test a single page, the content stored in the detected txt form page detection comprising: a page address error, the cause of the error, the number of lines corresponding error code;

多个页面检测,选择需要测试的页面内容,检测的内容以txt形式存储起来,页面检测结果包含:错误页面地址、错误的原因、错误代码的相应行数。 Detecting a plurality of pages, select the page content to be tested, the detection of the contents stored in the form of txt, detection results page comprising: error page address corresponding to the number of rows, the cause of the error, the error code.

[0026] 其中,在本申请实施例中,所述检测页面结果能够在当前页面查看相关信息,也可以txt形式查看或显示;每一个错误提示作为独立一行,多个检测结果分行显示。 [0026] In the present application embodiment, the detection result can be pages in the page to view information about the current and to be seen or displayed in the form of txt; each error as an independent line, a plurality of branch detection result display.

[0027] 其中,在本申请实施例中,所述对于不同的芯片,终端厂家可以对浏览器进行相应的修改,然后进行相应的检测。 [0027] wherein, in the embodiment, for the different chips, terminal manufacturers can make the appropriate changes to the browser, and then detecting the corresponding application in the present embodiment.

[0028] 其中,在本申请实施例中,下面结合附图对本发明的具体实施方式再进一步的说明: [0028] In the present embodiment, the application, the drawings further illustrate specific embodiments of the present invention in conjunction with the following:

图2是本申请技术方案中应用的Android智能终端系统框架结构图,客户端检测工具的适配方法分别包含在系统的Linux Kernel、Libraries、Applicat1n Framework、Applicat1n 等各层。 Android FIG. 2 is a configuration diagram of the intelligent terminal system frame application aspect of the present application, the client adaptation methods of the detection means are contained in Linux Kernel, Libraries, Applicat1n Framework, Applicat1n other layers of the system.

[0029] Linux Kernel是Android基于Linux 2.6提供核心系统服务,例如:安全、内存管理、进程管理、网络堆栈、驱动模型。 [0029] Linux Kernel Android is based on Linux 2.6 provides core system services, such as: security, memory management, process management, network stack, and driver model. Linux Kernel也作为硬件和软件之间的抽象层,它隐藏具体硬件细节而为上层提供统一的服务。 Linux Kernel also serves as an abstraction layer between the hardware and software that hides the specific hardware details and provide a unified service for the upper.

[0030] Linux Kernel 扩展包含: [0030] Linux Kernel extensions include:

——Network_Driver:指为支持业务而扩展集成的网络驱动协议。 --Network_Driver: refers to support business expansion and integration of network protocol drivers. 目前主要包括支持基于IGMP的组播直播功能的标准IGMP V2协议、支持双网络接入的标准802.1Q模块功能,IPV4/IPV6 协议; Currently supports include standard functions of IGMP multicast broadcast IGMP V2 protocol standard 802.1Q supports dual network access module function, IPV4 / IPV6 protocol;

--Security_Driver:与芯片相关的硬件、操作系统等相关信息。 --Security_Driver: chip-related hardware, operating systems and other related information.

[0031 ]--Dispyay Driver (显示驱动模式),Camera Driver (摄像头驱动),Adu1 [0031] - Dispyay Driver (Display driving mode), Camera Driver (camera driver), Adu1

Driver (音频驱动),Flash Men Driver (外接设备驱动)等其他驱动。 Driver (audio driver), Flash Men Driver (external device drivers) and other drivers.

[0032] Libraries是Android包含一个C/C++库的集合,供Android系统的各个组件使用。 [0032] Libraries comprising Android is a collection of C / C ++ library for the various components of the system using Android. 这些功能通过Android的应用程序框架(applicat1n framework)暴露给开发者 These functions are exposed to developers through the Android application framework (applicat1n framework)

Libraries扩展包含: Libraries extension contains:

——CTC_ffebkit_EXT:是Android的浏览器引擎,检测工具再此基础上做扩展; --CTC_ffebkit_EXT: is Android's browser engine, detection tools to do this again extended basis;

——CTC_MediaControl:是客户端检测工具调用系统播放接口; --CTC_MediaControl: client detection tools play calling system interfaces;

——CTC_MediaProcessor:是系统提供接口供客户端调用; --CTC_MediaProcessor: the system provides an interface for the client calls;

——SQLite (关系数据库引擎),LibffebCore (web浏览器),SGL (2D图形引擎),媒体库等; --SQLite (relational database engine), LibffebCore (web browser), SGL (2D graphics engine), media libraries;

Applicat1n Framework是android通过提供开放的开发平台,Android使开发者能够编制极其丰富和新颖的应用程序。 Applicat1n Framework is an android by providing an open development platform, Android enables developers to prepare extremely rich and innovative applications. 开发者可以自由地利用设备硬件优势、访问位置信息、运行后台服务、设置闹钟、向状态栏添加通知等; Developers are free to use the advantages of the device hardware, access location information, run background services, set alarms, add notifications to the status bar;

Applicat1n Framework 扩展包含: Applicat1n Framework extensions include:

——LibsyUtils:主要针对静态IP,DHCP+, pppoe, IPV4/IPV6,ΙΡ0Ε,双栈,鉴权等,是对智能终端底层网络封装API,供智能终端设备上层控制模块的统一调用; --LibsyUtils: mainly for a static IP, DHCP +, pppoe, IPV4 / IPV6, ΙΡ0Ε, dual-stack, such as authentication, is the API package underlying network intelligent terminal, intelligent terminal equipment for the upper unified call control module;

——CTC_EPG:IPTV EPG页面即电子节目菜单; --CTC_EPG: IPTV EPG page that is EPG;

——CTC_IPTVplayer:1PTV播放器,主要是调用MediaControl然后调用系统接口 --CTC_IPTVplayer: 1PTV player, primarily calling MediaControl then calls the system interface

--视图(View),内容提供者(Content Providers),资源管理器(Resource - view (View), content provider (Content Providers), Resource Manager (Resource

Manager),通知管理器(Notificat1n Manager),活动管理器(Activity Manager) Manager), Notification Manager (Notificat1n Manager), Activity Manager (Activity Manager)

Applicat1n ;Android装配一个核心应用程序集合,包括电子邮件客户端、SMS程序、日历、地图、浏览器、联系人和其他设置.Applicat1n应用包含: Applicat1n; Android assemble a set of core applications including an email client, SMS program, calendar, maps, browser, contacts, and other settings .Applicat1n applications include:

——IPTV Browser:客户端检测工具APK,主要用于检测IPTV EPG是否能正常运行在智能终端设备及智能终端设备浏览器对IPTV平台的兼容性,解决不同Android系统,不同芯片上的业务推广。 --IPTV Browser: client detection tool APK, mainly used to detect whether IPTV EPG normally run in the smart terminal devices and smart terminal device browser compatibility IPTV platform, to solve different Android system, business promotion on different chips.

[0033] 检测原理: [0033] Detection principle:

浏览器在解析服务器下发的HTML页面时,如果有javasciprt脚本,javascript解析器开始解析,如果解析异常,解析器将会记录错误原因、错误位置、错误原因。 When the browser sent an HTML page in the resolution server, if there is javasciprt script, javascript parser to start parsing, if resolved anomalies, the parser will cause of the error, the error location, cause of the error record.

[0034] 检测范围: 检测的范围主要包括《Q-CT 2370-2011 IPTV业务系统EPG页面制作及显示技术规范.pdf))及HTML标准规范中的部分内容。 [0034] The detection range: range detection specification includes part of.pdf)) and the HTML standard specification "Q-CT 2370-2011 IPTV service system and display EPG page production.

[0035] 检测方式: [0035] Detection method:

IPTV启动认证后,会默认进入手动检测模式;其中业务配置中已经对认证地址配置,不论是单个页面检测,还是全部页面检测,无需再单独设置认证地址。 After starting the authentication IPTV will default to manual detection mode; wherein the authentication service configuration has address configuration, detecting whether a single page, or all page detection without resetting the address authentication alone.

[0036] 检测内容: [0036] Content Detection:

目前检测的内容主要从几部分着手,javascript,分辨率,图片,页面资源,标签,Event合法性,〈frame〉标签,Iframe标签。 The main content of the current detection from several parts proceed, javascript, resolution, images, page resources, label, Event legitimacy, <frame> tag, Iframe tag.

[0037] Javascript 脚本: [0037] Javascript script:

当页面加载或用户操作导致IPTV终端浏览器需要执行Javascript脚本,且该脚本存在错误的情况下,为保证IPTV终端浏览器显示的一致性,终端浏览器应终止脚本的继续执行。 In the case where the page is loaded or a result of user IPTV terminal browser has Javascript script, and the script errors, in order to ensure consistency IPTV terminal browser display terminal browser should terminate continue execution of the script.

[0038] 分辨率: [0038] Resolution:

EPG页面在制作过程中,要求在页面〈body〉元素中至少定义宽度与高度(如标清业务页面定义为640X530,高清业务页面定义为1280X720),且在其“style”属性中必须添加“background-Repeat:no-repeat”值的设置,以标清业务为例,示例代码如下(以标清为例):〈body style=〃background_Repeat:no_repeat〃 width=〃640〃 height=〃530〃> EPG page in the production process, it is required to define at least the page <body> element in the width and height (e.g., SD service pages defined 640X530, HD service pages defined as 1280X720), and must be added in its "style" property "background- Repeat: no-repeat "value set to SD business, for example, the following sample code (in example SD): <body style = 〃background_Repeat: no_repeat〃 width = height = 〃530〃 〃640〃>

图片: image:

一个页面设置的图片总大小不要超过1M,且应尽量减少同一页面中动态GIF格式的文件个数,过多的动态GIF图片会影响浏览器性能。 The total size of a page picture set no more than 1M, and should minimize the number of files on the same page in animated GIF format, too many animated GIF images affect browser performance. 为提高页面显示性能,建议同一页面动态GIF文件个数不要超过3个; To improve page display performance, we recommend that the number of animated GIF files in the same page not more than 3;

页面资源: Page resources:

检测页面资源文件有效性,比如:资源文件不存在。 The effectiveness of detecting page resource file, such as: resource file does not exist.

[0039] <img> 标签: [0039] <img> tag:

设置<img>标签的属性时,不应将高度、宽度设置为0,因为这样做不仅没有任何意义,而且还会浪费浏览器的资源; Setting Properties <img> tag should not be height, width is set to 0, because it not only did not make any sense, but also a waste of resources browser;

禁止多个MG使用同一个MAP,也不应该在一个页面不能出现同名的多个MAP,且MAP中不能嵌套AREA元素。 MG prohibit multiple use the same MAP, we should not be in a page of the same name can not appear more than MAP, MAP and AREA elements can not be nested.

[0040] Event 合法性: [0040] Event legitimacy:

不应把event这样一个保留字作为函数名,以避免和event属性冲突。 This event should not be a reserved word as a function name to avoid conflict and event properties.

[0041] 〈frame〉标签: [0041] <frame> tag:

在HTML中,〈frame〉标签没有结束标签。 In HTML, <frame> tag has no end tag. 且不能与<frameset>〈/frameset>标签一起使用<body>〈/body>标签。 And you can not use the <body> </ body> tag with <frameset> </ frameset> tag.

[0042] 为尽量避免预留给FRAME的大小跟实际包含的页面内容大小不同,而造成滚动的情况。 [0042] In order to minimize the size of the size of the page content reserved for FRAME included with the actual difference, which will cause rolling. 在设定子FRAME的尺寸的时候,应考虑字体大小对实际显示尺寸的影响。 When setting the size of the sub-FRAME, the font size should consider the impact on the actual display size. 如果预先设置的尺寸小于实际计算的尺寸,会造成子FRAME的内部滚动。 If the size is smaller than the previously set size of the actual calculation, internal sub-FRAME will cause rolling.

[0043] Iframe 标签: [0043] Iframe tag:

Iframe所在页面的尺寸不应因Iframe的存在而超出一屏的显示,从而导致Iframe页面的滚动。 The size of the page where the Iframe Iframe should not be due to the presence exceeds displayed a screen, resulting in rolling Iframe page. 以标清为例,iframe的大小只要不超过640*530就可以,但必须设置将边框设置为frameborder=〃0〃,滚动方式scrolling=〃no〃。 In standard definition, for example, iframe size as long as no more than 640 * 530 on it, but you must set the border to frameborder = 〃0〃, scroll way scrolling = 〃no〃. Iframe内部页面的尺寸不应超出Iframe尺寸,从而导致Iframe内部页面的滚动,或视频显示不全。 Iframe inside the page size should not exceed Iframe size, leading to scroll inside page of Iframe, or video display incomplete.

[0044] 1、URL地址长度: [0044] 1, URL address length:

当需要控制浏览器进行页面跳转时,指向页面的URL地址长度最长不超过2048字节。 When the need to control the browser page jump to a page's URL address of a maximum length of 2048 bytes.

[0045] J、像素点: [0045] J, pixel points:

因为单像素宽的垂直线和点在旧式频率回应糟糕的电视机中可能会显示为逐渐消失或根本不会显示,并且单像素宽水平线只能两个隔行区中的一行中画出,会导致在隔行显示时的画面闪烁,因此在EPG制作时为防止单像素宽成为线或点,线条的宽度至少为2个象素。 Because the single-pixel-wide vertical lines and dots in the old frequency response of bad television might appear to fade away or simply not displayed, and only two single-pixel-wide horizontal line interlaced zone to draw a line, it will lead to when interlaced display screen flicker, so as to prevent the single-pixel-wide lines or dots become when EPG is, the line width of at least two pixels.

[0046] K、Cookie: [0046] K, Cookie:

由于终端浏览器资源有限,因此在IPTVEPG页面制作过程中应注意设置Cookie的大小以及总量。 Due to limited resources terminal browser, so IPTVEPG page production process should pay attention to the size and the amount of Cookie settings. 通常来说,在普通的标清终端中浏览器支持的Cookie总数不超过30个,因此建议在同一个域下尽量避免使用超过5个Cookie,且单个cookie或一次设置的多个cookie的最大尺寸为4K (4096字节),否则IPTV终端浏览器将自动删除最早的cookie。 Generally speaking, the total number of ordinary Cookie terminal SD browser supports no more than 30, it is proposed in the same domain to avoid using more than 5 Cookie, and a maximum size the plurality of individual cookie or a cookie is set 4K (4096 bytes), or IPTV terminal browser will automatically delete the oldest cookie.

[0047] L、〈MAP〉标签: [0047] L, <MAP> tag:

禁止多个IMG使用同一个MAP,也不应该在一个页面出现同名的多个MAP,且MAP中不能嵌套AREA元素。 Prohibit the use of multiple IMG same MAP, should not appear on a page of the same name of MAP, MAP and AREA elements can not be nested.

[0048] 输出报告样式: [0048] output report style:

检测的内容会以txt形式存储起来,包含错误页面地址,错误的原因,错误代码的大概行数等,分析时自动导出文件;检测页面内容也可在检测的当前页面查看相关的错误信息; Content inspection will be stored in txt form together, it contains an error page address, the wrong reasons, probably the number of lines of error codes, etc., automatically exported file analysis; detection of page content can also view the current page in error detection information;

文件以txt格式存储,每个错误提示作为独立一行,多个检测结果分行显示。 Txt document format to store, as a separate line for each error, a plurality of branch detection result display.

[0049] 示例如下所示: [0049] The example is shown below:

2014-09-16 15:54:36:993 LineNumber:96, ReferenceError: setCanTakeFocus isnot defined, 2014-09-16 15: 54: 36: 993 LineNumber: 96, ReferenceError: setCanTakeFocus isnot defined,

url:http://183.59.160.33:8082/EPG/jsp/defaultwebkit/en/Category, jsp2014-09-16 15:54:59:297 LineNumber:435, TypeError: Cannot callmethod'focus' of undefined, url: http: //183.59.160.33: 8082 / EPG / jsp / defaultwebkit / en / Category, jsp2014-09-16 15: 54: 59: 297 LineNumber: 435, TypeError: Can not callmethod'focus' of undefined,

url: http://125.88.96.141/vasroot/gdapps/tip/88/index/yjc?epg_info=%3Cserver_ip%3E18 3.59.160.3 3%3C%2Fserver_ip%3E%3Cgroup_name%3E146%3C%2Fgroup_name%3E%3Cgroup_path%3E%3C%2Fgroup_path%3E%3Coss_user_id%3E088802013080121%3C%2Foss_user_id%3E%3Cpage_url%3Ehttp%3A%2F%2F183.59.160.33%3A8082%2FEPG%2Fjsp%2Fdefaultwebkit%2Fen%2FHD_vasToMemInterface.jsp%3C%2Fpage_url%3E%3Cpartner%3EHUAWEI%3C%2Fpartner%3E&user_name=146o url: http://125.88.96.141/vasroot/gdapps/tip/88/index/yjc?epg_info=%3Cserver_ip%3E18 3.59.160.3 3% 3C% 2Fserver_ip% 3E% 3Cgroup_name% 3E146% 3C% 2Fgroup_name% 3E% 3Cgroup_path % 3E% 3C% 2Fgroup_path% 3E% 3Coss_user_id% 3E088802013080121% 3C% 2Foss_user_id% 3E% 3Cpage_url% 3Ehttp% 3A% 2F% 2F183.59.160.33% 3A8082% 2FEPG% 2Fjsp% 2Fdefaultwebkit% 2Fen% 2FHD_vasToMemInterface.jsp% 3C% 2Fpage_url % 3E% 3Cpartner% 3EHUAWEI% 3C% 2Fpartner% 3E & user_name = 146o

[0050] 其中,在本申请实施例中,图3是本发明申请技术方案中的接口适配方法流程图: 步骤一:终端接入现网环境,系统开机后,通过NetWorkManager获取当前网络状态,并通过android, net.conn, connectivity_change广播,通知客户端检测工具进入不同网络设置界面; [0050] In the present application embodiment, FIG. 3 is an aspect of the present invention to apply the interface adapter flowchart of a method: Step a: terminal access the current network environment, system boot, the current network status obtaining NetworkManager, by android, net.conn, connectivity_change broadcast, the client notifies the detection means into a different network setting interface;

首先,终端接入现网环境,因IPTV各省接入网络环境要求不同,分为互联网(A平面)访问,IPTV专网(B平面),互联网与IPTV专网共存(AB双网);需求了解接入网络情况; First, the access terminal current network environment, due to the different provinces IPTV access network environment, the Internet is divided into (A plane) access, IPTV private network (B flat), the Internet and private networks coexist IPTV (AB twin wire); needs to know access network conditions;

其次,系统开机后,会根据网络状态判断当前使用网络; Secondly, system boot, according to the network determines the current state using the network;

对于有线网络,分为PPPOE,DHCP+,静态IP三种方式; For a wired network, into PPPOE, DHCP +, static IP three ways;

对于无线网络,分为PPPOE,DHCP+,静态IP三种方式; For a wireless network, it is divided into PPPOE, DHCP +, static IP three ways;

其中,不论在A平面,B平面,AB双网,现阶段基本是以上三种模式存在。 Wherein, both in the A-plane, B plane, AB dual network, this stage is substantially above three modes exist.

[0051] 再次,系统通过广播消息,通知客户端进入相应的网络页面设置; [0051] Again, by a broadcast system message informs the client to enter the corresponding web page is provided;

步骤二:客户端接收到广播消息,根据用户的IPTV网络环境不同进入相应的网络设置; Step two: the client receives the broadcast message, the user enters an IPTV network environment different respective network settings;

步骤三:配置业务账号,认证地址,STBID等信息并保存。 Step three: Configure a service account, authentication address, STBID other information and save it. 启动客户端,重新加载认证; 对于配置信息,按照工程师提供的信息配置即可,其他非法信息无法填写; Start the client, reload certification; for configuration information, according to information provided by the engineers can configure other illegal information can not be filled;

对于认证鉴权,启动客户端检测时,IPTV认证过程会从客户端获取相关信息,并上报服务端鉴权,鉴权通过后会根据用户账号下发不同EPG模板;否则无法认证通过,重新设置;步骤四:认证通过后,启动客户端,重新加载认证。 For certification authentication, when you start the client detection, IPTV certification process will get information from the client, and reported to the authentication server will send different EPG template according to the user account after authentication by; otherwise not authenticated, reset ; step four: after authentication, start the client, reload certification.

[0052] 其中,在本申请实施例中,在现有技术中,终端厂商如投标某省IPTV平台(少的省份2套平台,多的4套或者更多),需要按照各省验收技术规范对接,其中对EPG部分栏目20个左右,每个栏目存在一级,二级或者三级页面; [0052] wherein, in the embodiment, in the prior art, terminal manufacturers such proposal province IPTV platform (2 sets of small provinces platform, multiple sets of 4 or more), according to the need butt provinces acceptance for application in the present embodiment wherein the left and right portions 20 EPG sections, each section exists one, two or three pages;

如果是新上线终端,保证每个栏目上EPG操作正常,经历4~5轮,至少得半年时间;但如果中间有新栏目上线或者下线,可能时间更久; If the new on-line terminal, to ensure the normal operation of the EPG each section, subjected to 4 to 5 to give at least six months; but if the middle line, or offline on a new section, the time may be longer;

如果是现网终端某个栏目升级适配,只需要针对此栏目适配即可;但是EPG上线需要对现网所有运行的终端,各种类型的都验证通过才能升级上线,周期也得I个月。 If you are upgrading the existing network terminal adapter a column, just for this column can be adapted; but on the EPG line needs to end all running the existing network, various types are verified by on-line to upgrade, I also have a cycle month.

[0053] 其中,在本申请实施例中,由于采用本方案,对于新入网的终端,验收时间可缩短至3个月内,经过2~3轮测试,及可满足现网业务要求;对于EPG模板,由原有的适配60天缩短至30天,所以,能快速的完成IPTV EPG与各终端适配进度,特别是重大节日及特定的EPG模板,减少EPG页面升级工作量。 [0053] In the present application example, since the present embodiment, for the new terminal network, inspection time can be shortened to three months, after 2 to 3 test and can meet the current network services required; for EPG template, adapted from original 60 days reduced to 30 days, so, can quickly complete IPTV EPG with the terminal adapter progress, especially in major festivals and specific EPG templates, reducing the workload upgrade EPG page.

[0054] 上述本申请实施例中的技术方案,至少具有如下的技术效果或优点: [0054] The technical solutions in the present application embodiment, at least the following technical effects or advantages:

由于采用了将基于Android系统的EPG客户端检测方法设计为包括:步骤一:在IPTV现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具;步骤二:客户端检测工具基于接收的消息类型,进入pppoe, dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络;步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证;步骤四:进入IPTV后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果展示,展示检测脚本数据,并对EPG存在的问题初步定位;步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束技术方案,即,提供了一种基于Android系统的IPTV EPG客户端检测工具,通过此工具可以有效的检测IPTV EPG的检测当前页面的HTML基本语言脚本是否正确,同 As a result of the EPG client detection method Android system based on the design to include: Step 1: in a network environment IPTV existing network is running, Android system acquisition smart terminal network status NetWorkManager, and the broadcast message transmitted by the client detection means ; step two: the client detection means based on the type of message received, the process proceeds pppoe, dhcp +, different static IP three network setting status, then the user enters the network setup page, set the network; step three: the configuration parameters, start the client detection tools, and through the IPTV platform certification; step four: after entering the IPTV, select the detection mode, start testing, for page detection, real-time detection results page display, demonstrate detection script data, and EPG initial positioning problems; step five: generating a test report, txt, or display the results in the log output display window, the process ends aspect, i.e., a client IPTV EPG Android detection tool based system, this tool can be effectively detected by the detector of IPTV EPG the current basic HTML page script language is correct, the same 时还是需要检测中国电信《Q-CT 2370-2011 IPTV业务系统EPG页面制作及显示技术规范(V3.0)》当中的扩展JS及相关的脚本,对检测结果进行整理和输出,生成具有可读性的报告,并能对EPG存在的问题进行初步判断与定位,在报告中展示检测脚本数量及总计脚本数量,提供一套能人工操作或者自动检测EPG的工具,可以比较直观的输出可读性的报告,对不符合相关规范内容及HTML规范内容进行判断与定位分析,便于IPTV EPG的不断升级,减少了工作量提升效率,所以,有效解决了现有的IPTV中的机顶盒存在EPG对接速度较慢,IPTV EPG页面升级工作量较大的技术问题,进而实现了不仅能够实现电信级要求的基本业务,满足其基本需求,而且能快速的完成IPTV EPG与各终端适配进度,特别是重大节日特定的IPTV EPG,减少IPTV EPG页面升级工作量的技术效果。 China Telecom still need to detect when "Q-CT 2370-2011 IPTV EPG page production business systems and display technology specification (V3.0)" among the JS extension and associated scripts, test results were collated and output, generate a readable quality reports, and can be determined with the initial positioning problem of the presence of an EPG, showing the number of total number of detection script and script report can provide a manually operated or automatically detected EPG tool, readable output can be more intuitive the reports do not meet the relevant specifications and content of the HTML specification to determine the content and location analysis, ease of escalating IPTV EPG, reducing the workload increase efficiency, so that there is an effective solution to the existing IPTV EPG docking speed than the set-top box slow, IPTV EPG upgrade page larger workload of technical problems, so as to realize the basic business not only to achieve carrier-grade requirements, to meet their basic needs, and can quickly complete IPTV EPG with the terminal adapter progress, especially in major festivals specific IPTV EPG, the technical effect of reducing the workload of IPTV EPG upgrade page.

[0055] 尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0055] While the present invention has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0056] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0056] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (8)

1.一种基于Android系统的EPG客户端检测方法,其特征在于,所述方法包括: 步骤一:在IPTV现网运行的网络环境下,Android系统通过NetWorkManager获取智能终端网络状态,并通过广播消息传输给客户端检测工具; 步骤二:客户端检测工具基于接收的消息类型,进入PPPoe,dhcp+,静态IP三种不同的网络设置状态,然后用户进入网络设置页面,设置好网络; 步骤三:配置相关参数,启动客户端检测工具,并通过IPTV平台认证; 步骤四:进入IPTV平台后,选择检测的方式,启动检测,进行页面检测,实时对页面检测结果整理,展示检测脚本数据,并对EPG存在的问题初步定位; 步骤五:生成检测报告,以txt展示或在日志窗口展示输出结果,流程结束。 CLAIMS 1. A method for detecting EPG client based Android system, characterized in that, said method comprising: a step of: running in the current network IPTV network environment, Android system intelligent terminal network status obtaining NetworkManager, through a broadcast message and transmitted to the client detection means; step two: client detection means based on the type of message received, the process proceeds PPPoe, dhcp +, static IP three different network setting status, then the user enters the network setup page, set the network; step three: configure the relevant parameters, start the client detection tool, and through the IPTV platform certification; step four: after entering the IPTV platform, select the test way to start testing for page detection, real-time detection of page summary of the results, showing the detection script data, and EPG problems preliminary positioning; step five: generating a test report, txt, or display the results in the log output display window, the process ends.
2.根据权利要求1所述的方法,其特征在于,所述客户端检测工具进行页面检测具体包括: 设置相关参数,所述相关参数包括但不限于:IPTV账号、密码、认证地址数,且IPTV认证通过; 设置单个或多个页面,启动检测则实时输出检测结果,展示页面问题,所述页面问题包括但不限于:检测脚本、分析javascript、分辨率、图片、页面资源、标签、Event合法性、〈frame〉标签、Iframe标签,并初步定位产生问题的原因及错误位置; 检测完毕,退出客户端检测工具,检测报告以txt形式存储在指定目录。 2. The method according to claim 1, wherein the client detects a page detectable means comprises: set the parameters, the parameters including but not limited to: the IPTV account, password, authentication address number, and IPTV authentication; setting a single or multiple pages, start to detect the real-time output test results, showing page problem, the problem page including but not limited to: detection script, analysis javascript, resolution, images, page resources, label, Event legitimate sex, <frame> tag, Iframe tag, and initially locate the error location and the cause of the problem; testing is completed, exit the client detection tools, test report to txt stored in the specified directory.
3.根据权利要求1所述的方法,其特征在于,所述步骤一中的约束条件包括Android系统版本和芯片的类型。 3. The method according to claim 1, wherein said step of constraints include a type and version of Android chips.
4.根据权利要求1所述的方法,其特征在于,所述Android系统对当前网络状态的判断,分别按照pppoe,dhcp+,静态IP,wifi情况下的网络状态,按照不同的广播消息通知客户端检测工具,客户端检测工具收到相应的广播,进入网络设置页面。 4. The method according to claim 1, wherein said system determination Android current network state, respectively, according to pppoe, dhcp +, the IP static, wifi network state in the case, the notification client in different broadcast messages detection tools, client detection tools receive the appropriate broadcast, enter the network settings page.
5.根据权利要求1所述的方法,其特征在于,所述客户端检测工具须遵循IPTV相应技术规范,能通过IPTV的认证流程。 5. The method according to claim 1, wherein said detection means to be followed client specifications corresponding IPTV, the IPTV through the certification process.
6.根据权利要求1所述的方法,其特征在于,所述页面检测方式分为: 单个页面检测,选择测试单个页面内容即可,检测的内容以txt形式存储起来,页面检测包含:错误页面地址、错误的原因、错误代码的相应行数; 多个页面检测,选择需要测试的页面内容,检测的内容以txt形式存储起来,页面检测结果包含:错误页面地址、错误的原因、错误代码的相应行数。 6. The method according to claim 1, characterized in that said page is divided into detection: detect single page, select content to test a single page, the content stored in the detected txt form page detection comprising: an error page the corresponding number of the row address, the cause of the error, the error code; detecting a plurality of pages, select the test page content, the content stored in the detected txt form together the detection result page comprising: an error page address, the cause of the error, the error code the appropriate number of rows.
7.根据权利要求1所述的方法,其特征在于,所述检测页面结果能够在当前页面查看相关信息,也可以txt形式查看或显示;每一个错误提示作为独立一行,多个检测结果分行显不O 7. The method according to claim 1, wherein said page detection result information is possible to view the current page, or view may also be displayed in the form of txt; each error as an independent line, a plurality of detection results significantly branch O no
8.根据权利要求1所述的方法,其特征在于,所述对于不同的芯片,终端厂家可以对浏览器进行相应的修改,然后进行相应的检测。 8. The method according to claim 1, characterized in that, for the different chips, terminal manufacturers can make the appropriate changes to the browser, and the corresponding detection.
CN201510025272.1A 2015-01-19 2015-01-19 EPG client detection method based on Android system CN104581390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510025272.1A CN104581390A (en) 2015-01-19 2015-01-19 EPG client detection method based on Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510025272.1A CN104581390A (en) 2015-01-19 2015-01-19 EPG client detection method based on Android system

Publications (1)

Publication Number Publication Date
CN104581390A true CN104581390A (en) 2015-04-29

Family

ID=53096433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510025272.1A CN104581390A (en) 2015-01-19 2015-01-19 EPG client detection method based on Android system

Country Status (1)

Country Link
CN (1) CN104581390A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675385B1 (en) * 1998-10-21 2004-01-06 Liberate Technologies HTML electronic program guide for an MPEG digital TV system
CN1845578A (en) * 2006-04-29 2006-10-11 沈阳鼎通科技有限公司 Flush type system and method of IP set-top box
CN101715086A (en) * 2008-10-07 2010-05-26 中兴通讯股份有限公司 Error correction processing method for internet protocol television set top box
CN103218286A (en) * 2012-01-20 2013-07-24 阿里巴巴集团控股有限公司 Method and system for detecting accessibility of webpage
US20140310590A1 (en) * 2013-03-13 2014-10-16 Bby Solutions, Inc. Presentation layer software development kit for creation of dynamic webpages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675385B1 (en) * 1998-10-21 2004-01-06 Liberate Technologies HTML electronic program guide for an MPEG digital TV system
CN1845578A (en) * 2006-04-29 2006-10-11 沈阳鼎通科技有限公司 Flush type system and method of IP set-top box
CN101715086A (en) * 2008-10-07 2010-05-26 中兴通讯股份有限公司 Error correction processing method for internet protocol television set top box
CN103218286A (en) * 2012-01-20 2013-07-24 阿里巴巴集团控股有限公司 Method and system for detecting accessibility of webpage
US20140310590A1 (en) * 2013-03-13 2014-10-16 Bby Solutions, Inc. Presentation layer software development kit for creation of dynamic webpages

Similar Documents

Publication Publication Date Title
US9576473B2 (en) Annotation of metadata through capture infrastructure
JP6066096B2 (en) Method for on-page operation and real-time replacement of content, systems, and computer program
US8418207B2 (en) Dynamic video source selection for providing the best quality programming
CN102375869B (en) In the system of the device management application, a method and apparatus
CN101299754B (en) End user control configuration system with dynamic user interface
US8503991B2 (en) Methods and apparatus to monitor mobile devices
US8407290B2 (en) Dynamic data sharing using a collaboration-enabled web browser
US20130132833A1 (en) Systems and Methods For Remote Tracking And Replay Of User Interaction With A Webpage
CN1268103C (en) Web server
US9141332B2 (en) Masking sensitive information in a screen sharing session
US8560683B2 (en) Video and site analytics
CN102902761B (en) Cross-terminal cloud browse method and system
US20120203854A1 (en) Metadata Capture for Screen Sharing
CN101023419A (en) Method of providing a web page with inserted content
US20140123033A1 (en) Systems, methods, and apparatuses for implementing a shared session server to enable multiple browser clients to simultaneously view and interact with common web content in a shared browsing session
CN103647991A (en) Method and system for sharing video in intelligent television
US20090082008A1 (en) Mobile Phone Code Debugging Method and Apparatus
CN101242307A (en) Website access analysis system and method based on built-in code proxy log
WO2012155849A1 (en) Webpage browsing method, proxy server and webpage browsing system
CN1987851A (en) Updating display method for webpage data
US8904279B1 (en) Inhibiting automated extraction of data from network pages
US8788885B1 (en) Intermediary for testing content and applications
CN102722563A (en) Method and device for displaying page
CN102932197B (en) A test method and test system
CN101635826B (en) Method for acquiring addresses of network video programs

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01