CN102694990A - Method and device for realizing variable-length rolling screen - Google Patents

Method and device for realizing variable-length rolling screen Download PDF

Info

Publication number
CN102694990A
CN102694990A CN2011102500287A CN201110250028A CN102694990A CN 102694990 A CN102694990 A CN 102694990A CN 2011102500287 A CN2011102500287 A CN 2011102500287A CN 201110250028 A CN201110250028 A CN 201110250028A CN 102694990 A CN102694990 A CN 102694990A
Authority
CN
China
Prior art keywords
screen
rolls
rolling
node
captions
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
CN2011102500287A
Other languages
Chinese (zh)
Other versions
CN102694990B (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.)
Beijing Jinsong Chuangyi Technology Co.,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 CN201110250028.7A priority Critical patent/CN102694990B/en
Publication of CN102694990A publication Critical patent/CN102694990A/en
Application granted granted Critical
Publication of CN102694990B publication Critical patent/CN102694990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing a variable-length rolling screen. The method specifically comprises the following steps of: receiving a command request for displaying number of character fonts in each line in a rolling screen set by a user in real time; recording the character font segmentation number in each line and generating subtitle nodes according to the command request; segmenting the rolling character paragraphs to be displayed and generating character paragraph blocks according to the subtitle nodes, and sequentially storing the rolling character paragraph blocks in a rolling ready queue for waiting for rolling; and rendering the rolling screen driving of each frame of the subtitle nodes, so that the rolling character paragraph blocks waiting for rolling sequentially enter a rolling screen area to realize variable-length rolling screen. By the method, the user can modify the number of the characters in each line at any time, a subtitle node is arranged in each line, the lines are connected with each other and are independent from one another, once the characters in the first line roll out of the rolling area, the characters are deleted, and the newly generated subtitle nodes are reutilized.

Description

