CN101448120A - Dynamic generation system of diagram video - Google Patents

Dynamic generation system of diagram video Download PDF

Info

Publication number
CN101448120A
CN101448120A CNA2007101780532A CN200710178053A CN101448120A CN 101448120 A CN101448120 A CN 101448120A CN A2007101780532 A CNA2007101780532 A CN A2007101780532A CN 200710178053 A CN200710178053 A CN 200710178053A CN 101448120 A CN101448120 A CN 101448120A
Authority
CN
China
Prior art keywords
module
diagram
data
chart
video
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.)
Pending
Application number
CNA2007101780532A
Other languages
Chinese (zh)
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 CNA2007101780532A priority Critical patent/CN101448120A/en
Publication of CN101448120A publication Critical patent/CN101448120A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a dynamic generation system of a diagram video. The system comprises a data acquisition module for connecting an external data source by a data source interface to obtain data of the external data source; a diagram rendering module for rendering a vector diagram according to the data provided by the data acquisition module and a preset rendering template; and a diagram playing module for outputting the video of the diagram rendered by the diagram rendering module. The system helps acquire the data from the data interface to realize real-time dynamic rendering of a digital diagram in the video, and ensures synchronization of rendering data and the data from a data releaser. During the process, a computer performs data processing and image generation in good real time. Meanwhile, the system reduces the manual intervention and improves the working efficiency.

Description

