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, with simple and easy to do uniform way, realize the transmission of Various types of data in the broadcast system, so that 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 streaming media 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 head 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 head information comprises:
Condition rating CA type is used to indicate the CA pattern of this Packet Multiplexing frame being carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be meant: one or more Packet Multiplexing frame is constituted a data unit, one or more data cell is added that data segment header constitutes a data segment, this data segment is added that the subframe head constitutes 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 the 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 head information comprises: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used to identify 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 after the adding frame head 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 the form of portal website with described ESG and/or other data, services content, 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 head information: data type, what be used for representing encapsulation in the RTP bag that this Packet Multiplexing frame encapsulates is web page files or document structure information.
Further, comprise in the described frame head information: the CA type is used to indicate the CA pattern of this Packet Multiplexing frame being carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be meant: one or more Packet Multiplexing frame is constituted a data unit, one or more data cell is added that data segment header constitutes a data segment, this data segment is added that the subframe head constitutes 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 the 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 head information: marking head, be used to indicate the start bit of this Packet Multiplexing frame, also be used to identify 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 head 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 after the adding frame head 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 the form of portal website with described ESG and/or other data, services content, 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 head information: data type, what be used for representing encapsulation in the RTP bag that this Packet Multiplexing frame encapsulates is web page files or document structure information.
Further, described frame head information comprises: the CA type is used to indicate the CA pattern of this Packet Multiplexing frame being carried out scrambling.
Further, the Packet Multiplexing frame is transferred to wireless terminal by radio network to be meant: one or more Packet Multiplexing frame is constituted a data unit, one or more data cell is added that data segment header constitutes a data segment, this data segment is added that the subframe head constitutes 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 the 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 head information comprises: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used to identify 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 the packet and/or the Entitlement Control Message of described encoder output are encapsulated, and adds frame head 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 surpasses 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 head information that described multiplexer adds:
Data type, what be used for representing encapsulation in the RTP bag that this Packet Multiplexing frame 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 head information that described multiplexer adds: the CA type is used to indicate the CA pattern of this Packet Multiplexing frame being 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 is meant: one or more Packet Multiplexing frame is constituted a data unit, one or more data cell is added that data segment header constitutes a data segment, this data segment is added that the subframe head constitutes multiplexed sub frame; Described data segment header comprises the 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 head information that described multiplexer adds: marking head is used to indicate the start bit of this Packet Multiplexing frame; Also be used to identify and packaged be stream medium data or encapsulated ESG and/or the RTP of other data, services content bag.
Further, described multiplexer comprises:
The packet receiver 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 head 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 is produced 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 procotol modular converter and access modules;
Described receiver module is used to receive broadcast data, therefrom extracts the Packet Multiplexing frame, and information extraction goes out data in the described Packet Multiplexing frame according to frame head;
Described access modules is used for the data that extract are conducted interviews or play.
Further, described terminal also comprises memory module;
Described receiver module also is used for judging that according to the marking head in the frame head information data that encapsulate in the described Packet Multiplexing frame are that stream medium data still is 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 to receive described Packet Multiplexing frame, when encapsulation wherein be flow media data packet the time, with its tcp/ip layer that is configured to IP bag and sends to lane terminal;
Described access modules is used to obtain 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 standard streaming media playing 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 the 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 standard streaming media playing software and is meant: preserve the 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, the pairing normal stream media play of target port software is play the stream medium data in the UDP bag in the use 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 head 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 packaged type simultaneously than small data packets, guarantee that data correctly, read efficiently, improve utilization rate of channel resources, be suitable for the transmission of flow media data of multiple form; And therefore manufacturer terminal need not help the release and the application of new data, services at the exploitation corresponding software and hardware of each item number according to service; 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 make the user to browse required data, services content and to watch multimedia programming according to usual interactive mode at local creating website.
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 at transfer of data such as stream medium data and data, services, adopt uniform way 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 the coding back forms, directly be encapsulated as the Packet Multiplexing frame; And for ESG (electronic program guides) and/or other data, services content, then be translated into the form of web page files earlier, be encapsulated as RTP (RTP) bag then 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.
The embodiment of the invention is applicable to CMMB (China Mobile multimedia broadcasting) broadcast system, all the other broadcast systems such as DVB-H (the digital video broadcast-handheld formula receives: Digital Video BroadcastHandheld), MediaFLO (the single forward link of medium: Media Forward Link Only) wait also corresponding suitable.
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 head information, and the Packet Multiplexing frame that is generated 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, and with less 1 to 2Kbps (as 1.5Kbps) packaged type, the big code stream encapsulation format of replacement 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, forms such as ASF, FLV; Accordingly, the flow media data packet of being exported is RTP bag or WMV (WINDOWS Streaming Media) bag, or the flow media data packet of RM, RSTP, 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 head 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 to identify 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 for indicating the length of the part of Packet Multiplexing frame except that marking head and length information; Can but be not limited to take 2 bytes.
The described target port of the embodiment of the invention is used to indicate the pairing 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 to indicate this Packet Multiplexing frame and uses which kind of CA pattern to carry out scrambling, 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 in the frame head information that applies the Viterbi coding reserved field information that expression is generated when frame head information 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 preceding 8 bytes of encapsulation header is calculated according to these 8 bytes of marking head, length and target port in the frame head 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, a kind of flow media data packet grouping after encapsulation multiplexed frame structure as shown in Figure 4; A kind of ECM grouping after encapsulation multiplexed frame structure as shown in Figure 5.
The described frame head information of the embodiment of the invention can also adopt a kind of implementation, except marking head, has both write the frame head information that has applied the Viterbi coding protection, writes the frame head information that does not apply the Viterbi coding protection again; The described Viterbi information encoded that applies comprises: length information, target port and reserved field; The described Viterbi information encoded that do not apply comprises: length information, target port and verification and.Can offer a kind of right to choose of whether selecting the Viterbi coding protection of receiving terminal like this, terminal begins to receive from respective byte according to selecting.Such as in frame head information, at first writing marking head, write successively then frame head information that has applied the Viterbi coding protection and the frame head information that does not apply the 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, promptly add RTP packet header by the RTP encoder in the front of web page files data, described RTP packet header can be determined by existing RTP standard by the RTP encoder.Simultaneously, in order to realize 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) and be used to represent error control type data; Described wrong control types 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 above MTU, then writes 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 after the adding frame head information, and the Packet Multiplexing frame that is generated 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 the plurality of webpages file, and these web page files are deposited according to a fixed structure; Described web page files the inside also can provide the link of existing flow media data packet, by clicking these links, is implemented in the function of opening in the webpage and watching the program of described flow media data packet correspondence.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,, thereby set up identical portal website in this locality 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; Described document structure information is used to describe 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 the document structure information and the web page files of each portal website respectively.
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, promptly 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 after the adding frame head information, and the Packet Multiplexing frame that is generated 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 head 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 to identify 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 for indicating the length of the part of Packet Multiplexing frame except that marking head and length information; Can but be not limited to take 14 bits.
The described CA type of the embodiment of the invention is used to indicate this Packet Multiplexing frame and uses which kind of CA pattern to carry out scrambling, 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 in the frame head information that applies the Viterbi coding reserved field information that expression is generated when frame head information such as described length information, target port are carried out the Viterbi coding.
The described data type of the embodiment of the invention be used for representing this Packet Multiplexing frame encapsulation the encapsulation of RTP bag be 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---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 head information of the embodiment of the invention can also adopt a kind of implementation, except marking head, has both write the frame head information that has applied the Viterbi coding protection, writes the frame head information that does not apply the Viterbi coding protection again; 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 be meant: 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 constitutes a data unit, one or more data cell adds that data segment header constitutes a data segment, this data segment adds that the subframe head constitutes 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 the 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 information extraction goes out data in the described Packet Multiplexing frame according to frame head; Terminal judges that according to the marking head in the frame head information data that encapsulate in the described Packet Multiplexing frame are that stream medium data still is 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 head information.
Can also comprise among the described step B of the embodiment of the invention: after terminal receives the Packet Multiplexing frame, can be earlier according to these 8 bytes of marking head, length and target port in its frame head information come calculation check and, and it is the verification in the frame head information and comparing therewith, 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 was bad, if terminal can utilize the information of reserved field to recover correct information when receiving frame head information errors such as described length information, described target port.As can be seen, after adding the Viterbi coding protection, can be to guaranteeing the important parameter of transmission quality, length information, described target port information etc. are carried out better protection 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 head information, both write the frame head information that has applied the Viterbi coding protection; when writing the frame head information that does not apply the Viterbi coding protection again; 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 is meant 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, obtains User Datagram Protoco (UDP) UDP through tcp/ip layer then and wraps and play with corresponding standard streaming media playing software.
The described terminal constructions IP bag of the embodiment of the invention is meant: press IP agreement package again after described flow media data packet (for example RTP bag) is pressed the udp protocol package; 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 promptly just flow media data packet add UDP packet header, wherein the target port in the frame head 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 standard streaming media playing software and is meant: lane terminal is preserved the 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, the pairing normal stream media play of target port software is play the stream medium data in the UDP bag in the use 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 visiting the local web page files of preserving; Terminal can but be not limited to use browser general explanation application modes such as (browser) to carry out ESG and/or other data, services content to show.
For data services such as stock information and geography information, professional send mode may be different with presentation mode.For the mode with unanimity on terminal shows, 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 a traffic data channel, and this traffic data channel is used to receive 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 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---as concordance list, then it is kept at this locality, and relevant web page files is set up the website identical with the broadcast system transmitting terminal in this locality according to this concordance list, promptly in the concordance list that preserve this locality, search the corresponding file relative path, and preserve this web page files according to this relative path according to the file identification in the described web page files; Terminal is obtained described ESG and/or other data, services content by visiting 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.Import the IP address such as the http of this machine in terminal: 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 be write based on the browser of webpage and realize showing according to the web page files that gets off of download.
Among the described step B2 of the embodiment of the invention,, then when clicking this link, play the corresponding stream media data bag if comprise the link of flow media data packet in the web page files; 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 being preserved 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 its corresponding file version when described terminal is preserved web page files simultaneously; 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 corresponding portal website respectively 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 is 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, for example 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 promptly encoder can be exported the packet of multiple form as required, also can dispose a plurality of own coding devices, 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 surpasses 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), and in the head of web page files data, write error control type (EC Type) and be used to represent error control type data at the afterbody of web page files 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, 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 be meant: one or more Packet Multiplexing frame is constituted a data unit, one or more data cell is added that data segment header constitutes a data segment, this data segment is added that the subframe head constitutes multiplexed sub frame; Described data segment header comprises the 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 head information of same is mentioned above, no longer repeats here.
As shown in figure 10, described multiplexer can but be not limited to comprise:
The packet receiver 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 head information in frame head, generate the Packet Multiplexing frame.
Described multiplexer can also comprise a broadcast channel frame generation module, is used for the Packet Multiplexing frame that 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 the radio receiving terminal of broadcast system by radio network, 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 9, comprises receiver module, procotol modular converter, memory module and access modules.
The described receiver module of the embodiment of the invention is used to receive broadcast data, therefrom extracts the Packet Multiplexing frame, and information extraction goes out data in the described Packet Multiplexing frame according to frame head; Can also be used for judging that according to the marking head in the frame head information data that encapsulate in the described Packet Multiplexing frame are that stream medium data still is ESG and/or other data, services content, if be 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 and can be meant and directly send to memory module, also can be meant:
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 that compares the concordance list of the same website of 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 being preserved, 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 of web page files deblocking head (seqnum) and file index number (Index) 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 adopted according to web page files deblocking head error control type (EC Type) is; And this web page files piecemeal is carried out error control according to the EC of web page files data trailer.
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 head information.
The described receiver module of the embodiment of the invention can also be used for according to these 8 bytes of frame head information marking head, length and target port of Packet Multiplexing frame come calculation check and, and it is the verification in the frame head information and comparing therewith, 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, during as if frame head information errors such as the described length information of reception, described target ports, utilizes 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 head information that has applied the Viterbi coding protection when frame head information; when writing the frame head information that does not apply the Viterbi coding protection again; select whether to adopt the Viterbi coding protection, and begin to receive the Packet Multiplexing frame from respective byte according to selecting.
The described procotol modular converter of the embodiment of the invention is used to receive 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 is meant: press IP agreement package again after described flow media data packet is pressed the udp protocol package; 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 promptly just flow media data packet add UDP packet header, wherein the target port in the frame head 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 relevant web page files being set up the website identical with the broadcast system transmitting terminal in this locality according to document structure information, promptly in the document structure information that preserve this locality, search the corresponding file relative path, and preserve this web page files according to this relative path according to the file identification in the described web page files.
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 the website of deletion this concordance list correspondence of being preserved; 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 to visit local web page files, 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 standard streaming media playing 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, the pairing normal stream media play of target port software is play the stream medium data in the UIP bag in the use UDP packet header.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.