A kind of variable length rolls the implementation method and the device of screen
Technical field
The present invention relates to the diagram text manufacture technical field in broadcasting and TV field, relate in particular to implementation method and device that a kind of variable length rolls screen.
Background technology
In captions or the picture and text broadcast system, rolling screen is a kind of effect of widespread usage, on roll across in the journey, literal often needs to roll on neat being undertaken by certain number of confirming.Perhaps when broadcasting in real time, carry out certain and clocklike change,, realize the different variation of literal that every row rolls such as increasing a word gradually or reducing by a word.
For the variation that realizes the every style of writing word number in the scroll-up/down, generally all be to adopt in the prior art, limit then enter a new line in case surpass the literal of regulation, and need make template in advance, roll the broadcast of screen the literal control that enters a new line.If it is different then need to set type again during live play with the number of words in the designing template in advance.
The inventor finds that there is following technical problem in prior art in the process of embodiment of the present invention:
(1) whole scroll zones space of a whole page is a captions node;
(2) literal that rolls out scroll zones still is in rolling condition, can not picked-off.
Summary of the invention
In order to solve the shortcoming of above-mentioned prior art, main purpose of the present invention provides implementation method and the device that a kind of variable length rolls screen, and the number of every style of writing word that control is in real time rolled makes the user can revise the number of the literal of every row at any time.
In order to achieve the above object, the invention provides the implementation method that a kind of variable length rolls screen up and down, specifically comprise:
Receive the request command that rolls every capable display font number in the screen that the user sets in real time;
Font according to each row of described request command record is cut apart number and is generated the captions node;
Rolling literal paragraph to display is cut apart and generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation and roll;
The screen that rolls of playing up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
The implement device that another aspect of the present invention also provides a kind of variable length to roll screen up and down, this device comprises:
The real-time receiving element of request command is used for receiving in real time the request command that rolls the every capable display font number of screen that the user sets;
Captions node generation unit is used for cutting apart number and generating the captions node according to the font of each row of described request command record;
Literal paragraph cutting unit is used for rolling literal paragraph to display is cut apart and being generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation and roll;
Roll the screen rendering unit, the screen that rolls that is used to play up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
The present invention is through control the number of every style of writing word in real time, and the user can revise the literal number of every row at any time, and according to user's real-time request, each row that rolls up and down in the screen generates a new captions node in real time according to new request.Each row is a captions node, interconnects and is separate between each row, in case the first style of writing word rolls out scroll zones then picked-off, utilizes again then to generate new captions node.
Description of drawings
Technical scheme for the clearer explanation embodiment of the invention; The accompanying drawing of required use is done simple the introduction in will describing embodiment below; Conspicuous, the 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 rolls the implementation method flow chart of screen for a kind of variable length in the embodiment of the invention;
Fig. 2 rolls the method flow diagram of screen for realizing variable length in another embodiment of the present invention;
Fig. 3 rolls the formation picture of device that screen is realized for a kind of variable length in the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, complete description; Obvious described embodiment only is a part of embodiment of the present invention, is not whole embodiment, based on the embodiment among the present invention; Those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The implementation method that the embodiment of the invention provides a kind of variable length to roll screen on the one hand, this method is as shown in Figure 1, specifically comprises:
Step S101: user real time is set the request of rolling the number of every capable display font in the screen and sending every capable font number.
Step S102: the rolling literal is prepared interface and is received behind the request command that rolls every capable display font number in the screen that the user sets the font of this row of record in real time and cut apart number.Said font is cut apart number and is the font number that every row shows.
Step S103: cut apart number according to said font and generate the captions node.Each row generates a captions node, and the number of words in each captions node limits separately.
Concrete, behind the acquisition rolling literal paragraph, utilize the font of first row to cut apart number, obtain a new captions node, carry out the design of new captions node, remaining literal keeps and wouldn't handle.The residue literal carries out cutting apart number by font at next frame to be cut apart, and designs new captions node.
Preferably, send new every capable font number request, then revise font and cut apart number, utilize new font to cut apart the new captions node of number design if receive the user once more.
Step S104: rolling literal paragraph to display is cut apart and generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation and roll.
Concrete, being stored in rolls prepares to wait in the formation when rolling that the captions node with each frame is successively placed on the starting end that rolls the screen zone.
Step S105: the screen that rolls of playing up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
After each was advanced into scroll zones, next line was placed in the below of rolling screen zone and waits for that the screen that rolls of next frame drives to get into and rolls the screen zone.And picked-off after each style of writing word rolls out scroll zones, and utilize the new captions node of generation again.
The embodiment of the invention is through control the number of every style of writing word in real time, and the user can revise the literal number of every row at any time, and according to user's real-time request, each row that rolls up and down in the screen generates a new captions node in real time according to new request.Each row is a captions node, interconnects and is separate between each row, in case the first style of writing word rolls out scroll zones then picked-off, utilizes again then to generate new captions node.
With practical application the implementation method that the variable length in the foregoing description one rolls screen is done further detailed explanation in the embodiment of the invention two; Main render layer from roll screen system in the embodiment of the invention; Roll the screen plug-in unit; Carry out mutual process between node maker and the key-course method that above-mentioned realization variable length rolls screen is described, as shown in Figure 2, specifically comprise:
Step S201: user real time is set font number that every row shows and whole and is rolled and roll the screen paragraphs in the screen zone.
Step S202: key-course with the font number among the step S201 with roll the screen content send the node maker to.
Step S203: the node maker will roll the screen content segmentation according to said font number and be several rolling literal paragraph pieces, and each field is generated as the captions node respectively.
Step S204: key-course sends play instruction, rolls the captions node of screen plug-in unit to said each frame of node maker request.
Step S205: the captions node that rolls screen plug-in unit each frame that will get access to is placed on the starting end that rolls the screen zone successively, and deposits in and roll in the screen waiting list.
Step S206: the screen that rolls that render layer is played up said each frame of captions node drives, and makes to wait for that the rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
The present invention is through control the number of every style of writing word in real time, and the user can revise the literal number of every row at any time, and each row generates a captions node; When the change of design number of words; Need not to set type again, the captions node that only needs to revise every row gets final product, and broadcast efficient is provided.
The implement device that provides a kind of variable length to roll screen up and down in the embodiment of the invention three, this device as shown in Figure 3 comprises:
The real-time receiving element 31 of request command is used for receiving in real time the request command that rolls the every capable display font number of screen that the user sets.
Captions node generation unit 32 is used for cutting apart number and generating the captions node according to the font of each row of described request command record.
Wherein, cutting apart the process that number generates the captions node according to font specifically comprises: obtain the font that first row shows and cut apart number; Font according to said first row shows is cut apart first captions node of number generation, and other residue literal except that the literal that first row shows keep; Cutting apart number according to the font of next line cuts apart said residue literal successively and generates the captions node.Each row generates a captions node, and the number of words in each captions node limits separately.
Literal paragraph cutting unit 33 is used for rolling literal paragraph to display is cut apart and being generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation rolling.
Concrete, after each was advanced into scroll zones, next line was placed in the below of rolling the screen zone and waits for that the screen that rolls of next frame drives to get into and rolls the screen zone.
Roll screen rendering unit 34, the screen that rolls that is used to play up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
The present invention is through control the number of every style of writing word in real time, and the user can revise the literal number of every row at any time, and according to user's real-time request, each row that rolls up and down in the screen generates a new captions node in real time according to new request.Each row is a captions node, interconnects and is separate between each row, in case the first style of writing word rolls out scroll zones then picked-off, utilizes again then to generate new captions node.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through software, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above is merely specific embodiment of the present invention, but characteristic of the present invention is not limited thereto, and any people who is familiar with this technology is in field of the present invention, and the variation that can expect easily or modification all should be encompassed in the following claim of the present invention.

