CN101986694A - Linux system-based digital television system - Google Patents

Linux system-based digital television system Download PDF

Info

Publication number
CN101986694A
CN101986694A CN 201010528768 CN201010528768A CN101986694A CN 101986694 A CN101986694 A CN 101986694A CN 201010528768 CN201010528768 CN 201010528768 CN 201010528768 A CN201010528768 A CN 201010528768A CN 101986694 A CN101986694 A CN 101986694A
Authority
CN
China
Prior art keywords
module
layer
layer module
digital television
hardware
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
CN 201010528768
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.)
GUANGDONG XINGHAI DIGITAL HOME INDUSTRY TECHNOLOGY RESEARCH INSTITUTE Co Ltd
Original Assignee
GUANGDONG XINGHAI DIGITAL HOME INDUSTRY TECHNOLOGY RESEARCH INSTITUTE 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 GUANGDONG XINGHAI DIGITAL HOME INDUSTRY TECHNOLOGY RESEARCH INSTITUTE Co Ltd filed Critical GUANGDONG XINGHAI DIGITAL HOME INDUSTRY TECHNOLOGY RESEARCH INSTITUTE Co Ltd
Priority to CN 201010528768 priority Critical patent/CN101986694A/en
Publication of CN101986694A publication Critical patent/CN101986694A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a Linux system-based digital television system. The system comprises a hardware layer module, an adaptive layer module, an intermediate layer module and an application layer module, wherein the hardware layer module is positioned on the bottom most layer of the system, provides a hardware platform for the digital television system, and depends on a chip adopted by the digital television system; the adaptive layer module is connected with the hardware layer module, provides standard interfaces, performs secondary encapsulation on the hardware platform, and isolates the upper application layer and the hardware layer; the intermediate layer module is connected with the adaptive layer module, is used as a general standard functional component, and contains a functional module which is implemented based on the interface provided by the adaptive layer; and the application layer module is connected with the intermediate layer module, is used for realizing various applications, and provides an application program developed based on the intermediate layer. In the system, an excellent layering design is adopted, the coupling degree of software can be effectively reduced, the modification of codes is reduced, the reusability of the software can be improved, and the product development efficiency is improved.

Description

