CN112583806A - Resource sharing method, device, terminal, server and storage medium - Google Patents

Resource sharing method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN112583806A
CN112583806A CN202011412093.0A CN202011412093A CN112583806A CN 112583806 A CN112583806 A CN 112583806A CN 202011412093 A CN202011412093 A CN 202011412093A CN 112583806 A CN112583806 A CN 112583806A
Authority
CN
China
Prior art keywords
terminal
media resource
resource
sharing
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011412093.0A
Other languages
Chinese (zh)
Other versions
CN112583806B (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.)
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 CN202011412093.0A priority Critical patent/CN112583806B/en
Publication of CN112583806A publication Critical patent/CN112583806A/en
Application granted granted Critical
Publication of CN112583806B publication Critical patent/CN112583806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The application discloses a resource sharing method, a resource sharing device, a resource sharing terminal, a resource sharing server and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: and if the resource sharing operation based on the first media resource is detected, sending a sharing request to the server, responding to the sharing request granted by the second terminal, acquiring the first media resource, and sending the first media resource and the playing time stamp of the current moment to the second terminal. According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, the sharing of the media resource can be realized through an end-to-end transmission mode, and when the media resource is a copyrighted media resource, the copyright can be bypassed, the sharing of the copyrighted media resource is realized, and the user experience is improved.

Description