Claims (7)

1. the implementation method that variable length rolls screen up and down is characterized in that, this method comprises:
Receive the request command that rolls every capable display font number in the screen that the user sets in real time;
Font according to each row of described request command record is cut apart number and is generated the captions node;
Rolling literal paragraph to display is cut apart and generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation and roll;
The screen that rolls of playing up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
2. variable length as claimed in claim 1 rolls the implementation method of screen, it is characterized in that, the process of cutting apart number generation captions node according to font specifically comprises:
The font of obtaining the first row demonstration is cut apart number;
Font according to said first row shows is cut apart first captions node of number generation, and other residue literal except that the literal that first row shows keep;
Cutting apart number according to the font of next line cuts apart said residue literal successively and generates the captions node.
3. variable length as claimed in claim 2 rolls the implementation method of screen, it is characterized in that, this method also comprises:
Each row generates a captions node.
4. variable length as claimed in claim 1 rolls the implementation method of screen, it is characterized in that, said rolling literal paragraph to display is cut apart and is stored in successively roll to prepare that waiting in the formation rolls is specially:
The captions node of each frame is successively placed on the said starting end that rolls the screen zone.
5. variable length as claimed in claim 1 rolls the implementation method of screen, it is characterized in that, the said screen that rolls of playing up each frame drives to get into successively and rolls the regional detailed process of screen and be:
After each was advanced into said scroll zones, next line was placed in said below of rolling screen zone and waits for that the screen that rolls of next frame drives and gets into the said screen zone of rolling.
6. variable length as claimed in claim 5 rolls the implementation method of screen, it is characterized in that, this method also comprises:
Picked-off after each style of writing word rolls out scroll zones, and utilize the new captions node of generation again.
7. a variable length rolls the implement device of screen up and down, it is characterized in that this device comprises:
The real-time receiving element of request command is used for receiving in real time the request command that rolls the every capable display font number of screen that the user sets;
Captions node generation unit is used for cutting apart number and generating the captions node according to the font of each row of described request command record;
Literal paragraph cutting unit is used for rolling literal paragraph to display is cut apart and being generated rolling literal paragraph piece according to said captions node, said rolling literal paragraph piece is stored in to roll successively prepares to wait in the formation and roll;
Roll the screen rendering unit, the screen that rolls that is used to play up said each frame of captions node drives, and makes to wait for that the said rolling literal paragraph piece that rolls gets into successively and roll the screen zone and realize that variable length rolls screen.
CN201110250028.7A 2011-08-29 2011-08-29 Method and device for realizing variable-length rolling screen Active CN102694990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110250028.7A CN102694990B (en) 2011-08-29 2011-08-29 Method and device for realizing variable-length rolling screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110250028.7A CN102694990B (en) 2011-08-29 2011-08-29 Method and device for realizing variable-length rolling screen

Publications (2)

Publication Number Publication Date
CN102694990A true CN102694990A (en) 2012-09-26
CN102694990B CN102694990B (en) 2015-02-18

Family

ID=46860257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110250028.7A Active CN102694990B (en) 2011-08-29 2011-08-29 Method and device for realizing variable-length rolling screen

Country Status (1)

