CN103677824A - OTT terminal solution based on customized browser - Google Patents

OTT terminal solution based on customized browser Download PDF

Info

Publication number
CN103677824A
CN103677824A CN201310660577.0A CN201310660577A CN103677824A CN 103677824 A CN103677824 A CN 103677824A CN 201310660577 A CN201310660577 A CN 201310660577A CN 103677824 A CN103677824 A CN 103677824A
Authority
CN
China
Prior art keywords
browser
customizing
solution based
android
ott terminal
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
CN201310660577.0A
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.)
WUXI YSTEN TECHNOLOGY Co Ltd
Original Assignee
WUXI YSTEN 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 WUXI YSTEN TECHNOLOGY Co Ltd filed Critical WUXI YSTEN TECHNOLOGY Co Ltd
Priority to CN201310660577.0A priority Critical patent/CN103677824A/en
Publication of CN103677824A publication Critical patent/CN103677824A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an OTT terminal solution based on customized browser. The fact that a Linux system browser engine is transplanted to an Android system, and further function customization and optimizing are carried out is achieved through the technological means that a compiling system of the browser engine which can be used in a Linux system is modified, a program implementation file in the Android system is complied, a compiling system of a third-party base needed by the browser engine is modified, and external interface codes of the browser engine are modified. Displaying of the Linux system and the Android system can be compatible, software in the Linux system can be conveniently transplanted to the Android system, and Android systems and APIs of different versions can be compatible.

Description

