CN104780416B - A kind of set top box caption display system - Google Patents
A kind of set top box caption display system Download PDFInfo
- Publication number
- CN104780416B CN104780416B CN201510118838.5A CN201510118838A CN104780416B CN 104780416 B CN104780416 B CN 104780416B CN 201510118838 A CN201510118838 A CN 201510118838A CN 104780416 B CN104780416 B CN 104780416B
- Authority
- CN
- China
- Prior art keywords
- captions
- caption data
- caption
- display
- leaching
- 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.)
- Active
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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- 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/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
- H04N21/8133—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
Abstract
The present invention provides a kind of set top box caption display system, including:Captions receiving module is obtained according to captions type to caption display system registration first:The size of display buffer needed for the type captions and caption data leaching ID, by the corresponding caption data of bottom data leaching device leaching, and are put into buffer circle;Subtitle resolving module individually opens a process, and circular wait caption data is parsed, the caption data transferred is put into corresponding resolver according to the caption data leaching ID and parsed;The caption data that captions memory module has been parsed according to display pattern handling, forms caption data to be shown, and be put into display buffer;Subtitle Demonstration module individually opens another process, circular wait caption data to be shown.The present invention is shown by system registry management mode, structural data processing mode and unlatching single process, is realized unified interface processing polytype captions, is improved the display efficiency and exhibit stabilization of captions.
Description
【Technical field】
The present invention relates to a kind of set top box caption display system.
【Background technology】
At present, with the development of DTV, top box of digital machine is expanded with popularizing in each corner in the world.With work(
Energy constantly improve, the Subtitle Demonstration of DTV STB turns into an indispensable part.Caption system technology should give birth to,
The function of caption system includes receiving caption data, analysis caption data and storage caption data, and can show word in time
Curtain, it is ensured that user can be by the viewing captions of set top box normal table.
But, existing set top box typically shows captions to the mode of processing caption data using non-individual process, can be by it
Other tasks reduction efficiency on set top box, and because captions species is various, such as (one kind meets European standard to dvb subtitle
Captions), atsc subtitle (a kind of captions for meeting America standard) etc. cause set top box to need to set multiple interfaces (institute
Interface is stated for program Processing Interface) handled, above-mentioned reason causes the processing caption data of set top box less efficient and aobvious
Show the problems such as process is unstable.
【The content of the invention】
The technical problem to be solved in the present invention, is to provide a kind of set top box caption display system, it can be with stability and high efficiency
Receive, handle and display caption information.
What the present invention was realized in:
A kind of set top box caption display system, the caption display system includes:
Captions receiving module:The captions receiving module obtains language message parameter list first in Program Map Table,
The captions type of captions to be shown is obtained from the language message parameter list, it is aobvious to the captions according to the captions type
Show that system registry is obtained:The size of display buffer needed for the type captions and caption data leaching ID, according to the captions number
Corresponding bottom data leaching device is opened according to leaching ID, the then corresponding caption data of leaching, and be put into buffer circle is waited
Subtitle resolving module is transferred;The captions leaching ID is used to recognize captions type;
Subtitle resolving module:The subtitle resolving module individually opens a process, and circular wait caption data is solved
The caption data transferred, is put into corresponding resolver and is parsed by analysis according to the caption data leaching ID;
Captions memory module:The caption data that the captions memory module has been parsed according to display pattern handling, formation is treated
The caption data of display, meanwhile, the captions memory module is according to the size of the required display buffer to Subtitle Demonstration system
System sends request, so as to obtain required display buffer, caption data to be shown then is put into display buffer, waits
Display;
Subtitle Demonstration module:Subtitle Demonstration module individually opens another process, circular wait caption data to be shown;
The Subtitle Demonstration module is put into the caption data to be shown in video card internal memory and shown, so as to complete set top box
The efficient stable of captions shows process.
Further, the display structure includes captions ID, shows flag bit immediately, pre cleaning flag bit, the PTS times,
Duration, viewing area, background colour and foreground.
Further, the display first determine whether to show immediately in caption data to be shown flag bit whether be it is true,
The caption data is just shown when being true immediately, if flag bit is not true, can be entered with the STC times of PTS times and set top box
Row compares, and the threshold value no more than setting is then defined as needing display, is otherwise judged again during next round poll;In display captions
During data, according to pre cleaning flag bit judge whether that screen is carried out to remove in advance and fill Transparent color, need to first show during display
Show area filling background colour, be then further filled with caption data to be shown, then creating one removes the caption data timer,
Depending on time is according to the duration in display structure, when timer time then, the caption data can be removed, or more than word
During curtain maximum number, earliest caption data is removed, the captions maximum number is arranged as required to.
The invention has the advantages that:
The present invention is shown by system registry management mode, structural data processing mode and unlatching single process, real
Unified interface processing polytype captions are showed, have possessed the functions such as captions reception, analysis, storage, display, substantially increase captions
Display efficiency and Subtitle Demonstration stability.
【Brief description of the drawings】
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method schematic flow sheet.
【Embodiment】
Referring to Fig. 1, a kind of set top box caption display system, the caption display system includes:
Captions receiving module:(Program Map Table is by operator first in Program Map Table for the captions receiving module
There is provided, set top box real-time update) middle acquisition language message parameter list, obtain to be shown from the language message parameter list
The captions type of captions, is obtained according to the captions type to caption display system registration:Shown needed for the type captions
The size and caption data leaching ID of buffering area, corresponding bottom data leaching device is opened according to the caption data leaching ID,
Then the corresponding caption data of leaching, and be put into buffer circle, waits transferring for subtitle resolving module;The captions leaching ID
For recognizing captions type;The bottom data leaching device is existing bottom data leaching module in set top box, for controlling
The tuner of hardware signal, the corresponding bottom data leaching device of different captions types is also different, corresponds therebetween;
Subtitle resolving module:The subtitle resolving module individually opens a process, and circular wait caption data is solved
The caption data transferred, is put into corresponding resolver and is parsed, for example, described by analysis according to the caption data leaching ID
Resolver includes, the resolver of European standard captions and the resolver of America standard;
Captions memory module:The caption data that the captions memory module has been parsed according to display pattern handling, formation is treated
The caption data of display, meanwhile, the captions memory module is according to the size of the required display buffer to Subtitle Demonstration system
System sends request, so as to obtain required display buffer, caption data to be shown then is put into display buffer, waits
Display;The display structure includes captions ID, and flag bit, pre cleaning flag bit, PTS time (Chineses are shown immediately:Display
Time tag), duration, viewing area, background colour and foreground;Subtitle Demonstration can be only stored according to display pattern handling
Necessary content, removes redundant data, and reduction internal memory uses size;
Subtitle Demonstration module:Subtitle Demonstration module individually opens another process, circular wait caption data to be shown;
The Subtitle Demonstration module is put into the caption data to be shown in video card internal memory and shown, so as to complete set top box
The efficient stable of captions shows process.Specifically, the display first determines whether to show mark in caption data to be shown immediately
Whether will position is true, just shows the caption data when being true immediately, if flag bit is not true, can use PTS times and machine top
STC (the Chineses of box:System time) time is compared, and the threshold value no more than setting is then defined as needing display, otherwise
Judged again during next round poll;When showing caption data, judged whether to carry out in advance screen according to pre cleaning flag bit
First remove and fill Transparent color, first needing viewing area to fill background colour during display, be then further filled with caption data to be shown,
Then create one and remove the caption data timer, depending on the time is according to the duration in display structure, when timer
Between then, the caption data can be removed, or during more than captions maximum number, remove earliest caption data, the captions are maximum
Number is arranged as required to.
Because the present invention is to be registered according to captions type to caption display system, the captions of caption display system are obtained
Data leaching ID, during the entire process of processing caption is shown, corresponding place can be just found according to caption data leaching ID
Unit is managed, for example, the bottom data filter corresponding with caption data leaching ID, resolver, therefore, Subtitle Demonstration of the present invention
System is by the compatible multiple caption species of system registry management mode, it is not necessary to sets multiple interfaces to be handled, carries significantly
The high efficiency of captions processing;
The present invention is shown by system registry management mode, structural data processing mode and unlatching single process, real
Unified interface processing polytype captions are showed, have possessed the functions such as captions reception, analysis, storage, display, substantially increase captions
Display efficiency and Subtitle Demonstration stability.
Although the foregoing describing the embodiment of the present invention, those familiar with the art should manage
Solution, the specific embodiment described by us is merely exemplary, rather than for the restriction to the scope of the present invention, is familiar with this
The equivalent modification and change that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's
In scope of the claimed protection.
Claims (3)
1. a kind of set top box caption display system, it is characterised in that the caption display system includes:
Captions receiving module:The captions receiving module obtains language message parameter list first in Program Map Table, from institute
The captions types of captions to be shown is obtained in predicate speech information parameter list, according to the captions type to the Subtitle Demonstration system
System registration is obtained:The size of display buffer needed for the type captions and caption data leaching ID, are filtered according to the caption data
Take ID to open corresponding bottom data leaching device, then the corresponding caption data of leaching, and be put into buffer circle, wait captions
Parsing module is transferred;The captions leaching ID is used to recognize captions type;
Subtitle resolving module:The subtitle resolving module individually opens a process, and circular wait caption data is parsed, root
The caption data transferred is put into corresponding resolver according to the caption data leaching ID and parsed;
Captions memory module:The caption data that the captions memory module has been parsed according to display pattern handling, is formed to be shown
Caption data, meanwhile, the captions memory module is sent out according to the size of the required display buffer to caption display system
Go out request, so as to obtain required display buffer, caption data to be shown is then put into display buffer, wait aobvious
Show;
Subtitle Demonstration module:Subtitle Demonstration module individually opens another process, circular wait caption data to be shown;It is described
Subtitle Demonstration module is put into the caption data to be shown in video card internal memory and shown, so as to complete set top box captions
Efficient stable show process, specifically:Display first determines whether whether show flag bit immediately in caption data to be shown
It is true, just shows the caption data when being true immediately, if flag bit is not true, when can uses the STC of PTS times and set top box
Between be compared, the threshold value no more than setting is then defined as needing display, is otherwise judged again during next round poll.
2. a kind of set top box caption display system according to claim 1, it is characterised in that the display structure includes word
Curtain ID, shows flag bit, pre cleaning flag bit, PTS times, duration, viewing area, background colour and foreground immediately.
3. a kind of set top box caption display system according to claim 2, it is characterised in that when showing caption data,
According to pre cleaning flag bit judge whether that screen is carried out to remove in advance and fill Transparent color, first needing viewing area to fill out during display
Fill background colour, be then further filled with caption data to be shown, then creating one removes the caption data timer, the time according to
Depending on showing the duration in structure, when timer time then, the caption data can be removed, or more than captions maximum number
When, earliest caption data is removed, the captions maximum number is arranged as required to.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510118838.5A CN104780416B (en) | 2015-03-18 | 2015-03-18 | A kind of set top box caption display system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510118838.5A CN104780416B (en) | 2015-03-18 | 2015-03-18 | A kind of set top box caption display system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104780416A CN104780416A (en) | 2015-07-15 |
CN104780416B true CN104780416B (en) | 2017-09-08 |
Family
ID=53621604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510118838.5A Active CN104780416B (en) | 2015-03-18 | 2015-03-18 | A kind of set top box caption display system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104780416B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302215B (en) * | 2021-12-29 | 2023-09-29 | 北京奕斯伟计算技术股份有限公司 | Video data stream decoding system, method, electronic device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483724A (en) * | 2008-01-11 | 2009-07-15 | 新奥特(北京)视频技术有限公司 | Unattended operating distributed multi-thread subtitile rendering and playing method |
CN103067774A (en) * | 2012-12-28 | 2013-04-24 | 四川九洲电器集团有限责任公司 | Method and system capable of enabling set top box to display add-on subtitles |
CN103269447A (en) * | 2013-04-22 | 2013-08-28 | 深圳市视维科技有限公司 | Method for achieving multi-national languages on set top boxes |
CN103686352A (en) * | 2013-11-15 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Smart television media player and subtitle processing method thereof, and smart television |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5702069B2 (en) * | 2010-03-08 | 2015-04-15 | 日立マクセル株式会社 | Video system, video output device, and video output method |
-
2015
- 2015-03-18 CN CN201510118838.5A patent/CN104780416B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483724A (en) * | 2008-01-11 | 2009-07-15 | 新奥特(北京)视频技术有限公司 | Unattended operating distributed multi-thread subtitile rendering and playing method |
CN103067774A (en) * | 2012-12-28 | 2013-04-24 | 四川九洲电器集团有限责任公司 | Method and system capable of enabling set top box to display add-on subtitles |
CN103269447A (en) * | 2013-04-22 | 2013-08-28 | 深圳市视维科技有限公司 | Method for achieving multi-national languages on set top boxes |
CN103686352A (en) * | 2013-11-15 | 2014-03-26 | 乐视致新电子科技(天津)有限公司 | Smart television media player and subtitle processing method thereof, and smart television |
Also Published As
Publication number | Publication date |
---|---|
CN104780416A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105632266B (en) | Classroom instruction interaction systems and method | |
CN103902318A (en) | Android platform based image loading method | |
CN102650946A (en) | Method for loading and displaying graphical interface at hand-held terminal | |
CN104780416B (en) | A kind of set top box caption display system | |
CN105681343A (en) | Processing method and device for state control protocol based on ARM architecture | |
CN104506943A (en) | Set top box software customized upgrading method | |
CN102792682A (en) | Method for performing video display control, and associated video processing circuit and display system | |
CN102244752A (en) | Method for automatically updating and upgrading television channel database and television | |
CN104811334B (en) | The management method of more CEC communication apparatus | |
CN102638663A (en) | Method and device for setting automatic channel skip for repetitive channels of digital television | |
CN104811802A (en) | Image playing method and apparatus | |
CN107172139B (en) | Wireless protocol stack and implementation method thereof | |
CN103067774A (en) | Method and system capable of enabling set top box to display add-on subtitles | |
CN107613329A (en) | Program updating method, television set and the computer-readable recording medium of television set | |
CN103747191A (en) | Network interaction high-definition character superimposition system | |
CN106094858A (en) | A kind of full link control system of unmanned plane and control method thereof | |
CN102547410A (en) | Digital television (TV) terminal as well as upgrading method and device thereof | |
CN105320684A (en) | Data exchange method of closed captions | |
WO2018054276A1 (en) | Program updating method and multi-mode set-top box | |
CN109445876A (en) | The method and monitor of LUT data load | |
CN112235628B (en) | Multi-window opening method, device, equipment and medium for television operating system | |
CN105653587B (en) | Heterologous isomeric data cleaning method and its system | |
CN104936015A (en) | Set top box language control method and system | |
CN105718388A (en) | USB device based asynchronous calling method and apparatus | |
CN110413280A (en) | A kind of Android system graphic display method |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Zhang Honghui Inventor after: Chen Xiaohui Inventor after: Yuan Wei Inventor after: Shen Shaoyang Inventor before: Ye Junyong |
|
GR01 | Patent grant | ||
GR01 | Patent grant |