CN110087133B - Multimedia resource playing method and device, electronic equipment and medium - Google Patents

Multimedia resource playing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN110087133B
CN110087133B CN201910357360.XA CN201910357360A CN110087133B CN 110087133 B CN110087133 B CN 110087133B CN 201910357360 A CN201910357360 A CN 201910357360A CN 110087133 B CN110087133 B CN 110087133B
Authority
CN
China
Prior art keywords
playing
multimedia resource
application program
application
push message
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
Application number
CN201910357360.XA
Other languages
Chinese (zh)
Other versions
CN110087133A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910357360.XA priority Critical patent/CN110087133B/en
Publication of CN110087133A publication Critical patent/CN110087133A/en
Application granted granted Critical
Publication of CN110087133B publication Critical patent/CN110087133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a multimedia resource playing method and device, electronic equipment and a computer readable medium. Wherein the method comprises the following steps: when a first application program plays a first multimedia resource, acquiring a push message received by a second application program, wherein the push message is used for pushing the second multimedia resource; updating the playlist of the first application program according to the push message; and according to the play list, after the first multimedia resource is stopped playing, playing the second multimedia resource through the first application program. According to the method, on one hand, the second multimedia resource can be automatically played without manually switching to the second application program by the user, the operation is simple, the playing efficiency can be effectively improved, and on the other hand, the problem that important messages transmitted by the second multimedia resource are missed due to the fact that the user does not quit the first application program can be avoided by automatically playing the second multimedia resource.

Description