Country Link
CN (1) CN102694990B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885365A (en) * 2020-07-17 2020-11-03 深圳市瑞立视多媒体科技有限公司 Method, device and equipment for realizing subtitles based on illusion engine and storage medium
CN112866780A (en) * 2019-11-28 2021-05-28 西安诺瓦星云科技股份有限公司 Subtitle circular display method and device, video processing equipment system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1169081A (en) * 1996-05-03 1997-12-31 三星电子株式会社 Soft scrolling method of closed-caption words
CN101064177A (en) * 2006-04-26 2007-10-31 松下电器产业株式会社 Caption display control apparatus
CN101742162A (en) * 2008-11-07 2010-06-16 深圳Tcl新技术有限公司 Method for displaying electronic program guide information
JP2010273051A (en) * 2009-05-20 2010-12-02 Sharp Corp Video processing apparatus, video display device and video processing method
CN102123246A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 Method and device for generating scroll node in scroll design
CN102158666A (en) * 2010-04-21 2011-08-17 青岛海信传媒网络技术有限公司 Method and device for displaying rolling subtitles

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1169081A (en) * 1996-05-03 1997-12-31 三星电子株式会社 Soft scrolling method of closed-caption words
CN101064177A (en) * 2006-04-26 2007-10-31 松下电器产业株式会社 Caption display control apparatus
CN101742162A (en) * 2008-11-07 2010-06-16 深圳Tcl新技术有限公司 Method for displaying electronic program guide information
JP2010273051A (en) * 2009-05-20 2010-12-02 Sharp Corp Video processing apparatus, video display device and video processing method
CN102123246A (en) * 2010-01-07 2011-07-13 新奥特(北京)视频技术有限公司 Method and device for generating scroll node in scroll design
CN102158666A (en) * 2010-04-21 2011-08-17 青岛海信传媒网络技术有限公司 Method and device for displaying rolling subtitles

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866780A (en) * 2019-11-28 2021-05-28 西安诺瓦星云科技股份有限公司 Subtitle circular display method and device, video processing equipment system and storage medium
CN112866780B (en) * 2019-11-28 2023-09-08 西安诺瓦星云科技股份有限公司 Subtitle cyclic display method and device, video processing equipment system and storage medium
CN111885365A (en) * 2020-07-17 2020-11-03 深圳市瑞立视多媒体科技有限公司 Method, device and equipment for realizing subtitles based on illusion engine and storage medium

Also Published As

Publication number Publication date
CN102694990B (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN103309563B (en) Displayed page switching method and device
CN104298725B (en) The method that online courseware development system disposably edits input multi version output
CN103092954A (en) Low-resolution placeholder content for file navigation
CN101540861A (en) Playing method, system and mobile terminal of video file
CN105389159A (en) Picture rendering method, device and mobile terminal
CN102419742A (en) Subtitle processing method and device applied to electronic equipment
CN104581396A (en) Processing method and device for promotion information
CN103176952A (en) Document display method and document display device
CN103546828A (en) Method and device for generating program preview
CN109446506A (en) A kind of method and apparatus that electronic spreadsheet table reproduces automatically
CN102694990A (en) Method and device for realizing variable-length rolling screen
CN103313122B (en) A kind of data processing method and electronic equipment
CN109151547B (en) Carousel method, carousel device, terminal and storage medium
CN102915345A (en) Method and device for displaying pages
CA2912324C (en) System to generate a mixed media experience
JP5005782B2 (en) Image generation system
CN106709965A (en) Text display method and text display device based on shared surface
CA2912320C (en) Interactive method and apparatus for mixed media narrative consumption
CN104268925A (en) Dynamic real-time power grid resource GIS rendering algorithm based on GIS platform
CN100474391C (en) Image processing apparatus and method
CN106934847B (en) Pattern generation method and device
CN110399504A (en) A kind of picture carousel method, device, equipment and computer readable storage medium
CN102752552A (en) Method and system for adding subtitles in manuscript
CN102760159A (en) Magazine-type article full text mixed composition method for mobile terminal screen
CN212302771U (en) Touch multimedia teaching all-in-one machine

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211216

Address after: 100195 room 104, floor 1, building 1, courtyard 131, West Fourth Ring North Road, Haidian District, Beijing

Patentee after: Beijing Jinsong Chuangyi Technology Co.,Ltd.

Address before: 100195 new technology building, 49 Wukesong Road, Haidian District, Beijing

Patentee before: China Digital Video (Beijing) Co.,Ltd.