CN104811776A - Multimedia playing method and device - Google Patents

Multimedia playing method and device Download PDF

Info

Publication number
CN104811776A
CN104811776A CN201510166035.7A CN201510166035A CN104811776A CN 104811776 A CN104811776 A CN 104811776A CN 201510166035 A CN201510166035 A CN 201510166035A CN 104811776 A CN104811776 A CN 104811776A
Authority
CN
China
Prior art keywords
multimedia
main application
polymerization
sources
plug
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510166035.7A
Other languages
Chinese (zh)
Other versions
CN104811776B (en
Inventor
田力
刘超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510166035.7A priority Critical patent/CN104811776B/en
Publication of CN104811776A publication Critical patent/CN104811776A/en
Application granted granted Critical
Publication of CN104811776B publication Critical patent/CN104811776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a multimedia playing method and device and belongs to the technical field of computers. The multimedia play method comprises that a main mashup application receives a multimedia playing request; the main mashup application detect whether a playing plug-in corresponding a multimedia source installed with target multimedia content; if so, the main mashup application calls the playing plug-in to play the target multimedia content. According to the multimedia playing method and device, by calling the playing plug-in corresponding to the multimedia source of the target multimedia content to play the target multimedia content, the problem that, when new multimedia sources are added to the main mashup application, the main mashup application can play the multimedia content of the newly-added multimedia sources only when being upgraded can be solved, and the effect of playing the multimedia content of the newly-added multimedia sources without upgrading the main mashup application can be achieved.

Description

Multi-medium play method and device
Technical field
The disclosure relates to field of computer technology, particularly a kind of multi-medium play method and device.
Background technology
Each video website can provide some videos to appreciate for user, and when user appreciates these videos on smart mobile phone, often need to switch between different video website, it is very inconvenient to operate.Occurred a kind of polymeric type Video Applications at present, the video that each video website provides by this polymeric type Video Applications is integrated in one application, thus eliminates the operation of user's Switch Video website.
The SDK (Software tool kit, Software Development Kit) that polymeric type Video Applications needs each video website integrated to provide realizes the broadcasting to video.Therefore, polymeric type Video Applications often increases the video resource of a video website, all need to upgrade to polymeric type Video Applications, thus the SDK that the video website of increase provides is integrated into polymeric type Video Applications, finally again the polymeric type Video Applications after upgrading is supplied to user and carries out downloading and using.
Summary of the invention
In order to solve the problem of correlation technique, present disclose provides a kind of multi-medium play method and device.This technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of multi-medium play method, the method comprises:
Receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking;
Whether the player plug-in corresponding to multimedia sources of destination multimedia content has been installed by being polymerized main application detection;
If be provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then play this destination multimedia content by being polymerized this player plug-in of main application call.
According to the second aspect of disclosure embodiment, provide a kind of multimedia playing apparatus, this device comprises:
Request receiving module, be configured to receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking;
Installation and measuring module, is configured to the player plug-in whether be provided with by being polymerized main application detection corresponding to the multimedia sources of destination multimedia content;
First playing module, is configured to, when player plug-in corresponding to the multimedia sources being provided with destination multimedia content, play this destination multimedia content by this player plug-in of the main application call of this polymerization.
According to the third aspect of disclosure embodiment, provide a kind of multimedia playing apparatus, this device comprises:
Processor;
For storing the memory of this processor executable;
Wherein, this processor is configured to:
Receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking;
Whether the player plug-in corresponding to multimedia sources of destination multimedia content has been installed by being polymerized main application detection;
If be provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then play this destination multimedia content by being polymerized this player plug-in of main application call.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of multi-medium play method according to an exemplary embodiment;
Fig. 2 A is the flow chart of a kind of multi-medium play method according to another exemplary embodiment;
Fig. 2 B is a kind of showing interface figure being polymerized main application operating interface according to an exemplary embodiment;
Fig. 2 C is a kind of schematic diagram being polymerized main application according to an exemplary embodiment;
Fig. 3 A is the block diagram of a kind of multimedia playing apparatus Gen Ju an exemplary embodiment again;
Fig. 3 B is a kind of schematic diagram being polymerized main application according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of multimedia playing apparatus according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of multimedia playing apparatus according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of device for play multimedia according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of multi-medium play method according to an exemplary embodiment, and as shown in Figure 1, this multi-medium play method comprises the following steps.
In a step 101, receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking.
In a step 102, whether the player plug-in corresponding to multimedia sources of destination multimedia content has been installed by being polymerized main application detection.
In step 103, if be provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then play this destination multimedia content by being polymerized this player plug-in of main application call.
In sum, the multi-medium play method provided in disclosure embodiment, by the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
Fig. 2 A is the flow chart of a kind of multi-medium play method according to another exemplary embodiment, and as shown in Figure 2 A, this multi-medium play method comprises the following steps.
In step 201, receive multimedia request by being polymerized main application, this multimedia request plays destination multimedia content for asking.
Be polymerized main application be for integrating at least two multimedia sources multimedia application, the content of multimedia that the main application of this polymerization is shown normally is provided by multimedia sources, namely, in the main application of polymerization, content of multimedia is network multimedia content, such as video stream media, audio stream media etc.
Wherein, multimedia sources is generally the video website providing content of multimedia, and for the content of multimedia that each multimedia sources provides, needs to use the broadcast mode corresponding to this multimedia sources to play.
User can play destination multimedia content by sending multimedia request at the operation interface of the main application of polymerization.Wherein, the mode sending media play request can be the operations such as click, slip, button.
Such as, the main application operating interface of polymerization shown in Fig. 2 B provides Animal World, cuisines making, traditional education, popular video four content of multimedia, user can click the icon of Animal World, sends the multimedia request for asking to play Animal World to the main application of polymerization.
Corresponding, mobile terminal receives this multimedia request by the main application of polymerization.
In step 202., whether the player plug-in corresponding to multimedia sources of destination multimedia content has been installed by being polymerized main application detection.
If the destination multimedia content that user uses the main application plays of polymerization to need player plug-in to play first time, then user needs the player plug-in corresponding to multimedia sources downloading this destination multimedia content by being polymerized main application.Usually, under the player plug-in of download is stored in the installation directory being polymerized main application.
If the destination multimedia content that user's non-first time uses the main application plays of polymerization to need player plug-in to play, then the player plug-in corresponding to multimedia sources of the destination multimedia content of this destination multimedia content may be loaded in mobile terminal down.Now, whether mobile terminal has been provided with the player plug-in corresponding to multimedia sources of this destination multimedia content by the main application detection of this polymerization.
In a kind of possible implementation, mobile terminal can travel through be stored in be polymerized the installation directory of main application under the player plug-in downloaded, thus detect whether mobile terminal has installed the player plug-in corresponding to multimedia sources of this destination multimedia content.
In step 203, if be not provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then download by the main application of polymerization and the player plug-in corresponding to this multimedia sources is installed.
If mobile terminal detects that the player plug-in corresponding to multimedia sources of this destination multimedia content is not present in mobile terminal, then mobile terminal needs download from the server of the main application of polymerization and install the player plug-in corresponding to this multimedia sources, then performs step 204.
In a kind of possible implementation, the plug-in unit mark corresponding to this player plug-in of acquisition for mobile terminal, and after this plug-in unit mark and the terminal iidentification of mobile terminal are added into download request, be sent to the server being polymerized main application.
Corresponding, the download request that the server mobile terminal receive being polymerized main application sends, and according to the mark that this download request comprises, the player plug-in corresponding to mark is obtained from database, and this player plug-in is sent in the mobile terminal corresponding to terminal iidentification, installed by this mobile terminal.
It should be noted that, in order to the experience making user obtain transparence when using the main application plays destination multimedia content of polymerization, mobile terminal, after the multimedia request receiving user's transmission, can carry out on the backstage of mobile terminal from obtaining the step of multimedia sources list to the player plug-in downloaded corresponding to multimedia sources.
Usually, some advertisements can be play in advance before polymerization master is applied in play multimedia content, being polymerized main application can in the time of broadcast advertisement, player plug-in backstage corresponding to this multimedia sources is downloaded to mobile terminal, make user viewing advertisement after can direct viewing destination multimedia content.
In step 204, if be provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then play this destination multimedia content by being polymerized main application call player plug-in.
In step 205, up-to-date plug-in version number is obtained by being polymerized main application.
Each player plug-in has a plug-in version number for indication plug unit version, and mobile terminal, when downloading and playing plug-in unit, has also downloaded the configuration file of the plug-in version number comprising this player plug-in usually.
Whether mobile terminal can detect server by the main application of this polymerization have updated player plug-in, if server update player plug-in detected, then obtains up-to-date plug-in version number and up-to-date plug-in version number corresponding plug-in unit mark.
It should be noted that, in a kind of possible implementation, mobile terminal detects server by the main application of this polymerization every preset time period and whether have updated player plug-in; In the implementation that another kind is possible, mobile terminal detects server in real time by the main application of polymerization and whether have updated player plug-in, and disclosure embodiment does not restrict the mode whether mobile terminal have updated player plug-in by this polymerization main application detection server.
In step 206, whether there is player plug-in to be updated by being polymerized main application according to number detection of up-to-date plug-in version.
After obtaining up-to-date plug-in version number, mobile terminal can obtain the plug-in unit mark of each player plug-in downloaded, and whether the plug-in unit mark detecting each player plug-in downloaded comprises up-to-date plug-in version number corresponding plug-in unit mark.
If the plug-in unit mark of each player plug-in downloaded does not comprise up-to-date plug-in version number corresponding plug-in unit mark, then do not perform the operation upgrading player plug-in; If the plug-in unit mark of each player plug-in downloaded comprises up-to-date plug-in version number corresponding plug-in unit mark, then perform the operation upgrading player plug-in.
In step 207, if there is player plug-in to be updated, then upgrade this player plug-in by the main application of polymerization.
If there is player plug-in to be updated, then mobile terminal is by the main application of this polymerization, downloads this up-to-date plug-in version number corresponding plug-in unit from server.
Wherein, the method for method as shown in step 203 of download plug-in, does not repeat herein.
It should be noted that, mobile terminal can perform step 205 to step 207 on backstage equally.
For convenience of explanation, with the schematic diagram shown in Fig. 2 C, the multi-medium play method that disclosure embodiment provides is described.In fig. 2 c, A is the main application of polymerization, the player plug-in of B corresponding to multimedia sources b, the player plug-in of C corresponding to multimedia sources c, the player plug-in of D corresponding to multimedia sources d, the player plug-in of E corresponding to multimedia sources e.If the content of multimedia that user is provided by polymerization main application A play multimedia source c, being then polymerized main application A needs to call player plug-in C and carrys out the content of multimedia that play multimedia source c provides.
In sum, the multi-medium play method provided in disclosure embodiment, by the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
In addition, the disclosure when the player plug-in for play multimedia content not detected by mobile terminal, is downloaded corresponding player plug-in from backstage, and is carried out real-time update to mounted plug-in unit, greatly can reduce the operation of user.
It should be noted that, the disclosure realizes for playback interface by the player method that provided by each multimedia sources is abstract, thus realizes the multi-medium play method that provides.For the ease of understanding the multi-medium play method that the disclosure provides, existing for one section of simple program, the realization of multi-medium play method is made an explanation.
IVideoView.java
public interface IVideoView{
public void play(Object playInfo);
}
TuanVideoView.java
public TuanVideoView implements IVideoView{
}
YuanVideoView.java
public YuanVideoView implements IVideoView{
}
DexVideoView.java
Class DexVideoView implements IVideoView{
}
In said procedure, IVideoView is an abstract interface.
TuanVideoView is a class for realizing IVideoView interface, and such is present in player plug-in.Wherein, in the human subject of TuanVideoView, define the broadcast mode corresponding to multimedia sources A.Broadcast mode refers to the broadcast mode that the SDK provided by encapsulation multimedia sources is realized.
YuanVideoView is also a class for realizing IVideoView interface, and such is present in another player plug-in.Wherein, in the human subject of YuanVideoView, define the broadcast mode corresponding to multimedia sources B.
It should be noted that, if also there are other multimedia sources, then the broadcast mode corresponding to other multimedia sources can also be defined as a class for realizing IVideoView interface, this example does not restrict the value volume and range of product of class.
DexVideoView is also a class for realizing IVideoView interface, and such is present in the main application of polymerization.In the human subject of DexVideoView, define the system of selection of each class for realizing IVideoView interface.When being polymerized main application plays content of multimedia, if by the main application of polymerization, mobile terminal detects that this content of multimedia needs player plug-in to play, then create the example of DexVideoView.
Be present in the player plug-in of multimedia sources B for YuanVideoView, when being polymerized main application plays content of multimedia, by the main application of polymerization, mobile terminal detects that this content of multimedia needs the player plug-in of multimedia sources B to play, then create the example of DexVideoView.Whether the player plug-in that first DexVideoView detects multimedia sources B is positioned at this locality, if detect, the player plug-in of multimedia sources B is positioned at this locality, then utilize the DexClassLoader of Android to carry out instantiation YuanVideoView, thus make mobile terminal use the broadcast mode of YuanVideoView definition to carry out the play multimedia source content of multimedia that provides of B by being polymerized main application; If detect, the player plug-in of multimedia sources B is not positioned at this locality, then download the player plug-in of multimedia sources B from server, then perform the step of instantiation YuanVideoView.
It should be noted that, in the main application of polymerization, because content of multimedia provides primarily of some much type media source usually, and the content of multimedia that most user can select these large medias to originate to be provided is play, therefore, be polymerized main application can in the inside of application the player plug-in in integrated large multimedia source in advance.Now, the flow chart of a kind of multi-medium play method of the disclosure according to an exemplary embodiment can as shown in Figure 3A.In figure 3 a, this multi-medium play method comprises the following steps.
In step 301, receive multimedia request by being polymerized main application, this multimedia request plays destination multimedia content for asking.
Being polymerized main application is multimedia application for integrating at least two multimedia sources, and the content of multimedia that the main application of this polymerization is shown normally is provided by multimedia sources.
Wherein, content of multimedia is network multimedia content, such as video stream media, audio stream media etc.; Multimedia sources is generally the video website providing content of multimedia, and for the content of multimedia that each multimedia sources provides, needs to use the broadcast mode corresponding to this multimedia sources to play.
User can play destination multimedia content by sending multimedia request at the operation interface of the main application of polymerization.Wherein, the mode sending media play request can be the operations such as click, slip, button.
Corresponding, mobile terminal receives this multimedia request by the main application of polymerization.
In step 302, multimedia sources list is obtained by being polymerized main application.
For arbitrary multimedia sources, mobile terminal needs to obtain player plug-in corresponding to this multimedia sources by being polymerized main application, and can play the content of multimedia that this multimedia sources provides, wherein, this player plug-in is integrated with the broadcasting SDK of multimedia sources.
Such as, content of multimedia " Animal World " is provided by multimedia sources A, and being so polymerized main application needs to obtain player plug-in corresponding to multimedia sources A, can play " Animal World ".
Wherein, player plug-in can be provided by multimedia sources, and the content of multimedia that also can be provided according to multimedia sources by the supplier of the main application of polymerization generates, and disclosure embodiment does not restrict the source of player plug-in.
Usually, mobile terminal, when downloading the main application of polymerization, has also downloaded the multimedia sources list that the main application of polymerization provides, and this multimedia sources list comprises multimedia sources inner integrated in the main application of this polymerization and the multimedia sources corresponding to each player plug-in.Wherein, this multimedia sources list can be stored in the configuration file being polymerized main application.
In a kind of possible implementation, mobile terminal can obtain the configuration file comprising this multimedia sources list from the main application installation directory of the polymerization of this locality.
In step 303, whether the multimedia sources detecting destination multimedia content is multimedia sources inner integrated in the main application of polymerization.
In the main application of polymerization, content of multimedia provides primarily of some much type media source usually, and the content of multimedia that most user can select these large medias to originate to be provided is play, therefore, be polymerized the player plug-in that main application can be originated at the integrated large multimedia in the inside of application, make the mobile terminal of user not need the player plug-in of installing large multimedia source can play the content of multimedia provided in large multimedia source.
And for the miniature multimedia source providing content of multimedia less in the main application of polymerization, the content of multimedia that user not necessarily can select miniature multimedia to originate and provide is play, and be polymerized main application and usually incorporate great quantity of small multimedia sources, if the player plug-in that each miniature multimedia is originated is downloaded by user one by one, the memory space of mobile terminal greatly will be taken.Now, user can select according to personal like the player plug-in needing the multimedia sources installed.
It should be noted that, in order to improve the efficiency of acquisition for mobile terminal player plug-in, multimedia sources inner integrated in the main application of polymerization can be distinguished with not integrated multimedia sources and represent by the supplier being polymerized main application in multimedia sources list.
Corresponding, mobile terminal is after obtaining multimedia sources list by the main application of polymerization, and whether the multimedia sources that can detect this destination multimedia content according to this multimedia sources list is multimedia sources inner integrated in the main application of this polymerization.
In step 304, if the multimedia sources of destination multimedia content is multimedia sources inner integrated in the main application of polymerization, then by this destination multimedia content of the main application plays of this polymerization.
When according to multimedia sources list, mobile terminal detects that the multimedia sources of destination multimedia content is multimedia sources inner integrated in the main application of this polymerization, be polymerized the player plug-in that main application has been integrated with the multimedia sources of destination multimedia content, the mobile terminal of user does not need the player plug-in of installing large multimedia source again, directly can be play the content of multimedia provided in large multimedia source by the main application of this polymerization.
In step 305, if the multimedia sources of destination multimedia content is not multimedia sources inner integrated in the main application of polymerization, then perform the step detecting the player plug-in corresponding to the multimedia sources whether being provided with destination multimedia content by being polymerized main application.
When according to multimedia sources list, mobile terminal detects that the multimedia sources of destination multimedia content is not multimedia sources inner integrated in the main application of polymerization, then the player plug-in play this destination multimedia content and need to obtain corresponding to the multimedia sources of this destination multimedia content is described.Now, mobile terminal can detect player plug-in corresponding to the multimedia sources whether being provided with this destination multimedia content, i.e. step 306 by the main application of this polymerization.
Within step 306, whether the player plug-in corresponding to multimedia sources of destination multimedia content has been installed by being polymerized main application detection.
In a kind of possible implementation, mobile terminal can travel through be stored in be polymerized the installation directory of main application under the player plug-in downloaded, thus detect whether mobile terminal has installed the player plug-in corresponding to multimedia sources of this destination multimedia content.
In step 307, if be not provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then download by the main application of polymerization and the player plug-in corresponding to this multimedia sources is installed.
If mobile terminal detects that the player plug-in corresponding to multimedia sources of this destination multimedia content is not present in mobile terminal, then mobile terminal needs download from the server of the main application of polymerization and install the player plug-in corresponding to this multimedia sources, then performs step 308.
In step 308, if be provided with the player plug-in corresponding to multimedia sources of destination multimedia content, then play this destination multimedia content by being polymerized main application call player plug-in.
In a step 309, up-to-date plug-in version number is obtained by being polymerized main application.
Whether mobile terminal can detect server by the main application of this polymerization have updated player plug-in, if server update player plug-in detected, then obtains up-to-date plug-in version number and up-to-date plug-in version number corresponding plug-in unit mark.
In the step 310, whether there is player plug-in to be updated by being polymerized main application according to number detection of up-to-date plug-in version.
After obtaining up-to-date plug-in version number, mobile terminal can obtain the plug-in unit mark of each player plug-in downloaded, and whether the plug-in unit mark detecting each player plug-in downloaded comprises up-to-date plug-in version number corresponding plug-in unit mark.
In step 311, if there is player plug-in to be updated, then upgrade this player plug-in by the main application of polymerization.
If there is player plug-in to be updated, then mobile terminal is by the main application of this polymerization, downloads this up-to-date plug-in version number corresponding plug-in unit from server.
For convenience of explanation, with the schematic diagram shown in Fig. 3 B, the multi-medium play method that disclosure embodiment provides is described.In figure 3b, A is the main application of polymerization, the player plug-in of B corresponding to multimedia sources b, the player plug-in of C corresponding to multimedia sources c, the player plug-in of D corresponding to multimedia sources d, the player plug-in of E corresponding to multimedia sources e.Wherein, player plug-in B and player plug-in C are integrated in be polymerized and mainly apply in A, and user, when the content of multimedia that play multimedia source b or multimedia sources c provides, does not need downloading and playing plug-in unit.
In sum, the multi-medium play method provided in disclosure embodiment, by the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
In addition, the disclosure when the player plug-in for play multimedia content not detected by mobile terminal, is downloaded corresponding player plug-in from backstage, and is carried out real-time update to mounted plug-in unit, greatly can reduce the operation of user.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of multimedia playing apparatus according to an exemplary embodiment, and as shown in Figure 4, this multimedia playing apparatus includes but not limited to: request receiving module 401, installation and measuring module 402 and the first playing module 403.
Request receiving module 401, be configured to receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking.
Installation and measuring module 402, is configured to detect player plug-in corresponding to the multimedia sources whether being provided with this destination multimedia content by the main application of this polymerization.
First playing module 403, is configured to, when player plug-in corresponding to the multimedia sources being provided with this destination multimedia content, play this destination multimedia content by this player plug-in of the main application call of this polymerization.
In sum, the multimedia playing apparatus provided in disclosure embodiment, by the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
Fig. 5 is the block diagram of a kind of multimedia playing apparatus according to another exemplary embodiment, and as shown in Figure 5, this multimedia playing apparatus includes but not limited to: request receiving module 401, installation and measuring module 402 and the first playing module 403.
Request receiving module 401, be configured to receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking.
Installation and measuring module 402, is configured to detect player plug-in corresponding to the multimedia sources whether being provided with this destination multimedia content by the main application of this polymerization.
First playing module 403, is configured to, when player plug-in corresponding to the multimedia sources being provided with this destination multimedia content, play this destination multimedia content by this player plug-in of the main application call of this polymerization.
Optionally, this device also comprises: plug-in unit installation module 404.
Plug-in unit installation module 404, is configured to, when player plug-in corresponding to the multimedia sources not being provided with this destination multimedia content, downloaded and install the player plug-in corresponding to this multimedia sources by the main application of this polymerization.
Optionally, this device also comprises: version number's acquisition module 405, renewal detection module 406 and update of plug-in module 407.
Version number's acquisition module 405, is configured to obtain up-to-date plug-in version number by the main application of this polymerization.
Upgrade detection module 406, be configured to whether there is this player plug-in to be updated by the main application of this polymerization according to number detection of this up-to-date plug-in version.
Update of plug-in module 407, is configured to, when there is this player plug-in to be updated, upgrade this player plug-in by the main application of this polymerization.
Optionally, this device also comprises: list acquisition module 408, source detection module 409 and the second playing module 410.
List acquisition module 408, be configured to obtain multimedia sources list by the main application of this polymerization, this multimedia sources list comprises multimedia sources inner integrated in the main application of this polymerization and the multimedia sources corresponding to each player plug-in.
Source detection module 409, whether the multimedia sources being configured to detect this destination multimedia content is multimedia sources inner integrated in the main application of this polymerization.
Second playing module 410, is configured to when the multimedia sources of this destination multimedia content is multimedia sources inner integrated in the main application of this polymerization, by this destination multimedia content of the main application plays of this polymerization.
Optionally, this installation and measuring module 402 is also configured to when the multimedia sources of this destination multimedia content is not multimedia sources inner integrated in the main application of this polymerization, performs this detects the player plug-in corresponding to the multimedia sources whether being provided with this destination multimedia content operation by the main application of this polymerization.
In sum, the multimedia playing apparatus provided in disclosure embodiment, by the player plug-in corresponding to the multimedia sources that is polymerized main application call destination multimedia content, play destination multimedia content, when solving polymerization main application increase multimedia sources, need the main application of upgrading polymerization could play the problem of the content of multimedia newly increasing multimedia sources, reach and need not upgrade the effect that the main application of polymerization can play the content of multimedia newly increasing multimedia sources.
In addition, the disclosure when the player plug-in for play multimedia content not detected by mobile terminal, is downloaded corresponding player plug-in from backstage, and is carried out real-time update to mounted plug-in unit, greatly can reduce the operation of user.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of multimedia playing apparatus, can realize the multi-medium play method that the disclosure provides, and this multimedia playing apparatus comprises: processor, memory for storage of processor executable instruction;
Wherein, processor is configured to:
Receive multimedia request by being polymerized main application, the main application of this polymerization is the multimedia application for integrating at least two multimedia sources, and this multimedia request plays destination multimedia content for asking.
The player plug-in corresponding to the multimedia sources whether being provided with this destination multimedia content is detected by the main application of this polymerization.
If be provided with the player plug-in corresponding to multimedia sources of this destination multimedia content, then play this destination multimedia content by this player plug-in of the main application call of this polymerization.
Fig. 6 is the block diagram of a kind of device for play multimedia according to an exemplary embodiment.Such as, device 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, memory 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, I/O (I/O) interface 612, sensor cluster 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 618 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Memory 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loud speaker, for output audio signal.
Input/output interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 614 comprises one or more transducer, for providing the state estimation of various aspects for device 600.Such as, sensor cluster 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right checkout gear 600 of sensor cluster 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the variations in temperature of device 600 orientation or acceleration/deceleration and device 600.Sensor cluster 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing above-mentioned multi-medium play method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 604 of instruction, above-mentioned instruction can perform above-mentioned multi-medium play method by the processor 618 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a multi-medium play method, is characterized in that, described method comprises:
Receive multimedia request by being polymerized main application, the main application of described polymerization is the multimedia application for integrating at least two multimedia sources, and described multimedia request plays destination multimedia content for asking;
The player plug-in corresponding to the multimedia sources whether being provided with described destination multimedia content is detected by the main application of described polymerization;
If be provided with the player plug-in corresponding to multimedia sources of described destination multimedia content, then play described destination multimedia content by player plug-in described in the main application call of described polymerization.
2. method according to claim 1, is characterized in that, described method also comprises:
If be not provided with the player plug-in corresponding to multimedia sources of described destination multimedia content, then downloaded by the main application of described polymerization and the player plug-in corresponding to described multimedia sources is installed.
3. method according to claim 1, is characterized in that, described method also comprises:
Up-to-date plug-in version number is obtained by the main application of described polymerization;
Described player plug-in to be updated whether is there is according to number detection of described up-to-date plug-in version by the main application of described polymerization;
If there is described player plug-in to be updated, then upgrade described player plug-in by the main application of described polymerization.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, described method also comprises:
Obtain multimedia sources list by the main application of described polymerization, described multimedia sources list comprises multimedia sources inner integrated in the main application of described polymerization and the multimedia sources corresponding to each player plug-in;
Whether the multimedia sources detecting described destination multimedia content is multimedia sources inner integrated in the main application of described polymerization;
If the multimedia sources of described destination multimedia content is multimedia sources inner integrated in the main application of described polymerization, then by destination multimedia content described in the main application plays of described polymerization.
5. method according to claim 4, is characterized in that, described method also comprises:
If the multimedia sources of described destination multimedia content is not multimedia sources inner integrated in the main application of described polymerization, then perform the described step being detected the player plug-in corresponding to the multimedia sources whether being provided with described destination multimedia content by the main application of described polymerization.
6. a multimedia playing apparatus, is characterized in that, described device comprises:
Request receiving module, be configured to receive multimedia request by being polymerized main application, the main application of described polymerization is the multimedia application for integrating at least two multimedia sources, and described multimedia request plays destination multimedia content for asking;
Installation and measuring module, be configured to by the main application of described polymerization detect whether described destination multimedia content be installed multimedia sources corresponding to player plug-in;
First playing module, is configured to, when player plug-in corresponding to the multimedia sources being provided with described destination multimedia content, play described destination multimedia content by player plug-in described in the main application call of described polymerization.
7. device according to claim 6, is characterized in that, described device also comprises:
Plug-in unit installation module, is configured to, when player plug-in corresponding to the multimedia sources not being provided with described destination multimedia content, downloaded and install the player plug-in corresponding to described multimedia sources by the main application of described polymerization.
8. device according to claim 6, is characterized in that, described device also comprises:
Version number's acquisition module, is configured to obtain up-to-date plug-in version number by the main application of described polymerization;
Upgrade detection module, be configured to whether there is described player plug-in to be updated by the main application of described polymerization according to number detection of described up-to-date plug-in version;
Update of plug-in module, is configured to when there is described player plug-in to be updated, upgrades described player plug-in by the main application of described polymerization.
9., according to the arbitrary described device of claim 6 to 8, it is characterized in that, described device also comprises:
List acquisition module, be configured to obtain multimedia sources list by the main application of described polymerization, described multimedia sources list comprises multimedia sources inner integrated in the main application of described polymerization and the multimedia sources corresponding to each player plug-in;
Source detection module, whether the multimedia sources being configured to detect described destination multimedia content is multimedia sources inner integrated in the main application of described polymerization;
Second playing module, is configured to when the multimedia sources of described destination multimedia content is multimedia sources inner integrated in the main application of described polymerization, by destination multimedia content described in the main application plays of described polymerization.
10. device according to claim 9, it is characterized in that, described installation and measuring module is also configured to when the multimedia sources of described destination multimedia content is not multimedia sources inner integrated in the main application of described polymerization, performs the described operation being detected the player plug-in corresponding to the multimedia sources whether being provided with described destination multimedia content by the main application of described polymerization.
11. 1 kinds of multimedia playing apparatus, is characterized in that, described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
Receive multimedia request by being polymerized main application, the main application of described polymerization is the multimedia application for integrating at least two multimedia sources, and described multimedia request plays destination multimedia content for asking;
The player plug-in corresponding to the multimedia sources whether being provided with described destination multimedia content is detected by the main application of described polymerization;
If be provided with the player plug-in corresponding to multimedia sources of described destination multimedia content, then play described destination multimedia content by player plug-in described in the main application call of described polymerization.
CN201510166035.7A 2015-04-09 2015-04-09 Multi-medium play method and device Active CN104811776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510166035.7A CN104811776B (en) 2015-04-09 2015-04-09 Multi-medium play method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510166035.7A CN104811776B (en) 2015-04-09 2015-04-09 Multi-medium play method and device

Publications (2)

Publication Number Publication Date
CN104811776A true CN104811776A (en) 2015-07-29
CN104811776B CN104811776B (en) 2018-02-02

Family

ID=53696194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510166035.7A Active CN104811776B (en) 2015-04-09 2015-04-09 Multi-medium play method and device

Country Status (1)

Country Link
CN (1) CN104811776B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453939A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Streaming media access method and apparatus
CN106776845A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 A kind of information flow adaptive management method and terminal
CN106792079A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 Video access device and method
CN106775720A (en) * 2016-12-16 2017-05-31 北京小度互娱科技有限公司 The method and apparatus of integrated player SDK and the method and apparatus that player SDK is set
CN108319708A (en) * 2018-02-06 2018-07-24 广东欧珀移动通信有限公司 Video broadcasting method, device, storage medium and electronic equipment
CN109151586A (en) * 2018-09-10 2019-01-04 苏宁智能终端有限公司 A kind of universal multimedia playback method and player
CN110933507A (en) * 2019-11-15 2020-03-27 深圳市酷开网络科技有限公司 Playing method of third-party media content, intelligent terminal and storage medium
CN111131898A (en) * 2020-02-17 2020-05-08 聚好看科技股份有限公司 Method and device for playing media resource, display equipment and storage medium
CN113973233A (en) * 2021-10-22 2022-01-25 深圳小湃科技有限公司 Method, device and equipment for optimizing switching playing of multi-platform film and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010063153A (en) * 2009-11-30 2010-03-18 Ishii Mieko Advertisement system
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN104254015A (en) * 2014-09-26 2014-12-31 深圳市天威视讯股份有限公司 Content aggregation system based on digital television
CN104363237A (en) * 2014-11-21 2015-02-18 中国科学院声学研究所 Method and system for processing internet media resource metadata

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010063153A (en) * 2009-11-30 2010-03-18 Ishii Mieko Advertisement system
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN104254015A (en) * 2014-09-26 2014-12-31 深圳市天威视讯股份有限公司 Content aggregation system based on digital television
CN104363237A (en) * 2014-11-21 2015-02-18 中国科学院声学研究所 Method and system for processing internet media resource metadata

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453939B (en) * 2016-10-28 2020-06-26 和君纵达数据科技有限公司 Streaming media access method and device
CN106453939A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Streaming media access method and apparatus
CN106776845A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 A kind of information flow adaptive management method and terminal
CN106776845B (en) * 2016-11-28 2021-05-21 努比亚技术有限公司 Information flow self-adaptive management method and terminal
CN106792079A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 Video access device and method
CN106775720A (en) * 2016-12-16 2017-05-31 北京小度互娱科技有限公司 The method and apparatus of integrated player SDK and the method and apparatus that player SDK is set
WO2019154014A1 (en) * 2018-02-06 2019-08-15 Oppo广东移动通信有限公司 Video playback method and apparatus, and storage medium and electronic device
CN108319708A (en) * 2018-02-06 2018-07-24 广东欧珀移动通信有限公司 Video broadcasting method, device, storage medium and electronic equipment
CN109151586A (en) * 2018-09-10 2019-01-04 苏宁智能终端有限公司 A kind of universal multimedia playback method and player
CN109151586B (en) * 2018-09-10 2021-06-04 苏宁智能终端有限公司 Universal multimedia playing method and player
CN110933507A (en) * 2019-11-15 2020-03-27 深圳市酷开网络科技有限公司 Playing method of third-party media content, intelligent terminal and storage medium
CN111131898A (en) * 2020-02-17 2020-05-08 聚好看科技股份有限公司 Method and device for playing media resource, display equipment and storage medium
CN111131898B (en) * 2020-02-17 2021-09-21 聚好看科技股份有限公司 Method and device for playing media resource, display equipment and storage medium
CN113973233A (en) * 2021-10-22 2022-01-25 深圳小湃科技有限公司 Method, device and equipment for optimizing switching playing of multi-platform film and storage medium

Also Published As

Publication number Publication date
CN104811776B (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN104811776A (en) Multimedia playing method and device
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
EP2998899A1 (en) Method and apparatus for running application program
CN105204894A (en) Method and device for installing plug-in of intelligent equipment
CN105119790B (en) Apparatus control method and device
CN105094931A (en) Software upgrading method and device
CN105430487A (en) Multimedia data playing method, device and system
CN104301383A (en) Upgrading method, device and upgrading equipment
CN104958898A (en) Method, apparatus and system for controlling video games
CN105607926A (en) Application icon update method and apparatus, electronic device and server
CN104486451A (en) Application program recommendation method and device
CN105100074A (en) Data operation processing method, device and terminal equipment
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN105068848A (en) System upgrading method and apparatus
CN103970576A (en) Installation information displaying method, obtaining method and device
CN105808305A (en) Static resource loading method and device
CN105094830A (en) Method and device for executing target functions
CN104216672A (en) Display control method and display control device
CN104881304A (en) Resource downloading method and device
CN104935613A (en) Scene synchronization method, terminal, server and system
CN105554087A (en) Information setting method and device
CN105426210A (en) Method and device for upgrading system
CN104702988A (en) AV (Audio/Video) playing method and device
CN104503762A (en) Device and method for identifying electronic accessory
CN104111813A (en) Method and device for picture synchronous display, mobile terminal and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant