Summary of the invention
The technical problem to be solved in the present invention provides data transmission method, emission system and the terminal in a kind of broadcast system, in simple and easy to do unified mode, realize the transmission of Various types of data in the broadcast system, in order to reduce the complexity of stream medium data and data, services transmission technology; Compatible multiple stream medium data and data, services have very strong versatility and expandability.
In order to solve the problems of the technologies described above, the invention provides the transmission method of stream medium data in a kind of broadcast system, comprising:
The broadcast system transmitting terminal encapsulates by himself inherent data form stream medium data, generates the Packet Multiplexing frame after writing frame originating point information, and the Packet Multiplexing frame is transferred to wireless terminal by radio network; Described stream medium data comprises flow media data packet and/or Entitlement Control Message.
Further, described frame originating point information comprises:
Condition rating CA type is used for indicating the CA pattern that this Packet Multiplexing frame is carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be referred to: one or more Packet Multiplexing frame is consisted of a data unit, one or more data cell is added that data segment header consists of a data segment, this data segment is added that the subframe head consists of multiplexed sub frame; Be transferred to wireless terminal by radio network after this multiplexed sub frame further is encapsulated as broadcast channel frame;
Described data segment header comprises parameter and the cyclic check code of number of data units, each data cell; The parameter of data cell comprises data unit length and data cell type.
Further, described frame originating point information comprises: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used for identifying the packaged stream medium data that is.
The present invention also provides the transmission method of electronic program guides ESG in a kind of broadcast system and/or other data, services content, comprising:
The broadcast system transmitting terminal at first is converted to web page files with ESG and/or other data, services content; Then the web page files data encapsulation is become the realtime transmission protocol RTP bag, and further the RTP bag is encapsulated, generate the Packet Multiplexing frame behind the adding frame originating point information, and the Packet Multiplexing frame is transferred to wireless terminal by radio network.
Further, the web page files data encapsulation become RTP bag before, if web page files length surpasses the size of MTU, then write fragment number and file index number with its segmentation and in the head of web page files deblocking; Described fragment number is used to indicate the position of current data piecemeal in the middle of whole web page files; Described file index number is used to indicate the file sequence number under the current data piecemeal.
Further, described transmission method also comprises:
Transmitting terminal is set up into described ESG and/or other data, services content the form of portal website, and described portal website comprises some web page files of depositing according to a fixed structure; Transmitting terminal extracts the document structure information of website, this document structural information also is packaged into the RTP bag, and after further being encapsulated as the Packet Multiplexing frame, is transferred to wireless terminal by radio network.
Further, comprise in the described frame originating point information: data type, what be used for encapsulation in the RTP bag that this Packet Multiplexing frame of expression encapsulates is web page files or document structure information.
Further, comprise in the described frame originating point information: the CA type is used for indicating the CA pattern that this Packet Multiplexing frame is carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be referred to: one or more Packet Multiplexing frame is consisted of a data unit, one or more data cell is added that data segment header consists of a data segment, this data segment is added that the subframe head consists of multiplexed sub frame; Be transferred to wireless terminal by radio network after this multiplexed sub frame further is encapsulated as broadcast channel frame;
Described data segment header comprises parameter and the cyclic check code of number of data units, each data cell; The parameter of data cell comprises data unit length and data cell type.
Further, comprise in the described frame originating point information: marking head, be used to indicate the start bit of this Packet Multiplexing frame, also be used for identifying packaged for having encapsulated the RTP bag of ESG and/or other data, services content.
The present invention also provides the data transmission method in a kind of broadcast system, comprising:
The broadcast system transmitting terminal encapsulates by himself inherent data form stream medium data, generates the Packet Multiplexing frame after writing frame originating point information;
The broadcast system transmitting terminal is converted to web page files with ESG and/or other data, services content; Then the web page files data encapsulation is become the RTP bag, and further the RTP bag is encapsulated, generate the Packet Multiplexing frame behind the adding frame originating point information;
The broadcast system transmitting terminal is transferred to wireless terminal with the Packet Multiplexing frame by radio network.
Further, the web page files data encapsulation become RTP bag before, if web page files length surpasses the size of MTU, then write fragment number and file index number with its segmentation and in the head of web page files deblocking; Described fragment number is used to indicate the position of current data piecemeal in the middle of whole web page files; Described file index number is used to indicate the file sequence number under the current data piecemeal.
Further, described transmission method also comprises:
Transmitting terminal is set up into described ESG and/or other data, services content the form of portal website, and described portal website comprises some web page files of depositing according to a fixed structure; Transmitting terminal extracts the document structure information of website, this document structural information also is packaged into the RTP bag, and after further being encapsulated as the Packet Multiplexing frame, is transferred to wireless terminal by radio network.
Further, comprise in the described frame originating point information: data type, what be used for encapsulation in the RTP bag that this Packet Multiplexing frame of expression encapsulates is web page files or document structure information.
Further, described frame originating point information comprises: the CA type is used for indicating the CA pattern that this Packet Multiplexing frame is carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be referred to: one or more Packet Multiplexing frame is consisted of a data unit, one or more data cell is added that data segment header consists of a data segment, this data segment is added that the subframe head consists of multiplexed sub frame; Be transferred to wireless terminal by radio network after this multiplexed sub frame further is encapsulated as broadcast channel frame;
Described data segment header comprises parameter and the cyclic check code of number of data units, each data cell; The parameter of data cell comprises data unit length and data cell type.
Further, described frame originating point information comprises: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used for identifying and packaged be stream medium data or encapsulated ESG and/or the RTP of other data, services content bag.
The present invention also provides the emission system in a kind of broadcast system, comprises modulator and transmitter, and transmitter is used for the signal after the modulators modulate is launched by radio network; Also comprise:
Encoder is used for data are encoded, the packet of output corresponding encoded form; And
Multiplexer is used for packet and/or the Entitlement Control Message of described encoder output are encapsulated, and adds frame originating point information, generates the Packet Multiplexing frame;
Modulator is used for the Packet Multiplexing frame that multiplexer generates is modulated;
Further, described encoder comprises audio/video coder at least, and described audio/video coder is to audio, video data coding output stream media data packet.
Further, described emission system also comprises:
The webpage generation module is used for ESG and/or other data, services content are converted into web page files;
Described encoder comprises the RTP encoder, is used for described web page files is encapsulated as the RTP bag.
Further, described emission system also comprises:
The document structure information extraction module;
Described webpage generation module also is used for ESG and/or other data, services content are set up into one or more portal website; Comprise some web page files of depositing according to a fixed structure in the described portal website;
Described document structure information extraction module is used for when described webpage generation module is set up portal website, and the structural information spanned file structural information of extracting described portal website sends to the RTP encoder.
Further, described webpage generation module also is used for when web page files length during above MTU big or small, writes fragment number and file index number with its segmentation and in the head of web page files deblocking; Described fragment number is used to indicate the position of current data piecemeal in the middle of whole web page files; Described file index number is used to indicate the file sequence number under the current data piecemeal.
Further, comprise in the frame originating point information that described multiplexer adds:
Data type, what be used for encapsulation in the RTP bag that this Packet Multiplexing frame of expression encapsulates is web page files or document structure information.
Further, described emission system also comprises: the CA module is used for described Packet Multiplexing frame is carried out scrambling;
Comprise in the frame originating point information that described multiplexer adds: the CA type is used for indicating the CA pattern that this Packet Multiplexing frame is carried out scrambling.
Further, described multiplexer also is used for the Packet Multiplexing frame is encapsulated as multiplexed sub frame, and further is encapsulated as broadcast channel frame;
Multiplexer is encapsulated as multiplexed sub frame with the Packet Multiplexing frame and refers to: one or more Packet Multiplexing frame is consisted of a data unit, one or more data cell is added that data segment header consists of a data segment, this data segment is added that the subframe head consists of multiplexed sub frame; Described data segment header comprises parameter and the cyclic check code of number of data units, each data cell; The parameter of data cell comprises data unit length and data cell type;
Described modulator also is used for the broadcast channel frame that multiplexer generates is modulated.
Further, comprise in the frame originating point information that described multiplexer adds: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used for identifying and packaged be stream medium data or encapsulated ESG and/or the RTP of other data, services content bag.
Further, described multiplexer comprises:
Packet-receiving module is used for the receiving stream media packet, has encapsulated the one or more of the RTP bag of ESG and/or other data, services content and ECM and sends into Packet Multiplexing frame generation module;
Packet Multiplexing frame generation module, the one or more encapsulation with among the described flow media data packet that receives, the RTP bag that has encapsulated ESG and/or other data, services content and the ECM write frame originating point information in frame head, generate the Packet Multiplexing frame.
Further, described multiplexer also comprises:
The broadcast channel frame generation module, the Packet Multiplexing frame that described Packet Multiplexing frame generation module produces is packaged into multiplexed sub frame by this broadcast channel frame generation module, and further is encapsulated as broadcast channel frame.
The present invention also provides the terminal in a kind of broadcast system, comprises receiver module; Also comprise memory module, procotol modular converter and access modules;
Described receiver module is used for receiving broadcast data, therefrom extract stream medium data is encapsulated by himself inherent data form, the Packet Multiplexing frame that writes frame originating point information and generate, or ESG and/or other data, services content be converted to web page files, the web page files data encapsulation is become the realtime transmission protocol RTP bag, RTP is sealed dress, add frame originating point information and the Packet Multiplexing frame that generates, and extract data in the described Packet Multiplexing frame according to frame originating point information; Also be used for judging that according to the marking head in the frame originating point information data that encapsulate in the described Packet Multiplexing frame are stream medium data or ESG and/or other data, services content, if for stream medium data then the Packet Multiplexing frame is sent to the procotol modular converter; If be the RTP bag of encapsulation ESG and/or other data, services content, the ESG and/or other data, services content that then extract in the RTP bag send to memory module;
Described procotol modular converter is used for receiving described Packet Multiplexing frame, when encapsulation wherein be flow media data packet the time, with its tcp/ip layer that is configured to the IP bag and sends to lane terminal;
Described access modules is used for obtaining ESG and/or other data, services content; Also being used for obtaining User Datagram Protoco (UDP) UDP through tcp/ip layer wraps and plays with corresponding normal stream media play software.
Further, ESG and/or other data, services content in the RTP bag that extracts of described receiver module comprises web page files and document structure information;
Described memory module is searched corresponding file relative path according to the file identification in the described web page files in the document structure information that preserve this locality, and preserves this web page files according to this relative path.
Further, described access modules sees through that tcp/ip layer obtains User Datagram Protoco (UDP) UDP bag and plays with corresponding normal stream media play software and refers to: preserve target port that receiving-transmitting sides arranges and the corresponding relation of streaming media playing software in the access modules, after access modules sees through tcp/ip layer and gets access to UDP bag in the described IP bag, according to described corresponding relation, play stream medium data in the UDP bag with the corresponding normal stream media play of target port software in the UDP packet header.
Further, described receiver module also is used for selecting corresponding descrambling mode to Packet Multiplexing frame descrambling according to the CA type of frame originating point information.
Further, described receiver module can also be used for number the web page files deblocking being reduced to web page files according to the fragment number of web page files deblocking head and file index.
Technical scheme of the present invention is used unified standard transport stream media data and data, services, the intrinsic form that can keep flow media data packet, adopt simultaneously the packaged type than small data packets, guarantee that data correctly, read efficiently, improve the utilance of channel resource, be suitable for the transmission of flow media data of multiple format; And manufacturer terminal need not for the software and hardware of each item number according to the exploitation correspondence of service, therefore be conducive to release and the application of new data, services; The technical scheme of the present invention characteristics such as simple, the professional extensibility of system is good that possess skills are used present IPTV and 3G from now on simultaneously, can realize that compatible and possible technology platform shares.Further, terminal can be at local creating website, so that the user can browse required data, services content and watch multimedia programming according to usual interactive mode.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
The invention provides data transmission method, emission system and terminal in a kind of broadcast system, realize the problem of complexity, compatibility and poor expandability for transfer of data such as stream medium data and data, services, adopt unified mode to carry out the transmission of Various types of data, its core concept is: for stream medium data (the Entitlement Control Message ECM that comprises flow media data packet and/or condition rating CA), to not seal off through flow media data packet or the ECM that forms behind the coding, directly be encapsulated as the Packet Multiplexing frame; And for ESG (electronic program guides) and/or other data, services content, then be translated into first the form of web page files, then be encapsulated as RTP (RTP) bag after, further be encapsulated as the Packet Multiplexing frame.Described other data, services can be selected all or part of data, services according to the actual requirements.
Digital Video BroadcastHandheld), MediaFLO (the single forward link of media: Media Forward Link Only) etc. also corresponding applicable the embodiment of the invention is applicable to CMMB (China Mobile multimedia broadcasting) broadcast system, and (the digital video broadcast-handheld formula receives: for all the other broadcast systems such as DVB-H.
Data transmission method in the broadcast system of the present invention comprises as shown in Figure 2:
A, broadcast system transmitting terminal are the Packet Multiplexing frame with data configuration and are transferred to wireless terminal by radio network.
When the data of transmission were stream medium data, the described steps A of the embodiment of the invention specifically comprised:
In the transmitting terminal flow media data packet and/or ECM are encapsulated by himself intrinsic data format, generate the Packet Multiplexing frame after adding frame originating point information, and the Packet Multiplexing frame that generates is transferred to wireless terminal by radio network.Adopting Packet Multiplexing frame mode to carry out encapsulated delivery, is a kind of packaged type of small data packets, with less 1 to 2Kbps (such as 1.5Kbps) packaged type, replaces the large code stream encapsulation format of 64Kbps, guarantees that data correctly, read efficiently.Figure 3 shows that a kind of structural representation that encapsulates the Packet Multiplexing frame of stream medium data.
The described described flow media data packet of the embodiment of the invention is generated by encoder, and described encoder comprises audio/video coder at least, is used for audio, video data is encoded the flow media data packet of output corresponding encoded form.
The described audio/video coder of the embodiment of the invention can RTP encoder or WMV encoder, or the audio/video coder of RM, RSTP, the forms such as ASF, FLV; Accordingly, the flow media data packet of exporting is RTP bag or WMV (WINDOWS Streaming Media) bag, or the flow media data packet of RM, RSTP, the forms such as ASF, FLV.
The described flow media data packet of the embodiment of the invention can be through the CA scrambling.
When the data of transmission were stream medium data, the described frame originating point information of the embodiment of the invention comprised length information (Length) and target port (Dst Port) at least; Can also comprise following information or wherein any: marking head, CA type, check and (CheckSum), reserved field (Reserved).
The described marking head of the embodiment of the invention is used to indicate the start bit of this Packet Multiplexing frame, is convenient to terminal and searches reception; Also be used for identifying the type of packaged data, can but be not limited to take 4 bytes; Can but be not limited to adopt 0xC3B2B2C3 to identify encapsulation to stream medium data.
The described length information of the embodiment of the invention can but be not limited to be used to indicate the length of the part except marking head and length information in the Packet Multiplexing frame; Can but be not limited to take 2 bytes.
The described target port of the embodiment of the invention is used to indicate the corresponding program of the entrained stream medium data of this Packet Multiplexing frame; Can but be not limited to take 2 bytes.
The described CA type of the embodiment of the invention is used for indicating this Packet Multiplexing frame and which kind of CA pattern carries out scrambling with, and such as stipulating: 0 expression does not have scrambling; The scrambling of a mode is adopted in 1 expression; The scrambling of b mode is adopted in 2 expressions; Can but be not limited to take 1 byte;
The described reserved field of the embodiment of the invention can but be not limited to take 3 bytes; When not using, can fill 0x000000; Can be used at the frame originating point information that applies the Viterbi coding reserved field information that expression generates when the frame originating point informations such as described length information, target port are carried out the Viterbi coding.
The described verification of the embodiment of the invention and be used for verification to front 8 bytes of encapsulation header is calculated according to these 8 bytes of marking head, length and target port in the frame originating point information and is generated, with the information of protection Packet Multiplexing frame head; Can but be not limited to take 2 bytes.
When flow media data packet was the RTP bag, the Packet Multiplexing frame structure after a kind of flow media data packet encapsulation as shown in Figure 4; Packet Multiplexing frame structure after a kind of ECM encapsulation as shown in Figure 5.
The described frame originating point information of the embodiment of the invention can also adopt a kind of implementation, except marking head, has both write the frame originating point information that has applied the Viterbi coding protection, writes again the frame originating point information that does not apply the Viterbi coding protection; The described information that applies the Viterbi coding comprises: length information, target port and reserved field; The described information that does not apply Viterbi coding comprises: length information, target port and verification and.Can offer so a kind of right to choose of whether selecting the Viterbi coding protection of receiving terminal, terminal begins to receive from respective byte according to selecting.Such as in frame originating point information, at first writing marking head, then write successively the frame originating point information that has applied the Viterbi coding protection, and do not apply the frame originating point information of Viterbi coding protection; Like this, thinking when terminal needs Viterbi protection time just to receive since the 5th Bytes, otherwise, when not needing the Viterbi protection, just since the 23rd Bytes reception.
When the data of transmission were ESG and/or other data, services content, the described steps A of the embodiment of the invention specifically comprised:
Transmitting terminal at first is converted to web page files with ESG and/or other data, services content; Then the web page files data encapsulation is become the RTP bag, namely add RTP packet header by the RTP encoder in the front of web page files data, described RTP packet header can be by the RTP encoder by existing RTP standard.Simultaneously, in order to realize the error checking to data, can also add EC (ErrorControl, error control) at the afterbody of web page files data, and in the head of web page files data, write error control type (ECType) for the error control type of expression to data; Described wrong control type can but be not limited to take 1 byte.
In addition, because RTP package form has the restriction of MTU (MTU), therefore if web page files length surpasses MTU, then write fragment number (seq num) with its segmentation and in the head of web page files deblocking and file index number (Index) indicates; The described fragment number of the embodiment of the invention is used to indicate the position of current data piecemeal in the middle of whole web page files; Can but be not limited to take 1 byte.The described file index of the embodiment of the invention number is used to indicate the file sequence number under the current data piecemeal; Can but be not limited to take 2 bytes.
Then, transmitting terminal carries out the Packet Multiplexing encapsulation with the RTP bag, generates the Packet Multiplexing frame behind the adding frame originating point information, and the Packet Multiplexing frame that generates is transferred to wireless terminal by radio network.
Further, transmitting terminal can be set up into described ESG and/or other data, services content the form of portal website, and this portal website comprises some web page files, and these web page files are deposited according to a fixed structure; The link that described web page files the inside also can provide existing flow media data packet by clicking these links, realizes the function of opening and watching program corresponding to described flow media data packet in webpage.If set up into form of websites, then when sending, also need to extract the document structure information of website and send to wireless terminal, so that terminal is preserved web page files with web page files by the structure of transmitting terminal portal website of system according to document structure information, thereby set up identical portal website in this locality; Described document structure information be used for to be described the structure of website, can but be not limited to the form of concordance list (index table).For convenience of description, describe with concordance list hereinafter, in the practical application, and also can adopt the expression-form of other document structure information, implementation method is consistent with concordance list.
Transmitting terminal periodically sends described concordance list and web page files.
Described concordance list include file identifies and the web page files relative path, can also comprise in the following information one or more: the file number that portal website comprises, the file name of each web page files and web page files size.
Accordingly, when transmitting terminal sends described web page files, send after adding file identification and FileVersion; File relative path or file identification occur and change in the web page files of described portal website, or described portal website is newly-increased or during the deletion web page files, transmitting terminal upgrades described concordance list, the concordance list version changes.When the web page files content changing, its FileVersion changes.
When described broadcast system transmitting terminal sends described concordance list, can also add checking data.
Transmitting terminal can also be set up into web page files a plurality of portal websites, and transmitting terminal sends respectively document structure information and the web page files of each portal website.
The transmission of described document structure information is the same with web page files, and transmitting terminal at first becomes the RTP form with the document structure information data encapsulation, namely adds RTP packet header in the front of data; Then, transmitting terminal carries out the Packet Multiplexing encapsulation with the RTP bag, generates the Packet Multiplexing frame behind the adding frame originating point information, and the Packet Multiplexing frame that generates is transferred to wireless terminal by radio network.The method of encapsulation RTP bag and Packet Multiplexing frame is consistent when encapsulating web page files, repeats no more here.
When the data of transmission were ESG and/or other data, services content, the described frame originating point information of the embodiment of the invention comprised length information (Length) at least; Can also comprise following information or wherein any: marking head, CA type, reserved field (Reserved), data type (Data Type).
The described marking head of the embodiment of the invention is used to indicate the start bit of this Packet Multiplexing frame, is convenient to terminal and searches reception; Also be used for identifying the type of packaged data, can but be not limited to take 4 bytes; Can but be not limited to adopt 0xE34D4DE3 to identify encapsulation to the RTP bag of encapsulation ESG and/or other data, services content.
The described length information of the embodiment of the invention can but be not limited to be used to indicate the length of the part except marking head and length information in the Packet Multiplexing frame; Can but be not limited to take 14 bits.
The described CA type of the embodiment of the invention is used for indicating this Packet Multiplexing frame and which kind of CA pattern carries out scrambling with, and such as stipulating: 0 expression does not have scrambling; The scrambling of a mode is adopted in 1 expression; The scrambling of b mode is adopted in 2 expressions; Can but be not limited to take 1 byte;
The described reserved field of the embodiment of the invention can but be not limited to take 3 bytes; When not using, can fill 0x000000; Can be used at the frame originating point information that applies the Viterbi coding reserved field information that expression generates when the frame originating point informations such as described length information, target port are carried out the Viterbi coding.
What the RTP bag that the described data type of the embodiment of the invention encapsulates for this Packet Multiplexing frame of expression encapsulated is web page files or document structure information; Can but be not limited to take 2 bits; Can but be not limited to represent it is web page files with 00,01 the expression be document structure information---such as concordance list.
The formed Packet Multiplexing frame of a kind of encapsulation web page files as shown in Figure 6; The formed Packet Multiplexing frame of a kind of encapsulation concordance list as shown in Figure 7.
The described frame originating point information of the embodiment of the invention can also adopt a kind of implementation, except marking head, has both write the frame originating point information that has applied the Viterbi coding protection, writes again the frame originating point information that does not apply the Viterbi coding protection; Implementation when this mode and transport stream media data mentioned above is similar, repeats no more.
The described transmitting terminal of the embodiment of the invention can also be transferred to wireless terminal by radio network with the Packet Multiplexing frame and refer to: the Packet Multiplexing frame is transferred to wireless terminal as the content of the data segment of multiplexed sub frame by radio network; Specifically, be exactly that one or more Packet Multiplexing frame consists of a data unit, one or more data cell adds that data segment header consists of a data segment, this data segment adds that the subframe head consists of multiplexed sub frame, as shown in Figure 8.Be transferred to wireless terminal by radio network after described multiplexed sub frame further is encapsulated as broadcast channel frame.
The described Packet Multiplexing frame of the embodiment of the invention can be through the CA scrambling.
The described data segment header of the embodiment of the invention can comprise parameter and the CRC (cyclic check code) of number of data units, each data cell.The parameter of the described data cell of the embodiment of the invention can comprise data unit length and data cell type.
B, terminal therefrom extract the Packet Multiplexing frame after receiving broadcast data, and extract data in the described Packet Multiplexing frame according to frame originating point information; Terminal judges that according to the marking head in the frame originating point information data that encapsulate in the described Packet Multiplexing frame are stream medium data or the data of data, services, if be stream medium data then carry out step B1, if for the RTP bag of encapsulation ESG and/or other data, services content then carry out step B2.
Can also comprise among the described step B of the embodiment of the invention: terminal selects corresponding descrambling mode to the data descrambling according to the CA type in the frame originating point information.
Can also comprise among the described step B of the embodiment of the invention: after terminal receives the Packet Multiplexing frame, can be first according to these 8 bytes of marking head, length and target port in its frame originating point information come calculation check and, and the therewith verification in the frame originating point information and comparing, if inconsistent then abandon use to this Packet Multiplexing frame.
Can also comprise among the described step B of the embodiment of the invention: when broadcast singal is bad, if when terminal receives the frame originating point information mistakes such as described length information, described target port, can utilize the information of reserved field to recover correct information.Can find out, after adding the Viterbi coding protection, can be to guaranteeing the important parameter of transmission quality, length information, described target port information etc. are better protected as described, improve the transmission of flow media data reliability.
Can also comprise among the described step B of the embodiment of the invention: in frame originating point information, both write the frame originating point information that has applied the Viterbi coding protection; when writing again the frame originating point information that does not apply the Viterbi coding protection; terminal selects whether to adopt the Viterbi coding protection, and begins to receive the Packet Multiplexing frame according to selecting from respective byte.
Be flow media data packet or ECM in B1, the terminal judges stream medium data; If be flow media data packet then play; Can carry out respective handling by prior art to ECM.
The play stream media data bag specifically refers among the described step B1 of the embodiment of the invention: terminal is configured to the IP bag with described flow media data packet and sends to the tcp/ip layer of this lane terminal, then obtains User Datagram Protoco (UDP) UDP through tcp/ip layer and wraps and play with corresponding normal stream media play software.
The described terminal constructions IP bag of the embodiment of the invention refers to: press IP agreement package after described flow media data packet (for example RTP bag) is pressed the udp protocol package again; The embodiment of the invention is described carries out package according to the IP agreement and is about to add IP packet header before the UDP bag; The embodiment of the invention described according to udp protocol carry out package namely just flow media data packet add UDP packet header, wherein the target port in the frame originating point information is consistent in the Packet Multiplexing frame of target port and reception.
The described terminal of the embodiment of the invention sees through that tcp/ip layer obtains User Datagram Protoco (UDP) UDP bag and plays with corresponding normal stream media play software and refers to: lane terminal is preserved target port that receiving-transmitting sides arranges and the corresponding relation of streaming media playing software, after terminal sees through tcp/ip layer and gets access to UDP bag in the described IP bag, according to described corresponding relation, play stream medium data in the UDP bag with the corresponding normal stream media play of target port software in the UDP packet header.
B2, terminal parses go out ESG and/or other data, services content in the RTP bag, if for web page files then web page files is kept at this locality; Terminal is obtained described ESG and/or other data, services content by accessing the local web page files of preserving; Terminal can but be not limited to use the general explanation application mode such as browser (browser) to carry out ESG and/or other data, services content shows.
For data services such as stock information and geography information, professional send mode may be different from presentation mode.In order on terminal, to show in consistent mode, can adopt Java Virtual Machine to carry out platform as general program, the expression of business datum is described told terminal by virtual machine executive program Java applet.Portable terminal is as conventional data service platform device, and by setting up two channels between corresponding interface module and the transmitting terminal, one is virtual machine executive program channel (sending Java applet); Another is traffic data channel, and this traffic data channel is used for receiving the business datum from transmitting terminal.Terminal equipment is carried out this virtual machine executive program by virtual machine and is resolved the business service data, for terminal user provides data, services.Service provider need only be upgraded the content that collapse platform executive program and business datum can change this data service service.Change to the cross-platform executive program of traffic information broadcasting such as the cross-platform executive program with stock after, service content can change.Added Business also need not to formulate new agreement, only needs to increase new cross-platform executive program and the business datum of transmission and gets final product.
If what terminal parsed from the RTP bag is document structure information---such as concordance list, then it is kept at this locality, and according to this concordance list relevant web page files is set up into the website identical with the broadcast system transmitting terminal in this locality, namely in the concordance list that preserve this locality, search corresponding file relative path according to the file identification in the described web page files, and preserve this web page files according to this relative path; Terminal is obtained described ESG and/or other data, services content by accessing local website.
Among the described step B2 of the embodiment of the invention, terminal can read web page files by the mode of WEB SERVER (web page server); Wherein, the path of WEB SERVER is set to deposit the root of portal website.IP address such as http in terminal input the machine: during // 127.0.0.1, show the homepage of described portal website, browse the described website of setting up in this locality.Certainly terminal also can not used WEBSERVER, but deposits site home page file in the web page files path, browsing page by direct click.Terminal can also according to the web page files that downloads, be write based on the browser of webpage and realize showing.
Among the described step B2 of the embodiment of the invention, if comprise the link of flow media data packet in the web page files, then when clicking this link, play corresponding flow media data packet; Player method is described with step B1, no longer repeats here.
Can also comprise among the described step B2 of the embodiment of the invention: when terminal receives described concordance list, compare the concordance list version in its concordance list version and the local index table information of preserving, when the concordance list version that receives is higher than the concordance list version of local same website, terminal is replaced the concordance list of local same website with the concordance list that receives, and all web page files of the local corresponding website of this concordance list of preserving of deletion.If version is identical, then do not preserve the concordance list that receives.
Can also comprise among the described step B2 of the embodiment of the invention: preserve simultaneously its corresponding FileVersion when described terminal is preserved web page files; When terminal receives described web page files, the FileVersion of web page files of the FileVersion of this web page files and local identical file sign relatively, when the FileVersion of the web page files that receives is higher than local FileVersion, use to receive web page files replacement local page file.If when the FileVersion of the FileVersion of received web page files and the web page files of local identical file sign is identical, then do not preserve received web page files, keep local web page files.
After the scheme above adopting, terminal can be carried out real-time renewal.
Can also comprise among the described step B2 of the embodiment of the invention: when terminal receives described concordance list, at first check checking data, when verification is correct, receive described concordance list, otherwise abandon described concordance list, wait for receiving new concordance list.
Can also comprise among the described step B2 of the embodiment of the invention: when transmitting terminal has been set up more than one portal website, after terminal receives the document structure information and web page files of described each portal website, make up respectively corresponding portal website in terminal this locality according to described document structure information and web page files.
The present invention also provides the emission system in a kind of broadcast system, as shown in Figure 9, comprises encoder, multiplexer, modulator, webpage generation module, transmitter; Can also comprise with lower module or wherein any: CA scrambling module, document structure information extraction module.
The described encoder of the embodiment of the invention is mainly used in data are encoded, the packet of output corresponding encoded form, and be sent to multiplexer.Described encoder comprises audio/video coder at least, with simulation/or the audio, video data conversion of numeral after, export the flow media data packet of corresponding form.
For example, if audio/video coder is the RTP audio/video coder, then exportable RTP wraps (RTPPacket), has wherein sealed the stream medium data of RTP form; If this audio/video coder is the WMV encoder, then exportable WINDOWS Streaming Media WMV wraps, and has wherein sealed the stream medium data of WMV form.This audio/video coder also can be other form encoder, and export the audio, video data bag of other form, forms such as RM, RSTP, ASF, FLV according to concrete service needed.
The described encoder of the embodiment of the invention can be multi-functional encoder, and namely encoder can be exported the packet of multiple format as required, also can configure a plurality of encoder specials, and each encoder is exported a kind of packet of form.
The described encoder of the embodiment of the invention also comprises the RTP encoder.
The described webpage generation module of the embodiment of the invention is used for ESG and/or other data, services content are converted into web page files and send to the RTP encoder; Can also be used for ESG and/or other data, services content are set up into one or more portal website.Also be used for when web page files length during above MTU, write fragment number (seq num) with its segmentation and in the head of web page files deblocking and file index number (Index) indicates; The described fragment number of the embodiment of the invention is used to indicate the position of current data piecemeal in the middle of whole web page files; The described file index of the embodiment of the invention number is used to indicate the file sequence number under the current data piecemeal.Can also be used for adding EC (Error Control, error control) at the afterbody of web page files data, and in the head of web page files data, write error control type (EC Type) for the error control type of expression to data.
The described document structure information extraction module of the embodiment of the invention is used for when described webpage generation module is set up portal website, and the structural information spanned file structural information of extracting described portal website sends to the RTP encoder; Described document structure information can but be not limited to a concordance list, the information such as the relative path of the number of files, file sequence number, file name, file that wherein comprises portal website in described portal website, file size.Also comprise the concordance list version in the described concordance list, occurring file relative path or file name in the web page files of described portal website changes, or described portal website is newly-increased or during the deletion web page files, described document structure information extraction module upgrades described concordance list version.
The described multiplexer of the embodiment of the invention, be used for the encapsulation that receives to the flow media data packet that receives from encoder, from the RTP encoder RTP bag of data, services content and the one or more encapsulation process of carrying out of ECM, add the associated frame header, generate the Packet Multiplexing frame.Can also be used for this Packet Multiplexing frame is encapsulated as multiplexed sub frame, and further be encapsulated as broadcast channel frame.Multiplexer with the Packet Multiplexing frame be encapsulated as multiplexed sub frame can but be not limited to refer to: one or more Packet Multiplexing frame is consisted of a data unit, one or more data cell is added that data segment header consists of a data segment, this data segment is added that the subframe head consists of multiplexed sub frame; Described data segment header comprises parameter and the cyclic check code of number of data units, each data cell; The parameter of described data cell can comprise data unit length and data cell type.
Say from hardware point of view, described encoder can but be not limited to be placed in the equipment with multiplexer.
Described frame originating point information no longer repeats here with above described.
As shown in figure 10, described multiplexer can but be not limited to comprise:
Packet-receiving module is used for the receiving stream media packet, has encapsulated the one or more of the RTP bag of ESG and/or other data, services content and ECM and sends into Packet Multiplexing frame generation module.
Packet Multiplexing frame generation module, the one or more encapsulation with among the described flow media data packet that receives, the RTP bag that has encapsulated ESG and/or other data, services content and the ECM write frame originating point information in frame head, generate the Packet Multiplexing frame.
Described multiplexer can also comprise a broadcast channel frame generation module, and the Packet Multiplexing frame that is used for described Packet Multiplexing frame generation module is produced is packaged into multiplexed sub frame, and further is encapsulated as broadcast channel frame.
The described modulator of the embodiment of the invention after being used for Packet Multiplexing frame that multiplexer is generated or broadcast channel frame and modulating, is delivered to described transmitter; Transmitter is used for the signal after the modulators modulate is sent to by radio network the radio receiving terminal of broadcast system, realizes the radio transmission of streaming media service data in the broadcast system.
The described CA scrambling module of the embodiment of the invention is used for described Packet Multiplexing frame is carried out scrambling.
The present invention also provides the terminal in a kind of broadcast system, as shown in figure 11, comprises receiver module, procotol modular converter, memory module and access modules.
The described receiver module of the embodiment of the invention be used for to receive broadcast data, therefrom extracts the Packet Multiplexing frame, and extracts data in the described Packet Multiplexing frame according to frame originating point information; Can also be used for judging that according to the marking head in the frame originating point information data that encapsulate in the described Packet Multiplexing frame are stream medium data or ESG and/or other data, services content, if for stream medium data then the Packet Multiplexing frame is sent to the procotol modular converter.If be the RTP bag of encapsulation ESG and/or other data, services content, the ESG and/or other data, services content that then extract in the RTP bag---comprise web page files and document structure information---and carry out respective handling.
The described document structure information of the embodiment of the invention can but be not limited to the index of reference table and describe.
The described receiver module of the embodiment of the invention carries out respective handling to web page files and document structure information can refer to directly send to memory module, also can refer to:
When receiving described concordance list, at first check checking data, when verification is correct, receive described concordance list, otherwise abandon described concordance list, wait for receiving new concordance list.After receiving concordance list, the concordance list version of the concordance list of the same website of relatively preserving in its concordance list version and the memory module, when the concordance list version that receives is higher than the concordance list version of preserving, then the concordance list that receives is sent to memory module, if version is identical, then do not keep the concordance list that receives.
When receiving web page files, the FileVersion of the web page files of the identical file sign of relatively preserving in the FileVersion of this web page files and the memory module, when the FileVersion of the web page files that receives is higher than the FileVersion of the web page files of preserving in the memory module, this web page files is sent to memory module; When FileVersion is identical, do not keep described web page files.
Described receiver module can also be used for according to fragment number (seqnum) and the file index number (Index) of web page files deblocking head the web page files deblocking being reduced to web page files.
Which kind of error control method what described receiver module can also be used for determining that this web page files deblocking adopts according to web page files deblocking head error control type (EC Type) is; And according to the EC of web page files data trailer this web page files piecemeal is carried out error control.
The described receiver module of the embodiment of the invention can also be used for selecting corresponding descrambling mode to Packet Multiplexing frame descrambling according to the CA type of frame originating point information.
The described receiver module of the embodiment of the invention can also be used for according to these 8 bytes of frame originating point information marking head, length and target port of Packet Multiplexing frame come calculation check and, and the therewith verification in the frame originating point information and comparing, if inconsistent then abandon use to this Packet Multiplexing frame.
The described receiver module of the embodiment of the invention can also be used for when broadcast singal is bad, if when receiving the frame originating point information mistake such as described length information, described target port, utilize the information of reserved field to recover correct information.
The described receiver module of the embodiment of the invention can also be used for both having write the frame originating point information that has applied the Viterbi coding protection when frame originating point information; when writing again the frame originating point information that does not apply the Viterbi coding protection; select whether to adopt the Viterbi coding protection, and begin to receive the Packet Multiplexing frame according to selecting from respective byte.
The described procotol modular converter of the embodiment of the invention is used for receiving described Packet Multiplexing frame, and that judge wherein encapsulation is flow media data packet or ECM, if ECM then can carry out respective handling by prior art; If flow media data packet then is configured to it tcp/ip layer that IP wrapped and sent to lane terminal.
The described procotol modular converter structure of embodiment of the invention IP bag refers to: press IP agreement package after described flow media data packet is pressed the udp protocol package again; The embodiment of the invention is described carries out package according to the IP agreement and is about to add IP packet header before the UDP bag; The embodiment of the invention described according to udp protocol carry out package namely just flow media data packet add UDP packet header, wherein the target port in the frame originating point information is consistent in the Packet Multiplexing frame of target port and reception.
The described memory module of the embodiment of the invention is kept at terminal this locality with described web page files and document structure information; Also be used for according to document structure information relevant web page files being set up into the website identical with the broadcast system transmitting terminal in this locality, namely in the document structure information that preserve this locality, search corresponding file relative path according to the file identification in the described web page files, and preserve this web page files according to this relative path.
The described memory module of the embodiment of the invention is replaced the concordance list of original same website of preserving with this concordance list when receiving concordance list, and all web page files in website corresponding to this concordance list of preserving of deletion; When receiving web page files, use this web page files to replace the web page files of original identical file sign of preserving.
The described access modules of the embodiment of the invention is used for the local web page files of access, obtains ESG and/or other data, services content; Also being used for obtaining User Datagram Protoco (UDP) UDP through tcp/ip layer wraps and plays with corresponding normal stream media play software.
Preserve the target port of receiving-transmitting sides agreement and the corresponding relation of streaming media playing software in the described access modules of the embodiment of the invention, after access modules sees through tcp/ip layer and gets access to UDP bag in the described IP bag, according to described corresponding relation, play stream medium data in the UIP bag with the corresponding normal stream media play of target port software in the UDP packet header.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.