CN103902293A - Android based radio and television network browser middleware system constructing method - Google Patents

Android based radio and television network browser middleware system constructing method Download PDF

Info

Publication number
CN103902293A
CN103902293A CN201410121709.7A CN201410121709A CN103902293A CN 103902293 A CN103902293 A CN 103902293A CN 201410121709 A CN201410121709 A CN 201410121709A CN 103902293 A CN103902293 A CN 103902293A
Authority
CN
China
Prior art keywords
interface
browse engine
class
vod
android
Prior art date
Application number
CN201410121709.7A
Other languages
Chinese (zh)
Other versions
CN103902293B (en
Inventor
万乾荣
王明敏
朱允斌
熊俊
侯宇
霍佳洁
邓勇
姚忠舟
谈俊
张文杰
薛明宝
杨启程
Original Assignee
上海下一代广播电视网应用实验室有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海下一代广播电视网应用实验室有限公司 filed Critical 上海下一代广播电视网应用实验室有限公司
Priority to CN201410121709.7A priority Critical patent/CN103902293B/en
Publication of CN103902293A publication Critical patent/CN103902293A/en
Application granted granted Critical
Publication of CN103902293B publication Critical patent/CN103902293B/en

Links

Abstract

The invention relates to an android based radio and television network browser middleware system constructing method. The android based radio and television network browser middleware system constructing method can be realized by expanding private labels, attributes and object service classes of an OCN (open computer network) webpage service page on the basis of a webkit open source browse engine, the VOD (video on demand) service is integrated into the webkit browse engine with the webpage by insetting a television in the webpage so as to be used as an installation package for multiple platforms in an android system.

Description

Based on android CHINA RFTCOM Co Ltd browser middleware system construction method

Technical field

The present invention relates to one, particularly a kind of based on android CHINA RFTCOM Co Ltd browser middleware system construction method.

Background technology

The Intelligent Terminal of radio, TV and film industries progressively carries out at present, and the operation commercial city in area, each province goes out the intelligent terminal Set Top Box of oneself one after another, and major part is all to use android platform, or similar android platform carrys out developing engine top box.Because the Operator Specific Service of each province has one's individual peculiarity, the business service form that each place provides is all discrepant.Particularly, after bilateral network transformation, the business service that Broadcasting Cable Network provides also starts progressively variation.

The service content providing based on current OCN, particularly two-way services, mainly comprise

1, Edutainment, comprises Optimization Learning, TV school, party member's education;

2, financial service, comprises security information, TV bank, and the lottery ticket world, east shopping, there is shopping in family, interactive store, preferential air ticket, east club, convenience-for-people paying etc.;

3, community's life, comprises wisdom Changning, wisdom Minxing, mail notification;

4, video on demand service, this service is also the service that at present welcome by terminal user.

Summing up business above, from technical standpoint analysis, is mainly to provide with technology type below,

1, the two-way webpage of HTML form (stock, the lottery ticket world, wisdom Minxing etc.), most of business is to realize by this type technology, finance, entertainment service;

2, video request program (RTSP), VOD service, at present most popular business;

3, embedded DVB is live, and traditional DVB plays, the data stream media services that provide by top-set hardware chip platform.

Because middleware of set top box two-way services mainly comprise that gui serves and the business service of form web page.Still devote this part parsing work of webpage of two-way services and develop main energy, therefore the part of this complexity is incorporated into an entirety, facilitate so the rapid shipment of terminal set top box.And google prepares at present to cancel the free chrome that carries after android4.4, if use google browser, need to charge specially, in view of current google browser is cannot complete compatible OCN business demand, need to develop specially.

Summary of the invention

The present invention be directed to the problem of OCN business and android Set Top Box compatibility, propose a kind of based on android CHINA RFTCOM Co Ltd browser middleware system construction method, system can facilitate and is implanted to rapidly in intelligent terminal Set Top Box, in android Set Top Box, realize the parsing of OCN network head end, solve OCN business and android Set Top Box compatibling problem.

Technical scheme of the present invention is: a kind of based on android CHINA RFTCOM Co Ltd browser middleware system construction method, specifically comprise the steps:

1) extract webkit browse engine, construct on this basis browse engine user interface and the browse engine framewor middle layer based on android, comprise with the interface alternation interface of browser upper layer application and with the information control interface of browse engine webcore;

