CN104883615A - Intelligent television UI development platform based on 3D engine - Google Patents
Intelligent television UI development platform based on 3D engine Download PDFInfo
- Publication number
- CN104883615A CN104883615A CN201510260898.0A CN201510260898A CN104883615A CN 104883615 A CN104883615 A CN 104883615A CN 201510260898 A CN201510260898 A CN 201510260898A CN 104883615 A CN104883615 A CN 104883615A
- Authority
- CN
- China
- Prior art keywords
- interface
- engine
- development
- data
- middleware
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses an intelligent television UI development platform based on a 3D engine. The frame of the platform is mainly formed by the 3D engine, a 3D interface design development database, and an application program data butt joint middleware, the 3D engine is in butt joint with the 3D interface design development database via a front design development database, and the 3D engine is in butt joint with a View assembly of a 3D interface via a middleware JNI interface. Compared with the prior art, according to the intelligent television UI development platform, the development platform is formed by the integration of a 3D modeling tool, a cross-platform 3D graphic rendering engine, and an application development database based on a specific application platform Android system, program function data and an UI are separated, one-time design and one-time molding of interface UI design and development are realized, a stable data organization structure and a program operation frame are provided, rapid butt joint of data and the UI is realized, the program development cycle is greatly reduced, and the development and maintenance difficulty and cost are reduced.
Description
Technical field
The present invention relates to one, particularly relate to a kind of intelligent television UI development platform based on 3D engine.
Background technology
The development process of present most software is requirement extract, interface, interface development, and function is docked, and program Bug revises, last software metric tools.Android system is integrated with 2D graphic development library, provides the very considerable 2D UI developing instrument of a whole set of scale and perfect interface.But we are in practical application development process, or often can encounter:
(1) 2D instrument realizes 3D effect, and method is complicated and rendering efficiency is not high;
(2) interface development process, interface designer cannot be participated in directly, and frequently do over again in the interface of program developer " Secondary Design ", program developer can not be absorbed in functional development and optimization, causes operating efficiency significantly to reduce;
(3) UI and Function Coupling Du Taigao, durability is low, the follow-up optimization of product and reconstruct difficulty large;
Above-mentioned Railway Project, impels us to want to develop a set of UI quick development platform that can effectively integrate program interface exploitation and functional development.Based on the development requires meeting more gorgeous interface special efficacy and data interaction framework more flexibly, we turn one's attention to 3D UI development platform.
The intelligent television hardware of present stage, is all furnished with more powerful CPU and GPU, even can run large-scale 3D and play.And 3D interface, according to interfacial effect demand, the large physical system of resource consumption, illumination system etc. can be simplified, theoretically, as long as the intelligent television hardware that can support general 3D trivial games just smoothly can run 3D UI.
Summary of the invention
Object of the present invention is just to provide one to solve the problem, by integrating 3D modeling tool, cross-platform 3D graphics rendering engine and the application and development storehouse based on concrete application platform android system, form an intelligent television UI development platform based on 3D engine.
To achieve these goals, the technical solution used in the present invention is: a kind of intelligent television UI development platform based on 3D engine, and this platform framework forms primarily of 3D engine, 3D interface development library, application data docking middleware,
Described 3D engine, adopt Ogre graphics rendering engine, that introduces that GameKit encapsulates engine again based on Ogre engine plays up interface, and the 3D special efficacy switch of particIe system, illumination system, physical system is derived according to interface of intelligent television development requirement, while improving rendering efficiency, enable to adapt to multiple different special efficacy requirement.By the power of 3D engine, we can realize 3D animation effect that a lot of 2D shape library cannot process and interface alternation with lower configuration;
Described 3D interface development library, adopt customization Blender instrument, interface personnel can carry out UI Front-end Design quickly and easily, and the development library docked with GameKit is provided, comprise development function to arrange, script function interface etc., interface personnel can carry out UI Front-end Design quickly and easily, comprise the design of 2D/3D UI modeling, animation and script thereof, interaction logic, its outputting result is integrated into a .blend file;
Described application data docking middleware is using Android as concrete application platform, we have built a standardized program operation frame and data processing architecture, based on the resource management and control of android system, development library automatic management 3D UI plays up and logic control, and play up the life cycle management of material, for different functions and interface data classification, laminated tissue's data, and carry out interface refreshing according to formulation interface, developer has cast aside interface details, only need less energy to dock application interface data and just can send a 3D UI program by fast open, this is the basis of 3D UI development platform of the present invention.
Described application data docking middleware mainly comprises the View assembly at 3D Activity assembly, 3D interface, and provide the management and control of independent 3D thread, interface data refresh interface, the UI basic elements such as key-press event process support; With Front-end Design development library and middleware JNI interface on described 3D engine, described 3D engine is docked with 3D interface development library by Front-end Design development library, and described 3D engine is docked with the View assembly at 3D interface by middleware JNI interface.
As preferably, described View assembly provides the management and control of independent 3D thread, maintains one and plays up buffering thread, described in play up thread and carry circulation, by engine-operated for 3D in this thread, the circulation realizing interface refreshes.Described application data docking middleware based on the circulation of playing up thread, then safeguards an event queue, for the refresh requests of 3D UI and the orderly process of key-press event.
As preferably, described application data docking middleware provides the two poles of the earth data hierarchy coupling framework, realizes UI and data separating.Described the two poles of the earth data hierarchy coupling framework the model unit of same structure on interface is returned into a model list, a model unit, and establishment data metaclass corresponding with it and data element list class.Model list and data element list are with title one_to_one corresponding, model unit and data element are with sequence number one_to_one corresponding in lists, the material obtaining interface that one corresponding with the pinup picture model in model unit is had in every class data element, during data docking, only need to override this material obtaining interface, inform that what middleware obtain pinup picture material from, the semi-automatic refreshing at interface can be realized.
As preferably, application data docking middleware provides a set of key-press event callback mechanism, realizes the automatic control of 3D interface focus and the button readjustment process of data element.Button readjustment processing method is as follows, 3DView is when obtaining key-press event, by immediately by this event stored in playing up in the event queue of thread, when playing up the cyclic polling of thread after this event, trigger the keystroke handling flow process of GameKit, whether the GameLogic registered when first detecting 3D modelling has this button to monitor by GameKit.If there is monitoring, then perform the operation of GameLogic, button flow process terminates, if do not monitored, then readjustment is to the button callback interface of model element, then the key-press event process of callback data unit, forms complete key-press event readjustment chain.
Compared with prior art, the invention has the advantages that: the present invention, by integrating 3D modeling tool, cross-platform 3D graphics rendering engine and the application and development storehouse based on concrete application platform android system, forms a development platform.Separable programming performance data and UI, realize the once design of interface UI design and development, one-shot forming; And stable Organization of Data framework and program operation frame are provided, realize the rapid abutting joint of data and UI, greatly the reduction program development cycle, reduce difficulty and the cost of development and maintenance.
Accompanying drawing explanation
Fig. 1 is the frame diagram of development platform of the present invention;
Fig. 2 is model of the present invention and user data frame diagram;
Fig. 3 is refresh flow figure of the present invention.
Embodiment
The invention will be further described below.
Embodiment: see Fig. 1, a kind of intelligent television UI development platform based on 3D engine, it is characterized in that: this platform framework is primarily of 3D engine, 3D interface development library, application data docking middleware composition, described 3D engine, adopt Ogre graphics rendering engine, that introduces that GameKit encapsulates engine again based on Ogre engine plays up interface, and derives the 3D special efficacy switch of particIe system, illumination system, physical system according to interface of intelligent television development requirement; Described 3D interface development library, adopt customization Blender instrument, interface personnel can carry out UI Front-end Design quickly and easily, and provide the development library docked with GameKit; Described application data docking middleware, mainly comprises the View assembly at 3D Activity assembly, 3D interface;
With Front-end Design development library and middleware JNI interface on described 3D engine, described 3D engine is docked with 3D interface development library by Front-end Design development library, and described 3D engine is docked with the View assembly at 3D interface by middleware JNI interface.
Described View assembly provides the management and control of independent 3D thread, maintains one and plays up buffering thread, described in play up thread and carry circulation, by engine-operated for 3D in this thread, the circulation realizing interface refreshes.
Described application data docking middleware based on the circulation of playing up thread, then safeguards an event queue, for the refresh requests of 3D UI and the orderly process of key-press event.
Described application data docking middleware provides the two poles of the earth data hierarchy coupling framework, realizes UI and data separating.Described the two poles of the earth data hierarchy coupling framework, as Fig. 2, returns into a model list by the model unit of same structure on interface, a model unit, and establishment data metaclass corresponding with it and data element list class.Model list and data element list are with title one_to_one corresponding, model unit and data element are with sequence number one_to_one corresponding in lists, the material obtaining interface that one corresponding with the pinup picture model in model unit is had in every class data element, during data docking, only need to override this material obtaining interface, inform that what middleware obtain pinup picture material from, the semi-automatic refreshing at interface can be realized.
Application data docking middleware provides a set of key-press event callback mechanism, realizes the automatic control of 3D interface focus and the button readjustment process of data element.Button readjustment processing method is as follows, as Fig. 3,3D View is when obtaining key-press event, by immediately by this event stored in playing up in the event queue of thread, when playing up the cyclic polling of thread after this event, trigger the keystroke handling flow process of GameKit, whether the GameLogic registered when first detecting 3D modelling has this button to monitor by GameKit.If there is monitoring, then perform the operation of GameLogic, button flow process terminates, if do not monitored, then readjustment is to the button callback interface of model element, then the key-press event process of callback data unit, forms complete key-press event readjustment chain.
The present invention is based on the middleware of Android application run block frame, provide the management and control of independent 3D thread, interface data refresh interface, the UI basic elements such as key-press event process support.Start by independently playing up thread and run 3D engine, then load and resolve the blend file that front end exports, generating 3D UI scene.Then obtain interface data from specified interface and refresh, completing the exploitation of whole 3D UI.
The present invention is towards " user " at program development two ends: front-end interface designer and program function developer.Front-end interface design is by Blender design interface and animation and mutual, and outputting result is directly put in application program and resolves, and generates prototype 3D picture.Eliminate program developer according to design effect figure simplated placement again, and adjustment interaction logic etc. may need repeatedly to revise, and causes the erratic process that the construction cycle extends.Program function developer, after the cumbersome task casting aside interface layout and interaction logic control, relies on the data docking development library of development platform, organizes the data element of list, just can complete the realization of program function fast.
It is implemented as follows:
1. Front-end Design personnel devise INTERFACE MODEL, animation, interaction logic, after script etc., be packaged into a .blend file, export to application developer by all;
2. platform provides the development library (.so file) of a GameKit to application developer, and a program development middleware (.jar bag), runs and data docking for 3D interface;
3. developer's foundation and the designer data structure of deciding through consultation, overwritten data interface and key-press event callback interface, complete data docking.And 3D View is added to the appointment display position of program, realize display and the control of 3DUI;
Based on our program operation frame, the operational process of application program is as follows:
1. program starts, and builds 3D View;
2. play up thread to start, start to start 3D engine;
3. start to load .blend file, and resolution file, in 3D engine, generate 3D scene (playing up in thread);
4. run init script, initialization model datumization list, and adjust back main thread files loading success (playing up in thread);
5. main thread initializes data list, adds 3D View to current window, and calls 3D interface admission animation;
6. main thread sends interface refresh requests;
7. play up after thread plays admission animation, brush pinup picture material to each pinup picture model;
8. user key-press, unloading enters to play up thread events queue;
9. play up thread and key-press event detected, first detect GameLogic during 3D UI design, have monitoring button, then by GameLogic process (focus switches animation and calls), otherwise readjustment main thread data element keystroke handling flow process;
Above exhaustive presentation is carried out to a kind of intelligent television UI development platform based on 3D engine provided by the present invention, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to change of the present invention and improve will be possible, and design and the scope of accessory claim defined can not be exceeded, in sum, this description should not be construed as limitation of the present invention.
Claims (7)
1. based on an intelligent television UI development platform for 3D engine, it is characterized in that: this platform framework forms primarily of 3D engine, 3D interface development library, application data docking middleware,
Described 3D engine, adopts Ogre graphics rendering engine, and that introduces that a GameKit encapsulates engine again based on Ogre engine plays up interface, and derives the 3D special efficacy switch of particIe system, illumination system, physical system according to interface of intelligent television development requirement;
Described 3D interface development library, adopt customization Blender instrument, interface personnel can carry out UI Front-end Design quickly and easily, and provide the development library docked with GameKit;
Described application data docking middleware, mainly comprises the View assembly at 3D Activity assembly, 3D interface;
With Front-end Design development library and middleware JNI interface on described 3D engine, described 3D engine is docked with 3D interface development library by Front-end Design development library, and described 3D engine is docked with the View assembly at 3D interface by middleware JNI interface.
2. a kind of intelligent television UI development platform based on 3D engine according to claim 1, it is characterized in that: described View assembly provides the management and control of independent 3D thread, maintain one and play up buffering thread, described thread of playing up carries circulation, by engine-operated for 3D in this thread, the circulation realizing interface refreshes.
3. a kind of intelligent television UI development platform based on 3D engine according to claim 2, it is characterized in that: described application data docking middleware is based on the circulation of playing up thread, safeguard an event queue again, for the refresh requests of 3D UI and the orderly process of key-press event.
4. a kind of intelligent television UI development platform based on 3D engine according to claim 3, is characterized in that: described application data docking middleware provides the two poles of the earth data hierarchy coupling framework, realizes UI and data separating.
5. a kind of intelligent television UI development platform based on 3D engine according to claim 4, it is characterized in that: described the two poles of the earth data hierarchy coupling framework is that the model unit of same structure on interface is returned into a model list, a model unit, and establishment data metaclass corresponding with it and data element list class.Model list and data element list are with title one_to_one corresponding, model unit and data element are with sequence number one_to_one corresponding in lists, the material obtaining interface that one corresponding with the pinup picture model in model unit is had in every class data element, during data docking, only need to override this material obtaining interface, inform that what middleware obtain pinup picture material from, the semi-automatic refreshing at interface can be realized.
6. a kind of intelligent television UI development platform based on 3D engine according to claim 3, it is characterized in that: application data docking middleware provides a set of key-press event callback mechanism, realize the automatic control of 3D interface focus and the button readjustment process of data element.
7. a kind of intelligent television UI development platform based on 3D engine according to claim 6, it is characterized in that: button readjustment processing method is as follows, 3D View is when obtaining key-press event, by immediately by this event stored in playing up in the event queue of thread, when playing up the cyclic polling of thread after this event, trigger the keystroke handling flow process of GameKit, whether the GameLogic registered when first detecting 3D modelling has this button to monitor by GameKit.If there is monitoring, then perform the operation of GameLogic, button flow process terminates, if do not monitored, then readjustment is to the button callback interface of model element, then the key-press event process of callback data unit, forms complete key-press event readjustment chain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510260898.0A CN104883615A (en) | 2015-05-20 | 2015-05-20 | Intelligent television UI development platform based on 3D engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510260898.0A CN104883615A (en) | 2015-05-20 | 2015-05-20 | Intelligent television UI development platform based on 3D engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104883615A true CN104883615A (en) | 2015-09-02 |
Family
ID=53950922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510260898.0A Pending CN104883615A (en) | 2015-05-20 | 2015-05-20 | Intelligent television UI development platform based on 3D engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104883615A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688601A (en) * | 2019-09-18 | 2020-01-14 | 郑州阿帕斯科技有限公司 | Data processing method and device |
CN108563487B (en) * | 2018-04-28 | 2021-10-01 | 北京小米移动软件有限公司 | User interface updating method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814024A (en) * | 2009-10-23 | 2010-08-25 | 深圳创维-Rgb电子有限公司 | Framework and tool for designing cross-platform 3D interface |
CN103019725A (en) * | 2012-12-19 | 2013-04-03 | 四川长虹电器股份有限公司 | Interface logic control method based on 3D (three-dimensional) model |
CN103297857A (en) * | 2013-05-06 | 2013-09-11 | 四川长虹电器股份有限公司 | Method for television screen multi-application display |
CN103413343A (en) * | 2013-08-30 | 2013-11-27 | 广州市久邦数码科技有限公司 | 3D (Three-Dimensional) graphic animation engine |
CN103607653A (en) * | 2013-11-08 | 2014-02-26 | 四川长虹电器股份有限公司 | 3D model based method for developing television weather dynamic wallpaper |
CN103617027A (en) * | 2013-10-29 | 2014-03-05 | 合一网络技术(北京)有限公司 | Android-based method and system for constructing image rendering engine |
CN104301796A (en) * | 2014-09-26 | 2015-01-21 | 四川长虹电器股份有限公司 | Method for automatically controlling focus of master shot of smart television |
CN104301795A (en) * | 2014-09-26 | 2015-01-21 | 四川长虹电器股份有限公司 | Method for managing big data poster information of smart television on basis of 3D model |
-
2015
- 2015-05-20 CN CN201510260898.0A patent/CN104883615A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814024A (en) * | 2009-10-23 | 2010-08-25 | 深圳创维-Rgb电子有限公司 | Framework and tool for designing cross-platform 3D interface |
CN103019725A (en) * | 2012-12-19 | 2013-04-03 | 四川长虹电器股份有限公司 | Interface logic control method based on 3D (three-dimensional) model |
CN103297857A (en) * | 2013-05-06 | 2013-09-11 | 四川长虹电器股份有限公司 | Method for television screen multi-application display |
CN103413343A (en) * | 2013-08-30 | 2013-11-27 | 广州市久邦数码科技有限公司 | 3D (Three-Dimensional) graphic animation engine |
CN103617027A (en) * | 2013-10-29 | 2014-03-05 | 合一网络技术(北京)有限公司 | Android-based method and system for constructing image rendering engine |
CN103607653A (en) * | 2013-11-08 | 2014-02-26 | 四川长虹电器股份有限公司 | 3D model based method for developing television weather dynamic wallpaper |
CN104301796A (en) * | 2014-09-26 | 2015-01-21 | 四川长虹电器股份有限公司 | Method for automatically controlling focus of master shot of smart television |
CN104301795A (en) * | 2014-09-26 | 2015-01-21 | 四川长虹电器股份有限公司 | Method for managing big data poster information of smart television on basis of 3D model |
Non-Patent Citations (1)
Title |
---|
NURADEEN MAIDOKI: "OPEN SOURCE IMPLEMENTATION OF PORTING 3-D BLENDER GAMES ON ANDROID OS USING OGRE GAMEKIT", 《BRANDEIS UNIVERSITY》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108563487B (en) * | 2018-04-28 | 2021-10-01 | 北京小米移动软件有限公司 | User interface updating method and device |
CN110688601A (en) * | 2019-09-18 | 2020-01-14 | 郑州阿帕斯科技有限公司 | Data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101814024B (en) | Framework and tool for designing cross-platform 3D interface | |
Trinder et al. | Parallel and distributed Haskells | |
CN102968755A (en) | Primitive composition | |
Allard et al. | Modularity for large virtual reality applications | |
KR101275172B1 (en) | Method of simulating discrete event | |
CN103218706A (en) | Method and device for generating workflow file and executing method and system for generating workflow file | |
US10496423B2 (en) | Method for opening up data and functions of terminal application based on reconstruction technology | |
CN104883615A (en) | Intelligent television UI development platform based on 3D engine | |
CN115268886A (en) | Method, designer, equipment and medium for realizing data visualization page by zero code | |
CN104866291A (en) | Android-based 2D mobile game engine | |
CN103425469A (en) | Method for generating mobile game codes based on MDA technology | |
Agarwal et al. | Azurebot: A framework for bag-of-tasks applications on the azure cloud platform | |
CN105975265B (en) | A kind of device based on modified MVP mode | |
CN102651140A (en) | Method and device for image rendering | |
CN111104281B (en) | Game performance monitoring method, device, system and storage medium | |
Shen et al. | A design tool for efficient mapping of multimedia applications onto heterogeneous platforms | |
AskariHemmat et al. | Towards code generation for ARM Cortex-M MCUs from SysML activity diagrams | |
Javaid et al. | Pipelined multiprocessor system-on-chip for multimedia | |
Šmilauer et al. | Yade, using and programming | |
CN113262468B (en) | Skill rendering method and device, electronic equipment and storage medium | |
CN102662670B (en) | Implementation method of scene type kernel-free embedded real-time operating system | |
CN109920037A (en) | Based on Cocos2d-x sequence frame animation realization | |
Bergvall-Kåreborn et al. | User driven service design and innovation platforms | |
CN117826659B (en) | Control logic configuration system, method and electronic equipment | |
CN113279154A (en) | Instruction execution method and device of sewing equipment, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150902 |