OTT terminal solution based on customizing browser
Technical field
The present invention relates to the linux system of OTT terminal and the compatibility method of Android system, specifically a kind of OTT terminal solution based on customizing browser.
Background technology
In November, 2012, millet issue OTT Set Top Box, halted after one week, in March, 2013, millet associating CNTV successfully brings back to life box.OTT terminal is made popular by market thus, and Ge great Internet firm issues the OTT terminal of oneself in succession.Happy depending on having issued after C1, C1S two Set Top Box, in May, 2013, issued first super TV X60.In September, 2013, millet, like that strange skill, Ali's philosophy release Own Brand televisor, the conventional television manufacturer release new architecture that also follows up.
On August 1st, 2013, State Council prints and distributes < < " broadband China " strategy and embodiment > >, the operators such as telecommunications, movement, UNICOM have started region action, bandwidth operator among the people etc. also get involved competition, accelerated layout and the enforcement of broadband market, this has just little by little met the requirement of OTT service to broadband speeds.Therefore, each operator starts to proceed to open OTT from the IPTV of sealing, and has carried out various trials.
OTT terminal form mainly contains two kinds, Set Top Box and televisor.Which kind of form no matter, its operating system was mainly the embedded systems such as Linux originally.In November, 2007, Google and 84 hardware manufacturer, software developer and the open handheld device of establishment alliances of telecom operators research and develop improvement Android system jointly, subsequently, Google has issued the source code of Android, in May, 2010, Google issued a new product G oogle TV, and in listing in autumn then.OTT terminal enters the intelligence epoch thus, and domestic big or small manufacturer has released Set Top Box or the televisor of the Android system of oneself one after another.
So the current OTT terminal that exists a large amount of Linux and Android, the terminal of Linux is mainly present in IPTV network, and each is runed commercial city and by upgrading, is making OTT terminal into gradually.And new intelligent OTT terminal major part is all used Android system, and Android is widely used, and becomes the new standard of intelligent OTT terminal.
The OTT terminal of current each manufacturer does not all accomplish to take into account linux system and Android system, main cause is that the display system of linux system is mainly browser, its framework mostly is BS, and the display system of Android system is not limited to browser, also have a lot of local demonstrations, its framework mostly is CS.
Mainly there is following problem in present stage:
The demonstration incompatibility problem of 1.Linux system and Android system, causes linux system software transplanting after Android, need to from the beginning develop.
2.Android system version is too many, and between version, has incompatibility problem, causes the exploitation of each version different, needs a large amount of developers.
3. each manufacturer is all at the Android system API of customization oneself, and the terminal that causes each manufacturer is distinguishing, and exploitation need to be made corresponding modification for manufacturer.
The terminal of 4.Android system is a lot, and resolution also has several, causes user in each terminal experience and show inconsistent.
5.Linux system and Android system are very different on showing, cause the browser on linux system can not be applied directly in Android system, need a large amount of modifications.
Browser in 6.Linux system, after being transplanted to Android system, does not directly use the demonstration of Android system, causes the browser transplanted in Android system slow.
Summary of the invention
The present invention proposes a kind of OTT terminal solution based on customizing browser, the linux system and the incompatible variety of issue causing of Android system that to solve existing OTT terminal technology, exist.
Technical scheme of the present invention is achieved in that
An OTT terminal solution based on customizing browser, comprises the following steps:
The compiling system of the browser engine that a. can use on linux system is modified, for running on the program compilation of Android system;
B. with reference to the relation between the code of the described browser engine on linux system, the program of writing in Android system realizes file;
C. the compiling system of revising the third party library of described browser engine needs, compiles out static library available in Android system;
D. revise the external interface code of described browser engine.
Wherein, described browser engine is webkit browser engine.
Wherein, described compiling system is cmake or aotutools.
Wherein, described third party library is curl, cairo, fontconfig, freetype, icu, jpeg, png, xml2 or sqlite3.
A kind of concrete scheme is that when described compiling system is cmake, described step a is the CMakeLists file with reference to the cmake of Efl or GTK platform, writes new CMakeLists file for running on the program compilation of Android operating system.
Preferred version is, also comprise customizing functions step after described steps d, described customizing functions step makes the Function Extension of Javascript can be expanded or be realized by being built into mode in DOM label by Plugin mode the Function Extension of Javascript by revising Plugin expansion interface mode.
Preferred version is, described customizing functions step comprises by the mode of Plugin or the mode of built-in Java object and realizes mutually calling between Java and Javascript.
Preferred version is, also comprises that Optimization Steps, described Optimization Steps comprise demonstration Graphics is modified after described customizing functions step, all pictures all carried out to buffer memory, and directly decode in the hardware internal memory of local system.
Preferred version is, also comprise that Optimization Steps, described Optimization Steps comprise by directly calling OpenGLES2.0 or showing by revising this locality that third party library uses the method for OpenGLES2.0 to realize Android system indirectly after described customizing functions step.
Beneficial effect of the present invention is:
The present invention has solved the problem that existing OTT terminal faces well:
The demonstration of 1.Linux system and Android system can be compatible, and the software on linux system has been transplanted in Android system easily.
2.Android system version is too many, and between version, has incompatiblely, can move the browser of same customization on the different editions of Android.
3. each manufacturer is all at the Android system API of customization oneself, and the difference between these API can be compatible in the browser of customization.
The terminal of 4.Android system is a lot, and resolution also has several, and the browser customizing for different resolution can show same content.
5.Linux system and Android system are very different on showing, the browser of customization has been compatible Linux and the API of Android system, can in two systems, use same code.
Browser in 6.Linux system, after being transplanted to Android system, does not directly use the demonstration of Android system, and the browser of customization is when optimizing, and this locality that has increased Android system shows.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram that is related between Webkit browser engine code;
Fig. 2 is the schematic diagram that is related between Webkit browser engine and third party library;
Fig. 3 is the position view of interface code;
Fig. 4 is the position view of Plugin;
Fig. 5 is the schematic diagram that calls between Java and Javascript;
Fig. 6 is cross-domain access schematic diagram between HTML in Web;
Fig. 7 is failed download retry procedure schematic diagram;
Fig. 8 is that Javascript is to carrying the schematic diagram that calls of player in Android system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Technological core of the present invention is customizing browser, optimizes browser, so that compatible operating system, display engine and system architecture etc. well.The browser of the present embodiment is customize and optimize on the basis of the Webkit browser engine of increasing income.Webkit browser engine has source code structure clearly, and therefore the rendering speed being exceedingly fast is transplanted and safeguard all more convenient in embedded system.
The present embodiment is mainly three aspects, transplanting, customizing functions and optimization to the modification of Webkit browser engine.First be to transplant, its detailed step is as follows:
A. the compiling system of webkit browser engine is modified, for running on the program compilation of Android system:
The source code of downloading webkit browser engine from www.webkit.org website, this can need a period of time, preferably uses git Version to download.
Revise the compiling system of webkit browser engine: compiling system mainly contains four at present: autotools, cmake, xcode and vc.Wherein autotools and cmake can be used on linux system, and the writing and generate all than the easy understanding of autotools of cmake, and therefore selecting cmake is the compiling system of transplanting Webkit browser engine.Using at present the four platforms that has of cmake compiling system: Efl, WinCE, BlackBerry and GTK, wherein Efl and GTK can be used on linux system, therefore can, with reference to the CMakeLists file of these two cmake compiling systems, write new CMakeLists file for running on the program compilation of Android operating system.
B. with reference to the Webkit browser engine on linux system, realize, as the relation between the Webkit browser engine code of Fig. 1 demonstration, the program of writing in Android system realizes file.Here mainly concentrate on the program file that platform is relevant, and be mainly wherein the modification of two aspects, one is to show graphics, and one is event Event.
C. the compiling system of revising the third party library of browser engine needs, compiles out static library available in Android system:
Download the third party library that Webkit browser engine needs, as Fig. 2 shows the relation between Webkit browser engine and third party library.The third party library that Webkit browser engine uses is all the storehouse of increasing income, and therefore can download source code, and revise its compiling system, compiles out static library available in Android system.For convenient, revise and compiling third party library, the present embodiment has rewritten the compiling system of all third party libraries of using by cmake compiling system.Third party library is mainly curl, cairo, fontconfig, freetype, icu, jpeg, png, xml2, sqlite3 etc.
D. revise the external interface code of browser engine:
Revise the external interface code of Webkit browser engine, so that can in Android system, use, as the position of Fig. 3 display interface code.The present embodiment mainly Efl based on Webkit1 realize to be revised, most of built-in browser use less than code all remove, and it is simpler, conveniently to revise API.Also can modify targetedly according to actual needs.
Transplant Webkit browser engine after Android system, also need to carry out customizing functions, so that develop better OTT end product, customizing functions step makes the Function Extension of Javascript can be expanded or be realized by being built into mode in DOM label by Plugin mode the Function Extension of Javascript by revising Plugin expansion interface mode.
The present embodiment is expanded Javascript function by the mode of Plugin, and the function of increase is as follows:
Function 1: revise Plugin expansion interface mode, the expansion of Javascript can be expanded by Plugin mode, as Fig. 4 shows the position of Plugin.
Function 2: by the Plugin mode of revising, realize Android operating system program and write the language Javascript that writes of language Java and Web program and directly mutually call, as Fig. 5 shows calling between Java and Javascript.
Function 3: as shown in Figure 6, realize in Web the function of cross-domain access between HTML.
Function 4: as shown in Figure 7, realize when network is downloaded Web resource, the function of retry after failure, can be increased in network when bad, the successful probability of resource downloading like this.
Function 5: as shown in Figure 8, increase Javascript to carrying calling of player in Android system by function 2, and increase to return and call.
After customizing Web kit browser engine, the required all functions of OTT terminal can have been completed, but the efficiency of operation also needs further raising, therefore also need the Webkit browser engine of customization to carry out necessary optimization, especially aspect demonstration Graphics, the present embodiment has mainly been revised 2 points:
1. demonstration Graphics is modified, all pictures are all carried out to buffer memory, and directly decode in the hardware internal memory of local system, when picture is shown, can improve significantly display efficiency like this.
2. by this locality of directly calling OpenGLES2.0 or indirectly use the method for OpenGLES2.0 to realize Android system by modification third party library, show.In Android system, directly use the display system OpenGLES2.0 carrying can further improve the efficiency of demonstration.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. the OTT terminal solution based on customizing browser, is characterized in that, comprises the following steps:
The compiling system of the browser engine that a. can use on linux system is modified, for running on the program compilation of Android system;
B. with reference to the relation between the code of the described browser engine on linux system, the program of writing in Android system realizes file;
C. the compiling system of revising the third party library of described browser engine needs, compiles out static library available in Android system;
D. revise the external interface code of described browser engine.
2. a kind of OTT terminal solution based on customizing browser as claimed in claim 1, is characterized in that, described browser engine is webkit browser engine.
3. a kind of OTT terminal solution based on customizing browser as claimed in claim 2, is characterized in that, described compiling system is cmake or aotutools.
4. a kind of OTT terminal solution based on customizing browser as claimed in claim 3, is characterized in that, described third party library is curl, cairo, fontconfig, freetype, icu, jpeg, png, xml2 or sqlite3.
5. a kind of OTT terminal solution based on customizing browser as claimed in claim 4, it is characterized in that, when described compiling system is cmake, described step a is the CMakeLists file with reference to the cmake of Efl or GTK platform, writes new CMakeLists file for running on the program compilation of Android operating system.
6. a kind of OTT terminal solution based on customizing browser as claimed in claim 5, it is characterized in that, also comprise customizing functions step after described steps d, described customizing functions step makes the Function Extension of Javascript can be expanded or be realized by being built into mode in DOM label by Plugin mode the Function Extension of Javascript by revising Plugin expansion interface mode.
7. a kind of OTT terminal solution based on customizing browser as claimed in claim 6, it is characterized in that, described customizing functions step comprises by the mode of Plugin or the mode of built-in Java object and realizes mutually calling between Java and Javascript.
8. a kind of OTT terminal solution based on customizing browser as claimed in claim 6, it is characterized in that, after described customizing functions step, also comprise Optimization Steps, described Optimization Steps comprises modifies demonstration Graphics, all pictures are all carried out to buffer memory, and directly decode in the hardware internal memory of local system.
9. a kind of OTT terminal solution based on customizing browser as claimed in claim 6, it is characterized in that, also comprise that Optimization Steps, described Optimization Steps comprise by directly calling OpenGLES2.0 or showing by revising this locality that third party library uses the method for OpenGLES2.0 to realize Android system indirectly after described customizing functions step.
CN201310660577.0A 2013-12-06 2013-12-06 OTT terminal solution based on customized browser Pending CN103677824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310660577.0A CN103677824A (en) 2013-12-06 2013-12-06 OTT terminal solution based on customized browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310660577.0A CN103677824A (en) 2013-12-06 2013-12-06 OTT terminal solution based on customized browser

