CN113377995A - Media resource playing method and device, storage medium and electronic equipment - Google Patents

Media resource playing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113377995A
CN113377995A CN202110681526.0A CN202110681526A CN113377995A CN 113377995 A CN113377995 A CN 113377995A CN 202110681526 A CN202110681526 A CN 202110681526A CN 113377995 A CN113377995 A CN 113377995A
Authority
CN
China
Prior art keywords
media
media resource
playing
resource
resources
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.)
Pending
Application number
CN202110681526.0A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202110681526.0A priority Critical patent/CN113377995A/en
Publication of CN113377995A publication Critical patent/CN113377995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor

Abstract

The invention discloses a method and a device for playing media resources, a storage medium and electronic equipment. Wherein, the method comprises the following steps: under the condition that a playing client plays a first media resource corresponding to a first audio, acquiring a first switching request for switching the currently played media resource of the playing client; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; and playing the second media resource in the playing client. The invention solves the technical problem of lower playing efficiency of the media resources.

Description

Media resource playing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for playing media resources, a storage medium, and an electronic device.
Background
In recent years, audio media resources are developed more rapidly, and various types of media resources are developed, for example, vertical screen media resources and horizontal screen media resources are derived by displaying different aspect ratios;
the inventor finds that the vertical screen media resource and the horizontal screen media resource can be stored as two files separately in the process of implementing the application, and then even if the user watches the vertical screen media resource and the horizontal screen media resource under the same audio frequency, the playing switching of the media resources can be completed through complicated operations, so that the problem of low playing efficiency of the media resources is caused.
That is, there is a problem that the playing efficiency of the media asset is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing media resources, a storage medium and electronic equipment, and aims to at least solve the technical problem of low playing efficiency of the media resources.
According to an aspect of the embodiments of the present invention, there is provided a method for playing a media resource, including: under the condition that a playing client plays a first media resource corresponding to a first audio, acquiring a first switching request for switching the currently played media resource of the playing client; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; and playing the second media resource in the playing client.
According to another aspect of the embodiments of the present invention, there is also provided a device for playing a media resource, including: a first obtaining unit, configured to obtain, when a first media resource corresponding to a first audio is played by a playing client, a first switching request for switching the media resource currently played by the playing client; a first determining unit, configured to determine, in response to the first switching request, a second media resource from at least two media resources corresponding to the first audio, where display aspect ratios of the first media resource and the second media resource are different; a first playing unit, configured to play the second media resource in the playing client.
As an optional solution, the first determining unit includes at least one of: a seventh determining module, configured to determine the second media resource according to historical playing data of each of the at least two media resources; an eighth determining module, configured to determine the second media resource according to a similarity between each of the at least two media resources and the first media resource; a ninth determining module, configured to determine the second media resource according to the virtual tag associated with each of the at least two media resources.
As an optional scheme, the method further comprises the following steps: a third obtaining unit, configured to obtain, after the second media resource is played in the playing client, a second switching request for switching the media resource currently played by the playing client; a second playing unit, configured to respond to the second switching request after the second media resource is played in the playing client, and play a third media resource in the playing client, where a display aspect ratio of the third media resource to the second media resource is the same.
As an optional scheme, the method further comprises the following steps: a fourth obtaining unit, configured to obtain, after the second media resource is played in the playing client, a third switching request for switching the media resource currently played by the playing client; a second determining unit, configured to determine, in response to the third switching request, a fourth media resource from the at least two media resources corresponding to the first audio after the second media resource is played in the playing client, where display aspect ratios of the fourth media resource and the first media resource are the same; a third playing unit, configured to play the fourth media resource in the playing client after the playing client plays the second media resource.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned playing method of a media resource when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for playing back a media resource through the computer program.
In the embodiment of the invention, under the condition that a playing client plays a first media resource corresponding to a first audio, a first switching request for switching the currently played media resource of the playing client is obtained; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; the second media resource is played in the playing client, the switching of the media resources with different display aspect ratios under the same audio frequency is indicated through the switching request, the complicated steps in the original media resource switching process are omitted, and the purpose of efficiently completing the switching of the media resources to be played is achieved, so that the technical effect of improving the playing efficiency of the media resources is achieved, and the technical problem that the playing efficiency of the media resources is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a flow of an alternative method for playing a media asset according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 5 is a diagram illustrating an alternative method of playing a media asset according to an embodiment of the invention;
FIG. 6 is a diagram illustrating an alternative method of playing a media asset according to an embodiment of the invention;
FIG. 7 is a diagram illustrating an alternative method of playing a media asset according to an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 10 is a schematic diagram of an alternative method for playing a media asset according to an embodiment of the invention;
FIG. 11 is a diagram illustrating an alternative method of playing a media asset according to an embodiment of the invention;
FIG. 12 is a diagram illustrating an alternative method of playing a media asset according to an embodiment of the invention;
FIG. 13 is a schematic diagram of an alternative media asset playback device according to an embodiment of the invention;
fig. 14 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a method for playing a media asset is provided, and optionally, as an optional implementation manner, the method for playing a media asset may be applied, but not limited, to the environment shown in fig. 1. The system may include, but is not limited to, a user device 102, a network 110, and a server 112, wherein the user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104, the display 108 may be, but is not limited to, a target touch screen, and the target touch screen may recognize a touch operation such as a slide operation, a click operation, and the like.
The specific process comprises the following steps:
step S102, the user equipment 102 obtains a first switching request triggered by a group of sliding signals generated on a target touch screen through a sensor installed in the display 108 and capable of recognizing a touch operation, where the first switching request is used to switch a first media resource of a first audio 1022 currently played on the user equipment 102;
steps S104-S106, the user equipment 102 sends a first handover request to the server 112 via the network 110;
step S108, the server 112 searches for at least two media resources corresponding to the first audio through the database 114, and determines a unique media resource from the at least two media resources corresponding to the first audio through the processing engine 116 according to the requirement of the first switching request, thereby obtaining a second media resource;
steps S110-S112, the server 112 sends the second media asset to the user equipment 102 via the network 110, and the processor 106 in the user equipment 102 displays the second media asset in the display 108 and stores the second media asset in the memory 104. The adjustment decision result may be, but is not limited to, stored in the server 112 or the user equipment 102.
In addition to the example shown in fig. 1, the above steps may be performed by the user equipment 102 independently, that is, the user equipment 102 performs the steps of searching for at least two media resources corresponding to the first audio, determining or obtaining the media resources, and the like, so as to relieve the processing pressure of the server. The user equipment 102 includes, but is not limited to, a handheld device (e.g., a mobile phone), a notebook computer, a desktop computer, a vehicle-mounted device, and the like, and the specific implementation manner of the user equipment 102 is not limited in the present invention.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for playing the media resource includes:
s202, under the condition that the playing client plays the first media resource corresponding to the first audio, acquiring a first switching request for switching the currently played media resource of the playing client;
s204, responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different;
s206, playing the second media resource in the playing client.
Optionally, in this embodiment, the playing method of the media resource may be, but is not limited to, applied in the process of switching and playing between a vertical screen Music Video (MV) and a horizontal screen Music Video, where the vertical screen MV and the horizontal screen Music Video may be, but are not limited to, both being Music videos, but due to different playing modes of the vertical screen MV and the horizontal screen Music Video, in the prior art, the vertical screen MV and the horizontal screen Music Video are often separated from each other in two modules, for example, the official Music horizontal screen Video is usually 16: 9, the song track and the video are a file, and the size of the vertical screen MV is most 1980 × 2340, namely, the height is larger than the width; the song audio track and the video are separately stored into two files, so that the two files can be converted into a full-screen video of a vertical screen under a vertical screen MV module, and further the current user cannot view the official MV of the original edition of the horizontal screen; although the use of the respective modules of the vertical screen MV and the horizontal screen music video is not affected, the situation also considers that audience groups of the vertical screen MV and the horizontal screen music video often have a certain overlap ratio, and if a business barrier exists between the vertical screen MV and the horizontal screen music video, a user cannot realize seamless link between the vertical screen MV and the horizontal screen music video, the play efficiency of media resources is inevitably reduced greatly;
further, in order to solve the above problems, in this embodiment, by using the playing method of the media resource, a business barrier can be opened through matching logic in content, and a horizontal screen mode and a vertical screen mode of a video are connected, specifically, for example, when a vertical screen video is uploaded to a vertical screen MV database, a video type is marked as an official MV, and if the video type is the official MV, the video type is bound with a corresponding horizontal screen music video identity (identity) identifier (id for short), so that when different media resource types for switching the same audio are obtained, the corresponding media resource types can be directly obtained according to the pre-bound id, and a complicated operation is not required to be performed between different modules, thereby saving the switching time of the media resource, and improving the playing efficiency of the media resource.
Optionally, in this embodiment, the media resource may be, but is not limited to, a resource that allows dissemination on a media platform such as television media, news media, network media, broadcast media, and the like, and for example, but not limited to, at least one of the following may be included: audio resources, video resources, image resources, text resources, and the like.
Optionally, in this embodiment, the at least two media resources may include, but are not limited to, a first media resource corresponding to the first audio, and may also include, but is not limited to, other media resources corresponding to the first audio, and optionally, in the case that the number of the first media resource, and also but not limited to, other media resources corresponding to the first audio is 0, the at least two media resources may also include, but is not limited to, media resources corresponding to other audio.
Optionally, in this embodiment, the display aspect ratio may be, but is not limited to, a ratio of a display size of the media asset, for example, in a case that the aspect ratio is greater than 1, it may be, but is not limited to, determining that the asset type of the media asset is a landscape media asset; for example, when the aspect ratio is greater than 1, it may be determined, without limitation, that the resource type of the media resource is a vertical-screen media resource; for example, in the case that the aspect ratio is equal to 1, the resource type of the media resource may be determined to be a square screen media resource, but is not limited thereto. Alternatively, the aspect ratios of the displays in different resource types may be, but are not limited to, the same or different, for example, assuming that the size of a certain vertical screen media resource is 1980 × 2340, the size of other vertical screen media resources may be, but is not limited to, also 1980 × 2340, or not 1980 × 2340, but the aspect ratio is greater than 1.
It should be noted that, when the playing client plays the first media resource corresponding to the first audio, a first switching request for switching the media resource currently played by the playing client is obtained; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; and playing the second media resource in the playing client.
For further example, as shown in fig. 3, it is assumed that, as shown in (a) of fig. 3, a media resource played by a playing client is a first media resource 304 corresponding to a first audio 302, and a first switching request for switching the media resource currently played by the playing client is acquired (for example, the first switching request is triggered by a downslide operation); as further shown in fig. 3 (b), in response to the first switching request, the second media asset 306 determined from the at least two media assets corresponding to the first audio 302 is played on the playing client instead of the first media asset 304.
According to the embodiment provided by the application, under the condition that the playing client plays the first media resource corresponding to the first audio, a first switching request for switching the currently played media resource of the playing client is obtained; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; the second media resource is played in the playing client, the switching request indicates the switching of the media resources with different display aspect ratios under the same audio frequency, the complicated steps in the original media resource switching process are omitted, the aim of efficiently completing the switching of the media resources to be played is achieved, and therefore the technical effect of improving the playing efficiency of the media resources is achieved.
As an alternative, determining the second media resource from the at least two media resources corresponding to the first audio includes:
s1, acquiring a target sliding operation executed on a first playing picture, wherein the first playing picture is a picture presented when the playing client plays the first media resource;
s2, determining a second media resource from the at least two media resources according to the operation information of the target sliding operation.
Optionally, in this embodiment, the target sliding operation may be, but is not limited to, a triggering operation of the first handover request, and the target sliding operation may be, but is not limited to, determining a request type of the handover request first, and then generating corresponding handover indication information in the corresponding request type;
to further illustrate, for example, based on the scenario shown in fig. 3, continuing with fig. 4, assume that the first sliding operation is a sliding operation triggered in the first sliding region 402, as shown in (a) in fig. 4, and assume that the first sliding region 402 is used to trigger a handover request of the first request type; then, as further shown in fig. 4 (b), in response to the handover request of the first request type, the media asset 404 is played, wherein the display aspect ratio of the media asset 404 and the first media asset is the same;
to illustrate again, for example, based on the scenario shown in fig. 3, continuing with fig. 5, assume that as shown in (a) of fig. 5, the second sliding operation is a sliding operation triggered in the second sliding region 502, and assume that the second sliding region 502 is used for triggering a handover request of the second request type (i.e., a first handover request); then, as further shown in fig. 5 (b), in response to the switch request of the second request type, the media asset 504 (i.e., the second media asset) is played, wherein the media asset 504 has a different display aspect ratio than the first media asset.
According to the embodiment provided by the application, the target sliding operation executed on the first playing picture is obtained, wherein the first playing picture is a picture presented when the playing client plays the first media resource; and determining the second media resource from the at least two media resources according to the operation information of the target sliding operation, thereby realizing the effect of improving the switching efficiency of the media resources.
As an optional scheme, determining the second media resource from at least two media resources according to the operation information of the target sliding operation includes:
s1, when the sliding direction of the target sliding operation is the first direction and the sliding distance of the target sliding operation reaches the target threshold, determining the media resource with the first play sequence relation with the first media resource in the at least two media resources as the second media resource;
and S2, determining the media resource with the second play sequence relation with the first media resource in the at least two media resources as the second media resource when the sliding direction of the target sliding operation is the second direction and the sliding distance of the target sliding operation reaches the target threshold value.
Optionally, in this embodiment, a respective play sequence is allocated to each media resource in at least two media resources in advance, for example, as shown in fig. 6, it is assumed that a currently played media resource in a playing client is a media resource 606, and the media resources having a play sequence relationship with the media resource 606 in advance include a media resource 602, a media resource 604, a media resource 608, a media resource 610, and the like; further, in the case that the sliding direction of the target sliding operation is the first direction (assuming a direction toward the media asset 608 and the media asset 610), and the sliding distance of the target sliding operation reaches the target threshold (assuming a distance threshold between the media asset 608 and the media asset 606 is reached), the media asset 608 having the first play sequence relationship with the first media asset (i.e., the sequence direction is the first direction with respect to the media asset 606, and the sequence distance is the target threshold with respect to the media asset 606) is determined as the second media asset.
According to the embodiment provided by the application, under the condition that the sliding direction of the target sliding operation is the first direction and the sliding distance of the target sliding operation reaches the target threshold value, the media resource which has a first play sequence relation with the first media resource in the at least two media resources is determined as the second media resource; and determining the media resource having the second play sequence relation with the first media resource in the at least two media resources as the second media resource under the condition that the sliding direction of the target sliding operation is the second direction and the sliding distance of the target sliding operation reaches the target threshold value, so that the purpose of improving the determination efficiency of the second media resource is achieved, and the effect of improving the switching efficiency of the media resources is realized.
As an alternative, playing the second media resource in the playing client includes:
s1, acquiring a first playing progress of the playing client playing the first media resource;
s2, determining a second playing progress of the second media resource according to the first playing progress;
and S3, playing a second playing picture in the playing client according to the second playing progress, wherein the second playing picture is a picture presented when the playing client plays the second media resource.
It should be noted that, a first playing progress of the playing client playing the first media resource is obtained; determining a second playing progress of the second media resource according to the first playing progress; and playing a second playing picture in the playing client according to the second playing progress, wherein the second playing picture is a picture presented when the playing client plays the second media resource.
To further illustrate, optionally, for example, based on the scenario shown in fig. 3, continuing to be shown in fig. 7, assume that, as shown in (a) in fig. 7, when the first media asset 304 is switched, the playing progress of the first media asset is a first playing progress 702 (e.g., 3 minutes and 50 seconds); as further shown in fig. 7 (b), in case of switching the media asset currently played by the playing client to the second media asset 306, the second playing progress 704 of the second media asset 306 may be, but is not limited to be, determined according to the first playing progress 702, for example, to improve the smoothness of the switching of the media asset, and the second playing progress 704 may be, but is not limited to be, consistent with the first playing progress 702;
in addition, since a part of delay time may be generated when the media resource is switched, the second play progress 704 may also be determined according to, but not limited to, the first play progress 702 and the delay time, specifically, for example, the first play progress 702 is 3 minutes and 50 seconds, the delay time is 5 seconds, and the second play progress 704 is 3 minutes and 55 seconds, where the delay time may be, but not limited to, an acquired time, and may also be, but not limited to, a preset fixed time.
According to the embodiment provided by the application, the first playing progress of the playing client for playing the first media resource is obtained; determining a second playing progress of the second media resource according to the first playing progress; and playing a second playing picture in the playing client according to the second playing progress, wherein the second playing picture is a picture displayed when the playing client plays the second media resource, and the effect of improving the smoothness of resource switching is realized.
As an optional scheme, before determining the second media resource from the at least two media resources corresponding to the first audio, the method further includes:
s1, acquiring a plurality of media resources corresponding to the first audio;
s2, determining a first candidate media resource set from the multiple media resources, wherein the first candidate media resource set comprises a target media resource which is in a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type;
s3, under the condition that the number of media resources in the first candidate media resource set is larger than 0, at least two media resources are determined from the first candidate media resource set;
s4, S1, under the condition that the number of the media resources in the first candidate media resource set is equal to 0, determining a second candidate media resource set from the multiple media resources, wherein the second candidate media set comprises a target media resource carrying an audio identifier of the first audio;
at least two media assets are determined from the second set of candidate media assets S5.
Optionally, in this embodiment, the plurality of media resources corresponding to the first audio may be, but are not limited to, media resources including the first audio, and may also be, but is not limited to, media resources including other audio, where the other audio may be, but is not limited to, audio whose similarity (such as sound source similarity, sound frequency similarity, timbre similarity, comment similarity, and the like) with the first audio reaches a threshold.
Optionally, in this embodiment, in a case that the first media resource belongs to the standard resource type, whether a media resource corresponding to the standard resource type exists is searched for; or, under the condition that the first media resource does not belong to the standard resource type, searching whether the media resource corresponding to the standard resource type exists; under the condition that a plurality of media resources corresponding to the first audio and belonging to the standard resource type are found and the number of the media resources is multiple, selecting at least two media resources from the multiple media resources, wherein the selection condition can be but is not limited to the reference data with the largest playing amount, the most popular and the like; and under the condition that the media resources corresponding to the standard resource type are not found, judging whether media resources corresponding to other audios and belonging to the standard resource type exist or not, if so, taking the media resources as at least two media resources, and if not, displaying prompt information or searching media resources corresponding to the first audio and not belonging to the standard resource type again for playing, wherein the prompt information is used for prompting that no media resources meeting playing conditions exist temporarily.
It should be noted that, a plurality of media resources corresponding to the first audio are obtained; determining a first candidate media resource set from a plurality of media resources, wherein the first candidate media resource set comprises a target media resource which is in a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type; determining at least two media resources from the first set of candidate media resources if the number of media resources in the first set of candidate media resources is greater than 0; determining a second candidate media resource set from the plurality of media resources under the condition that the number of the media resources in the first candidate media resource set is equal to 0, wherein the second candidate media resource set comprises a target media resource carrying an audio identifier of a first audio; at least two media assets are determined from the second set of candidate media assets.
For further example, as shown in fig. 8, the following steps may be optionally performed:
s802, a first switching request for switching the media resource currently played by the playing client is obtained;
s804, acquiring a plurality of media resources corresponding to the first audio;
s806, determining a first set of candidate media resources from a plurality of media resources;
s808, determining whether the number of media resources in the first candidate media resource set satisfies a condition, for example, whether the number of media resources satisfies a condition greater than 0, if yes, performing step S810, and if no, performing step S812;
s810, determining at least two media resources from a first candidate media resource set;
s812, determining a second candidate media resource set from the plurality of media resources;
s814, at least two media resources are determined from the second set of candidate media resources.
According to the embodiment provided by the application, a plurality of media resources corresponding to a first audio are obtained; determining a first candidate media resource set from a plurality of media resources, wherein the first candidate media resource set comprises a target media resource which is in a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type; determining at least two media resources from the first set of candidate media resources if the number of media resources in the first set of candidate media resources is greater than 0; determining a second candidate media resource set from the plurality of media resources under the condition that the number of the media resources in the first candidate media resource set is equal to 0, wherein the second candidate media resource set comprises a target media resource carrying an audio identifier of a first audio; at least two media resources are determined from the second candidate media resource set, so that the purpose of rapidly determining the media resources under different conditions is achieved, and the effect of improving the determination efficiency of the media resources is achieved.
As an alternative, the determining the second media resource from the at least two media resources corresponding to the first audio includes at least one of:
s1, determining a second media resource according to the historical playing data of each media resource in at least two media resources;
s2, determining a second media resource according to the similarity between each media resource of at least two media resources and the first media resource;
s3, determining a second media resource according to the virtual label associated with each of the at least two media resources.
Optionally, in this embodiment, the historical playing data may include, but is not limited to, at least one of the following: historical playing times, historical playing frequency, historical playing time and the like; the second media asset may also be determined, but is not limited to, from historical operational data, wherein the historical operational data may include, but is not limited to, at least one of: historical praise times, historical comment times, historical collection times and the like. In addition, the historical play data and/or the historical operation data may be, but is not limited to, data executed on the media resource by a target account, where the target account may be, but is not limited to, an account for triggering the first switching request, and the target account may also be, but is not limited to, any account for logging in to the play client, and is not limited herein.
Optionally, in this embodiment, the similarity may include, but is not limited to, at least one of the following: content similarity, duration similarity, source similarity, and the like.
Optionally, in this embodiment, the virtual mark may be, but is not limited to, a virtual mark marked in advance for each or multiple media resources, and its specific meaning may be, but is not limited to, used for establishing a binding relationship, or establishing an association relationship with a corresponding account, and the like.
It should be noted that, the second media resource is determined according to the historical playing data of each media resource in the at least two media resources; determining a second media resource according to the similarity between each media resource of at least two media resources and the first media resource; and determining a second media resource according to the virtual mark associated with each of the at least two media resources.
According to the embodiment provided by the application, the second media resource is determined according to the historical playing data of each media resource in at least two media resources; determining a second media resource according to the similarity between each media resource of at least two media resources and the first media resource; and determining the second media resource according to the virtual mark associated with each media resource in the at least two media resources, thereby realizing the effect of improving the determination accuracy of the second media resource.
As an optional scheme, after the playing of the second media resource in the playing client, the method further includes:
s1, acquiring a second switching request for switching the media resource currently played by the playing client;
and S2, responding to the second switching request, and playing a third media resource in the playing client, wherein the aspect ratio of the third media resource to the second media resource is the same.
Optionally, in this embodiment, the types of the handover request may be, but are not limited to, multiple types, for example, the first handover request belongs to a first target type, and the handover request of the first target type is used to handover media resources corresponding to the same audio and different display aspect ratios; for another example, the second handover request is of a second target type, and the handover request of the second target type is for switching media resources of different audio of the same display aspect ratio.
It should be noted that, a second switching request for switching the media resource currently played by the playing client is obtained; and responding to the second switching request, and playing a third media resource in the playing client, wherein the aspect ratio of the third media resource to the second media resource is the same.
Further by way of example, optionally, based on the scenario shown in fig. 4, it is assumed that, as shown in (a) in fig. 9, a second handover request triggered by a sliding operation performed on the first sliding region 402 is currently acquired; as further shown in (b) of fig. 9, in response to the second switching request, the media resource played at the playing client is switched to a third media resource 904 corresponding to the third audio 902.
According to the embodiment provided by the application, a second switching request for switching the media resource currently played by the playing client is obtained; and responding to the second switching request, and playing a third media resource in the playing client, wherein the display aspect ratio of the third media resource is the same as that of the second media resource, so that the aim of flexibly switching the currently played media resource is fulfilled, and the effect of improving the playing flexibility of the media resource is realized.
As an optional scheme, after the playing of the second media resource in the playing client, the method further includes:
s1, acquiring a third switching request for switching the media resource currently played by the playing client;
s2, responding to the third switching request, determining a fourth media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the fourth media resource to the first media resource is the same;
s3, playing the fourth media resource in the playing client.
Optionally, in this embodiment, the types of the handover request may be, but are not limited to, multiple types, for example, the first handover request belongs to a first target type, and the handover request of the first target type is used to handover media resources corresponding to the same audio and different display aspect ratios; for another example, the third switching request belongs to a third target type, and the switching request of the third target type is also used for media resources corresponding to the same audio and having different display aspect ratios, but the switching request of the first target type is used for switching the media resource of the first media type to the media resource of the second media type, and the switching request of the third target type is used for switching the media resource of the second media type to the media resource of the first media type.
It should be noted that, a third switching request for switching the media resource currently played by the playing client is obtained; responding to a third switching request, and determining a fourth media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the fourth media resource to the first media resource is the same; and playing the fourth media resource in the playing client. Optionally, the fourth media asset may be, but is not limited to, the first media asset.
Further by way of example, it is optionally continued as shown in fig. 10 based on the scenario shown in fig. 3, for example, assuming that in the scenario shown in (b) in fig. 10, a third handover request triggered by a sliding operation is acquired; as further shown in (c) of fig. 10, in response to the third switching request, the media asset played at the playing client is switched to the fourth media asset 1002.
According to the embodiment provided by the application, a third switching request for switching the media resource currently played by the playing client is obtained; responding to a third switching request, and determining a fourth media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the fourth media resource to the first media resource is the same; and playing the fourth media resource in the playing client, so that the aim of flexibly switching the currently played media resource is fulfilled, and the effect of improving the playing flexibility of the media resource is realized.
As an optional solution, to facilitate understanding, the method for playing the media resource is applied to a specific music playing scene, and is described as a specific embodiment, where the content is as follows:
optionally, in this embodiment, a background binding relationship between the horizontal screen music video and the vertical screen MV is pre-established, for example, the vertical screen video is uploaded to the vertical screen MV database, the video type is marked as the official MV, and if the video type is the official MV, the video type is bound to the corresponding horizontal screen music video id.
It should be noted that, when the current song has the horizontal screen version and the vertical screen version of the official MV, the vertical screen MV playing page is entered, and the interface is requested: whether the vertical screen MV type has a horizontal screen music video id or not is judged, and if the vertical screen MV type has the binding relationship, the vertical screen MV type enters a horizontal screen music video module to be displayed as a horizontal screen version of the vertical screen MV; the interactive mode 1 is that the vertical screen MV module slides downwards to expose a negative screen, the height is more than or equal to 20 percent, the vertical screen MV module enters the horizontal screen music video after losing the focus, and the interface display is shown in FIG. 11;
and moreover, after the transverse screen music video is entered, the transverse screen music video is displayed as a bound video, a video playing point starts to play from 5s before the time point of vertical screen MV playing, the playing progress is the video progress, the transverse screen music video is repeatedly played after the playing is finished, the vertical screen music video is switched to a related music video queue under the song, the lower part 'back to the vertical screen MV' is clicked to return to the playing page, and the vertical screen MV continues to play at the original time point. Under the condition of starting the rotary screen setting of the mobile phone, automatically entering a full screen mode after the mobile phone is horizontally screened;
interaction mode 2 as shown in fig. 12: under the condition of setting a rotary screen of a mobile phone, when a vertical screen MV module is used for horizontal screen, the full screen mode of horizontal screen music video is automatically entered, and simultaneously, toast prompt is given: the method has the advantages that the method enters a complete music video immersion version, the playing time point and the interaction mode 1 are used, when a mobile phone video is vertically displayed, the original mode is returned, and simultaneously the toast prompts: has returned to the vertical screen MV module.
In addition, when the current vertical screen MV is not the official MV, but the song still has other official horizontal screen music videos, the vertical screen MV playing page is entered, and an interface is requested: whether the vertical screen MV type has the horizontal screen music video id or not is inquired whether other official horizontal screen music videos exist or not if the vertical screen MV type does not have the binding relationship with the horizontal screen music video id, and if the vertical screen MV type does not have the binding relationship with the horizontal screen music videos, the horizontal screen music videos with the highest playing quantity enter the official horizontal screen music videos with one negative screen; the interactive mode is that the video is glided to enter a negative screen, and the video is played from the beginning at the playing time point.
Furthermore, when the current song does not have any official horizontal screen music video, the vertical screen MV playing page is entered, and the interface is requested: whether this vertical screen MV type exists rather than horizontal screen music video id, if do not have the binding relation, then inquire whether have other official class horizontal screen music video, if do not then have a negative screen video entry, suggestion when gliding: there is no more video.
According to the embodiment provided by the application, when the binding relationship exists, the switched video is a horizontal screen version/a vertical screen version, and the playing progress in the switching process is synchronous, so that the continuity is improved; when the binding relation does not exist but other official transverse screen videos exist, the transverse screen videos are switched to the transverse screen videos with the highest playing quantity, so that the playing quantity of the transverse screen music videos is increased; in addition, the vertical screen MV slides down to enter negative one-screen interaction of the horizontal screen music video, the horizontal screen music video queue is updated, meanwhile, the video progress is linked, the horizontal screen music video layout is basically consistent with the vertical screen MV, the vertical screen MV module can be switched by sliding up and down, the vertical screen MV module can be slid down or clicked at the bottom, and the video can be continuously played, so that the video playing efficiency is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a media asset playing apparatus for implementing the above media asset playing method. As shown in fig. 13, the apparatus includes:
a first obtaining unit 1302, configured to obtain, when the playing client plays a first media resource corresponding to a first audio, a first switching request for switching a media resource currently played by the playing client;
a first determining unit 1304, configured to determine, in response to the first switching request, a second media resource from at least two media resources corresponding to the first audio, where display aspect ratios of the first media resource and the second media resource are different;
a first playing unit 1306, configured to play the second media resource in the playing client.
Optionally, in this embodiment, the playing apparatus of the media resource may be, but is not limited to, applied in the process of switching and playing between a vertical screen Music Video (MV) and a horizontal screen Music Video, where the vertical screen MV and the horizontal screen Music Video may be, but are not limited to, both being Music videos, but due to different playing modes of the vertical screen MV and the horizontal screen Music Video, in the prior art, the vertical screen MV and the horizontal screen Music Video are often separated in two modules, for example, the official Music horizontal screen Video is usually 16: 9, the song track and the video are a file, and the size of the vertical screen MV is most 1980 × 2340, namely, the height is larger than the width; the song audio track and the video are separately stored into two files, so that the two files can be converted into a full-screen video of a vertical screen under a vertical screen MV module, and further the current user cannot view the official MV of the original edition of the horizontal screen; although the use of the respective modules of the vertical screen MV and the horizontal screen music video is not affected, the situation also considers that audience groups of the vertical screen MV and the horizontal screen music video often have a certain overlap ratio, and if a business barrier exists between the vertical screen MV and the horizontal screen music video, a user cannot realize seamless link between the vertical screen MV and the horizontal screen music video, the play efficiency of media resources is inevitably reduced greatly;
further, in order to solve the above problems, in this embodiment, the playing apparatus using the media resource may open a business barrier on the content through matching logic, connect the horizontal screen mode and the vertical screen mode of the video, specifically, for example, when the vertical screen video is uploaded to the vertical screen MV database, mark the video type as the official MV, and bind with the corresponding horizontal screen music video identity (identity document, id for short) if the video type is the official MV, so that when different media resource types for switching the same audio are obtained, the corresponding media resource types may be directly obtained according to the pre-bound id, and no tedious operation is performed between different modules, thereby saving the switching time of the media resource, and improving the playing efficiency of the media resource.
Optionally, in this embodiment, the media resource may be, but is not limited to, a resource that allows dissemination on a media platform such as television media, news media, network media, broadcast media, and the like, and for example, but not limited to, at least one of the following may be included: audio resources, video resources, image resources, text resources, and the like.
Optionally, in this embodiment, the at least two media resources may include, but are not limited to, a first media resource corresponding to the first audio, and may also include, but is not limited to, other media resources corresponding to the first audio, and optionally, in the case that the number of the first media resource, and also but not limited to, other media resources corresponding to the first audio is 0, the at least two media resources may also include, but is not limited to, media resources corresponding to other audio.
It should be noted that, when the playing client plays the first media resource corresponding to the first audio, a first switching request for switching the media resource currently played by the playing client is obtained; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; and playing the second media resource in the playing client.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
According to the embodiment provided by the application, under the condition that the playing client plays the first media resource corresponding to the first audio, a first switching request for switching the currently played media resource of the playing client is obtained; responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different; the second media resource is played in the playing client, the switching request indicates the switching of the media resources with different display aspect ratios under the same audio frequency, the complicated steps in the original media resource switching process are omitted, the aim of efficiently completing the switching of the media resources to be played is achieved, and therefore the technical effect of improving the playing efficiency of the media resources is achieved.
As an optional solution, the first determining unit 1304 further includes:
the first acquisition module is used for acquiring a target sliding operation executed on a first playing picture, wherein the first playing picture is a picture presented when the playing client plays the first media resource;
and the first determining module is used for determining a second media resource from the at least two media resources according to the operation information of the target sliding operation.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an optional solution, the first determining module includes:
the first determining submodule is used for determining a media resource which has a first play sequence relation with a first media resource in at least two media resources as a second media resource under the condition that the sliding direction of the target sliding operation is a first direction and the sliding distance of the target sliding operation reaches a target threshold value;
and the second determining submodule is used for determining the media resource which has a second play sequence relation with the first media resource in the at least two media resources as the second media resource under the condition that the sliding direction of the target sliding operation is the second direction and the sliding distance of the target sliding operation reaches the target threshold value.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an alternative, the first playing unit 1306 includes:
the second acquisition module is used for acquiring a first playing progress of the playing client for playing the first media resource;
the second determining module is used for determining a second playing progress of the second media resource according to the first playing progress;
and the playing module is used for playing a second playing picture in the playing client according to the second playing progress, wherein the second playing picture is a picture presented when the playing client plays the second media resource.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an alternative, the first determining unit 1304 includes:
a third determining module, configured to determine a first candidate media resource set from at least two media resources, where the first candidate media resource set includes a target media resource that establishes a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type;
a fourth determining module, configured to determine a second media resource from the first candidate media resource set when the number of media resources in the first candidate media resource set is greater than 0;
a fifth determining module, configured to determine a second candidate media resource set from the at least two media resources when the number of media resources in the first candidate media resource set is equal to 0, where the second candidate media resource set includes a target media resource carrying an audio identifier of the first audio;
a sixth determining module for determining a second media resource from the second set of candidate media resources.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an alternative, the first determining unit 1304 includes at least one of:
the third obtaining module is used for obtaining a plurality of media resources corresponding to the first audio;
a seventh determining module, configured to determine a first candidate media resource set from the multiple media resources, where the first candidate media resource set includes a target media resource that establishes a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type;
an eighth determining module, configured to determine at least two media resources from the first candidate media resource set when the number of media resources in the first candidate media resource set is greater than 0;
a ninth determining module, configured to determine a second candidate media resource set from the multiple media resources when the number of the media resources in the first candidate media resource set is equal to 0, where the second candidate media resource set includes a target media resource carrying an audio identifier of the first audio;
a tenth determining module for determining at least two media resources from the second set of candidate media resources.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an optional scheme, the method further comprises the following steps:
a third obtaining unit, configured to obtain, after the second media resource is played in the playing client, a second switching request for switching the media resource currently played by the playing client;
and the second playing unit is used for responding to the second switching request after the second media resource is played in the playing client, and playing a third media resource in the playing client, wherein the display aspect ratio of the third media resource to the second media resource is the same.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
As an optional scheme, the method further comprises the following steps:
a fourth obtaining unit, configured to obtain, after the second media resource is played in the playing client, a third switching request for switching the media resource currently played by the playing client;
a second determining unit, configured to determine, in response to a third switching request, a fourth media resource from the at least two media resources corresponding to the first audio after the second media resource is played in the playing client, where display aspect ratios of the fourth media resource and the first media resource are the same;
and the third playing unit is used for playing the fourth media resource in the playing client after the second media resource is played in the playing client.
For a specific embodiment, reference may be made to the example shown in the playing method of the media resource, which is not described herein again in this example.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the method for playing back a media asset, as shown in fig. 14, the electronic device includes a memory 1402 and a processor 1404, the memory 1402 stores therein a computer program, and the processor 1404 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that the playing client plays the first media resource corresponding to the first audio, acquiring a first switching request for switching the media resource currently played by the playing client;
s2, responding to the first switching request, determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different;
s3, the second media asset is played in the playing client.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 14 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a Mobile Internet Device (MID), a PAD, and the like. Fig. 14 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 14, or have a different configuration than shown in FIG. 14.
The memory 1402 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for playing a media resource in the embodiments of the present invention, and the processor 1404 executes various functional applications and data processing by running the software programs and modules stored in the memory 1402, so as to implement the above-mentioned method for playing a media resource. Memory 1402 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1402 may further include memory located remotely from the processor 1404, which may be connected to a terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1402 may be, but not limited to, specifically configured to store information such as the first media resource, the first handover request, and the second media resource. As an example, as shown in fig. 14, the memory 1402 may include, but is not limited to, a first obtaining unit 1302, a first determining unit 1304, and a first playing unit 1306 in a playing apparatus including the media resource. In addition, the media resources may further include, but are not limited to, other module units in the playing apparatus of the media resources, which are not described in this example again.
Optionally, the transmitting device 1406 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1406 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 1406 is a Radio Frequency (RF) module, which is used to communicate with the internet by wireless means.
In addition, the electronic device further includes: a display 1408 configured to display information such as the first media resource, the first switching request, and the second media resource; and a connection bus 1410 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. A processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the method for playing back the media resource, wherein the computer program is configured to execute the steps in any of the method embodiments described above.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that the playing client plays the first media resource corresponding to the first audio, acquiring a first switching request for switching the media resource currently played by the playing client;
s2, responding to the first switching request, determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different;
s3, the second media asset is played in the playing client.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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 through some interfaces, units or modules, and may be in an electrical 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 invention 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for playing a media asset, comprising:
under the condition that a playing client plays a first media resource corresponding to a first audio, acquiring a first switching request for switching the currently played media resource of the playing client;
responding to the first switching request, and determining a second media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the first media resource and the second media resource is different;
and playing the second media resource in the playing client.
2. The method of claim 1, wherein the determining a second media resource from at least two media resources corresponding to the first audio comprises:
acquiring a target sliding operation executed on a first playing picture, wherein the first playing picture is a picture presented when the playing client plays the first media resource;
and determining the second media resource from the at least two media resources according to the operation information of the target sliding operation.
3. The method of claim 2, wherein the determining the second media resource from the at least two media resources according to the operation information of the target sliding operation comprises:
determining a media resource having a first play sequence relationship with the first media resource in the at least two media resources as the second media resource when the sliding direction of the target sliding operation is a first direction and the sliding distance of the target sliding operation reaches a target threshold;
and determining a media resource having a second play sequence relation with the first media resource in the at least two media resources as the second media resource when the sliding direction of the target sliding operation is a second direction and the sliding distance of the target sliding operation reaches the target threshold.
4. The method of claim 2, wherein playing the second media asset in the playing client comprises:
acquiring a first playing progress of the playing client for playing the first media resource;
determining a second playing progress of the second media resource according to the first playing progress;
and playing a second playing picture in the playing client according to the second playing progress, wherein the second playing picture is a picture presented when the playing client plays the second media resource.
5. The method according to any one of claims 1 to 4, wherein before said determining a second media resource from among at least two media resources corresponding to the first audio, further comprising:
acquiring a plurality of media resources corresponding to the first audio;
determining a first candidate media resource set from the plurality of media resources, wherein the first candidate media resource set comprises a target media resource which is in a binding relationship with the first media resource in advance, and the target media resource is a media resource of a standard resource type;
determining the at least two media resources from the first set of candidate media resources if the number of media resources in the first set of candidate media resources is greater than 0;
determining a second candidate media resource set from the plurality of media resources under the condition that the number of the media resources in the first candidate media resource set is equal to 0, wherein the second candidate media resource set comprises the target media resource carrying the audio identifier of the first audio;
determining the at least two media resources from the second set of candidate media resources.
6. The method of any of claims 1-4, wherein the determining a second media asset from at least two media assets corresponding to the first audio comprises at least one of:
determining the second media resource according to the historical playing data of each of the at least two media resources;
determining the second media resource according to the similarity between each of the at least two media resources and the first media resource;
and determining the second media resource according to the virtual mark associated with each of the at least two media resources.
7. The method according to any of claims 1 to 4, wherein after playing the second media resource in the playing client, further comprising:
acquiring a second switching request for switching the media resource currently played by the playing client;
and responding to the second switching request, and playing a third media resource in the playing client, wherein the aspect ratio of the third media resource to the second media resource is the same.
8. The method according to any of claims 1 to 4, wherein after playing the second media resource in the playing client, further comprising:
acquiring a third switching request for switching the media resource currently played by the playing client;
responding to the third switching request, and determining a fourth media resource from at least two media resources corresponding to the first audio, wherein the display aspect ratio of the fourth media resource and the first media resource is the same;
and playing the fourth media resource in the playing client.
9. An apparatus for playing a media asset, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a switching unit, wherein the first acquisition unit is used for acquiring a first switching request for switching a media resource currently played by a playing client under the condition that the playing client plays a first media resource corresponding to a first audio;
a first determining unit, configured to determine, in response to the first switching request, a second media resource from at least two media resources corresponding to the first audio, where display aspect ratios of the first media resource and the second media resource are different;
a first playing unit, configured to play the second media resource in the playing client.
10. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 8.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202110681526.0A 2021-06-18 2021-06-18 Media resource playing method and device, storage medium and electronic equipment Pending CN113377995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110681526.0A CN113377995A (en) 2021-06-18 2021-06-18 Media resource playing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110681526.0A CN113377995A (en) 2021-06-18 2021-06-18 Media resource playing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113377995A true CN113377995A (en) 2021-09-10

Family

ID=77577849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110681526.0A Pending CN113377995A (en) 2021-06-18 2021-06-18 Media resource playing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113377995A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595204A (en) * 2012-02-28 2012-07-18 华为终端有限公司 Streaming media transmitting method, device and system
CN103179450A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Method, device and system for playing video, and audio track server
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
CN105898354A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Video file multi-audio-track storage method and device
CN105898615A (en) * 2015-12-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video display window switching method and device
US20160336039A1 (en) * 2015-05-11 2016-11-17 Mibblio, Inc. Systems and methods for creating music videos synchronized with an audio track
CN109151504A (en) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 A kind of video adaptive identifying method, apparatus and storage medium
CN110798743A (en) * 2018-08-02 2020-02-14 腾讯科技(深圳)有限公司 Video playing method and device and computer readable storage medium
CN111741366A (en) * 2020-07-16 2020-10-02 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN112565861A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179450A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Method, device and system for playing video, and audio track server
CN102595204A (en) * 2012-02-28 2012-07-18 华为终端有限公司 Streaming media transmitting method, device and system
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
US20160336039A1 (en) * 2015-05-11 2016-11-17 Mibblio, Inc. Systems and methods for creating music videos synchronized with an audio track
CN105898354A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Video file multi-audio-track storage method and device
CN105898615A (en) * 2015-12-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video display window switching method and device
CN110798743A (en) * 2018-08-02 2020-02-14 腾讯科技(深圳)有限公司 Video playing method and device and computer readable storage medium
CN109151504A (en) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 A kind of video adaptive identifying method, apparatus and storage medium
CN111741366A (en) * 2020-07-16 2020-10-02 广州酷狗计算机科技有限公司 Audio playing method, device, terminal and storage medium
CN112565861A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display device