A kind of digital television system based on the linux system
Technical field
The present invention relates to digital home technical field, be specifically related to a kind of digital television system based on the linux system.
Background technology
Along with the development of digital television techniques, digital TV products begins to popularize gradually.At present, in China, digital TV products mainly relies on the chip technology solution of overseas enterprise, adopt external chip as hardware platform, hardware layer and application layer and middleware layer are one, when hardware platform changed, application layer related with it and intermediate layer also will change accordingly, and Products Development efficient is very low.In order to overcome this problem, existing solution has adopted the hierarchical design method, and hardware platform and intermediate layer and application layer are kept apart, and for different chips, adopts different agreements to finish communication between each level.
In realizing process of the present invention, the inventor finds that there are the following problems in the existing technology:
Existing digital television software framework is relatively more chaotic, also do not form the development rate that unified molding framework improves the Digital Television series products, though hierarchical design is arranged in the prior art, but each commercial city, tame chip factory is to follow own set agreement to carry out communication between each level, so just caused when adopting how tame chip development digital TV products, the change amount is very big, the non-constant of code reusability, and then cause a series of problems such as product development efficiency is low, cost is high, product quality is uncontrollable, the incompatible modern quick and various market demand.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of digital television system based on the linux system, and this system can improve the development efficiency of digital TV products.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is:
The invention provides a kind of digital television system based on the linux system:
This system comprises: hardware layer module, adaptation layer module, middle layer module and application layer module;
Described hardware layer module is positioned at the bottom of system, for digital television system provides hardware platform, depends on the chip that digital television system adopts;
Described adaptation layer module is connected with described hardware layer module, and the interface of standard is provided, and hardware platform is carried out the secondary encapsulation, isolates upper layer application and hardware layer;
Described middle layer module is connected with described adaptation layer module, and as unitized standard functions assembly, the interface that its functional module that comprises is based on adaptation layer to be provided is realized;
Described application layer module is connected with middle layer module, is used to realize various application, and the application program of based intermediate layer exploitation is provided.
Described hardware layer module by driving in linux embedded OS and the sheet and the peripheral module driving, is connected with adaptation layer module.
Described adaptation layer module comprises the operating system adaptation layer module and drives adaptation layer module.
Described adaptation layer module also comprises modulation module, demultiplexing module, flash drive module, video driving module and audio frequency and video driver module.
Described middle layer module comprises program searching module, playing programs module, business information module and data management module;
Described program searching module is a upper layer module, calls the business information module and the data management module of lower floor, and/or the modulation module;
Described playing programs module is a upper layer module, calls modulation module, video driving module and the audio driven module of lower floor, and/or data management module;
Described business information module is a upper layer module, calls the demultiplexing module of lower floor;
Described data management module is a upper layer module, calls the flash drive module of lower floor.
Data passes between described each module comprises one-way transmission and transmitted in both directions;
The mode that described each module is obtained data comprises obtaining in real time with non real-time to be obtained.
Technique scheme is as can be seen:
Digital television system provided by the invention, adopt good hierarchy design, utilize adaptation layer that the otherness of different hardware platforms is isolated fully, when selecting different hardware platforms for use, only need adaptation layer to be done change slightly and get final product according to the difference of hardware, intermediate layer and application layer module need not be revised fully and get final product integral transplanting in new hardware platform, effectively reduce the degree of coupling of software, reduce the modification of code, improve the reusable degree of software, and then improve Products Development efficient.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is an embodiment of the invention digital television system overall structure schematic diagram;
Fig. 2 be each intermodule of embodiment of the invention digital television system intermediate layer communication mode and and adaptation layer between the communication mode structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The invention provides a kind of digital television system based on the linux system, this system can improve the development efficiency of digital TV products.
Below in conjunction with accompanying drawing technical solution of the present invention is described in detail.
Fig. 1 is the structural representation of system of the present invention.
As shown in Figure 1, described digital television system comprises four layer modules on the whole, once is from down to up: hardware layer module 101, adaptation layer module 102, middle layer module 103 and application layer module 104.
Hardware layer module 101 is positioned at the bottom of system, for digital television system provides hardware platform, depends on the chip that digital television system adopts.
For hardware layer module 101,, be connected with adaptation layer 102 by driving in linux embedded OS and the sheet and the peripheral module driving.
Adaptation layer module 102 is connected with described hardware layer module 101, and the standard set interface is provided, and its objective is hardware platform is carried out the secondary encapsulation, thereby isolates upper layer application and hardware layer, to reach unitized effect.
Adaptation layer module 102 is to support the basis of middle layer module 103 and application layer module 104, occupies very important position in total.Adaptation layer mainly comprises OSAL (operating system adaptation layer) and DAL (driving adaptation layer).The assembly that mainly comprises of OSAL and describe as shown in table 1 accordingly wherein.
Figure BSA00000328892500041
Table 1
In addition, the assembly that comprises of DAL (driving adaptation layer) part and describe as shown in table 2 accordingly
Figure BSA00000328892500051
Table 2
Each module of adaptation layer module 102 realizes that need carry out some according to the difference of the hardware objects of transplanting revises, to reach the purpose that cooperates hardware.
The key job of adaptation layer module 102 be standard interface formulation and with the formulation of intermediate layer communications protocol on, this step has been embodied the stability of whole system framework.For the interface definition of OSAL and with the communications protocol on upper strata, the POSIX popular with reference to industry transplants standard, and popular interface definition and communication protocol in each embedded platform as operating systems such as linux operating system, nuclears operating systems, its general character is provided, and then is converted into general operating system standard interface and the communication protocol of a cover.
Each module of intermediate layer and application layer all adopts this OSAL to design, and then effectively reduces the isolation of intermediate layer and application layer and bottom.For the DAL part, its each module that comprises not is simply to the realization of each driving, but in conjunction with intermediate layer and user's demand, increases on Drive Layer functional encapsulation, forms and drives adaptation layer, and then use for the intermediate layer easily and effectively.
Middle layer module 103, unitized standard functions assembly, the interface that the module that this level comprises all is based on adaptation layer to be provided realizes that inner realization can not stride across adaptation layer and directly call the interface that hardware platform provides, thereby reaches the purpose of each module generalization of this layer, portability.
This layer mainly comprises general modules such as conventional data management, business information SI, condition reception CA/ common interface CI, program guide (EPG), video request program NVOD, program searching, playing programs, message management mechanism, graphic user interface GUI developing instrument, network protocol stack, browser.
The assembly that the intermediate layer comprises and describe as described in Table 3 accordingly.
Figure BSA00000328892500052
Figure BSA00000328892500061
Table 3
The module that middle layer module 103 comprises is more, but all is some modules that clear and definite standard is arranged, and the major tasks of being done are to the fully understanding of these standards, and are translated into concrete realization.
Application layer module 104 is connected with middle layer module 103, is used to realize various application.
Fig. 2 be each intermodule of intermediate layer in the system of the present invention communication mode and and adaptation layer between the communication mode schematic diagram.
Fig. 2 has mainly described two kinds of relations:
A kind of is function calling relationship: function call is generally called lower module by upper layer module, does not allow lower module to call upper layer module in principle, will take into full account the interface to the upper strata when designing each module interface, satisfy the demand of other modules.
The another kind of transitive relation that is data at intermodule: data passes comprises one-way transmission and transmitted in both directions, and obtaining of data also has in real time and two kinds of situations of non real-time.When data were transmitted from top to bottom, general function interface can meet the demands; When data are transmitted from bottom to top, and can not obtain in real time the time, generic function may be able to not be satisfied the demand, and generally can take message transmission and two kinds of mechanism of call back function this moment.
The shortcoming of message passing mechanism is to define public messaging protocol outside each module, and inside modules is used, and is unfavorable for like this transplanting; The shortcoming of call back function mechanism is that the user deals with the obstruction that causes the bottom module easily improperly in readjustment, causes problem to be difficult to the investigation location.Comprehensive relatively two kinds of mechanism when relating between the module that non real-time obtains and carrying out the transmission of data from bottom to top, are paid the utmost attention to the call back function mechanism of using.
As shown in Figure 2, program searching module 201 can be called lower module modulation (Tuner) module 205, business information (SI) module 203,204 3 modules of data management module as upper layer module.Program searching module 201 at first is provided with Tuner module 205, call SI module 203 interfaces then and obtain related data, result after SI module 203 will be resolved feeds back to program searching module 201, at last, program searching module 201 is called data management module 204 as required and is selected whether to preserve data to data administration module 204.Relate to the processing that non-real-time data transmits from bottom to top in this process: Tuner module 205 is upwards fed back its state, and SI module 203 is upwards transmitted data after obtaining data.
Playing programs module 202 is upper layer module the most, can call lower module data management 204, Tuner module 205, video driving module 208, audio driven module 209.Playing programs module 202 is at first called data management module 204, therefrom obtains and plays relevant information, and Tuner module 205 is set then, calls video driving module 208 and audio driven module 209 at last, thereby realizes playing function.This process key data flows to to obtain data from data management module 204, because above-mentioned program searching module 201 is saved in data management module 204 with this partial data, therefore these data are for can obtain data in real time, and the function interface that generally obtains data can satisfy the demands.
SI module 203 can be called lower module demultiplexing (Demux) module 206 as upper layer module.SI module 203 need be provided with filtercondition and give Demux module 206, starts Demux module 206 then and filters out needed data, and Demux module 206 is upwards transmitted the data that get access to.
Data management module 204 can call lower module flash memory (Flash) driver module 207 as upper layer module.Data management module 204 is saved in Flash by Flash driver module 207 with data.Data management module 204 needs to consider problems such as data synchronization, Memory Allocation strategy, data query algorithm among management, internal memory and the Flash of data in internal memory and Flash.
Wherein, adaptation layer module such as Tuner module, Demux module, Flash driver module, video driving module and audio driven module are mainly concerned with the encapsulation to different hardware platforms, relatively independent, coupling between the module is very little, relates to mainly considering its optimization in Properties and correction process etc. when realizing.
For example: the Demux module need be considered how to design just can make obtaining of data more efficient, to satisfy the demand that relates to the big data quantity application module; How effectively the Flash driver module need consider how just to make the speed of read-write Flash to improve, and the error probability that reads and writes data of reduction etc.
Application layer 104, the upper level applications of based intermediate layer exploitation.Based on each functional unit of above-mentioned table 3, application layer 104 provides corresponding application, to finish described various function.
Wherein, carry out communication in strict accordance with standard agreement and the interface formulated between described each layer, reduce the code change of revising other levels that cause because of level.
Digital television system provided by the invention, has good layer architecture design, so the benefit of hierarchy is to utilize adaptation layer that the otherness of different hardware platforms is isolated fully, intermediate layer and application layer are not changed with the change of hardware components, effectively reduce the degree of coupling of software, reduce the modification of code, improve the reusable degree of software, and then the raising product development efficiency, reduce product development cost.
Technical scheme of the present invention has been worked out strict communications protocol and interface definition, when selecting different hardware platforms for use, only needs according to the difference of hardware adaptation layer to be done change slightly and gets final product.Intermediate layer and application layer module need not be revised fully and get final product integral transplanting in new hardware platform, have improved Products Development efficient so greatly.In addition, because the part of changing is limited in the adaptation layer one-level, and then has effectively improved the quality accident problem of product, improve the quality of product.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than to a kind of digital television system that the embodiment of the invention provided based on the linux system, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (6)

