CN105959207B - Audio-video sharing method and device - Google Patents
Audio-video sharing method and device Download PDFInfo
- Publication number
- CN105959207B CN105959207B CN201610331106.9A CN201610331106A CN105959207B CN 105959207 B CN105959207 B CN 105959207B CN 201610331106 A CN201610331106 A CN 201610331106A CN 105959207 B CN105959207 B CN 105959207B
- Authority
- CN
- China
- Prior art keywords
- audio
- video
- sharing
- information
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of audio-video sharing method and devices, belong to Internet technical field.The described method includes: receiving the acquisition request that client is sent;Obtain the audio/video information in the preset duration in the corresponding audio-video of audio-video mark before object time point;Description information corresponding to audio/video information is generated, returns to description information to client;Receive the sharing request that client is sent;Description information is shared to sharing address according to sharing request;It solves due to sharing to the live streaming address for the only direct broadcasting room for sharing address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting information from the information of redundancy, the problem for causing to attract the efficiency of good friend user lower;Reach by sharing the audio/video information in the preset duration in audio-video before object time point to sharing in address, has improved the efficiency for attracting good friend user, enhance the effect to bringing into the property of good friend user.
Description
Technical field
The present embodiments relate to Internet technical field, in particular to a kind of audio-video sharing method and device.
Background technique
With the development of internet technology, the direct broadcasting room function in live broadcast system is widely used.Such as it is online
Sharing function, online sharing refer to the process of spectators user by the content share being broadcast live in direct broadcasting room to good friend user.Directly
Direct broadcast band, studio etc. are further referred to as between broadcasting.
In the prior art, when live streaming of the spectators user A in use direct broadcasting room viewing main broadcaster user B, the visitor of spectators user A
Family end generates corresponding online sharing request with address, online sharing request is shared according to the online sharing instruction received
Direct broadcasting room mark;Online sharing request is sent to direct broadcast server by the client of spectators user A, and direct broadcast server is according to online
Sharing request obtains the live streaming address that direct broadcasting room identifies corresponding direct broadcasting room;The client of spectators user A is receiving sharing ground
Behind location, address will be shared and be sent to direct broadcast server;The live streaming address of the direct broadcasting room is sent to social interaction server by direct broadcast server
Device;Social interaction server device shares the live streaming address received into corresponding sharing address, and the good friend user of spectators user A can be with
The direct broadcasting room is checked according to live streaming address, so that more good friend users be attracted to watch the live streaming of the direct broadcasting room.Wherein, share with ground
Location may include: wechat circle of friends, microblogging and Tencent's QQ space etc..Such as: spectators user A shares the live streaming address of direct broadcasting room
Into the wechat circle of friends of oneself, the good friend user in wechat circle of friends can check the direct broadcasting room according to live streaming address.
During realizing the embodiment of the present invention, the inventor finds that the existing technology has at least the following problems:
Due to sharing to the live streaming address for the only direct broadcasting room for sharing address, and it is more superfluous that the corresponding information in address is broadcast live
Remaining, good friend user needs oneself to search interesting information from the information of redundancy, therefore the above method attracts the effect of good friend user
Rate is lower.
Summary of the invention
In order to solve due to sharing to the live streaming address for the only direct broadcasting room for sharing address, and the corresponding letter in address is broadcast live
Breath compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, leads to the effect for attracting good friend user
The lower problem of rate, the embodiment of the invention provides a kind of audio-video sharing method and devices.Specific technical solution is as follows:
In a first aspect, a kind of audio-video sharing method is provided, this method comprises:
The acquisition request that client is sent is received, audio-video mark is carried in acquisition request;
Obtain the audio/video information in the preset duration in the corresponding audio-video of audio-video mark before object time point;
Object time point is the time point carried in acquisition request, alternatively, time point when receiving acquisition request;
Description information corresponding to audio/video information is generated, returns to description information to client;
The sharing request that client is sent is received, description information is carried in sharing request and shares address;
Description information is shared to sharing address according to sharing request.
In one possible implementation, audio-video is identified as direct broadcasting room mark;
The audio/video information in the preset duration in the corresponding audio-video of audio-video mark before object time point is obtained,
Include:
Main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark sends song detection request;
Receive the testing result that main broadcaster's client returns;
If testing result indicates to be playing song in direct broadcasting room, obtain pre- before object time point in direct broadcasting room
If the audio-frequency information in duration.
In one possible implementation, audio-video is identified as direct broadcasting room mark;
The audio/video information in the preset duration in the corresponding audio-video of audio-video mark before object time point is obtained,
Include:
Main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark sends song detection request;
Receive the testing result that main broadcaster's client returns;
If testing result indicate direct broadcasting room in be currently not play song, obtain in direct broadcasting room object time point it
Video information in preceding preset duration.
In one possible implementation, audio-video is identified as the ID and/or title of audio-video, and object time point is sound
The playback progress of video;
The audio/video information in the preset duration in the corresponding audio-video of audio-video mark before object time point is obtained,
Include:
Obtain the audio/video information in audio-video in the preset duration before playback progress.
In one possible implementation, description information corresponding to audio/video information is generated, comprising:
Chained address corresponding to audio/video information is generated, chained address is used to indicate the storage location of audio/video information.
In one possible implementation, this method further include:
Receive setting request;
Setting preset duration is requested according to setting, stores the preset duration of setting.
Second aspect, provides a kind of audio-video sharing apparatus, which includes:
Request receiving module carries audio-video mark for receiving the acquisition request of client transmission in acquisition request;
Data obtaining module, when for obtaining in the corresponding audio-video of audio-video mark default before object time point
Audio/video information in length;Object time point is time point for carrying in acquisition request, alternatively, when receiving acquisition request when
Between point;
Information generating module returns to description information to client for generating description information corresponding to audio/video information;
Share receiving module, carried for receiving the sharing request of client transmission, in sharing request description information with
And share address;
Information share module, for being shared description information to sharing address according to sharing request.
In one possible implementation, audio-video is identified as direct broadcasting room mark;
Data obtaining module, comprising:
Request transmitting unit sends song detection for main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark
Request;
As a result receiving unit, for receiving the testing result of main broadcaster's client return;
Audio acquiring unit, for testing result indicate direct broadcasting room in be playing song when, obtain direct broadcasting room in
The audio-frequency information in preset duration before object time point.
In one possible implementation, audio-video is identified as direct broadcasting room mark;
Data obtaining module, comprising:
Request transmitting unit sends song detection for main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark
Request;
As a result receiving unit, for receiving the testing result of main broadcaster's client return;
Video acquisition unit obtains live streaming for indicating to be currently not in direct broadcasting room when playing song in testing result
Between in video information in the preset duration before object time point.
In one possible implementation, audio-video is identified as the ID and/or title of audio-video, and object time point is sound
The playback progress of video;
Data obtaining module is also used to obtain the audio-video letter in audio-video in the preset duration before playback progress
Breath.
In one possible implementation, information generating module is also used to generate link corresponding to audio/video information
Address, chained address are used to indicate the storage location of audio/video information.
In one possible implementation, the device further include:
Receiving module is set, for receiving setting request;
Duration setting module stores the preset duration of setting for requesting setting preset duration according to setting.
Technical solution bring beneficial effect provided in an embodiment of the present invention may include:
The acquisition request sent by receiving client;Obtain object time point in the corresponding audio-video of audio-video mark
The audio/video information in preset duration before;Description information corresponding to audio/video information is generated, returns to description information to visitor
Family end;Receive the sharing request that client is sent;Description information is shared to sharing address according to sharing request;By the way that sound is regarded
Description information corresponding to the audio/video information in preset duration in frequency before object time point is shared to sharing address;It solves
It is only the live streaming address of direct broadcasting room due to sharing to share address, and the corresponding information in address is broadcast live and compares redundancy, it is good
Friendly user needs oneself to search interesting information from the information of redundancy, the problem for causing to attract the efficiency of good friend user lower;
Reach by sharing description information corresponding to the audio/video information in the preset duration in audio-video before object time point
To sharing in address, since the audio/video information in preset duration is information interesting in audio-video, it can be improved and attract good friend
The efficiency of user enhances the effect to bringing into the property of good friend user.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 be according to exemplary partial implement a kind of audio-video sharing method for exemplifying involved in implementation environment show
It is intended to;
Fig. 2 is the method flow diagram of audio-video sharing method provided by one embodiment of the present invention;
Fig. 3 is the method flow diagram for the audio-video sharing method that another embodiment of the present invention provides;
Fig. 4 is the illustrative interfaces fig. of audio-video sharing method provided by one embodiment of the present invention;
Fig. 5 is the method flow diagram for the audio-video sharing method that another embodiment of the invention provides;
Fig. 6 is the structural block diagram of audio-video sharing apparatus provided by one embodiment of the present invention;
Fig. 7 is the structural block diagram for the audio-video sharing apparatus that another embodiment of the present invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 be according to exemplary partial implement a kind of audio-video sharing method for exemplifying involved in implementation environment show
It is intended to, as shown in Figure 1, the implementation environment may include the first client 110, the second client 120 and server 130.
First client 110 and the second client 120 can be mounted in the communication class application program in different terminals, should
Communication class application program can be instant messaging program, social category application program or voice communication programs.Wherein, terminal can be
Mobile phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III,
Dynamic image expert's compression standard audio level 3) player, MP4 (Moving Picture Experts Group Audio
Layer IV, dynamic image expert's compression standard audio level 4) player, pocket computer on knee and desktop computer etc.
Deng.
First client 110 and the second client 120 pass through server 130 and establish connection.First client 110 is corresponding
There are friend relations between user account number user account number corresponding with the second client 120.
The sharing request that first client 110 is sent is after the processing of server 130 by the description information in sharing request
Share into sharing address;Wherein, sharing address can be wechat circle of friends, wechat good friend, QQ space, QQ friends, micro-blog
Family end etc..The corresponding user of user account number in second client 120 can check that the first client 110 is divided from sharing in address
The description information enjoyed.
Server 130 is the background server of communication class application program.Server 130 can be a server, more
The server cluster or cloud computing center of server composition.
Fig. 2 is the method flow diagram of audio-video sharing method provided by one embodiment of the present invention.The present embodiment is with the sound
Video sharing method is applied to illustrate in server 130 shown in FIG. 1.This method comprises:
Step 201, the acquisition request that client is sent is received, audio-video mark is carried in acquisition request.
Step 202, the sound in the preset duration in the corresponding audio-video of audio-video mark before object time point is obtained
Video information.
Object time point is the time point carried in acquisition request, alternatively, time point when receiving acquisition request.
Step 203, description information corresponding to audio/video information is generated, returns to description information to client.
Step 204, the sharing request that client is sent is received, description information is carried in sharing request and shares with ground
Location.
Step 205, description information is shared to sharing address according to sharing request.
In conclusion audio-video sharing method provided in this embodiment, the acquisition request sent by receiving client;It obtains
The audio/video information in preset duration in the audio-video for taking audio-video mark corresponding before object time point;Generate audio-video
Description information corresponding to information returns to description information to client;Receive the sharing request that client is sent;It is asked according to sharing
It asks and shares description information to sharing address;By the way that the audio-video in the preset duration before object time point in audio-video is believed
The corresponding description information of breath is shared to sharing address;It solves due to sharing to the live streaming for the only direct broadcasting room for sharing address
Address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting letter from the information of redundancy
Breath, the problem for causing to attract the efficiency of good friend user lower;Reach pre- before object time point in audio-video by sharing
If description information corresponding to the audio/video information in duration is to sharing in address, since the audio/video information in preset duration is
The efficiency for attracting good friend user can be improved in interesting information in audio-video, enhances the effect to bringing into the property of good friend user.
Fig. 3 is the method flow diagram for the audio-video sharing method that another embodiment of the present invention provides.The present embodiment is with this
Audio-video sharing method is applied to illustrate in server 130 shown in FIG. 1.This method comprises:
Step 301, setting request is received.
When user needs to be configured preset duration, user trigger in the client setting instruction, client according to
Setting instruction generates corresponding setting request, scheduled duration is carried in setting request, and setting request is sent to service
Device.Such as: scheduled duration can be the durations such as 10 seconds, 20 seconds, 30 seconds.
Accordingly, server receives the setting request that client is sent.
Step 302, setting preset duration is requested according to setting, stores the preset duration of setting.
Server requests setting preset duration, server after receiving the setting request of client transmission, according to setting
The preset duration of setting is stored.
Optionally, when user needs to be modified the preset duration stored in server, only need to repeat step 301 and
Step 302 can change the preset duration stored in server.
Step 303, the acquisition request that client is sent is received, direct broadcasting room mark is carried in acquisition request.
If user is using the live streaming of client viewing direct broadcasting room, when the main broadcaster user main broadcaster that user watches in direct broadcasting room arrives
When Highlights, user triggers sharing instruction in the client, and client generates corresponding acquisition request according to instruction is shared, should
Direct broadcasting room mark is carried in acquisition request, the acquisition request of generation is sent to server by client, wherein direct broadcasting room mark
It may include at least one of room number, the title of main broadcaster user, main broadcaster ID (Identity, identity) etc..
Optionally, time point can also be carried in acquisition request, which is used to indicate server and obtains receiving
After taking request, the time point carried in request will acquire as object time point.
Accordingly, server receives the acquisition request that client is sent.
Step 304, main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark sends song detection request.
Server reads the direct broadcasting room mark carried in acquisition request after the acquisition request for receiving client transmission,
Main broadcaster's client in the direct broadcasting room corresponding to the direct broadcasting room mark read sends song detection request, and song detection is asked
It asks for whether the main broadcaster user into main broadcaster's client request detection direct broadcasting room to be currently playing song;Wherein, Zhu Boyong
Family be playing song include main broadcaster user giving song recitals and/or main broadcaster user be playing other singers performance song
It is bent.
Wherein, detecting the step of whether the main broadcaster user of direct broadcasting room is currently playing song may include that following two can
The implementation of energy:
The first: being previously run in terminal corresponding to main broadcaster's client in direct broadcasting room and song listened to know bent client,
Whether the main broadcaster user for listening song to know bent client real-time detection direct broadcasting room is playing song;When client receives server hair
When the song detection request sent, main broadcaster's client will listen song to know the current testing result of bent client and feed back to server.
Second: after server reads the direct broadcasting room mark carried in acquisition request, obtaining corresponding to direct broadcasting room mark
The live information of main broadcaster's client in direct broadcasting room, and by listening song to know the live information that bent client detects main broadcaster's client
Whether middle main broadcaster user is currently playing song.
Step 305, the testing result that main broadcaster's client returns is received.
If currently whether being playing song by the main broadcaster user of the corresponding terminal detection direct broadcasting room of main broadcaster's client, by
Main broadcaster's client will listen song to know bent testing result and feed back to server, and accordingly, server receives what main broadcaster's client returned
Testing result, and directly read the testing result received.
If passing through whether the main broadcaster user for listening song to know bent client detection direct broadcasting room is currently playing song by server
Song, then server, which directly passes through, listens song to know bent client acquisition testing result.
It optionally, include two kinds of possible situations in the testing result, when testing result indicates to be playing in direct broadcasting room
When song, 306 are thened follow the steps;When being currently not broadcasting song in testing result expression direct broadcasting room, 307 are thened follow the steps.
Step 306, the audio-frequency information in direct broadcasting room in the preset duration before object time point is obtained.
When carrying time point in acquisition request, after server receives the acquisition request, directly reads acquisition and ask
The time point of middle carrying is asked, and the time point read is determined as object time point;And if when not carried in acquisition request
Between when putting, then server obtains time point upon receiving the acquisition request, and time point when receiving acquisition request is true
It is set to the object time point.
The testing result received when server indicates to be playing song in direct broadcasting room, then server is according to getting
Object time point obtains the audio-frequency information in direct broadcasting room in the preset duration before object time point.
It only illustrates so that preset duration is arranged and is saved by execution step 301 and step 302 as an example in the present embodiment
Illustrate, optionally, preset duration is also possible to the duration of Server Default setting, and the present embodiment is not especially limited this.
Such as: it is assumed that object time point is the time point carried in acquisition request, the testing result table that server receives
Show and be playing song in direct broadcasting room, preset duration is 30 seconds, then server obtains broadcasting in 30 seconds before the time point automatically
Song information.
Step 307, the video information in direct broadcasting room in the preset duration before object time point is obtained.
Wherein, object time point is the time point carried in acquisition request, alternatively, time when receiving acquisition request
Point.
When the testing result that server receives indicates to be currently not broadcasting song in direct broadcasting room, then server, which is read, obtains
The time point carried in request, alternatively, time point when receiving acquisition request is read, after reading object time point, clothes
The video information being engaged in device acquisition direct broadcasting room in the preset duration before object time point.Wherein, preset duration is to pass through step
Rapid 301 and step 302 in be arranged and save, be also possible to what server was set at random.
Such as: it is assumed that object time point is the time point carried in acquisition request, the testing result table that server receives
Show and be currently not broadcasting song in direct broadcasting room, preset duration is 10 seconds, then server obtains before the time point 10 seconds automatically
The video information of main broadcaster's user live broadcast.
Optionally, server obtains the preset duration of audio-frequency information and the preset duration for obtaining video information can be identical
Can not be identical, it is not specifically limited in this embodiment in the present embodiment.
Step 308, chained address corresponding to audio/video information is generated, returns to chained address to client.
Chained address is used to indicate the storage location of audio/video information.
For in step 306, server gets the audio in direct broadcasting room in the preset duration before object time point
After information, the audio-frequency information to get generates corresponding chained address, which indicates that the audio-frequency information is stored in clothes
The position being engaged in device;And the chained address of generation is fed back into client.
For in step 307, server gets the video in direct broadcasting room in the preset duration before object time point
After information, the video information to get generates corresponding chained address, which indicates that the video information is stored in clothes
The position being engaged in device;And the chained address of generation is fed back into client.
Step 309, the sharing request that client is sent is received, chained address is carried in sharing request and shares with ground
Location.
The chained address of generation is fed back to client by server, and client receives what user selected to trigger when sharing address
Instruction, client obtain the sharing address that user selects according to the instruction that user triggers;Client is grounded according to the chain received
Location and the sharing address got generate sharing request, carried in the sharing request chained address with share address, client
The sharing request of generation is sent to server by end.Optionally, client, can at the chained address for receiving server feedback
To carry out preview to the corresponding audio/video information in chained address.
Accordingly, server receives the sharing request that client is sent.
Step 310, chained address is shared to sharing address according to sharing request.
Server reads the chained address carried in sharing request and divides after the sharing request for receiving client transmission
Address is enjoyed, the chained address read is shared into the sharing address read, so as to good friend user's root of other clients
The audio/video information of sharing is checked according to chained address.
In a specific example, as shown in figure 4, when user uses main broadcaster's user live broadcast in client viewing direct broadcasting room
When, if user watches main broadcaster user's excellent live streaming period, user clicks sharing, triggering point in the direct broadcasting room of client
Instruction is enjoyed, after client receives sharing instruction, acquisition request is sent to direct broadcast server, carries live streaming in the acquisition request
Between mark and object time point, direct broadcast server obtains in direct broadcasting room in mesh according to the object time point carried in acquisition request
The video information in 20 seconds before mark time point, direct broadcast server are that the video information got generates corresponding chain ground connection
Location, and the chained address is fed back into client.Meanwhile after client receives sharing instruction, it will pop up in client
Share pop-up, includes different sharing addresses in the sharing pop-up;Client receives user and selects wechat from sharing pop-up
The instruction of circle of friends, and jumped in wechat client after receiving the instruction from direct broadcasting room, at this point, client can Xiang Zhi
It broadcasts server and sends sharing request, chained address and wechat circle of friends are carried in the sharing request shares address;Live streaming clothes
The corresponding chained address of video information is sent to social interaction server device, the view that social interaction server device will receive with address is shared by business device
Share into the wechat circle of friends for sharing the corresponding user in address the corresponding chained address of frequency information.
It should be noted that being not especially limited in the embodiment of the present invention to the content carried in sharing request, this implementation
It is only illustrated in example with carrying chained address in sharing request with address is shared, it optionally, in sharing request can be with
Carry audio-frequency information with share address, alternatively, video information with share address, alternatively, video name with share address etc..
It should be noted that step 301 to step 302 and step 304 to step 305 is optional step in the present embodiment
Suddenly, it is only illustrated for executing step 301 to step 310 in the present embodiment, can not also be executed in the present embodiment
Step 301 is to step 302 and step 304 to step 305.
In conclusion audio-video sharing method provided in this embodiment, the acquisition request sent by receiving client;It obtains
The audio/video information in preset duration in the audio-video for taking audio-video mark corresponding before object time point;Generate audio-video
Description information corresponding to information returns to description information to client;Receive the sharing request that client is sent;It is asked according to sharing
It asks and shares description information to sharing address;By the way that the audio-video in the preset duration before object time point in audio-video is believed
The corresponding description information of breath is shared to sharing address;It solves due to sharing to the live streaming for the only direct broadcasting room for sharing address
Address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting letter from the information of redundancy
Breath, the problem for causing to attract the efficiency of good friend user lower;Reach pre- before object time point in audio-video by sharing
If description information corresponding to the audio/video information in duration is to sharing in address, since the audio/video information in preset duration is
The efficiency for attracting good friend user can be improved in interesting information in audio-video, enhances the effect to bringing into the property of good friend user.
In addition, by the way that the audio in the preset duration before object time point in main broadcaster's user live broadcast in direct broadcasting room is believed
Share to address is shared, due to the audio-frequency information or video information in preset duration chained address corresponding to breath or video information
It is information interesting in audio-video, the efficiency for attracting good friend user has can be improved, increases spectators' number of access direct broadcasting room.
It should be noted that only receiving client in server with step 301 and step 302 in embodiment shown in Fig. 3
It holds and is illustrated before the acquisition request sent, optionally, step 301 and step 302 need to be in servers in the present embodiment
It is executed before the step of obtaining the audio-frequency information in the preset duration in direct broadcasting room before object time point.
Based in embodiment shown in Fig. 3, only illustrate so that user is using the live streaming of client viewing direct broadcasting room as an example
Illustrate, the embodiment of the present invention can be also used for the scene that user watches non-straight broadcast video using client, shown in specific Fig. 3
Embodiment in step 303 can be replaced to step 307 and be exemplified as step, as shown in Figure 5.
Step 501, the acquisition request that client is sent is received, the ID and/or title of audio-video are carried in acquisition request.
If user watches audio-video using client, when user watches the Highlights of audio-video, user is in client
Acquisition instruction is triggered in end, client generates corresponding acquisition request according to acquisition instruction, and sound view is carried in the acquisition request
The acquisition request of generation is sent to server by the ID and/or title of frequency, client.
Accordingly, server receives the acquisition request that client is sent.
Step 502, the audio/video information in audio-video in the preset duration before playback progress is obtained.
Server reads the ID of the audio-video carried in acquisition request after the acquisition request for receiving client transmission
And/or title obtains corresponding audio-video according to the ID and/or title of the audio-video read;Server reads acquisition request
The playback progress of the audio-video of middle carrying;Server obtains sound view according to the audio-video got and the playback progress read
Audio/video information in frequency in the preset duration before playback progress.
In a specific example, when user is using client viewing party video, if user watches party to regard
In frequency when excellent essay performance, user clicks sharings in the video of client, and triggering sharing instructs, and client receives point
After enjoying instruction, send acquisition request to server, carry party title and playback progress in the acquisition request, server according to
The playback progress carried in acquisition request obtains the video information in party video in 30 seconds before playback progress, service
Device is that the video information got generates corresponding chained address, and the chained address is fed back to client.Meanwhile in client
After termination receives sharing instruction, it will pop up sharing pop-up in client, include different sharing addresses in the sharing pop-up;
Client receives user from the instruction for sharing selection wechat good friend in pop-up, and from party video circle after receiving the instruction
Face jumps in wechat client, and user selects the wechat good friend for needing to share, and shares at this point, client can be sent to server
Request, chained address and wechat good friend are carried in the sharing request shares address;The video information that server will receive
Corresponding chained address is shared with the wechat good friend for sharing the corresponding user in address.
In conclusion audio-video sharing method provided in this embodiment, the acquisition request sent by receiving client;It obtains
The audio/video information in preset duration in the audio-video for taking audio-video mark corresponding before object time point;Generate audio-video
Chained address corresponding to information returns to chained address to client;Receive the sharing request that client is sent;It is asked according to sharing
It asks and shares chained address to sharing address;By the way that the audio-video in the preset duration before object time point in audio-video is believed
Breath shares corresponding chained address to sharing address;It solves due to sharing to the live streaming for the only direct broadcasting room for sharing address
Address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting letter from the information of redundancy
Breath, the problem for causing to attract the efficiency of good friend user lower;Reach pre- before object time point in audio-video by sharing
If the chained address of the audio/video information in duration is to sharing in address, since the audio/video information in preset duration is audio-video
In interesting information, the efficiency for attracting good friend user can be improved, enhance the effect to bringing into the property of good friend user.
Fig. 6 is the structural block diagram of audio-video sharing apparatus provided by one embodiment of the present invention.The audio-video shares dress
It sets in server, which to include:
Request receiving module 610 carries audio-video mark in acquisition request for receiving the acquisition request of client transmission
Know.
Data obtaining module 620, it is pre- before object time point in the corresponding audio-video of audio-video mark for obtaining
If the audio/video information in duration;Object time point is the time point carried in acquisition request, alternatively, when receiving acquisition request
Time point.
Information generating module 630 returns to description information to client for generating description information corresponding to audio/video information
End.
Share receiving module 640, for receiving the sharing request of client transmission, carries description information in sharing request
And share address.
Information share module 650, for being shared description information to sharing address according to sharing request.
In conclusion audio-video sharing apparatus provided in this embodiment, the acquisition request sent by receiving client;It obtains
The audio/video information in preset duration in the audio-video for taking audio-video mark corresponding before object time point;Generate audio-video
Description information corresponding to information returns to description information to client;Receive the sharing request that client is sent;It is asked according to sharing
It asks and shares description information to sharing address;By the way that the audio-video in the preset duration before object time point in audio-video is believed
The corresponding description information of breath is shared to sharing address;It solves due to sharing to the live streaming for the only direct broadcasting room for sharing address
Address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting letter from the information of redundancy
Breath, the problem for causing to attract the efficiency of good friend user lower;Reach pre- before object time point in audio-video by sharing
If description information corresponding to the audio/video information in duration is to sharing in address, since the audio/video information in preset duration is
The efficiency for attracting good friend user can be improved in interesting information in audio-video, enhances the effect to bringing into the property of good friend user.
Fig. 7 is the structural block diagram for the audio-video sharing apparatus that another embodiment of the present invention provides.The audio-video is shared
Device is in server, which to include:
Receiving module 710 is set, for receiving setting request.
Duration setting module 720 stores the preset duration of setting for requesting setting preset duration according to setting.
Request receiving module 730 carries audio-video mark in acquisition request for receiving the acquisition request of client transmission
Know.
Data obtaining module 740, it is pre- before object time point in the corresponding audio-video of audio-video mark for obtaining
If the audio/video information in duration;Object time point is the time point carried in acquisition request, alternatively, when receiving acquisition request
Time point.
Optionally, audio-video is identified as direct broadcasting room mark;Data obtaining module 740, comprising: request transmitting unit 741, knot
Fruit receiving unit 742 and audio acquiring unit 743.
Request transmitting unit 741 sends song for main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark
Detection request;
As a result receiving unit 742, for receiving the testing result of main broadcaster's client return;
Audio acquiring unit 743, for obtaining in direct broadcasting room when testing result indicates to be playing song in direct broadcasting room
Audio-frequency information in the preset duration before object time point.
Optionally, audio-video is identified as direct broadcasting room mark;Data obtaining module 740, comprising: request transmitting unit 741, knot
Fruit receiving unit 742 and video acquisition unit 744.
Video acquisition unit 744 obtains straight for indicating to be currently not in direct broadcasting room when playing song in testing result
Video information between broadcasting in the preset duration before object time point.
Optionally, audio-video is identified as the ID and/or title of audio-video, and object time point is the playback progress of audio-video.
Data obtaining module 740 is also used to obtain the audio-video in audio-video in the preset duration before playback progress
Information.
Information generating module 750 returns to description information to client for generating description information corresponding to audio/video information
End.
Optionally, information generating module 750 are also used to generate chained address corresponding to audio/video information, chained address
For indicating the storage location of audio/video information.
Share receiving module 760, for receiving the sharing request of client transmission, carries description information in sharing request
And share address.
Information share module 770, for being shared description information to sharing address according to sharing request.
In conclusion audio-video sharing apparatus provided in this embodiment, the acquisition request sent by receiving client;It obtains
The audio/video information in preset duration in the audio-video for taking audio-video mark corresponding before object time point;Generate audio-video
Description information corresponding to information returns to description information to client;Receive the sharing request that client is sent;It is asked according to sharing
It asks and shares description information to sharing address;By the way that the audio-video in the preset duration before object time point in audio-video is believed
The corresponding description information of breath is shared to sharing address;It solves due to sharing to the live streaming for the only direct broadcasting room for sharing address
Address, and the corresponding information in address is broadcast live and compares redundancy, good friend user needs oneself to search interesting letter from the information of redundancy
Breath, the problem for causing to attract the efficiency of good friend user lower;Reach pre- before object time point in audio-video by sharing
If description information corresponding to the audio/video information in duration is to sharing in address, since the audio/video information in preset duration is
The efficiency for attracting good friend user can be improved in interesting information in audio-video, enhances the effect to bringing into the property of good friend user.
In addition, by the way that the audio in the preset duration before object time point in main broadcaster's user live broadcast in direct broadcasting room is believed
Description information corresponding to breath or video information is shared to address is shared, since the audio/video information in preset duration is audio-video
In interesting information, improve the efficiency for attracting good friend user, increase spectators' number of access direct broadcasting room.
It should be understood that the device that audio-video provided by the above embodiment is shared is when sharing audio-video, only with above-mentioned
The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different
Functional module is completed, i.e., the internal structure of electronic equipment is divided into different functional modules, to complete whole described above
Or partial function.In addition, the embodiment of the method category that the device that audio-video provided by the above embodiment is shared is shared with audio-video
In same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of audio-video sharing method, which is characterized in that the described method includes:
The acquisition request that client is sent is received, audio-video mark is carried in the acquisition request, the audio-video is identified as
Direct broadcasting room mark;
Obtain the audio-video letter in the corresponding direct broadcasting room of the audio-video mark in the preset duration before object time point
Breath;The object time point is the time point carried in the acquisition request, alternatively, time when receiving the acquisition request
Point;
Description information corresponding to the audio/video information is generated, returns to the description information to the client;
The sharing request that the client is sent is received, the description information is carried in the sharing request and shares with ground
Location;
The description information is shared to the sharing address according to the sharing request.
2. the method according to claim 1, wherein described obtain the corresponding direct broadcasting room of the audio-video mark
In audio/video information in the preset duration before object time point, comprising:
Main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark sends song detection request;
Receive the testing result that main broadcaster's client returns;
If the testing result indicates to be playing song in the direct broadcasting room, obtain in the direct broadcasting room in the target
Between put before the preset duration in audio-frequency information.
3. the method according to claim 1, wherein described obtain the corresponding direct broadcasting room of the audio-video mark
In audio/video information in the preset duration before object time point, comprising:
Main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark sends song detection request;
Receive the testing result that main broadcaster's client returns;
If the testing result, which indicates to be currently not in the direct broadcasting room, is playing song, obtain in the direct broadcasting room described
The video information in the preset duration before object time point.
4. method according to any one of claims 1 to 3, which is characterized in that described to generate corresponding to the audio/video information
Description information, comprising:
Chained address corresponding to the audio/video information is generated, the chained address is for indicating depositing for the audio/video information
Storage space is set.
5. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Receive setting request;
The preset duration is set according to setting request, stores the preset duration of setting.
6. a kind of audio-video sharing apparatus, which is characterized in that described device includes:
Request receiving module carries audio-video mark for receiving the acquisition request of client transmission, in the acquisition request,
The audio-video is identified as direct broadcasting room mark;
Data obtaining module, it is default before object time point in the corresponding direct broadcasting room of the audio-video mark for obtaining
Audio/video information in duration;The object time point is the time point carried in the acquisition request, alternatively, receiving described
Time point when acquisition request;
Information generating module returns to the description information to institute for generating description information corresponding to the audio/video information
State client;
Share receiving module, for receiving the sharing request of the client transmission, carries described retouch in the sharing request
It states information and shares address;
Information share module, for being shared the description information to the sharing address according to the sharing request.
7. device according to claim 6, which is characterized in that the data obtaining module, comprising:
Request transmitting unit sends song detection for main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark
Request;
As a result receiving unit, the testing result returned for receiving main broadcaster's client;
Audio acquiring unit is described straight for obtaining when the testing result indicates to be playing song in the direct broadcasting room
Audio-frequency information between broadcasting in the preset duration before the object time point.
8. device according to claim 6, which is characterized in that the data obtaining module, comprising:
Request transmitting unit sends song detection for main broadcaster's client into the corresponding direct broadcasting room of direct broadcasting room mark
Request;
As a result receiving unit, the testing result returned for receiving main broadcaster's client;
Video acquisition unit is obtained for indicating to be currently not in the direct broadcasting room when playing song in the testing result
Video information in the direct broadcasting room in the preset duration before the object time point.
9. according to any device of claim 6 to 8, which is characterized in that the information generating module is also used to generate institute
Chained address corresponding to audio/video information is stated, the chained address is used to indicate the storage location of the audio/video information.
10. according to any device of claim 6 to 8, which is characterized in that described device further include:
Receiving module is set, for receiving setting request;
Duration setting module stores the preset duration of setting for the preset duration to be arranged according to setting request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610331106.9A CN105959207B (en) | 2016-05-17 | 2016-05-17 | Audio-video sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610331106.9A CN105959207B (en) | 2016-05-17 | 2016-05-17 | Audio-video sharing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959207A CN105959207A (en) | 2016-09-21 |
CN105959207B true CN105959207B (en) | 2019-04-05 |
Family
ID=56912956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610331106.9A Active CN105959207B (en) | 2016-05-17 | 2016-05-17 | Audio-video sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959207B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106936699A (en) * | 2017-04-26 | 2017-07-07 | 腾讯科技(深圳)有限公司 | A kind of information sharing method, device and system |
CN107018427B (en) * | 2017-05-10 | 2020-11-06 | 广州华多网络科技有限公司 | Live broadcast shared content processing method and device |
CN107659825B (en) * | 2017-09-12 | 2019-01-29 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus, server, main broadcaster end and medium that live video is retained |
WO2019084959A1 (en) * | 2017-11-06 | 2019-05-09 | 深圳市大疆创新科技有限公司 | Interaction method and device for mobile terminal and cloud platform of unmanned aerial vehicle |
CN108449391A (en) * | 2018-02-28 | 2018-08-24 | 武汉斗鱼网络科技有限公司 | A kind of calling method and calling system |
CN109151594A (en) * | 2018-09-27 | 2019-01-04 | 广州虎牙信息科技有限公司 | Direct playing and playback video broadcasting method, device and electronic equipment |
CN109120951A (en) * | 2018-09-30 | 2019-01-01 | 武汉斗鱼网络科技有限公司 | Generation dissemination method, storage medium, electronic equipment and the system of live video |
CN112104883A (en) * | 2020-08-06 | 2020-12-18 | 北京达佳互联信息技术有限公司 | Live broadcast room sharing method, device and system and server |
CN114430494B (en) * | 2020-10-29 | 2024-04-09 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
CN112492339B (en) * | 2020-11-27 | 2023-07-11 | 北京达佳互联信息技术有限公司 | Live broadcast method, device, server, terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104168503A (en) * | 2014-07-24 | 2014-11-26 | 小米科技有限责任公司 | Video information sharing method and device |
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN103647991A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and system for sharing video in intelligent television |
US9560366B2 (en) * | 2014-10-22 | 2017-01-31 | Broadcom Corporation | Video encoding for social media |
CN105045809B (en) * | 2015-06-05 | 2017-03-15 | 广州酷狗计算机科技有限公司 | The method and device of piloting of multimedia file |
CN105120304B (en) * | 2015-08-31 | 2019-08-27 | 广州酷狗计算机科技有限公司 | Information display method, apparatus and system |
-
2016
- 2016-05-17 CN CN201610331106.9A patent/CN105959207B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
CN104168503A (en) * | 2014-07-24 | 2014-11-26 | 小米科技有限责任公司 | Video information sharing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105959207A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959207B (en) | Audio-video sharing method and device | |
CN108184144B (en) | Live broadcast method and device, storage medium and electronic equipment | |
CN105450642B (en) | It is a kind of based on the data processing method being broadcast live online, relevant apparatus and system | |
US11616818B2 (en) | Distributed control of media content item during webcast | |
US9787487B2 (en) | Facilitating media streaming with social interaction | |
CN102307156B (en) | Method and device for sharing video picture and returning to playing | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
CN103905474B (en) | A kind of information sharing method, terminal, server and system | |
CN108093267B (en) | Live broadcast method and device, storage medium and electronic equipment | |
US20160142889A1 (en) | Methods and systems relating to visual communications | |
CN105933739B (en) | Program interaction system, method, client and background server | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
US20180288450A1 (en) | Method for inserting information push into live video streaming, server, and terminal | |
CN102185924A (en) | Method and equipment for sharing video screenshot | |
CN102647661B (en) | Method for sending real-time status of terminal and interaction method based on real-time status | |
CN109151594A (en) | Direct playing and playback video broadcasting method, device and electronic equipment | |
WO2018068557A1 (en) | Service object processing method, server, terminal and system | |
CN109977266A (en) | A kind of novel recommended method and equipment | |
WO2017101354A1 (en) | Message pushing system and method | |
CN105391563B (en) | Information notice method and device | |
CN103702178B (en) | A kind of playback method and electronic equipment | |
US11509961B2 (en) | Automatic rating of crowd-stream caller video | |
CN110237536A (en) | Personalized game service providing method and device, electronic equipment and storage medium | |
CN108337556A (en) | Method and apparatus for playing audio/video file | |
CN109996123A (en) | Processing method and system and storage medium, the mobile device of multi-medium data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |