CN109302385A - Multimedia resource sharing method, device and storage medium - Google Patents
Multimedia resource sharing method, device and storage medium Download PDFInfo
- Publication number
- CN109302385A CN109302385A CN201811049701.9A CN201811049701A CN109302385A CN 109302385 A CN109302385 A CN 109302385A CN 201811049701 A CN201811049701 A CN 201811049701A CN 109302385 A CN109302385 A CN 109302385A
- Authority
- CN
- China
- Prior art keywords
- sharing
- playing
- multimedia resource
- target multimedia
- rate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 230000006870 function Effects 0.000 claims description 131
- 238000012545 processing Methods 0.000 claims description 22
- 230000009191 jumping Effects 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000001360 synchronised effect Effects 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000002776 aggregation Effects 0.000 description 8
- 238000004220 aggregation Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 5
- 230000004931 aggregating effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of multimedia resource sharing method, device and storage mediums, belong to field of terminal technology.The described method includes: operation multimedia application;Sharing function based on the multimedia application receives the sharing to destination multimedia resource and instructs;It is instructed based on the sharing, obtains user by playback rate and function is set, for the playback rate of destination multimedia resource setting, mark and the playback rate based on destination multimedia resource generate and share link;Sharing link is shared.Wherein, sharing link carries the broadcast address of destination multimedia resource and the instruction information of the playback rate, for triggering in the broadcasting page of broadcast address instruction, plays destination multimedia resource according to the playback rate.In this way, the playback rate of multimedia resource can also be synchronized to other terminals while multimedia resource is shared with other terminals, to extend the sharing form of multimedia resource, improve flexibility.
Description
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a multimedia resource sharing method, apparatus, and storage medium.
Background
With the rapid development of terminal technology and information technology, in daily life, users can conveniently share information which interests the users to other users through terminals. For example, multimedia resources such as songs or videos that are interested in the user are shared with other users.
In the related art, a multimedia resource sharing method is provided, including: when a sharing instruction of the target multimedia resource is received, a playing address of the target multimedia resource is obtained, a sharing link of the target multimedia resource is generated according to the playing address, and then the sharing link is sent to other terminals, so that the target multimedia resource is shared to other terminals in a sharing link mode. Therefore, after receiving the sharing link, other terminals can trigger the playing of the target multimedia resource according to the sharing link.
However, the multimedia resource sharing provided in the related art is single in form and low in flexibility.
Disclosure of Invention
The embodiment of the invention provides a multimedia resource sharing method, a multimedia resource sharing device and a storage medium, which can be used for solving the problems of single multimedia resource sharing form and low flexibility in the related technology. The technical scheme is as follows:
in a first aspect, a multimedia resource sharing method is provided, and is applied to a first terminal, where the method includes:
running a multimedia application, wherein the multimedia application comprises a play rate setting function and a sharing function;
receiving a sharing instruction of the target multimedia resource based on the sharing function;
based on the sharing instruction, acquiring the playing rate set for the target multimedia resource by the user through the playing rate setting function;
generating a sharing link based on the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and sharing the sharing link.
Optionally, after obtaining the play rate set for the target multimedia resource by the play rate setting function of the user based on the sharing instruction, the method further includes:
sending a sharing request to a server, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate and is used for requesting the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and receiving the sharing link sent by the server, and sharing the sharing link, or indicating the server to share the sharing link through the sharing request.
Optionally, before receiving the instruction for sharing the target multimedia resource based on the sharing function, the method further includes:
playing the target multimedia resource in the multimedia application;
receiving the playing speed set for the played target multimedia resource by the user through the playing speed setting function;
continuing to play the target multimedia resource according to the playing speed;
the obtaining, based on the sharing instruction, the play rate set for the target multimedia resource by the user through the play rate setting function includes:
and acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function based on the sharing instruction.
Optionally, the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
the obtaining, based on the sharing instruction, the play rate set for the target multimedia resource by the user through the play rate setting function includes:
displaying a setting entry corresponding to the play rate setting function based on the sharing instruction;
and acquiring the playing speed selected or input by the user based on the setting entrance.
Optionally, the playing address of the target multimedia resource is a webpage playing address, and the sharing link is used for triggering the target multimedia resource to be played at the playing rate in the webpage indicated by the webpage playing address.
Optionally, the sharing link includes:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
In a second aspect, a multimedia resource sharing method is provided, and is applied to a server, and the method includes:
receiving a sharing request sent by a first terminal, wherein the sharing request carries an identifier and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
generating a sharing link according to the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and sharing the sharing link, or sending the sharing link to the first terminal, and sharing the sharing link by the first terminal.
Optionally, the generating a sharing link according to the target multimedia resource identifier and the play rate includes:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
Optionally, the sharing link includes:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
In a third aspect, a multimedia resource sharing method is provided, which is applied to a second terminal, and the method includes:
acquiring a sharing link shared by a first terminal or a server, wherein the sharing link carries indication information of a playing address and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
displaying the sharing link in a display screen;
and when a triggering instruction for the sharing link is received, jumping to a playing page indicated by the playing address, and playing the target multimedia resource in the playing page according to the playing speed.
Optionally, the playing address of the target multimedia resource is a web page playing address, the target multimedia resource is skipped to a playing page indicated by the playing address, and the playing of the target multimedia resource in the playing page according to the playing rate includes:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
In a fourth aspect, a multimedia resource sharing apparatus is provided, which is applied to a first terminal, and the apparatus includes:
the system comprises an operation module, a display module and a sharing module, wherein the operation module is used for operating a multimedia application, and the multimedia application comprises a play rate setting function and a sharing function;
the receiving module is used for receiving a sharing instruction of the target multimedia resource based on the sharing function;
the acquisition module is used for acquiring the play rate set for the target multimedia resource by the user through the play rate setting function based on the sharing instruction;
the generating module is used for generating a sharing link based on the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and the sharing module is used for sharing the sharing link.
Optionally, the apparatus further comprises:
a sending module, configured to send a sharing request to a server, where the sharing request carries an identifier of the target multimedia resource and the playing rate, and is used to request the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
the sharing module is further configured to receive the sharing link sent by the server, and share the sharing link, or instruct the server to share the sharing link through the sharing request.
Optionally, the apparatus further comprises:
the playing module is used for playing the target multimedia resource in the multimedia application;
the receiving module is further configured to receive a play rate set for the played target multimedia resource by the user through the play rate setting function;
the playing module is further configured to continue to play the target multimedia resource according to the playing rate;
the acquisition module is configured to:
and acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function based on the sharing instruction.
Optionally, the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
the acquisition module is configured to:
displaying a setting entry corresponding to the play rate setting function based on the sharing instruction;
and acquiring the playing speed selected or input by the user based on the setting entrance.
Optionally, the playing address of the target multimedia resource is a webpage playing address, and the sharing link is used for triggering the target multimedia resource to be played at the playing rate in the webpage indicated by the webpage playing address.
Optionally, the sharing module is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
In a fifth aspect, a multimedia resource sharing apparatus is provided, and is applied in a server, the apparatus includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a sharing request sent by a first terminal, the sharing request carries an identifier and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
a generating module, configured to generate a sharing link according to the identifier of the target multimedia resource and the playing rate, where the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used to trigger playing of the target multimedia resource in a playing page indicated by the playing address according to the playing rate;
and the sharing module is used for sharing the sharing link, or sending the sharing link to the first terminal, and sharing the sharing link by the first terminal.
Optionally, the generating module is configured to:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
Optionally, the sharing module is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
In a sixth aspect, a multimedia resource sharing apparatus is provided, which is applied to a second terminal, and the apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a sharing link shared by a first terminal or a server, the sharing link carries a playing address of a target multimedia resource and indication information of a playing rate, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
the display module is used for displaying the sharing link in a display screen;
and the playing module is used for jumping to a playing page indicated by the playing address when a triggering instruction for the sharing link is received, and playing the target multimedia resource in the playing page according to the playing speed.
Optionally, the play address of the target multimedia resource is a web page play address, and the play module is configured to:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
In a seventh aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the multimedia resource sharing method.
In an eighth aspect, a server is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the multimedia resource sharing method.
In a ninth aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the multimedia resource sharing method.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the invention, in the process of running the multimedia application, a sharing instruction of a target multimedia resource can be received based on the sharing function of the multimedia application, then based on the sharing instruction, a playing speed setting function of a user through the multimedia application is obtained to set a playing speed for the target multimedia resource, then based on the identification and the playing speed of the target for the media resource, a sharing link is generated and shared, so that a terminal which obtains the sharing link can play the target multimedia resource in a playing page indicated by the playing address according to the sharing link. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 illustration of an implementation environment to which embodiments of the invention relate;
FIG. 2 is a schematic illustration of another implementation environment to which embodiments of the invention relate;
fig. 3 is a flowchart of a multimedia resource sharing method according to an embodiment of the present invention;
fig. 4 is a flowchart of another multimedia resource sharing method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a multimedia resource sharing method according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating a multimedia resource sharing method according to another embodiment of the present invention;
fig. 7 is a flowchart illustrating a multimedia resource sharing method according to another embodiment of the present invention;
fig. 8 is a flowchart of a process for synchronizing playback rates according to an embodiment of the present invention;
fig. 9 is a flowchart of a playing rate obtaining process provided in an embodiment of the present invention;
fig. 10 is a block diagram illustrating a multimedia resource sharing apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram illustrating another multimedia resource sharing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram illustrating a structure of another multimedia resource sharing apparatus according to an embodiment of the present invention;
fig. 13 is a block diagram of a terminal 1300 according to an embodiment of the present invention;
fig. 14 is a block diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention will be described.
The multimedia resource sharing method provided by the embodiment of the invention can be applied to the sharing scenes of multimedia resources such as songs and videos. For example, in the process of listening to music in a music playing application, when listening to a good-listening song, a user may click a sharing option in the application playing application to share the song in a third-party platform such as an instant messaging application or a social application.
Next, an implementation environment of the embodiment of the present invention will be described.
Fig. 1 is a schematic diagram of an implementation environment according to an embodiment of the present invention, and the implementation environment includes a first terminal 10, as shown in fig. 1. The first terminal 10 is equipped with a multimedia application, the multimedia application can play multimedia resources, and has a play rate setting function and a sharing function, and the first terminal 10 can share the multimedia resources in the multimedia application according to the method provided by the embodiment of the present invention. In practical applications, the first terminal 10 may be a mobile phone, a tablet computer, a computer, or the like.
Specifically, the first terminal 10 is configured to run a multimedia application, where the multimedia application includes a play rate setting function and a sharing function; receiving a sharing instruction of the target multimedia resource based on the sharing function; based on the sharing instruction, acquiring a playing rate set for the target multimedia resource by a user through a playing rate setting function; generating a sharing link based on the identifier of the target multimedia resource and the playing rate; and sharing the sharing link. The sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate.
Fig. 2 is a schematic diagram of another implementation environment according to an embodiment of the present invention, and as shown in fig. 2, the implementation environment includes a first terminal 10, a server 20, and a second terminal 30. The first terminal 10 may be connected with the server 20 and the second terminal 30 through a wired network or a wireless network, respectively.
The first terminal 10 is a sharing terminal of multimedia resources, and is equipped with a multimedia application, the multimedia application can play the multimedia resources, and has a play rate setting function and a sharing function, and the first terminal 10 may specifically be a mobile phone, a tablet computer, or a computer terminal. The server 20 is a server providing services for sharing multimedia resources, and may specifically be a background server or other servers of a multimedia application. The second terminal 30 is a receiving end of multimedia resources, and may also be a terminal such as a mobile phone, a tablet computer, or a computer.
In the embodiment of the present invention, the first terminal 10 is configured to run a multimedia application, where the multimedia application includes a play rate setting function and a sharing function; receiving a sharing instruction of the target multimedia resource based on the sharing function; and sending a sharing request to the server based on the sharing instruction, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate.
The server 20 is configured to receive a sharing request sent by the first terminal 10, and generate a sharing link according to the sharing request; the sharing link is shared, or the sharing link is sent to the first terminal 10, and the first terminal 10 shares the sharing link. The sharing link carries a playing address of the target multimedia resource and indication information of the playing rate.
The second terminal 30 is configured to obtain a sharing link shared by the first terminal 10 or the server 20; displaying the sharing link in a display screen; and when a triggering instruction for the sharing link is received, jumping to a playing page indicated by the playing address, and playing the target multimedia resource in the playing page according to the playing speed.
Fig. 3 is a flowchart of a multimedia resource sharing method according to an embodiment of the present invention, where the method is used in a first terminal. Referring to fig. 3, the method includes:
step 301: and running a multimedia application, wherein the multimedia application comprises a play rate setting function and a sharing function.
Step 302: and receiving a sharing instruction of the target multimedia resource based on the sharing function.
Step 303: and based on the sharing instruction, acquiring the playing rate set for the target multimedia resource by the user through the playing rate setting function.
Step 304: generating a sharing link based on the identifier of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
step 305: and sharing the sharing link.
In the embodiment of the invention, in the process of running the multimedia application, a sharing instruction of a target multimedia resource can be received based on the sharing function of the multimedia application, then based on the sharing instruction, a playing speed setting function of a user through the multimedia application is obtained to set a playing speed for the target multimedia resource, then based on the identification and the playing speed of the target for the media resource, a sharing link is generated and shared, so that a terminal which obtains the sharing link can play the target multimedia resource in a playing page indicated by the playing address according to the sharing link. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Optionally, after obtaining the play rate set for the target multimedia resource by the user through the play rate setting function based on the sharing instruction, the method further includes:
sending a sharing request to a server, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate and is used for requesting the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and receiving the sharing link sent by the server, and sharing the sharing link, or indicating the server to share the sharing link through the sharing request.
Optionally, before receiving the sharing instruction for the target multimedia resource based on the sharing function, the method further includes:
playing the target multimedia resource in the multimedia application;
receiving the playing speed set for the played target multimedia resource by the user through the playing speed setting function;
continuing to play the target multimedia resource according to the playing speed;
this based on this share instruction, acquire the user and pass through this play speed setting function, for the play speed that this target multimedia resource set up, include:
and based on the sharing instruction, acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function.
Optionally, the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
this based on this share instruction, acquire the user and pass through this play speed setting function, for the play speed that this target multimedia resource set up, include:
based on the sharing instruction, displaying a setting entry corresponding to the play rate setting function;
based on the setting entry, the play rate selected or input by the user is acquired.
Optionally, the playing address of the target multimedia resource is a webpage playing address, and the sharing link is used for triggering the target multimedia resource to be played at the playing rate in the webpage indicated by the webpage playing address.
Optionally, the sharing link includes:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to the second terminal.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 4 is a flowchart of another multimedia resource sharing method, which is used in a server according to an embodiment of the present invention. Referring to fig. 4, the method includes:
step 401: receiving a sharing request sent by a first terminal, wherein the sharing request carries an identifier and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application.
Step 402: and generating a sharing link according to the identification of the target multimedia resource and the playing rate.
The sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate.
Step 403: and sharing the sharing link, or sending the sharing link to the first terminal, and sharing the sharing link by the first terminal.
In the embodiment of the present invention, after receiving a sharing request which is sent by a first terminal and carries an identifier of a target multimedia resource and a play rate set for the target multimedia resource, a sharing link may be generated according to the identifier of the target multimedia resource and the play rate, where the sharing link carries a play address and the play rate of the target multimedia resource, and then the sharing link is shared, or the sharing link is sent to the first terminal, and the first terminal shares the sharing link, so that the terminal which acquires the sharing link can play the target multimedia resource in a play page indicated by the play address according to the sharing link and according to the play rate. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Optionally, the generating a sharing link according to the target multimedia resource identifier and the play rate includes:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
Optionally, the sharing link includes:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to the second terminal.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 5 is a flowchart of another multimedia resource sharing method, which is used in a second terminal according to an embodiment of the present invention. Referring to fig. 5, the method includes:
step 501: the method comprises the steps of obtaining a sharing link shared by a first terminal or a server, wherein the sharing link carries indication information of a playing address and a playing speed of a target multimedia resource, and the playing speed is set for the target multimedia resource by the first terminal through a playing speed setting function of a multimedia application.
Step 502: the sharing link is displayed in a display screen.
Step 503: and when a triggering instruction for the sharing link is received, jumping to a playing page indicated by the playing address, and playing the target multimedia resource in the playing page according to the playing speed.
In the embodiment of the invention, after receiving the sharing link carrying the playing address of the target multimedia resource and the playing speed set for the target multimedia resource, the sharing link can be displayed in the display screen, when receiving the triggering instruction of the sharing link, the user can jump to the playing page indicated by the playing address, and in the playing page, the target multimedia resource is played according to the set playing speed. Therefore, the shared multimedia resources can be received and played according to the playing speed set by the first terminal, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Optionally, the playing address of the target multimedia resource is a web page playing address, the target multimedia resource is skipped to a playing page indicated by the playing address, and the playing of the target multimedia resource in the playing page according to the playing rate includes:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
The multimedia resource sharing method provided in the embodiment of the present invention needs to generate a sharing link carrying a play rate, and then share the sharing link, where the sharing link may be generated by a terminal or a server, and the sharing method of the sharing link generated by the terminal in the embodiment of fig. 6 will be described in detail, and the sharing method of the sharing link generated by the server in the embodiment of fig. 7 will be described in detail.
Fig. 6 is a flowchart of another multimedia resource sharing method according to an embodiment of the present invention, which is used in the implementation environment shown in fig. 1. Referring to fig. 6, the method includes:
step 601: the first terminal runs a multimedia application, and the multimedia application comprises a play rate setting function and a sharing function.
The first terminal may be any terminal, and specifically may be a mobile phone, a tablet computer, a computer, or the like. Moreover, the first terminal is installed with a multimedia application, the multimedia application is used for playing multimedia resources, and the multimedia resources can be songs or videos. For example, the multimedia application may be a music playing application or a video playing application, and the embodiment of the present invention does not limit this.
The target multimedia resource is a multimedia resource in the multimedia application, and may specifically be a song or a video. For example, when the multimedia application is a music playing application, the target multimedia asset may be any song in the music playing application. For another example, when the multimedia application is a video playing application, the target multimedia resource may be any video in the video playing application. In addition, the target multimedia resource may be any multimedia resource selected by the user from the multimedia application, or may be a currently played multimedia resource. The embodiment of the present invention is not limited thereto.
In addition, the multimedia application comprises a play rate setting function and a sharing function. The play rate setting function is used to set a play rate for a multimedia resource in a multimedia application, for example, the play rate can be set for a currently played or selected target multimedia resource. Also, the set playback rate is generally a playback rate other than the normal rate, specifically including slow or fast. Slow speed refers to a playing speed lower than a normal speed, such as 0.5 times speed or 0.8 times speed; fast refers to a playback rate higher than a normal rate, such as 1.25 times, 1.5 times, or 2 times. The normal rate is 1 time speed. The sharing function is used for sharing multimedia resources in the multimedia application, for example, a currently played or selected target multimedia resource may be shared.
For example, a play rate setting entry is provided on an application interface of the multimedia application, and a user can set a play rate for the target multimedia resource through the play rate setting entry. The application interface of the multimedia application is also provided with a sharing entrance, and a user can share the target multimedia resource through the sharing entrance.
Step 602: and the first terminal receives a sharing instruction of the target multimedia resource based on the sharing function.
The sharing instruction of the target multimedia resource is used for indicating the sharing of the target multimedia resource. The target multimedia asset may be any multimedia asset in the multimedia application, and specifically, may be a currently played multimedia asset, or a multimedia asset selected from a list of assets.
The sharing instruction of the target multimedia resource can be triggered by a user, and the user can be triggered through a sharing entrance corresponding to the sharing function. Optionally, the sharing portal may include sharing interfaces provided by a plurality of third-party applications, and the user may select any one of the sharing interfaces from the plurality of sharing interfaces to trigger a sharing instruction for the target multimedia resource. Or, the sharing entry may include a friend list of the user, and the user may select any friend from the friend list to trigger a sharing instruction for the target multimedia resource. Of course, the sharing entry may be in other forms, and only the user is ensured to share the multimedia resource through the sharing entry, which is not limited in the embodiment of the present invention.
It should be noted that, according to different target multimedia resources, triggering modes of the sharing instruction of the target multimedia resources are different, and specifically, the following two modes may be included:
the first implementation mode comprises the following steps: and triggering a sharing instruction of the currently played target multimedia resource.
Specifically, before receiving a sharing instruction for a target multimedia resource based on the sharing function, the first terminal may play the target multimedia resource in the multimedia application, receive a play rate set for the played target multimedia resource by the user through the play rate setting function in a play process, and then continue to play the target multimedia resource according to the play rate. In the process of continuing to play the target multimedia resource, the user can also trigger a sharing instruction of the currently played target multimedia resource through the sharing function. For example, a sharing entry corresponding to the sharing function is provided on a playing interface of the target multimedia resource, and in the playing process of the target multimedia resource, a user may click the sharing entry, select any sharing interface from a plurality of sharing interfaces included in the sharing entry, click a sharing confirmation option, and trigger a sharing instruction for the currently played target multimedia resource.
The second implementation mode comprises the following steps: and triggering a sharing instruction of the target multimedia resource selected from the resource list.
Specifically, the user may first select any multimedia resource from the resource list as a target multimedia resource to be shared, and then trigger a sharing instruction for the selected target multimedia resource through the sharing function. For example, the user may select a target multimedia resource from the resource list, click a sharing entry corresponding to the sharing function, select any sharing interface from a plurality of sharing interfaces included in the sharing entry, click a sharing confirmation option, and trigger a sharing instruction for the target multimedia resource.
Step 603: and the first terminal acquires the play rate set for the target multimedia resource by the user through the play rate setting function based on the sharing instruction.
Specifically, based on the sharing instruction, the obtaining of the play rate set by the user through the play rate setting function includes the following two modes:
the first implementation mode comprises the following steps: if the user has already set the play rate for the target multimedia resource through the play rate setting function, that is, the first terminal has already received the play rate set for the target multimedia resource by the user through the play rate setting function, then the received play rate set for the target multimedia resource by the user through the play rate setting function is obtained.
For example, based on the first implementation manner of step 602, if the target multimedia resource is a currently played multimedia resource, the play rate set for the played target multimedia resource by the received user through the play rate setting function may be obtained. That is, in the first implementation manner, the user may set the play rate for the target multimedia resource in advance before sharing the target multimedia resource, and then directly obtain the set play rate during sharing.
The second implementation mode comprises the following steps: if the user has not passed the play rate setting function, the play rate is set for the target multimedia resource, that is, the first terminal has not received the play rate set for the target multimedia resource by the user passing the play rate setting function, then the setting entry corresponding to the play rate setting function is displayed, and the play rate selected or input by the user is obtained based on the setting entry.
That is, in the second implementation manner, when sharing the target multimedia resource, the user may set the play rate for the target multimedia resource, so as to share the target multimedia resource according to the set play rate.
Step 604: and the first terminal generates a sharing link based on the identification of the target multimedia resource and the playing rate.
The identifier of the target multimedia resource is used to uniquely identify the target-to-media resource, and may specifically be a name or an ID (Identity, Identity number) of the target multimedia resource.
The sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate. Specifically, the sharing link may be in a message form, a URL (Uniform resource Locator) form, a picture form, or the like, which is not limited in the embodiment of the present invention.
It should be noted that the playing address can be obtained according to the indication information of the playing address, and the indication information of the playing address may be a specific playing address or an obtaining address of the playing address. The playing rate can be obtained according to the indication information of the playing rate, and the indication information of the playing rate can be a specific playing rate or an obtaining address of the playing rate, and the like.
The playing address may be a client playing address or a web page playing address, for example, a playing address of an H5 page embedded by the client, which is not limited in the embodiment of the present invention.
Specifically, generating the sharing link based on the identifier of the target multimedia resource and the play rate includes: and acquiring a playing address of the target multimedia resource based on the identifier of the target multimedia resource, and generating the sharing link according to the playing address of the target multimedia resource and the playing rate. Alternatively, the playing address of the target multimedia resource may be obtained from the server based on the identifier of the target multimedia resource, or obtained from locally stored information.
Step 605: and sharing the sharing link.
Specifically, the sharing link may be published to an information sharing page, or the sharing link is sent to the second terminal, so as to implement sharing of the sharing link. For example, the first terminal may publish the sharing link to an information sharing page through a sharing interface provided by any third-party application in the sharing entry, or send the sharing link to the second terminal.
It should be noted that the second terminal is a terminal to be shared. Specifically, the sharing link may be sent to a second terminal where a second user identifier is located based on a second user identifier corresponding to the first user identifier, where the first user identifier is a user identifier for the first terminal to log in, the second user identifier is a user identifier for the second terminal to log in, and the user identifier may be a user name or a user ID.
Optionally, the first terminal may send the sharing link to the second terminal through a third-party platform, and accordingly, the first user identifier and the second user identifier are user identifiers of the corresponding terminals logged in the third-party platform. The third party platform may be an instant messaging application or a social application or the like.
In an embodiment, sending the sharing link to the second terminal where the second user identifier is located based on the second user identifier corresponding to the first user identifier may include the following two implementation manners:
the first implementation mode comprises the following steps: and determining a second user identifier included in the user relationship chain of the first user identifier, and sending the sharing link to a second terminal where the second user identifier is located, so that the second terminal displays the sharing link in the message aggregation page.
The second user identifier may be all user identifiers in the user relationship chain of the first user identifier, or may also be a slave user identifier, which is not limited in the embodiment of the present invention. The message aggregation page is used for aggregating messages sent by users in the user relationship chain, and for example, the message aggregation page can be a message home page of a social application or a friend circle of an instant messaging application.
The second implementation mode comprises the following steps: and acquiring a receiver user identifier appointed by the first terminal for the sharing link, taking the receiver user identifier as a second user identifier, and sending the sharing link to a second terminal where the second user identifier is located, so that the second terminal displays the sharing link in a message receiving page.
Step 606: and the second terminal acquires the sharing link shared by the first terminal and displays the sharing link in the display screen.
Specifically, the second terminal may obtain the sharing link shared by the first terminal based on the displayed information sharing page, or receive the sharing link sent by the first terminal. Correspondingly, the second terminal can display the sharing link in pages such as an information sharing page, a message aggregation page or a message receiving page.
Step 607: and when receiving a triggering instruction of the sharing link, the second terminal jumps to a playing page indicated by the playing address of the target multimedia resource, and plays the target multimedia resource in the playing page according to the playing speed.
Specifically, when receiving a trigger instruction for the sharing link, the second terminal may first obtain a play address and a play rate of the target multimedia resource according to the sharing link, then jump to a play page indicated by the play address of the target multimedia resource, and play the target multimedia resource in the play page according to the play rate.
When the sharing link carries the playing address and the playing rate of the target multimedia resource, the second terminal can directly obtain the playing address and the playing rate of the target multimedia resource from the sharing link. When the sharing link carries the acquisition address of the target multimedia resource, the second terminal may acquire the target multimedia resource from the acquisition address of the target multimedia resource. When the sharing link carries the acquisition address of the playing rate, the second terminal may acquire the playing rate from the acquisition address of the playing rate.
The playing page indicated by the playing address may be a client page or a web page, and the web page may be a web page in a browser or an H5 page embedded in the client, which is not limited in the embodiment of the present invention.
When the playing address is the client playing address of the multimedia application, the second terminal can open the client of the multimedia application, jump to the client playing page indicated by the client playing address, and play the target multimedia resource in the client playing page according to the playing speed. When the playing address is the webpage playing address, the second terminal can jump to the webpage indicated by the webpage playing address, and play the target multimedia resource in the webpage according to the playing speed. In addition, when the playing address is the web playing address, the second terminal may also open the client of the multimedia application, then open the H5 page embedded by the client in the client according to the web playing address, and play the target multimedia resource in the H5 page according to the playing rate.
Further, when the playing address includes a client playing address and a web page playing address, if the client of the multimedia application is installed on the second terminal, the client of the multimedia application is opened, the client playing page indicated by the client playing address is skipped to, the target multimedia resource is played in the client playing page according to the playing speed, if the client of the multimedia application is not installed, the web page indicated by the web page playing address is skipped to, and the target multimedia resource is played in the web page according to the playing speed.
In the embodiment of the invention, in the process of running the multimedia application, a sharing instruction of a target multimedia resource can be received based on the sharing function of the multimedia application, then based on the sharing instruction, a playing speed setting function of a user through the multimedia application is obtained to set a playing speed for the target multimedia resource, then based on the identification and the playing speed of the target for the media resource, a sharing link is generated and shared, so that a terminal which obtains the sharing link can play the target multimedia resource in a playing page indicated by the playing address according to the sharing link. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Fig. 7 is a flowchart of another multimedia resource sharing method according to an embodiment of the present invention, which is used in the implementation environment shown in fig. 2. Referring to fig. 7, the method includes:
step 701: the first terminal runs a multimedia application, and the multimedia application comprises a play rate setting function and a sharing function.
The first terminal is provided with a multimedia application, the multimedia application is used for playing multimedia resources, and the multimedia resources can be songs or videos. For example, the multimedia application may be a music playing application or a video playing application, and the embodiment of the present invention does not limit this.
In the process of running the multimedia application by the first terminal, after receiving a sharing instruction for a target multimedia resource based on the multimedia application, the first terminal may obtain a play rate set for the target multimedia resource from the multimedia application.
The target multimedia resource is a multimedia resource in the multimedia application, and may specifically be a song or a video. For example, when the multimedia application is a music playing application, the target multimedia asset may be any song in the music playing application. For another example, when the multimedia application is a video playing application, the target multimedia resource may be any video in the video playing application. In addition, the target multimedia resource may be any multimedia resource selected by the user from the multimedia application, or may be a currently played multimedia resource. The embodiment of the present invention is not limited thereto.
In addition, the multimedia application comprises a play rate setting function and a sharing function. The play rate setting function is used to set a play rate for a multimedia resource in a multimedia application, for example, the play rate can be set for a currently played or selected target multimedia resource. Also, the set playback rate is generally a playback rate other than the normal rate, specifically including slow or fast. Normal rate refers to 1 time speed; slow speed refers to a playing speed lower than a normal speed, such as 0.5 times speed or 0.8 times speed; fast refers to a playback rate higher than a normal rate, such as 1.25 times, 1.5 times, or 2 times. The sharing function is used for sharing multimedia resources in the multimedia application, for example, a currently played or selected target multimedia resource may be shared.
For example, a play rate setting entry is provided on an application interface of the multimedia application, and a user can set a play rate for the target multimedia resource through the play rate setting entry. The application interface of the multimedia application is also provided with a sharing entrance, and a user can share the target multimedia resource through the sharing entrance.
Step 702: and the first terminal receives a sharing instruction of the target multimedia resource based on the sharing function.
The sharing instruction of the target multimedia resource is used for indicating the sharing of the target multimedia resource. The target multimedia asset may be any multimedia asset in the multimedia application, and specifically, may be a currently played multimedia asset, or a multimedia asset selected from a list of assets.
The sharing instruction of the target multimedia resource can be triggered by a user, and the user can be triggered through a sharing entrance corresponding to the sharing function. Optionally, the sharing portal may include sharing interfaces provided by a plurality of third-party applications, and the user may select any one of the sharing interfaces from the plurality of sharing interfaces to trigger a sharing instruction for the target multimedia resource. Or, the sharing entry may include a friend list of the user, and the user may select any friend from the friend list to trigger a sharing instruction for the target multimedia resource.
According to the difference of the target multimedia resources, the triggering mode of the sharing instruction of the target multimedia resources is different, and specifically, the method may include the following two modes:
the first implementation mode comprises the following steps: and triggering a sharing instruction of the currently played target multimedia resource.
Specifically, before receiving a sharing instruction for a target multimedia resource based on the sharing function, the first terminal may play the target multimedia resource in the multimedia application, receive a play rate set for the played target multimedia resource by the user through the play rate setting function in a play process, and then continue to play the target multimedia resource according to the play rate. In the process of continuing to play the target multimedia resource, the user can also trigger a sharing instruction of the currently played target multimedia resource through the sharing function. For example, a sharing entry corresponding to the sharing function is provided on a playing interface of the target multimedia resource, and in the playing process of the target multimedia resource, a user may click the sharing entry, select any sharing interface from a plurality of sharing interfaces included in the sharing entry, click a sharing confirmation option, and trigger a sharing instruction for the currently played target multimedia resource.
The second implementation mode comprises the following steps: and triggering a sharing instruction of the target multimedia resource selected from the resource list.
Specifically, the user may first select any multimedia resource from the resource list as a target multimedia resource to be shared, and then trigger a sharing instruction for the selected target multimedia resource through the sharing function. For example, the user may select a target multimedia resource from the resource list, click a sharing entry corresponding to the sharing function, select any sharing interface from a plurality of sharing interfaces included in the sharing entry, click a sharing confirmation option, and trigger a sharing instruction for the target multimedia resource.
The sharing instruction of the target multimedia resource may be triggered by a user, and the user may trigger through a specified operation, where the specified operation may be a click operation, a touch operation, a gesture operation, a voice operation, or the like, and the embodiment of the present invention does not limit this. Optionally, the sharing instruction may be triggered by a sharing instruction displayed in a display interface of the multimedia application. For example, a sharing option is displayed in a display interface of the multimedia application, and a user can select a target multimedia resource to be shared from the multimedia application and then click the sharing option to trigger a sharing instruction for the target multimedia resource. Certainly, the user may also click the sharing option in the display interface, then select the target multimedia resource to be shared from the multimedia application, and then click the pop-up confirmation option, thereby triggering the sharing instruction for the target multimedia resource. The embodiment of the present invention does not limit the triggering manner of the sharing instruction.
The play rate setting entry is used to set a play rate for the target multimedia resource, and may specifically be an input box, an option, or an option list. When the play-rate setting entry is an input box, the user can input a desired play-rate in the input box. When the play rate setting entry is an option, if a trigger instruction for the option is received, a plurality of play rates can be displayed, and a user can select a play rate from the plurality of play rates as a play rate set for a target multimedia resource. When the play rate setting entry is an option list, the option list comprises a plurality of play rate options, and a user can set a play rate for the target multimedia resource by triggering a certain play rate option.
Step 703: and the first terminal sends a sharing request to the server based on the sharing instruction, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate.
The sharing request is used for requesting the server to generate a sharing link according to the sharing request. The server may be a backend server for the multimedia application or another server providing sharing services for the multimedia application. The identifier of the target multimedia resource is used for uniquely identifying the target-to-media resource, and may specifically be a name or an ID of the target multimedia resource.
Optionally, the first terminal may send the sharing request to the server according to a target format. The target format is a format agreed in advance between the first terminal and the server.
In an embodiment, referring to fig. 8, after receiving the sharing instruction, the first terminal may first establish a connection with the server through the multimedia application, and if the connection is successful, send the sharing request carrying the play rate to the server, and if the connection is failed, display a connection failure prompt message in the multimedia application. Further, before establishing a connection with the server through the multimedia application, the first terminal may further determine whether a connection has been established with the server, execute the step of establishing a connection with the server through the multimedia application if the connection has not been established, and directly send the sharing request to the server through the established connection if the connection has been established.
Step 704: and the server receives a sharing request sent by the first terminal and generates a sharing link according to the identification of the target multimedia resource and the playing rate.
The sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate. Specifically, the sharing link may be in a message form, a URL form, a picture form, or the like, which is not limited in the embodiment of the present invention.
It should be noted that the playing address can be obtained according to the indication information of the playing address, and the indication information of the playing address may be a specific playing address or an obtaining address of the playing address. The playing rate can be obtained according to the indication information of the playing rate, and the indication information of the playing rate can be a specific playing rate or an obtaining address of the playing rate, and the like.
It should be further noted that the playing address of the target multimedia resource may include at least one of a client playing address or a web page playing address. When the client is the client playing address, the sharing link is used for triggering the client for opening the multimedia application, and the target multimedia resource is played in the client according to the playing speed. When the webpage is the webpage playing address, the sharing link is used for triggering the webpage indicated by the webpage playing address to be opened, and the target multimedia resource is played in the webpage according to the playing speed. When the multimedia application is installed in the webpage, the method comprises the steps of judging whether a client of the multimedia application is installed on a trigger terminal or not, if so, triggering and opening the client of the multimedia application according to the playing address of the client, playing the target multimedia resource in the client according to the playing speed, and if not, triggering and playing the target multimedia resource in the webpage indicated by the webpage playing address according to the playing speed.
Specifically, the generating the sharing link according to the identifier of the target multimedia resource and the playing rate includes: and determining a playing address of the target multimedia resource according to the target multimedia resource identifier, and then generating a sharing link carrying the playing address and the indication information of the playing rate. The playing address of the target multimedia resource comprises at least one of a client playing address or a webpage playing address.
Optionally, after receiving the sharing request sent by the first terminal, the server may first store the identifier of the target multimedia resource carried in the sharing request and the playing rate correspondingly, and then generate the sharing link according to the identifier of the target multimedia resource and the playing rate, where the indication information of the playing rate carried in the sharing link may be an address for acquiring the playing rate.
In an embodiment, referring to fig. 8, after receiving the sharing request sent by the first terminal, the server may first store the identifier of the target multimedia resource carried in the sharing request and the playing rate correspondingly, if the storage is successful, return a storage success message to the first terminal, and if the storage is failed, return a storage failure message to the first terminal.
Step 705: and the server sends the sharing link to the first terminal.
Step 706: the first terminal receives the sharing link sent by the server and shares the sharing link.
Specifically, sharing the sharing link includes: and issuing the sharing link to an information sharing page, or sending the sharing link to a second terminal and the like. For example, the information is distributed to a friend circle or sent to a friend of the user of the second terminal. In an embodiment, the first terminal may publish the sharing link to an information sharing page through a sharing interface provided by any third-party application in the sharing entry, or send the sharing link to a second terminal where a user friend of the first terminal is located.
It should be noted that the second terminal is a terminal to be shared. Specifically, the sharing link may be sent to a second terminal where the second user identifier is located based on a second user identifier corresponding to the first user identifier. The first user identifier is a user identifier for the first terminal to log in, the second user identifier is a user identifier for the second terminal to log in, and the user identifier may be a user name or a user ID.
Optionally, the first terminal may send the sharing link to the second terminal through a third-party platform, and accordingly, the first user identifier and the second user identifier are user identifiers of the corresponding terminals logged in the third-party platform. The third party platform may be an instant messaging application or a social application or the like.
In an embodiment, sending the sharing link to the second terminal where the second user identifier is located based on the second user identifier corresponding to the first user identifier logged in by the first terminal may include the following two implementation manners:
the first implementation mode comprises the following steps: and determining a second user identifier included in the user relationship chain of the first user identifier, and sending the sharing link to a second terminal where the second user identifier is located, so that the second terminal displays the sharing link in the message aggregation page.
The second user identifier may be all user identifiers in the user relationship chain of the first user identifier, or may also be a slave user identifier, which is not limited in the embodiment of the present invention. The message aggregation page is used for aggregating messages sent by users in the user relationship chain, and for example, the message aggregation page can be a message home page of a social application or a friend circle of an instant messaging application.
The second implementation mode comprises the following steps: and acquiring a receiver user identifier appointed by the first terminal for the sharing link, taking the receiver user identifier as a second user identifier, and sending the sharing link to a second terminal where the second user identifier is located, so that the second terminal displays the sharing link in a message receiving page.
In another embodiment, the sharing request sent by the first terminal to the server may also be used to request the server to generate a sharing link according to the sharing request, and share the sharing link. That is, the server may directly issue the generated sharing link to the information sharing page or send the generated sharing link to the second terminal, and the server does not need to send the sharing link to the first terminal again, and the sharing link is shared by the first terminal.
For example, the sharing request may also carry a second user identifier in addition to the identifier and the play rate of the target multimedia resource, and is used to instruct the server to send the sharing link to the second terminal where the second user identifier is located. The second user identifier may be a user identifier corresponding to the first user identifier logged in by the first terminal, for example, a user identifier in a user relationship chain of the first user identifier, or a recipient user identifier specified by the first terminal.
It should be noted that, in another embodiment, after the server is requested to generate the sharing link, the server may share the sharing connection, and the server does not need to send the sharing connection to the first terminal and share the sharing connection with the first terminal, so as to save network resources.
Specifically, the first terminal may instruct the server to send the sharing link to the second terminal through the sharing request. That is, the sharing request is not only used to request the server to generate the sharing link, but also used to request the server to share the generated sharing link. After receiving the sharing request, the server may generate a sharing link according to the sharing request, and share the sharing link. Specifically, the server may publish the sharing link to an information sharing page, and may also send the sharing link to the second terminal, for example, to a friend circle or to a friend of the user of the second terminal.
Step 707: and the second terminal acquires the sharing link shared by the first terminal and displays the sharing link in the display screen.
Specifically, the second terminal may obtain the sharing link shared by the first terminal based on the displayed information sharing page, or receive the sharing link sent by the first terminal. Correspondingly, the second terminal can display the sharing link in pages such as an information sharing page, a message aggregation page or a message receiving page.
In another embodiment, when the sharing link is shared by the server, the second terminal may further obtain the sharing link shared by the server and display the sharing link.
Step 708: and when receiving a triggering instruction of the sharing link, the second terminal jumps to a playing page indicated by the playing address of the target multimedia resource, and plays the target multimedia resource in the playing page according to the playing speed.
Specifically, when receiving a trigger instruction for the sharing link, the second terminal may first obtain a play address and a play rate of the target multimedia resource according to the sharing link, then jump to a play page indicated by the play address of the target multimedia resource, and play the target multimedia resource in the play page according to the play rate.
When the sharing link carries the playing address and the playing rate of the target multimedia resource, the second terminal can directly obtain the playing address and the playing rate of the target multimedia resource from the sharing link. When the sharing link carries the acquisition address of the target multimedia resource, the second terminal may acquire the target multimedia resource from the acquisition address of the target multimedia resource. When the sharing link carries the acquisition address of the playing rate, the second terminal may acquire the playing rate from the acquisition address of the playing rate.
In an embodiment, referring to fig. 9, when the sharing link carries an obtaining address of the playing rate, and when a trigger instruction for the sharing link is received, the second terminal may jump to a playing page indicated by the playing address of the target multimedia resource, then establish a connection with the server through the playing page, and if the connection is successful, obtain the playing rate from the server according to the obtaining address. And if the acquisition is successful, assigning the playing rate to the multimedia resource player in the playing page, so that the second terminal can play the target multimedia resource in the playing page according to the playing rate, and if the acquisition is failed, returning an acquisition failure message to the second terminal. In addition, if the connection fails, the prompt information of the connection failure is displayed.
Further, before establishing a connection with the server through the playing page, the terminal may further determine whether a connection has been established with the server, if not, execute a step of establishing a connection with the server through the playing page, and if so, directly acquire the playing rate through the established connection.
The playing page indicated by the playing address may be a client page or a web page, and the web page may be a web page in a browser or an H5 page embedded in the client, which is not limited in the embodiment of the present invention.
When the playing address is the client playing address of the multimedia application, the second terminal can open the client of the multimedia application, jump to the client playing page indicated by the client playing address, and play the target multimedia resource in the client playing page according to the playing speed. When the playing address is the webpage playing address, the second terminal can jump to the webpage indicated by the webpage playing address, and play the target multimedia resource in the webpage according to the playing speed. In addition, when the playing address is the web playing address, the second terminal may also open the client of the multimedia application, then open the H5 page embedded by the client in the client according to the web playing address, and play the target multimedia resource in the H5 page according to the playing rate.
Further, when the playing address includes a client playing address and a web page playing address, if the client of the multimedia application is installed on the second terminal, the client of the multimedia application is opened, the client playing page indicated by the client playing address is skipped to, the target multimedia resource is played in the client playing page according to the playing speed, if the client of the multimedia application is not installed, the web page indicated by the web page playing address is skipped to, and the target multimedia resource is played in the web page according to the playing speed.
In the embodiment of the invention, the first terminal can receive the sharing instruction of the target multimedia resource based on the sharing function of the multimedia application in the process of running the multimedia application, then based on the sharing instruction, acquiring the playing speed set for the target multimedia resource by the playing speed setting function of the multimedia application, and sending a sharing request to the server, the sharing request carries a target base to acquire a play rate setting function of the user through the multimedia application, so that the server can generate a sharing link according to the sharing request and share the sharing link, or the sharing link is sent to the first terminal and shared by the first terminal, so that the terminal acquiring the sharing link can obtain the sharing link according to the sharing link, and playing the target multimedia resource in the playing page indicated by the playing address according to the playing speed. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Fig. 10 is a block diagram of a multimedia resource sharing apparatus according to an embodiment of the present invention, where the apparatus is applied to a first terminal, and as shown in fig. 10, the apparatus includes an operation module 1001, a receiving module 1002, an obtaining module 1003, a generating module 1004, and a sharing module 1005.
An operation module 1001, configured to operate a multimedia application, where the multimedia application includes a play rate setting function and a sharing function;
a receiving module 1002, configured to receive a sharing instruction for a target multimedia resource based on the sharing function;
an obtaining module 1003, configured to obtain, based on the sharing instruction, a play rate set for the target multimedia resource by the user through the play rate setting function;
a generating module 1004, configured to generate a sharing link based on the identifier of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
a sharing module 1005, configured to share the sharing link.
Optionally, the apparatus further comprises:
the sending module is used for sending a sharing request to a server, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate and is used for requesting the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
the sharing module 1005 is further configured to receive the sharing link sent by the server, and share the sharing link, or instruct the server to share the sharing link through the sharing request.
Optionally, the apparatus further comprises:
the playing module is used for playing the target multimedia resource in the multimedia application;
the receiving module 1002 is further configured to receive a play rate set for the played target multimedia resource by the user through the play rate setting function;
the playing module is further configured to continue playing the target multimedia resource according to the playing rate;
the obtaining module 1003 is configured to:
and based on the sharing instruction, acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function.
Optionally, the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
the obtaining module 1003 is configured to:
based on the sharing instruction, displaying a setting entry corresponding to the play rate setting function;
based on the setting entry, the play rate selected or input by the user is acquired.
Optionally, the playing address of the target multimedia resource is a webpage playing address, and the sharing link is used for triggering the target multimedia resource to be played at the playing rate in the webpage indicated by the webpage playing address.
Optionally, the sharing module 1005 is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to the second terminal.
In the embodiment of the invention, in the process of running the multimedia application, a sharing instruction of a target multimedia resource can be received based on the sharing function of the multimedia application, then based on the sharing instruction, a playing speed setting function of a user through the multimedia application is obtained to set a playing speed for the target multimedia resource, then based on the identification and the playing speed of the target for the media resource, a sharing link is generated and shared, so that a terminal which obtains the sharing link can play the target multimedia resource in a playing page indicated by the playing address according to the sharing link. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Fig. 11 is a block diagram of another multimedia resource sharing apparatus according to an embodiment of the present invention, which is applied to a server, and as shown in fig. 11, the apparatus includes a receiving module 1101, a generating module 1102, and a sharing module 1103.
A receiving module 1101, configured to receive a sharing request sent by a first terminal, where the sharing request carries an identifier of a target multimedia resource and a play rate, and the play rate is set for the target multimedia resource by the first terminal through a play rate setting function of a multimedia application;
a generating module 1102, configured to generate a sharing link according to the identifier of the target multimedia resource and the playing rate, where the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used to trigger the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
the sharing module 1103 is configured to share the sharing link, or send the sharing link to the first terminal, and the first terminal shares the sharing link.
Optionally, the generating module 1102 is configured to:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
Optionally, the sharing module 1103 is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to the second terminal.
In the embodiment of the present invention, after receiving a sharing request which is sent by a first terminal and carries an identifier of a target multimedia resource and a play rate set for the target multimedia resource, a sharing link may be generated according to the identifier of the target multimedia resource and the play rate, where the sharing link carries a play address and the play rate of the target multimedia resource, and then the sharing link is shared, or the sharing link is sent to the first terminal, and the first terminal shares the sharing link, so that the terminal which acquires the sharing link can play the target multimedia resource in a play page indicated by the play address according to the sharing link and according to the play rate. Therefore, the multimedia resources can be shared to other terminals, and simultaneously, the playing rate of the multimedia resources can be synchronized to other terminals, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
Fig. 12 is a block diagram of a multimedia resource sharing apparatus according to an embodiment of the present invention, where the apparatus is applied to a second terminal, and as shown in fig. 12, the apparatus includes an obtaining module 1201, a displaying module 1202, and a playing module 1203.
An obtaining module 1201, configured to obtain a sharing link shared by a first terminal or a server, where the sharing link carries a play address of a target multimedia resource and indication information of a play rate, and the play rate is set for the target multimedia resource by the first terminal through a play rate setting function of a multimedia application;
a display module 1202, configured to display the sharing link in a display screen;
the playing module 1203 is configured to jump to a playing page indicated by the playing address when a triggering instruction for the sharing link is received, and play the target multimedia resource in the playing page according to the playing rate.
Optionally, the playing address of the target multimedia resource is a web page playing address, and the playing module 1203 is configured to:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
In the embodiment of the invention, after receiving the sharing link carrying the playing address of the target multimedia resource and the playing speed set for the target multimedia resource, the sharing link can be displayed in the display screen, when receiving the triggering instruction of the sharing link, the user can jump to the playing page indicated by the playing address, and in the playing page, the target multimedia resource is played according to the set playing speed. Therefore, the shared multimedia resources can be received and played according to the playing speed set by the first terminal, so that the sharing form of the multimedia resources is expanded, and the flexibility is improved.
It should be noted that: in the multimedia resource sharing device provided in the above embodiment, when sharing multimedia resources, only the division of the above functional modules is taken as an example, and in practical applications, the above 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 to complete all or part of the above described functions. In addition, the multimedia resource sharing apparatus and the multimedia 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 block diagram of a terminal 1300 according to an embodiment of the present invention. The terminal 1300 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 1300 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, terminal 1300 includes: a processor 1301 and a memory 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1301 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). The processor 1301 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 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1301 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 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 1302 is configured to store at least one instruction for execution by the processor 1301 to implement the multimedia resource sharing method provided by the method embodiments of the present application.
In some embodiments, terminal 1300 may further optionally include: a peripheral interface 1303 and at least one peripheral. Processor 1301, memory 1302, and peripheral interface 1303 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1304, touch display 1305, camera 1306, audio circuitry 1307, positioning component 1308, and power supply 1309.
Peripheral interface 1303 may be used to connect at least one peripheral associated with I/O (Input/Output) to processor 1301 and memory 1302. In some embodiments, processor 1301, memory 1302, and peripheral interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 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 1304 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 circuitry 1304 may 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 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to capture touch signals on or over the surface of the display screen 1305. The touch signal may be input to the processor 1301 as a control signal for processing. At this point, the display 1305 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 1305 may be one, providing the front panel of terminal 1300; in other embodiments, display 1305 may be at least two, either on different surfaces of terminal 1300 or in a folded design; in still other embodiments, display 1305 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1300. Even further, the display 1305 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 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 1306 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 circuit 1307 may include a microphone and a 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 1301 for processing, or inputting the electric signals to the radio frequency circuit 1304 for realizing voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1300. 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 1301 or the radio frequency circuitry 1304 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, audio circuitry 1307 may also include a headphone jack.
The positioning component 1308 is used for positioning the current geographic position of the terminal 1300 to implement navigation or LBS (location based Service). The positioning component 1308 may be a positioning component based on a GPS (global positioning System) of the united states, a beidou System of china, a graves System of russia, or a galileo System of the european union.
Power supply 1309 is used to provide power to various components in terminal 1300. The power source 1309 may be alternating current, direct current, disposable or rechargeable. When the power source 1309 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1314, pressure sensor 1313, fingerprint sensor 1314, optical sensor 1315, and proximity sensor 1316.
The acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1301 may control the touch display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1314 may detect a body direction and a rotation angle of the terminal 1300, and the gyro sensor 1314 may cooperate with the acceleration sensor 1311 to collect a 3D motion of the user on the terminal 1300. The processor 1301 can implement the following functions according to the data collected by the gyro sensor 1314: 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 1313 may be disposed on a side bezel of terminal 1300 and/or underlying touch display 1305. When the pressure sensor 1313 is disposed on the side frame of the terminal 1300, a user's holding signal to the terminal 1300 may be detected, and the processor 1301 performs left-right hand recognition or shortcut operation according to the holding signal acquired by the pressure sensor 1313. When the pressure sensor 1313 is disposed at a lower layer of the touch display screen 1305, the processor 1301 controls an operability control on the UI interface according to a pressure operation of the user on the touch display screen 1305. 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 1314 is used for collecting the fingerprint of the user, and the processor 1301 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1314, or the fingerprint sensor 1314 identifies the identity of the user according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the processor 1301 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1314 may be disposed on the front, back, or side of the terminal 1300. When a physical button or vendor Logo is provided on the terminal 1300, the fingerprint sensor 1314 may be integrated with the physical button or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the processor 1301 can control the display brightness of the touch display screen 1305 according to the intensity of the ambient light collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch display 1305 is turned down. In another embodiment, the processor 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
Proximity sensor 1316, also known as a distance sensor, is typically disposed on a front panel of terminal 1300. Proximity sensor 1316 is used to gather the distance between the user and the front face of terminal 1300. In one embodiment, the processor 1301 controls the touch display 1305 to switch from the bright screen state to the dark screen state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually decreases; the touch display 1305 is controlled by the processor 1301 to switch from the rest state to the bright state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually becomes larger.
Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In this embodiment, the terminal further includes one or more programs, the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs include instructions for performing the multimedia resource sharing method provided by the embodiment of the present invention.
Fig. 14 is a block diagram of a server according to an embodiment of the present invention. The server may be a server in a cluster of background servers. Specifically, the method comprises the following steps:
the server 1400 includes a Central Processing Unit (CPU)1401, a system memory 1404 including a Random Access Memory (RAM)1402 and a Read Only Memory (ROM)1403, and a system bus 1405 connecting the system memory 1404 and the central processing unit 1401. The server 1400 also includes a basic input/output system (I/O system) 1406 that facilitates transfer of information between devices within the computer, and a mass storage device 1407 for storing an operating system 1413, application programs 1414, and other program modules 1415.
The basic input/output system 1406 includes a display 1408 for displaying information and an input device 1409, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1408 and an input device 1409 are both connected to the central processing unit 1401 via an input-output controller 1410 connected to the system bus 1405. The basic input/output system 1406 may also include an input/output controller 1410 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1410 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1407 is connected to the central processing unit 1401 through a mass storage controller (not shown) connected to the system bus 1405. The mass storage device 1407 and its associated computer-readable media provide non-volatile storage for the server 1400. That is, the mass storage device 1407 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1404 and mass storage device 1407 described above may collectively be referred to as memory.
According to various embodiments of the invention, the server 1400 may also operate as a remote computer connected to a network through a network, such as the Internet. That is, the server 1400 may be connected to the network 1412 through the network interface unit 1411 connected to the system bus 1405, or the network interface unit 1411 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU. The one or more programs include instructions for performing the multimedia resource sharing method provided by the embodiments of the present invention.
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 a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (25)
1. A multimedia resource sharing method is applied to a first terminal, and the method comprises the following steps:
running a multimedia application, wherein the multimedia application comprises a play rate setting function and a sharing function;
receiving a sharing instruction of the target multimedia resource based on the sharing function;
based on the sharing instruction, acquiring the playing rate set for the target multimedia resource by the user through the playing rate setting function;
generating a sharing link based on the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and sharing the sharing link.
2. The method according to claim 1, wherein after obtaining the play rate set for the target multimedia resource by the user through the play rate setting function based on the sharing instruction, the method further comprises:
sending a sharing request to a server, wherein the sharing request carries the identifier of the target multimedia resource and the playing rate and is used for requesting the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and receiving the sharing link sent by the server, and sharing the sharing link, or indicating the server to share the sharing link through the sharing request.
3. The method according to claim 1 or 2, wherein before receiving the sharing instruction for the target multimedia resource based on the sharing function, the method further comprises:
playing the target multimedia resource in the multimedia application;
receiving the playing speed set for the played target multimedia resource by the user through the playing speed setting function;
continuing to play the target multimedia resource according to the playing speed;
the obtaining, based on the sharing instruction, the play rate set for the target multimedia resource by the user through the play rate setting function includes:
and acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function based on the sharing instruction.
4. The method according to claim 1 or 2, wherein the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
the obtaining, based on the sharing instruction, the play rate set for the target multimedia resource by the user through the play rate setting function includes:
displaying a setting entry corresponding to the play rate setting function based on the sharing instruction;
and acquiring the playing speed selected or input by the user based on the setting entrance.
5. The method according to claim 1 or 2, wherein the playing address of the target multimedia resource is a web page playing address, and the sharing link is used for triggering the target multimedia resource to be played at the playing rate in a web page indicated by the web page playing address.
6. The method of claim 1 or 2, wherein the sharing link comprises:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
7. A multimedia 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 carries an identifier and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
generating a sharing link according to the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and sharing the sharing link, or sending the sharing link to the first terminal, and sharing the sharing link by the first terminal.
8. The method of claim 7, wherein generating the sharing link according to the target multimedia asset identifier and the play rate comprises:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
9. The method of claim 7 or 8, wherein the sharing link comprises:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
10. A multimedia resource sharing method is applied to a second terminal, and comprises the following steps:
acquiring a sharing link shared by a first terminal or a server, wherein the sharing link carries indication information of a playing address and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
displaying the sharing link in a display screen;
and when a triggering instruction for the sharing link is received, jumping to a playing page indicated by the playing address, and playing the target multimedia resource in the playing page according to the playing speed.
11. The method as claimed in claim 10, wherein the playing address of the target multimedia resource is a web page playing address, and the jumping to the playing page indicated by the playing address, in which the target multimedia resource is played at the playing rate, comprises:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
12. A multimedia resource sharing device is applied to a first terminal, and the device comprises:
the system comprises an operation module, a display module and a sharing module, wherein the operation module is used for operating a multimedia application, and the multimedia application comprises a play rate setting function and a sharing function;
the receiving module is used for receiving a sharing instruction of the target multimedia resource based on the sharing function;
the acquisition module is used for acquiring the play rate set for the target multimedia resource by the user through the play rate setting function based on the sharing instruction;
the generating module is used for generating a sharing link based on the identification of the target multimedia resource and the playing rate;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
and the sharing module is used for sharing the sharing link.
13. The apparatus of claim 12, wherein the apparatus further comprises:
a sending module, configured to send a sharing request to a server, where the sharing request carries an identifier of the target multimedia resource and the playing rate, and is used to request the server to generate a sharing link according to the sharing request;
the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used for triggering the playing page indicated by the playing address to play the target multimedia resource according to the playing rate;
the sharing module is further configured to receive the sharing link sent by the server, and share the sharing link, or instruct the server to share the sharing link through the sharing request.
14. The apparatus of claim 12 or 13, wherein the apparatus further comprises:
the playing module is used for playing the target multimedia resource in the multimedia application;
the receiving module is further configured to receive a play rate set for the played target multimedia resource by the user through the play rate setting function;
the playing module is further configured to continue to play the target multimedia resource according to the playing rate;
the acquisition module is configured to:
and acquiring the playing speed set for the played target multimedia resource by the received user through the playing speed setting function based on the sharing instruction.
15. The apparatus according to claim 12 or 13, wherein the target multimedia resource is a multimedia resource to be shared selected from a resource list of the multimedia application;
the acquisition module is configured to:
displaying a setting entry corresponding to the play rate setting function based on the sharing instruction;
and acquiring the playing speed selected or input by the user based on the setting entrance.
16. The apparatus according to claim 12 or 13, wherein the playing address of the target multimedia resource is a web page playing address, and the sharing link is used to trigger playing of the target multimedia resource at the playing rate in a web page indicated by the web page playing address.
17. The apparatus of claim 12 or 13, wherein the sharing module is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
18. A multimedia resource sharing device is applied to a server, and the device comprises:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a sharing request sent by a first terminal, the sharing request carries an identifier and a playing rate of a target multimedia resource, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
a generating module, configured to generate a sharing link according to the identifier of the target multimedia resource and the playing rate, where the sharing link carries a playing address of the target multimedia resource and indication information of the playing rate, and is used to trigger playing of the target multimedia resource in a playing page indicated by the playing address according to the playing rate;
and the sharing module is used for sharing the sharing link, or sending the sharing link to the first terminal, and sharing the sharing link by the first terminal.
19. The apparatus of claim 18, wherein the generation module is to:
determining the playing address of the target multimedia resource according to the target multimedia resource identifier;
and generating a sharing link carrying the indication information of the playing address and the playing speed.
20. The apparatus of claim 18 or 19, wherein the sharing module is configured to:
the sharing link is issued to an information sharing page;
or,
and sending the sharing link to a second terminal.
21. A multimedia resource sharing apparatus applied to a second terminal, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a sharing link shared by a first terminal or a server, the sharing link carries a playing address of a target multimedia resource and indication information of a playing rate, and the playing rate is set for the target multimedia resource by the first terminal through a playing rate setting function of a multimedia application;
the display module is used for displaying the sharing link in a display screen;
and the playing module is used for jumping to a playing page indicated by the playing address when a triggering instruction for the sharing link is received, and playing the target multimedia resource in the playing page according to the playing speed.
22. The apparatus of claim 21, wherein the playback address of the target multimedia asset is a web page playback address, and the playback module is configured to:
and jumping to the webpage indicated by the webpage playing address, and playing the target multimedia resource in the webpage according to the playing speed.
23. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the multimedia resource sharing method according to any one of claims 1-6 or claims 10-11.
24. A server, comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the multimedia resource sharing method according to any one of claims 7-9.
25. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the multimedia resource sharing method according to any one of claims 1-6 or claims 7-9 or claims 10-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811049701.9A CN109302385A (en) | 2018-09-07 | 2018-09-07 | Multimedia resource sharing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811049701.9A CN109302385A (en) | 2018-09-07 | 2018-09-07 | Multimedia resource sharing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109302385A true CN109302385A (en) | 2019-02-01 |
Family
ID=65166707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811049701.9A Pending CN109302385A (en) | 2018-09-07 | 2018-09-07 | Multimedia resource sharing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109302385A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187854A (en) * | 2019-04-28 | 2019-08-30 | 深圳市万普拉斯科技有限公司 | Method, terminal, computer equipment and the storage medium of sharing contents |
CN110932963A (en) * | 2019-11-21 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method, system, device, terminal, server and medium |
CN111078654A (en) * | 2019-11-01 | 2020-04-28 | 上海掌门科技有限公司 | Method and equipment for sharing information |
CN111782056A (en) * | 2020-08-18 | 2020-10-16 | Oppo广东移动通信有限公司 | Content sharing method, device, equipment and storage medium |
CN112312222A (en) * | 2019-10-31 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Video sending method and device and electronic equipment |
CN112689161A (en) * | 2020-12-22 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Multimedia file playing method, device, system, equipment and storage medium |
CN113110234A (en) * | 2021-05-11 | 2021-07-13 | 武汉灏存科技有限公司 | Linkage control system and method |
CN113766329A (en) * | 2020-02-17 | 2021-12-07 | 聚好看科技股份有限公司 | Playing request processing method and display equipment |
CN114339442A (en) * | 2021-12-31 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Multimedia channel configuration method and device, electronic equipment and storage medium |
WO2023272729A1 (en) * | 2021-07-02 | 2023-01-05 | 叶立三 | Literary-work circulation resource generation method and apparatus, literary-work circulation resource sharing method and apparatus, and device and platform |
WO2024114065A1 (en) * | 2022-11-29 | 2024-06-06 | 比亚迪股份有限公司 | Multimedia resource sharing method, and device and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018799A1 (en) * | 2000-01-24 | 2003-01-23 | Aviv Eyal | System and method for media search and playback |
CN102148835A (en) * | 2011-04-27 | 2011-08-10 | 许式伟 | Method and system for transmitting and sharing electronic documents |
CN102316135A (en) * | 2010-07-02 | 2012-01-11 | 深圳市快播科技有限公司 | Network on-demand method and system |
CN102904891A (en) * | 2012-10-16 | 2013-01-30 | 珠海全志科技股份有限公司 | Multimedia data sharing method and device and multimedia playing equipment |
CN103259938A (en) * | 2013-06-03 | 2013-08-21 | 贝壳网际(北京)安全技术有限公司 | Video playing processing method and system |
CN103716339A (en) * | 2012-09-28 | 2014-04-09 | 腾讯科技(深圳)有限公司 | Multimedia sharing method, system and device |
CN104519051A (en) * | 2014-11-24 | 2015-04-15 | 深圳市金立通信设备有限公司 | Method and terminals for sharing multimedia data |
US20160234345A1 (en) * | 2015-02-05 | 2016-08-11 | Qwire Holdings Llc | Media player distribution and collaborative editing |
CN106713987A (en) * | 2015-07-23 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Implementation method and device for audio/video sharing |
-
2018
- 2018-09-07 CN CN201811049701.9A patent/CN109302385A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018799A1 (en) * | 2000-01-24 | 2003-01-23 | Aviv Eyal | System and method for media search and playback |
CN102316135A (en) * | 2010-07-02 | 2012-01-11 | 深圳市快播科技有限公司 | Network on-demand method and system |
CN102148835A (en) * | 2011-04-27 | 2011-08-10 | 许式伟 | Method and system for transmitting and sharing electronic documents |
CN103716339A (en) * | 2012-09-28 | 2014-04-09 | 腾讯科技(深圳)有限公司 | Multimedia sharing method, system and device |
CN102904891A (en) * | 2012-10-16 | 2013-01-30 | 珠海全志科技股份有限公司 | Multimedia data sharing method and device and multimedia playing equipment |
CN103259938A (en) * | 2013-06-03 | 2013-08-21 | 贝壳网际(北京)安全技术有限公司 | Video playing processing method and system |
CN104519051A (en) * | 2014-11-24 | 2015-04-15 | 深圳市金立通信设备有限公司 | Method and terminals for sharing multimedia data |
US20160234345A1 (en) * | 2015-02-05 | 2016-08-11 | Qwire Holdings Llc | Media player distribution and collaborative editing |
CN106713987A (en) * | 2015-07-23 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Implementation method and device for audio/video sharing |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187854B (en) * | 2019-04-28 | 2022-12-13 | 深圳市万普拉斯科技有限公司 | Method, terminal, computer device and storage medium for sharing content |
CN110187854A (en) * | 2019-04-28 | 2019-08-30 | 深圳市万普拉斯科技有限公司 | Method, terminal, computer equipment and the storage medium of sharing contents |
CN112312222A (en) * | 2019-10-31 | 2021-02-02 | 北京字节跳动网络技术有限公司 | Video sending method and device and electronic equipment |
CN111078654A (en) * | 2019-11-01 | 2020-04-28 | 上海掌门科技有限公司 | Method and equipment for sharing information |
CN111078654B (en) * | 2019-11-01 | 2024-06-04 | 上海掌门科技有限公司 | Method and device for sharing information |
CN110932963A (en) * | 2019-11-21 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method, system, device, terminal, server and medium |
CN113766329B (en) * | 2020-02-17 | 2023-08-08 | 聚好看科技股份有限公司 | Playing request processing method and display device |
CN113766329A (en) * | 2020-02-17 | 2021-12-07 | 聚好看科技股份有限公司 | Playing request processing method and display equipment |
CN111782056A (en) * | 2020-08-18 | 2020-10-16 | Oppo广东移动通信有限公司 | Content sharing method, device, equipment and storage medium |
CN112689161A (en) * | 2020-12-22 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Multimedia file playing method, device, system, equipment and storage medium |
CN113110234A (en) * | 2021-05-11 | 2021-07-13 | 武汉灏存科技有限公司 | Linkage control system and method |
WO2023272729A1 (en) * | 2021-07-02 | 2023-01-05 | 叶立三 | Literary-work circulation resource generation method and apparatus, literary-work circulation resource sharing method and apparatus, and device and platform |
CN114339442A (en) * | 2021-12-31 | 2022-04-12 | 北京达佳互联信息技术有限公司 | Multimedia channel configuration method and device, electronic equipment and storage medium |
CN114339442B (en) * | 2021-12-31 | 2023-11-07 | 北京达佳互联信息技术有限公司 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
WO2024114065A1 (en) * | 2022-11-29 | 2024-06-06 | 比亚迪股份有限公司 | Multimedia resource sharing method, and device and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN110674022B (en) | Behavior data acquisition method and device and storage medium | |
CN111147878B (en) | Stream pushing method and device in live broadcast and computer storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN109327608B (en) | Song sharing method, terminal, server and system | |
CN112118477B (en) | Virtual gift display method, device, equipment and storage medium | |
CN108881286B (en) | Multimedia playing control method, terminal, sound box equipment and system | |
CN110248236B (en) | Video playing method, device, terminal and storage medium | |
CN110147503B (en) | Information issuing method and device, computer equipment and storage medium | |
CN107896337B (en) | Information popularization method and device and storage medium | |
CN113411680B (en) | Multimedia resource playing method, device, terminal and storage medium | |
CN111402844B (en) | Song chorus method, device and system | |
CN112764608A (en) | Message processing method, device, equipment and storage medium | |
CN115378900A (en) | Song list sharing method, device, terminal and storage medium | |
CN109144346A (en) | song sharing method, device and storage medium | |
CN112583806A (en) | Resource sharing method, device, terminal, server and storage medium | |
CN111628925A (en) | Song interaction method and device, terminal and storage medium | |
CN111818358A (en) | Audio file playing method and device, terminal and storage medium | |
CN108833970B (en) | Live broadcast recording method and device, computer equipment and storage medium | |
CN108401194B (en) | Time stamp determination method, apparatus and computer-readable storage medium | |
CN111399796B (en) | Voice message aggregation method and device, electronic equipment and storage medium | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN111131272B (en) | Scheduling method, device and system of stream server, computing equipment and storage medium | |
CN111682983A (en) | Interface display method and device, terminal and server | |
CN111327919A (en) | Method, device, system, equipment and storage medium for virtual gift feedback processing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190201 |
|
RJ01 | Rejection of invention patent application after publication |