Multimedia resource playing method and device, electronic equipment and medium
Technical Field
The present application relates to the field of multimedia playing technologies, and in particular, to a multimedia resource playing method and apparatus, an electronic device, and a computer readable medium.
Background
With the rapid development of internet technology and the popularization of mobile terminals such as mobile phones, channels through which people communicate with each other and share information become faster and more rapid, a series of application programs such as blogs, instant messaging, news information, music playing, video playing, WiFi connection and the like all provide a multimedia resource sharing function, and users can record and share multimedia resources such as videos, voices and the like anytime and anywhere and view the multimedia resources shared by others.
However, in practical applications, the above applications are independent of each other, for example, when a user watches a video in application a, if application B receives a video message, the user needs to exit application a and then open application B to view the video message in application B, which is complicated and inefficient in operation.
Disclosure of Invention
The application aims to provide a multimedia resource playing method and device, electronic equipment and a computer readable medium.
A first aspect of the present application provides a multimedia resource playing method, including: when a first application program plays a first multimedia resource, acquiring a push message received by a second application program, wherein the push message is used for pushing the second multimedia resource; updating a playlist of the first application program according to the push message, wherein the second multimedia resource comprises a multimedia resource issued in the second application program by an associated user of a current user of the first application program, and the current user and the associated user are associated through the second application program; and according to the play list, after the first multimedia resource is stopped playing, playing the second multimedia resource through the first application program.
A second aspect of the present application provides a multimedia resource playing apparatus, including: the system comprises a push message acquisition module, a push message acquisition module and a push message processing module, wherein the push message acquisition module is used for acquiring a push message received by a second application program when the first application program plays a first multimedia resource, and the push message is used for pushing a second multimedia resource; a playlist updating module, configured to update a playlist of the first application according to the push message, where the second multimedia resource includes a multimedia resource issued in the second application by an associated user of a current user of the first application, and the current user and the associated user are associated with each other through the second application; and the second resource playing module is used for playing the second multimedia resource through the first application program after the playing of the first multimedia resource is stopped according to the playing list.
A third aspect of the present application provides an electronic device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the computer program when executing the computer program to perform the method of the first aspect of the application.
A fourth aspect of the present application provides a computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of the first aspect of the present application.
Compared with the prior art, the multimedia resource playing method provided by the first aspect of the present application obtains the push message for pushing the second multimedia resource received by the second application program when the first application program plays the first multimedia resource, and updating a playlist of the first application according to the push message, and updating the first application according to the playlist, after the playing of the first multimedia resource is stopped, the second multimedia resource is continuously played through the first application program, on one hand, the second multimedia resource can be automatically played without manually switching to the second application program by a user, the operation is simple, the playing efficiency can be effectively improved, on the other hand, by automatically playing the second multimedia resource, the problem that the user does not exit the first application program and therefore misses the important message transmitted by the second multimedia resource can be avoided.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 illustrates a flow chart of a multimedia asset playing method provided by some embodiments of the present application;
FIG. 2 illustrates a display effect diagram of a playlist provided by some embodiments of the present application;
FIG. 3 illustrates a display effect diagram of an updated playlist provided by some embodiments of the present application;
FIG. 4 is a schematic diagram illustrating a display effect of a first prompt message according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a multimedia asset playback device provided in some embodiments of the present application;
FIG. 6 illustrates a schematic diagram of an electronic device provided by some embodiments of the present application;
FIG. 7 illustrates a schematic diagram of a computer-readable medium provided by some embodiments of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first" and "second", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a multimedia resource playing method and device, an electronic device and a computer readable medium, which are described below with reference to the accompanying drawings.
Referring to fig. 1, which illustrates a flowchart of a multimedia asset playing method according to some embodiments of the present application, as shown in the figure, the multimedia asset playing method may include the following steps:
step S101: and when the first application program plays the first multimedia resource, acquiring a push message received by the second application program, wherein the push message is used for pushing the second multimedia resource. The first application and the second application may run independently of each other.
It should be noted that the multimedia resource playing method provided in the embodiment of the present application may be applied to a client, where the client may include hardware or software. When the client includes hardware, it may be various electronic devices having a display screen and supporting information interaction, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like, and may run a first application and a second application. When the client comprises software, it may be installed in the electronic device listed above, it may be implemented as a plurality of software or software modules, or as a single software or software module, for example, the software may be the first application. The embodiments of the present application are not particularly limited.
In some embodiments, the obtaining the push message received by the second application may include:
and monitoring the push message received by the second Application program through an Application Programming Interface (API) authorized by the second Application program.
For example, the first application may obtain an access right of an application programming interface authorized by the second application in advance, and then listen to a push message received by the second application through the application programming interface authorized by the second application.
Through the implementation, the push message received by the second application program can be acquired by changing the application program authorized by the second application program into an interface.
It should be noted that there are a plurality of push messages received by the second application, and therefore, in some modified embodiments, a push message for pushing the second multimedia resource may be selected from the monitored push messages.
In other embodiments, if the second application does not authorize the first application to access the api, the first application may also monitor a notification message in the os (e.g., in the Android os, the notification message of the os may be monitored through a notifiationlistenerservice service), and identify the push message received by the second application from the notification message. The above are exemplary embodiments of the present application, and those skilled in the art can flexibly modify and implement the embodiments in combination with actual requirements based on the above description, and the embodiments of the present application are not limited thereto, and all of them should be within the scope of the present application.
Step S102: and updating the play list of the first application program according to the push message, wherein the second multimedia resource comprises a multimedia resource released in the second application program by an associated user of a current user of the first application program, and the current user and the associated user are associated through the second application program.
In this embodiment of the application, the associated user may be a friend user of the current user in the second application program, or a user who pays attention to the current user in the second application program, which is not limited in this embodiment of the application.
It should be noted that, in some embodiments, the first application and the second application may use user accounts that are common to each other, and the associated user may be associated with the current user in the second application or the current user in the first application, which is not limited in this embodiment of the present application.
In some implementations of the embodiment of the present application, the push information may include playing information (e.g., a resource name, a playing link, etc.) of the second multimedia resource, and in this step S102, the playing information may be added to a playlist of the first application program to update the playlist.
Step S103: and according to the play list, after the first multimedia resource is stopped playing, playing the second multimedia resource through the first application program.
In some embodiments, the step S102 may include: adding the playing information of the second multimedia resource to the playing list of the first application program, wherein the adding position of the playing information is positioned behind the playing information of the first multimedia resource; accordingly, the step S103 may include: and according to the play list, after the first multimedia resource is played, playing the second multimedia resource in the first application program according to the playing information of the second multimedia resource.
For convenience of understanding, in some modified embodiments, the playlist may be further graphically displayed, for example, please refer to fig. 2, which shows a schematic diagram of a display effect of a playlist provided in some embodiments of the present application, where the application a in fig. 2 is the first application, the video a is the first multimedia resource, the playlist is graphically displayed above a playing interface of the video a, and in the graphically displayed playlist, each progress bar sequentially represents a video a, a video B, a video C, a video D, and a video E, respectively, where the video a is the first multimedia resource currently being played, and a current playing progress is displayed in a progress bar corresponding to the video a.
On the basis of fig. 2, if the application a obtains the push message for the video X received by the application B, after the play information of the video X is added to the video a in the playlist, please refer to fig. 3, which shows a schematic diagram of a display effect of an updated playlist provided in some embodiments of the present application, as shown in the figure, after the playlist is updated, the play information of the video X is already added between the original video a and the video B, so that the video X can be continuously played after the current video a is played.
In the multimedia resource playing method provided in the above embodiment of the present application, when the first application program plays the first multimedia resource, the push message for pushing the second multimedia resource received by the second application program is obtained, and updating a playlist of the first application according to the push message, and updating the first application according to the playlist, after the playing of the first multimedia resource is stopped, the second multimedia resource is continuously played through the first application program, on one hand, the second multimedia resource can be automatically played without manually switching to the second application program by a user, the operation is simple, the playing efficiency can be effectively improved, on the other hand, by automatically playing the second multimedia resource, the problem that the user does not exit the first application program and therefore misses the important message transmitted by the second multimedia resource can be avoided.
In some modifications of the embodiments of the present application, before step S102, the method may further include: displaying first prompt information on a playing interface of the first multimedia resource, wherein the first prompt information is used for prompting whether the second multimedia resource is played in the first application program or not and prompting to release description information of an associated user of the second multimedia resource;
and responding to the play confirmation operation input by the user aiming at the first prompt message, and triggering the step of updating the play list of the first application program according to the push message.
For convenience of understanding, please refer to fig. 4, which shows a schematic diagram of a display effect of a first prompt message provided by some embodiments of the present application, as shown in fig. 4, on the basis of fig. 2, if an application a obtains a push message for a video X received by an application B, the application a may pop up the first prompt message on a play interface of the current video a, where an example of the first prompt message is shown in fig. 4, it is easily understood that a specific content, a style, a display position, and the like of the first prompt message are not limited in this application embodiment, and those skilled in the art may flexibly set according to actual needs, and all of them should be within the protection scope of the present application.
As shown in fig. 4, the current user may input a play confirmation operation (e.g., click the first prompt message) to trigger the step S102, and may also input a play rejection operation (e.g., slide the first prompt message to the left), and may cancel playing the video X, that is, continue playing as the original playlist without triggering the step S102.
By the implementation mode, the current user can autonomously decide whether to play the second multimedia resource in the first application program, autonomous selection rights are provided for the user, and diversified requirements of the user are met.
It should be noted that, in the embodiment of the present application, the multimedia resource may be a video (including a long video, a short video, and the like) or an audio, and the embodiment of the present application is not limited. The first multimedia resource may be played after the first multimedia resource is stopped, or after the first multimedia resource is stopped (naturally stopped), the first multimedia resource may be stopped (forcibly stopped), and the first multimedia resource is within the protection scope of the present application.
For example, the first multimedia asset and the second multimedia asset may both be short videos, so that after the first multimedia asset is played, the second multimedia asset is played continuously.
For another example, the first multimedia asset may be a long video (e.g., a tv show, a movie, etc.), the second multimedia asset may be a short video, and at this time, if the short video is played after the long video is played, it may cause the current user to miss an important message with stronger real-time property, which is delivered by the short video, and therefore, in some modified embodiments, the updating the playlist of the first application according to the push message may include:
determining the playing stopping time of the first multimedia resource;
in the play list of the first application program, updating the play information of the first multimedia resource according to the play stopping moment;
adding the playing information of the second multimedia resource after the updated playing information of the first multimedia resource;
and adding continuous playing information of the first multimedia resource after the playing information of the second multimedia resource, wherein the starting playing time of the continuous playing information is the playing stopping time.
Through the implementation mode, the playing of the first multimedia resource can be suspended, and the playing of the second multimedia resource can be interrupted, so that the second multimedia resource can be played in time, and important information can be prevented from being missed.
It is to be easily understood that, on the basis of the above embodiments, in some modified embodiments, the playing, by the first application program, the second multimedia asset after the playing of the first multimedia asset is stopped according to the playlist may include:
and according to the play list, stopping playing the first multimedia resource at the playing stopping moment, and playing the second multimedia resource in the first application program.
Furthermore, on the basis of the above embodiments, in some variations, the method may further include:
and after the second multimedia resource is played, according to the continuous playing information of the first multimedia resource, continuing to play the first multimedia resource from the playing stopping moment.
Through the embodiment, the first multimedia resource can be continuously and automatically played after the second multimedia resource is played, so that the playing continuity and fluency of the first multimedia resource are ensured to the maximum extent, and the use experience of a user is improved.
In some modified embodiments of the embodiment of the present application, the determining of the playing suspension time of the first multimedia resource may be determining the current playing time of the first multimedia resource as the playing suspension time, or determining a first time after a preset time length after the current playing time of the first multimedia resource as the playing suspension time, or determining a second time when the time-sharing playing heat meets a preset condition after the current playing time as the playing suspension time according to the time-sharing playing heat information of the first multimedia resource, which is not limited in the embodiment of the present application, and all of the times should be within a protection range of the present application.
For example, the current playing time of the first multimedia resource is determined as the playing stopping time, the playing of the first multimedia resource can be stopped immediately, the playing of the second multimedia resource can be played immediately, and the playing real-time performance of the second multimedia resource can be ensured to the maximum extent.
For another example, the first time after the preset duration after the current playing time of the first multimedia resource is determined as the playing suspension time, a buffer period may be provided for the current user, and the second multimedia resource is played after the preset duration. The preset time duration can be flexibly set according to actual requirements, for example, 5 seconds, 10 seconds, 20 seconds and the like, and the embodiment of the application is not limited.
For another example, a second time, at which the time-sharing playing popularity meets the preset condition after the current playing time, may be determined as the playing stopping time according to the time-sharing playing popularity information of the first multimedia resource, where the time-sharing playing popularity information may be determined according to the audience rating of each time interval (for example, a video of 60 minutes may be divided into 60 time intervals, each time interval is 1 minute, or the time intervals may be divided according to the playing node of the first multimedia resource, which is not limited in this embodiment of the present application), the interactive popularity (for example, the popularity of a bullet screen in a certain period indicates that the time interval is high), the playing times (the playing times may indicate that the playing popularity of the time interval is high) and the like, in this embodiment, the second multimedia resource may be inserted in the time interval with low popularity, so as to reduce the adverse effect of the insertion process on the current user to watch the first multimedia resource to the maximum extent, and the user experience is improved.
In other modified embodiments of the embodiment of the present application, before updating, in the playlist of the first application program, the playing information of the first multimedia asset according to the playing suspension time, the method may further include:
displaying second prompt information on a playing interface of the first multimedia resource, wherein the second prompt information is used for prompting whether to insert the second multimedia resource after the playing stopping moment;
and responding to the confirmed inter-cut operation input by the user aiming at the second prompt message, and triggering the step of updating the playing message of the first multimedia resource in the playing list of the first application program according to the playing stopping moment.
By the implementation mode, the current user can independently determine whether the second multimedia resource is inserted into the first application program, independent selection rights are provided for the user, and diversified requirements of the user are met.
In addition, it should be noted that the multimedia resource described in the embodiment of the present application may also be audio, text, and the like, for example, the first application program may be a music playing application, the first multimedia resource may be music played in the music playing application, the second application program may be an instant messaging application, and the second multimedia resource may be a voice message received in the instant messaging application, and by using the embodiment of the present application, the voice message may be played after the current music playing is completed, so as to prevent a user from missing an important instant messaging message; in addition, the playing of the current music can be paused, and the voice message is inserted, so that the instant communication message can be played more timely, and the user is prevented from missing the instant communication message with stronger real-time property.
As a modified implementation of the foregoing implementation, the second multimedia resource may also be a text message in an instant messaging application, and according to the embodiment of the present application, a text-to-speech playing engine may also be used to play or insert the text message in a speech form, so as to prevent a user from missing an important instant messaging message. The above are exemplary illustrations of the embodiments of the present application, and those skilled in the art can flexibly modify the implementation based on the above exemplary illustrations to achieve the purposes of the embodiments of the present application, which should be considered to be within the scope of the present application.
In the foregoing embodiment, a multimedia resource playing method is provided, and correspondingly, the present application also provides a multimedia resource playing apparatus. The multimedia resource playing device provided by the embodiment of the application can implement the multimedia resource playing method, and the multimedia resource playing device can be implemented through software, hardware or a combination of software and hardware. For example, the multimedia asset playback device may comprise integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 5, which illustrates a schematic diagram of a multimedia asset playing apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 5, the multimedia asset playing apparatus 10 may include:
a push message obtaining module 101, configured to obtain, when a first application program plays a first multimedia resource, a push message received by a second application program, where the push message is used to push the second multimedia resource;
a playlist updating module 102, configured to update a playlist of the first application according to the push message, where the second multimedia resource may include a multimedia resource published in the second application by an associated user of a current user of the first application, and the current user and the associated user are associated through the second application;
a second resource playing module 103, configured to play the second multimedia resource through the first application program after the playing of the first multimedia resource is stopped according to the playlist.
In some variations of the examples of the present application,
in some variations of the embodiments of the present application, the push message obtaining module 101 may include:
and the push message monitoring module is used for monitoring the push message received by the second application program through an application program programming interface authorized by the second application program.
In some modifications of the embodiments of the present application, the apparatus 10 may further include:
a first prompt message display module, configured to display a first prompt message on a play interface of the first multimedia resource, where the first prompt message is used to prompt whether to play the second multimedia resource in the first application and to prompt to publish description information of an associated user of the second multimedia resource;
and the first prompt information triggering module is used for responding to the play confirmation operation input by the user aiming at the first prompt information, and triggering the step of updating the play list of the first application program according to the push message.
In some variations of the embodiments of the present application, the playlist updating module 102 may include:
a playing information adding unit, configured to add playing information of the second multimedia resource to a playing list of the first application, where an adding position of the playing information is located after the playing information of the first multimedia resource;
the second resource playing module 103 may include:
and the second resource playing unit is used for playing the second multimedia resource in the first application program according to the playing information of the second multimedia resource after the first multimedia resource is played according to the playing list.
In some variations of the embodiments of the present application, the playlist updating module 102 may include:
a pause time determining unit, configured to determine a pause playing time of the first multimedia resource;
a playing information updating unit, configured to update, in a playlist of the first application, playing information of the first multimedia resource according to the playing suspension time;
the playing information inserting unit is used for adding the playing information of the second multimedia resource after the updated playing information of the first multimedia resource;
and the continuous playing information adding unit is used for adding continuous playing information of the first multimedia resource after the playing information of the second multimedia resource, and the playing starting time of the continuous playing information is the playing stopping time.
In some variations of the embodiments of the present application, the second resource playing module 103 may include:
and the inter-cut unit is used for stopping playing the first multimedia resource at the playing stopping moment according to the playing list and playing the second multimedia resource in the first application program.
In some modifications of the embodiments of the present application, the apparatus 10 may further include:
and the continuous playing module is used for continuously playing the first multimedia resource from the playing stopping moment according to the continuous playing information of the first multimedia resource after the second multimedia resource is played.
In some modifications of the embodiments of the present application, the suspension time determination unit may include:
a first stopping time determining subunit, configured to determine a current playing time of the first multimedia resource as a stopping playing time; or,
a second pause time determining subunit, configured to determine, as a pause play time, a first time after a preset time length after a current play time of the first multimedia resource; or,
and the third stopping time determining subunit is configured to determine, according to the time-sharing playing heat information of the first multimedia resource, a second time after the current playing time when the time-sharing playing heat meets a preset condition as the stopping playing time.
In some variations of the embodiments of the present application, the playlist updating module 102 may further include:
a second prompt information display unit, configured to display second prompt information on a play interface of the first multimedia resource, where the second prompt information is used to prompt whether to insert the second multimedia resource after the play suspension time;
and the second prompt information triggering unit is used for responding to the confirmed inter-cut operation input by the user aiming at the second prompt information, and triggering the step of updating the playing information of the first multimedia resource in the playing list of the first application program according to the playing stopping moment.
The multimedia resource playing apparatus 10 provided in the embodiment of the present application and the multimedia resource playing method provided in the foregoing embodiment of the present application have the same beneficial effects and the same inventive concept.
The present application further provides an electronic device corresponding to the multimedia resource playing method provided in the foregoing embodiments, where the electronic device may be an electronic device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, and the like, so as to execute the multimedia resource playing method.
Please refer to fig. 6, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 6, the electronic device 20 includes: the system comprises a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and the processor 200 executes the multimedia resource playing method provided by any of the foregoing embodiments when executing the computer program.
The Memory 201 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 202 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used for storing a program, and the processor 200 executes the program after receiving an execution instruction, and the multimedia resource playing method disclosed by any of the foregoing embodiments of the present application may be applied to the processor 200, or implemented by the processor 200.
The processor 200 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 200. The Processor 200 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the multimedia resource playing method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 7, a computer-readable storage medium is shown as an optical disc 30, on which a computer program (i.e., a program product) is stored, where the computer program is executed by a processor to execute the method for playing a multimedia resource provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the multimedia resource playing method provided by the embodiment of the present application have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.

Claims (11)

1. A method for playing a multimedia asset, comprising:
when a first application program plays a first multimedia resource, acquiring a push message received by a second application program, wherein the push message is used for pushing the second multimedia resource;
updating a playlist of the first application program according to the push message, wherein the second multimedia resource comprises a multimedia resource issued in the second application program by an associated user of a current user of the first application program, and the current user and the associated user are associated through the second application program;
according to the play list, after the first multimedia resource is stopped playing, the second multimedia resource is played through the first application program; wherein,
the obtaining of the push message received by the second application program includes: and monitoring the push message received by the second application program through an application program programming interface authorized by the second application program.
2. The method of claim 1, wherein before updating the playlist of the first application according to the push message, further comprising:
displaying first prompt information on a playing interface of the first multimedia resource, wherein the first prompt information is used for prompting whether the second multimedia resource is played in the first application program or not and prompting to release description information of an associated user of the second multimedia resource;
and responding to the play confirmation operation input by the user aiming at the first prompt message, and triggering the step of updating the play list of the first application program according to the push message.
3. The method of claim 1, wherein updating the playlist of the first application according to the push message comprises:
adding the playing information of the second multimedia resource to the playing list of the first application program, wherein the adding position of the playing information is positioned behind the playing information of the first multimedia resource;
the playing the second multimedia resource through the first application program after the playing of the first multimedia resource is stopped according to the playlist includes:
and according to the play list, after the first multimedia resource is played, playing the second multimedia resource in the first application program according to the playing information of the second multimedia resource.
4. The method of claim 1, wherein updating the playlist of the first application according to the push message comprises:
determining the playing stopping time of the first multimedia resource;
in the play list of the first application program, updating the play information of the first multimedia resource according to the play stopping moment;
adding the playing information of the second multimedia resource after the updated playing information of the first multimedia resource;
and adding continuous playing information of the first multimedia resource after the playing information of the second multimedia resource, wherein the starting playing time of the continuous playing information is the playing stopping time.
5. The method of claim 4, wherein playing the second multimedia asset through the first application after the playing of the first multimedia asset is stopped according to the playlist comprises:
and according to the play list, stopping playing the first multimedia resource at the playing stopping moment, and playing the second multimedia resource in the first application program.
6. The method of claim 5, further comprising:
and after the second multimedia resource is played, according to the continuous playing information of the first multimedia resource, continuing to play the first multimedia resource from the playing stopping moment.
7. The method of claim 4, wherein determining the pause playback time for the first multimedia asset comprises:
determining the current playing time of the first multimedia resource as the playing stopping time; or,
determining a first moment after a preset time length after the current playing moment of the first multimedia resource as a playing stopping moment; or,
and determining a second moment after the current playing moment and when the time-sharing playing heat accords with a preset condition as the playing stopping moment according to the time-sharing playing heat information of the first multimedia resource.
8. The method according to claim 4, wherein before updating the playing information of the first multimedia asset according to the playing time of the pause in the playlist of the first application, the method further comprises:
displaying second prompt information on a playing interface of the first multimedia resource, wherein the second prompt information is used for prompting whether to insert the second multimedia resource after the playing stopping moment;
and responding to the confirmed inter-cut operation input by the user aiming at the second prompt message, and triggering the step of updating the playing message of the first multimedia resource in the playing list of the first application program according to the playing stopping moment.
9. A multimedia asset playback apparatus, comprising:
the system comprises a push message acquisition module, a push message acquisition module and a push message processing module, wherein the push message acquisition module is used for acquiring a push message received by a second application program when the first application program plays a first multimedia resource, and the push message is used for pushing a second multimedia resource;
a playlist updating module, configured to update a playlist of the first application according to the push message, where the second multimedia resource includes a multimedia resource issued in the second application by an associated user of a current user of the first application, and the current user and the associated user are associated with each other through the second application;
the second resource playing module is used for playing the second multimedia resource through the first application program after the playing of the first multimedia resource is stopped according to the playing list; wherein,
the obtaining of the push message received by the second application program includes: and monitoring the push message received by the second application program through an application program programming interface authorized by the second application program.
10. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method according to any of claims 1 to 8.
11. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 8.
CN201910357360.XA 2019-04-29 2019-04-29 Multimedia resource playing method and device, electronic equipment and medium Active CN110087133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910357360.XA CN110087133B (en) 2019-04-29 2019-04-29 Multimedia resource playing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910357360.XA CN110087133B (en) 2019-04-29 2019-04-29 Multimedia resource playing method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN110087133A CN110087133A (en) 2019-08-02
CN110087133B true CN110087133B (en) 2021-06-15