Publications (1)

Publication Number Publication Date
CN103677824A true CN103677824A (en) 2014-03-26

Family

ID=50315491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310660577.0A Pending CN103677824A (en) 2013-12-06 2013-12-06 OTT terminal solution based on customized browser

Country Status (1)

Country Link
CN (1) CN103677824A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618437A (en) * 2014-12-31 2015-05-13 成都卓影科技有限公司 Adaptation method for android terminal device system setting interface
CN107341038A (en) * 2017-07-26 2017-11-10 成都三零盛安信息系统有限公司 Compatible processing method, device and electronic equipment
CN109542437A (en) * 2018-11-16 2019-03-29 北京科罗菲特科技有限公司 A kind of HMI development approach based on Linux built-in browser
CN109714642A (en) * 2018-12-29 2019-05-03 深圳Tcl数字技术有限公司 Linux application multiplexing is in the method for intelligence system, smart television and storage medium
CN112783597A (en) * 2021-02-03 2021-05-11 金蝶蝶金云计算有限公司 Remote desktop implementation method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937356A (en) * 2010-09-15 2011-01-05 青岛海信移动通信技术股份有限公司 Method for compiling WebKit browser and device thereof
WO2011130651A1 (en) * 2010-04-15 2011-10-20 Itr Group, Inc. Cross-platform application framework

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011130651A1 (en) * 2010-04-15 2011-10-20 Itr Group, Inc. Cross-platform application framework
CN101937356A (en) * 2010-09-15 2011-01-05 青岛海信移动通信技术股份有限公司 Method for compiling WebKit browser and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ARMITE0: "《android ndk编译自己的webkit》", 《HTTP://BLOG.CSDN.NET/WZM012/ARTICLE/DETAILS/7073613》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618437A (en) * 2014-12-31 2015-05-13 成都卓影科技有限公司 Adaptation method for android terminal device system setting interface
CN104618437B (en) * 2014-12-31 2018-01-12 成都卓影科技有限公司 A kind of adaptation method that interface is set with android terminal device systems
CN107341038A (en) * 2017-07-26 2017-11-10 成都三零盛安信息系统有限公司 Compatible processing method, device and electronic equipment
CN107341038B (en) * 2017-07-26 2020-11-03 成都三零盛安信息系统有限公司 Compatibility processing method and device and electronic equipment
CN109542437A (en) * 2018-11-16 2019-03-29 北京科罗菲特科技有限公司 A kind of HMI development approach based on Linux built-in browser
CN109714642A (en) * 2018-12-29 2019-05-03 深圳Tcl数字技术有限公司 Linux application multiplexing is in the method for intelligence system, smart television and storage medium
CN112783597A (en) * 2021-02-03 2021-05-11 金蝶蝶金云计算有限公司 Remote desktop implementation method and related equipment

Similar Documents

Publication Publication Date Title
US8745573B2 (en) Platform-independent application development framework
EP3191942B1 (en) Interactive web application editor
CN103677824A (en) OTT terminal solution based on customized browser
CN111026396A (en) Page rendering method and device, electronic equipment and storage medium
US8443084B2 (en) Enhanced upgrade path
CN106874035B (en) Method for updating application (app) built-in H5 and framework thereof
CN103324471A (en) Dynamic modification method for applied launcher icon, message transmitting method and terminal
CN104111855A (en) Method for dynamic update of iOS (Iphone Operation System) client based on Lua
CN104636147A (en) Cross-platform mobile application implementation method and cross-platform mobile application implementation system
US20060271871A1 (en) Fine-grained control of z-order elements in a presentation
CN105786513A (en) Mixed mobile application development method based on Html5
CN109388766A (en) The method and apparatus of page load
CN105955731B (en) A kind of quick write method of mobile phone games and system
CN112817657B (en) Application program starting item loading method, device, system and storage medium
CN104407863A (en) Abstract control model programming device and method
CN113064593B (en) Method and device for dynamic mobile APP, computer equipment and storage medium
CN109002320A (en) For the update method of software development kit, system, electronic equipment and storage medium
CN108170430B (en) Interface display method and system
KR102052776B1 (en) Installation engine and package format for parallelizable, reliable installations
CN110764805A (en) Method, device, terminal and storage medium for noninductive upgrade of client
KR101116939B1 (en) Mobile terminal and method for operating web application the mobile terminal
US10789751B2 (en) Method and apparatus for implementing animation in client application and animation script framework
CN102904925B (en) Three-screen-interaction-based cross-platform widget middleware system
CN112068879B (en) Method and device for constructing client application program development framework based on configuration
KR101416096B1 (en) A highly compatible plug-in system for developing hybrid web applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 214028 Jiangsu Province, Wuxi City Linghu Wuxi national hi tech Industrial Development Zone, Road No. 111 Wuxi Software Park, whale D building room 701

Applicant after: YST TECHNOLOGY CO., LTD.

Address before: 214028 Jiangsu province Wuxi Zhenze Wuxi national hi tech Industrial Development Zone, No. 18 Wuxi Road, software park, whale D building room 602

Applicant before: WUXI YSTEN TECHNOLOGY CO., LTD.

CB02 Change of applicant information

Address after: 214028 Jiangsu province Wuxi city Wuxi District Linghu Road No. 111 Wuxi Software Park, whale D building room 701

Applicant after: Yi Teng Teng Polytron Technologies Inc

Address before: 214028 Jiangsu Province, Linghu Wuxi national hi tech Industrial Development Zone, Road No. 111 Wuxi Software Park, whale D building room 701

Applicant before: YST TECHNOLOGY CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140326