Similar Documents

Publication Publication Date Title
US20170169349A1 (en) Recommending method and electronic device
WO2017096953A1 (en) Hot video displaying method and device
CN104185039B (en) The method and apparatus that audio-visual synchronization plays
CN105120304A (en) Information display method, device and system
US20210314635A1 (en) System and method for providing image-based video service
CN113965811A (en) Play control method and device, storage medium and electronic device
CN107659850B (en) Media information processing method and device
CN110337011A (en) Method for processing video frequency, device and equipment
CN104320417A (en) Method for interconnection and stream transmission and stream media play between mobile terminal and web terminal
CN103533396A (en) Video content interaction method, device and system
CN104519124A (en) Allocation method and device of virtual resources
CN105354288A (en) Image searching method and apparatus based on video contents
CN104185040A (en) Application synchronization method, application server and terminal
CN104902295A (en) Intelligent TV business realization method, terminal device and system
CN111279709A (en) Providing video recommendations
CN110177306A (en) Video broadcasting method, device, mobile terminal and medium based on mobile terminal
CN112667936A (en) Video processing method, device, terminal, server and storage medium
CN103702222A (en) Interactive information generation method and video file playing method for mobile terminal
KR20150114386A (en) Apparatus and method for playing contents, and apparatus and method for providing contents
CN104918071A (en) Video playing method, device and terminal equipment
CN113630630A (en) Method, device and equipment for processing dubbing information of video commentary
CN109600625A (en) A kind of program searching method, device, equipment and medium
CN110427499B (en) Method and device for processing multimedia resources, storage medium and electronic device
US20150026744A1 (en) Display system, display apparatus, display method, and program
CN104537011A (en) Singing ranking method and device

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