CN102111568B - Method for drawing time-sharing tendency chart and character generator - Google Patents
Method for drawing time-sharing tendency chart and character generator Download PDFInfo
- Publication number
- CN102111568B CN102111568B CN200910244225.0A CN200910244225A CN102111568B CN 102111568 B CN102111568 B CN 102111568B CN 200910244225 A CN200910244225 A CN 200910244225A CN 102111568 B CN102111568 B CN 102111568B
- Authority
- CN
- China
- Prior art keywords
- data
- pel
- trend graph
- broadcast
- film titler
- 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
Abstract
The invention provides a method for drawing a time-sharing tendency chart and a character generator, solving the problem that the conventional drawing method cannot meet the requirement on instantaneity. The method comprises the following steps: sampling discrete data by using the character generator; carrying out curve fitting on the sampled data by utilizing the character generator so as to draw the time-sharing tendency chart; and replacing a preset template primitive by the drawn time-sharing tendency chart so as to generate a graphic play primitive. The drawing completed by the character generator can be played together with subtitle, so the real time property of using the character generator to draw the chart is higher than that of computer drawing. Furthermore, for the graph drawn by the character generator, the definition of the graph displayed on a television picture is higher than that of the computer drawing.
Description
Technical field
The present invention relates to programme production technique field, particularly relate to and a kind ofly draw the method for timesharing trend graph and a kind of film titler.
Background technology
Timesharing trend graph is also instant trend graph, and it is in real time with the technology figure that curve is shown in coordinate diagram the Transaction Information in market.The transverse axis of coordinate is the time of reopening after a cessation of business, and the first half of the longitudinal axis is share price or index, and what the latter half showed is volume of business.Timesharing trend graph is the instant data of stock market's as seen, is the Stock Market Analysis technology of most microcosmic.
In stock information class program, making and the broadcast mode of timesharing trend graph are: utilize mapping software to draw out timesharing trend graph first in a computer, then VGA (Video GraphicsArray, the display drawing array) signal of computer is outputted in TV signal by conversion.
Wherein, VGA signal is exactly the analog signal that video card exports, current most computers be all be connected by simulating USB interface between external display device, the displays image information that computer-internal generates in a digital manner, changed into R, G, B tricolor signal and row, field sync signal by the digital/analog converter in video card, signal by cable transmission in display device.For analog display device, as simulation CRT monitor, signal is transmitted directly to corresponding treatment circuit, drived control picture tube synthetic image.And for numerical display devices such as LCD, DLP, in display device, need to configure corresponding A/D (analog/digital) transducer, be digital signal by analog-signal transitions.
Due to the Transaction Information real-time change of stock market, the timesharing trend graph therefore broadcasted in program also needs real-time update, namely very high to the requirement of real-time.But the method for above-mentioned this drafting timesharing trend graph, the speed of computer graphics can not meet the requirement of this real-time, and program broadcast picture also needs to superpose some captions, and these processes all need spended time.And the figure that computer drawing goes out, definition also cannot reach the ideal effect of television image display.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind ofly draws the method for timesharing trend graph and a kind of film titler, to solve the problem that existing drawing practice cannot meet real-time.
In order to solve the problem, the invention discloses a kind of method of drawing timesharing trend graph, comprising:
Film titler is used to carry out discrete data sampling;
Film titler utilizes sampled data to carry out curve fitting, and draws out timesharing trend graph;
Utilize the timesharing trend graph drawn out to replace preset template pel, generate figure and broadcast pel.
Preferably, before described discrete data sampling, also comprise:
Whether the shared file of film titler real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local;
Described sampling reads data from this locality.
Preferably, described will upgrade data Replica to this locality after, also comprise:
Read data from this locality and carry out filtration treatment, therefrom filter out the data needed of drawing and store;
Described sampling is read from the data stored.
Preferably, described generation figure also comprises after broadcasting pel:
Figure is broadcasted pel mix with caption playing pel after together with broadcast.
Present invention also offers a kind of film titler drawing timesharing trend graph, comprising:
Discrete data sampling module, for carrying out discrete data sampling;
Trend graph drafting module, for utilizing sampled data to carry out curve fitting, draws out timesharing trend graph;
Primitive generating module, for utilizing the timesharing trend graph drawn out to replace preset template pel, generating figure and broadcasting pel.
Preferably, described film titler also comprises:
Real-time Collection module, whether the shared file for real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local;
Described discrete data sampling module reads data from this locality.
Preferably, described film titler also comprises:
Data filtering module, carries out filtration treatment for reading data from this locality, therefrom filters out the data needed of drawing and stores;
Described discrete data sampling module reads from the data stored.
Preferably, described film titler also comprises:
Pel broadcast module, for figure is broadcasted pel mix with caption playing pel after together with broadcast.
Compared with prior art, the present invention has the following advantages:
First, the present invention proposes a kind of method of real-time rendering timesharing trend graph in program making process, the method utilizes film titler to complete draw and export.Film titler by directly from network shared files real-time data collection, carry out the process such as data sampling and curve, real-time rendering goes out timesharing trend graph, and is mixed into title insert with the captions made and outputs in TV signal.This drawing utilizing film titler to complete together can be broadcasted with captions, and therefore real-time is higher than computer graphics.And the figure that film titler is drawn, it is higher than the definition of computer graphics in the definition of television image display.
Secondly, according to the particular/special requirement of television image display, the present invention has made optimization to data sampling and Drawing of Curve, namely carries out discrete data sampling, and carries out curve fitting to discrete data, ensures the level and smooth of curve.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of timesharing trend graph described in the embodiment of the present invention;
Fig. 2 is the method flow diagram drawing timesharing trend graph described in the embodiment of the present invention;
Fig. 3 is a kind of structure chart drawing the film titler of timesharing trend graph described in the embodiment of the present invention.
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.
For traditional timesharing trend graph method for drafting, the present invention proposes a kind of film titler that utilizes and carry out the method for drawing, figure can be met in program broadcast process along with the demand of stock exchange information real-time change.Be described in detail below by embodiment.
With reference to Fig. 1, it is the schematic diagram of timesharing trend graph described in the embodiment of the present invention.
Described timesharing trend graph draws to form on film titler, and be the level and smooth curve of of utilizing the transaction data within a day to draw out, its abscissa representing time, ordinate represents price.
With reference to Fig. 2, it is the method flow diagram drawing timesharing trend graph described in the embodiment of the present invention.Film titler carries out following drafting flow process:
Step 201, real-time data acquisition;
It is leave in several dbf file that the places such as stock exchange push the transaction data of coming by satellite, and then provide in the mode (hereinafter referred to as shared file) that network file is shared, the data of these files all can dynamically update in real time.First film titler needs to share the data of upper collection real-time update to this locality from network, and then draws.
In the present embodiment, film titler is directly from copy update data network is shared to this locality, and prior art be from network terminal by shared file first stored in independently database server, and then need from database server, to extract data to this locality according to practical application.Known by contrasting, the acquisition method described in the present embodiment does not need through database purchase, therefore saves the time of data base read-write, strengthens the real-time of data acquisition.
Gatherer process described in the present embodiment is as follows: whether the shared file of film titler real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local disk catalogue.Like this, film titler local data and network end data just maintain consistent, and local data can upgrade along with the change of network end data.
Step 202, data filtering stores;
Read data from this locality and carry out filtration treatment, therefrom filter out the data of drawing and needing, and be stored as data record.Due to timesharing trend graph it is desirable that transaction data within one day, so need to store.
Due to this locality storage is personal share, fund, index etc. the recording data information that all stock exchanges go on the market, if so need the information utilizing wherein a personal share or fund to draw, extracted from read data file with regard to needs.Such as: if select to draw Index of Shanghai Stock Exchange information, so data filtering is exactly that from read file, filter out code be the " 000001 " data message of record.
Step 203, discrete data is sampled;
Namely sample from the data stored.
It is real time data that stock exchange pushes the data of coming by satellite, that is the transaction data of each time point outwards pushes, and when drawing timesharing trend graph, abscissa is time shaft, ordinate is price, if adopt whole time points, because time point is too intensive, matching power curve of walking out can be caused to occur a large amount of trichobothriums, smoother curve chart cannot be seen.So the solution that the present embodiment adopts, in equal time interval, carries out some discrete sampling to data, and such processing mode can draw out smoother timesharing trend graph.
Illustrate:
Time point position
Initial data:
…
09:30:01 1234.56
09:30:02 1234.45
09:30:03 1234.67
09:30:04 1234.46
09:30:05 1234.48
…
Sampled data:
…
09:30:01 1234.56
09:30:05 1234.48
…
Step 204, matched curve is drawn;
Namely utilize sampled data to carry out curve fitting, draw out timesharing trend graph.
Owing to drawing timesharing trend graph it is desirable that transaction data within one day, and timesharing trend graph is a smooth curve, needs connection between points, so need to carry out matching.
Draw conventional method about matched curve to have:
1) oneself write matched curve and draw function;
2) API (Application Programming Interface, the application programming interface) function that calling provides inside picture and text kit has come.
In order to ensure the real-time of drawing, it is call the api function provided inside GDI+ kit that mode is drawn in the matched curve that the present embodiment adopts.GDI is the abbreviation of Graphics Device Interface, and implication is GDI, and its main task is the information exchange between responsible system and mapping program, processes all images outputting.
In prior art, the algorithm of relative curve matching has a lot, and the present embodiment is not described in detail in this.
Step 205, generates and broadcasts pel;
Namely utilize the timesharing trend graph drawn out to replace preset template pel, generate figure and broadcast pel.
Described preset template pel refers to: in the process making template, according to the needs broadcasted, each content that will broadcast is divided into different template pels respectively, inside template pel, customizes size, color etc. the attribute of the pattern of play-out unit, font.Template pel comprises polytype, as common captions pel, personal share roll screen pel, DYNAMIC DRAWING pel, special efficacy captions pel etc.
Replace the data message of template pel by the information of broadcast, just generate broadcast pel.Therefore, replace the information in described DYNAMIC DRAWING pel by the timesharing trend graph drawn out, just generate figure and broadcast pel.
Step 206, adds broadcast engine.
Broadcast together with after mixing with caption playing pel by figure broadcast pel.
Described broadcast engine outputs in TV signal by title insert, superposes broadcast with video pictures after being used for playing up various types of broadcast pel.
In the present embodiment, separate unit film titler can be used various types of broadcast pel to be carried out mixing and to broadcast, broadcast pel comprising figure.Be mixed in a road signal by polytype broadcast pel, and broadcast in the TV signal that is added to, often plant pel during broadcast and all broadcast according to respective broadcast mode.
In sum, the present invention can directly draw in real time on film titler, and mixes with captions, directly outputs to TV signal by board, therefore ensure that the real-time that program broadcasts.And, for television image display requirement, to data sampling and Drawing of Curve being done corresponding optimization, improve the definition that figure shows at television image, reaching the ideal effect of television image display.
For the realization of said method, the embodiment of the present invention additionally provides corresponding film titler.
With reference to Fig. 3, it is a kind of structure chart drawing the film titler of timesharing trend graph described in the embodiment of the present invention.
Described film titler comprises hardware and software part, and the present embodiment does not make any change to the hardware of existing film titler, and therefore described film titler mainly refers to software section.
Described film titler can comprise:
Discrete data sampling module 31, for carrying out discrete data sampling;
Trend graph drafting module 32, for utilizing sampled data to carry out curve fitting, draws out timesharing trend graph;
Primitive generating module 33, for utilizing the timesharing trend graph drawn out to replace preset template pel, generating figure and broadcasting pel.
Preferably, described film titler can also comprise:
Real-time Collection module 34, whether the shared file for real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local;
Therefore, described discrete data sampling module 31 reads data from this locality.
Preferably, described film titler can also comprise:
Data filtering module 35, carries out filtration treatment for reading data from this locality, therefrom filters out the data needed of drawing and stores;
Therefore, described discrete data sampling module 31 reads sampling from the data stored.
Preferably, described film titler can also comprise:
Pel broadcast module 36, for figure is broadcasted pel mix with caption playing pel after together with broadcast.
Described film titler can real-time rendering timesharing trend graph, and mixes with captions, outputs in TV signal in real time and broadcasts, can reach the requirement of program to real-time, ensures that programme content upgrades consistent with the height that transaction data changes.And the definition that the figure that film titler is drawn shows at television image is higher than the definition of computer graphics.Optimization is made to data sampling and Drawing of Curve, ensure that the level and smooth of curve.
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.
A kind ofly the method for timesharing trend graph and a kind of film titler is drawn above to provided by the present invention, be 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 (4)
1. draw a method for timesharing trend graph, it is characterized in that, comprising:
Whether the shared file of film titler real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local;
Read data from this locality and carry out filtration treatment, therefrom filter out the data needed of drawing and store;
Film titler is used to carry out discrete data sampling; Described sampling is read from the data stored;
Film titler utilizes sampled data to carry out curve fitting, and draws out timesharing trend graph;
Utilize the timesharing trend graph drawn out to replace preset template pel, generate figure and broadcast pel.
2. method according to claim 1, is characterized in that, described generation figure also comprises after broadcasting pel:
Figure is broadcasted pel mix with caption playing pel after together with broadcast.
3. draw a film titler for timesharing trend graph, it is characterized in that, comprising:
Real-time Collection module, whether the shared file for real-time listening network terminal upgrades, if upgraded, then will upgrade data Replica to local;
Data filtering module, carries out filtration treatment for reading data from this locality, therefrom filters out the data needed of drawing and stores;
Discrete data sampling module, for carrying out discrete data sampling; Described discrete data sampling module reads from the data stored;
Trend graph drafting module, for utilizing sampled data to carry out curve fitting, draws out timesharing trend graph;
Primitive generating module, for utilizing the timesharing trend graph drawn out to replace preset template pel, generating figure and broadcasting pel.
4. film titler according to claim 3, is characterized in that, also comprises:
Pel broadcast module, for figure is broadcasted pel mix with caption playing pel after together with broadcast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910244225.0A CN102111568B (en) | 2009-12-28 | 2009-12-28 | Method for drawing time-sharing tendency chart and character generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910244225.0A CN102111568B (en) | 2009-12-28 | 2009-12-28 | Method for drawing time-sharing tendency chart and character generator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102111568A CN102111568A (en) | 2011-06-29 |
CN102111568B true CN102111568B (en) | 2015-07-15 |
Family
ID=44175576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910244225.0A Expired - Fee Related CN102111568B (en) | 2009-12-28 | 2009-12-28 | Method for drawing time-sharing tendency chart and character generator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102111568B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708578A (en) * | 2012-05-16 | 2012-10-03 | 河南辉煌科技股份有限公司 | Real-time curve drawing method |
CN105139256B (en) * | 2015-08-14 | 2018-12-14 | 上海银赛计算机科技有限公司 | Time Index Chart display methods and device |
CN106504300A (en) * | 2016-10-21 | 2017-03-15 | 福建中金在线信息科技有限公司 | The method for building up of component and system when a kind of |
CN106846434A (en) * | 2017-01-19 | 2017-06-13 | 沃民高新科技(北京)股份有限公司 | The method and apparatus for showing operation signal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1340941A (en) * | 2000-08-29 | 2002-03-20 | 三竹资讯股份有限公司 | Wireless transmission method and device for real-time curve chart of financial stock |
CN101415166A (en) * | 2007-10-19 | 2009-04-22 | 康佳集团股份有限公司 | Method for processing share stock time-sharing map |
-
2009
- 2009-12-28 CN CN200910244225.0A patent/CN102111568B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1340941A (en) * | 2000-08-29 | 2002-03-20 | 三竹资讯股份有限公司 | Wireless transmission method and device for real-time curve chart of financial stock |
CN101415166A (en) * | 2007-10-19 | 2009-04-22 | 康佳集团股份有限公司 | Method for processing share stock time-sharing map |
Also Published As
Publication number | Publication date |
---|---|
CN102111568A (en) | 2011-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107168674B (en) | Screen casting annotation method and system | |
CN110570698B (en) | Online teaching control method and device, storage medium and terminal | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
CN102111568B (en) | Method for drawing time-sharing tendency chart and character generator | |
CN105120325A (en) | Information transmission method and information transmission system | |
WO2018000685A1 (en) | Advertisement transferring method and device | |
CN105007539A (en) | HTML template-based method, equipment and system for releasing graphics and text information via television | |
AU2019275490A1 (en) | Method of processing push information, method of pushing advertisement information, device and platform | |
CN105491396A (en) | Multimedia information processing method and server | |
CN112689168A (en) | Dynamic effect processing method, dynamic effect display method and dynamic effect processing device | |
CN101964110A (en) | Method and system for creating an image | |
CN110012336A (en) | Picture configuration method, terminal and the device at interface is broadcast live | |
CN103618952A (en) | Method for playing boot animation of intelligent television and intelligent television | |
CN203289544U (en) | Device zooming video images in equal ratio | |
CN111506241A (en) | Special effect display method and device for live broadcast room, electronic equipment and computer medium | |
CN102110301A (en) | Method for drawing candlestick chart and caption machine | |
CN102111574A (en) | Caption machine with real-time drawing function and drawing method thereof | |
CN103020847A (en) | Directional advertisement and information customization service management system based on specific two-dimensional code | |
CN102111571B (en) | Method and device for broadcasting caption primitives | |
CN212032143U (en) | A wisdom historical relic wall for museum and show interactive system thereof | |
CN104410884A (en) | Synchronous and asynchronous playing player for LED and LCD display screens | |
CN109120977B (en) | Live video display method, storage medium, electronic device and system | |
CN105208455A (en) | Method and device for displaying approval rate of participating teams | |
CN114286175A (en) | Method for playing video mosaic advertisement | |
Taylor | The cartographic potential of Telidon |
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: 20150715 Termination date: 20161228 |
|
CF01 | Termination of patent right due to non-payment of annual fee |