Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is explained further details below in conjunction with execution mode and accompanying drawing.At this, the exemplary embodiment of the embodiment of the invention and explanation thereof are used to explain the embodiment of the invention, but not as the qualification to the embodiment of the invention.
Embodiment one
Fig. 1 is the interactive interface display method flow chart of a kind of media player of providing of the embodiment of the invention, and as shown in Figure 1, described method comprises:
Step S101 receives interaction request message when playing media file;
In an embodiment of the present invention; Multimedia file can be the local files such as Voice & Video that store of portable terminal, such as mp3 audio file and mp4 video file, also can be network video stream and network audio stream file; Such as Web TV and Web broadcast; When the user passes through the multimedia player play multimedia files of portable terminal, receive an interaction request message, then execution in step S103.
In the present embodiment; Interaction request message comprises local interaction solicited message and remote interaction solicited message; The local interaction solicited message can comprise short message or incoming call request or prompting of low electric weight or alarm clock calling etc.; The remote interaction solicited message can comprise the request of option (radio) control, the request of check control and the request of text (text) control etc. of being sent by the remote multi-media server, such as, when the user watches the entertainment of Web TV through portable terminal; The star that need like for oneself votes; This moment, the remote multi-media server can send a text control request and a radio control request to portable terminal, can comprise the information of title in the request of text control, like " star's ballot of please liking for you "; Can comprise a plurality of option informations in the request of radio control, like " throwing first one ticket ", " throwing second one ticket " etc.For another example; When the user watches the shopping program of Web TV through portable terminal; Can order the commodity of oneself liking through sending way of short messages; This moment, the remote multi-media server can send a radio control request to portable terminal, wherein can comprise a plurality of option informations, like " order goods first ", " order goods second " etc.
Step S103 resolves described interaction request message, extracts the interactive interface display message;
In an embodiment of the present invention; Portable terminal is resolved the interaction request message that receives; Therefrom extract the interactive interface display message; The interactive interface display message comprises need be at the interaction content and the interaction content displaing coordinate of interactive interface demonstration; Wherein interaction content is according to the difference of interaction request message; Can be respectively the heading message that provides of text control request, sending SMS message of providing of option information that the request of radio control provides and local interaction request or check short message or check incoming call or insert incoming call or low electric weight is confirmed or alarm clock calling affirmation etc. that the interaction content displaing coordinate can be the position coordinates that each bar interaction content shows in interactive interface.
In an embodiment of the present invention, portable terminal also can be resolved the interaction request message that receives earlier, therefrom extracts interface element information, is the interactive interface display message with the interface element information translation of extracting then.
Step S105 draws interactive interface and demonstration according to described interactive interface display message;
In an embodiment of the present invention; Portable terminal is plotted in option content wherein according to interaction content that comprises in the interactive interface display message and interaction content displaing coordinate the corresponding coordinate place of broadcast interface; To accomplish the drafting of interactive interface, will draw of the display screen demonstration of good interactive interface then through portable terminal.
The interactive interface sketch map that provides for one embodiment of the invention shown in Figure 2; As shown in Figure 2; Mobile terminal playing one video file; When interaction content be the heading message that provides of text control request and the request of radio control provide option information the time, can heading message and option information be plotted in the lower left quarter of broadcast interface according to displaing coordinate, thereby form interactive interface.
The interactive interface sketch map that provides for one embodiment of the invention shown in Figure 3; As shown in Figure 3; Mobile terminal playing one video file, when interaction content for checking short message, check when incoming call; Can draw out the option content of checking short message and checking incoming call at the upper right quarter of broadcast interface according to displaing coordinate, thereby form interactive interface.
The embodiment of the invention is through resolving the interaction request message that receives when the playing media file; Draw interactive interface and demonstration according to the interactive interface display message of extracting; Overcome the local interaction solicited message that portable terminal can not point out the user to have needs to handle in the prior art on broadcast interface in play multimedia files; And can not when playing, accomplish and the mutual problem of remote server, can under the situation of not interrupting multimedia, accomplish local and long-range alternately.
Embodiment two
Fig. 4 is the interactive interface display method flow chart of a kind of media player of providing of the embodiment of the invention, and as shown in Figure 4, described method comprises:
Step S401 receives interaction request message when playing media file;
Step S403 resolves described interaction request message, extracts the interactive interface display message;
Step S405 draws interactive interface and demonstration according to described interactive interface display message;
Above step S401 to S405 is similar with step S101 to S105 shown in Figure 1.So repeat no more at this.
Step S407 obtains the selection information to said interaction content;
In the present embodiment; Rendering preferences content in the interactive interface that the user draws according to step S405, the function of selecting Information Selection oneself to call through input, as combine shown in Figure 2; Second option can selecting the request of radio control to provide; Or combine shown in Figure 3ly, can select to check short message or check incoming call that selection information can be obtained through man-machine interface; As the input that the keyboard of portable terminal carries out being obtained, also can directly click this option to touch-screen and obtain through the user through the user.
Step S409 calls the function corresponding with said interaction content according to selection information;
In the present embodiment; Call and the pairing functional module execution of described interaction content according to the interaction content of selecting; Like the interaction content when selection is when selecting second option of radio control; Portable terminal calls that corresponding functional modules is carried out and the option of selecting is back to server end, maybe when the interaction content of selection when checking short message, portable terminal calls short message module and in the interface, shows described short message.
Present embodiment can be accomplished the mutual of realization and remote server under the situation of not interrupting multimedia.
Embodiment three
Fig. 5 is the interactive interface display unit module map of a kind of media player of providing of the embodiment of the invention, and as shown in Figure 5, the interactive interface display unit 500 of media player comprises:
Interactive request receiving element 501 is used for when playing media file, receiving interaction request message;
In the present embodiment, interactive request receiving element 501 is used to receive local and long-range interaction request message.
Protocol analysis unit 503 is used to resolve described interaction request message, extracts the interactive interface display message;
In the present embodiment, the interaction request message that interactive request receiving element 501 receives is resolved in protocol analysis unit 503, and therefrom extracts the interactive interface display message.For example; When the user is watching video, at this moment a phone, then protocol analysis unit 503 can communicate through agreement and the media player applications that defines in advance; After media player receives, then the display message that parses is sent to interface drawing unit 505.
In the present embodiment, can in protocol analysis unit 503, add support, can expand in these protocol package includes network agreements, add the agreement of interface information, for example stream media protocol etc. other agreements.Also comprise similar HTML, XML etc. have the agreement of interface display element; Simultaneously, also comprise mutual agreement between local application and the media player applications, these agreements can be on the existing protocol basis, to expand, and also can be new agreements, and separate with concrete agreement the realization display part, add the purpose of deletion protocol type flexibly.
Interface drawing unit 505 is used for drawing interactive interface and demonstration according to described interactive interface display message;
In the present embodiment, the interactive interface display message that extracts according to protocol analysis unit 503 of interface drawing unit 505 is drawn interactive interface and is shown.
The module map of the protocol analysis unit 503 that provides for the embodiment of the invention shown in Figure 6, as shown in Figure 6, protocol analysis unit 503 comprises:
Native protocol parsing module 601 is used to resolve the local interaction solicited message, extracts interface element information;
In one embodiment of this invention, native protocol parsing module 601 can also comprise incoming call parsing module and short message parsing module, and the parsing module of wherein sending a telegram here is used for resolving the incoming call request, and the short message parsing module is used for resolving the short message request.
Remote protocol parsing module 603 is used to resolve the remote interaction solicited message, extracts interface element information;
In one embodiment of this invention; Remote protocol parsing module 603 can also comprise: options request (radio) parsing module, check control parsing module and text request (text) parsing module are respectively applied for radio request, check request and the text request of resolving remote server and providing.
Interactive engine module 605, being used for the interface element information translation of extracting is the interactive interface display message.
In one embodiment of this invention, interactive engine module 605 can also comprise: interaction content generates submodule, is used for generating interaction content according to described interface element information; Coordinate generates submodule, is used for generating displaing coordinate according to described interface element information, and described interaction content can comprise: send SMS message or check short message or insert incoming call or check incoming call.
The embodiment of the invention is through resolving the interaction request message that receives when the playing media file; Draw interactive interface and demonstration according to the interactive interface display message of extracting; Overcome the local interaction solicited message that portable terminal can not point out the user to have needs to handle in the prior art on broadcast interface in play multimedia files; And can not when playing, accomplish and the mutual problem of remote server, can under the situation of not interrupting multimedia, accomplish local and long-range alternately.
Embodiment four
Fig. 7 is the interactive interface display unit module map of a kind of media player of providing of the embodiment of the invention; As shown in Figure 7; Interactive interface display unit 700 comprises: interactive request receiving element 701, protocol analysis unit 703, interface drawing unit 705, selection information acquisition unit 707 and performance element 709; Similar with described in Fig. 5 of interactive request receiving element 701, protocol analysis unit 703 and interface drawing unit 705 wherein is so repeat no more at this;
Select information acquisition unit 707, be used to obtain selection information said interaction content;
In the present embodiment, select information acquisition unit 707 can comprise a keyboard, receive the selection information of user, also can comprise a touch-screen, receive the selection information of user through the touch-screen input through the keyboard input.
Performance element 709 is used for calling the function corresponding with said interaction content according to selection information;
In the present embodiment, performance element 709 calls corresponding various functional modules with said interaction content and carries out concrete executable operations according to selection information, and these operations might comprise connecing makes a phone call, transmitting-receiving note etc., but be not limited to this.Likewise, this module also can customize according to the customer demand of reality, for example can support automatic payment, opens execution generic operations such as closing bluetooth.
Present embodiment can be accomplished the mutual of realization and remote server under the situation of not interrupting multimedia.
Embodiment five
Fig. 8 is the module map of the present invention's a kind of portable terminal 800 of implementing to provide; As shown in Figure 8; Described portable terminal 800 is except comprising media player 801; The interactive interface display unit 803 that also comprises a media player; Described interactive interface display unit 803 is used on the broadcast interface of described media player 801, drawing interactive interface, and the interactive interface display unit 803 of described media player is similar with the 26S Proteasome Structure and Function of the foregoing description three and embodiment four described interactive interface display unit, so repeat no more at this.
The portable terminal of the embodiment of the invention has fundamentally solved media player and user's interaction problems, makes do not interrupting under the situation that customer multi-media experiences, and execution is made a phone call, other the operation of sending short messages or the like.Let the user broadcast under the situation that device uses not withdrawing from multimedia, other operation is carried out on the backstage.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.