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
epg
network
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.)
Pending
Application number
CN201510025272.1A
Other languages
Chinese (zh)
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.)
ANDROIDMOV TECHNOLOGY Co Ltd
Original Assignee
ANDROIDMOV TECHNOLOGY 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 ANDROIDMOV TECHNOLOGY Co Ltd filed Critical ANDROIDMOV TECHNOLOGY Co Ltd
Priority to CN201510025272.1A priority Critical patent/CN104581390A/en
Publication of CN104581390A publication Critical patent/CN104581390A/en
Pending legal-status Critical Current

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 or synchronising 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 or synchronising 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 or synchronising 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

A kind of EPG client detection method based on android system
Technical field
The present invention relates to Web TV research field, particularly relate to a kind of EPG client detection method based on android system.
Background technology
IPTV (Web TV) business refers to and is linked into broadband network with Set Top Box, with PC (PC) or television set for display terminal, thus provides the broad band value-added service of a kind of interactive television experience and multimedia service for user.After being realized by this kind of technical approach, when IPTV EPG is upgraded, reduce and various intelligent terminal, different Android system, the adaptation period of different chip, shorten cycle and the frequency of EPG business renewal.
Traditional business model: regularly can upgrade to the IPTV EPG page, meet the major holiday and to reach the standard grade specific column, need all types of terminals (containing the different manufacturers) full test runed this province before reaching the standard grade, all terminal adaptation could formally be reached the standard grade after checking and accepting; Due to EPG write lack of standardization, each producer, to the amendment of webkit browser, increases the workload of a lot of difficulty and repetition.
EPG is human-computer interaction interface expression way the most intuitively, directly towards showing abundant application; Because IPTV completes based on TV that EPG page is user oriented to be represented, therefore also should distinguish to some extent with the webpage in traditional Internet in EPG making.What use during EPG page animation comprises the standard followed required for picture, word, resolution, html tag, CSS and script etc., and IPTV terminal browser is for the support of the EPG page adopting above standard to make and display.Because operator is to the strict demand of EPG, time to market (TTM) is caused to extend;
Compare and traditional linux Set Top Box, the opening of android Intelligent set top box, ease for use is that manufacturer terminal and operator accept, and increasing manufacturer adds the queue of Set Top Box industry, impels Intelligent set top box threshold greatly to reduce.Constantly promote under user applies perception situation user, how to reduce EPG and dock speed, become the key factor that operator considers.
In sum, present inventor, in the process realizing invention technical scheme in the embodiment of the present application, finds that above-mentioned technology at least exists following technical problem:
In the prior art, there is EPG in the IPTV set top box that existing network runs and dock speed comparatively slowly, the technical problem that IPTV EPG page upgrade job amount is larger.
Summary of the invention
The invention provides a kind of EPG client detection method based on android system, solve set-top box EPG docking speed in IPTV existing network slower, the technical problem that IPTV EPG page upgrade job amount is larger, the basic service of carrier class requirement can not only be realized, meet its primary demand, and IPTV EPG and each terminal adaptation progress, particularly major holiday and specific EPG template can be completed fast, reduce the technique effect of EPG page upgrade job amount.
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of EPG client detection method based on android system, and described method comprises:
Step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool;
Step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network;
Step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication;
Step 4: after entering IPTV platform, select the mode detected, start detection, carries out page detection, arranges in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location;
Step 5: generate examining report, show with txt or show Output rusults at Log Window, flow process terminates.
Further, described client testing tool carries out page detection and specifically comprises:
Arrange relevant parameter, described relevant parameter includes but not limited to: IPTV account, password, authenticating address number, and IPTV certification is passed through;
The single or multiple page is set, start detection is real-time output detections result then, displayed page problem, described page problem includes but not limited to: detection script, analyze javascript, resolution, picture, page resource, label, Event legitimacy, <frame> label, Iframe label, and the reason that has problems of Primary Location and errors present;
Detect complete, exit client testing tool, examining report is stored in assigned catalogue with txt form.
Further, the constraints in described step one comprises the type of android system version and chip.
Further, described android system to the judgement of current network state, respectively according to pppoe, dhcp+, static IP, the network state in wifi situation, according to different broadcasts notice client testing tool, client testing tool receives corresponding broadcast, enters the network settings page.
Further, described client testing tool must follow IPTV relevant art specification, by the identifying procedure of IPTV.
Further, described page detection mode is divided into:
Single page detection, select the single content of pages of test, the content of detection stores with txt form, and page detection comprises: the reason of mistake page address, mistake, the corresponding line number of error code;
Multiple page detection, select the content of pages needing test, the content of detection stores with txt form, and page detection result comprises: the reason of mistake page address, mistake, the corresponding line number of error code.
Further, described detection page results can check relevant information at current page, also txt form can check or show; Each miscue is as independent a line, and multiple testing result branch shows.
Further, described for different chips, terminal producer can revise accordingly to browser, then detects accordingly.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
Owing to have employed, the EPG client detection method based on android system is designed to comprise: step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool, step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network, step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication, step 4: after entering IPTV, select the mode detected, start detection, carries out page detection, shows in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location, step 5: generate examining report, show with txt or show Output rusults at Log Window, the technical scheme that flow process terminates, namely, provide a kind of IPTV EPG client testing tool based on android system, whether the HTML basic language script that effectively can be detected the detection current page of IPTV EPG by this instrument is correct, still need to detect the expansion JS in the middle of China Telecom's " Q-CT 2370-2011 IPTV service system EPG page animation and Display Technique specification (V3.0) " and relevant script simultaneously, testing result is arranged and exports, generate and there is readable report, and preliminary judgement and location can be carried out to EPG Problems existing, in report, show detection script quantity and amount to script quantity, the manual operation of a set of energy or the automatic instrument detecting EPG are provided, readable report can be exported more intuitively, to not meeting related specifications content and HTML normative content judges and positioning analysis, be convenient to the continuous upgrading of IPTV EPG, decrease workload raising efficiency, so, it is slower to there is EPG docking speed in the Set Top Box efficiently solved in existing IPTV, the technical problem that IPTV EPG page upgrade job amount is larger, and then achieve the basic service that can not only realize carrier class requirement, meet its primary demand, and IPTV EPG and each terminal adaptation progress can be completed fast, particularly major holiday specific IPTV EPG, reduce the technique effect of IPTV EPG page upgrade job amount.
Accompanying drawing explanation
Fig. 1 is the flow chart based on the EPG client detection method of android system in the embodiment of the present application one;
Fig. 2 is the Android intelligent terminal system frame structure schematic diagram of application in the embodiment of the present application one;
Fig. 3 is method for interface adaptation schematic flow sheet in the embodiment of the present application one.
Embodiment
The invention provides a kind of EPG client detection method based on android system, the set-top box EPG docking speed solved in IPTV existing network is slower, the technical problem that IPTV EPG page upgrade job amount is larger, the basic service of carrier class requirement can not only be realized, meet its primary demand, and IPTV EPG and each terminal adaptation progress, particularly major holiday and specific EPG template can be completed fast, reduce the technique effect of EPG page upgrade job amount.
Technical scheme during the application implements is for solving the problems of the technologies described above.General thought is as follows:
Have employed and the EPG client detection method based on android system is designed to comprise: step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool, step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network, step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication, step 4: after entering IPTV, select the mode detected, start detection, carries out page detection, shows in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location, step 5: generate examining report, show with txt or show Output rusults at Log Window, the technical scheme that flow process terminates, namely, provide a kind of IPTV EPG client testing tool based on android system, whether the HTML basic language script that effectively can be detected the detection current page of IPTV EPG by this instrument is correct, still need to detect the expansion JS in the middle of China Telecom's " Q-CT 2370-2011 IPTV service system EPG page animation and Display Technique specification (V3.0) " and relevant script simultaneously, testing result is arranged and exports, generate and there is readable report, and preliminary judgement and location can be carried out to EPG Problems existing, in report, show detection script quantity and amount to script quantity, the manual operation of a set of energy or the automatic instrument detecting EPG are provided, readable report can be exported more intuitively, to not meeting related specifications content and HTML normative content judges and positioning analysis, be convenient to the continuous upgrading of IPTV EPG, decrease workload raising efficiency, so, it is slower to there is EPG docking speed in the Set Top Box efficiently solved in existing IPTV, the technical problem that IPTV EPG page upgrade job amount is larger, and then achieve the basic service that can not only realize carrier class requirement, meet its primary demand, and IPTV EPG and each terminal adaptation progress can be completed fast, particularly major holiday specific IPTV EPG, reduce the technique effect of IPTV EPG page upgrade job amount.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete execution mode, technique scheme is described in detail.
Embodiment one:
In embodiment one, provide a kind of EPG client detection method based on android system, please refer to Fig. 1-Fig. 3, described method comprises:
Step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool;
Step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network;
Step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication; Described relevant parameter includes but not limited to: IPTV account, password, authenticating address, NTP synchronizing address, webmaster authenticating address;
Step 4: after entering IPTV, select the mode detected, start detection, carries out page detection, shows in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location;
Step 5: generate examining report, show with txt or show Output rusults at Log Window, flow process terminates.
Wherein, in the embodiment of the present application, NetworkManager is the free software project of the approach that provides simple application program to communicate with one another by D-BUS(by a management system network connection and by its state, and it is developed as a part for freedesktoporg project.) carry out the background service reported, and a client-side program allowing user management network to connect.
Wherein, in the embodiment of the present application, described client testing tool carries out page detection and specifically comprises:
Wherein, in the embodiment of the present application, the constraints in described step one comprises the type of android system version and chip.
Wherein, in the embodiment of the present application, described client testing tool, based on the type of message received, enters pppoe, dhcp+, the network settings state that static IP three kinds is different, and user sets network is specially:
Wherein, in the embodiment of the present application, described android system is to the judgement of current network state, respectively according to pppoe, dhcp+, static IP, network state in wifi situation, according to different broadcasts notice client testing tool, client testing tool receives corresponding broadcast, enters the network settings page.
Wherein, in the embodiment of the present application, described client testing tool must follow IPTV relevant art specification, by the identifying procedure of IPTV.
Wherein, in the embodiment of the present application, described page detection mode is divided into:
Single page detection, select the single content of pages of test, the content of detection stores with txt form, and page detection comprises: the reason of mistake page address, mistake, the corresponding line number of error code;
Multiple page detection, select the content of pages needing test, the content of detection stores with txt form, and page detection result comprises: the reason of mistake page address, mistake, the corresponding line number of error code.
Wherein, in the embodiment of the present application, described detection page results can check relevant information at current page, also txt form can check or show; Each miscue is as independent a line, and multiple testing result branch shows.
Wherein, in the embodiment of the present application, described for different chips, terminal producer can revise accordingly to browser, then detects accordingly.
Wherein, in the embodiment of the present application, below in conjunction with accompanying drawing, the specific embodiment of the present invention is further illustrated:
Fig. 2 is the Android intelligent terminal system frame structure figure applied in technical scheme, and the adaptation method of client testing tool is included in each layers such as Linux Kernel, Libraries, Application Framework, Application of system respectively.
Linux Kernel is that Android provides core system service based on Linux 2.6, such as: safety, memory management, management of process, network stack, driving model.Linux Kernel is also as the level of abstraction between hardware and software, and its is hidden particular hardware details and provides unified service for upper strata.
Linux Kernel expanding packet contains:
---Network_Driver: refer to expand integrated network-driven agreement for supporting business.Mainly comprise the standard I GMP V2 agreement of support based on the multicast direct broadcast function of IGMP, the standard 802.1Q functions of modules of support dual network access at present, IPV4/IPV6 agreement;
---Security_Driver: the relevant informations such as the hardware relevant to chip, operating system.
---Dispyay Driver(display driver pattern), Camera Driver(webcam driver), Aduio Driver(audio driven), Flash Men Driver(external equipment drive) etc. other drive.
Libraries is the set that Android comprises a C/C++ storehouse, for each assembly of android system.These functions are exposed to developer by the application framework (application framework) of Android
Libraries expanding packet contains:
---CTC_Webkit_EXT: the browser engine being Android, testing tool this basis is done again to be expanded;
---CTC_MediaControl: be client testing tool calling system playback interface;
---CTC_MediaProcessor: be that system provides interface for client call;
---SQLite(relational database engine), LibWebCore(web browser), SGL(2D graphics engine) and, media library etc.;
Application Framework is that android passes through to provide open development platform, and Android enables developer work out extremely abundant and novel application program.Developer freely can utilize device hardware advantage, access location information, runs background service, arranges alarm clock, add notice etc. to status bar;
Application Framework expanding packet contains:
---LibsyUtils: mainly for static IP, DHCP+, pppoe, IPV4/IPV6, IPOE, two stack, authentications etc. are to intelligent terminal bottom-layer network abstract API, for the unified call of intelligent terminal top level control module;
---the CTC_EPG:IPTV EPG page and electric program menu;
---CTC_IPTVplayer:IPTV player, mainly calls MediaControl then calling system interface
---view (View), content provider (Content Providers), explorer (Resource Manager), notification manager (Notification Manager), active manager (Activity Manager)
Application; Android assembles a core application set, comprises email client, SMS program, calendar, map, browser, contact person and other settings.
Application application comprises:
---IPTV Browser: client testing tool APK, intelligent terminal and intelligent terminal browser whether normally can be operated in the compatibility of IPTV platform mainly for detection of IPTV EPG, solve different android system, the promoting service on different chip.
Cleaning Principle:
Browser is when the html page that resolution server issues, if there is javasciprt script, javascript resolver starts to resolve, if resolve abnormal, resolver will misregistration reason, errors present, error reason.
Detection range:
The scope detected mainly comprises the partial content in " Q-CT 2370-2011 IPTV service system EPG page animation and Display Technique specification .pdf " and HTML standard criterion.
Detection mode:
IPTV can give tacit consent to and enter manual detection mode after starting certification; Wherein authenticating address is configured in business configuration, no matter be single page detection, or whole page detection, without the need to arranging authenticating address separately again.
Detection of content:
The content of current detection is mainly set about from a few part, javascript, resolution, picture, page resource, label, Event legitimacy, <frame> label, Iframe label.
Javascript script:
When page loading or user operation cause IPTV terminal browser to need to perform Javascript script, and this script is deposited in the case of an error, is the consistency ensureing the display of IPTV terminal browser, and the continuation that terminal browser should stop script performs.
Resolution:
The EPG page is in manufacturing process, require in page <body> element, at least to define width with height (as the SD business page is defined as 640 × 530, the high definition business page is defined as 1280 × 720), and the setting of " background-Repeat:no-repeat " value must be added in its " style " attribute, for SD business, code sample following (for SD): <body style=" background-Repeat:no-repeat " width=" 640 " height=" 530 " >
Picture:
The total size of picture of a page setup does not exceed 1M, and should reduce the file number of dynamic GIF form in the same page as far as possible, and too much dynamic GIF figure sector-meeting affects browser performance.For improving page layout display performance, advise that the dynamic gif file number of the same page does not exceed 3;
Page resource:
Detect page resource file availability, such as: resource file does not exist.
<img> label:
When the attribute of <img> label is set, height, width should be set to 0, because do not only without any meaning like this, but also the resource of browser can be wasted;
Forbid that multiple IMG uses same MAP, also should not be in a page and can not occur multiple MAP of the same name, and can not nested AREA element in MAP.
Event legitimacy:
Should using such for event reserved word as function name, to avoid and event property contradictories.
<frame> label:
In HTML, <frame> label does not have end-tag.And <body></bodyGrea tT.GreaT.GT label can not be used together with <frameset></fram eset> label.
For avoiding keeping for the size of FRAME to vary in size with the actual content of pages comprised as far as possible, and cause the situation of rolling.When the size of the sub-FRAME of setting, the impact of font size on actual displayed size should be considered.If the size pre-set is less than the size of Practical Calculation, the roll inside of sub-FRAME can be caused.
Iframe label:
The size of the Iframe place page should not exceed the display of a screen because of the existence of Iframe, thus causes the rolling of the Iframe page.For SD, as long as to be no more than 640*530 just passable for the size of iframe, but must arrange and frame is set to frameborder=" 0 ", roll mode scrolling=" no ".The size of Iframe internal pages should not exceed Iframe size, thus causes the rolling of Iframe internal pages, or video display is incomplete.
I, URL address size:
When needs control browser carries out page jump, point to the URL address size of the page no longer than 2048 bytes.
J, pixel:
Because the vertical line of single pixel wide and point are responded in bad television set to be shown as in old-fashioned frequency and are faded away or can not show, and single pixel wide horizontal line can only draw in a line in Liang Ge interlacing district, the film flicker when interlacing shows can be caused, therefore when EPG makes for preventing single pixel wide from becoming line or point, the width of lines is at least 2 pixels.
K、Cookie:
Due to terminal browser resource-constrained, therefore size and total amount that Cookie is set should be noted in IPTVEPG page animation process.As a rule, in common SD terminal, the Cookie sum of browser support is no more than 30, therefore advise under same territory, avoid use more than 5 Cookie as far as possible, and single cookie or the full-size of multiple cookie that once arranges are 4K(4096 byte), otherwise the cookie that IPTV terminal browser will be deleted the earliest automatically.
L, <MAP> label:
Forbid that multiple IMG uses same MAP, also should not be in a page and occur multiple MAP of the same name, and can not nested AREA element in MAP.
Output report pattern:
The content detected can store with txt form, comprises mistake page address, the reason of mistake, the general line number etc. of error code, automatic export during analysis; Detect content of pages and also can check relevant error message at the current page detected;
File stores with txt form, and each miscue is as independent a line, and multiple testing result branch shows.
Example is as follows:
2014-09-16 15:54:36:993 LineNumber:96, ReferenceError: setCanTakeFocus is not defined,
url:http://183.59.160.33:8082/EPG/jsp/defaultwebkit/en/Category.jsp
2014-09-16 15:54:59:297 LineNumber:435, TypeError: Cannot callmethod 'focus' of undefined,
url:http://125.88.96.141/vasroot/gdapps/tip/88/index/yjc?epg_info=%3Cserver_ip%3E183.59.160.33%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=146。
Wherein, in the embodiment of the present application, Fig. 3 is the method for interface adaptation flow chart in the present patent application technical scheme:
Step one: terminal access existing network environment, after system boot, is obtained current network state by NetWorkManager, and broadcasted by android.net.conn.connectivity_change, and notice client testing tool enters heterogeneous networks and arranges interface;
First, terminal access existing network environment, because IPTV each province access network environment requires different, is divided into the Internet (A plane) to access, IPTV private network (B plane), and the Internet and IPTV private network coexist (the two net of AB); Demand understands access network situation;
Secondly, after system boot, current use network can be judged according to network state;
For cable network, be divided into PPPOE, DHCP+, static IP three kinds of modes;
For wireless network, be divided into PPPOE, DHCP+, static IP three kinds of modes;
Wherein, no matter in A plane, B plane, the two net of AB, present stage is that above Three models exists substantially.
Again, system is by broadcast, and notice client enters corresponding Webpage and arranges;
Step 2: client receives broadcast, the IPTV network environment difference according to user enters corresponding network settings;
Step 3: configuration service account, authenticating address, the information such as STBID are also preserved.Start client, reload certification;
For configuration information, the information configuration provided according to engineer, other invalid informations cannot be filled in;
For authentication, start client when detecting, IPTV verification process can obtain relevant information from client, and reports service end authentication, authentication by after can issue different EPG template according to user account; Otherwise cannot authenticate and pass through, reset;
Step 4: after certification is passed through, starts client, reloads certification.
Wherein, in the embodiment of the present application, in the prior art, as submitted a tender, (platform is overlapped in few province 2 to certain province IPTV platform to manufacturer terminal, 4 many covers or more), need according to the docking of each province's checking and accepting technology modular, wherein to about 20, EPG part column, there is one-level in each column, secondary or three grades of pages;
If newly reach the standard grade terminal, ensure that on each column, EPG operation is normal, experience 4 ~ 5 is taken turns, and at least obtains six months; If but centre has new column to reach the standard grade or roll off the production line, the possible time is more of a specified duration;
If the upgrading of certain column of existing network terminal is adaptive, only need for this column adaptive; The terminal needed all operations of existing network but EPG reaches the standard grade, various types of be all verified to upgrade reach the standard grade, the cycle also 1 month.
Wherein, in the embodiment of the present application, owing to adopting this programme, for the new terminal networked, reception time can foreshorten in 3 months, took turns test through 2 ~ 3, and can meet existing network business need; For EPG template, foreshortened to 30 days by original adaptive 60 days, so, IPTV EPG and each terminal adaptation progress, particularly major holiday and specific EPG template can be completed fast, reduce EPG page upgrade job amount.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
Owing to have employed, the EPG client detection method based on android system is designed to comprise: step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool, step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network, step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication, step 4: after entering IPTV, select the mode detected, start detection, carries out page detection, shows in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location, step 5: generate examining report, show with txt or show Output rusults at Log Window, flow process terminates technical scheme, namely, provide a kind of IPTV EPG client testing tool based on android system, whether the HTML basic language script that effectively can be detected the detection current page of IPTV EPG by this instrument is correct, still need to detect the expansion JS in the middle of China Telecom's " Q-CT 2370-2011 IPTV service system EPG page animation and Display Technique specification (V3.0) " and relevant script simultaneously, testing result is arranged and exports, generate and there is readable report, and preliminary judgement and location can be carried out to EPG Problems existing, in report, show detection script quantity and amount to script quantity, the manual operation of a set of energy or the automatic instrument detecting EPG are provided, readable report can be exported more intuitively, to not meeting related specifications content and HTML normative content judges and positioning analysis, be convenient to the continuous upgrading of IPTV EPG, decrease workload raising efficiency, so, it is slower to there is EPG docking speed in the Set Top Box efficiently solved in existing IPTV, the technical problem that IPTV EPG page upgrade job amount is larger, and then achieve the basic service that can not only realize carrier class requirement, meet its primary demand, and IPTV EPG and each terminal adaptation progress can be completed fast, particularly major holiday specific IPTV EPG, reduce the technique effect of IPTV EPG page upgrade job amount.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (8)

1., based on an EPG client detection method for android system, it is characterized in that, described method comprises:
Step one: under the network environment that IPTV existing network runs, android system obtains intelligent terminal network state by NetWorkManager, and by broadcast message transmission to client testing tool;
Step 2: client testing tool is based on the type of message received, and enter pppoe, dhcp+, the network settings state that static IP three kinds is different, then user enters the network settings page, sets network;
Step 3: configuration relevant parameter, starts client testing tool, and by IPTV platform authentication;
Step 4: after entering IPTV platform, select the mode detected, start detection, carries out page detection, arranges in real time to page detection result, shows detection script data, and to EPG Problems existing Primary Location;
Step 5: generate examining report, show with txt or show Output rusults at Log Window, flow process terminates.
2. method according to claim 1, is characterized in that, described client testing tool carries out page detection and specifically comprises:
Arrange relevant parameter, described relevant parameter includes but not limited to: IPTV account, password, authenticating address number, and IPTV certification is passed through;
The single or multiple page is set, start detection is real-time output detections result then, displayed page problem, described page problem includes but not limited to: detection script, analyze javascript, resolution, picture, page resource, label, Event legitimacy, <frame> label, Iframe label, and the reason that has problems of Primary Location and errors present;
Detect complete, exit client testing tool, examining report is stored in assigned catalogue with txt form.
3. method according to claim 1, is characterized in that, the constraints in described step one comprises the type of android system version and chip.
4. method according to claim 1, it is characterized in that, described android system is to the judgement of current network state, respectively according to pppoe, dhcp+, static IP, network state in wifi situation, according to different broadcasts notice client testing tool, client testing tool receives corresponding broadcast, enters the network settings page.
5. method according to claim 1, is characterized in that, described client testing tool must follow IPTV relevant art specification, by the identifying procedure of IPTV.
6. method according to claim 1, is characterized in that, described page detection mode is divided into:
Single page detection, select the single content of pages of test, the content of detection stores with txt form, and page detection comprises: the reason of mistake page address, mistake, the corresponding line number of error code;
Multiple page detection, select the content of pages needing test, the content of detection stores with txt form, and page detection result comprises: the reason of mistake page address, mistake, the corresponding line number of error code.
7. method according to claim 1, is characterized in that, described detection page results can check relevant information at current page, also txt form can check or show; Each miscue is as independent a line, and multiple testing result branch shows.
8. method according to claim 1, is characterized in that, described for different chips, terminal producer can revise accordingly to browser, then detects accordingly.
CN201510025272.1A 2015-01-19 2015-01-19 EPG client detection method based on Android system Pending 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 Pending 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396189A (en) * 2017-08-17 2017-11-24 四川长虹电器股份有限公司 System and method based on internet upgrading OSD
CN109302622A (en) * 2018-10-23 2019-02-01 贵阳朗玛信息技术股份有限公司 A kind of IPTV-EPG running log acquisition system and method
CN111050163A (en) * 2019-11-28 2020-04-21 百视通网络电视技术发展有限责任公司 IPTV set-top box performance test device, method and system
CN113497974A (en) * 2020-03-18 2021-10-12 中国电信股份有限公司 State detection method, system and terminal
CN114827729A (en) * 2022-05-07 2022-07-29 烽火通信科技股份有限公司 EPG online detection method, device and system

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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396189A (en) * 2017-08-17 2017-11-24 四川长虹电器股份有限公司 System and method based on internet upgrading OSD
CN109302622A (en) * 2018-10-23 2019-02-01 贵阳朗玛信息技术股份有限公司 A kind of IPTV-EPG running log acquisition system and method
CN111050163A (en) * 2019-11-28 2020-04-21 百视通网络电视技术发展有限责任公司 IPTV set-top box performance test device, method and system
CN111050163B (en) * 2019-11-28 2021-10-15 百视通网络电视技术发展有限责任公司 IPTV set-top box performance test device, method and system
CN113497974A (en) * 2020-03-18 2021-10-12 中国电信股份有限公司 State detection method, system and terminal
CN114827729A (en) * 2022-05-07 2022-07-29 烽火通信科技股份有限公司 EPG online detection method, device and system
CN114827729B (en) * 2022-05-07 2023-10-20 烽火通信科技股份有限公司 EPG (electronic program guide) online detection method, device and system