Family

ID=67417762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910357360.XA Active CN110087133B (en) 2019-04-29 2019-04-29 Multimedia resource playing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110087133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502300A (en) * 2019-08-14 2019-11-26 上海掌门科技有限公司 Speech playing method, equipment and computer-readable medium
CN111104602A (en) * 2020-01-14 2020-05-05 上海风秩科技有限公司 Poster generation method and device
CN112637668B (en) * 2020-12-16 2023-02-28 北京字节跳动网络技术有限公司 Video playing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0811230A2 (en) * 1995-02-23 1997-12-10 Avid Technology, Inc. Dockable electronic equipment container
CN107690080A (en) * 2016-11-17 2018-02-13 腾讯科技(北京)有限公司 The playing method and device of media information
CN107872685A (en) * 2017-11-20 2018-04-03 珠海市魅族科技有限公司 A kind of player method of multi-medium data, device and computer installation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0811230A2 (en) * 1995-02-23 1997-12-10 Avid Technology, Inc. Dockable electronic equipment container
CN107690080A (en) * 2016-11-17 2018-02-13 腾讯科技(北京)有限公司 The playing method and device of media information
CN107872685A (en) * 2017-11-20 2018-04-03 珠海市魅族科技有限公司 A kind of player method of multi-medium data, device and computer installation

Also Published As

Publication number Publication date
CN110087133A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US10462535B2 (en) Interactive video viewing
CN110087133B (en) Multimedia resource playing method and device, electronic equipment and medium
CN111291220B (en) Label display method and device, electronic equipment and computer readable medium
US9787487B2 (en) Facilitating media streaming with social interaction
CN112203111B (en) Multimedia resource preloading method and device, electronic equipment and storage medium
US20160330528A1 (en) Rendering advertisements in a client device for uninterrupted media content
CN111930973B (en) Multimedia data playing method and device, electronic equipment and storage medium
CN110072151B (en) Virtual gift display method, electronic device and computer-readable storage medium
CN111131848A (en) Video live broadcast data processing method, client and server
CN112738633A (en) Video playing method, device, equipment and readable storage medium
CN111901619B (en) Message pushing method and device
CN108966316B (en) Method, device and equipment for displaying multimedia resources and predicting connection waiting duration
CN115103236A (en) Image record generation method and device, electronic equipment and storage medium
CN107690080B (en) media information playing method and device
CN115617215A (en) Information display method, device, equipment and storage medium
CN115113790A (en) Interaction method, interaction device, electronic equipment and storage medium
US10674188B2 (en) Playback apparatus, method of controlling playback apparatus, playback method and server apparatus
WO2024146552A1 (en) Application pushing method and apparatus, device and storage medium
CN104811795A (en) Online video playing method and online video playing device
CN113542817A (en) Program mixed playing method and device
CN110908739A (en) Method, device and equipment for realizing data docking with third-party Launcher
CN112291602B (en) Video playing method, electronic equipment and storage medium
CN112055238B (en) Video playing control method, device and system
CN109729419B (en) Push video preloading method and device, electronic equipment and storage medium
US9769105B2 (en) Runway chat

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