2) on webkit browse engine basis, build Webcore physical layer interface, upwards link framework middle layer, link browse engine webcore core library downwards;

3) on webkit browse engine basis, loaded web page, filtering web page element;

4) after loaded web page finishes, in webkit browse engine, build dom tree, structure and the public function class of windows object that expansion head end server page JS uses, make webkit browse engine directly and JS interaction data simultaneously;

5) design embedded VOD playing module;

6) on webkit browse engine basis, increase HTML protocol label, carry out privately owned label expansion;

7) on webkit browse engine basis, play up newly increasing HTML protocol label, construct corresponding privately owned label element play up part;

8) design VOD program request RSTP interface, unifies to encapsulate and set up storehouse to the each several part interface of constructing in browse engine;

9) by interface library with adjust after browse engine together with dress up VOD realize core library.

Described step 4) structure and the public function class of windows object of expanding head end server page JS use, constitution step is as follows:

A) DOMWindow class is browse engine acquiescence class object, on this basis extension class entrance;

B) in DOMWindow.h, increase public member CCXJShow * jshow () const;

C) in DOMWindow.cpp, realize;

D) class object of the realization of CCXJShow.cpp main body and CCXJShow.h is stated in WebCore core, and structure comprises the control generic attribute object of private, and public function realizes generic operation;

E) design bi-directional data transmitting function, redefine the button operation of webpage JS, obtain headend service information by interface function;

F) object is added in webcore core compiling mk file and participates in the compiling of webcore core library.

Described step 5) designs embedded VOD playing module and specifically comprises:

The window class object of A, design JS;

B, realize VOD broadcast core storehouse;

C, state extern int DVMI_VodHfcPlayStart (DVMI_VOD_HFC_PLAY_INFO * tInfo) by outside; Carry out the stream stream analyzer of chip platform;

The agreement of D, RTSP realizes, the SM of compliant server end, 2 kinds of patterns of VS; The initialization RTSP_DealWithCmdAckTask response task of receiving orders, need to open the memory headroom of 100K; Initialization RTSP_TCP_DataRecvSMTask data receiver task, also need to open 100K internal memory, if VS pattern creates RTSP_TCP_DataRecvVSTask data receiver task, for the ACK response mode of OCN network VOD 2.0 Protocol Design differences, broadcast mode.

Described step 6) is carried out privately owned label spread step:

1) first to increase the corresponding relation of tag and corresponding html element element;

2) then the part of the HTML under webcore increases corresponding html element element structure file, realizes the structure of HTMLTVElement.cpp and HTMLTVElement.h class object, and HTMLTVElement object is also the member of WebCore territory core classes;

3) realize class members's privately owned state variable and publicly-owned window information interface;

4) extension tag attribute is defined.

Beneficial effect of the present invention is: the present invention is based on android CHINA RFTCOM Co Ltd browser middleware system construction method, can be at broadcasting and TV basic network hardware and front-end business server system as a constant basis, system of the present invention is implanted in intelligent terminal Set Top Box, reduces the construction cycle of Set Top Box production firm.Greatly facilitate like this Development and Production link, be conducive to radio, TV and film industries intelligentized universal rapidly.

Accompanying drawing explanation

Fig. 1 builds schematic diagram for the present invention is based on android CHINA RFTCOM Co Ltd browser middleware system;

Fig. 2 is with browser and conventional browser framework comparison diagram after system adjustment of the present invention;

Fig. 3 is that OCN webpage window member of the present invention expands logic diagram;

Fig. 4 is browse engine label extended block diagram of the present invention;

Fig. 5 is the embedded TV programme playback interface of the present invention block diagram;

Fig. 6 is VOD video request program design framework figure of the present invention;

Fig. 7 is entire system translation process flow diagram of the present invention.

Embodiment

Because OCN network head end main body is to adopt the agreement of HTML4.0 to realize, increase a lot of privately owned attribute of oneself, label and operation push-button method.On this characteristic basis, rely on the characteristic that the upper browse engine webkit of android increases income, this resolving is optimized based on traditional webkit browser, refine.