Similar Documents

Publication Publication Date Title
CN104581390A (en) EPG client detection method based on Android system
CN102819451B (en) A kind of browser plug-in call method and system
CN105307024B (en) A kind of graph text information interface control method and device based on regarding networking
CN103533428A (en) Method for releasing intelligent terminal webpage video to television for broadcasting and intelligent terminal
CN101695157A (en) Self-adapting method of display of mobile terminal screen in network application and system thereof
CN103177095A (en) Embedded browser and implement method thereof
CN104918105B (en) More screen playing methods, equipment and the system of media file
CN103336691A (en) Dynamic layout method and system based on Android
CN101600089A (en) The implementation method of the advertising business in the network television system and device
CN109683892B (en) Page display method and device, computer equipment and storage medium
CN104125490A (en) Online video playing method and device
EP2854348B1 (en) Interface display method and system of home gateway applicable to multiple display types
CN104539682A (en) Debug method, device, mobile terminal, server and system for mobile webpage
CN102609264A (en) Method and device for generating calling codes by calling application programming interfaces
CN101321174A (en) Interactive network television terminal supporting multi-service and its implementing method
CN105407407A (en) Video playing method and device
EP3125541A1 (en) Data acquisition and interaction method, set top box, server and multimedia system
CN112689170B (en) Content playing method of display terminal, display terminal and readable storage medium
CN101360009A (en) Set-top box application management method and system
CN104778038A (en) Method for realizing universal HTML5 (hypertext markup language 5) player for embedded browser
CN107241651B (en) Media data playing method and device and intelligent terminal
US9729404B2 (en) Quality of service monitoring device and method of monitoring quality of service
CN102411603B (en) Method for displaying information on large screen
CN113467776B (en) Method and device for accessing equipment, storage medium and electronic device
CN106792202B (en) Set top box data adaptation method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication