CN102123253B - A kind of generation method and apparatus of scroll contents - Google Patents
A kind of generation method and apparatus of scroll contents Download PDFInfo
- Publication number
- CN102123253B CN102123253B CN201010033981.1A CN201010033981A CN102123253B CN 102123253 B CN102123253 B CN 102123253B CN 201010033981 A CN201010033981 A CN 201010033981A CN 102123253 B CN102123253 B CN 102123253B
- Authority
- CN
- China
- Prior art keywords
- text
- content
- modular unit
- identifier
- unit
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of generation method and apparatus of scroll contents, by adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents, the modular unit that different identifiers is corresponding different, be that content of text searches corresponding modular unit automatically according to identifier, call the modular unit that finds and with its corresponding content of text, it filled, modular unit after filling forms the scroll contents of current text content jointly, thus complete the making of scroll contents fast, effectively reduce workload, improve operating efficiency.
Description
Technical field
The present invention relates to picture and text packing technique field, particularly relate to a kind of generation method and apparatus of scroll contents.
Background technology
The range of application that the fast development of multimedia technology impels picture and text to pack is more and more extensive, not only for TV programme, film and television play, and also all can relate in the activity such as video monitoring, civilian advertisement, wedding celebration video recording, meanwhile, apply also more extensive in the roll screen in TV programme.
At present, what a kind of generation method of scroll contents adopted is utilize roll screen template file, and select modular unit to create, comprising multiple modular unit in roll screen template file, is carry out based on certain content of text in specific implementation.When such as needing scroll contents, for content of text selects required modular unit in roll screen template file, need in specific implementation to select content of text carrying out piecemeal.Have two roll screen modular units in such as current roll screen template file: one is text box one, and another is text box two, these two roll screen modular units are also the pattern of text box one and text box two is different, such as font size, font, word color etc.
Current text content is:
Director
Playwright, screenwriter
Performer
Make up
Stage property
TV station 1
TV station 2
TV station 3
TV station 4
Adopt text box one for the content of text before " TV station 1 ", content of text afterwards adopts text box two, just needs the selection carrying out twice modular unit here, then selects text box one and text box two to generate respectively.
And, above-mentioned example is relatively simple situation, if there is multiple modular unit in template file, and content of text grows to thousands of row, when needing constantly to change modular unit, this what select the implementation method of modular unit to bring line by line according to content of text is very large workload, but also easily occurs mistake, obviously inadvisable.
Therefore, the technical problem needing those skilled in the art urgently to solve at present is exactly: a kind of generation method that how innovatively can propose scroll contents, to solve during existing scroll contents generates the inadvisable phenomenon caused because workload is large, while effectively reducing workload, ensure that work is carried out fast smoothly.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of generation method and apparatus of scroll contents, in order to complete the generation work of scroll contents fast, while reducing workload, increases work efficiency.
In order to solve the problem, the invention discloses a kind of generation method of scroll contents, described method comprises:
The identifier be associated with modular unit in preliminary election template file is added in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
Be that content of text searches corresponding modular unit automatically according to identifier;
Call the modular unit that finds and with its corresponding content of text, it filled; Modular unit after filling forms the scroll contents of current text content jointly.
Preferably, described method also comprises:
Acquisition will generate the content of text of scroll contents.
Preferably, described method also comprises:
For the content of text that will generate scroll contents selects template file; Various template unit is comprised in described template file.
Preferably, described identifier comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
Preferably, described identifier also comprises separator; Described separator is used for the content separating different templates unit in present disclosure.
The invention also discloses a kind of generating apparatus of scroll contents, described device comprises:
Identifier adds module, for adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
Automatically module is searched, for according to identifier being the modular unit that content of text searches correspondence automatically;
Call packing module, for calling the modular unit that finds and filling it with its corresponding content of text; Modular unit after filling forms the scroll contents of current text content jointly.
Preferably, described device also comprises:
Content of text acquisition module, for obtaining the content of text that will generate scroll contents.
Preferably, described device also comprises:
Template file selects module, selects template file for the content of text for generating scroll contents; Various template unit is comprised in described template file.
Preferably, the identifier that described identifier interpolation module is added comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
Compared with prior art, the present invention has the following advantages:
The present invention by adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents, the modular unit that different identifiers is corresponding different, be that content of text searches corresponding modular unit automatically according to identifier, call the modular unit that finds and with its corresponding content of text, it filled, modular unit after filling forms the scroll contents of current text content jointly, thus complete the making of scroll contents fast, effectively reduce workload, improve operating efficiency.
Accompanying drawing explanation
Fig. 1 is the generation method flow diagram of a kind of scroll contents described in the embodiment of the present invention one;
Fig. 2 is the schematic diagram of two modular units described in the embodiment of the present invention one;
Fig. 3 is schematic diagram wherein a part of after screen on the scroll contents described in the embodiment of the present invention one;
Fig. 4 is the generating apparatus structure chart of a kind of scroll contents described in the embodiment of the present invention two.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Along with the development of video and multimedia technology, the application of image-text packaging system in captions make is more and more extensive, often have in actual applications and some content of text are made into the demand of rolling product content, if a kind of method of quick Fabrication scroll contents can be found, so will reduce person works's amount greatly, improve make efficiency.
Therefore, inventor herein is one of core idea proposing the embodiment of the present invention creatively, namely a kind of generation method and apparatus of scroll contents is provided, by adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents, the modular unit that different identifiers is corresponding different, be that content of text searches corresponding modular unit automatically according to identifier, call the modular unit that finds and with its corresponding content of text, it filled, modular unit after filling forms the scroll contents of current text content jointly.
Embodiment one:
With reference to Fig. 1, show the generation method flow diagram of a kind of scroll contents of the present invention, described method specifically comprises:
S101, adds the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
In order to concrete being described of image, be introduced by example here, suppose that the current content of text that will generate scroll contents is:
Director
Playwright, screenwriter
Performer
Make up
Stage property
TV station 1
TV station 2
TV station 3
TV station 4
Preferably, described method also comprises:
S104, obtains the content of text that will generate scroll contents.
Specific to being exactly obtain above-mentioned content of text in above-mentioned example.
More preferred, described method also comprises:
S105, for the content of text that will generate scroll contents selects template file; Various template unit is comprised in described template file.
Wherein, described roll screen template file is carrier and the set of roll screen modular unit, have recorded the number of roll screen modular unit in roll screen template file, the information such as the attribute of each modular unit and position.In the design process, for content of text selects different template files, the scroll contents of different pattern can just be created out.
Roll screen modular unit refers to the combination of an independent text or pel or text and pel, and pel comprises picture, b spline curve shape, the various shape such as quadrangle.
In template file, each modular unit is separate, unlimited calls copy can be carried out, and the rolling of each modular unit in template file order designs before play-out and determines, do not rely on the position in template file, different modular units can be selected according to different requirements in design to carry out combination and carry out complete design.Further, each word in modular unit or the spacing distance between pel also can adjust.
Here for the ease of understanding, two modular units are comprised in roll screen template file selected by supposing, with reference to Fig. 2, referred to as template 1 and template 2, in the content of text that will generate scroll contents, add the identifier be associated with modular unit in preliminary election template file, respectively with the modular unit that different identifiers is corresponding different, described identifier is only an identification and meets, can sets itself in practical application, key is corresponding with the modular unit of preliminary election.
Preferably, described identifier comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
Wherein, unit accords with finger print Slab element identifier and modular unit end identifier specifically.
More preferred, described identifier also comprises separator; Described separator is used for the content separating different templates unit in present disclosure.
Content of text in described example is specially after having added identifier:
T1> directs
Playwright, screenwriter
Performer
C>
Stage property
<!End>---------------------
T2> TV station 1
TV station 2
TV station 3
TV station 4
<!End>---------------------
End> identifies modular unit end mark, the action of calling certain template before referring to specifically leaves it at that, if there is no continuation character, then use the carriage return character as the end of a unit, if there is continuation character, then using next line also as the content of text of this unit, until there is no continuation character, with "---------------------" as separator, this separator is only for the ease of observing, all content of text that certain modular unit type is corresponding can be seen intuitively, it should be noted that, identifier involved is herein all only that a kind of identification meets, other forms can be set as in application.
S102 is that content of text searches corresponding modular unit automatically according to identifier;
S103, calls the modular unit that finds and fills it with its corresponding content of text; Modular unit after filling forms the scroll contents of current text content jointly.
According to the identifier added in content of text, in the roll screen template file of preliminary election, automatically search corresponding modular unit, and by calling the modular unit that finds and filling it with the word corresponding with it.
T1> representative hereinafter modular unit be template 1, call template 1, and there is the carriage return character " director " and there is no continuation character below, illustrate that first time calls template 1 and leaves it at that, fill the text box in the template 1 called for the first time with " director ", next do not occur <! End>, still call template 1, the carriage return character has been there is and has not had continuation character in same below " playwright, screenwriter ", illustrate that second time is called template 1 and left it at that, fill the text box in the template 1 called of second time with " playwright, screenwriter ", do not occur <! next equally End>, still call template 1, occurred the carriage return character " performer " and there is no continuation character below, illustrate that third time calls template 1 and leaves it at that, fill the text box in the template 1 called of third time with " performer ", do not occur <! next equally End>, still call template 1, continuation character has been there is below in " cosmetic ", next line " stage property " is described also as the content of text in modular unit when to call template 1 for the 4th time, there is the carriage return character afterwards at " stage property " and there is no continuation character, illustrate that calling template 1 the 4th time leaves it at that, with " making up
End>, illustrates that calling template 1 leaves it at that, for after the searching and find of following content of text to call filling also similar, therefore describe no longer one by one.Call after filling completes after the searching and find of content of text of tape identification symbol, the modular unit obtained forms the scroll contents of current text content jointly.On described scroll contents, after screen, a part wherein specifically can refer to Fig. 3, completes the making of scroll contents fast, improves operating efficiency.
Embodiment two:
With reference to Fig. 4, show the generating apparatus structure chart of a kind of scroll contents of the present invention, described device specifically comprises:
Identifier adds modules A 1, for adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
Automatically modules A 2 is searched, for according to identifier being the modular unit that content of text searches correspondence automatically;
Preferably, the identifier that described identifier interpolation module is added comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
Call packing module A3, for calling the modular unit that finds and filling it with its corresponding content of text; Modular unit after filling forms the scroll contents of current text content jointly.
Preferably, described device also comprises:
Content of text acquisition module A4, for obtaining the content of text that will generate scroll contents.
Preferably, described device also comprises:
Template file selects modules A 5, selects template file for the content of text for generating scroll contents; Various template unit is comprised in described template file.
It should be noted that, the generation method and apparatus of scroll contents of the present invention can be widely used in the generation of various scroll contents, in the making as the tail screen content of film, TV play, various types of programs.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above the generation method and apparatus of a kind of scroll contents provided by the present invention is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (3)
1. a generation method for scroll contents, is characterized in that, described method comprises:
The identifier be associated with modular unit in preliminary election template file is added in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
Be that content of text searches corresponding modular unit automatically according to identifier;
Call the modular unit that finds and with its corresponding content of text, it filled; Modular unit after filling forms the scroll contents of current text content jointly;
Wherein, described method also comprises:
Acquisition will generate the content of text of scroll contents;
Described method also comprises:
For the content of text that will generate scroll contents selects template file; Various template unit is comprised in described template file;
Described identifier comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
2. method according to claim 1, is characterized in that:
Described identifier also comprises separator; Described separator is used for the content separating different templates unit in content of text.
3. a generating apparatus for scroll contents, is characterized in that, described device comprises:
Identifier adds module, for adding the identifier be associated with modular unit in preliminary election template file in the content of text that will generate scroll contents; The modular unit that different identifiers is corresponding different;
Automatically module is searched, for according to identifier being the modular unit that content of text searches correspondence automatically;
Call packing module, for calling the modular unit that finds and filling it with its corresponding content of text; Modular unit after filling forms the scroll contents of current text content jointly;
Wherein, described device also comprises:
Content of text acquisition module, for obtaining the content of text that will generate scroll contents;
Described device also comprises:
Template file selects module, selects template file for the content of text for generating scroll contents; Various template unit is comprised in described template file;
The identifier that described identifier adds module interpolation comprises unit symbol and continuation character; The end of described unit symbol for identifying modular unit and modular unit; Described continuation character is for identifying the content of text of next line also as the content of text of this modular unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010033981.1A CN102123253B (en) | 2010-01-07 | 2010-01-07 | A kind of generation method and apparatus of scroll contents |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010033981.1A CN102123253B (en) | 2010-01-07 | 2010-01-07 | A kind of generation method and apparatus of scroll contents |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102123253A CN102123253A (en) | 2011-07-13 |
CN102123253B true CN102123253B (en) | 2015-09-23 |
Family
ID=44251681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010033981.1A Expired - Fee Related CN102123253B (en) | 2010-01-07 | 2010-01-07 | A kind of generation method and apparatus of scroll contents |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102123253B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004736A (en) * | 2007-01-25 | 2007-07-25 | 北京方正国际软件系统有限公司 | Template device of style set for quick formatting layout, and implement method |
CN101296325A (en) * | 2007-04-27 | 2008-10-29 | 新奥特硅谷视频技术有限责任公司 | Subtitle generator, subtitle broadcasting system and method |
CN101295407A (en) * | 2007-04-27 | 2008-10-29 | 新奥特硅谷视频技术有限责任公司 | Videotext system and rendering method thereof |
CN101472093A (en) * | 2007-12-27 | 2009-07-01 | 新奥特(北京)视频技术有限公司 | Method and system for implementing configurable replacement of television graphics context subtitling |
CN101483723A (en) * | 2008-01-11 | 2009-07-15 | 新奥特(北京)视频技术有限公司 | Method for performance guarantee of television subtitle playing apparatus based on diversity application |
-
2010
- 2010-01-07 CN CN201010033981.1A patent/CN102123253B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004736A (en) * | 2007-01-25 | 2007-07-25 | 北京方正国际软件系统有限公司 | Template device of style set for quick formatting layout, and implement method |
CN101296325A (en) * | 2007-04-27 | 2008-10-29 | 新奥特硅谷视频技术有限责任公司 | Subtitle generator, subtitle broadcasting system and method |
CN101295407A (en) * | 2007-04-27 | 2008-10-29 | 新奥特硅谷视频技术有限责任公司 | Videotext system and rendering method thereof |
CN101472093A (en) * | 2007-12-27 | 2009-07-01 | 新奥特(北京)视频技术有限公司 | Method and system for implementing configurable replacement of television graphics context subtitling |
CN101483723A (en) * | 2008-01-11 | 2009-07-15 | 新奥特(北京)视频技术有限公司 | Method for performance guarantee of television subtitle playing apparatus based on diversity application |
Also Published As
Publication number | Publication date |
---|---|
CN102123253A (en) | 2011-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101420603B (en) | Method for implementing media distribution, positioning by segmented memory and stream media system thereof | |
CN103034722B (en) | A kind of Internet video comment polyplant and method | |
CN107491979B (en) | Distribution method and device of advertisement inventory | |
WO2019001166A1 (en) | Television advertisement pushing method, system and electronic device | |
CN105786857A (en) | Method and system for improving video aggregation efficiency | |
CN101909162A (en) | Method for formulating programme schedule | |
CN102681977B (en) | Method, content providing server and system for providing reading services | |
CN102065237A (en) | Title generator capable of being convenient to process title files | |
CN102123253B (en) | A kind of generation method and apparatus of scroll contents | |
CN103067774A (en) | Method and system capable of enabling set top box to display add-on subtitles | |
CN102082926B (en) | Making method and device of scene subtitles | |
CN106302725A (en) | A kind of realization method and system of interactive data | |
CN103455474B (en) | The edit methods of a kind of image material and system | |
CN104244111A (en) | Method and device for labeling medium attribute of video | |
CN104284217B (en) | Network audience statistics method and device | |
CN102289494A (en) | System and method for generating video on demand one-way or two-way WEB navigation page | |
CN104581381A (en) | Auxiliary terminal video browsing positioning method and device | |
CN102123246B (en) | Method and device for generating scroll node in scroll design | |
CN104102728A (en) | News list display method and device | |
CN104683883A (en) | Method and device for generating playing strategy | |
CN102750308A (en) | Method for realizing output of multi-language competition data | |
CN103051933A (en) | Video on demand system and method | |
CN103491385A (en) | Changing method of satellite user terminal storage programs | |
CN102111573B (en) | Image-text packaging system with image sequence batch processing | |
CN102385474B (en) | Data output method, device and system |
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: 20150923 Termination date: 20170107 |
|
CF01 | Termination of patent right due to non-payment of annual fee |