Build schematic diagram based on android CHINA RFTCOM Co Ltd browser middleware system as shown in Figure 1, in traditional webkit browse engine, several adjustment are done, supplementing, is all mainly convenient in order to resolve OCN head end network system, also facilitates the integral translation of follow-up same work simultaneously.Because be independently to extract webkit browse engine from intelligent terminal platform, make the installable application bag of a standard, therefore need independent webkit browse engine, make oneself a browser based on webkit.Similarly exactly on android platform, Baidu is installed, UC browser is the same, and platform has browser and the browse engine of oneself, UC browser installation kit retained equally a set of oneself.Independent like this, can facilitate Intelligent set top box to erect rapidly the OTT service end based on OCN business characteristic.

Step is specific as follows:

1) construct the framework middle layer of the browse engine of NDK environment, the interactive interface that the design of framework middle layer has comprised 2, with the interface alternation interface of browser upper layer application and with the information control interface of browse engine webcore:

A: with browser upper layer application interface, main design creates webview class in java territory main part, and design upper layer application is for the frame of webpage, and the control of controller realizes part.Construct the customer service port of browser, Context resolution is carried out in the url address connecting for needs simultaneously;

B: the information control interface design with browse engine kernel webcore, mainly design webview, the C++ territory theme of webviewcore is realized, and mode is mainly the JNI interface mode by NDK, realizes the mutual control in browse engine and user middle layer.Webview class JNI interface is mainly realized user terminal device is operated to control interface, and such as mouse moves click location response, the content of pages that browse engine is loaded corresponding sliding position loads renewal; Mouse or the touch control page amplify, scaled down control operation; The functional interface controls such as the refresh operation that touch control page left and right moves up and down.Also need to construct the opposite direction information control interface that needs proactive notification page user such as browse engine, point out current click focus, the operation of highlighted focus simultaneously; Search operation in webpage is provided; Text input box operation is provided; Provide browse engine to draw operation; Provide browse engine from destroying interface.Webviewcore class is constructed provides the function of father net page JS server interface, and JS unloading, loads, and confirms break in service interface; The drafting service of webviewcore layer is provided; The bidirectional interface services such as key-press event service interface are provided;

2) realization of Webcore physical layer interface, webcore physical layer interface is directly to serve webkit bottom browse engine core webcore, and interface service is also formed a connecting link, and holding is link framework middle layer; Opening is down link browse engine webcore core library.The content of holding is with the mutual description in framework middle layer.For opening lower design, mainly comprise design part below:

A: the operation-interface method that provides kernel to refresh content of pages, figure layer is drawn interface;

B: the more browse engine interface method of new literacy input is provided;

C: mouse rollovers is provided, touches sliding position information operation is provided;

D: the ingress interface that provides focus service logic to calculate;

E: the multithreading cache mechanism service of loading the page is provided;

F: provide and construct frame, page, dom, layout tree triggers the machine-processed interface service of structure;

G: the anchor element interface that browse engine is provided;

H: provide JS, CSS analysis service operation mechanism.

3) browse engine loaded web page, filters the page and uses element design.In page loading process, utilize the page that browse engine core is used to load cache mechanism.Draw for OCN particular service focus, JS heavy duty service is provided.Be mainly the focal position singularity of OCN webpage, and because process is improved in the part of webkit browse engine development, need to provide browse engine to draw specially service for the focus of special Page Service.This service operates to realize by heavily loaded JS;

The method specific implementation logic, is described as follows with example

I: in the time of the request of webkit cache loaded resource, when running to exactly CachedResourceLoader::requestResource method, load path and the file name judgement of file, if (resourceURL=="/InfoBetPortal/js/pages/index/STB2.js ");

II: if judge this sole criterion position success, allow browse engine load local adjusted JS file, urllocal=m_document->completeURL (" file: ///data/www/js/STB2.js "); The local resource mark of reloading is set simultaneously

needlocalstb2js=true;

III: from new loading resource operation

if(needlocalstb2js==true)

{

needlocalstb2js=false;

resource?=?loadResource(type,?urllocal,?charset,?priority);

}

4) loading after end-of-page, browse engine builds various trees, and incident management mechanism is provided.We create the JS function class service interface of OCN serving web page in building dom tree.This service is also two-way control interface, and the JS that interface function has realized multiple modules controls, and mainly comprises embedded televising, embedded VOD program request, MP3, the design of SIP service interface.Simultaneously also for OCN page business expansion in future provides interface reserved service.Here we are emphasize this Interface Expanding functional, and the method for expansion is commonsense method.

5) because VOD interface function is also from the public class object operation of JS window, therefore can design at this

Embedded VOD playing module.This partial design more complicated, has mainly realized several modules below,

A: the signal controlling mechanism of design based on V8 JS engine, when being mainly VOD program request, whether monitor unanimously in connection status.

B: when design VOD program request, control panel JS is to VOD Play Control interface.

C: the VOD by DOM window object class controls expansion, docks the core library that actual VOD realizes.

The realization of D:VOD core library, comprises VOD initialization, and when closing, whether resource, and VOD program request is opened, suspend, and broadcast state control, and correct time point program Play Control etc.

E: VOD storehouse is integrated into browse engine core library together.

6) construct the privately owned label of html element element, mainly construct embedded label of televising, and the label of embedded VOD program request.Mainly construct label and mainly design three of realizations below:

A: what tag design was corresponding plays up link partly;

B: obtain the window's position information of the broadcasting of element, pass to and play up part;

The initial setting up of C:TV broadcast state, and state control;

7) newly-increased label is played up partial design, mainly designs embedded television playing interface, and the Uniting of interface.Mainly construct several modules below:

A: obtain embedded the window's position information of televising, and be set to layout layout seeds;

B: draw paint interface, open embedded radio and television playback interface.

C: design embedded radio and television resource realizing interface playing up in analysing structure.

D: embedded radio and television interface is constructed in unification, for the interface of browse engine is constructed in different hardware platform unifications, main realization play unlatching, and broadcasting stops, and broadcasting suspends, volume control when broadcasting, broadcast window setting, broadcast state control.This core library is put into browse engine storehouse.

E: the platform of constructing embedded video playback is realized interface, by initialization array of function pointer correspondence rule one by one in browse engine, the interface that platform is realized is transferred in the C++ territory of android platform framework layer and realizes, and chip platform is easy to the chip TV broadcasting function interface of the linux system realization of oneself to be incorporated in this layer by the JNI interface of oneself like this.

Building in adjustment, in the time of browse engine structure dom tree, the public function of windows object that structure head end webpage JS uses.Because head end JS directly uses window object member, so can only realize in this part.

In the time that browse engine is filtered html element element, create the distinctive label of head end webpage.

In the time that browse engine is played up html element element, design Android system bottom playback interface, backstage unlatching new task meets the broadcasting demand of this embedded TV.This part is the emphasis of technological innovation, and the privately owned label of embedded TV is most important functions, realizes and has adopted Integral design, has both accomplished technical know-how, has also facilitated overall project translation.

Design VOD program request RSTP interface, meets the video on-demand function that OCN runs.This part is also the emphasis of design, has also adopted integrated design, has taken into account technical know-how and technology integral translation.

Use as shown in Figure 2 browser and conventional browser framework comparison diagram after system adjustment of the present invention, in fact by the whole development of NDK, directly generate the android installation kit of overstating platform, only bag need to be arranged on to different android hardware platforms just passable; And do not need the traditional browse engine exploitation of picture, need to carry out profound system development for Target Board system, and change platform, or the upgrading of android platform, can only consider to remigrate system differentiation code; Save so great release maintenance, transplanted large batch of code transplanting work, only needed directly to install an android apk bag and just can.Refine on traditional Development of Web Browser basis, particularly frequently upgrade for android platform and the follow-up browser service that provides with compensation of follow-up android platform is provided, the browser that independent exploitation has own particular service becomes the emphasis of this patent.This adjustment has also been done great optimization to the production and processing of Intelligent set top box simultaneously, and manufacturer produces box just by all means, and the middleware of the radio network thus GUI of browser intermediate system Android system is realized.Greatly facilitate like this Development and Production link, be conducive to radio, TV and film industries intelligentized universal rapidly.

