CN109151586A - A kind of universal multimedia playback method and player - Google Patents

A kind of universal multimedia playback method and player Download PDF

Info

Publication number
CN109151586A
CN109151586A CN201811053713.9A CN201811053713A CN109151586A CN 109151586 A CN109151586 A CN 109151586A CN 201811053713 A CN201811053713 A CN 201811053713A CN 109151586 A CN109151586 A CN 109151586A
Authority
CN
China
Prior art keywords
universal
multimedia
player
plug
broadcasting
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
CN201811053713.9A
Other languages
Chinese (zh)
Other versions
CN109151586B (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.)
Suning Intelligent Terminal Co Ltd
Original Assignee
Suning Intelligent Terminal Co Ltd
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 Suning Intelligent Terminal Co Ltd filed Critical Suning Intelligent Terminal Co Ltd
Priority to CN201811053713.9A priority Critical patent/CN109151586B/en
Publication of CN109151586A publication Critical patent/CN109151586A/en
Application granted granted Critical
Publication of CN109151586B publication Critical patent/CN109151586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of universal multimedia playback method and players, and this method comprises the following steps: multimedia application connection universal multimedia player, generate playing request, and obtain the resource ID of media content;Multimedia application formulates according to the resource ID of playing request and media content and plays URL;Multimedia application adds playing request to universal multimedia player;Universal multimedia player is switched to corresponding play according to the broadcasting of multimedia application configuration and interacts;The parsing of universal multimedia player plays URL, obtains the resource ID of media content and media content, wherein the resource ID for playing interactive and media content and media content imports universal multimedia player in a manner of plug-in unit;Universal multimedia player carries out media play, and feeds back broadcast state to multimedia application.Universal multimedia playback method and player provided by the invention reduce the workload of application and development and not easy to make mistakes, carry out centralized and unified management to the business of broadcasting, reduce maintenance cost.

Description

A kind of universal multimedia playback method and player
Technical field
The present invention relates to network communication technology field, in particular to a kind of universal multimedia playback method and player.
Background technique
It is constantly popularized with the development of family internet, the network multimedia intelligence as the important entrance in family internet Meanwhile media content and the form of expression are also more and more abundant colorful.People can be seen by a variety of different multimedia software See the media content liked, part chases after play, sports show software watches broadcasting, TV shopping is soft as softened by video on demand The demonstration video of part viewing goods for purchase and watch various signal source input mediums etc..Similar these audio-visual are applied in software Upper functional, logic are complicated, especially media player module, audio-visual apply in media exhibition even if different and play logic It is upper essentially identical, but since media content is different from interactive mode is played, it is required to realize the playing function module of itself respectively, It cannot achieve general.
Different audio-visual application software is especially independently constructed between the audio-visual application in enterprise, has similar broadcasting The media player module of logic, there are the following problems:
1, complicated, identity function overlapping development increases failure rate, inefficiency;
2, playing function and upper layer application coupling are high, it is difficult to extend;
3, it independently researches and develops, maintenance cost is high.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of universal multimedia playback method and broadcastings Device is completed to play to overcome a variety of different audio-visual applications in the prior art that cannot call directly unified, general player, with And existing player plays function and upper layer application coupling it is high, be difficult to extend, the problems such as maintenance cost is high.
In order to solve the above technical problems, the technical solution adopted by the present invention is that:
On the one hand, a kind of universal multimedia playback method is provided, the method includes including the following steps:
Multimedia application connection universal multimedia player, the multimedia application generates playing request, and obtains media The resource ID of content;
The multimedia application formulates according to the resource ID of the playing request and the media content and plays URL;
The multimedia application adds playing request to the universal multimedia player;
The universal multimedia player is switched to corresponding play according to the broadcasting of multimedia application configuration and interacts, Wherein the broadcasting interaction imports the universal multimedia player in a manner of plug-in unit;
The universal multimedia player parses the broadcasting URL, obtains the resource ID of media content and media content, Described in the resource ID of media content and media content the universal multimedia player is imported in a manner of plug-in unit;
The universal multimedia player carries out media play, and feeds back broadcast state to the multimedia application.
Further, before the multimedia application connection universal multimedia player, the universal multimedia player into Row initialization.
Further, the universal multimedia player initialize and is specifically included:
Initialize the running environment of the universal multimedia player;
It scans and loads corresponding plug-in unit;
The business supported plug-in unit is registered;
Initialization is completed.
Further, the universal multimedia player parsing broadcasting URL, acquisition media content and media content Resource ID specifically includes: the universal multimedia player parses the broadcasting URL, creates corresponding content according to URL and provides Device searches the Content Provider in the universal multimedia player, obtains the resource ID of media content and media content.
It further, further include being played out to the multimedia application after the multimedia application generates playing request Configuration.
Further, described that configuration is played out to multimedia application, it includes at least: configuring the logical of the multimedia application With player interface, playback engine and play interaction.
Further, this method further includes:
Before the universal multimedia player carries out media play, the universal multimedia player is according to more matchmakers The broadcasting configuration of body application is switched to corresponding playback engine, wherein the playback engine imports described lead in a manner of plug-in unit Use multimedia player.
On the other hand, a kind of universal multimedia player for executing the universal multimedia playback method is provided, it is described Universal multimedia player includes: playback interface, plays service, content plug-in unit and interaction plug-in unit;
The playback interface, for be supplied to multimedia application and broadcastings service connection and to it is described play service into Row remote access, the playback interface is in the form of development library for multimedia application integrated debugging;
The broadcasting service loads for handling the playing request from the playback interface and manages the content and insert Part interacts plug-in unit with described, is managed collectively and is dispatched to playing task, realizes media play and passes through the playback interface Broadcast state is fed back to multimedia application;
The content plug-in unit is played for media content to be accessed the universal multimedia with the access way of plug-in unit Device;
The interactive plug-in unit imports the universal multimedia broadcasting for that will play interaction with the lead-in mode of plug-in unit Device, user individually can be updated the interactive plug-in unit according to product demand.
Further, the playback interface includes at least:
Content factory for defining the general organizational form and rule of media content, and creates according to different broadcasting URL Corresponding Content Provider;
Universal player interface, for the interface towards multimedia application, multimedia application instantiates the universal playing Device interface realizes media play, and the service of playing described in the universal player interface striding course far call is completed to play;
Interaction is played, is broadcast for providing the universal playing control towards multimedia application, described in multimedia application is settable Put the size and location of control.
Further, the broadcasting service includes at least:
Management is played, for being managed to the playing task from multimedia application, formulates broadcast strategy, described in load Content plug-in unit is initiated specific program and is played;
Interactive controlling is managed, according to broadcasting for multimedia application for loading the interactive plug-in unit, and to interaction is played Put the specified broadcasting interaction of configuration switching;
Media play is managed the broadcasting of media for being responsible for.
Technical solution provided in an embodiment of the present invention has the benefit that
1, universal multimedia playback method and player provided by the invention are imported by using the broadcasting interaction of plug-in unit Mode can be called directly for a variety of different audio-visual applications, complete to play, it is no longer necessary to which the details for realizing broadcasting subtracts significantly The workload of few application and development and not easy to make mistakes;
2, universal multimedia playback method and player provided by the invention are accessed by using the media content of plug-in unit Mode, for new broadcasting business demand, media content need to be only provided according to established rule can use provided by the invention lead to With multimedia player, it is easy to extend;
3, universal multimedia playback method and player provided by the invention, by being concentrated to different broadcasting business Unified management safeguards the playing task applied from upper Media, substantially reduces maintenance cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the flow chart of universal multimedia playback method provided in an embodiment of the present invention;
Fig. 2 is the flow chart that universal multimedia player provided in an embodiment of the present invention is initialized;
Fig. 3 is that universal multimedia playback method and player provided in an embodiment of the present invention pass through uniform resource locator (i.e. URL) obtains the flow chart of specific media content broadcast address;
Fig. 4 is the structural schematic diagram of universal multimedia player provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
The present invention is further elaborated with reference to the accompanying drawings of the specification.
Embodiment 1
As shown in Figure 1, Fig. 1 is the flow chart of universal multimedia playback method disclosed in the embodiment of the present invention 1, the method Include the following steps:
Multimedia application connection universal multimedia player, the multimedia application generates playing request, and obtains media The resource ID of content.
Specifically, multimedia application is first initialized, and after the completion of initialization, multimedia is answered after multimedia application starting It is serviced and is connected with the broadcasting of playback interface and universal multimedia player by universal multimedia player, wherein multimedia is answered It include remote procedure call protocol (RPC) with the connection type with the service of playing.User recommends position to answer in multimedia by clicking With generation playing request, and obtain the resource ID of media content, wherein media content include: on-demand content, live content, Local content and information source content etc..
Further, before the multimedia application connection universal multimedia player, the universal multimedia player into Row initialization.
Further, referring to Fig. 2, the universal multimedia player carries out initialization and specifically includes:
Initialize the running environment of the universal multimedia player;
Corresponding plug-in unit is scanned and loads, wherein the plug-in package includes: content plug-in unit, interaction plug-in unit and engine plug-in unit;
The business supported plug-in unit is registered;
Initialization is completed.
After the completion of the universal multimedia player initialization, into the shape for waiting media application to be added to it playing task State.
Specifically, including several Content Providers in content plug-in unit, content plug-in unit is by the universal multimedia player After load, the Content Provider in content plug-in unit can be registered in the content factory in universal multimedia player, convenient Later period finds corresponding Content Provider, and realizes that universal media player can flexible, infinite expanding on media content. Include several playback engine in engine plug-in unit likewise, include that several play interaction in interaction plug-in unit, interaction plug-in unit and draws Hold up after plug-in unit is loaded, the broadcasting in interaction plug-in unit is interactive and engine plug-in unit in playback engine also need to be in the universal multimedia It is registered in player, the interaction of broadcasting needed for facilitating subsequent calls multimedia application and playback engine.Wherein, interaction is played It include: to play interaction, interactive, the information source interaction of local broadcasting etc. online.
It further, further include being played out to the multimedia application after the multimedia application generates playing request Configuration.
Further, described that configuration is played out to multimedia application, it includes at least: configuring the logical of the multimedia application With player interface, playback engine and play interaction.
Specifically, described, to play out configuration to multimedia application include: creation universal player interface, is configured described logical With player interface, user is created by the universal player interface and plays view, is configured and is broadcast required for multimedia application Put interaction, playback engine etc..
The multimedia application formulates according to the resource ID of the playing request and the media content and plays URL.
Specifically, the multimedia application is according to the resource ID of the playing request and the media content with uniform rules It formulates and plays URL (i.e. uniform resource locator), this plays URL as parameter and the starting of universal player interface is called to play.This The benefit of sample setting is that the media content of different business is allowed to pass through the link (<service groups>: ///<business of unified format Class>/<traffic ID>? adeditive attribute) it makes requests.
The multimedia application adds playing request to the universal multimedia player.
Specifically, adding and playing to the universal multimedia player after the multimedia application sets broadcasting link Request after the universal multimedia player receives the playing request, using Content Provider and plays configuration as item Part creation playing task is simultaneously added in broadcasting service role management queue.If being currently that idle state (is not being held Capable task), then the playing task is immediately treated, playing task is started.Treatment process specifically includes following:
The universal multimedia player is switched to corresponding play according to the broadcasting of multimedia application configuration and interacts, Wherein the broadcasting interaction imports the universal multimedia player in a manner of plug-in unit.
When specific operation, the broadcasting interaction can be used interactive plug-in unit and realize importing.Interaction plug-in unit is related to incoming event Processing, view focus management and view definition and view structure, each interaction plug-in unit have a determining name, interaction plug-in unit The registration to the service of playing is completed when being loaded, the broadcasting of specified title is arranged by universal player interface for multimedia application Interaction.
What needs to be explained here is that universal multimedia playback method of the invention and player are handed over when realizing using standard Mutually, default if the specified broadcasting interaction of multimedia application using standard interaction, if multimedia application specifies broadcasting interaction, The broadcasting interaction that multimedia application needs then is imported by the way of plug-in unit the broadcasting service of universal multimedia player In.The setting of interaction plug-in unit, so that multimedia application can easily realize transformation, customization based on standard interaction.
The universal multimedia player parses the broadcasting URL, obtains the resource ID of media content and media content, Described in the resource ID of media content and media content the universal multimedia player is imported in a manner of plug-in unit.
Further, the universal multimedia player parsing broadcasting URL, acquisition media content and media content Resource ID specifically includes: the universal multimedia player parses the broadcasting URL, creates corresponding content according to URL and provides Device searches the Content Provider in the universal multimedia player, obtains the resource ID of media content and media content.
Specifically, content plug-in unit, which can be used, in the resource ID of the media content and media content realizes access.Content plug-in unit Including several Content Providers, content plug-in unit is related to the acquisition and update of specific program/collection of drama, each content plug-in unit branch One or more broadcasting business are held, service loading content plug-in unit is played and the broadcasting business supported it carries out registration management. Does the media content of different business pass through the link (<service groups>: ///<service class>/<traffic ID>of unified format? adeditive attribute) It makes requests.
Referring to shown in Fig. 3, Fig. 3 is to obtain specific media content broadcast address by uniform resource locator (i.e. URL) Flow chart.The universal player interface is called in the multimedia application, is passed to parameter:<service groups>: ///<service class>/< Traffic ID >? adeditive attribute, the universal multimedia player parses the broadcasting URL, by the service groups of the URL parsed Matched content factory is searched in the content factory library in the universal multimedia player, if the service groups content factory is Registration, then content factory passes through service class, traffic ID and adeditive attribute the creation Content Provider parsed, obtains media content And the resource ID of media content, the Content Provider provide final media play address, update universal player program letter Breath.
Further, this method further includes:
Before the universal multimedia player carries out media play, the universal multimedia player is according to more matchmakers The broadcasting configuration of body application is switched to corresponding playback engine, wherein the playback engine imports described lead in a manner of plug-in unit Use multimedia player.
What needs to be explained here is that default uses system when universal multimedia playback method of the invention and player are realized Playback engine.That is, default if the not specified playback engine of multimedia application using system plays engine, still, if Multimedia application specifies specific playback engine and carries out media play, then is needed multimedia application by the way of plug-in unit Playback engine be linked into universal multimedia player broadcasting service in, and pass through engine plug-in unit realize playback engine expansion Exhibition.Playback engine frame provides the playback interface that customized engine needs to realize, and connects to registration, the detection of engine plug-in unit Mouthful.Multimedia application may specify that specific engine carries out media play.
The universal multimedia player carries out media play, and feeds back broadcast state to the multimedia application.
Specifically, the multimedia application monitors broadcast state after entering broadcast state, if user initiates to play control (such as Pause, stopping broadcasting etc.), then the multimedia application responds user and plays control, and user's broadcasting is controlled and is added to described lead to With multimedia player, the universal multimedia player executes Client-initiated and plays control.The universal multimedia plays While device carries out media play, service is played by playback interface to broadcast state is fed back in the multimedia application, progress becomes Change the signals such as information.
Referring to fig. 4, the embodiment of the invention provides a kind of universal multimedias for executing the universal multimedia playback method Player, the universal multimedia player include: playback interface, play service, content plug-in unit and interaction plug-in unit;
The playback interface, for be supplied to multimedia application and broadcastings service connection and to it is described play service into Row remote access, the playback interface is in the form of development library for multimedia application integrated debugging.Wherein multimedia application with broadcast The connection type for putting service includes remote procedure call protocol (RPC)
The broadcasting service loads for handling the playing request from the playback interface and manages the content and insert Part interacts plug-in unit with described, is managed collectively and is dispatched to playing task, realizes media play and passes through the playback interface Broadcast state is fed back to multimedia application, it is described to play the specific implementation side that service is broadcasting logic.
The content plug-in unit is played for media content to be accessed the universal multimedia with the access way of plug-in unit Device.
Specifically, including several Content Providers in content plug-in unit, Content Provider is with providing final media play Location.Content plug-in unit is related to the acquisition and update of specific program/collection of drama, each content plug-in unit supports one or more broadcasting industry Business, plays service loading content plug-in unit and the broadcasting business supported it carries out registration management, and the later period is facilitated to find accordingly Content Provider, and realize universal media player on media content can flexibly, infinite expanding.
The interactive plug-in unit imports the universal multimedia broadcasting for that will play interaction with the lead-in mode of plug-in unit Device, user individually can be updated the interactive plug-in unit according to product demand.
Specifically, including that several play interaction in interaction plug-in unit, wherein playing interaction includes: online to play interaction, originally Ground plays interaction, information source interaction etc..Interaction plug-in unit is related to incoming event processing, view focus management and view definition and view Structure, each interaction plug-in unit have a determining name, and interaction plug-in unit completes the registration to the service of playing when being loaded, more The broadcasting interaction of specified title is arranged by universal player interface for media application.
The universal multimedia player further include:
Engine plug-in unit, for playback engine to be imported the universal multimedia player with the lead-in mode of plug-in unit.
Specifically, including several playback engine, the broadcasting after engine plug-in unit is loaded, in engine plug-in unit in engine plug-in unit Engine need to be registered in the universal multimedia player, and subsequent configured according to the broadcasting of the multimedia application is facilitated to adjust With corresponding playback engine.
Further, the playback interface includes at least:
Content factory for defining the general organizational form and rule of media content, and creates according to different broadcasting URL Corresponding Content Provider.
Specifically, the broadcasting business that content plug-in unit is supported need to be in content factory after playing service loading content plug-in unit Registration management is carried out, subsequent lookup is facilitated to call.It is realized in corresponding that is, the introducing of media content need to defer to established rule Hold factory and Content Provider, and is registered.
Universal player interface, for the interface towards multimedia application, multimedia application instantiates the universal playing Device interface realizes media play, and the service of playing described in the universal player interface striding course far call is completed to play.
Specifically, the universal player interface is connect with the universal playing interface of the multimedia application, to make institute It states multimedia application and broadcasting service connects.
Interaction is played, is broadcast for providing the universal playing control towards multimedia application, described in multimedia application is settable Put the size and location of control.
Specifically, broadcasting interaction described herein is standard interaction, interactive specific implementation relies on the service of broadcasting and can be into Row customization.When it is implemented, can import what multimedia application needed by interaction plug-in unit according to the broadcasting configuration of multimedia application Play interaction.
In addition, the playback interface further include:
Basic data module, for define general broadcasting it is relevant basis=
Further, the broadcasting service includes at least:
Management is played, for being managed to the playing task from multimedia application, formulates broadcast strategy, described in load Content plug-in unit is initiated specific program and is played.
Specifically, playing management loads the content plug-in unit, and the playing task from multimedia application is managed, Including being initialized to playing task, loading collection of drama and being controlled etc. playing task.Configuration to different playing tasks It is managed.It formulates broadcast strategy, initiate specific program broadcasting.
Interactive controlling is managed, according to broadcasting for multimedia application for loading the interactive plug-in unit, and to interaction is played Put the specified broadcasting interaction of configuration switching.
What needs to be explained here is that using standard interaction when universal multimedia player of the invention is realized, if multimedia Then default using specified broadcasting interaction using standard interaction, if multimedia application specifies broadcasting interaction, using plug-in unit The broadcasting interaction that multimedia application needs is imported into the broadcasting service of universal multimedia player by the mode of change.Interaction plug-in unit Setting so that multimedia application can based on standard interaction easily realize transformation, customization.
Media play is managed the broadcasting of media for being responsible for, including broadcast state is safeguarded, player management, broadcast Put the parts such as screen management.
In addition to this, the broadcasting service further include:
State notifying is managed for the state to the universal player and reports to the multimedia application.
Engine management is broadcast for loading the engine plug-in unit, and according to the broadcasting configuration switching of multimedia application is specified Put engine.
What needs to be explained here is that default uses system when universal multimedia playback method of the invention and player are realized Playback engine.That is, default if the not specified playback engine of multimedia application using system plays engine, still, if Multimedia application specifies specific playback engine and carries out media play, then is needed multimedia application by the way of plug-in unit Playback engine be linked into universal multimedia player broadcasting service in, and pass through engine plug-in unit realize playback engine expansion Exhibition.Playback engine frame provides the playback interface that customized engine needs to realize, and connects to registration, the detection of engine plug-in unit Mouthful.Multimedia application may specify that specific engine carries out media play.
In conclusion technical solution provided in an embodiment of the present invention has the benefit that
1, provided by the invention by universal multimedia playback method and player, by using the broadcasting interaction of plug-in unit Lead-in mode can be called directly for a variety of different audio-visual applications, complete to play, it is no longer necessary to realize the details of broadcasting, greatly The big workload for reducing application and development and not easy to make mistakes;
2, provided by the invention by universal multimedia playback method and player, by using the media content of plug-in unit Access way, for new broadcasting business demand, media content need to be only provided according to established rule to use the present invention to provide Universal multimedia player, be easy to extend;
3, provided by the invention by universal multimedia playback method and player, by different broadcasting business progress Centralized and unified management safeguards the playing task applied from upper Media, substantially reduces maintenance cost.
It should be understood that universal multimedia player provided by the above embodiment is when triggering broadcasting business, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of player is divided into different functional modules, to complete whole described above Or partial function.In addition, universal multimedia player provided by the above embodiment and universal multimedia playback method embodiment Belong to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of universal multimedia playback method, which is characterized in that described method includes following steps:
Multimedia application connection universal multimedia player, the multimedia application generates playing request, and obtains media content Resource ID;
The multimedia application formulates according to the resource ID of the playing request and the media content and plays URL;
The multimedia application adds playing request to the universal multimedia player;
The universal multimedia player is switched to corresponding play according to the broadcasting of multimedia application configuration and interacts, wherein The broadcasting interaction imports the universal multimedia player in a manner of plug-in unit;
The universal multimedia player parses the broadcasting URL, obtains the resource ID of media content and media content, wherein institute The resource ID for stating media content and media content imports the universal multimedia player in a manner of plug-in unit;
The universal multimedia player carries out media play, and feeds back broadcast state to the multimedia application.
2. universal multimedia playback method according to claim 1, which is characterized in that the multimedia application connection universal Before multimedia player, the universal multimedia player is initialized.
3. universal multimedia playback method according to claim 2, it is characterised in that: the universal multimedia player into Row initialization specifically includes:
Initialize the running environment of the universal multimedia player;
It scans and loads corresponding plug-in unit;
The business supported plug-in unit is registered;
Initialization is completed.
4. universal multimedia playback method according to claim 1, it is characterised in that: the universal multimedia player solution The broadcasting URL is analysed, the resource ID for obtaining media content and media content specifically includes: the universal multimedia player parsing The broadcasting URL creates corresponding Content Provider according to URL, searches the content in the universal multimedia player and mention For device, the resource ID of media content and media content is obtained.
5. universal multimedia playback method according to claim 1, it is characterised in that: the multimedia application, which generates, to play It further include that configuration is played out to the multimedia application after request.
6. universal multimedia playback method according to claim 5, it is characterised in that: described to be broadcast to multimedia application Configuration is put, is included at least: configuring universal player interface, playback engine and the broadcasting interaction of the multimedia application.
7. universal multimedia playback method according to claim 1, it is characterised in that: this method further include:
Before the universal multimedia player carries out media play, the universal multimedia player is answered according to the multimedia Broadcasting configuration be switched to corresponding playback engine, wherein the playback engine imported in a manner of plug-in unit it is described general more Media player.
8. a kind of perform claim requires the universal multimedia player of universal multimedia playback method described in 1 to 7 any one, It is characterized in that:
The universal multimedia player includes: playback interface, plays service, content plug-in unit and interaction plug-in unit;
The playback interface, for being supplied to multimedia application and broadcasting service connection and being carried out to broadcasting service remote Journey access, the playback interface is in the form of development library for multimedia application integrated debugging;
Broadcasting service, for handle the playing request from the playback interface, load and manage the content plug-in unit and The interactive plug-in unit, is managed collectively playing task and is dispatched, and realizes media play and by the playback interface to more Media application feeds back broadcast state;
The content plug-in unit, for media content to be accessed the universal multimedia player with the access way of plug-in unit;
The interactive plug-in unit imports the universal multimedia player for that will play interaction with the lead-in mode of plug-in unit, uses Family individually can be updated the interactive plug-in unit according to product demand.
9. universal multimedia player according to claim 8, which is characterized in that the playback interface includes at least:
Content factory for defining the general organizational form and rule of media content, and creates accordingly according to different broadcasting URL Content Provider;
Universal player interface, for the interface towards multimedia application, multimedia application instantiates the universal player and connects Cause for gossip shows media play, and the service of playing described in the universal player interface striding course far call is completed to play;
Interaction is played, for providing the universal playing control towards multimedia application, the settable broadcasting control of multimedia application The size and location of part.
10. according to universal multimedia player described in claim 8 to 9 any one, which is characterized in that the broadcasting service It includes at least:
Management is played, for being managed to the playing task from multimedia application, broadcast strategy is formulated, loads the content Plug-in unit is initiated specific program and is played;
Interactive controlling is managed for loading the interactive plug-in unit, and to interaction is played, is matched according to the broadcasting of multimedia application Set the specified broadcasting interaction of switching;
Media play is managed the broadcasting of media for being responsible for.
CN201811053713.9A 2018-09-10 2018-09-10 Universal multimedia playing method and player Active CN109151586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811053713.9A CN109151586B (en) 2018-09-10 2018-09-10 Universal multimedia playing method and player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811053713.9A CN109151586B (en) 2018-09-10 2018-09-10 Universal multimedia playing method and player

Publications (2)

Publication Number Publication Date
CN109151586A true CN109151586A (en) 2019-01-04
CN109151586B CN109151586B (en) 2021-06-04

Family

ID=64824447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811053713.9A Active CN109151586B (en) 2018-09-10 2018-09-10 Universal multimedia playing method and player

Country Status (1)

Country Link
CN (1) CN109151586B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367558A (en) * 2020-10-29 2021-02-12 深圳Tcl新技术有限公司 Application start-up acceleration method, intelligent playing device 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
CN114296838A (en) * 2021-12-29 2022-04-08 阿波罗智联(北京)科技有限公司 Vehicle-mounted multimedia application management method and device, electronic equipment and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106356A1 (en) * 2007-10-19 2009-04-23 Swarmcast, Inc. Media playback point seeking using data range requests
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN103313111A (en) * 2012-10-29 2013-09-18 中兴通讯股份有限公司 Media playing method and device
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN104811776A (en) * 2015-04-09 2015-07-29 小米科技有限责任公司 Multimedia playing method and device
CN105704505A (en) * 2016-02-03 2016-06-22 国家新闻出版广电总局广播科学研究院 Method and intelligent television terminal for supporting all media playing in intelligent television operating system
CN106453939A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Streaming media access method and apparatus
CN106791953A (en) * 2016-12-22 2017-05-31 北京奇艺世纪科技有限公司 Many player control methods, server and client
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
US20170250882A1 (en) * 2016-02-29 2017-08-31 Wowza Media Systems, LLC Media player analytics
CN107690084A (en) * 2017-04-11 2018-02-13 腾讯科技(北京)有限公司 The playing method and device of media file
US20180173391A1 (en) * 2013-04-23 2018-06-21 Amazon Technologies, Inc. Customizable Media Player Framework

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106356A1 (en) * 2007-10-19 2009-04-23 Swarmcast, Inc. Media playback point seeking using data range requests
CN102647629A (en) * 2012-04-27 2012-08-22 北京人民广播电台 Content playing method and content playing device
CN102665129A (en) * 2012-04-27 2012-09-12 北京人民广播电台 Played content-customizing method and played content-customizing device
CN103313111A (en) * 2012-10-29 2013-09-18 中兴通讯股份有限公司 Media playing method and device
US20180173391A1 (en) * 2013-04-23 2018-06-21 Amazon Technologies, Inc. Customizable Media Player Framework
CN104333808A (en) * 2014-11-14 2015-02-04 复旦大学 General player applied to Android and Linux smart televisiosn
CN104811776A (en) * 2015-04-09 2015-07-29 小米科技有限责任公司 Multimedia playing method and device
CN105704505A (en) * 2016-02-03 2016-06-22 国家新闻出版广电总局广播科学研究院 Method and intelligent television terminal for supporting all media playing in intelligent television operating system
US20170250882A1 (en) * 2016-02-29 2017-08-31 Wowza Media Systems, LLC Media player analytics
CN106453939A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Streaming media access method and apparatus
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
CN106791953A (en) * 2016-12-22 2017-05-31 北京奇艺世纪科技有限公司 Many player control methods, server and client
CN107690084A (en) * 2017-04-11 2018-02-13 腾讯科技(北京)有限公司 The playing method and device of media file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马思超: ""流媒体业务中间件之嵌入式播放器的设计与实现"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367558A (en) * 2020-10-29 2021-02-12 深圳Tcl新技术有限公司 Application start-up acceleration method, intelligent playing device and storage medium
CN112367558B (en) * 2020-10-29 2023-12-05 深圳Tcl新技术有限公司 Application playing acceleration method, intelligent playing device 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
CN114296838A (en) * 2021-12-29 2022-04-08 阿波罗智联(北京)科技有限公司 Vehicle-mounted multimedia application management method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN109151586B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN103748895B (en) Reception device, method of reseptance and information processing system
US20190026390A1 (en) Information processing device and information processing method
US10382837B2 (en) Linking and browsing media on television
US8850507B2 (en) Method and apparatus for browsing using alternative linkbases
CN101194505B (en) system and method for video-rich navigation
US8903863B2 (en) User interface with available multimedia content from multiple multimedia websites
US20160007064A1 (en) Transmission apparatus and method, reception apparatus and method, and transmission and reception system
US20150135214A1 (en) Method and apparatus for browsing using alternative linkbases
US20120054268A1 (en) Transmission apparatus and method, reception apparatus and method, and transmission and reception system
US20150135206A1 (en) Method and apparatus for browsing using alternative linkbases
US20030217369A1 (en) Flexible application information formulation
JPWO2014125947A1 (en) Information processing apparatus, information processing method, and information processing system
CN109151586A (en) A kind of universal multimedia playback method and player
CN105187943B (en) Television channel method of adding and device
CN110544475B (en) Method for implementing multi-voice assistant
Yim et al. The Implementation of a Web System for the Remote Management of IPTV Contents

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant