CN101594479A - A kind of system of processing ultralong caption data - Google Patents

A kind of system of processing ultralong caption data Download PDF

Info

Publication number
CN101594479A
CN101594479A CN 200810113849 CN200810113849A CN101594479A CN 101594479 A CN101594479 A CN 101594479A CN 200810113849 CN200810113849 CN 200810113849 CN 200810113849 A CN200810113849 A CN 200810113849A CN 101594479 A CN101594479 A CN 101594479A
Authority
CN
China
Prior art keywords
captions
memory
memory block
image
internal memory
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.)
Granted
Application number
CN 200810113849
Other languages
Chinese (zh)
Other versions
CN101594479B (en
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN 200810113849 priority Critical patent/CN101594479B/en
Publication of CN101594479A publication Critical patent/CN101594479A/en
Application granted granted Critical
Publication of CN101594479B publication Critical patent/CN101594479B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a kind of system of processing ultralong caption data, it is characterized in that, comprising: determination module is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions; Distribution module is used to captions image storage allocation; Adjusting module is used for adjusting the captions picture material of internal memory; Logging modle is used to write down the pointer of the blank content of memory block.Be captions image storage allocation by the memory block that adopts a plurality of fixed sizes among the present invention, the needed bulk memory of ultralong caption can be realized by a plurality of memory block updated stored images; Image is stored in respectively on the different memory blocks, reduces the image render time, and it is smooth that real-time dynamic title is broadcasted; Each character in the memory block is all played up fully, the flaw problem that the border character causes can not occurred.

Description

A kind of system of processing ultralong caption data
Technical field
The present invention relates to field of broadcast televisions, relate in particular to a kind of system of processing ultralong caption data.
Background technology
The captions of computer and graph technology have been widely used in pbs film, TV domain.Application as subtitle graphic relates to the every aspect that station synchronization is made, and comprises live, the studio of news, and all variety, physical culture, finance and economics, meteorology etc. comprise that also the making of movie and television play all relates to.At record and broadcast, later stage and edit field, studio and broadcasting line, subtitle graphic all is an element the most commonly used.Along with the extensive use of captions, different according to function and effect, captions can be divided into common captions, surtitle and roll screen captions etc. again.Captions are by computer letter symbol to be played up the image of certain visual effects, the size of image depend on the size of character, what etc.Therefore, need be the image dynamic assigning memory during caption rendering.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Character once is rendered in the internal memory following problem may occur, comprising: ultralong caption needs the internal memory of bulk, and region of memory is always limited, may cause the storehouse buffering to be overflowed, and causes bulk memory to distribute failure; The big more time of playing up of image is long more, and it is smooth to cause captions to broadcast for real-time dynamic title, and the sense of pause is arranged; Under the memory block of fixed size, the border character of two memory blocks inevitably appears crossing in meeting, owing to reasons such as errors, occurs flaw in the time of can splicing at the same character that two memory blocks are played up respectively.
Summary of the invention
The invention provides a kind of system of processing ultralong caption data, the data processing when playing with the realization ultralong caption.
The invention provides a kind of system of processing ultralong caption data, it is characterized in that, comprising:
Determination module is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions;
Distribution module is used to captions image storage allocation.The computer Memory Allocation that the N+1 piece is onesize is given the captions image, forms the internal memory chained list; Wherein, N piece internal memory is used to store the captions image of screen display area size, and 1 internal memory is used to store the captions image that will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing screen display area in the internal memory all the time and the captions image that will show;
Logging modle is used to write down the pointer of the blank content of memory block, the pointer of fill area not in the current memory block that writes down when this memory block can not be played up in current memory block fully for certain character.
Described distribution module also comprises:
Image storage unit is used for the captions image of storing initial;
The image-erasing unit when being used for described chained list gauge outfit internal memory captions image and playing, is deleted former gauge outfit and is now shown the picture material of storing in the tail memory block;
Image deposits the unit in, is used to deposit in the picture material that will play.
Described adjusting module also comprises:
Synchronous updating block when being used for former gauge outfit memory block image and finishing, upgrades the caption content of former gauge outfit memory block;
Chained list gauge outfit updating block is used for chained list gauge outfit internal memory captions image and finishes, and this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next memory block.
Described logging modle also comprises:
Judging unit, be used to judge character whether be cross over two memory blocks the border character;
Record cell is used to write down the pointer of the blank content of memory block.
Compared with prior art, the present invention has the following advantages:
Among the present invention, be captions image storage allocation, the needed bulk memory of ultralong caption can be realized by a plurality of memory block updated stored images by the memory block that adopts a plurality of fixed sizes; The image morsel is played up step by step and is stored in successively on the different memory blocks, reduces the image render time, and it is smooth that real-time dynamic title is broadcasted; Each character in the memory block is all played up fully, the flaw problem that the border character causes can not occurred.
Description of drawings
Fig. 1 is the method flow diagram of a kind of processing ultralong caption data among the present invention;
Fig. 2 is the processing method schematic diagram of the appearance border character among the present invention;
Fig. 3 is the schematic diagram of the ultralong caption processing method that rolls left among the present invention;
Fig. 4 is the system schematic of a kind of processing ultralong caption data among the present invention;
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in detail.
The method of a kind of processing ultralong caption data provided by the invention as shown in Figure 1, comprises the steps:
Step S101, terminal is determined the size of described internal memory and the value of N according to the size of view screen and the data volume of captions.
Step S102, terminal is distributed the onesize internal memory of N+1 piece for the captions image, forms the internal memory chained list.Wherein have N piece internal memory to be used to store the captions image of screen display area size, 1 internal memory is used to store the captions image that will show.
Step S103, terminal is played up the onesize caption image of N+1 piece and is stored into successively in the memory block of internal memory chained list.
Step S104, the memory block captions of broadcast internal memory chained list; The captions image of memory constantly upgrades, and just stores the captions image that will play, thereby finishes the mobile storage of described ultralong caption image at once.
Step S105 finishes when the memory block captions of internal memory chained list gauge outfit show, terminal removes the memory block pointer from internal memory chained list gauge outfit, add the chained list tail.Internal memory chained list gauge outfit is pointed to next memory block, and terminal will be upgraded the caption content that former gauge outfit is now shown the tail memory block, and the former memory image content that terminal is now shown the tail internal memory with former gauge outfit is deleted, and deposits the picture material that will play then in.
Step S106 between the memory block of two fixed sizes, the border character of two memory blocks can occur crossing over, plays up respectively at two memory blocks flaw can occur when same character splices.Under the situation that each character in guaranteeing memory block is all played up fully, just need to adopt the memory block of fixed size, write down the blank content pointers of memory block with terminal, the pointer of fill area not in the current memory block that writes down when this memory block can not be played up fully for certain character in current memory block; Enter then next memory block and from then on character begin to play up.For example, character D is between internal memory 1 and internal memory 2, and owing to reasons such as errors, when internal memory 1 and internal memory 2 were played up character D respectively, flaw will appear in splicing.At this moment just must to guarantee that each character in memory block 1 and the memory block 2 all plays up fully, and the situation of border character D not occur playing up for twice.As shown in Figure 2, adopt the fixed size memory block, when character D can not play up in current memory block 1 fully, the blank content pointers of record memory block this moment entered into next memory block 2, and D begins to play up from this character.
Data processing with the ultralong caption that rolls left is that example is elaborated below, as shown in Figure 3.
Gray area is the screen display captions among the figure, when the memory block captions of internal memory chained list gauge outfit have shown, this memory block pointer removes from internal memory chained list gauge outfit, add the chained list tail, internal memory chained list gauge outfit is pointed to next internal memory, upgrades the caption content that former gauge outfit is now shown the tail memory block, because the viewing area image has been divided into the smaller internal memory of N piece, every internal memory render time is very short, can not cause discontinuous that captions move.
The invention provides a kind of system of processing ultralong caption data, as shown in Figure 4, comprising:
Determination module 410 is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions.
Distribution module 420 is used to captions image storage allocation.The computer Memory Allocation that the N+1 piece is onesize is given the captions image, forms the internal memory chained list; Wherein, N piece internal memory is used to store the captions image of screen display area size, and 1 internal memory is used to store the captions image that will show.
Adjusting module 430 is used to adjust the captions picture material of memory, makes the captions image of depositing screen display area in the internal memory all the time and the captions image that will show.
Logging modle 440 is used to write down the pointer of the blank content of memory block, the pointer of fill area not in the current memory block that writes down when this memory block can not be played up in current memory block fully for certain character.
Concrete, distribution module 420 further comprises:
Image storage unit 421 is used for the captions image of storing initial.
Image-erasing unit 422 when being used for described chained list gauge outfit internal memory captions image and finishing, is deleted former gauge outfit and is now shown the picture material of storing in the tail memory block.
Image deposits unit 423 in, is used to deposit in the picture material that will play.
Concrete, adjusting module 430 further comprises:
Synchronous updating block 431 when being used for former gauge outfit memory block image and finishing, upgrades the caption content of former gauge outfit memory block.
Chained list gauge outfit updating block 432 is used for chained list gauge outfit internal memory captions image and finishes, and this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next memory block.
Concrete, logging modle 440 further comprises:
Judging unit 441, be used to judge character whether be cross over two memory blocks the border character.
Record cell 442 is used to write down the pointer of the blank content of memory block.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (4)

1, a kind of system of processing ultralong caption data is characterized in that, comprising:
Determination module is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions;
Distribution module is used to captions image storage allocation.The computer Memory Allocation that the N+1 piece is onesize is given the captions image, forms the internal memory chained list; Wherein, N piece internal memory is used to store the captions image of screen display area size, and 1 internal memory is used to store the captions image that will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing screen display area in the internal memory all the time and the captions image that will show;
Logging modle is used to write down the pointer of the blank content of memory block, the pointer of fill area not in the current memory block that writes down when this memory block can not be played up in current memory block fully for certain character.
2, the system of processing ultralong caption data according to claim 1 is characterized in that described distribution module comprises:
Image storage unit is used for the captions image of storing initial;
The image-erasing unit when being used for described chained list gauge outfit internal memory captions image and finishing, is deleted former gauge outfit and is now shown the picture material of storing in the tail memory block;
Image deposits the unit in, is used to deposit in the picture material that will play.
3, the system of processing ultralong caption data according to claim 1 is characterized in that described adjusting module comprises:
Synchronous updating block when being used for former gauge outfit memory block image and finishing, upgrades the caption content of former gauge outfit memory block;
Chained list gauge outfit updating block is used for chained list gauge outfit internal memory captions image and finishes, and this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next memory block.
4, the system of processing ultralong caption data according to claim 1 is characterized in that described logging modle comprises:
Judging unit, be used to judge character whether be cross over two memory blocks the border character;
Record cell is used to write down the pointer of the blank content of memory block.
CN 200810113849 2008-05-30 2008-05-30 System for processing ultralong caption data Expired - Fee Related CN101594479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810113849 CN101594479B (en) 2008-05-30 2008-05-30 System for processing ultralong caption data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810113849 CN101594479B (en) 2008-05-30 2008-05-30 System for processing ultralong caption data

Publications (2)

Publication Number Publication Date
CN101594479A true CN101594479A (en) 2009-12-02
CN101594479B CN101594479B (en) 2013-01-02

Family

ID=41408892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810113849 Expired - Fee Related CN101594479B (en) 2008-05-30 2008-05-30 System for processing ultralong caption data

Country Status (1)

Country Link
CN (1) CN101594479B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2586193A1 (en) * 2010-06-28 2013-05-01 Nokia Corp. Method and apparatus for accessing multimedia content having subtitle data
CN105148519B (en) * 2015-08-05 2018-09-11 北京乐动卓越科技有限公司 A kind of word rendering intent in games and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100262959B1 (en) * 1998-04-27 2000-08-01 구자홍 Method for character fold writing control of hangul caption broadcasting
US6417888B1 (en) * 1998-10-09 2002-07-09 Matsushita Electric Industrial Co., Ltd. On screen display processor
JP2004080675A (en) * 2002-08-22 2004-03-11 Funai Electric Co Ltd Digital broadcast receiver
CN1909607A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 DVD image scale adjusting method in wide-screen display
KR100662413B1 (en) * 2005-08-16 2007-01-02 엘지전자 주식회사 The display device for offering movie modes and method for controlling the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2586193A1 (en) * 2010-06-28 2013-05-01 Nokia Corp. Method and apparatus for accessing multimedia content having subtitle data
EP2586193A4 (en) * 2010-06-28 2014-03-26 Nokia Corp Method and apparatus for accessing multimedia content having subtitle data
CN105148519B (en) * 2015-08-05 2018-09-11 北京乐动卓越科技有限公司 A kind of word rendering intent in games and system

Also Published As

Publication number Publication date
CN101594479B (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN1997153B (en) A method and device for computer multi-video playing
US11350069B2 (en) Source device and control method thereof, and sink device and image quality improvement processing method thereof
CN103905744A (en) Rendering synthesis method and system
US20200186887A1 (en) Real-time broadcast editing system and method
CN110868625A (en) Video playing method and device, electronic equipment and storage medium
US20110052136A1 (en) Pattern-based monitoring of media synchronization
CN102629460B (en) Method and apparatus for controlling frame frequency of liquid crystal display
US10560753B2 (en) Method and system for image alteration
CN113424553B (en) Method and system for playback of media items
KR101629813B1 (en) Digital broadcasting reception apparatus and method for providing zapping advertisement using the same
US20160119661A1 (en) On-Demand Metadata Insertion into Single-Stream Content
CN101594476A (en) A kind of processing method of ultralong caption rendering
CN102665051A (en) Embedded system based display terminal and method and system for subtitle display of display terminal
CN101594477B (en) Processing system of ultralong caption rendering
CN105282560B (en) A kind of method and system of quick broadcasting network video
CN103618952A (en) Method for playing boot animation of intelligent television and intelligent television
CA3113986A1 (en) Systems and methods for displaying a live video stream in a graphical user interface
CN112019906A (en) Live broadcast method, computer equipment and readable storage medium
CN107317960A (en) Video image acquisition methods and acquisition device
CN101594479B (en) System for processing ultralong caption data
CN1917600A (en) Terminal for displaying distributed picture content
CN107580264A (en) Multimedia resource play handling method and device
KR101377950B1 (en) Image display method and terminal implementing the same
CN101594478B (en) Method for processing ultralong caption data
US20220321945A1 (en) Server-side digital content insertion in audiovisual streams broadcasted through an interactive live streaming network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130102

Termination date: 20170530

CF01 Termination of patent right due to non-payment of annual fee