A kind of TV programme of TV program form of TV studio memory device is compiled the folk prescription method
Technical field
The present invention relates to TV programme and compile single memory device and method, particularly a kind of TV program form of TV studio memory device and method.
Background technology
The technological progress of Digital Television is had higher requirement to interactivity, sharing and the fail safe of broadcasting TV programme, is used for Digital Television and broadcasts the making of TV programme list of control and quality and the level that administrative skill directly influences TV programme automatically.
Generally all be to adopt relational database system to carry out the single and storage of volume of TV programme and material traditionally, but system's isomerism that relational database system has, interoperability is poor, lack the semantic description ability, running environment requires high shortcoming, be unfavorable for realizing the requirement of Digital Television emerging technology characteristics, and become technical bottleneck anxious to be solved.
Summary of the invention
A technical problem to be solved by this invention is: providing a kind of can adaptation satisfy the sharing of Digital Television broadcast and the TV programme volume single memory device of security requirement.
Another one technical problem to be solved by this invention is: provide a kind of and can satisfy the interactivity of Digital Television broadcast and the TV programme storage means that sharing requires.
For solving above-mentioned technical problem to be solved, the technical solution used in the present invention is:
The TV program form of TV studio memory device, this memory device is made of hardware store environment and software xml database; The hardware store environment is by data server, video server, backup server based on hard disk storage medium, and terminal computer and controller are formed, and forms network interconnection through the gigabit Ethernet and the network switch, constitutes distributed redundant storage network; Wherein said software xml data of database structure is made of expression structure, hierarchical structure and metadata structure; The data representation structure is a ternary category data representation structure, and this tlv triple is looked audio file by xml database file, key frame images file and MPEGII and constituted; Data hierarchy is the class data hierarchy, and data structure level from bottom to top is respectively: material class data, fragment class data, Series Sheet class data, programme class data and Broadcast Control table database; Metadata structure is by the single information of the volume of TV programme, and programme information and state information constitute.
The TV programme of TV program form of TV studio memory device is compiled the folk prescription method, and this is compiled single storage means and constitutes by compiling single system and compiling single stage;
Described volume single system is made up of form interface, Application Middleware, message engine and xml database, wherein: form interface provides the user to carry out the visual interactive interface of TV programme editor, monitoring and audit business game, the xml database is used to store editor's TV programme volume forms data information, single professional for different volumes, corresponding form interface and xml database are arranged;
Application Middleware is used for from dynamic response customer service service request, and the management of man-machine interaction service security is provided, system services such as hardware driving and software transfer, and Application Middleware is divided into safe middleware, message-oriented middleware and professional middleware;
Message engine is under the driving of message-oriented middleware, and the data format that carries out between form interface and the xml database data transforms and transmits.Message engine is made of list engine and database engine;
Described volume single stage comprises the following step:
1) user proposes TV programme by terminal computer and compiles business service requests such as single;
2) Application Middleware response user's business service request;
3) carry out the user right authentication management by the safety middleware, if authentication is that then jump procedure 10 by the result), carry out service ending and handle, stop user's logging request:
4), carry out the operation flow end or stop judging that if user's request is to stop business game, then jump procedure 10 by professional middleware processes user's business service request), carry out the service ending processing;
5) according to service request from user, professional middleware generates operation flow and service message, and the operation flow intelligently guiding user of generation carries out TV programme and compiles single business game, and the service message of generation passes to the information middleware;
6) message engine is under the driving of message-oriented middleware, and log-on data storehouse engine is resolved the metadata semantic information of corresponding service database respectively, passes to the list engine, starts the list engine and generates the visual form interface of resolving business game for the user;
7) user carries out the single business game that waits of TV programme volume under the guiding of visual business form interface;
8) message engine dynamically starts the metadata semantic information in the list engine parsing corresponding service list, passes to database engine, and log-on data storehouse engine generates or renewal respective x ml database;
9) start operation flow end or termination module, carry out the business game flow process and finish, or user's interrupting service operation judgement, if the business game flow process does not finish, then return step 5), continue business game;
10) service ending is handled, winding-up flow process, retained business operation message.
Beneficial effect of the present invention is embodied in:
1, TV programme of the present invention is compiled single memory device, adopts the hardware environment and the safe middleware Technology of the distributed redundant storage network storage, the reliability and the fail safe that have improved system.
2, TV programme of the present invention is compiled single memory device, has adopted metadata structure, expression structure and the hierarchical structure of xml, has strengthened TV programme and material and has compiled single interoperability and sharing.
3, TV programme of the present invention is compiled the volume single system in single storage means and is compiled single stage, adopt visual form interface, xml database, message engine and Application Middleware technology, Application Middleware can be from the dynamic response service request from user, generate the corresponding business flow process, the intelligently guiding user carries out TV programme and compiles single business game, message engine can be resolved the semanteme in list and the xml database, generates automatically and upgrades corresponding form interface and xml database.
The present invention is further illustrated below in conjunction with drawings and Examples:
Description of drawings
Fig. 1 is distributed redundant storage network diagram.
Fig. 2 is that TV programme is compiled single level data representation schematic diagram.
Fig. 3 is an xml database metadata structure chart.
Fig. 4 is that TV programme is compiled folk prescription method flow chart.
Embodiment
As shown in Figure 1, TV broadcast indoor television broadcast system has constituted the hardware store environment that TV programme is compiled single information, this environment is mainly by data server 1, video server 2, backup server 3, terminal computer 6 and controller 8 constitute, data server 1, video server 2, backup server 3 and terminal computer 6 form network interconnection via the gigabit Ethernet 4 and the network switch 5, constitute distributed redundant storage network.
User 7 carries out TV programme by terminal computer 6 and compiles single business operation.Data server 1 stored television program material class data.Controller 8 is carried out normal TV according to the TV programme Broadcast Control table 15 control of video server 2 of establishment and is broadcasted task, when video server 2 breaks down, controller 8 switches backup server 3 immediately and carries out television program transmission, ensures reliability and fail safe that TV broadcasts.
As shown in Figure 2, TV programme is compiled the hierarchical structure of single class data, is respectively from bottom to top: material class data 31, fragment class data 32, Series Sheet class data 33, programme class data 34 and Broadcast Control table database 25.Material class data 31 are basic datas of TV programme form data.Fragment class data 32 are to be made of by time series connection set related materials class data 31, and fragment class data belong to identical program column.Material class data 31 and fragment class data 32 are stored in the data server 1.Series Sheet class data 33 are by the requirement of single television channel Pgmtime section, constitute by material class data 31 or 32 series connection of fragment class data, Series Sheet class data 33 are submitted controller 8 to after user 7 editors finish, generate TV guide class data 34, video/audio signal source when being used for many television channel programs and broadcasting, programme class data 34 are stored in video server 2 and the backup server 3.Based on programme class data 34 and television program transmission running status, generate Broadcast Control table database 25 in real time, be used to produce the Control Parameter that TV broadcasts, and generate the Broadcast Control table, be used to control the virtual condition that shows that TV broadcasts.
As shown in Figure 2, TV programme is compiled single class data message and is adopted ternary category data representation structure, promptly is made of xml database 20 files, key frame images data file and MPEGII video/audio file tlv triple this.Material class data 31 comprise materials database 21, material video/audio 210 and material key frame data 211; Fragment class data 32 comprise fragment data storehouse 22, fragment video/audio 220 and fragment key frame data 221; Series Sheet class data 33 comprise Series Sheet database 23, Series Sheet video/audio 230 and Series Sheet key frame data 231; Programme class data 34 comprise playbill data storehouse 24, programme video/audio 240 and programme key frame data 241.
As shown in Figure 3, xml database 20 adopts the data structure of metadata, the volume of stored television program single information 26, programme information 27 and state information 28.Compiling single information 26 comprises: name information, department information, channel information, producer's information, Production Time information, person approving's information, audit time information, broadcast time information and remark information etc.; Programme information 27 information comprise: broadcast time information, program category information, setting-up time information, programm name information, program length information, playing device information, alternate device information, program address information, keying mask information, switching mode information and switch speed information etc.; State information 28 comprises: the state of broadcasting of TV programme, do not broadcast state, broadcast state, intercut state and pad is broadcast state information etc.
As shown in Figure 4, compile single storage means by compiling single system and compiling single stage and form based on the TV programme of the distributed redundant storage network environment of the present invention;
The present invention compiles single system and is made up of form interface 10, xml database 20, business service request 18, Application Middleware 40 and message engine 45;
Form interface 10 provides the user to carry out the visual interactive interface of TV programme editor, monitoring and audit business game, xml database 20 is used to store editor's TV programme volume forms data information, single professional for different volumes, corresponding form interface 10 and xml database 20 are arranged, as: material list 11 and materials database 21, fragment list 12 and fragment data storehouse 22, Series Sheet 13 and Series Sheet database 23, programme 14 and playbill data storehouse 24, and Broadcast Control table 15 and Broadcast Control database 25.
Application Middleware 40 is used for from dynamic response customer service service request, provides the management of man-machine interaction service security, system services such as hardware driving and software transfer.Application Middleware 40 is made of safety middleware 41, professional middleware 42 and message-oriented middleware 43.Wherein: safe middleware 41 is responsible for user right and system security management, professional middleware 42 is responsible for generating relevant operation flow, message-oriented middleware 43 is used to provide functions such as the necessary transfer of data of business integration, filtration, mapping and route, the difference between shielding different hardware platforms, message format, the communication protocol.
Message engine 45 is under the driving of message-oriented middleware 43, and the data format that carries out between form interface 10 and the xml database data 20 transforms and transmits.Message engine 45 is made of list engine 46 and database engine 47, and wherein: list engine 46 is responsible for the generation of visual form interface 10, and the processing of form data; Database engine 47 is responsible for carrying out the parsing and the renewal of xml database 20 data.
As shown in Figure 4, the major technique feature of the TV programme storage means used of a kind of television stadio of the present invention comprises the following step:
1) user 7 proposes TV programme by terminal computer 6 and compiles business service requests 18 such as single;
2) Application Middleware 40 response users' 7 business service request 18;
3) carry out the management of user's 7 purview certifications by safety middleware 41, if authentication is that then jump procedure 10 by 51 results), carry out service ending and handle 50, stop user's logging request:
4), carry out operation flow and finish or stop 52 to judge that if user 7 request is to stop business game, then jump procedure 10 by the business service request 18 of professional middleware 42 process user 7), carry out service ending and handle 50;
5) according to user 7 service request, professional middleware 42 generates operation flow and service message, and the operation flow intelligently guiding user 7 of generation carries out TV programme and compiles single business game, and the service message of generation passes to information middleware 43;
6) message engine 45 is under the driving of message-oriented middleware 43, log-on data storehouse engine 47 is resolved the metadata semantic information of corresponding service database respectively, pass to list engine 46, start list engine 46 and generate the visual form interface 10 of resolving business game for the user;
7) user 7 carries out the single business game that waits of TV programme volume under the intelligently guiding of visual business form interface 10;
8) message engine 45 dynamically starts the metadata semantic information that list engine 46 is resolved in the corresponding service list, passes to database engine 47, and log-on data storehouse engine 47 generates or renewal respective x ml database 20;
9) the startup operation flow finishes or stops 52 modules, and carry out the business game flow process and finish, or user's 7 interrupting service operations judgement, if the business game flow process does not finish, then return step 5), continue business game;
10) service ending handles 50, winding-up flow process, retained business operation message.