Summary of the invention
The invention provides a kind of stream media program interactive implementation method, in order to the interactive problem of portable terminal shortage in the solution prior art with flow-medium performance.
The present invention provides a kind of stream media program interactive system that is applied to this method in addition.
The inventive method comprises:
Streaming media server sends to portable terminal with flow-medium performance and corresponding interactive short message configuration information; Described interactive short message configuration information comprises the interactive operation information at least and inserts the corresponding short message of processing unit with short message and insert number;
The described flow-medium performance of mobile terminal playing, and show described interactive operation information; And obtaining the interactive operation behavior sign that the user selects according to described interactive operation information, the short message access processing unit that inserts the number correspondence to described short message sends SMS message, and carries the interactive operation behavior sign of selection;
After described short message access processing unit is received described short message, carry out corresponding interactive operation according to described interactive operation behavior sign.
According to said method of the present invention, described streaming media server sends to flow-medium performance and corresponding interactive short message configuration information before the portable terminal, and the notice portable terminal receives interactive short message configuration information.
Described streaming media server carries the interactive sign of short message by sending the Session Description Protocol SDP file corresponding with described flow-medium performance, and the notice portable terminal receives interactive short message configuration information when the receiving stream media program.
According to said method of the present invention, described interactive short message configuration information is stored in the streaming media server with interactive short message configuration file form in advance; Or
Be packaged in advance in the flow-medium performance file of the correspondence of storing in the streaming media server; Or
Progress according to stream media live programs is provided with in real time, is encapsulated by streaming media server, and sends to portable terminal with the stream media live programs data flow.
Streaming media server read corresponding interactive short message configuration file, and the interactive short message configuration information that will read sends to portable terminal when mobile terminal accessing flow-medium performance file.
Described interactive short message configuration file includes but not limited to text, binary file and the XML of expansion identifiable language file.
According to said method of the present invention, streaming media server sends to portable terminal by realtime transmission protocol RTP message, real-time stream media protocol RTSP message or RTCP Real-time Transport Control Protocol RTCP message with described interactive short message configuration information.
By expanding described RTP message, RTSP message or RTCP message format, carry described interactive short message configuration information.
Described RTP message is carried described interactive short message configuration information by synchronous literal.
Described synchronous literal is defined synchronous literal type of RTP or undefined synchronous literal type;
By defined literal type is expanded, or undefined synchronous literal type is defined, expand synchronous text formatting, carry described interactive short message configuration information.
According to said method of the present invention, described interactive short message configuration information also comprises the service identification that identifies flow-medium performance.
According to said method of the present invention, carry described service identification in the short message that portable terminal sends;
Short message inserts processing unit receive described short message after, the flow-medium performance of this service identification correspondence is carried out interactive operation handles.
Stream media program interactive provided by the invention system comprises: the unit is set for portable terminal, streaming media server, interactive short message configuration information and short message inserts processing unit;
Described interactive short message configuration information is provided with the unit and is connected with described streaming media server, and the interactive short message configuration information that is provided with is sent to described streaming media server;
Described streaming media server is connected with described portable terminal, and the flow-medium performance of user capture and the interactive short message configuration information of correspondence are sent to described portable terminal; Described interactive short message configuration information comprises the interactive operation information at least and inserts the corresponding short message of processing unit with short message and insert number;
Described portable terminal inserts processing unit by wireless mode and described short message and is connected, and plays described flow-medium performance, and shows described interactive operation information; And obtain the interactive operation behavior sign that the user selects according to described interactive operation information, the short message access processing unit of the short message of interactive operation behavior sign to described message access code correspondence carried in transmission, carries out corresponding interactive operation by it and handles.
Described interactive short message configuration information is provided with the interactive short message configuration information that the unit will be provided with and is encapsulated as document form, sends in the described streaming media server and stores; Or
The interactive short message configuration information that is provided with is sent to described streaming media server, this configuration information is encapsulated with corresponding flow-medium performance file by it; Or
Progress according to stream media live programs is provided with interactive short message configuration information in real time, and send to described streaming media server in real time, by it described interactive short message configuration information is encapsulated, and together send to described portable terminal in company with the programme televised live data flow.
According to said system of the present invention, described streaming media server sends the SDP file corresponding with the flow-medium performance of user capture to described portable terminal, carry the interactive sign of short message, notify described portable terminal when the receiving stream media program, to receive interactive short message configuration information.
According to said system of the present invention, described streaming media server sends to described portable terminal by RTP message, RTSP message or RTCP message with described interactive short message configuration information.
Beneficial effect of the present invention is as follows:
(1) the present invention is by setting in advance interactive short message configuration information, and when the user capture flow-medium performance, by streaming media server this configuration information is sent to customer mobile terminal, make the portable terminal can be according to this configuration information, specify short message access processing unit to carry out interactive operation by sending short messages to, realize program interaction, enriched the application of mobile multi-media service.
(2) comprise in the interactive short message configuration information interactive operation information, short message insert number, interactive operation behavior sign and service identification etc. information, make the user directly select mutual-action behavior sign and service identification by portable terminal, send short messages to the appointment access code, provide convenience for the user uses the interaction of stream meadia business, improved user experience.
(3) service provider can be according to service needed, interactive short message configuration information to the present invention's definition is expanded, the interactive operation behavior that provides is developed, improved the flexibility of program interaction and rich, improved the using value of mobile multi-media service.
(4) the present invention has increased interactive short message configuration information newly unit and short message access processing unit has been set in original flow-medium performance Play System, combine with the existing business platform, but function is independent, and therefore, the system, coupled degree is low, is easy to safeguard.
Embodiment
The present invention is by default interactive short message configuration information, when the user passes through the mobile terminal accessing flow-medium performance, interactive short message configuration information is sent to portable terminal, portable terminal is after receiving configuration information, by sending SMS message, the user is wished that the interactive operation behavior informing message that carries out inserts processing unit, carry out corresponding interactive operation, realize interaction function by it.
Referring to Fig. 1, realize the system configuration schematic diagram of interactive Streaming Media by short message for the present invention.Comprise in this system: the unit is set for portable terminal, streaming media server, interactive short message configuration information and short message inserts processing unit.Wherein,
Interactive short message configuration information is provided with the unit and is used to be provided with interactive short message configuration information.The flow-medium performance that the service provider is respectively different by this unit is provided with corresponding interactive short message configuration information;
Streaming media server stored stream media file and corresponding interactive short message configuration file, or the live data streams of receiving stream media program and corresponding interactive short message configuration information;
Portable terminal is used for visit and playing stream media program, and according to interactive short message configuration information, sends the short message that comprises interactive operation behavior sign;
Short message access processing unit is used for the interactive short message according to the portable terminal transmission, the interactive operation that the flow-medium performance of mobile terminal accessing is carried out appointment.
Interactive short message configuration information is provided with the unit and is connected with streaming media server, and the interactive short message configuration file or the configuration information that interactive short message configuration information are provided with the unit setting send to streaming media server.At the flow-medium performance file, interactive short message configuration information is provided with the unit configuration information is encapsulated as interactive short message configuration file, and upload to streaming media server and preserve, or directly configuration information is uploaded to streaming media server, by it this configuration information is encapsulated in the corresponding files in stream media.Flow-medium performance for live form, progress according to the live broadcast stream media program, the service provider is provided with the unit by interactive short message configuration information configuration information is set in real time, and in real time with this information uploading to streaming media server, be encapsulated as interactive short message configuration information data flow by it, and, send corresponding interactive short message configuration information data flow simultaneously when portable terminal sends the flow-medium performance data flow.
Streaming media server is connected with portable terminal, sends the flow-medium performance data flow of user capture and the interactive short message configuration information corresponding with it to portable terminal.
Portable terminal inserts processing unit by wireless mode and short message and is connected.Portable terminal is after receiving interactive short message configuration information, and by the form of short message, the short message that the interactive operation behavior sign that the user is selected or imports sends to appointment inserts processing unit.After short message access server in the short message access processing unit receives short message, according to interactive operation behavior sign flow-medium performance being carried out corresponding interactive operation handles, or carry out corresponding interactive operation together with other servers in this unit and handle, thereby realize the stream media program interactive process.
The service provider not only can provide flow-medium performance to portable terminal by a broadcast mode, also can provide flow-medium performance to portable terminal by direct-seeding, as live television programming.Under the both of these case, all can realize stream media program interactive by short message.
Referring to Fig. 2, the schematic flow sheet of short message interactive operation during for streaming media on demand or analog live broadcasting.Store the flow-medium performance file that business/content supplier provides in the streaming media server in advance.The concrete steps of its short message interactive operation comprise:
S10, the setting interactive short message configuration information corresponding with files in stream media, and be encapsulated as interactive short message configuration file.
S11, interactive short message configuration file is uploaded to streaming media server.
Among the step S10, interactive short message configuration information is set after, also can directly configuration information be sent to streaming media server, by streaming media server this configuration information is encapsulated in the corresponding flow-medium performance file.
S12, portable terminal program request or analog live broadcasting flow-medium performance.
S13, streaming media server send flow-medium performance to portable terminal; Streaming media server is the interactive short message configuration file of reading flow media program file correspondence also, the interactive short message configuration information that reads is carried out protocol encapsulation after, send to portable terminal.
If interactive short message configuration information has been encapsulated in the flow-medium performance file, then streaming media server is when portable terminal sends flow-medium performance, and the interactive short message configuration information with correspondence sends to portable terminal simultaneously.
Prompting sends SMS message according to the interactive operation in the interactive short message configuration information for S14, user, and portable terminal sends to the specified access code of interactive short message configuration information with this short message, carries the interactive operation behavior sign that the user selects or imports.
S15, the short message corresponding with specifying access code insert processing unit according to the sign of the interactive operation behavior in the content of short message, and the flow-medium performance of selecting at the user carries out the interactive operation processing.
Referring to Fig. 3, be the live middle schematic flow sheet of realizing the short message interactive operation of media stream in real time.The service provider introduces the live telecast signal in advance, and encoded device coding back forms the programme televised live data flow, and sends to streaming media server.The concrete steps of its interactive operation flow process comprise:
S20, according to stream media live programs progress, be provided with and send interactive short message configuration information in real time to streaming media server.
S21, streaming media server carry out protocol encapsulation to interactive short message configuration information.
S22, mobile terminal accessing stream media live programs.
S23, streaming media server together send to portable terminal with the data flow of the data flow of stream media live programs and the interactive short message configuration information that has encapsulated corresponding with this program.
Prompting sends SMS message according to the interactive operation in the interactive short message configuration information for S24, user, and portable terminal sends to the specified access code of interactive short message configuration information with this short message, carries the interactive operation behavior sign that the user selects or imports.
S25, the short message corresponding with specifying access code insert processing unit according to the sign of the interactive operation behavior in the content of short message, and the flow-medium performance of selecting at the user carries out the interactive operation processing.
The present invention defines interactive short message configuration information.At least comprise interactive operation information and short message access number in the interactive short message configuration information, also can comprise service identification (being used to identify flow-medium performance), offer interactive operation behavior option, transmission cycle or time, demonstration time, font, color that the user selects, and information such as character set description.The content that interactive short message configuration information is comprised can further expand according to various flows media program and service provider's service needed, for example increases information such as synchronized lyrics.Interactive short message configuration information can exist with the form of individual files, as, (eXtensible Markup Language XML) waits file for text, binary file or expansion identifiable language, also can merge in the files in stream media, as the part of files in stream media.Be example with the interactive configuration file of the short message of an XML document form below, the content that the interactive configuration information of short message is comprised is described.
<smil>
<head>
<meta filename=″test.3gp″/>
</head>
<body>
<seq repeat=″0″>
<ref delay=15″>
<ref Index0=" interactive TV is used in welcome, is playing up-to-date MTV "/〉
<ref Index1=" send CL CRBT () is set, LY downloads bell sound (), and XZ downloads MTV (), and DB downloads program request address (freely) "/〉
<ref sendNumber=″221811″/>
<ref serviceIdentifier=″100″/>
<ref sendContentsList=″CL″,″LY″,″XZ″,″DB″/>
</seq>
</body>
</smil>
Being described below of each information field in the above-mentioned XML file:
Filename represents the files in stream media of the interactive configuration file correspondence of short message test.3gp by name.
Repeat represents to repeat to send, the number of times that its numerical value representative repeats to send, if be 0, then expression repeats to send always.
Delay represents to send at interval, and its numerical value is represented second number at interval.
Index0 and Index1 represent two informations respectively.
SendNumber represents that service provider's short message inserts number.
ServiceIdentifier represents service identification, is used to identify flow-medium performance.
SendContentsList represents that at user option short message sends the option of content, and the interactive operation behavior sign that different options is corresponding different is set to CRBT as this Streaming Media of " CL " expression.
Portable terminal shows after receiving above-mentioned interactive short message configuration information.As, the information that roll display Index0 and Index1 represent on mobile terminal screen shows the option that sends content, short message inserts number and service identification does not show.The user only need select the content that sends, sends SMS message, and the short message that just interactive operation behavior sign can be sent to appointment inserts number.
Interactive short message configuration information need carry by Real-time Transport Protocol, sends to portable terminal from streaming media server.Because the present undefined data format about interactive short message configuration information of Real-time Transport Protocol, therefore, the present invention defines the data format of RTP message.
At present, used 5 kinds of Timed Text types (TYPE1 is to TYPE5) definition altogether based on the related protocol description of the synchronous literal of 3GPP (Timed Text), and stipulated in the agreement that TYPE0, TYPE6 and TYPE7 are Retention Type, used for expanding later on.
The present invention can increase the interactive configuration definition of short message on any one type of TYPE5 at TYPE1, but for reducing and the conflicting of defined agreement, the present invention carries out interactive short message configuration definition with the Timed Text type TYPE 6 that keeps in the agreement.Prompt text explanation in the interactive short message configuration information can be described to TYPE5 by existing TYPE1.
The form of TYPE 6 as shown in Figure 4.Wherein U, R, TYPE, LEN, SDUR described in the 3GPPTimed Text agreement, and INDEX represents special descriptor type.The present invention uses INDEX=0, and representing this is the RTP message of an interactive short message configuration information of carrying.
When INDEX is 0, the formal definition of follow-up interactive short message configuration information data as shown in Figure 5, the explanation in each territory that increases newly in the message is as shown in Table 1.
Table one: the message field explanation of interactive short message configuration information
Message field | Length (byte) | Connotation |
LEN1 |
| 1 | The length of number of short message |
SEND NUMBER | n | Number of short message |
LEN2 |
1 |
The length of service identification |
SERVICE IDENTIFIER |
n |
Service identification |
COUNT |
|
1 |
The user can select the number of interactive transmission information |
CLEN1 |
|
1 |
First can select the length of the information that sends |
CONTENTS1 |
n |
First optional transmission content |
LEN2 |
1 |
The length of service identification |
CLEN2 |
|
1 |
Second length that can select the information that sends |
CONTENTS2 |
n |
Second optional transmission content |
CLENn |
1 |
N the length that can select the information that sends |
CONTENTSn |
n |
N optional transmission content |
The invention is not restricted to RTP message is expanded, can also expand, to carry interactive short message configuration information RTSP or RTCP message.
When streaming media server sends interactive short message configuration information to portable terminal, if giving tacit consent to, portable terminal do not support the interactive configuration of short message, then might therefore, need the notice portable terminal to show the interactive short message configuration information that it receives the interactive short message configuration information shielding that receives.
According to the streaming media RTSP agreement, streaming media server is before portable terminal sends flow-medium performance, at first send corresponding Session Description Protocol (Session Descriptor Protocol, SDP) file, the format information of SDP file sign Streaming Media is as information such as video coding mode, encoded audio file, resolution.Streaming media server can show the interactive short message configuration information that receives by the SDP file notice portable terminal that issues to portable terminal.
For comprising interactive short message configuration information in the notice mobile terminal streaming data, in SDP file, increase the sign of short message interaction, as sms=1, be identified in the synchronous literal transmission and contain the short message interactive information.
Present invention is described with two embodiment respectively below.
Embodiment one: during playing music by mobile terminal, carry out interactive operation by short message.Provide the service provider of music file in advance music file to be uploaded to streaming media server.Its interactive operation process comprises:
1, for corresponding music program is provided with interactive short message configuration information, and is encapsulated as the text form, uploads to streaming media server.
The interactive short message configuration information that comprises in the interactive short message configuration file comprises:
A, the content presentation relevant with Streaming Media, comprise and introduce in progress music and interactive operation prompting, as " send CL CRBT () be set; LY downloads bell sound (); XZ downloads MTV (), and DB downloads program request address (freely) ", except that above-mentioned prompting, a plurality of promptings can also be arranged, point out as the lyrics;
B, short message insert number, such as 221811;
C, service identification such as 100, identify this music file;
D, in order to the content of short message option of sign interactive operation behavior, such as expression " CL " of CRBT is set, " LY " of bell sound downloaded in expression, " XZ " of MTV etc. downloaded in expression;
E, character set description, transmission cycle or time, demonstration time, font, color etc. are used for the information that terminal interface shows control.
2, streaming media server reads the content in the interactive short message configuration file when this program of user's program request or this program of analog live broadcasting, by RTP message interactive short message configuration information is sent to portable terminal.
3, after portable terminal is received interactive short message configuration information, information is presented on the portable terminal, wherein short message access number and service identification do not show.The user is by after the portable terminal selection or importing content of short message (wherein carrying interactive operation behavior sign), and portable terminal is with service identification and the user selects or the content of short message of input is sent to short message access number.Choose transmission content " CL " such as the user by portable terminal, then portable terminal can be sent to short message with the CL sign of expression CRBT setting and insert number 221811, and carries the service identification 100 of this music program of sign automatically.
4, with after short message inserts the corresponding short message platform processing server of number and receives this short message, relevant Business Processing parts are called in the interactive operation behavior represented according to this content of short message, carry out interactive operation at the flow-medium performance of appointment and handle.Such as, if content of short message is " CL ", then the SMS platform processing server calls the related service parts, song number is the CRBT that 100 song is set to this user's portable terminal.If content of short message is " LY ", then the short message platform processing server is 100 song with song number, to deposit the portable terminal that the http address of this song bell sound sends to this user by pushing (PUSH) short message, or directly issue the portable terminal of this song bell sound to this user by multimedia message SMS mode.For other interactive operation information that the user sends, can handle in the manner described above.
Embodiment two: during online playing stream media programme televised live, realize the interactive operation of online ballot by interactive short message.For example, TV station is playing a certain TV programme that possesses ballot character, and this program is incorporated into mobile network or mobile broadcast television network through after the code conversion, and its interactive operation process comprises:
1, the short message configuration information of this TV programme is set in real time, and in current in progress program stream, inserts the RTP data flow of carrying the interactive configuration information of short message in real time by operating desk.Wherein, interactive short message configuration information comprises:
A, the content presentation relevant with program comprise and introduce in progress program and interactive operation option, as " 1 singer A, 2 singer B, 3 singer C ... ", a plurality of promptings can be arranged;
B, short message insert number, such as 221812;
C, service identification are such as 200, in order to identify this TV programme.Service identification can be sky, represents that the service identification of current in progress program is the acquiescence service identification in this interaction short message configuration information;
D, in order to the content of short message option of sign interactive operation behavior, as, singer A is given in expression " 1 " of ballot, gives singer B " 2 " of ballot, to " 3 " of singer's ballot,
E, character set description, transmission cycle or time, demonstration time, font, color etc. are used for the information that terminal interface shows control.
2, streaming media server is when this TV programme of user capture, and the RTP data flow of this television programme data stream and corresponding short message configuration information is together sent portable terminal.
3, portable terminal is when the playing stream media programme televised live, receive the configuration information of interactive short message after, information is presented on the portable terminal, wherein short message inserts number and service identification does not show.After the user sent content by portable terminal selection or input short message, portable terminal was with service identification and the user selects or the content of short message of input together is sent to short message access number.Choose transmission content " 1 " such as the user by portable terminal, then portable terminal can be sent to the short message that comprises this content access code 221812, carries the service identification 200 of this program of sign in the short message configuration information automatically.If service identification is empty, show that then the service provider only provides at this program, can not obscure with other programs, therefore can carry this service identification.
4, with after short message inserts the corresponding short message platform processing server of number and receives this short message, relevant Business Processing parts are called in the interactive operation behavior represented according to this content of short message, the processing such as statistics of voting.Such as, if content of short message is " 1 ", then the short message platform processing server is voted to singer A and is write down votes.
The present invention not only can be used for providing by stream media technology the Radio Network System such as WCDMA access system (the Wide-band Code Division Multiple Access of mobile video, WCDMA), CDMA2000, time-division synchronous CDMA system TD-SCDMA and global system for mobile communications (GlobalSystem for Mobile Communications, the mobile digital TV technology (as DVH-H/DMB) etc. that GSM) etc., can also be used for other.
Describe as can be known by above flow process, the present invention is by being provided with interactive short message configuration information, and when the user capture flow-medium performance, by streaming media server this configuration information is sent to customer mobile terminal, make the portable terminal can be according to this configuration information, specify short message access processing unit to carry out interactive operation by sending short messages to, realize program interaction, enriched the application of mobile multi-media service.Comprise short message in the interactive short message configuration information and insert information such as number, content of short message option, making the user directly select sending content by portable terminal sends SMS message, provide convenience for the user uses the interaction of stream meadia business, improved customer service experience.The present invention has increased interactive short message configuration information newly unit and short message access processing unit has been set in original flow-medium performance Play System, combine with the existing business platform, but function is independent, and therefore, the system, coupled degree is low, is easy to safeguard.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.