CN1503565A - Data making and package for digital television system and broadcasting separation method - Google Patents
Data making and package for digital television system and broadcasting separation method Download PDFInfo
- Publication number
- CN1503565A CN1503565A CNA021532850A CN02153285A CN1503565A CN 1503565 A CN1503565 A CN 1503565A CN A021532850 A CNA021532850 A CN A021532850A CN 02153285 A CN02153285 A CN 02153285A CN 1503565 A CN1503565 A CN 1503565A
- Authority
- CN
- China
- Prior art keywords
- data
- encapsulation
- broadcast
- digital television
- television system
- 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
Links
Images
Landscapes
- Television Systems (AREA)
Abstract
This invention discloses a method for processing packaging, playing and separating digital TV system data including data processing packaging and playing. The processed service information is stored in a service data base system on a terminal device of the playing front end, a service edit system edits the service play time in the database and stores the edited information in the database as the index information, a service data package system packages according to the edited information and data in the database timely to generate a data stream to be transferred to the service data play system, which can send the service data stream seamlessly.
Description
Technical field
The present invention relates to a kind of method of making based on digital television system in the digital television system of digital video broadcast ing, the method for each self-separation is made, encapsulated, plays to particularly a kind of digital television system.Belong to the computer electronic technology field.
Background technology
Current, domestic various value-added services based on Digital Television are not a lot, except TV programme being carried out scrambling (CA), the user also is in the stage of watching digital television program basically, that is: present Digital Television also only only is in the stage that the basic announcement video traffic is provided to the user.And existing these operation systems are from making, the layout of front end, the encapsulation of data, and the reception that sends to rear end (STB) of data generally is the one scheme.The data encapsulation of system is not separated with Play System.Like this, when system will encapsulate business datum, canned program almost can be monopolized the CPU time of the equipment that is used for encapsulation of data.Even send thread still in operation, it is also few that this sends the resulting time of thread, this just causes the data possibility that is played on DVB (digital video broadcasting) card discontinuous, that is to say: what obtain in the porch of multiplexer or modulator is TS (transport stream) stream of one section discontinuous (bandwidth instability), might cause the warning (not having signal) of multiplexer or modulator because the entry data amount is too small like this.
Summary of the invention
Main purpose of the present invention is to provide a kind of digital television system to make and encapsulation and the method for playing each self-separation, business is made and database is a software and hardware subsystem independently; It is another independently software and hardware subsystem that data encapsulation and data are broadcasted, make the adjustment of data transfer rate in a subsystem, finish with broadcast, be convenient to equipment control, transmission data volume between two subsystems is valid data simultaneously, there is not the sky packet generation, need the data volume of transmission few, realize the seamless transmission of business data flow.
Secondary objective of the present invention is to provide a kind of digital television system to make and the method that encapsulates and play each self-separation, when needs CPU handles resource, guarantee quick response, solve the competition of data encapsulation and data output CPU, and data flow architecture conformance with standard more.
Another purpose of the present invention is to provide a kind of digital television system to make and the method that encapsulates and play each self-separation, guarantees the continuity of data output by adopting circle queue (circulating memory district) mode.
A further object of the present invention is to provide a kind of digital television system to make and the method that encapsulates and play each self-separation, and bandwidth and empty bag that data volume is taken calculate, and realize the rate sending data of fixing.
The objective of the invention is to be achieved through the following technical solutions: the method that a kind of digital television system data creating separates with encapsulation and broadcast, it comprises data creating, encapsulation and plays step.On the terminating machine business information of making is being deposited in the service database system, professional broadcast time in the arranging service system marshal data storehouse, and arrangement information is stored in the database as index information, the business datum package system encapsulates according to arrangement information in the service database system and business datum in real time, generate data code flow, be sent to the business datum Play System.
Wherein, marshal data comprises that the arrangement information that extraction has been stored from database remodifies, deletes.
Comprise the arranging service information in the query traffic data storehouse system constantly when encapsulating,, take out corresponding business information automatically,, encapsulate standard compliant data segment, be packaged into data flow again according to this type of service according to the layout time.Data segment splits into continuous one by one packet, is packaged into the TS data flow of MPEG2 again.
Further, calculate each data segment shared bandwidth of reality in the TS data flow, the packet sequence of all data segments is coupled together according to equally distributed principle according to system bandwidth.
If the transmission data rate of the packet of all data segments than little by the transmission rate of system bandwidth decision, then when connecting all packets, inserts empty bag equably, meet MPEG-2 code stream standard.
Play System receives the data flow that professional package system sends, and waits until that previous code stream is played to till the end, and then switches, and in progress data are switched on the new TS data flow, guarantees the continuity of data flow.
Realize data encapsulation and data broadcast under single CPU condition at same main frame, embody following contradiction: it is many that data encapsulation takies cpu resource; Data are broadcasted the continuity that will guarantee dateout, must guarantee quick response when needs CPU handles resource.
Because Data Update is not frequent, it is lower that data encapsulation is required real-time, can finish in the long time period.And data output requires height to real-time, but the processing time is very short.This constitutes the realization basis that two tasks of solution solve CPU competition contradiction.
For coordinating the normal operation of two tasks, guarantee the correctness of Data Update and the continuity of data output, needing to adopt circle queue is circulating memory district mode.Play System is controlled sense data to buffer memory by a thread, send the data flow read in again, sense data and send the The data asynchronous operation is after reading at every turn and sending data and finish, write current state, it is synchronous that state value control is used to send and read in.Sending buffering area is a circulating memory zone, is deposited the address of reading in data and is sent the address by pointed respectively, when pointer arrives the end of internal storage location sequence, points to the beginning of internal storage location sequence again.
Have following technique effect by above technical scheme the present invention:
1, it be a cover from the business of front end make, layout, to the implementation of the such whole system of real-time broadcast of encapsulation, distribution and the business datum of business datum.
2, owing to make, encapsulate and play each self-separation, make system configuration more reasonable, and, can accomplish the seamless transmission of business data flow (TS stream) mainly for the broadcast of business datum, guaranteed the continuity of data flow, the demand of more realistic operation.
3, data encapsulation and broadcast separates, make that Play System no longer needs to carry out reading of mutual and data with Database Systems, just receive the TS code stream of the information that sends, switch and with its broadcast, code stream before and after make playing like this can seamless link, can not cause the interruption of code stream and the wild effect of bandwidth.
4, the data encapsulation system has played the effect that alleviates the data broadcast system load in whole system, and the generation of code stream is owing to adopted empty bag of insertion and equally distributed principle, played soft multiplexing effect, the TS code stream of generation meets the MPEG-2 system specifications.
5, because all data are all stored, like this memory size is had certain requirement in internal memory, but speed is faster than the form that adopts file read-write, and the hard disk of having avoided file read-write mode to cause is read and write repeatedly and is reduced useful life of hard disk.
Description of drawings:
Fig. 1 is front-end business manufacturing system figure of the present invention;
Fig. 2 is front-end business arranging system figure of the present invention;
Fig. 3 is service database system figure of the present invention;
Fig. 4 is business datum package system figure of the present invention;
Fig. 5 splits into the data segment of DVB for the present invention the process data packet figure of 1 88 bytes;
Fig. 6 is the generative process figure of TS stream of the present invention;
Fig. 7 is the real-time transport process figure of business datum of the present invention;
Fig. 8 is business datum Play System figure of the present invention;
Fig. 9 is the switching and the playing process figure of TS code stream of the present invention;
Figure 10 takes place constantly for data output among the present invention and time flow diagram constantly takes place in the data transmission.
Embodiment
Describe the present invention in detail below in conjunction with the drawings and specific embodiments.
The method that the present invention separates with encapsulation and broadcast for a kind of digital television system data creating, it comprises data creating, encapsulation and plays step.On the terminating machine business information of making is being deposited in the service database system, professional broadcast time in the arranging service system marshal data storehouse, and arrangement information is stored in the database as index information, the business datum package system encapsulates according to arrangement information in the service database system and business datum in real time, generate data code flow, be sent to the business datum Play System.
1, professional manufacturing system
As shown in Figure 1, on each terminating machine, the producer moves professional production process, by every information of program interface incoming traffic, deposits in after the affirmation in the Service Database, uses for arranging service system and business datum package system.Because and service database system is two-way interactive, remodifies so call professional information in also can Service Database in manufacturing process, or a business information of making is deposited in the Service Database.
2, arranging service system
As shown in Figure 2, operate on each terminal, main task is the professional broadcast time in the marshal data storehouse, and these arrangement informations are stored in the database as index information, extracts that the arrangement information of having stored remodifies in simultaneously also can database, deletion etc.So also be two-way interactive between this system and the service database system.
3, service database system
As shown in Figure 3, service database system is formed by the large-scale database system framework of enterprise-level based on the client-server pattern, this system mainly comprises service information database and arranging service information database, and carries out the mutual of data with professional manufacturing system, arranging service system, business datum package system.
4, business datum package system
As shown in Figure 4, the business datum package system needs the arranging service information in the query traffic data storehouse system ceaselessly, according to the layout time of business, automatically take out corresponding business information, then according to the corresponding business type, defer to standards such as DVB and MPEG, business information is packaged into the data segment of DVB, and these data segments is packaged into the code stream of MPEG-2.
The DVB data segment is exactly the table of the information such as privately owned segmentation of the PSI, the SI that defer to the DVB standard or MPEG, and these tables are that the form by segmentation (SECTION) constitutes, and the syntactic structure of these tables has clear and definite definition in the DVB standard.When these data segments are packaged into the code stream of MPEG-2, at first these data segments to be splitted into the packet of continuous one by one 188 (or 204) byte.The process of this fractionation as shown in Figure 5.
As shown in Figure 6, all split into the small data packets (PACKET) of MPEG-2 when all data segments after, calculate each data segment actual shared bandwidth in TS stream according to the bandwidth meter that system gave again, according to equally distributed principle the PACKET of the MPEG-2 of all data segments is linked in sequence then, if the data volume of the PACKET of all data segments is littler than the bandwidth that system gave, when connecting all PACKET, need evenly to insert empty bag so.
The length of bandwidth=data segment
The empty bag number=total bandwidth value of given maximum bandwidth-all data segments (system)/188
6, business datum Play System
System business information refresh in real time with transmission flow referring to Fig. 7, Fig. 8.
After the code stream of MPEG-2 generates, just begin this moment the TS flow data that generates is sent on the business datum Play System.The business datum package system also has a characteristic to be exactly: need encapsulate business datum in real time, and generate TS stream, and data are sent to the business datum Play System in time, apace.A kind of reasonable formation for the record and broadcast piece-rate system should be: professional making+database is a main frame, and data encapsulation system+data broadcast system is a main frame.
As shown in Figure 8, the business datum Play System only is responsible for receiving the TS flow data that professional package system sends, and in progress data are switched on the new TS data flow, when switching code stream, must wait until that previous code stream is played to till the end, and then switch, be to guarantee that continuous numeration (coutinuty-counter) the position section of all PACKET of TS stream is continuous like this, also just guarantee the continuity of TS stream, and be unlikely on modulator or multiplexer, to occur the situation of warning.
Have, for guarantee to keep the continuity of processing under the situation of higher transmission and writing speed, the present invention has used region of memory when reading in and send data again.For example, read in and the process of transmitting of electronic program guides (EPG) are in fact controlled by a thread, read EPG information to the buffering area internal memory, utilize I/O (I/O) interface of Play System to send the EPG information TS stream that reads in then.Sense data and transmission data all adopt asynchronous operation.All to write current state after data are finished reading in and send at every turn, state value be used to send and read in synchronously.Sending buffering area is the region of memory of an annular.The address that has a pointed to deposit respectively to read in data and send the address.When reaching the end of internal memory sequence, just point to the beginning of internal memory sequence again, so just can realize the continuity of using less internal memory to finish the transmission of mass data and guarantee under the situation of higher transmission and writing speed, to keep to handle.The operational flow diagram of thread as shown in Figure 9.
Referring to Figure 10, single CPU hardware system is when encapsulation of data, because data broadcast system frequently takies cpu resource, and the broadcast priority of data is the highest; And the encapsulation of data is not high to the requirement of real-time, so will guarantee the continuity of data, can carry out the encapsulation of data again in the period that data broadcast system discharges cpu resource.When data broadcast system needs CPU to handle, again cpu resource is discharged, give Play System.Simultaneously, also data encapsulation system and data broadcast system can be overlapped independently two and carry out on the hardware system (main frame), like this, just can avoid the conversion situation of two systems CPU.
It should be noted that at last: above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (10)
1, a kind of digital television system data creating method of separating with encapsulation and broadcast, it comprises data creating, encapsulation and plays step, it is characterized in that: on the terminating machine business information of making is being deposited in the service database system, professional broadcast time in the arranging service system marshal data storehouse, and arrangement information is stored in the database as index information, the business datum package system encapsulates according to arrangement information in the service database system and business datum in real time, generate data code flow, be sent to the business datum Play System.
2, digital television system data creating according to claim 1 and the method that encapsulation and broadcast separate is characterized in that: Play System and data encapsulation system are a system.
3, digital television system data creating according to claim 1 and the method that encapsulation and broadcast separate is characterized in that: marshal data comprises that the arrangement information that extraction has been stored from database remodifies, deletes.
4, the digital television system data creating according to claim 1 method of separating with encapsulation and broadcast, it is characterized in that: comprise the arranging service information in the query traffic data storehouse system constantly when encapsulating, according to the layout time, automatically take out corresponding business information, according to this type of service, encapsulate standard compliant data segment, be packaged into data flow again.
5, digital television system data creating according to claim 4 and the method that encapsulation and broadcast separate is characterized in that: data segment splits into a plurality of continuous packets, is packaged into the TS data flow of MPEG2 again.
6, the digital television system data creating according to claim 5 method of separating with encapsulation and broadcast, it is characterized in that: calculate each data segment shared bandwidth of reality in the TS data flow according to system bandwidth, the packet sequence of all data segments is coupled together according to equally distributed principle; Wherein, the calculating of bandwidth is according to following formula:
Bandwidth=data segment the is packaged into quantity of data packets * 188 (length of data package) of MPEG2 form
7, the digital television system data creating according to claim 6 method of separating with encapsulation and broadcast, it is characterized in that: if the data transmission rate of the packet of all data segments transmission rate more definite than system bandwidth is little, then when connecting all packets, insert empty bag equably; Wherein, the sky bag number of insertion by the difference of the total bandwidth value of the given maximum bandwidth of system and all data segments divided by 188.
8, the method for separating with encapsulation and broadcast according to claim 1 or 2 or 3 or 4 or 5 or 6 or 7 described digital television system data creatings, it is characterized in that: Play System receives the data flow that professional package system sends, by the time previous code stream is played to till the end, and then switch, in progress data are switched on the new TS data flow, guarantee the continuity of data flow.
9, the digital television system data creating according to claim 8 method of separating with encapsulation and broadcast, it is characterized in that: Play System is controlled sense data to buffer memory by a thread, send the data flow of reading in again, sense data and the asynchronous operation of transmission The data, after reading at every turn and sending data and finish, write current state, it is synchronous that state value control is used to send and read in.
10, the digital television system data creating according to claim 9 method of separating with encapsulation and broadcast, it is characterized in that: sending buffering area is a round-robin queue, deposit the address of reading in data and send the address by pointed respectively, when pointer arrives the end of internal storage location sequence, point to the beginning of internal storage location sequence again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA021532850A CN1503565A (en) | 2002-11-26 | 2002-11-26 | Data making and package for digital television system and broadcasting separation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA021532850A CN1503565A (en) | 2002-11-26 | 2002-11-26 | Data making and package for digital television system and broadcasting separation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1503565A true CN1503565A (en) | 2004-06-09 |
Family
ID=34235075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA021532850A Pending CN1503565A (en) | 2002-11-26 | 2002-11-26 | Data making and package for digital television system and broadcasting separation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1503565A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712677A (en) * | 2018-05-31 | 2018-10-26 | 杭州视在数科信息技术有限公司 | TS method for stream processing to intelligent algorithm close friend and application |
CN109218760A (en) * | 2018-10-19 | 2019-01-15 | 广州珠江数码集团股份有限公司 | A kind of method and device for modulating big code rate program |
-
2002
- 2002-11-26 CN CNA021532850A patent/CN1503565A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712677A (en) * | 2018-05-31 | 2018-10-26 | 杭州视在数科信息技术有限公司 | TS method for stream processing to intelligent algorithm close friend and application |
CN108712677B (en) * | 2018-05-31 | 2019-07-16 | 杭州视在数科信息技术有限公司 | TS method for stream processing and application to intelligent algorithm close friend |
CN109218760A (en) * | 2018-10-19 | 2019-01-15 | 广州珠江数码集团股份有限公司 | A kind of method and device for modulating big code rate program |
CN109218760B (en) * | 2018-10-19 | 2021-04-02 | 广州珠江数码集团股份有限公司 | Method and device for modulating large-code-rate program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2257578C (en) | System and method for processing object-based audiovisual information | |
CN101287111B (en) | Video program bearing transport stream remultiplexer | |
CN100596092C (en) | Apparatus and method for dynamic channel mapping and optimized scheduling of data packets | |
US7046677B2 (en) | Method and apparatus for time-multiplexed processing of multiple digital video programs | |
CN1169358C (en) | Multimedia time warping system | |
CN100380853C (en) | Video profram bearing transport stream remultiplexer | |
CN1465060A (en) | Method and apparatus of recording/reproducing multi-channel stream | |
CN1372666A (en) | Universal STB architectures and control method | |
CN102404624A (en) | All-format media player capable of supporting hardware decoding for digital STB (Set Top Box) | |
CN1259736A (en) | Device, method and system for data recording and/or reproducing, and recording medium | |
US6292805B1 (en) | System and method for processing object-based audiovisual information | |
CN1666498A (en) | Method of constructing MPEG program streams from encrypted MPEG transport streams | |
CN1717733A (en) | Be used to guarantee the seamless-reproduced method and apparatus of a plurality of data stream | |
CN1503565A (en) | Data making and package for digital television system and broadcasting separation method | |
CN1682206A (en) | Dynamic quality adjustment based on changing streaming constraints | |
CN1642261A (en) | Method for mixed broadcasting picture-character and service information | |
CN1187980C (en) | Video flow sending method for video request via unidirectional coaxial cable in broadcast network | |
CN1155249C (en) | File server for multimedia file distribution | |
US20090225768A1 (en) | Centralized ts packet buffer management in multiple transport stream mpeg-2 demux | |
CN1984339A (en) | Method and system for storing data packets | |
CN113055680B (en) | Distributed transcoding method | |
JP4531756B2 (en) | Data stream decoding method and data stream decoding apparatus in streaming system | |
CN211047082U (en) | High-speed download equipment of surveillance video | |
CN102970598B (en) | Method and system for demultiplexing TS (transport stream) transport stream by set top box | |
CN1406060A (en) | Method for broadcasting electronic programme guide based on digital audio-video-frequency broadcast standard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |