CN104811776B - Multi-medium play method and device - Google Patents
Multi-medium play method and device Download PDFInfo
- Publication number
- CN104811776B CN104811776B CN201510166035.7A CN201510166035A CN104811776B CN 104811776 B CN104811776 B CN 104811776B CN 201510166035 A CN201510166035 A CN 201510166035A CN 104811776 B CN104811776 B CN 104811776B
- Authority
- CN
- China
- Prior art keywords
- multimedia
- main application
- polymerization
- plug
- sources
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The disclosure discloses a kind of multi-medium play method and device, belongs to field of computer technology.The multi-medium play method includes:Multimedia request is received by polymerizeing main application;Detect whether to be already installed with player plug-in corresponding to the multimedia sources of destination multimedia content by polymerizeing main application;If being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content, the destination multimedia content is played by polymerizeing the main application call player plug-in.The disclosure is by polymerizeing the player plug-in corresponding to the multimedia sources of main application call destination multimedia content, to play destination multimedia content, when solving the main application of polymerization increases multimedia sources, need upgrading to polymerize the problem of main application could play the content of multimedia for newly increasing multimedia sources, reach the effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of multi-medium play method and device.
Background technology
Each video website can provide some videos and be appreciated for user, and user appreciates these videos on smart mobile phone
When, it is often necessary to switch between different video website, operation is very inconvenient.There are a kind of polymeric type Video Applications at present, should
The video that polymeric type Video Applications provide each video website is integrated in one application, so as to eliminate user's Switch Video
The operation of website.
Polymeric type Video Applications need SDK (Software tool kit, the Software that integrated each video website provides
Development Kit) realize the broadcasting to video.Therefore, polymeric type Video Applications often increase regarding for video website
Frequency resource, it is required for upgrading polymeric type Video Applications, it is poly- so as to which the SDK that increased video website is provided be integrated into
Class Video Applications are closed, are finally supplied to user to be downloaded and use the polymeric type Video Applications after upgrading again.
The content of the invention
In order to solve the problems, such as correlation technique, present disclose provides a kind of multi-medium play method and device.The technical side
Case is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of multi-medium play method, this method include:
Multimedia request is received by polymerizeing main application, the main application of the polymerization is to be used to integrate at least two multimedias
The multimedia application in source, the multimedia ask to be used to ask to play destination multimedia content;
Detect whether to be already installed with broadcasting corresponding to the multimedia sources of destination multimedia content by polymerizeing main application
Put plug-in unit;
If being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content, by polymerizeing main answer
The destination multimedia content is played with the calling player plug-in.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of multimedia playing apparatus, the device include:
Request receiving module, it is configured as receiving multimedia request by polymerizeing main application, the main application of the polymerization is
For integrating the multimedia application of at least two multimedia sources, the multimedia asks to be used to ask broadcasting target more
Media content;
Detection module is installed, is configured as detecting whether to be already installed with destination multimedia content by polymerizeing main application
Player plug-in corresponding to multimedia sources;
First playing module, it is configured as being already installed with broadcasting corresponding to the multimedia sources of destination multimedia content
When putting plug-in unit, the destination multimedia content is played by the polymerization main application call player plug-in.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of multimedia playing apparatus, the device include:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Multimedia request is received by polymerizeing main application, the main application of the polymerization is to be used to integrate at least two multimedias
The multimedia application in source, the multimedia ask to be used to ask to play destination multimedia content;
Detect whether to be already installed with broadcasting corresponding to the multimedia sources of destination multimedia content by polymerizeing main application
Put plug-in unit;
If being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content, by polymerizeing main answer
The destination multimedia content is played with the calling player plug-in.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By polymerizeing the player plug-in corresponding to the multimedia sources of main application call destination multimedia content, to play mesh
Mark content of multimedia, when solving polymerization main application increase multimedia sources, it is necessary to upgrade the main application of polymerization could play it is newly-increased
The problem of adding the content of multimedia of media source, reach and newly increased multimedia without the main application of renewal polymerization is i.e. playable
The effect of the content of multimedia in source.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited
It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used in specification to explain the principle of the disclosure together.
Fig. 1 is a kind of flow chart of multi-medium play method according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of multi-medium play method according to another exemplary embodiment;
Fig. 2 B are a kind of showing interface figures at the main application operating interface of polymerization according to an exemplary embodiment;
Fig. 2 C are a kind of schematic diagrames of the main application of polymerization according to an exemplary embodiment;
Fig. 3 A are a kind of block diagrams of multimedia playing apparatus according to another exemplary embodiment;
Fig. 3 B are a kind of schematic diagrames of the main application of polymerization according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of multimedia playing apparatus according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of multimedia playing apparatus according to another exemplary embodiment;
Fig. 6 is a kind of block diagram for being used to play multimedia device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of multi-medium play method according to an exemplary embodiment, as shown in figure 1, should
Multi-medium play method comprises the following steps.
In a step 101, multimedia request is received by polymerizeing main application, the main application of the polymerization is to be used to be integrated into
The multimedia application of few two multimedia sources, the multimedia ask to be used to ask to play destination multimedia content.
In a step 102, by polymerize main application detect whether to be already installed with the multimedia of destination multimedia content come
Player plug-in corresponding to source.
In step 103, if being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content,
The destination multimedia content is played by polymerizeing the main application call player plug-in.
In summary, the multi-medium play method provided in the embodiment of the present disclosure is more by polymerizeing main application call target
Player plug-in corresponding to the multimedia sources of media content, to play destination multimedia content, solve the main application of polymerization and increase
, it is necessary to upgrade the problem of main application of polymerization could play the content of multimedia for newly increasing multimedia sources when adding media source,
The effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources is reached.
Fig. 2A is a kind of flow chart of multi-medium play method according to another exemplary embodiment, such as Fig. 2A institutes
Show, the multi-medium play method comprises the following steps.
In step 201, multimedia request is received by polymerizeing main application, the multimedia asks to be used to ask
Play destination multimedia content.
Polymerize main application be for integrate at least two multimedia sources multimedia application, the main application exhibition of the polymerization
The content of multimedia shown is typically to be provided by multimedia sources, i.e. in main application is polymerize, content of multimedia is network multimedia
Content, such as video stream media, audio Streaming Media etc..
Wherein, multimedia sources are usually the video website for providing content of multimedia, and for each multimedia sources institute
The content of multimedia of offer using the broadcast mode corresponding to the multimedia sources, it is necessary to could be played.
User can play destination multimedia by sending multimedia request in the operation interface for polymerizeing main application
Content.Wherein, send the mode of media play request and can be click on, slide, the operation such as button.
Such as provided on the main application operating interface of polymerization shown in Fig. 2 B Animal World, cuisines making, traditional education,
Four content of multimedia of popular video, user can click on the icon of Animal World, send to the main application of polymerization and broadcast for request
Put the multimedia request of Animal World.
Corresponding, mobile terminal receives multimedia request by polymerizeing main application.
In step 202, by polymerize main application detect whether to be already installed with the multimedia of destination multimedia content come
Player plug-in corresponding to source.
If the destination multimedia content that user needs player plug-in to play using main application plays are polymerize for the first time,
User needs to download the player plug-in corresponding to the multimedia sources of the destination multimedia content by polymerizeing main application.Generally,
The player plug-in of download, which is stored in, to be polymerize under the installation directory of main application.
If the destination multimedia content that user's non-first time needs player plug-in to play using main application plays are polymerize,
Then the player plug-in corresponding to the multimedia sources of the destination multimedia content of the destination multimedia content may be loaded in down
Mobile terminal.Now, mobile terminal detects whether to be already installed with the more of the destination multimedia content by the main application of the polymerization
Player plug-in corresponding to media source.
In a kind of possible implementation, mobile terminal, which can travel through to be stored in, to be polymerize under the installation directory of main application
The player plug-in of download, so as to detect mobile terminal whether installed the destination multimedia content multimedia sources institute it is right
The player plug-in answered.
In step 203, if being not installed with the player plug-in corresponding to the multimedia sources of destination multimedia content, lead to
Cross and polymerize main application and download and the player plug-in corresponding to the multimedia sources is installed.
If mobile terminal detects that the player plug-in corresponding to the multimedia sources of the destination multimedia content does not exist in
Mobile terminal, then mobile terminal need to download from the server for polymerizeing main application and the broadcasting corresponding to the multimedia sources be installed
Plug-in unit, then perform step 204.
In a kind of possible implementation, the plug-in unit mark corresponding to the acquisition for mobile terminal player plug-in, and should
After the terminal iidentification of plug-in unit mark and mobile terminal is added into download request, send to the server for polymerizeing main application.
Corresponding, the server for polymerizeing main application receives the download request that mobile terminal is sent, and according to the download request
The mark included, the corresponding player plug-in of mark is obtained from database, and the player plug-in is sent to terminal iidentification
In corresponding mobile terminal, installed by the mobile terminal.
It should be noted that in order that user is obtaining transparence using when polymerizeing main application plays destination multimedia content
Experience, mobile terminal is after the multimedia request of user's transmission is received, from multimedia sources list is obtained to download
The step of player plug-in corresponding to multimedia sources, can be carried out on the backstage of mobile terminal.
Generally, some advertisements can be played in advance before content of multimedia is played by polymerizeing main apply, and polymerizeing main application can be
In the time for playing advertisement, the player plug-in backstage corresponding to the multimedia sources is downloaded to mobile terminal so that Yong Hu
Can be with direct viewing destination multimedia content after viewing advertisement.
In step 204, if being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content,
The destination multimedia content is played by polymerizeing main application call player plug-in.
In step 205, newest plug-in version number is obtained by polymerizeing main application.
Each player plug-in is owned by a plug-in version number for being used for indication plug unit version, and mobile terminal is downloading broadcasting
During plug-in unit, the configuration file of the plug-in version number comprising the player plug-in has generally also been downloaded.
Whether mobile terminal can have updated player plug-in by the main application detection service device of the polymerization, if detecting service
Device have updated player plug-in, then obtains plug-in unit corresponding to newest plug-in version number and newest plug-in version number and identify.
It should be noted that in a kind of possible implementation, mobile terminal is by the main application of the polymerization every default
Whether period detection service device have updated player plug-in;In alternatively possible implementation, mobile terminal passes through polymerization
Whether the main real-time detection service device of application have updated player plug-in, and the embodiment of the present disclosure is not led to mobile terminal by the polymerization
The mode that player plug-in whether is have updated using detection service device restricts.
In step 206, detect whether to be updated broadcast be present according to newest plug-in version number by polymerizeing main application
Put plug-in unit.
After newest plug-in version number is obtained, mobile terminal can obtain the plug-in unit mark for each player plug-in downloaded
Know, and the plug-in unit for detecting each player plug-in downloaded identifies whether to include plug-in unit mark corresponding to newest plug-in version number
Know.
Identified if the plug-in unit mark for each player plug-in downloaded does not include plug-in unit corresponding to newest plug-in version number,
The operation of renewal player plug-in is not performed then;If the plug-in unit mark for each player plug-in downloaded includes newest plug-in version
Plug-in unit corresponding to number identifies, then performs the operation of renewal player plug-in.
In step 207, if player plug-in to be updated be present, the player plug-in is updated by polymerizeing main application.
If player plug-in to be updated be present, it is newest to download this by the main application of the polymerization from server for mobile terminal
Plug-in version number corresponding to plug-in unit.
Wherein, method of the method for download plug-in as shown in step 203, is not repeated herein.
It should be noted that mobile terminal can equally perform step 205 to step 207 on backstage.
For convenience of description, the multi-medium play method provided with the schematic diagram shown in Fig. 2 C the embodiment of the present disclosure is carried out
Explanation.In fig. 2 c, A is polymerize main application, and B is the player plug-in corresponding to multimedia sources b, and C is right for multimedia sources c
The player plug-in answered, D are the player plug-in corresponding to multimedia sources d, and E is the player plug-in corresponding to multimedia sources e.If
User then polymerize main application A needs and calls broadcasting by polymerizeing the main content of multimedia that multimedia sources c offers are played using A
Plug-in unit C come play multimedia sources c offer content of multimedia.
In summary, the multi-medium play method provided in the embodiment of the present disclosure is more by polymerizeing main application call target
Player plug-in corresponding to the multimedia sources of media content, to play destination multimedia content, solve the main application of polymerization and increase
, it is necessary to upgrade the problem of main application of polymerization could play the content of multimedia for newly increasing multimedia sources when adding media source,
The effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources is reached.
In addition, the disclosure by mobile terminal when being not detected by the player plug-in for playing content of multimedia, from rear
Player plug-in corresponding to platform download, and real-time update is carried out to mounted plug-in unit, the operation of user can be greatly reduced.
It should be noted that the disclosure by the player method that each multimedia sources are provided be abstracted as playback interface come
Realize, so as to realize the multi-medium play method of offer.For the ease of understand the disclosure provide multi-medium play method, now with
Exemplified by one section of simple program, the realization to 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 that such is present in player plug-in for realizing IVideoView interfaces class.Its
In, the broadcast mode corresponding to the multimedia sources A defined in TuanVideoView human subject.Broadcast mode refers to lead to
The broadcast mode for crossing the SDK that is provided of encapsulation multimedia sources to realize.
YuanVideoView is also that such is present in another broadcasting for realizing IVideoView interfaces class
In plug-in unit.Wherein, the broadcast mode defined in YuanVideoView human subject corresponding to multimedia sources B.
If, can also be by corresponding to other multimedia sources it should be noted that other multimedia sources also be present
Broadcast mode is defined as a class for realizing IVideoView interfaces, and this example does not make rising limit to the value volume and range of product of class
System.
DexVideoView is also for realizing IVideoView interfaces class, and such is present in the main application of polymerization
In.In DexVideoView human subject, the system of selection of each class for realizing IVideoView interfaces is defined.
When polymerizeing main application plays content of multimedia, if mobile terminal detects that the content of multimedia needs to play by polymerizeing main application
Plug-in unit plays, then creates DexVideoView example.
Exemplified by the player plug-in that YuanVideoView is present in multimedia sources B, polymerizeing, main application plays are more
During media content, mobile terminal detects that the content of multimedia needs multimedia sources B player plug-in by polymerizeing main application
It could play, then create DexVideoView example.The player plug-in that DexVideoView detects multimedia sources B first is
No to be located locally, if detecting, multimedia sources B player plug-in is located locally, using the DexClassLoader of Android come
YuanVideoView is instantiated, so that mobile terminal is by polymerizeing the main broadcasting side defined using YuanVideoView
Formula come play multimedia sources B offer content of multimedia;If detecting, multimedia sources B player plug-in is not located locally,
The step of multimedia sources B player plug-in is then downloaded from server, then performs instantiation YuanVideoView.
It should be noted that in main application is polymerize, due to content of multimedia generally mainly by some more large medias Lai
Source provides, and the content of multimedia that most user can select these large media sources to provide plays, and therefore, polymerization is main should
With the player plug-in that can integrate large multimedia source in advance in the inside of application.Now, the disclosure is according to an exemplary reality
The flow chart for applying a kind of multi-medium play method exemplified can be as shown in Figure 3A.In figure 3 a, the multimedia side
Method comprises the following steps.
In step 301, multimedia request is received by polymerizeing main application, the multimedia asks to be used to ask
Play destination multimedia content.
Polymerize main application be for integrate at least two multimedia sources multimedia application, the main application exhibition of the polymerization
The content of multimedia shown is typically to be provided by multimedia sources.
Wherein, content of multimedia is network multimedia content, such as video stream media, audio Streaming Media etc.;Multimedia is come
Source is usually the video website for providing content of multimedia, and the content of multimedia that is provided for each multimedia sources, it is necessary to
It could be played using the broadcast mode corresponding to the multimedia sources.
User can play destination multimedia by sending multimedia request in the operation interface for polymerizeing main application
Content.Wherein, send the mode of media play request and can be click on, slide, the operation such as button.
Corresponding, mobile terminal receives multimedia request by polymerizeing main application.
In step 302, multimedia sources list is obtained by polymerizeing main application.
For any multimedia sources, mobile terminal needs to obtain by polymerizeing main application to be broadcast corresponding to the multimedia sources
Plug-in unit is put, the content of multimedia of multimedia sources offer can be provided, wherein, the player plug-in is integrated with multimedia sources
Broadcasting SDK.
For example content of multimedia " Animal World " is provided by multimedia sources A, then it is more to polymerize main application needs acquisition
Player plug-in corresponding to media source A, it can play " Animal World ".
Wherein, player plug-in can be provided by multimedia sources, can also be by polymerizeing the supplier of main application according to more
The content of multimedia generation that media source provides, the embodiment of the present disclosure do not restrict to the source of player plug-in.
Generally, mobile terminal has also downloaded the multimedia sources row that the main application of polymerization provides when downloading the main application of polymerization
Table, the multimedia sources list are included corresponding to the multimedia sources being internally integrated in the main application of the polymerization and each player plug-in
Multimedia sources.Wherein, the multimedia sources list, which can be stored in, polymerize in the configuration file of main application.
In a kind of possible implementation, mobile terminal can obtain bag under the main application installation directory of polymerization of local
Include the configuration file of the multimedia sources list.
In step 303, whether the multimedia sources for detecting destination multimedia content are to be internally integrated in the main application of polymerization
Multimedia sources.
In main application is polymerize, content of multimedia is generally mainly provided by some how large-scale media sources, and most
The content of multimedia that user can select these large media sources to provide plays, and therefore, polymerizeing main application can be in application
Portion integrates the player plug-in in large multimedia source so that the mobile terminal of user need not install broadcasting for large multimedia source
Put the content of multimedia that plug-in unit can play the offer in large multimedia source.
And providing content of multimedia less miniature multimedia source for polymerizeing in main application, user can not necessarily select
The content of multimedia that miniature multimedia source provides plays, and polymerize main application and generally incorporate great quantity of small multimedia sources,
If user downloads the player plug-in in each miniature multimedia source one by one, it will greatly takes the memory space of mobile terminal.
Now, user can select to need the player plug-in of multimedia sources to be mounted according to personal like.
It should be noted that in order to improve the efficiency of acquisition for mobile terminal player plug-in, the supplier for polymerizeing main application can
So that the multimedia sources being internally integrated in main application and not integrated multimedia sources area will be polymerize in multimedia sources list
Do not represent.
Corresponding, mobile terminal, can be according to the multimedia after by polymerizeing main application acquisition multimedia sources list
Whether the multimedia sources that source list detects the destination multimedia content are the multimedia being internally integrated in the main application of the polymerization
Source.
In step 304, if the multimedia sources of destination multimedia content are the more matchmakers being internally integrated in the main application of polymerization
Body source, then pass through the polymerization main application plays destination multimedia content.
When mobile terminal detects that the multimedia sources of destination multimedia content are the polymerizations according to multimedia sources list
During the multimedia sources being internally integrated in main application, it polymerize the main multimedia sources applied and be integrated with destination multimedia content
Player plug-in, the mobile terminal of user need not install the player plug-in in large multimedia source again, directly pass through the polymerization
Main application is the content of multimedia for the offer that can play large multimedia source.
In step 305, if the multimedia sources of destination multimedia content be not be internally integrated in the main application of polymerization it is more
Media source, then perform and detect whether that the multimedia sources institute for being already installed with destination multimedia content is right by polymerizeing main application
The step of player plug-in answered.
When mobile terminal detects that the multimedia sources of destination multimedia content are not polymerizations according to multimedia sources list
During the multimedia sources being internally integrated in main application, then explanation plays the destination multimedia content and needs to obtain the destination multimedia
Player plug-in corresponding to the multimedia sources of content.Now, mobile terminal can be detected whether by the main application of the polymerization
Player plug-in through being provided with corresponding to the multimedia sources of the destination multimedia content, i.e. step 306.
Within step 306, by polymerize main application detect whether to be already installed with the multimedia of destination multimedia content come
Player plug-in corresponding to source.
In a kind of possible implementation, mobile terminal, which can travel through to be stored in, to be polymerize under the installation directory of main application
The player plug-in of download, so as to detect mobile terminal whether installed the destination multimedia content multimedia sources institute it is right
The player plug-in answered.
In step 307, if being not installed with the player plug-in corresponding to the multimedia sources of destination multimedia content, lead to
Cross and polymerize main application and download and the player plug-in corresponding to the multimedia sources is installed.
If mobile terminal detects that the player plug-in corresponding to the multimedia sources of the destination multimedia content does not exist in
Mobile terminal, then mobile terminal need to download from the server for polymerizeing main application and the broadcasting corresponding to the multimedia sources be installed
Plug-in unit, then perform step 308.
In step 308, if being already installed with the player plug-in corresponding to the multimedia sources of destination multimedia content,
The destination multimedia content is played by polymerizeing main application call player plug-in.
In a step 309, newest plug-in version number is obtained by polymerizeing main application.
Whether mobile terminal can have updated player plug-in by the main application detection service device of the polymerization, if detecting service
Device have updated player plug-in, then obtains plug-in unit corresponding to newest plug-in version number and newest plug-in version number and identify.
In the step 310, detect whether to be updated broadcast be present according to newest plug-in version number by polymerizeing main application
Put plug-in unit.
After newest plug-in version number is obtained, mobile terminal can obtain the plug-in unit mark for each player plug-in downloaded
Know, and the plug-in unit for detecting each player plug-in downloaded identifies whether to include plug-in unit mark corresponding to newest plug-in version number
Know.
In step 311, if player plug-in to be updated be present, the player plug-in is updated by polymerizeing main application.
If player plug-in to be updated be present, it is newest to download this by the main application of the polymerization from server for mobile terminal
Plug-in version number corresponding to plug-in unit.
For convenience of description, the multi-medium play method provided with the schematic diagram shown in Fig. 3 B the embodiment of the present disclosure is carried out
Explanation.In figure 3b, A is polymerize main application, and B is the player plug-in corresponding to multimedia sources b, and C is right for multimedia sources c
The player plug-in answered, D are the player plug-in corresponding to multimedia sources d, and E is the player plug-in corresponding to multimedia sources e.Its
In, player plug-in B is integrated in player plug-in C to be polymerize in main application A, and user is playing multimedia sources b or multimedia sources c
During the content of multimedia of offer, it is not necessary to download player plug-in.
In summary, the multi-medium play method provided in the embodiment of the present disclosure is more by polymerizeing main application call target
Player plug-in corresponding to the multimedia sources of media content, to play destination multimedia content, solve the main application of polymerization and increase
, it is necessary to upgrade the problem of main application of polymerization could play the content of multimedia for newly increasing multimedia sources when adding media source,
The effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources is reached.
In addition, the disclosure by mobile terminal when being not detected by the player plug-in for playing content of multimedia, from rear
Player plug-in corresponding to platform download, and real-time update is carried out to mounted plug-in unit, the operation of user can be greatly reduced.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of multimedia playing apparatus according to an exemplary embodiment, as shown in figure 4, this is more
Media playing apparatus includes but is not limited to:Request receiving module 401, the installation playing module 403 of detection module 402 and first.
Request receiving module 401, it is configured as receiving multimedia request, the main application of the polymerization by polymerizeing main application
It is the multimedia application for integrating at least two multimedia sources, the multimedia asks to be used to ask to play target
Content of multimedia.
Detection module 402 is installed, is configured as detecting whether to be already installed with the more matchmakers of the target by the main application of the polymerization
The player plug-in corresponding to multimedia sources held in vivo.
First playing module 403, the multimedia sources institute for being configured as being already installed with the destination multimedia content are right
During the player plug-in answered, the destination multimedia content is played by the polymerization main application call player plug-in.
In summary, the multimedia playing apparatus provided in the embodiment of the present disclosure is more by polymerizeing main application call target
Player plug-in corresponding to the multimedia sources of media content, to play destination multimedia content, solve the main application of polymerization and increase
, it is necessary to upgrade the problem of main application of polymerization could play the content of multimedia for newly increasing multimedia sources when adding media source,
The effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources is reached.
Fig. 5 is a kind of block diagram of multimedia playing apparatus according to another exemplary embodiment, as shown in figure 5, should
Multimedia playing apparatus includes but is not limited to:Request receiving module 401, the installation playing module 403 of detection module 402 and first.
Request receiving module 401, it is configured as receiving multimedia request, the main application of the polymerization by polymerizeing main application
It is the multimedia application for integrating at least two multimedia sources, the multimedia asks to be used to ask to play target
Content of multimedia.
Detection module 402 is installed, is configured as detecting whether to be already installed with the more matchmakers of the target by the main application of the polymerization
The player plug-in corresponding to multimedia sources held in vivo.
First playing module 403, the multimedia sources institute for being configured as being already installed with the destination multimedia content are right
During the player plug-in answered, the destination multimedia content is played by the polymerization main application call player plug-in.
Optionally, the device also includes:Plug-in unit installs module 404.
Plug-in unit installs module 404, is configured as being not installed with corresponding to the multimedia sources of the destination multimedia content
Player plug-in when, downloaded by the main application of the polymerization and the player plug-in corresponding to the multimedia sources be installed.
Optionally, the device also includes:Version number's acquisition module 405, renewal detection module 406 and update of plug-in module
407。
Version number's acquisition module 405, it is configured as obtaining newest plug-in version number by the main application of the polymerization.
Detection module 406 is updated, being configured as detecting according to the newest plug-in version number by the main application of the polymerization is
It is no the player plug-in to be updated to be present.
Update of plug-in module 407, when being configured as existing the player plug-in to be updated, by the main application of the polymerization more
The new player plug-in.
Optionally, the device also includes:List acquisition module 408, the playing module 410 of source detection module 409 and second.
List acquisition module 408, it is configured as obtaining multimedia sources list by the main application of the polymerization, the multimedia is come
Multimedia sources of the source list corresponding to including the multimedia sources being internally integrated in the main application of the polymerization and each player plug-in.
Source detection module 409, whether the multimedia sources for being configured as detecting the destination multimedia content are the polymerization
The multimedia sources being internally integrated in main application.
Second playing module 410, the multimedia sources for being configured as the destination multimedia content are the main applications of the polymerization
In be internally integrated multimedia sources when, pass through the polymerization main application plays destination multimedia content.
Optionally, the installation detection module 402 is additionally configured to when the multimedia sources of the destination multimedia content are not
During the multimedia sources being internally integrated in the main application of the polymerization, performing should detect whether to be already installed with by the main application of the polymerization
The operation of player plug-in corresponding to the multimedia sources of the destination multimedia content.
In summary, the multimedia playing apparatus provided in the embodiment of the present disclosure is more by polymerizeing main application call target
Player plug-in corresponding to the multimedia sources of media content, to play destination multimedia content, solve the main application of polymerization and increase
, it is necessary to upgrade the problem of main application of polymerization could play the content of multimedia for newly increasing multimedia sources when adding media source,
The effect for polymerizeing main application without renewal and can play the content of multimedia for newly increasing multimedia sources is reached.
In addition, the disclosure by mobile terminal when being not detected by the player plug-in for playing content of multimedia, from rear
Player plug-in corresponding to platform download, and real-time update is carried out to mounted plug-in unit, the operation of user can be greatly reduced.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one provides a kind of multimedia playing apparatus, can realize more matchmakers that the disclosure provides
Body player method, the multimedia playing apparatus include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Multimedia request is received by polymerizeing main application, the main application of the polymerization is to be used to integrate at least two multimedias
The multimedia application in source, the multimedia ask to be used to ask to play destination multimedia content.
Detect whether to be already installed with corresponding to the multimedia sources of the destination multimedia content by the main application of the polymerization
Player plug-in.
If being already installed with the player plug-in corresponding to the multimedia sources of the destination multimedia content, pass through the polymerization
The main application call player plug-in plays the destination multimedia content.
Fig. 6 is a kind of block diagram for being used to play multimedia device according to an exemplary embodiment.For example, device
600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment is set
It is standby, body-building equipment, personal digital assistant etc..
Reference picture 6, device 600 can include following one or more assemblies:Processing component 602, memory 604, power supply
Component 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) interface 612, sensor cluster 614, Yi Jitong
Believe component 616.
The integrated operation of the usual control device 600 of processing component 602, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Processing component 602 can refer to including one or more processors 618 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 602 can include one or more modules, just
Interaction between processing component 602 and other assemblies.For example, processing component 602 can include multi-media module, it is more to facilitate
Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown
Example includes the instruction of any application program or method for being operated on device 600, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 600.
Multimedia groupware 608 is included in the screen of one output interface of offer between device 600 and user.In some realities
Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with
Gesture on sensing touch, slip and touch panel.Touch sensor can the not only border of sensing touch or sliding action, and
And also detection and the duration and pressure touched or slide is related.In certain embodiments, multimedia groupware 608 includes
One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when device 600 is in operator scheme
The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can
To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured as output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike
Wind (MIC), when device 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 604 or via communication set
Part 616 is sent.In certain embodiments, audio-frequency assembly 610 also includes a loudspeaker, for exports audio signal.
Input/output interface 612 provides interface, above-mentioned peripheral interface between processing component 602 and peripheral interface module
Module can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, startup are pressed
Button and locking press button.
Sensor cluster 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented
Estimate.For example, sensor cluster 614 can detect opening/closed mode of device 600, the relative positioning of component, such as component
For the display and keypad of device 600, sensor cluster 614 can be with the position of 600 1 components of detection means 600 or device
Put change, the existence or non-existence that user contacts with device 600, the orientation of device 600 or acceleration/deceleration and the temperature of device 600
Change.Sensor cluster 614 can include proximity transducer, be configured in no any physical contact near detection
The presence of object.Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging
With middle use.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device
600 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality
Apply in example, communication component 616 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, communication component 616 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned multi-medium play method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 604 of instruction, above-mentioned instruction can be performed by the processor 618 of device 600 to complete above-mentioned multimedia
Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (9)
1. a kind of multi-medium play method, it is characterised in that methods described includes:
Multimedia request is received by polymerizeing main application, the main application of polymerization is to be used at least two multimedias of integration come
The multimedia application in source, the multimedia ask to be used to ask to play destination multimedia content;
Detect whether to be already installed with corresponding to the multimedia sources of the destination multimedia content by the main application of polymerization
Player plug-in;
If being already installed with the player plug-in corresponding to the multimedia sources of the destination multimedia content, pass through the polymerization
Player plug-in described in main application call plays the destination multimedia content;
If being not installed with the player plug-in corresponding to the multimedia sources of the destination multimedia content, obtain described play and insert
Plug-in unit mark corresponding to part, and after plug-in unit mark is added into download request with the terminal iidentification of mobile terminal, send
To the server of the main application of polymerization, downloaded with this and the player plug-in corresponding to the multimedia sources is installed.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Newest plug-in version number is obtained by the main application of polymerization;
Detect whether that the broadcasting to be updated be present inserts according to the newest plug-in version number by the main application of the polymerization
Part;
If the player plug-in to be updated be present, the player plug-in is updated by the main application of polymerization.
3. method according to any one of claims 1 to 2, it is characterised in that methods described also includes:
Multimedia sources list is obtained by the main application of polymerization, the multimedia sources list includes the main application of polymerization
In the multimedia sources that are internally integrated and the multimedia sources corresponding to each player plug-in;
Whether the multimedia sources for detecting the destination multimedia content are the multimedia being internally integrated in the main application of polymerization
Source;
If the multimedia sources of the destination multimedia content are the multimedia sources being internally integrated in the main application of polymerization,
Pass through destination multimedia content described in the main application plays of polymerization.
4. according to the method for claim 3, it is characterised in that methods described also includes:
If the multimedia sources of the destination multimedia content are not the multimedia sources being internally integrated in the main application of polymerization,
Detect whether to be already installed with the multimedia sources of the destination multimedia content by the main application of polymerization described in then performing
The step of corresponding player plug-in.
5. a kind of multimedia playing apparatus, it is characterised in that described device includes:
Request receiving module, it is configured as receiving multimedia request by polymerizeing main application, the main application of polymerization is to use
In the multimedia application for integrating at least two multimedia sources, the multimedia asks to be used to ask broadcasting target more
Media content;
Detection module is installed, is configured as detecting whether to be already installed with the destination multimedia by the main application of polymerization
Player plug-in corresponding to the multimedia sources of appearance;
First playing module, it is configured as being already installed with broadcasting corresponding to the multimedia sources of the destination multimedia content
When putting plug-in unit, the destination multimedia content is played by player plug-in described in the main application call of polymerization;
Plug-in unit installs module, is configured as being not installed with the broadcasting corresponding to the multimedia sources of the destination multimedia content
During plug-in unit, the plug-in unit mark corresponding to the player plug-in is obtained, and the plug-in unit is identified into the terminal iidentification with mobile terminal
After being added into download request, send to the server of the main application of polymerization, downloaded with this and the multimedia sources institute is installed
Corresponding player plug-in.
6. device according to claim 5, it is characterised in that described device also includes:
Version number's acquisition module, it is configured as obtaining newest plug-in version number by the main application of polymerization;
Detection module is updated, is configured as detecting whether to deposit according to the newest plug-in version number by the main application of the polymerization
In the player plug-in to be updated;
Update of plug-in module, when being configured as existing the player plug-in to be updated, updated by the main application of polymerization
The player plug-in.
7. according to any described device of claim 5 to 6, it is characterised in that described device also includes:
List acquisition module, it is configured as obtaining multimedia sources list, the multimedia sources by the main application of polymerization
Multimedia sources of the list corresponding to including the multimedia sources being internally integrated in the main application of polymerization and each player plug-in;
Source detection module, whether the multimedia sources for being configured as detecting the destination multimedia content, which are that the polymerization is main, is answered
The multimedia sources being internally integrated in;
Second playing module, the multimedia sources for being configured as the destination multimedia content are interior in the main application of polymerization
During the multimedia sources that portion integrates, pass through destination multimedia content described in the main application plays of polymerization.
8. device according to claim 7, it is characterised in that the installation detection module is additionally configured to work as the target
When the multimedia sources of content of multimedia are not the multimedia sources being internally integrated in the main application of polymerization, pass through described in execution
The broadcasting that the main application of polymerization detects whether to be already installed with corresponding to the multimedia sources of the destination multimedia content is inserted
The operation of part.
9. a kind of multimedia playing apparatus, it is characterised in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Multimedia request is received by polymerizeing main application, the main application of polymerization is to be used at least two multimedias of integration come
The multimedia application in source, the multimedia ask to be used to ask to play destination multimedia content;
Detect whether to be already installed with corresponding to the multimedia sources of the destination multimedia content by the main application of polymerization
Player plug-in;
If being already installed with the player plug-in corresponding to the multimedia sources of the destination multimedia content, pass through the polymerization
Player plug-in described in main application call plays the destination multimedia content;
If being not installed with the player plug-in corresponding to the multimedia sources of the destination multimedia content, obtain described play and insert
Plug-in unit mark corresponding to part, and after plug-in unit mark is added into download request with the terminal iidentification of mobile terminal, send
To the server of the main application of polymerization, downloaded with this and the player plug-in corresponding to the multimedia sources is installed.
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 CN104811776A (en) | 2015-07-29 |
CN104811776B true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453939B (en) * | 2016-10-28 | 2020-06-26 | 和君纵达数据科技有限公司 | Streaming media access method and device |
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 |
CN106775720B (en) * | 2016-12-16 | 2020-08-07 | 北京小度互娱科技有限公司 | Method and device for integrating player SDK (software development kit) and method and device for setting player SDK |
CN108319708B (en) * | 2018-02-06 | 2020-01-14 | Oppo广东移动通信有限公司 | Video playing method and device, storage medium and electronic equipment |
CN109151586B (en) * | 2018-09-10 | 2021-06-04 | 苏宁智能终端有限公司 | Universal multimedia playing method and player |
CN110933507B (en) * | 2019-11-15 | 2022-06-03 | 深圳市酷开网络科技股份有限公司 | Playing method of third-party media content, intelligent terminal and storage medium |
CN113784220B (en) * | 2020-02-17 | 2023-08-08 | 聚好看科技股份有限公司 | Method for playing media resources, display device and mobile device |
CN113973233A (en) * | 2021-10-22 | 2022-01-25 | 深圳小湃科技有限公司 | Method, device and equipment for optimizing switching playing of multi-platform film and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5344617B2 (en) * | 2009-11-30 | 2013-11-20 | 豊 塚本 | Advertising system |
-
2015
- 2015-04-09 CN CN201510166035.7A patent/CN104811776B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104811776A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811776B (en) | Multi-medium play method and device | |
CN104267977B (en) | application program operation method and device | |
CN104469437B (en) | Advertisement sending method and device | |
CN104318741B (en) | Bluetooth equipment control method and device | |
CN106804000A (en) | Direct playing and playback method and device | |
CN103986969B (en) | application management method, device and system | |
CN103916468B (en) | Method for upgrading system, terminal, server and upgrade-system | |
CN105204894A (en) | Method and device for installing plug-in of intelligent equipment | |
CN105848190A (en) | OTA upgrading method and apparatus | |
CN107391218A (en) | Compilation Method and device, electronic equipment and computer-readable recording medium | |
CN107423106A (en) | The method and apparatus for supporting more frame grammars | |
CN104958898A (en) | Method, apparatus and system for controlling video games | |
CN107333170A (en) | The control method and device of intelligent lamp | |
CN104517621B (en) | Equipment configuration method and device | |
CN105955494A (en) | Game operation processing method, apparatus and device | |
CN106412710A (en) | Method and device for exchanging information through graphical label in live video streaming | |
CN107526591A (en) | Switch the method and apparatus of direct broadcasting room type | |
CN103970576A (en) | Installation information displaying method, obtaining method and device | |
CN107885418A (en) | Terminal, multi-screen display method and device | |
CN106503131A (en) | Obtain the method and device of interest information | |
CN106990812A (en) | USB connector and terminal device | |
CN107544802A (en) | device identification method and device | |
CN107330391A (en) | Product information reminding method and device | |
CN105094830A (en) | Method and device for executing target functions | |
CN107220059A (en) | The display methods and device of application interface |
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 |