A kind of dynamic generating system of diagram video
Technical field
The present invention relates to technical field of video processing, relate in particular to a kind of dynamic generating system of diagram video.
Background technology
In present TV programme, often need represent some data, for example: describe the gross national product of several years with block diagram, describe the income sheet ratio of various industries with pie chart by the mode of some charts.At present each TV station mode of being used for representing chart is generally: with drawing the statistical chart that good chart comes demonstrating data, for example broken line graph, block diagram, pie chart, K line chart etc. in advance.Owing to draw in advance, not only greatly reduce the real-time of information, also expended more manpower simultaneously.Therefore need a kind of method under the situation that initial data only is provided, to analyze and to generate the chart that data will show to data in real time.
Summary of the invention
The present invention will provide a kind of dynamic generating system of diagram video, to realize the real-time dynamic drafting of digit figure in the video.
For achieving the above object, the invention provides a kind of dynamic generating system of diagram video, comprising:
Data acquisition module is used for being connected with external data source by the data source interface, obtains the data of external data source;
Diagram rendering module, the data and the predefined drawing template that are used for providing according to described data acquisition module are drawn polar plot;
Chart broadcasts module, is used for the chart that described diagram rendering module is drawn is carried out video output.
Wherein, described chart broadcast module further comprises:
The chart output sub-module is used for the chart that described diagram rendering module is drawn is converted into vision signal;
Key signals generates submodule, and the chart that is used for drawing according to described diagram rendering module generates key signals.
Wherein, the dynamic generating system of described diagram video also comprises:
Data processing module is connected with diagram rendering module with described data acquisition module, the data that described data acquisition module gets access to are handled, and the data after will handling sends to the drafting that diagram rendering module is used for chart.
Wherein, the dynamic generating system of described diagram video also comprises:
Strategy is provided with module, is used for formulating the drawing strategy and generates drawing template, and offer the drafting that described diagram rendering module is used for polar plot
Wherein, the dynamic generating system of described diagram video also comprises:
The video synthesis module is used for described chart is broadcasted vision signal that comprises chart and key signals that module sends, mixes laggard line output with other vision signals.
Wherein, described video synthesis module further comprises:
The vision signal analyzing sub-module is used to resolve described chart and broadcasts the diagram video signal that module sends;
Key signals generates submodule, is used to resolve described chart and broadcasts the key signals that module sends;
The synthon module is used for generating the content that the submodule parsing obtains according to described vision signal analyzing sub-module and key signals, mixes output with other vision signals.
Compared with prior art, the present invention has the following advantages:
By obtaining data from data-interface, realized the real-time dynamic drafting of digit figure in the video, guarantee draw data and data publisher's data sync, this process carries out data processing by computer fully and figure generates, and real-time is good; Reduce manual intervention simultaneously, improved operating efficiency.
Description of drawings
Fig. 1 is the structural representation of a kind of dynamic generating system of diagram video among the present invention;
Fig. 2 is the method flow diagram of the dynamic generation of the diagram video that carries out of the dynamic generating system of diagram video among the present invention.
Embodiment
Below in conjunction with drawings and Examples, embodiments of the present invention are elaborated.
A kind of dynamic generating system of diagram video comprises as shown in Figure 1 among the present invention: data acquisition module 10, data processing module 20, and diagram rendering module 30, chart broadcasts module 40, and strategy is provided with module 50 and video synthesis module 60.
Wherein data acquisition module 10 is connected with external data source by the data source interface, obtains the data of external data source and the data processing module 20 that sends, so that the data that get access to are carried out preliminary treatment.
Concrete, diversity according to the data source of being issued, the present invention uses a plurality of data acquisition modules 10 to be used to provide the mode of multiple choices Data Source, such as reading database (local data base or network remote data storehouse), Web Service (network service) server etc., at different selections and according to the needs that use, the present invention can support the several data source.By supporting most of common data source interface at present, the data source interface is embedded in the processing method of the present invention with the software package form, make that the present invention can the various data sources of seamless support.To draw the same day real-time K line chart is example, and the variable that needs comprises at least: time and this time correspondence work as present value, these variable storage are that specific data format is as data source, as the ACCESS database etc.By the data source interface, can get access to these required data of drawing a diagram from data source.
Data processing module 20 is connected with data acquisition module 10, the data that data acquisition module 10 gets access to are handled, and the data after will handling sends to the drafting that diagram rendering module 30 is used for chart.
Concrete, because the data that get access in the data acquisition module 10 may be initial data, therefore need data processing module 20 to make the chart performance more flexible concrete through certain data processing algorithm, for example need to ask the total of one group of data or average.These algorithms all are common data processing algorithms, here do not state in detail.When for example drawing day K line chart, need obtain drawing 4 variablees of K line chart needs according to real time data: opening price, closing price, highest price and lowest price.The highest price here need obtain by the maximum in the covering price of getting the same day; Lowest price need obtain by the minimum value in the covering price of getting the same day.Here get a kind of concrete form that maximum and minimum value are data processing algorithm.
Diagram rendering module 30, the data and the strategy that are used for providing according to data processing module 20 are provided with the drawing template drafting polar plot that module 50 is provided with.
Concrete, be example to draw the K line chart, at first need acquisition time information data (as Year/Month/Day) from the data that data processing module 20 provides, and the opening price corresponding with this temporal information, closing price, highest price and lowest price.
Then, the parameter of drawing according to the polar plot in the drawing template, linear, the color that where for example the data of what type are plotted in and are adopted when drawing a diagram, thickness and font or the like are carried out the drafting of chart.To draw the K line chart is example, time information data wherein is generally the x axis information, and opening price, closing price, highest price and lowest price are the y axis information, according to present K line chart custom, can draw according to following rule: (1) when closing price is higher than opening price, and then last, the rectangular post between the two is with redness or hollow drawing in closing price down for opening price, peak of hachure is a highest price on it, and the minimum point of following hachure is a lowest price; When (2) closing price was lower than opening price, then down, the rectangular post between the two was with black or solid drawing in last closing price for opening price, and peak of hachure is a highest price on it, and the minimum point of following hachure is a lowest price.
By above step, finished the dynamic generation of K line chart by diagram rendering module 30.
Chart broadcasts module 40, is used for the chart that diagram rendering module 30 is drawn is carried out video output.
This module further comprises:
Chart output sub-module 41 is used for the chart that diagram rendering module 30 is drawn is converted into vision signal;
Key signals generates submodule 42, is used for generating key signals according to the chart that described diagram rendering module 30 is drawn.
Concrete, can use GDI (Graphics Device Interface, GDI) interface, the chart of drawing out to be exported in real time, the signal of output comprises vision signal and key signals.
The purpose of output key signal is: undertaken under the pattern of image overlay by video synthesis module 60, need be sent to video synthesis module 60 to the key information of image.Its principle is: when RGB color value equates, the color that is is an artwork master, it has 256 grades, and transparency exactly also is 8, from 0 to 255, and identical with number of greyscale levels, we can reflect the alpha value by gray value like this, by exporting a vision signal key information is mapped as corresponding grayscale image, again the gray-scale map that receives is converted to corresponding alpha value, thereby finish the transmission of transparent information by video synthesis module 60.Promptly describe the transparency of image by key signals, it is in subtitle superposition, and many aspects such as stack of image and background frame are widely used.
Strategy is provided with module 50, is used for formulating the drawing strategy and generates drawing template, and offer the drafting that diagram rendering module 30 is used for polar plot.
Concrete, the drawing strategy is meant: parameters needed when drawing polar plot, for example the data with what type are plotted in any coordinate, and linear, the color that are adopted when drawing a diagram, thickness and font or the like.And generate drawing template according to this strategy, the content of this template can after drawing in directly use, be one of foundation of drawing.
This formulation drawing strategy can adopt two kinds of different forms.Mode one: utilize known designs platform such as A8 to make template, on template, show the drawing parameters needed, be used for when drawing, using.Mode two: use special design interface, the user is provided with diagram parameter in simple design interface, is used for using when drawing.
Video synthesis module 60 is used for chart is broadcasted vision signal that comprises chart and key signals that module 40 sends, mixes laggard line output with other vision signals.
This module further comprises:
Vision signal analyzing sub-module 61 is used to resolve chart and broadcasts the diagram video signal that module 40 sends;
Key signals generates submodule 62, is used to resolve described chart and broadcasts the key signals that module 40 sends;
Synthon module 63 is used for generating submodule 62 according to vision signal analyzing sub-module 61 and key signals and resolves the content that obtains, and mixes output with other vision signals
When using the dynamic generating system of above-mentioned diagram video, the dynamic creation method of the diagram video among the present invention may further comprise the steps as shown in Figure 2:
Step s201, strategy are provided with module and formulate the drawing strategy and generate drawing template.
Step s202, data acquisition module obtain data from data source.
Step s203, data processing module carry out analyzing and processing according to the needs of drawing a diagram to the data that the data acquisition module obtains.
Step s204, diagram rendering module are provided with the drawing template drafting polar plot that module generates according to data and the strategy that data processing module obtains.
The chart that step s205, chart broadcast module are drawn diagram rendering module carries out video output.
Step s206, video synthesis module broadcast chart chart and other video superimpose and the output of module output.
The system that the application of the invention provides, by obtaining data from data-interface, realized the real-time dynamic drafting of digit figure in the video, guarantee draw data and data publisher's data sync, this process carries out data processing by computer fully and figure generates, and real-time is good; Reduce manual intervention simultaneously, improved operating efficiency.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this obtains the machine software product and is stored in the storage medium, comprises that some instructions are used so that an equipment is carried out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (6)