1. digital television system based on the linux system is characterized in that:
This system comprises: hardware layer module, adaptation layer module, middle layer module and application layer module;
Described hardware layer module is positioned at the bottom of system, for digital television system provides hardware platform, depends on the chip that digital television system adopts;
Described adaptation layer module is connected with described hardware layer module, and the interface of standard is provided, and hardware platform is carried out the secondary encapsulation, isolates upper layer application and hardware layer;
Described middle layer module is connected with described adaptation layer module, and as unitized standard functions assembly, the interface that its functional module that comprises is based on adaptation layer to be provided is realized;
Described application layer module is connected with middle layer module, is used to realize various application, and the application program of based intermediate layer exploitation is provided.
2. the digital television system based on the linux system according to claim 1 is characterized in that:
Described hardware layer module by driving in linux embedded OS and the sheet and the peripheral module driving, is connected with adaptation layer module.
3. the digital television system based on the linux system according to claim 1 and 2 is characterized in that:
Described adaptation layer module comprises the operating system adaptation layer module and drives adaptation layer module.
4. the digital television system based on the linux system according to claim 3 is characterized in that:
Described adaptation layer module also comprises modulation module, demultiplexing module, flash drive module, video driving module and audio frequency and video driver module.
5. the digital television system based on the linux system according to claim 4 is characterized in that:
Described middle layer module comprises program searching module, playing programs module, business information module and data management module;
Described program searching module is a upper layer module, calls the business information module and the data management module of lower floor, and/or the modulation module;
Described playing programs module is a upper layer module, calls modulation module, video driving module and the audio driven module of lower floor, and/or data management module;
Described business information module is a upper layer module, calls the demultiplexing module of lower floor;
Described data management module is a upper layer module, calls the flash drive module of lower floor.
6. the digital television system based on the linux system according to claim 5 is characterized in that:
Data passes between described each module comprises one-way transmission and transmitted in both directions;
The mode that described each module is obtained data comprises obtaining in real time with non real-time to be obtained.
CN 201010528768 2010-10-29 2010-10-29 Linux system-based digital television system Pending CN101986694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010528768 CN101986694A (en) 2010-10-29 2010-10-29 Linux system-based digital television system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010528768 CN101986694A (en) 2010-10-29 2010-10-29 Linux system-based digital television system