When structure dom tree, create window member object, OCN webpage window member expands logic diagram as shown in Figure 3, this design adopts bi-directional data business transferring, and design the data exchange ways with JS based on browse engine, traditional browser is different with JS interaction data before, traditional interactive mode is the function listening mode that increases JS on upper strata, and conventional data exchange mode can only be limited to browser java upper strata and JS carries out alternately.Adopt engine directly and JS mutual, be more convenient for follow-up development, provide convenience for follow-up in functions such as android Intelligent set top box exploitation video are shared.

Be described as follows with example, for window class members expansion,

1) DOMWindow class is browse engine acquiescence class object, on this basis extension class entrance

2) in DOMWindow.h, increase public member CCXJShow * jshow () const;

3) in DOMWindow.cpp, realize

4) class object of the realization of CCXJShow.cpp main body and CCXJShow.h is stated in WebCore core, and structure comprises the control generic attribute object of private, and public function realizes generic operation.For all expansions of the member based on this class object of Function Extension, be exactly that this type of adds many power function methods.

5) design bi-directional data transmitting function, such as the mode of operation interface function for special web page definition different key, we redefine the button operation of webpage JS with this interface, or we can obtain headend service information by interface function below,

NGBSystemInfo?systemInfo();

The design of bidirectional transfer of information can meet the functional requirement of webpage JS to Set Top Box, also can facilitate the state of Set Top Box to server page, controls the monitoring of parameter.

6) this class object is added in webcore core compiling mk file and participates in the compiling of webcore core library, in the android.mk of webcore

LOCAL_SRC_FILES :=under increase

page/?CCXJShow.cpp

This design and conventional HTML window member extension class are seemingly, in the time of engine configuration dom tree, create this expansion interface, can in the time that HTML/JS calls, do one simultaneously and be confirmed whether to create action, if created, unified interface before returning, otherwise create a new JS interface system.

This interface system be design can extend type, facilitate follow-up head end server system extension, mainly supported at present several interface functions below.In other words follow-uply to develop video communication, can expand by this common platform interface.

The signal controlling that VOD control, TV Play Control, VOD are play, these 3 are actually and are incorporated into a unified class object the inside, belong to the difference in functionality member piece of same class, and the object of this design is also to belong to the special realization of radio, TV and film industries server.Mainly because the service of radio, TV and film industries is all to realize by html page, and control be all positioned at current page institute the JS that uses inside.So need to do this unified functional interface adjustment.

Expand block diagram as shown in Figure 4 for browse engine label, first browse engine webcore initialization construction process, rear design engine filters the linking point of html tag, then carries out the privately owned tag body of HTML and realize, and finally carries out the privately owned label of HTML and plays up and draw.Html tag is the important protocol ingredient of HTML, such as the most frequently used a label etc.Because OCN server page has used many privately owned labels, so label need to be expanded.Simultaneously carry out necessary expansion for the attribute of label, because android difference in version can cause using webkit difference in version, thus there is the requirement of the privately owned attribute of extension tag, particularly for the onfocus attribute of a label.

Be described as follows with example, for the expansion of the privately owned label of HTML, and for the attribute extension of HTML universal tag,

Expand for label

1) first to increase the corresponding relation of tag and corresponding html element element

Source/WebCore/html/HTMLTagNames.in

tv?interfaceName=HTMLTVElement

vod?interfaceName=HTMLVODElement

2) then the part of the HTML under webcore increases corresponding html element element structure file, realizes the structure of HTMLTVElement.cpp and HTMLTVElement.h class object, and HTMLTVElement object is also the member of WebCore territory core classes.

3) realize class members's the method such as privately owned state variable and publicly-owned window information interface.

For attribute extension, take the onfocus attribute of A label as example, care label attribute expansion method.

1) in the host process of browser java territory, realize property operations method, can not in webview class, realize, otherwise can throw abnormal.

2) method that design broadcast triggers in browser host process, because the webview class object that only has current page could do legal webview method operation at upper strata UI, so the controller designing by host process obtains the webview class object of the work of current page;