1, a kind of dynamic generating system of diagram video is characterized in that, comprising:
Data acquisition module is used for being connected with external data source by the data source interface, obtains the data of external data source;
Diagram rendering module, the data and the predefined drawing template that are used for providing according to described data acquisition module are drawn polar plot;
Chart broadcasts module, is used for the chart that described diagram rendering module is drawn is carried out video output.
2, the dynamic generating system of diagram video according to claim 1 is characterized in that, described chart broadcasts module and further comprises:
The chart output sub-module is used for the chart that described diagram rendering module is drawn is converted into vision signal;
Key signals generates submodule, and the chart that is used for drawing according to described diagram rendering module generates key signals.
3, the dynamic generating system of diagram video according to claim 1 is characterized in that the dynamic generating system of described diagram video also comprises:
Data processing module is connected with diagram rendering module with described data acquisition module, the data that described data acquisition module gets access to are handled, and the data after will handling sends to the drafting that diagram rendering module is used for chart.
4, the dynamic generating system of diagram video according to claim 1 is characterized in that the dynamic generating system of described diagram video also comprises:
Strategy is provided with module, is used for formulating the drawing strategy and generates drawing template, and offer the drafting that described diagram rendering module is used for polar plot.
5, the dynamic generating system of diagram video according to claim 1 is characterized in that the dynamic generating system of described diagram video also comprises:
The video synthesis module is used for described chart is broadcasted vision signal that comprises chart and key signals that module sends, mixes laggard line output with other vision signals.
6, as the dynamic generating system of diagram video as described in the claim 5, it is characterized in that described video synthesis module further comprises:
The vision signal analyzing sub-module is used to resolve described chart and broadcasts the diagram video signal that module sends;
Key signals generates submodule, is used to resolve described chart and broadcasts the key signals that module sends;
The synthon module is used for generating the content that the submodule parsing obtains according to described vision signal analyzing sub-module and key signals, mixes output with other vision signals.
CNA2007101780532A 2007-11-26 2007-11-26 Dynamic generation system of diagram video Pending CN101448120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101780532A CN101448120A (en) 2007-11-26 2007-11-26 Dynamic generation system of diagram video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101780532A CN101448120A (en) 2007-11-26 2007-11-26 Dynamic generation system of diagram video

Publications (1)

Publication Number Publication Date
CN101448120A true CN101448120A (en) 2009-06-03

Family

ID=40743479

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101780532A Pending CN101448120A (en) 2007-11-26 2007-11-26 Dynamic generation system of diagram video

Country Status (1)

Country Link
CN (1) CN101448120A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110301A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Method for drawing candlestick chart and caption machine
CN102111574A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Caption machine with real-time drawing function and drawing method thereof
CN102723089A (en) * 2011-05-11 2012-10-10 新奥特(北京)视频技术有限公司 Realization method and system for on-site data outputting and playing
WO2015003550A1 (en) * 2013-07-12 2015-01-15 Tencent Technology (Shenzhen) Company Limited Method for presenting data and device thereof
CN104462865A (en) * 2014-10-17 2015-03-25 北京百迈客生物科技有限公司 Article analysis system and method based on biological cloud platform
CN102111577B (en) * 2009-12-28 2015-11-25 新奥特(北京)视频技术有限公司 A kind of system for playing stock information subtitle in real time
CN106155988A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 Data drawing list method for drafting based on excel and relevant apparatus
CN106708860A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Chart processing method and system
CN106940691A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The method and apparatus for showing chart
US9922434B2 (en) 2013-07-12 2018-03-20 Tencent Technology (Shenzhen) Company Limited Method for presenting data and device thereof
CN108847043A (en) * 2018-07-19 2018-11-20 连云港杰瑞电子有限公司 A kind of method of graphical representation traffic signal controlling machine operating status
CN110413161A (en) * 2019-06-14 2019-11-05 深圳爱根斯通科技有限公司 Arrrangement method, device and electronic equipment
CN111199568A (en) * 2020-01-14 2020-05-26 广州长川科技有限公司 Vector diagram drawing method and device and computer readable storage medium

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111574A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Caption machine with real-time drawing function and drawing method thereof
CN102111577B (en) * 2009-12-28 2015-11-25 新奥特(北京)视频技术有限公司 A kind of system for playing stock information subtitle in real time
CN102110301A (en) * 2009-12-28 2011-06-29 新奥特(北京)视频技术有限公司 Method for drawing candlestick chart and caption machine
CN102723089A (en) * 2011-05-11 2012-10-10 新奥特(北京)视频技术有限公司 Realization method and system for on-site data outputting and playing
CN102723089B (en) * 2011-05-11 2015-11-18 新奥特(北京)视频技术有限公司 A kind of scene exports data and the implementation method broadcasted and system
US9922434B2 (en) 2013-07-12 2018-03-20 Tencent Technology (Shenzhen) Company Limited Method for presenting data and device thereof
WO2015003550A1 (en) * 2013-07-12 2015-01-15 Tencent Technology (Shenzhen) Company Limited Method for presenting data and device thereof
CN104462865A (en) * 2014-10-17 2015-03-25 北京百迈客生物科技有限公司 Article analysis system and method based on biological cloud platform
CN106155988A (en) * 2015-03-31 2016-11-23 阿里巴巴集团控股有限公司 Data drawing list method for drafting based on excel and relevant apparatus
CN106708860A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Chart processing method and system
CN106940691A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The method and apparatus for showing chart
CN108847043A (en) * 2018-07-19 2018-11-20 连云港杰瑞电子有限公司 A kind of method of graphical representation traffic signal controlling machine operating status
CN110413161A (en) * 2019-06-14 2019-11-05 深圳爱根斯通科技有限公司 Arrrangement method, device and electronic equipment
CN110413161B (en) * 2019-06-14 2021-08-31 深圳爱根斯通科技有限公司 Component configuration method and device and electronic equipment
CN111199568A (en) * 2020-01-14 2020-05-26 广州长川科技有限公司 Vector diagram drawing method and device and computer readable storage medium
CN111199568B (en) * 2020-01-14 2024-01-12 广州长川科技有限公司 Vector diagram drawing method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101448120A (en) Dynamic generation system of diagram video
CN1093669C (en) A histogram equalization apparatus for contrast enhancement of moving image and method therefor
CN100405360C (en) Adaptive display method for graphic image in cooperative design in pervasive environment
CN105631486A (en) Method and device for recognizing images and characters
CN101179669B (en) Session television terminal subtitling generating and stacking method
CN110533117B (en) Image comparison method, device, equipment and storage medium
US11380284B2 (en) Color space mapping method, equipment, computer readable storage medium, and device
CN101510421B (en) Method and apparatus for regulating dot-character size, and embedded system
CN101227554B (en) Method and system for implementing self-adapting display of set-top box on television
US20210195134A1 (en) Method and device for generating dynamic image, mobile platform, and storage medium
US8355580B2 (en) Method and system for generating boundary in the process of rasterizing vector graphic as well as method for producing the system
CN103092550A (en) Window modulation method and device of medical image and real-time display method of medical image
CN113190195A (en) Method and system for visualizing large-amplitude remote sensing image
CN111757020B (en) Split screen display method and device, multimedia terminal and storage medium
CN103067774A (en) Method and system capable of enabling set top box to display add-on subtitles
CN101448121A (en) Dynamic generation method of diagram video
CN106156675A (en) A kind of method and device obtaining 2 D code information
CN101794289A (en) Method and system for exporting data
CN105654017A (en) Two-dimensional code transmission method and two-dimensional code transmission system
CN107221019B (en) Chart conversion method and device
CN107908455B (en) Browser page switching method and system
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
CN103491316A (en) Video generation method for smart phones
CN101599073A (en) A kind of method and device of realizing picture searching
CN110620961A (en) Video watermark adding method and device and video editing terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090603