Publications (1)

Publication Number Publication Date
CN101986694A true CN101986694A (en) 2011-03-16

Family

ID=43710993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010528768 Pending CN101986694A (en) 2010-10-29 2010-10-29 Linux system-based digital television system

Country Status (1)

Country Link
CN (1) CN101986694A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547178A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Dynamic adjusting method of kernel module driven by application
CN103096159A (en) * 2013-02-20 2013-05-08 青岛海信宽带多媒体技术有限公司 Method and system of digital television data transmission
CN103995913A (en) * 2014-03-18 2014-08-20 中国电子科技集团公司第十研究所 Open hierarchical design method for complex electronic system
CN108572834A (en) * 2018-04-16 2018-09-25 腾讯科技(深圳)有限公司 A kind of upgrade method and device of browser
CN110177302A (en) * 2019-05-13 2019-08-27 东莞康佳电子有限公司 A kind of modularization middleware system based on smart television
CN110275716A (en) * 2019-06-27 2019-09-24 深圳开立生物医疗科技股份有限公司 Deployed with devices method and device, equipment operation method and electronic equipment
CN112416308A (en) * 2020-11-30 2021-02-26 上海汽车集团股份有限公司 Software optimization method and device and software architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326638A (en) * 1998-10-19 2001-12-12 通用仪器公司 Television set-top box with configurable functionality
CN1831764A (en) * 2005-03-08 2006-09-13 微软公司 Systems and methods for providing a system level user interface in a multimedia console
CN101409815A (en) * 2008-11-05 2009-04-15 青岛海信电子产业控股股份有限公司 Digital television system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326638A (en) * 1998-10-19 2001-12-12 通用仪器公司 Television set-top box with configurable functionality
CN1831764A (en) * 2005-03-08 2006-09-13 微软公司 Systems and methods for providing a system level user interface in a multimedia console
CN101409815A (en) * 2008-11-05 2009-04-15 青岛海信电子产业控股股份有限公司 Digital television system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547178A (en) * 2010-12-08 2012-07-04 中国科学院声学研究所 Dynamic adjusting method of kernel module driven by application
CN103096159A (en) * 2013-02-20 2013-05-08 青岛海信宽带多媒体技术有限公司 Method and system of digital television data transmission
CN103096159B (en) * 2013-02-20 2016-05-25 青岛海信宽带多媒体技术有限公司 Digital TV data transmission method and system
CN103995913A (en) * 2014-03-18 2014-08-20 中国电子科技集团公司第十研究所 Open hierarchical design method for complex electronic system
CN108572834A (en) * 2018-04-16 2018-09-25 腾讯科技(深圳)有限公司 A kind of upgrade method and device of browser
CN108572834B (en) * 2018-04-16 2023-12-12 深圳市雅阅科技有限公司 Method and device for upgrading browser
CN110177302A (en) * 2019-05-13 2019-08-27 东莞康佳电子有限公司 A kind of modularization middleware system based on smart television
CN110275716A (en) * 2019-06-27 2019-09-24 深圳开立生物医疗科技股份有限公司 Deployed with devices method and device, equipment operation method and electronic equipment
CN112416308A (en) * 2020-11-30 2021-02-26 上海汽车集团股份有限公司 Software optimization method and device and software architecture

Similar Documents

Publication Publication Date Title
CN101986694A (en) Linux system-based digital television system
CN101409815A (en) Digital television system
CN102591726B (en) Multiprocess communication method
CN1773873A (en) Portable electronic device
CN1633641A (en) Middleware services layer for platform system for mobile terminals
JP2013225866A (en) Adaptive streaming for on-demand wireless services
CN101350813A (en) Method and apparatus for providing WiFi access internet for digital household electrical appliance
CN101710935A (en) Middleware device of set-top box, cross-platform interface method and set-top box
CN1881206A (en) Dialog system
CN102118647A (en) Method for updating channel information of digital television set and digital television set thereof
CN101945184A (en) IVR (Interactive Voice Response) realization method and device based on NGN (Next Generation Network) network
CN1805473A (en) Wireless network interface setting method and apparatus for network media telephone
CN100518331C (en) Method for inserting and relaying IP service data based on cable television network
CN101686341A (en) Method for realizing program sharing among television, set top box and mobile equipment
CN106919391B (en) Embedded system of customizable operating system component facing smart phone
CN105681905A (en) Smart television and method and device for improving adaptability of application program thereof
WO2009015598A1 (en) Method and apparatus for launching application
CN101247403B (en) Electronic equipment application program interface display system and method
CN101193260A (en) IP STB universal software platform system and IP STB based on this system
CN102547476A (en) Home media information device and data transmission method
CN109121001B (en) Carousel system and carousel method for multiple content providers and smart television
CN101714165B (en) Method for importing data
CN102479068A (en) Network application software integration method for ensuring autonomy of application in portal network system
CN101714084A (en) Media file-playing system and method
CN102595219A (en) Tri-network integration digital high-definition multimedia receiving terminal

Legal Events

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

Application publication date: 20110316