Resource sharing method, device, terminal, server and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a resource sharing method, device, terminal, server, and storage medium.
Background
With the continuous development of internet technology, the playing modes of audio, video and other media resources are more and more diversified. For example, the user can start a song listening function through a song playing application and share the song with the friend, so that the user shares the same song with the friend.
At present, in the process of playing songs, if a user wants to share a currently played song with a friend, a click operation can be performed on a song playing button in a song playing interface, a user side is triggered to send an invitation to the friend side, and the user can listen to the song together after the friend receives the invitation.
However, the above technical solution is only suitable for common resources, and for copyrighted resources, such as paid resources or VIP (member) resources, the resource sharing cannot be implemented, and the user experience is not good.
Disclosure of Invention
The embodiment of the application provides a resource sharing method, a resource sharing device, a terminal, a server and a storage medium, which can realize sharing of media resources with copyright and improve user experience. The technical scheme is as follows:
in one aspect, a resource sharing method is provided, where the method is applied to a first terminal, and the method includes:
if the resource sharing operation based on the first media resource is detected, sending a sharing request to a server, wherein the sharing request is used for requesting to share the first media resource with a second terminal;
responding to the second terminal to approve the sharing request, and acquiring the first media resource;
and sending the first media resource and the playing time stamp of the current moment to the second terminal, wherein the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
In a possible implementation manner, the sharing request is used to trigger the second terminal to send an agreement message to the server, where the agreement message is used to trigger the server to check the second terminal, and if the check is passed, send terminal information of the first terminal to the second terminal, where the terminal information is used to trigger the second terminal to obtain the first media resource from the first terminal, and the sending the first media resource and the play timestamp of the current time to the second terminal includes:
and receiving a resource acquisition request sent by the second terminal based on the terminal information, and executing the step of acquiring the first media resource.
In a possible implementation manner, after the acquiring the first media resource in response to the second terminal granting the sharing request, the method further includes:
acquiring a second media resource, and combining the first media resource and the second media resource to obtain a combined first media resource;
and sending the merged first media resource to the second terminal.
In one possible implementation, the second media resource is background audio or accompaniment audio.
In a possible implementation manner, after the acquiring the first media resource in response to the second terminal granting the sharing request, the method further includes:
acquiring an associated media resource of the first media resource, wherein the associated media resource is a media resource which is different from the copyright type of the first media resource and has the same content;
and sending the associated media resource to the second terminal.
In a possible implementation manner, the obtaining the associated media resource of the first media resource includes:
sending an associated resource acquisition request to the server, wherein the associated resource acquisition request carries the resource information of the first media resource;
and receiving the associated media resource returned by the server based on the resource information.
In one possible implementation, the method further includes:
acquiring audio data of an account logged in by the first terminal;
and sending the audio data and the first media resource to the server, wherein the audio data and the first media resource are used for triggering the server to combine the audio data and the first media resource to obtain a combined first media resource, and sending the combined first media resource and the playing time stamp of the current moment to the second terminal.
In one possible implementation, the sharing request carries a resource link of the first media resource.
In one aspect, a resource sharing method is provided, where the method is applied to a server, and the method includes:
receiving a sharing request sent by a first terminal, wherein the sharing request is used for requesting to share a first media resource with a second terminal;
sending the sharing request to the second terminal;
and receiving an agreement message sent by the second terminal based on the sharing request, and sending the agreement message to the first terminal, wherein the agreement message is used for indicating the second terminal to agree with the sharing request, the agreement message is used for triggering the first terminal to send the first media resource and a playing time stamp of the current moment to the second terminal, and the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
In a possible implementation manner, after receiving the consent message sent by the second terminal, the method further includes:
and checking the second terminal, and if the second terminal passes the check, sending terminal information of the first terminal to the second terminal, wherein the terminal information is used for triggering the second terminal to acquire the first media resource and the playing time stamp at the current moment from the first terminal.
In a possible implementation manner, the verifying the second terminal includes:
and if the terminal identifier of the second terminal is the same as the terminal identifier of the second terminal carried in the sharing request, determining that the second terminal passes the verification.
In one possible implementation, the method further includes:
receiving an associated resource acquisition request sent by the first terminal, wherein the associated resource acquisition request carries resource information of the first media resource, and the associated media resource is a media resource which is different from the first media resource in copyright type and has the same content;
determining the associated media resource corresponding to the resource information of the first media resource based on the resource information of the first media resource and the corresponding relationship between the resource information and the associated media resource;
and sending the associated media resource to the first terminal.
In one possible implementation, the method further includes:
receiving audio data of an account logged in by the first terminal and the first media resource;
merging the audio data and the first media resource to obtain a merged first media resource;
and sending the combined first media resource and the play time stamp of the current moment to the second terminal.
In a possible implementation manner, after receiving the grant message sent by the second terminal based on the sharing request, the method further includes:
and sending the first media resource and the playing time stamp of the current moment to the second terminal.
In one aspect, a resource sharing method is provided, where the method is applied to a second terminal, and the method includes:
receiving a sharing request sent by a server, wherein the sharing request is used for requesting to share a first media resource with the second terminal;
if the operation of agreeing to the sharing request is detected, sending an agreement message to the server, wherein the agreement message is used for indicating the second terminal to agree to the sharing request;
receiving the first media resource and the play time stamp of the current moment which are sent by the first terminal based on the agreement message;
playing the first media asset based on the play timestamp.
In a possible implementation manner, after sending an approval message to the server if the approval operation for the sharing request is detected, the method further includes:
receiving the server, checking based on the agreement message, and determining the terminal information returned by the second terminal after the second terminal passes the check;
and sending a resource acquisition request to the first terminal based on the terminal information.
In one possible implementation, the method further includes:
receiving a playing time stamp of the combined first media resource and the current moment, which are sent by the first terminal based on the combination of the first media resource and the second media resource;
and playing the merged first media resource based on the playing time stamp of the current moment.
In one possible implementation, the method further includes:
receiving a combined first media resource and a playing time stamp of the current moment, wherein the combined first media resource is sent by the server based on the combination of the audio data of the account logged in by the first terminal and the first media resource;
and playing the merged first media resource based on the playing time stamp of the current moment.
In one aspect, an apparatus for resource sharing is provided, where the apparatus is provided as a first terminal, and the apparatus includes:
a sending module, configured to send a sharing request to a server if a resource sharing operation based on a first media resource is detected, where the sharing request is used to request to share the first media resource with a second terminal;
an obtaining module, configured to obtain the first media resource in response to the second terminal agreeing to the sharing request;
the sending module is further configured to send the first media resource and a play timestamp of the current time to the second terminal, where the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
In a possible implementation manner, the sharing request is used to trigger the second terminal to send an agreement message to the server, where the agreement message is used to trigger the server to check the second terminal, and if the check is passed, send terminal information of the first terminal to the second terminal, where the terminal information is used to trigger the second terminal to obtain the first media resource from the first terminal, and the sending module is used to:
and receiving a resource acquisition request sent by the second terminal based on the terminal information, and executing the step of acquiring the first media resource.
In a possible implementation manner, the obtaining module is further configured to obtain a second media resource, and combine the first media resource and the second media resource to obtain a combined first media resource;
the sending module is further configured to send the merged first media resource to the second terminal.
In one possible implementation, the second media resource is background audio or accompaniment audio.
In a possible implementation manner, the obtaining module is further configured to obtain an associated media resource of the first media resource, where the associated media resource is a media resource that is different from the first media resource in copyright type but has the same content as the first media resource;
the sending module is further configured to send the associated media resource to the second terminal.
In one possible implementation manner, the obtaining module includes:
a sending submodule, configured to send an associated resource obtaining request to the server, where the associated resource obtaining request carries resource information of the first media resource;
and the receiving submodule is used for receiving the associated media resources returned by the server based on the resource information.
In a possible implementation manner, the obtaining module is further configured to obtain audio data of an account logged in by the first terminal;
the sending module is further configured to send the audio data and the first media resource to the server, where the audio data and the first media resource are used to trigger the server to combine the audio data and the first media resource to obtain a combined first media resource, and send the combined first media resource and the play timestamp of the current time to the second terminal.
In one possible implementation, the sharing request carries a resource link of the first media resource.
In one aspect, a resource sharing apparatus provided as a server includes:
a receiving module, configured to receive a sharing request sent by a first terminal, where the sharing request is used to request to share a first media resource with a second terminal;
a sending module, configured to send the sharing request to the second terminal;
the receiving module is further configured to receive an agreement message sent by the second terminal based on the sharing request, and send the agreement message to the first terminal, where the agreement message is used to indicate that the second terminal agrees with the sharing request, the agreement message is used to trigger the first terminal to send the first media resource and a play timestamp of a current time to the second terminal, and the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
In one possible implementation, the apparatus further includes:
and the verification module is used for verifying the second terminal, and if the second terminal passes the verification, sending the terminal information of the first terminal to the second terminal, wherein the terminal information is used for triggering the second terminal to acquire the first media resource and the playing time stamp at the current moment from the first terminal.
In one possible implementation manner, the checking module is configured to:
and if the terminal identifier of the second terminal is the same as the terminal identifier of the second terminal carried in the sharing request, determining that the second terminal passes the verification.
In a possible implementation manner, the receiving module is further configured to receive an associated resource obtaining request sent by the first terminal, where the associated resource obtaining request carries resource information of the first media resource, and the associated media resource is a media resource that is different from the first media resource in copyright type but has the same content as the first media resource;
the device also comprises a determining module, which is used for determining the associated media resource corresponding to the resource information of the first media resource based on the resource information of the first media resource and the corresponding relation between the resource information and the associated media resource;
the sending module is further configured to send the associated media resource to the first terminal.
In a possible implementation manner, the receiving module is further configured to receive audio data of an account logged in by the first terminal and the first media resource;
the device also comprises a merging module used for merging the audio data and the first media resource to obtain a merged first media resource;
the sending module is further configured to send the combined first media resource and the play timestamp of the current time to the second terminal.
In a possible implementation manner, the sending module is further configured to send the first media resource and the playing time stamp of the current time to the second terminal.
In one aspect, an apparatus for resource sharing is provided, where the apparatus is provided as a second terminal, and the apparatus includes:
a receiving module, configured to receive a sharing request sent by a server, where the sharing request is used to request to share a first media resource with the second terminal;
a sending module, configured to send an agreement message to the server if an agreement operation on the sharing request is detected, where the agreement message is used to indicate that the second terminal agrees to the sharing request;
the receiving module is configured to receive the first media resource and a play timestamp of a current time, which are sent by the first terminal based on the agreement message;
and the playing module is used for playing the first media resource based on the playing time stamp.
In one possible implementation, the apparatus further includes:
the receiving module is further configured to receive terminal information that is checked by the server based on the agreement message and returned after the second terminal passes the check;
the sending module is further configured to send a resource obtaining request to the first terminal based on the terminal information.
In one possible implementation, the apparatus further includes:
the receiving module is further configured to receive a play timestamp of the combined first media resource and the current time, where the combined first media resource and the play timestamp are sent by the first terminal based on the combination of the first media resource and the second media resource;
the playing module is further configured to play the merged first media resource based on the playing timestamp of the current time.
In one possible implementation, the apparatus further includes:
the receiving module is further configured to receive a playing timestamp of the combined first media resource and the current time, where the combined first media resource and the playing timestamp are sent by the server based on the combination of the audio data of the account logged in by the first terminal and the first media resource;
the playing module is further configured to play the merged first media resource based on the playing timestamp of the current time.
In one aspect, a terminal is provided, which includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the resource sharing method described above.
In one aspect, a server is provided, which includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the resource sharing method described above.
In one aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the above-mentioned resource sharing method.
In one aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer program code stored in a computer-readable storage medium, the computer program code being read by a processor of a terminal or a server from the computer-readable storage medium, the processor executing the computer program code to cause the terminal or the server to perform the above-mentioned resource sharing method.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a resource sharing method provided in an embodiment of the present application;
fig. 2 is a flowchart of a resource sharing method according to an embodiment of the present application;
fig. 3 is a flowchart of a resource sharing method according to an embodiment of the present application;
fig. 4 is a flowchart of a resource sharing method provided in an embodiment of the present application;
fig. 5 is a flowchart of a resource sharing method provided in an embodiment of the present application;
fig. 6 is a flowchart of a resource sharing method according to an embodiment of the present application;
fig. 7 is a flowchart of a resource sharing method according to an embodiment of the present application;
fig. 8 is a flowchart of a resource sharing method provided in an embodiment of the present application;
fig. 9 is a flowchart of a resource sharing method according to an embodiment of the present application;
fig. 10 is a flowchart of a resource sharing method provided in an embodiment of the present application;
fig. 11 is a schematic diagram of a live connection provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of a resource sharing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a resource sharing apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a resource sharing apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a resource sharing method according to an embodiment of the present application. Referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 may be at least one of a smartphone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal, a laptop portable computer, and the like. The terminal 101 has a communication function and can access the internet. The terminal 101 may be generally referred to as one of a plurality of terminals, and the embodiment is only illustrated by the terminal 101. Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. The terminal 101 may run an application having a media resource playing function and a media resource sharing function. The application program with the media resource playing function and the media resource sharing function is subsequently represented by the target application program.
In the present embodiment, the terminal 101 includes a first terminal 1011 and a second terminal 1012. The first terminal 1011 is used to indicate a terminal operated by the first user sharing the media resource, that is, a terminal sending a sharing request. The second terminal 1012 is used to indicate a terminal operated by the second user sharing the media resource, that is, a terminal receiving the sharing request. For example, taking a media resource as a song as an example, if a first user wants to listen to a song with a second user, the first terminal 1011 may be operated to select the song that wants to listen to, click a song-listening button in an interface of the song, and select a user account (i.e., an account of the second user) that wants to listen to the song together, the first terminal 1011 sends a sharing request to the second terminal 1012, the second terminal 1012 receives the sharing request, and if the second terminal 1012 agrees to the sharing request, the first user and the second user start to listen to the song together, thereby implementing the sharing of the song.
The server 102 may be an independent physical server, a server cluster or a distributed file system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The server 102 and the terminal 101 may be directly or indirectly connected through wired or wireless communication, which is not limited in this embodiment of the application. Alternatively, the number of the servers 102 may be more or less, and the embodiment of the present application is not limited thereto. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services. In the embodiment of the application, the server is used for providing resource storage service, terminal verification service, resource merging service, resource transmission service and the like.
Fig. 2 is a flowchart of a resource sharing method according to an embodiment of the present application. This embodiment is applied to the first terminal, and referring to fig. 2, the embodiment includes:
201. if the first terminal detects the resource sharing operation based on the first media resource, a sharing request is sent to the server, and the sharing request is used for requesting to share the first media resource with the second terminal.
202. And the first terminal responds to the second terminal agreeing to the sharing request and acquires the first media resource.
203. The first terminal sends the first media resource and a playing time stamp of the current moment to the second terminal, and the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
Fig. 3 is a flowchart of a resource sharing method according to an embodiment of the present application. This embodiment is applied to a server, and referring to fig. 3, the embodiment includes:
301. the server receives a sharing request sent by the first terminal, wherein the sharing request is used for requesting to share the first media resource with the second terminal.
302. The server sends the sharing request to the second terminal.
303. The server receives an agreement message sent by the second terminal based on the sharing request, and sends the agreement message to the first terminal, wherein the agreement message is used for indicating the second terminal to agree with the sharing request, the agreement message is used for triggering the first terminal to send the first media resource and a playing time stamp of the current moment to the second terminal, and the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
Fig. 4 is a flowchart of a resource sharing method according to an embodiment of the present application. This embodiment is applied to the second terminal, and referring to fig. 4, the embodiment includes:
401. and the second terminal receives a sharing request sent by the server, wherein the sharing request is used for requesting to share the first media resource with the second terminal.
402. And if the second terminal detects the consent operation to the sharing request, sending a consent message to the server, wherein the consent message is used for indicating the second terminal to consent the sharing request.
403. And the second terminal receives the first media resource and the play time stamp of the current moment, which are sent by the first terminal based on the agreement message.
404. And the second terminal plays the first media resource based on the play time stamp.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
Fig. 2 to fig. 4 are only basic flows of the present application, and the following further explains a scheme provided by the present application based on a specific implementation, and fig. 5 is a flow chart of a resource sharing method provided by an embodiment of the present application, and referring to fig. 5, the method includes:
501. if the first terminal detects the resource sharing operation based on the first media resource, a sharing request is sent to the server, and the sharing request is used for requesting to share the first media resource with the second terminal.
The first terminal is used for representing a terminal operated by a first user sharing a media resource, that is, a terminal sending a sharing request. The second terminal is used to indicate a terminal operated by the second user sharing the media resource, that is, a terminal receiving the sharing request. The first media resource refers to a media resource to be shared. Optionally, the asset type of the first media asset is a song or a video. In this embodiment of the present application, the first media resource is a media resource of a target copyright type, and the target copyright type is used to indicate that the first media resource has copyright. For example, the first media resource may be a paid resource and a VIP resource. It should be appreciated that if a first user wants to share a media asset of a target copyright type, the first user needs to be a member type user or the first user needs to pay for the media asset. Optionally, the resource sharing operation refers to a click operation on a sharing button.
In a possible implementation manner, a first user operates on a first terminal, and performs a selection operation on a first media resource in a target application program, so that the first terminal detects the selection operation on the first media resource and displays a resource interface of the first media resource, where the resource interface includes a sharing button, for example, a song listening together button. If the first user wants to share the first media resource with the second user, click operation is carried out on a sharing button in the resource interface, and a user account of the second user is selected in a sharing panel displayed by the first terminal based on the click operation, the first terminal detects resource sharing operation on the first media resource and sends a sharing request to the server.
Optionally, the sharing panel displayed by the first terminal based on the click operation includes multiple sharing modes, such as a mode of sharing through a target application program, a mode of sharing through a social application program, and a mode of sharing through a third-party application program. The embodiment of the present application does not limit the sharing manner adopted by the first terminal.
It should be noted that, in the embodiment of the present application, a process of resource sharing is described by taking the first terminal and the second terminal as an example. In another possible implementation manner, the first terminal may further perform resource sharing with multiple terminals, so as to implement multi-user resource sharing. For example, a first user may select user accounts of multiple friend users in a sharing panel displayed by the first terminal based on a click operation, so that resource sharing with the multiple friend users can be achieved.
502. The server receives a sharing request sent by the first terminal.
Optionally, the sharing request carries the terminal identifier of the first terminal and the terminal identifier of the second terminal.
In a possible implementation manner, the server receives a sharing request sent by the first terminal, and obtains, from a specific field of the sharing request, an identifier of the first terminal and an identifier of the second terminal, which are carried by the sharing request.
503. The server sends the sharing request to the second terminal.
In a possible implementation manner, after receiving a sharing request sent by a first terminal, a server sends the sharing request to a second terminal according to an identifier of the second terminal carried by the sharing request.
504. And the second terminal receives the sharing request sent by the server.
In a possible implementation manner, the second terminal receives a sharing request sent by the server, and a prompt message of the sharing request is displayed on an interface of the second terminal, where the prompt message is used to prompt the first terminal to request the sharing of the first media resource with the second terminal.
Optionally, the process of presenting the prompt message of the sharing request by the second terminal includes any one of:
in a possible implementation manner, in the main interface of the second terminal, a prompt message of the sharing request is popped up. For example, the alert message may be "first user invites you to listen to a song together through a x application".
In another possible implementation manner, if the first terminal sends a sharing request to a friend user (a second user) in the target application program through the target application program, that is, through the target application program, after receiving the sharing request, the second terminal displays a prompt message of the sharing request in the target application program of the second terminal. Of course, if the first terminal shares through the social application, the second terminal displays the prompt message of the sharing request in the social application program of the second terminal after receiving the sharing request. For example, the second terminal displays the prompt message of the sharing request in a session box corresponding to the account of the first user in the social application program.
Optionally, the sharing request further carries the resource link of the first media resource, and after receiving the sharing request sent by the server, the second terminal obtains the resource link of the first media resource carried by the sharing request, and displays the resource link of the first media resource on the second terminal.
505. And if the second terminal detects the consent operation to the sharing request, sending a consent message to the server, wherein the consent message is used for indicating the second terminal to consent the sharing request.
The consent operation may be a trigger operation to a prompt message of the sharing request, for example, the consent operation may be a click operation to a resource link of the first media resource. The agreement message carries the terminal identification of the second terminal.
In a possible implementation manner, after the second terminal displays the prompt message of the sharing request, if the second user performs a trigger operation on the prompt message of the sharing request, the second terminal detects an agreement operation on the sharing request, and sends an agreement message to the server.
506. And the server receives the agreement message sent by the second terminal based on the sharing request, verifies the second terminal, and sends the terminal information of the first terminal to the second terminal if the second terminal passes the verification.
The terminal information is used for triggering the second terminal to acquire the first media resource and the playing time stamp of the current moment from the first terminal. Optionally, the terminal information refers to an IP Address (Internet Protocol Address). It should be noted that the sharing request is used to trigger the second terminal to send an agreement message to the server, where the agreement message is used to trigger the server to check the second terminal, and if the check is passed, send the terminal information of the first terminal to the second terminal.
In a possible implementation manner, the server receives an agreement message sent by the second terminal based on the sharing request, acquires a terminal identifier of the second terminal carried by the agreement message, and determines that the second terminal passes the verification if the terminal identifier of the second terminal is the same as the terminal identifier of the second terminal carried in the sharing request, so that the server sends the terminal information of the first terminal to the second terminal.
In another possible implementation manner, if the terminal identifier of the second terminal is different from the terminal identifier of the second terminal carried in the sharing request, it is determined that the second terminal does not pass the verification, and a verification failure message is sent to the second terminal, where the verification failure message is used to prompt that the shared media resource cannot be acquired. In the process, the terminal is verified according to the terminal identification of the second terminal, the verification result can be quickly determined while the safety and the reliability of the shared media resource are ensured, the verification efficiency is improved, and the resource sharing efficiency is further improved.
The above-described procedure is a procedure of performing verification based on the terminal identifier of the second terminal. In another possible implementation, the server is further capable of checking based on the account identification of the second user. It should be understood that if the account id of the second user is shared by the target application, the account id of the second user is the account id of the corresponding target application, and if the account id of the second user is shared by the social application, the account id of the second user is the account id of the corresponding social application. Optionally, the sharing request carries an account id of an account corresponding to the first user and an account id of an account corresponding to the second user. The corresponding verification process is as follows: and the server receives an agreement message sent by the second terminal based on the sharing request, acquires an account identification of the second user carried by the agreement message, and determines that the second terminal passes the verification if the account identification of the second user is the same as the account identification of the second user carried in the sharing request, so that the server sends the terminal information of the first terminal to the second terminal. In the process, the account identification is used for checking, whether the account identification of the second user is the account identification of the shared user of the first user is judged, and the safety and the reliability of the shared media resource are further ensured.
Optionally, the server is further capable of performing login verification on the second terminal. The corresponding process is as follows: the server receives an agreement message sent by the second terminal based on the sharing request, acquires an account identification of the second user carried by the agreement message, judges whether the account of the second user is in a login state or not according to the account identification of the second user, determines that the second terminal passes login verification if the account of the second user is in the login state, and determines that the second terminal does not pass login verification if the account of the second user is in a non-login state.
Optionally, the process of determining, by the server, the terminal information of the first terminal includes: and the server determines the terminal information corresponding to the terminal identifier of the first terminal according to the terminal identifier of the first terminal carried by the sharing request and the corresponding relation between the terminal identifier and the terminal information.
507. And the second terminal receives the terminal information returned by the server.
508. And the second terminal sends a resource acquisition request to the first terminal based on the terminal information.
In a possible implementation manner, the second terminal receives the agreement message from the server to perform verification, determines terminal information returned by the second terminal after passing the verification, and sends a resource acquisition request to the first terminal according to the terminal information to acquire the shared media resource. In the embodiment of the present application, a peer-to-peer (p 2p) transmission manner is adopted to implement resource sharing, so as to ensure the security and reliability of shared media resources.
509. And the first terminal receives a resource acquisition request sent by the second terminal based on the terminal information and acquires the first media resource.
In a possible implementation manner, after receiving a resource acquisition request sent by the second terminal based on the terminal information, the first terminal acquires a resource identifier carried by the resource acquisition request, and acquires a first media resource corresponding to the resource identifier from the server.
510. The first terminal sends the first media resource and a playing time stamp of the current moment to the second terminal, and the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
In a possible implementation manner, after the first terminal acquires the first media resource, the first terminal acquires a play timestamp of the first terminal at the current time, and sends the first media resource and the play timestamp of the current time to the second terminal.
Optionally, the first terminal writes the play time stamp of the current time in a specific field of the data file of the first media resource.
511. And the second terminal receives the first media resource and the play time stamp of the current moment, which are sent by the first terminal based on the agreement message.
Optionally, after receiving the first media resource sent by the first terminal based on the agreement message, the second terminal obtains the play timestamp of the current time carried by the first media resource from the specific field of the data file of the first media resource.
512. And the second terminal plays the first media resource based on the play time stamp.
In a possible implementation manner, after the second terminal obtains the first media resource and the play time stamp of the current time, the first media resource is played by using the player in the target application program and taking the play time stamp as a play starting point.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
Fig. 5 is a process of implementing media resource sharing through p2p transmission. In another possible implementation manner, for a media resource with play right, sharing of the media resource can also be implemented based on the following manner. Fig. 6 is a flowchart of a resource sharing method provided in an embodiment of the present application, and referring to fig. 6, the embodiment includes:
601. if the first terminal detects the resource sharing operation based on the first media resource, a sharing request is sent to the server, and the sharing request is used for requesting to share the first media resource with the second terminal.
602. The server receives a sharing request sent by the first terminal.
603. The server sends the sharing request to the second terminal.
604. And the second terminal receives the sharing request sent by the server.
605. And if the second terminal detects the consent operation to the sharing request, sending a consent message to the server, wherein the consent message is used for indicating the second terminal to consent the sharing request.
606. And the server receives the agreement message sent by the second terminal based on the sharing request, verifies the second terminal, and sends the terminal information of the first terminal to the second terminal if the second terminal passes the verification.
607. And the second terminal receives the terminal information returned by the server.
608. And the second terminal sends a resource acquisition request to the first terminal based on the terminal information.
The contents of step 601 to step 608 refer to step 501 to step 508, which are not described again.
609. And the first terminal receives a resource acquisition request sent by the second terminal based on the terminal information, and acquires the first media resource and the second media resource.
Wherein the second media resource refers to a media resource for merging. Optionally, the second media resource is background audio or accompaniment audio.
In a possible implementation manner, the first terminal receives a resource obtaining request sent by the second terminal based on the terminal information, obtains a resource identifier carried by the resource obtaining request, obtains a first media resource corresponding to the resource identifier from the server, and obtains a second media resource from the server.
Optionally, the server stores a plurality of second media assets in advance. In a possible implementation manner, when receiving an acquisition request of a first terminal for a second media resource, a server may randomly select one second media resource from a plurality of second media resources stored in advance, and send the selected second media resource to the first terminal. In another possible implementation manner, when receiving an acquisition request of a first terminal for a second media resource, a server selects a media resource matched with the first media resource from a plurality of pre-stored second media resources as the second media resource, and sends the second media resource to the first terminal. For example, the media asset matching the first media asset may be a media asset whose audio feature similarity to the first media asset is greater than a certain threshold, or may be a media asset whose fusion with the first media asset is greater than a certain threshold. The embodiment of the present application does not limit the process of determining the second media resource.
It should be noted that, after the first terminal acquires the second media resource from the server, the second media resource may be stored locally, and then, when the subsequent resource is shared, the first media resource may be merged according to the locally stored second media resource, so that the efficiency of resource merging may be improved, and further, the efficiency of resource sharing may be improved.
610. And the first terminal combines the first media resource and the second media resource to obtain the combined first media resource.
It should be understood that the merged first media asset is the actual shared media asset.
The steps 609 to 610 are to merge the first media resource and the second media resource to realize the sharing of the media resource. In another possible implementation manner, the first terminal obtains an associated media resource of the first media resource, where the associated media resource is a media resource that is different from the copyright type of the first media resource and has the same content, and sends the associated media resource to the second terminal. For example, taking a media asset as a song, the associated media asset may be a song to sing.
Optionally, the process of the first terminal acquiring the associated media resource of the first media resource includes: and the first terminal sends an associated resource acquisition request to the server, wherein the associated resource acquisition request carries the resource information of the first media resource. The resource information may be a resource name, resource description information, and the like. For example, taking a media resource as a song as an example, the resource information may be a song name, a singer name, lyric information, and the like. The server receives the associated resource acquisition request sent by the first terminal, acquires the resource information of the first media resource carried by the associated resource acquisition request, and determines the associated media resource corresponding to the resource information of the first media resource based on the resource information of the first media resource and the corresponding relationship between the resource information and the associated media resource. The server sends the associated media resource to the first terminal, and the first terminal receives the associated media resource returned by the server based on the resource information. The server is associated with a media resource information base, and the media resource information base stores the corresponding relation between the resource information of a plurality of media resources and the associated media resources. In the process, the server can preset the associated media resources corresponding to each media resource, so that the subsequent associated media resources can be conveniently obtained, the efficiency of obtaining the associated media resources is improved, and the resource sharing efficiency is further improved.
611. And the first terminal sends the combined first media resource and the playing time stamp of the current moment to the second terminal.
It should be noted that, steps 609 to 611 are to execute the steps of acquiring the resource, combining the resource, and sending the resource after the first terminal receives the resource acquisition request. In another possible implementation manner, the first terminal performs the step of acquiring the resource first, and performs the steps of combining the resource and transmitting the resource after receiving the resource acquisition request. In another possible implementation manner, the first terminal first performs the steps of acquiring the resources and combining the resources, and then performs the step of sending the resources after receiving the resource acquisition request. The execution order of acquiring the resources, combining the resources and sending the resources is not limited in the embodiments of the present application.
612. And the second terminal receives the combined first media resource and the play time stamp of the current moment.
It should be noted that, in the above embodiment, the first media resource and the second media resource are merged and then transmitted to other user terminals in a local audio stream manner, so as to implement resource sharing. In the process, the time delay is very small, and the experience of the user can be ensured.
613. And the second terminal plays the combined first media resource based on the playing time stamp of the current moment.
In steps 611 to 613, the synchronization of the playing of the media resources of the first terminal and the second terminal can be ensured by sending the playing timestamp of the current time, so as to improve the experience of listening to songs of the user.
In a specific example, the server includes a library server and a verification server. Fig. 7 is a flowchart of a resource sharing method according to an embodiment of the present application, and referring to fig. 7, a first terminal pulls a first media resource (e.g., a paid song) from a song library server. The first terminal sends a sharing request to the second terminal, where the sharing request may be a link to listen to a song together as shown in fig. 7, and the link to listen to a song together carries a terminal identifier (token). After receiving the request to listen to the song together, the second terminal sends an agreement message to the server, where the agreement message may be the request shown in fig. 7, and the request carries the terminal identifier of the second terminal. The server checks the second terminal in response to the second terminal sending the agreement message, and if the check is passed, the server sends the terminal information of the first terminal, which may be the p2p key shown in fig. 7, to the second terminal. And the second terminal pulls the first media resource from the first terminal through the transmission mode of p2p based on the p2p key, thereby realizing the sharing of the first media resource.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first media resource and the second media resource are combined to obtain the combined first media resource, and then the combined first media resource is sent to the second terminal.
Fig. 5 to fig. 7 describe a process of implementing resource sharing based on the p2p transmission method. In another possible implementation manner, the process of resource sharing can also be implemented based on interaction between a terminal and a server, and fig. 8 is a flowchart of a resource sharing method provided in an embodiment of the present application, with reference to fig. 8, where the embodiment includes:
801. if the first terminal detects the resource sharing operation based on the first media resource, a sharing request is sent to the server, and the sharing request is used for requesting to share the first media resource with the second terminal.
802. The server receives a sharing request sent by the first terminal.
803. The server sends the sharing request to the second terminal.
804. And the second terminal receives the sharing request sent by the server.
805. And if the second terminal detects the consent operation to the sharing request, sending a consent message to the server, wherein the consent message is used for indicating the second terminal to consent the sharing request.
The contents of step 801 to step 805 refer to step 501 to step 505, and are not described again.
806. And the server receives the agreement message sent by the second terminal and sends the first media resource and the playing time stamp of the current moment to the second terminal.
807. And the second terminal receives the first media resource and the playing time stamp of the current moment.
808. And the second terminal plays the first media resource based on the playing time stamp of the current moment.
It should be noted that the embodiment shown in fig. 8 is applicable to a media resource without play right.
According to the technical scheme provided by the embodiment of the application, the sharing of the media resources can be realized through the interaction among the first terminal, the second terminal and the server, so that the song listening experience of a user is improved.
Fig. 5 to 8 are all scenes in which an audio connection or a video connection is not opened, and in another possible implementation manner, the resource sharing method can also be applied to scenes in which an audio connection or a video connection is opened, and other implementation manners can also be provided. Referring to fig. 9, fig. 9 is a flowchart of a resource sharing method provided in an embodiment of the present application.
901. If the first terminal detects the resource sharing operation based on the first media resource, a sharing request is sent to the server, and the sharing request is used for requesting to share the first media resource with the second terminal.
902. The server receives a sharing request sent by the first terminal.
903. The server sends the sharing request to the second terminal.
904. And the second terminal receives the sharing request sent by the server.
905. And if the second terminal detects the consent operation to the sharing request, sending a consent message to the server, wherein the consent message is used for indicating the second terminal to consent the sharing request.
The contents of step 901 to step 905 refer to step 501 to step 505, and are not described again. It should be appreciated that, at step 905, the first terminal and the second terminal have been successfully connected.
906. And the server receives the agreement message sent by the second terminal based on the sharing request and sends the agreement message to the first terminal.
907. And the first terminal responds to the second terminal agreeing to the sharing request and acquires the first media resource.
908. The first terminal acquires audio data of an account logged in by the first terminal.
In a possible implementation manner, if the first terminal detects that the account logged in by the first terminal inputs voice, audio data of the account logged in by the first terminal is acquired.
909. The first terminal sends the audio data and the first media resource to the server.
910. And the server receives the audio data of the account logged in by the first terminal and the first media resource.
911. And the server combines the audio data and the first media resource to obtain a combined first media resource.
In a possible implementation manner, after receiving the audio data and the first media resource, the server merges the audio data and the first media resource to obtain a merged first media resource.
912. And the server sends the combined first media resource and the playing time stamp of the current moment to the second terminal.
913. And the second terminal receives the merged first media resource and the play time stamp at the current moment, which are sent by the server based on the merging of the audio data of the account logged in by the first terminal and the first media resource.
914. And the second terminal plays the merged first media resource based on the play time stamp at the current moment.
Optionally, if the second terminal detects that the account logged in by the second terminal inputs voice, the audio data of the account logged in by the second terminal is acquired, and the audio data is sent to the server, then the server receives the audio data of the account logged in by the first terminal and sends the audio data to the first terminal.
In one specific example, the server includes a song library server and a merge server. Fig. 10 is a flowchart of a resource sharing method according to an embodiment of the present application, and referring to fig. 10, a first terminal pulls a first media resource (e.g., a paid song) from a song library server. The first terminal sends a sharing request to the second terminal, where the sharing request may be a link for listening to a song together as shown in fig. 10, and the link for listening to a song together carries the terminal identifier. If the first user inputs voice, the first terminal acquires the input audio data, and sends the acquired audio data and the first media resource to the merge server, which is also the process of reporting data by the first terminal shown in fig. 10. And after receiving the audio data and the first media resource, the merging server merges the audio data and the first media resource and sends the merged data stream to the second terminal. If the second user inputs voice, the second terminal acquires the input audio data and sends the acquired audio data to the merge server, which is also the process of reporting data by the second terminal shown in fig. 10. And after receiving the audio data, the merging server sends the audio data to the first terminal. Through the process, the audio connection of the first terminal and the second terminal can be realized while the resources are shared.
It should be noted that the resource sharing method provided in the embodiment of the present application can also be applied to live broadcast connection, fig. 11 is a schematic diagram of a principle of live broadcast connection provided in the embodiment of the present application, and referring to fig. 11, if a large anchor wants to connect with a small anchor, such as an audio connection or a video connection, a large anchor terminal acquires large anchor data and sends the large anchor data to a server, and meanwhile, a small anchor terminal acquires small anchor data and sends the small anchor data to the server. And if the server receives the small anchor data, the small anchor data are sent to the large anchor terminal. Therefore, the large anchor terminal and the small anchor terminal can realize audio connection or video connection, namely the large anchor terminal plays audio data or live broadcast pictures of the small anchor, and the small anchor terminal plays and amplifies the audio data or the live broadcast pictures of the anchor. The server also merges the big anchor data and the small anchor data and distributes the merged live broadcast data to a plurality of audience terminals in the live broadcast room. Optionally, the server receives the audio data and the first media resource sent by the first terminal, and after receiving the audio data sent by the second terminal, merges the audio data of the first terminal, the audio data of the first media resource and the audio data of the second terminal to obtain merged live broadcast data, and distributes the merged live broadcast data to a plurality of audience terminals in a live broadcast room, so that the plurality of audience terminals receive the merged live broadcast data and play the audio data of the first terminal, the audio data of the first media resource and the audio data of the second terminal on the corresponding audience terminals, thereby realizing resource sharing based on the live broadcast room.
According to the technical scheme provided by the embodiment of the application, under the scene of audio connection or video connection, the server is used for merging the audio data of the first media resource and the audio data of the first terminal to obtain the merged media resource, and then the server sends the merged media resource to the second terminal, so that the sharing of the media resource can be realized.
Fig. 12 is a schematic structural diagram of a resource sharing apparatus provided as a first terminal according to an embodiment of the present application, and referring to fig. 12, the apparatus includes:
a sending module 1201, configured to send a sharing request to a server if a resource sharing operation based on a first media resource is detected, where the sharing request is used to request to share the first media resource with a second terminal;
an obtaining module 1202, configured to obtain the first media resource in response to the second terminal agreeing to the sharing request;
the sending module 1201 is further configured to send the first media resource and a play timestamp of the current time to the second terminal, where the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
In a possible implementation manner, the sharing request is used to trigger the second terminal to send an agreement message to the server, where the agreement message is used to trigger the server to check the second terminal, and if the check is passed, send terminal information of the first terminal to the second terminal, where the terminal information is used to trigger the second terminal to obtain the first media resource from the first terminal, and the sending module 1201 is configured to:
and receiving a resource acquisition request sent by the second terminal based on the terminal information, and executing the step of acquiring the first media resource.
In a possible implementation manner, the obtaining module 1202 is further configured to obtain a second media resource, and combine the first media resource and the second media resource to obtain a combined first media resource;
the sending module 1201 is further configured to send the merged first media resource to the second terminal.
In one possible implementation, the second media resource is background audio or accompaniment audio.
In a possible implementation manner, the obtaining module 1202 is further configured to obtain an associated media resource of the first media resource, where the associated media resource is a media resource that is different from the first media resource in copyright type but has the same content as the first media resource;
the sending module 1201 is further configured to send the associated media resource to the second terminal.
In a possible implementation manner, the obtaining module 1202 includes:
a sending submodule, configured to send an associated resource obtaining request to the server, where the associated resource obtaining request carries resource information of the first media resource;
and the receiving submodule is used for receiving the associated media resources returned by the server based on the resource information.
In a possible implementation manner, the obtaining module 1202 is further configured to obtain audio data of an account logged in by the first terminal;
the sending module 1201 is further configured to send the audio data and the first media resource to the server, where the audio data and the first media resource are used to trigger the server to combine the audio data and the first media resource to obtain a combined first media resource, and send the combined first media resource and the play timestamp of the current time to the second terminal.
In one possible implementation, the sharing request carries a resource link of the first media resource.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
It should be noted that: in the resource sharing apparatus provided in the foregoing embodiment, when sharing resources, only the division of the functional modules is illustrated, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the resource sharing apparatus and the resource sharing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 13 is a schematic structural diagram of a resource sharing apparatus provided as a server according to an embodiment of the present application, and referring to fig. 13, the apparatus includes:
a receiving module 1301, configured to receive a sharing request sent by a first terminal, where the sharing request is used to request to share a first media resource with a second terminal;
a sending module 1302, configured to send the sharing request to the second terminal;
the receiving module 1301 is further configured to receive an agreement message sent by the second terminal based on the sharing request, and send the agreement message to the first terminal, where the agreement message is used to indicate that the second terminal agrees with the sharing request, the agreement message is used to trigger the first terminal to send the first media resource and a play timestamp of a current time to the second terminal, and the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
In one possible implementation, the apparatus further includes:
and the verification module is used for verifying the second terminal, and if the second terminal passes the verification, sending the terminal information of the first terminal to the second terminal, wherein the terminal information is used for triggering the second terminal to acquire the first media resource and the playing time stamp at the current moment from the first terminal.
In one possible implementation manner, the checking module is configured to:
and if the terminal identifier of the second terminal is the same as the terminal identifier of the second terminal carried in the sharing request, determining that the second terminal passes the verification.
In a possible implementation manner, the receiving module 1301 is further configured to receive an associated resource obtaining request sent by the first terminal, where the associated resource obtaining request carries resource information of the first media resource, and the associated media resource is a media resource that is different from the first media resource in copyright type but has the same content as the first media resource;
the device also comprises a determining module, which is used for determining the associated media resource corresponding to the resource information of the first media resource based on the resource information of the first media resource and the corresponding relation between the resource information and the associated media resource;
the sending module 1302 is further configured to send the associated media resource to the first terminal.
In a possible implementation manner, the receiving module 1301 is further configured to receive audio data of an account logged in by the first terminal and the first media resource;
the device also comprises a merging module used for merging the audio data and the first media resource to obtain a merged first media resource;
the sending module 1302 is further configured to send the merged first media resource to the second terminal.
In a possible implementation manner, the sending module 1302 is further configured to send the first media resource and the playing time stamp of the current time to the second terminal.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
It should be noted that: in the resource sharing apparatus provided in the foregoing embodiment, when sharing resources, only the division of the functional modules is illustrated, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the resource sharing apparatus and the resource sharing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 14 is a schematic structural diagram of a resource sharing apparatus provided as a second terminal according to an embodiment of the present application, and referring to fig. 14, the apparatus includes:
a receiving module 1401, configured to receive a sharing request sent by a server, where the sharing request is used to request to share a first media resource with the second terminal;
a sending module 1402, configured to send an agreement message to the server if an agreement operation on the sharing request is detected, where the agreement message is used to indicate that the second terminal agrees to the sharing request;
the receiving module 1401, configured to receive the first media resource and the play timestamp of the current time that are sent by the first terminal based on the agreement message;
a playing module 1403, configured to play the first media resource based on the playing time stamp.
In one possible implementation, the apparatus further includes:
the receiving module 1401 is further configured to receive terminal information that is checked by the server based on the agreement message and returned by the second terminal after the second terminal passes the check;
the sending module 1402 is further configured to send a resource obtaining request to the first terminal based on the terminal information.
In one possible implementation, the apparatus further includes:
the receiving module 1401 is further configured to receive a play timestamp of the merged first media resource and the current time, which is sent by the first terminal based on merging the first media resource and the second media resource;
the playing module 1403 is further configured to play the merged first media resource based on the playing time stamp of the current time.
In one possible implementation, the apparatus further includes:
the receiving module 1401 is further configured to receive a playing timestamp of the merged first media resource and the current time, where the merged first media resource is sent by the server based on merging the audio data of the account logged in by the first terminal and the first media resource;
the playing module 1403 is further configured to play the merged first media resource based on the playing time stamp of the current time.
According to the technical scheme provided by the embodiment of the application, when the first terminal and the second terminal share the first media resource, the first terminal sends the first media resource to the second terminal, through an end-to-end transmission mode, sharing of the media resource can be achieved, and when the media resource is a copyrighted media resource, copyright can be bypassed, sharing of the copyrighted media resource is achieved, user experience is improved, and in addition, the playing time stamp of the current moment is sent while the first media resource is sent, and synchronous playing of the media resource between the first terminal and the second terminal can be ensured.
It should be noted that: in the resource sharing apparatus provided in the foregoing embodiment, when sharing resources, only the division of the functional modules is illustrated, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the resource sharing apparatus and the resource sharing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 15 shows a block diagram of a terminal 1500 according to an exemplary embodiment of the present application. The terminal 1500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1500 may also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
In general, terminal 1500 includes: a processor 1501 and memory 1502.
Processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1502 is used to store at least one program code for execution by the processor 1501 to implement the resource sharing methods provided by the method embodiments herein.
In some embodiments, the terminal 1500 may further include: a peripheral interface 1503 and at least one peripheral. The processor 1501, memory 1502, and peripheral interface 1503 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1503 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508, and a power supply 1509.
The peripheral interface 1503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, memory 1502, and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 1504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1504 can communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1504 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to capture touch signals on or over the surface of the display screen 1505. The touch signal may be input to the processor 1501 as a control signal for processing. In this case, the display screen 1505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1505 may be one, provided on the front panel of terminal 1500; in other embodiments, display 1505 may be at least two, each disposed on a different surface of terminal 1500 or in a folded design; in other embodiments, display 1505 may be a flexible display disposed on a curved surface or a folded surface of terminal 1500. Even further, the display 1505 may be configured in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1505 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 1506 is used to capture images or video. Optionally, the camera assembly 1506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1507 may include a microphone and speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1501 for processing or inputting the electric signals to the radio frequency circuit 1504 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of the terminal 1500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1507 may also include a headphone jack.
The positioning component 1508 is used to locate the current geographic position of the terminal 1500 for navigation or LBS (Location Based Service). The Positioning component 1508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
Power supply 1509 is used to power the various components in terminal 1500. The power supply 1509 may be alternating current, direct current, disposable or rechargeable. When the power supply 1509 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 1500 also includes one or more sensors 1510. The one or more sensors 1510 include, but are not limited to: acceleration sensor 1511, gyro sensor 1512, pressure sensor 1515, fingerprint sensor 1514, optical sensor 1515, and proximity sensor 1516.
The acceleration sensor 1511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1500. For example, the acceleration sensor 1511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1501 may control the display screen 1505 to display the user interface in a landscape view or a portrait view based on the gravitational acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 may also be used for acquisition of motion data of a game or a user.
The gyroscope sensor 1512 can detect the body direction and the rotation angle of the terminal 1500, and the gyroscope sensor 1512 and the acceleration sensor 1511 cooperate to collect the 3D motion of the user on the terminal 1500. The processor 1501 may implement the following functions according to the data collected by the gyro sensor 1512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1513 may be disposed on a side frame of terminal 1500 and/or underneath display 1505. When the pressure sensor 1513 is disposed on the side frame of the terminal 1300, the holding signal of the user to the terminal 1500 may be detected, and the processor 1501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is disposed at a lower layer of the display screen 1505, the processor 1501 controls the operability control on the UI interface in accordance with the pressure operation of the user on the display screen 1505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1514 is configured to capture a fingerprint of the user, and the processor 1501 identifies the user based on the fingerprint captured by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user based on the captured fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 1514 may be disposed on the front, back, or side of the terminal 1500. When a physical key or vendor Logo is provided on the terminal 1500, the fingerprint sensor 1514 may be integrated with the physical key or vendor Logo.
The optical sensor 1515 is used to collect ambient light intensity. In one embodiment, processor 1501 may control the brightness of display screen 1505 based on the intensity of ambient light collected by optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is adjusted down. In another embodiment, the processor 1501 may also dynamically adjust the shooting parameters of the camera assembly 1506 based on the ambient light intensity collected by the optical sensor 1515.
A proximity sensor 1516, also known as a distance sensor, is typically provided on the front panel of the terminal 1500. The proximity sensor 1516 is used to collect the distance between the user and the front surface of the terminal 1500. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front surface of the terminal 1500 gradually decreases, the processor 1501 controls the display 1505 to switch from the bright screen state to the dark screen state; when the proximity sensor 1516 detects that the distance between the user and the front surface of the terminal 1500 gradually becomes larger, the processor 1501 controls the display 1505 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 15 does not constitute a limitation of terminal 1500, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be employed.
The computer device provided by the embodiment of the application can be provided as a server. Fig. 16 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1600 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1601 and one or more memories 1602, where at least one program code is stored in the memory 1002, and the at least one program code is loaded and executed by the processors 1601 to implement the resource sharing method provided by the above-mentioned method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer readable storage medium, such as a memory, including program code executable by a processor in a terminal or a server to perform the resource sharing method in the above embodiments. For example, the computer-readable storage medium may be a read-only memory (ROM), a Random Access Memory (RAM), a compact-disc read-only memory (cd-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by program code instructing relevant hardware, and the program code may be stored in a computer readable storage medium, and the above mentioned storage medium may be read only memory, magnetic or optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (17)

1. A resource sharing method is applied to a first terminal, and the method comprises the following steps:
if the resource sharing operation based on the first media resource is detected, sending a sharing request to a server, wherein the sharing request is used for requesting to share the first media resource with a second terminal;
responding to the second terminal to approve the sharing request, and acquiring the first media resource;
and sending the first media resource and a playing time stamp of the current moment to the second terminal, wherein the playing time stamp is used for triggering the second terminal to play the first media resource based on the playing time stamp.
2. The method according to claim 1, wherein the sharing request is used to trigger the second terminal to send an agreement message to the server, the agreement message is used to trigger the server to check the second terminal, and if the check is passed, terminal information of the first terminal is sent to the second terminal, the terminal information is used to trigger the second terminal to obtain the first media resource from the first terminal, and before sending the first media resource and a play timestamp of a current time to the second terminal, the method further comprises:
and receiving a resource acquisition request sent by the second terminal based on the terminal information, and executing the step of acquiring the first media resource.
3. The method of claim 1, further comprising:
acquiring audio data of the account logged in by the first terminal;
and sending the audio data and the first media resource to the server, wherein the audio data and the first media resource are used for triggering the server to combine the audio data and the first media resource to obtain a combined first media resource, and sending the combined first media resource and the playing time stamp of the current moment to the second terminal.
4. The method of claim 1, wherein the sharing request carries a resource link of the first media resource.
5. A resource sharing method is applied to a server, and the method comprises the following steps:
receiving a sharing request sent by a first terminal, wherein the sharing request is used for requesting to share a first media resource with a second terminal;
sending the sharing request to the second terminal;
receiving an agreement message sent by the second terminal based on the sharing request, and sending the agreement message to the first terminal, where the agreement message is used to indicate that the second terminal agrees with the sharing request, the agreement message is used to trigger the first terminal to send the first media resource and a play timestamp of the current time to the second terminal, and the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
6. The method according to claim 5, wherein after receiving the agreement message sent by the second terminal, the method further comprises:
and checking the second terminal, and if the second terminal passes the check, sending terminal information of the first terminal to the second terminal, wherein the terminal information is used for triggering the second terminal to acquire the first media resource and the playing timestamp of the current moment from the first terminal.
7. The method of claim 6, wherein the verifying the second terminal comprises:
and if the terminal identification of the second terminal is the same as the terminal identification of the second terminal carried in the sharing request, determining that the second terminal passes the verification.
8. The method of claim 5, further comprising:
receiving audio data of an account logged in by the first terminal and the first media resource;
merging the audio data and the first media resource to obtain a merged first media resource;
and sending the combined first media resource and the playing time stamp of the current moment to the second terminal.
9. A resource sharing method applied to a second terminal, the method comprising:
receiving a sharing request sent by a server, wherein the sharing request is used for requesting to share a first media resource with the second terminal;
if the operation of agreeing to the sharing request is detected, sending an agreement message to the server, wherein the agreement message is used for indicating the second terminal to agree to the sharing request;
receiving the first media resource sent by the first terminal based on the agreement message and a play timestamp of the current moment;
playing the first media asset based on the play timestamp.
10. The method of claim 9, wherein after sending a grant message to the server if a grant operation for the sharing request is detected, the method further comprises:
receiving the server, checking based on the agreement message, and determining terminal information returned by the second terminal after the second terminal passes the check;
and sending a resource acquisition request to the first terminal based on the terminal information.
11. The method of claim 9, further comprising:
receiving a combined first media resource and a playing time stamp of the current moment, wherein the combined first media resource is sent by the server based on the combination of the audio data of the account logged in by the first terminal and the first media resource;
and playing the merged first media resource based on the playing time stamp of the current moment.
12. An apparatus for resource sharing, the apparatus comprising:
a sending module, configured to send a sharing request to a server if a resource sharing operation based on a first media resource is detected, where the sharing request is used to request to share the first media resource with a second terminal;
an obtaining module, configured to obtain the first media resource in response to the second terminal agreeing to the sharing request;
the sending module is configured to send the first media resource and a play timestamp of the current time to the second terminal, where the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
13. An apparatus for resource sharing, the apparatus comprising:
a receiving module, configured to receive a sharing request sent by a first terminal, where the sharing request is used to request to share a first media resource with a second terminal;
a sending module, configured to send the sharing request to the second terminal;
the receiving module is configured to receive an agreement message sent by the second terminal based on the sharing request, and send the agreement message to the first terminal, where the agreement message is used to indicate that the second terminal agrees to the sharing request, the agreement message is used to trigger the first terminal to send the first media resource and a play timestamp of a current time to the second terminal, and the play timestamp is used to trigger the second terminal to play the first media resource based on the play timestamp.
14. An apparatus for resource sharing, the apparatus comprising:
a receiving module, configured to receive a sharing request sent by a server, where the sharing request is used to request to share a first media resource with the second terminal;
a sending module, configured to send an agreement message to the server if an agreement operation on the sharing request is detected, where the agreement message is used to indicate that the second terminal agrees to the sharing request;
the receiving module is configured to receive the first media resource and a play timestamp of a current time, which are sent by the first terminal based on the agreement message;
and the playing module is used for playing the first media resource based on the playing time stamp.
15. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the resource sharing method according to any one of claims 1 to 4 or 9 to 11.
16. A server, characterized in that the server comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the resource sharing method according to any one of claims 5 to 8.
17. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor to implement the resource sharing method according to any one of claims 1 to 11.
CN202011412093.0A 2020-12-04 2020-12-04 Resource sharing method, device, terminal, server and storage medium Active CN112583806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011412093.0A CN112583806B (en) 2020-12-04 2020-12-04 Resource sharing method, device, terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011412093.0A CN112583806B (en) 2020-12-04 2020-12-04 Resource sharing method, device, terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN112583806A true CN112583806A (en) 2021-03-30
CN112583806B CN112583806B (en) 2024-03-22

Family

ID=75127343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011412093.0A Active CN112583806B (en) 2020-12-04 2020-12-04 Resource sharing method, device, terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN112583806B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301135A (en) * 2021-05-14 2021-08-24 涂哲 Data sharing method
CN113411652A (en) * 2021-07-02 2021-09-17 广州酷狗计算机科技有限公司 Media resource playing method and device, storage medium and electronic equipment
WO2023093452A1 (en) * 2021-11-29 2023-06-01 Oppo广东移动通信有限公司 Resource interaction method and apparatus, and terminal and storage medium
WO2023213275A1 (en) * 2022-05-05 2023-11-09 维沃移动通信有限公司 Communication method and apparatus, terminal, network side device and medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030040297A (en) * 2003-04-17 2003-05-22 주식회사 네오에이지 Peer to peer file sharing service with fee
KR20060024456A (en) * 2006-02-26 2006-03-16 정우준 Business model about user interaction based music streaming sharing service
CN101202902A (en) * 2007-12-11 2008-06-18 西安交通大学 Method for designing P2P stream medium network transferring structure with number copyright management
CN103686420A (en) * 2013-12-13 2014-03-26 广州华多网络科技有限公司 Method, terminal, server and system for inviting friend to watch video
US20160072804A1 (en) * 2014-09-08 2016-03-10 At&T Mobility Ii Llc System and method to share a resource or a capability of a device
EP3073703A1 (en) * 2015-03-23 2016-09-28 Laboratories Thomson Ltd. Method and system for sharing music and other audio content among mobile devices
CN106790018A (en) * 2016-12-14 2017-05-31 合网络技术(北京)有限公司 Resource-sharing player method and device
CN106960333A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The method and system of shared resource
CN107635152A (en) * 2017-09-28 2018-01-26 深圳晶恒数码科技有限公司 A kind of method and device of shared VR videos
CN107659834A (en) * 2017-03-22 2018-02-02 腾讯科技(深圳)有限公司 The sharing method and device of media resource
CN109194572A (en) * 2018-10-18 2019-01-11 腾讯音乐娱乐科技(深圳)有限公司 Audio file play method, device, terminal and storage medium
CN109842819A (en) * 2017-11-28 2019-06-04 腾讯数码(天津)有限公司 A kind of video playing interactive approach, device, system, user terminal and medium
US20190182297A1 (en) * 2010-01-25 2019-06-13 Pointy Heads Llc Data communication system and method
CN110336810A (en) * 2019-06-28 2019-10-15 华为技术有限公司 Information sharing method, platform and calculating equipment
CN110536028A (en) * 2019-08-15 2019-12-03 咪咕文化科技有限公司 Implementation method, color ring platform and the terminal of video frequency color ring
CN111614759A (en) * 2020-05-20 2020-09-01 北京字节跳动网络技术有限公司 Resource sharing method and device, electronic equipment and computer readable medium
CN111880874A (en) * 2020-07-13 2020-11-03 腾讯科技(深圳)有限公司 Media file sharing method, device and equipment and computer readable storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030040297A (en) * 2003-04-17 2003-05-22 주식회사 네오에이지 Peer to peer file sharing service with fee
KR20060024456A (en) * 2006-02-26 2006-03-16 정우준 Business model about user interaction based music streaming sharing service
CN101202902A (en) * 2007-12-11 2008-06-18 西安交通大学 Method for designing P2P stream medium network transferring structure with number copyright management
US20190182297A1 (en) * 2010-01-25 2019-06-13 Pointy Heads Llc Data communication system and method
CN103686420A (en) * 2013-12-13 2014-03-26 广州华多网络科技有限公司 Method, terminal, server and system for inviting friend to watch video
US20160072804A1 (en) * 2014-09-08 2016-03-10 At&T Mobility Ii Llc System and method to share a resource or a capability of a device
EP3073703A1 (en) * 2015-03-23 2016-09-28 Laboratories Thomson Ltd. Method and system for sharing music and other audio content among mobile devices
CN106960333A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The method and system of shared resource
CN106790018A (en) * 2016-12-14 2017-05-31 合网络技术(北京)有限公司 Resource-sharing player method and device
CN107659834A (en) * 2017-03-22 2018-02-02 腾讯科技(深圳)有限公司 The sharing method and device of media resource
CN107635152A (en) * 2017-09-28 2018-01-26 深圳晶恒数码科技有限公司 A kind of method and device of shared VR videos
CN109842819A (en) * 2017-11-28 2019-06-04 腾讯数码(天津)有限公司 A kind of video playing interactive approach, device, system, user terminal and medium
CN109194572A (en) * 2018-10-18 2019-01-11 腾讯音乐娱乐科技(深圳)有限公司 Audio file play method, device, terminal and storage medium
CN110336810A (en) * 2019-06-28 2019-10-15 华为技术有限公司 Information sharing method, platform and calculating equipment
CN110536028A (en) * 2019-08-15 2019-12-03 咪咕文化科技有限公司 Implementation method, color ring platform and the terminal of video frequency color ring
CN111614759A (en) * 2020-05-20 2020-09-01 北京字节跳动网络技术有限公司 Resource sharing method and device, electronic equipment and computer readable medium
CN111880874A (en) * 2020-07-13 2020-11-03 腾讯科技(深圳)有限公司 Media file sharing method, device and equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG_YIXUAN_SS: ""P2P技术应用"", pages 1 - 8, Retrieved from the Internet <URL:《CSDN,原文链接:https://blog.csdn.net/Zhang_Yixuan_ss/article/details/78974318?spm=1001.2014.3001.5502 》> *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301135A (en) * 2021-05-14 2021-08-24 涂哲 Data sharing method
CN113411652A (en) * 2021-07-02 2021-09-17 广州酷狗计算机科技有限公司 Media resource playing method and device, storage medium and electronic equipment
WO2023093452A1 (en) * 2021-11-29 2023-06-01 Oppo广东移动通信有限公司 Resource interaction method and apparatus, and terminal and storage medium
WO2023213275A1 (en) * 2022-05-05 2023-11-09 维沃移动通信有限公司 Communication method and apparatus, terminal, network side device and medium

Also Published As

Publication number Publication date
CN112583806B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN110267067B (en) Live broadcast room recommendation method, device, equipment and storage medium
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110278464B (en) Method and device for displaying list
CN112583806B (en) Resource sharing method, device, terminal, server and storage medium
CN111918086B (en) Video connection method, device, terminal, server and readable storage medium
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN110213612B (en) Live broadcast interaction method and device and storage medium
CN110102063B (en) Identification binding method, device, terminal, server and storage medium
CN110418152B (en) Method and device for carrying out live broadcast prompt
CN113271470B (en) Live broadcast wheat connecting method, device, terminal, server and storage medium
CN113490010B (en) Interaction method, device and equipment based on live video and storage medium
CN113204671A (en) Resource display method, device, terminal, server, medium and product
CN114040219B (en) Game live broadcast method, device, system, equipment and computer readable storage medium
CN112040267A (en) Chorus video generation method, chorus method, apparatus, device and storage medium
CN111294551A (en) Method, device and equipment for audio and video transmission and storage medium
CN112492331B (en) Live broadcast method, device, system and storage medium
CN110944214B (en) Method, device, equipment, system and storage medium for intercepting high-tide video segments of songs
CN110519614B (en) Method, device and equipment for interaction between accounts in live broadcast room
CN111064657B (en) Method, device and system for grouping concerned accounts
CN111131619B (en) Account switching processing method, device and system
CN112468838A (en) Live broadcast room management method, system, device, equipment and storage medium
CN113141538A (en) Media resource playing method, device, terminal, server and storage medium
CN113095046A (en) Lyric processing method, device, terminal, server and readable storage medium
CN111918084A (en) Wheat loading method and device, server and terminal

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