3) whether the onfocus attribute that judges current a label in webcore exists and triggers;

4) carry out and trigger function design, in webviewcore class object, design ngbintrigufocus, by calling the information broadcast function in webview, onfocus is upgraded to broadcast transmission to java territory.

Embedded TV programme playback interface design, is one of 2 cores of whole browse engine design, and another one design core is VOD video request program.Mentality of designing has embodied simplification and integral translation convenience.This partial design block diagram as shown in Figure 5.

As follows as the global design of example specification interface take embedded video playback, all the other functional interfaces are similar:

1, color applying drawing is introduced the entrance that TV plays;

2, D_AV_PlayAuto and platform SDK, NgbBrowserAvPlayAuto Interface design,

3, the overall initialization of ADAPTER_STB_MODULE function class interface is set, encapsulates the play function of browse engine just and be transferred to the SDK interface function of chip platform by this.

Take VOD broadcasting as example illustrates the global design of embedded TV programme interface as follows, all the other functional interfaces are similar:

1, the window class object of design JS

2, realize VOD broadcast core storehouse

3, state extern int DVMI_VodHfcPlayStart (DVMI_VOD_HFC_PLAY_INFO * tInfo) by outside; Carry out the stream stream analyzer of chip platform;

4, the agreement of RTSP realizes, the SM of compliant server end, 2 kinds of patterns of VS; The initialization RTSP_DealWithCmdAckTask response task of receiving orders, need to open the memory headroom of 100K; Initialization RTSP_TCP_DataRecvSMTask data receiver task, also needs to open 100K internal memory, if VS pattern creates RTSP_TCP_DataRecvVSTask data receiver task.For the ACK response mode of OCN network VOD 2.0 Protocol Design differences, broadcast mode.

Simplification, for follow-up each platform unified interface, initiatively constructs bidirectional interface class by browse engine and encapsulates, and other platforms only need to meet this bidirectional interface encapsulation.This is to realize than being easier at android platform.

Integral translation, the DVB interface that browse engine unification is packaged into is configured to independent .so storehouse, and this storehouse, along with browse engine integrated moving, can be put in the lib storehouse of browse engine.This lib storehouse will comprise several core libraries realizes or bank interface, and the core library that VOD realizes also can will be put into this storehouse, and this storehouse also can comprise core library and the JS parsing storehouse of browse engine certainly.

Change Interface design and mainly comprise several main functions below: start to play DVB; Stop playing DVB;

When playing DVB, Sound control is adjusted; Repeat playing; The window size of playing.

VOD video request program design, this part is one of this patented invention Core Feature, and because VOD video request program is based on RTSP agreement, and RSTP is the ICP/IP protocol of standard, so part completely stand-alone development realizes, and does not rely on third party's hardware platform or software platform.The thinking of design has also embodied simplification and integral translation convenience.Because the Play Control of VOD is to realize by the direct call windows of HTML/JS member function, so partial design is a very complicated communication process.Shown in VOD video request program design framework Fig. 6.

Simplification, for follow-up each platform unified interface, browse engine directly comprises constructs the encapsulation of this part of interface and the realization of core library, can safeguard separately like this this multicast function upgrade job below.

Integral translation, browse engine unification is packaged into the core library that VOD realizes, and core library is put into in storehouse.

Also supported by signal task because VOD plays agreement simultaneously, although this part be RTSP standard agreement, operate and process be complexity too in fact.The establishment of signal task and structure are the same with window interface function, are all that the frame unit based on browse engine usually creates.This partial design is to realize the key point of these 2 cores.

VOD program request provides service below: the initialization of VOD kernel; VOD resource discharges; VOD plays unlatching; VOD Play Control, such as time-out, F.F., rewind down; The fixed time point of VOD broadcast program.

The exploitation of integral translation convenience, this part is the pith of whole patented invention, has not only supported convenient system translation, has also strengthened the software kernels technical know-how of whole design simultaneously.But this partial design is the conventional process of Development of Web Browser, very special technical threshold, after global design, can not facilitate the signature of system like this, when system is moved, protects.Design framework process flow diagram as shown in Figure 7, most importantly develop here by the bidirectional interface of NDK, and this part consumes debug time very much.

