CN101594479B - System for processing ultralong caption data - Google Patents

System for processing ultralong caption data Download PDF

Info

Publication number
CN101594479B
CN101594479B CN 200810113849 CN200810113849A CN101594479B CN 101594479 B CN101594479 B CN 101594479B CN 200810113849 CN200810113849 CN 200810113849 CN 200810113849 A CN200810113849 A CN 200810113849A CN 101594479 B CN101594479 B CN 101594479B
Authority
CN
China
Prior art keywords
memory
image
memory block
captions
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.)
Expired - Fee Related
Application number
CN 200810113849
Other languages
Chinese (zh)
Other versions
CN101594479A (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 system for processing ultralong caption data, which is characterized by comprising a determination module, an allocation module, a regulation module and a record module; wherein, the determination module is used for determining the size of the memory and the value of N according to the size of a playing screen and data quantity of the caption; the allocation module is used for allocating the memory for caption images; the regulation module is used for regulating the caption image contents in the memory; the record module is used for recording a pointer of the blank content of the memory block. A plurality of memory blocks with fixed sizes are adopted to allocate memory for caption images, so that large memory needed by ultralong caption can be realized by updating memory images by the plurality of memory blocks; thus reducing the render time of the images and ensuring smooth display of the real-time dynamic caption; every character in the memory blocks can be completely rendered without flaws caused by boundary characters.

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 such 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 the element of commonly using the most.Along with the extensive use of captions, different according to function and effect, captions can be divided into again common captions, surtitle and roll screen captions etc.Captions are images of letter symbol being played up certain visual effects by computer, the size of image depend on the size of character, what etc.Therefore, need to 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 Buffer Overflow, causes bulk memory to distribute unsuccessfully; The time that image is played up more greatly is longer, may cause caption playing not smooth 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 can inevitably appear crossing over, and owing to reasons such as errors, flaw can appear when the same character splicing 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 when playing with the realization ultralong caption are processed.
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.Computer Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show;
Logging modle is used for the pointer of the blank content of record memory block, the pointer of fill area not in the current memory block that records 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 for the captions image of storing initial;
The image-erasing unit is used for described chained list gauge outfit internal memory captions image player complete the time, deletes former gauge outfit and now shows the picture material of storing in the tail memory block;
Image deposits the unit in, is used for depositing in the picture material that will play.
Described adjusting module also comprises:
Updating block when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously;
Chained list gauge outfit updating block is used for chained list gauge outfit internal memory captions image player complete, 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 for judging character whether be two memory blocks of leap the border character;
Record cell is for the pointer of the blank content of record memory block.
Compared with prior art, the present invention has the following advantages:
Among the present invention, be captions image storage allocation by the memory block that adopts a plurality of fixed sizes, the needed bulk memory of ultralong caption can be realized by a plurality of memory block updated stored images; Image is divided into fritter to be played up step by step and is stored in successively on the different memory blocks, reduces the image rendering time, real-time dynamic title is broadcasted smooth; Each character in the memory block is 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 that the captions image distributes the onesize internal memory of N+1 piece, forms the internal memory chained list.Wherein have N piece internal memory to be used for the captions image of storage screen display area size, 1 internal memory is used for the captions image that storage 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, complete when the memory block Subtitle Demonstration of internal memory chained list gauge outfit, terminal removes the memory block pointer from internal memory chained list gauge outfit, adds 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 terminal is now shown former gauge outfit the former memory image content deletion of tail internal memory, then deposits the picture material that will play in.
Step S106 between the memory block of two fixed sizes, the border character of two memory blocks can occur crossing over, flaw can occur when two memory blocks are played up respectively same character splicing.In the situation that each character in guaranteeing memory block is played up fully, just need to adopt the memory block of fixed size, record the blank content pointers of memory block with terminal, the pointer of fill area not in the current memory block that records when this memory block can not be played up fully for certain character in current memory block; Then enter 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 respectively character D, flaw will appear in splicing.At this moment just must to guarantee that each character in memory block 1 and the memory block 2 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.
The below is treated to example with the data of the ultralong caption that rolls left and is elaborated, as shown in Figure 3.
Gray area is the screen display captions among the figure, when the memory block Subtitle Demonstration of internal memory chained list gauge outfit complete, 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.Computer Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show.
Adjusting module 430 for the captions picture material of adjusting memory, makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show.
Logging modle 440 is used for the pointer of the blank content of record memory block, the pointer of fill area not in the current memory block that records 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 for the captions image of storing initial.
Image-erasing unit 422 is used for described chained list gauge outfit internal memory captions image player complete the time, deletes former gauge outfit and now shows the picture material of storing in the tail memory block.
Image deposits unit 423 in, is used for depositing in the picture material that will play.
Concrete, adjusting module 430 further comprises:
Updating block 431 when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously.
Chained list gauge outfit updating block 432 is used for chained list gauge outfit internal memory captions image player complete, 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 for judging character whether be two memory blocks of leap the border character.
Record cell 442 is for the pointer of the blank content of record 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 in 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 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 (3)

1. the system of a processing ultralong caption data is characterized in that, comprising:
Determination module is used for determining the size of 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, and computer Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show;
Logging modle is used for the pointer of the blank content of record memory block, the pointer of fill area not in the current memory block that records when this memory block can not be played up in current memory block fully for certain character;
Wherein, described logging modle comprises:
Judging unit is used for judging whether character is the border character of crossing over two memory blocks;
Record cell is for the pointer of the blank content of record memory block.
2. the system of processing ultralong caption data as claimed in claim 1 is characterized in that, described distribution module comprises:
Image storage unit is for the captions image of storing initial;
The image-erasing unit is used for described chained list gauge outfit internal memory captions image player complete the time, deletes former gauge outfit and now shows the picture material of storing in the tail memory block;
Image deposits the unit in, is used for depositing in the picture material that will play.
3. the system of processing ultralong caption data as claimed in claim 1 is characterized in that, described adjusting module comprises:
Updating block when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously;
Chained list gauge outfit updating block is used for chained list gauge outfit internal memory captions image player complete, and the memory block pointer is removed 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.
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 CN101594479A (en) 2009-12-02
CN101594479B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130202270A1 (en) * 2010-06-28 2013-08-08 Nokia Corporation 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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252677A (en) * 1998-10-09 2000-05-10 松下电器产业株式会社 Screen display processor
KR100262959B1 (en) * 1998-04-27 2000-08-01 구자홍 Method for character fold writing control of hangul caption broadcasting
US7161631B2 (en) * 2002-08-22 2007-01-09 Funai Electric Co., Ltd. Digital broadcast receiving apparatus
CN1909607A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 DVD image scale adjusting method in wide-screen display
CN1917597A (en) * 2005-08-16 2007-02-21 乐金电子(沈阳)有限公司 The display device for offering movie modes and method for controlling the same

Patent Citations (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
CN1252677A (en) * 1998-10-09 2000-05-10 松下电器产业株式会社 Screen display processor
US7161631B2 (en) * 2002-08-22 2007-01-09 Funai Electric Co., Ltd. Digital broadcast receiving apparatus
CN1909607A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 DVD image scale adjusting method in wide-screen display
CN1917597A (en) * 2005-08-16 2007-02-21 乐金电子(沈阳)有限公司 The display device for offering movie modes and method for controlling the same

Also Published As

Publication number Publication date
CN101594479A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
US11350069B2 (en) Source device and control method thereof, and sink device and image quality improvement processing method thereof
CN1997153B (en) A method and device for computer multi-video playing
CN110868625A (en) Video playing method and device, electronic equipment and storage medium
US20200186887A1 (en) Real-time broadcast editing system and method
US8578431B2 (en) Adaptive timeshift service
CN105472437A (en) Video playing method and apparatus thereof
CN102364905B (en) Data reproducing method, device and mobile terminal
CN102629460B (en) Method and apparatus for controlling frame frequency of liquid crystal display
CN103905744A (en) Rendering synthetic method and system
CN108235120A (en) Live video stream method for pushing, device and electronic equipment
CN108337553A (en) A kind of multi-medium data pre-download method
CN101594477B (en) Processing system of ultralong caption rendering
CN101594476A (en) A kind of processing method of ultralong caption rendering
CN105915985A (en) Method for performing watch-back in live broadcasting and device thereof
CN105282560B (en) A kind of method and system of quick broadcasting network video
CN107371053A (en) Audio and video streams comparative analysis method and device
CN101594479B (en) System for processing ultralong caption data
CA3113986A1 (en) Systems and methods for displaying a live video stream in a graphical user interface
CN107580264A (en) Multimedia resource play handling method and device
CN1917600A (en) Terminal for displaying distributed picture content
CN111667313A (en) Advertisement display method and device, client device and storage medium
US20170142172A1 (en) Video Player for Multiple Cameras, Playing System and Playing Method
CN101594478B (en) Method for processing ultralong caption data
CN102088571A (en) Caption displaying method and terminal equipment
CN102724425B (en) A kind of method that teletext template is broadcasted

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130102

Termination date: 20170530