Provide standard interface to call to android GUI, this partial design is mainly to consider that whole broadcasting and TV middleware of set top box function realizes, and need to provide standard interface to GUI applying portion in browse engine, is so conveniently applied in java layer and directly calls the use page.Design has greatly facilitated the interface of Set Top Box like this, and middleware only needs to have considered separately launcher interface just.The part that this part designs is as a whole also to realize the simplest part.Construct a java class just can, the webpage entrance function that meets business demand is provided.

Claims (4)

1. based on an android CHINA RFTCOM Co Ltd browser middleware system construction method, it is characterized in that, specifically comprise the steps:
1) extract webkit browse engine, construct on this basis browse engine user interface and the browse engine framewor middle layer based on android, comprise with the interface alternation interface of browser upper layer application and with the information control interface of browse engine webcore;
2) on webkit browse engine basis, build Webcore physical layer interface, upwards link framework middle layer, link browse engine webcore core library downwards;
3) on webkit browse engine basis, loaded web page, filtering web page element;
4) after loaded web page finishes, in webkit browse engine, build dom tree, structure and the public function class of windows object that expansion head end server page JS uses, make webkit browse engine directly and JS interaction data simultaneously;
5) design embedded VOD playing module;
6) on webkit browse engine basis, increase HTML protocol label, carry out privately owned label expansion;
7) on webkit browse engine basis, play up newly increasing HTML protocol label, construct corresponding privately owned label element play up part;
8) design VOD program request RSTP interface, unifies to encapsulate and set up storehouse to the each several part interface of constructing in browse engine;
9) by interface library with adjust after browse engine together with dress up VOD realize core library.
2. according to claim 1 based on android CHINA RFTCOM Co Ltd browser middleware system construction method, it is characterized in that, described step 4) structure and the public function class of windows object of expanding head end server page JS use, constitution step is as follows:
A) DOMWindow class is browse engine acquiescence class object, on this basis extension class entrance;
B) in DOMWindow.h, increase public member CCXJShow * jshow () const;
C) in DOMWindow.cpp, realize;
D) class object of the realization of CCXJShow.cpp main body and CCXJShow.h is stated in WebCore core, and structure comprises the control generic attribute object of private, and public function realizes generic operation;
E) design bi-directional data transmitting function, redefine the button operation of webpage JS, obtain headend service information by interface function;
F) object is added in webcore core compiling mk file and participates in the compiling of webcore core library.
3. according to claim 1 based on android CHINA RFTCOM Co Ltd browser middleware system construction method, it is characterized in that, described step 5) designs embedded VOD playing module and specifically comprises:
The window class object of A, design JS;
B, realize VOD broadcast core storehouse;
C, state extern int DVMI_VodHfcPlayStart (DVMI_VOD_HFC_PLAY_INFO * tInfo) by outside; Carry out the stream stream analyzer of chip platform;
The agreement of D, RTSP realizes, the SM of compliant server end, 2 kinds of patterns of VS; The initialization RTSP_DealWithCmdAckTask response task of receiving orders, need to open the memory headroom of 100K; Initialization RTSP_TCP_DataRecvSMTask data receiver task, also need to open 100K internal memory, if VS pattern creates RTSP_TCP_DataRecvVSTask data receiver task, for the ACK response mode of OCN network VOD 2.0 Protocol Design differences, broadcast mode.
4. according to claim 1 based on android CHINA RFTCOM Co Ltd browser middleware system construction method, it is characterized in that, described step 6) is carried out privately owned label spread step:
1) first to increase the corresponding relation of tag and corresponding html element element;
2) then the part of the HTML under webcore increases corresponding html element element structure file, realizes the structure of HTMLTVElement.cpp and HTMLTVElement.h class object, and HTMLTVElement object is also the member of WebCore territory core classes;
3) realize class members's privately owned state variable and publicly-owned window information interface;
4) extension tag attribute is defined.
CN201410121709.7A 2014-03-28 2014-03-28 Android based radio and television network browser middleware system constructing method CN103902293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410121709.7A CN103902293B (en) 2014-03-28 2014-03-28 Android based radio and television network browser middleware system constructing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410121709.7A CN103902293B (en) 2014-03-28 2014-03-28 Android based radio and television network browser middleware system constructing method

Publications (2)

Publication Number Publication Date
CN103902293A true CN103902293A (en) 2014-07-02
CN103902293B CN103902293B (en) 2017-02-01

Family

ID=50993636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410121709.7A CN103902293B (en) 2014-03-28 2014-03-28 Android based radio and television network browser middleware system constructing method

Country Status (1)

Country Link
CN (1) CN103902293B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357589A (en) * 2015-09-18 2016-02-24 成都视达科信息技术有限公司 STB (Set Top Box) key control processing system and method
CN105933766A (en) * 2016-01-21 2016-09-07 上海东方明珠新媒体股份有限公司 WebOS system based on set top box and set top box
CN106331860A (en) * 2015-06-25 2017-01-11 中兴通讯股份有限公司 Set-top box business adaptation method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131103A (en) * 2011-01-27 2011-07-20 苏州汉辰数字多媒体有限公司 GoogleTV-based 'Internet television' management platform for radio and TV
CN202818526U (en) * 2012-09-28 2013-03-20 天津铂创国茂电子科技发展有限公司 Android application Loader download management system facing broadcast and TV service providers
CN102929941A (en) * 2012-09-29 2013-02-13 四川长虹电器股份有限公司 Sliding loading method for Web page based on Android platform browser

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331860A (en) * 2015-06-25 2017-01-11 中兴通讯股份有限公司 Set-top box business adaptation method, device and system
CN106331860B (en) * 2015-06-25 2020-06-16 中兴通讯股份有限公司 Method, equipment and system for service adaptation of set top box
CN105357589A (en) * 2015-09-18 2016-02-24 成都视达科信息技术有限公司 STB (Set Top Box) key control processing system and method
CN105933766A (en) * 2016-01-21 2016-09-07 上海东方明珠新媒体股份有限公司 WebOS system based on set top box and set top box

Also Published As

Publication number Publication date
CN103902293B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US10509548B2 (en) System and method for flexible configuration of a controlling device
US9696972B2 (en) Method and apparatus for updating a web-based user interface
CN105122177B (en) The system and method that user monitoring and purpose determine
JP5952301B2 (en) Apparatus and method for remotely controlling peripheral devices in a mobile communication terminal
CN202931390U (en) Household internet of things monitoring system based on built-in Linux
US20180376099A1 (en) Remote controller and method for controlling screen thereof
Guerrero-Garcia et al. A theoretical survey of user interface description languages: Preliminary results
US9201631B2 (en) Method and system for providing content
Kramer et al. Hacking the kinect
CN100587658C (en) Task-based interface capable of searching control template function
CN100435094C (en) System and method for building mixed mode execution environment for component applications
CN1790326B (en) System for synchronizing natural language input element and graphical user interface
CN103810233B (en) Content management
KR20110116201A (en) Television-based advertising and distribution of tv widgets for the cell phone
CN101480019B (en) Composition of local user interface with remotely generated user interface and media
US20040210933A1 (en) User interface for a remote control application
CN101490656B (en) Method for registration of applications and complimentary features for interactive user interfaces
EP2662769A1 (en) Cloud logistics
US20070055390A1 (en) Extensible universal home automation integration framework and user interface
CN103608799B (en) Automatic user interface object transformation and code building
CN106383456A (en) A method and a man-machine interface
CN103942943A (en) Communication transit system and infrared transit smart home system adopting same
US8478850B2 (en) Platform component architecture (PCA)-based system, method and application designer
CN105531670A (en) Smart mobile application development platform
ES2659038T3 (en) Configuration interface for a programmable multimedia controller

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
TR01 Transfer of patent right

Effective date of registration: 20200511

Address after: 201203 No. 2860, Jinke Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: ORIENTAL CABLE NETWORK Co.,Ltd.

Address before: 200032 Shanghai city Xuhui District xiaomuqiao Road No. 681 by building 19 floor

Patentee before: SHANGHAI NGB LABORATORIES Co.,Ltd.

TR01 Transfer of patent right