CN105959207A - Audio and video sharing method and device - Google Patents
Audio and video sharing method and device Download PDFInfo
- Publication number
- CN105959207A CN105959207A CN201610331106.9A CN201610331106A CN105959207A CN 105959207 A CN105959207 A CN 105959207A CN 201610331106 A CN201610331106 A CN 201610331106A CN 105959207 A CN105959207 A CN 105959207A
- Authority
- CN
- China
- Prior art keywords
- video
- request
- information
- audio frequency
- audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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 present invention discloses an audio and video sharing method and device, and belongs to the internet technology field. The method comprises the steps of receiving an obtaining request sent by a client; obtaining the audio and video information within the preset duration before a target time point in the audio and video corresponding to an audio and video identifier; generating the description information corresponding to the audio and video information, and returning the description information to the client; receiving a sharing request sent by the client; sharing the description information to a sharing address according to the sharing request. According to the present invention, the problem that only a live broadcasting address of a live broadcasting room is shared to the sharing address, the information corresponding to the live broadcasting address is more redundant, and friend users need to search the interested information from the redundant information, so that the efficiency of absorbing the friend users is lower, is solved, and the effects of improving the efficiency of absorbing the friend users and enhancing the friend user association are realized by sharing the audio and video information within the preset duration before the target time point in the audio and video to the sharing address.
Description
Technical field
The present embodiments relate to Internet technical field, particularly to a kind of audio frequency and video sharing method and device.
Background technology
Along with the development of Internet technology, the direct broadcasting room function in live broadcast system is widely used.Ratio
Such as online sharing function, share online and refer to that spectators user just will be shared with in live content in direct broadcasting room
The process of friend user.Direct broadcasting room is further referred to as direct broadcast band, studio etc..
In prior art, when spectators user A use direct broadcasting room viewing main broadcaster user B live time, spectators
The client of user A generates corresponding sharing request online and share with ground according to the instruction of sharing online received
Location, shares request online and includes that direct broadcasting room identifies;The client of spectators user A sends sharing request online
To direct broadcast server, direct broadcast server is according to sharing direct broadcasting room corresponding to acquisition request direct broadcasting room mark online
Live address;The client of spectators user A, after receiving and sharing address, will be shared address and be sent to live
Server;The live address of this direct broadcasting room is sent to social interaction server device by direct broadcast server;Social interaction server device will
What the live address received was shared to correspondence shares in address, and the good friend user of spectators user A can basis
This direct broadcasting room is checked in live address, thus attracts more good friend user to watch the live of this direct broadcasting room.Wherein,
Share address and may include that wechat circle of friends, microblogging and Tencent QQ space etc..Such as: spectators user A
Being shared the live address of direct broadcasting room in the wechat circle of friends of oneself, the good friend user in wechat circle of friends can
To check this direct broadcasting room according to live address.
During realizing the embodiment of the present invention, inventor finds that prior art at least there is problems in that
Owing to sharing the live address to the only direct broadcasting room sharing address, and the information that live address is corresponding
Relatively redundancy, good friend user needs oneself to search interesting information, therefore said method from the information of redundancy
Attraction good friend user's is inefficient.
Summary of the invention
In order to solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user, embodiments provide a kind of audio frequency and video sharing method and
Device.Concrete technical scheme is as follows:
First aspect, it is provided that a kind of audio frequency and video sharing method, the method includes:
Receive the acquisition request that client sends, obtain and request carries audio frequency and video mark;
Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in audio frequency and video
Information;Object time point for obtaining the time point that carries in request, or, receive when obtaining request time
Between point;
Generate the description information corresponding to audio/video information, return description information to client;
Receive client transmission shares request, shares and carries description information in request and share address;
According to sharing request by description Information Sharing to sharing address.
In a kind of possible implementation, audio frequency and video are designated direct broadcasting room mark;
Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in audio frequency and video
Information, including:
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 represents is playing song in direct broadcasting room, then obtain in direct broadcasting room and put it in the object time
The front audio-frequency information in preset duration.
In a kind of possible implementation, audio frequency and video are designated direct broadcasting room mark;
Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in audio frequency and video
Information, including:
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 represents to be currently not in direct broadcasting room is playing song, then in acquisition direct broadcasting room when target
Between point before preset duration in video information.
In a kind of possible implementation, audio frequency and video are designated ID and/or the title of audio frequency and video, object time
Point is the playing progress rate of audio frequency and video;
Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in audio frequency and video
Information, including:
Obtain in audio frequency and video the audio/video information in the preset duration before playing progress rate.
In a kind of possible implementation, generate the description information corresponding to audio/video information, including:
Generating the chained address corresponding to audio/video information, chained address is for representing the storage of audio/video information
Position.
In a kind of possible implementation, the method also includes:
Reception arranges request;
According to the request of setting, preset duration, the preset duration that storage is arranged are set.
Second aspect, it is provided that a kind of audio frequency and video sharing apparatus, this device includes:
Request receiver module, for receiving the acquisition request that client sends, carries sound in acquisition request and regards
Frequency marking is known;
Data obtaining module, for obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before
Audio/video information in preset duration;Object time point is to obtain the time point carried in request, or, connect
Receive time point when obtaining request;
Information generating module, for generating the description information corresponding to audio/video information, returns description information extremely
Client;
Share receiver module, for receive client send share request, share and request carry description
Information and share address;
Information share module, for according to sharing request by description Information Sharing to sharing address.
In a kind of possible implementation, audio frequency and video are designated direct broadcasting room mark;
Data obtaining module, including:
Request transmitting unit, sends song for the main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark
Bent detection request;
Result receives unit, for receiving the testing result that main broadcaster's client returns;
Audio frequency acquiring unit, in time playing song in testing result represents direct broadcasting room, obtains live
In between the object time put before preset duration in audio-frequency information.
In a kind of possible implementation, audio frequency and video are designated direct broadcasting room mark;
Data obtaining module, including:
Request transmitting unit, sends song for the main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark
Bent detection request;
Result receives unit, for receiving the testing result that main broadcaster's client returns;
Video acquisition unit, for being currently not in testing result represents direct broadcasting room when playing song, obtains
Take in direct broadcasting room the object time put before preset duration in video information.
In a kind of possible implementation, audio frequency and video are designated ID and/or the title of audio frequency and video, object time
Point is the playing progress rate of audio frequency and video;
Data obtaining module, the sound being additionally operable to obtain in audio frequency and video in the preset duration before playing progress rate regards
Frequently information.
In a kind of possible implementation, information generating module, it is additionally operable to generate corresponding to audio/video information
Chained address, chained address is for representing the storage position of audio/video information.
In a kind of possible implementation, this device also includes:
Receiver module is set, request is set for reception;
Duration arranges module, for arranging preset duration, the preset duration that storage is arranged according to the request of setting.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought may include that
The acquisition sent by receiving client is asked;Obtain target in the audio frequency and video corresponding to audio frequency and video mark
The audio/video information in preset duration before time point;Generate the description information corresponding to audio/video information,
Return description information to client;Receive client transmission shares request;According to sharing request, description is believed
Breath is shared to sharing address;Believed by the audio frequency and video in the preset duration before the object time in audio frequency and video is put
Description Information Sharing corresponding to breath is to sharing address;It is only straight for solving owing to sharing to share address
Live address between broadcasting, and information corresponding to live address compares redundancy, good friend user needs the letter from redundancy
In breath, oneself searches interesting information, causes the inefficient problem attracting good friend user;Reach to pass through
Share the description information corresponding to audio/video information in the preset duration before the point of object time in audio frequency and video extremely
Share in address, owing to the audio/video information in preset duration is information interesting in audio frequency and video, can improve
Attract the efficiency of good friend user, strengthen the effect to bringing into property of good friend user.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not
Limit the disclosure.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is according to the enforcement ring involved by a kind of audio frequency and video sharing method shown in exemplary partial embodiment
The schematic diagram in border;
Fig. 2 is the method flow diagram of the audio frequency and video sharing method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the audio frequency and video sharing method that another embodiment of the present invention provides;
Fig. 4 is the illustrative interfaces fig. of the audio frequency and video sharing method that one embodiment of the invention provides;
Fig. 5 is the method flow diagram of the audio frequency and video sharing method that another embodiment of the present invention provides;
Fig. 6 is the block diagram of the audio frequency and video sharing apparatus that one embodiment of the invention provides;
Fig. 7 is the block diagram of the audio frequency and video sharing apparatus that another embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Fig. 1 is according to the enforcement ring involved by a kind of audio frequency and video sharing method shown in exemplary partial embodiment
The schematic diagram in border, as it is shown in figure 1, this implementation environment can include first client the 110, second client
120 and server 130.
The communication class application that first client 110 and the second client 120 can be mounted in different terminals
Program, this communication class application program can be instant messaging program, social class application program or voice communication journey
Sequence.Wherein, terminal can be mobile phone, panel computer, E-book reader, MP3 (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3) player, MP4
(Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio layer
Face 4) player, pocket computer on knee and desk computer etc..
First client 110 is connected by server 130 foundation with the second client 120.First client
Friend relation is there is between the user account number that the user account number of 110 correspondences is corresponding with the second client 120.
The request of sharing of the first client 110 transmission will share retouching in request after server 130 processes
State Information Sharing to sharing in address;Wherein, sharing address can be wechat circle of friends, wechat good friend, QQ
Space, QQ good friend, microblogging client etc..The user that user account number in second client 120 is corresponding is permissible
From sharing the description information checking address that the first client 110 is shared.
Server 130 is the background server of communication class application program.Server 130 can be a service
The server cluster of device, multiple servers composition or cloud computing center.
Fig. 2 is the method flow diagram of the audio frequency and video sharing method that one embodiment of the invention provides.The present embodiment
It is applied to the server 130 shown in Fig. 1 illustrates with this audio frequency and video sharing method.The method includes:
Step 201, receives the acquisition request that client sends, obtains and carry audio frequency and video mark in request.
Step 202, obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in
Audio/video information.
Object time point is to obtain the time point carried in request, or, receive time when obtaining request
Point.
Step 203, generates the description information corresponding to audio/video information, returns description information to client.
Step 204, receive client transmission shares request, shares and carries description information in request and divide
Enjoy address.
Step 205, according to sharing request by description Information Sharing to sharing address.
In sum, the audio frequency and video sharing method that the present embodiment provides, by receiving the acquisition that client sends
Request;Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound regard
Frequently information;Generate the description information corresponding to audio/video information, return description information to client;Receive visitor
What family end sent shares request;According to sharing request by description Information Sharing to sharing address;By sound is regarded
In Pin the object time point before preset duration in the description Information Sharing corresponding to audio/video information to sharing
Address;Solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user;Before having reached by sharing in audio frequency and video the object time and putting
Description information corresponding to audio/video information in preset duration is to sharing in address, due in preset duration
Audio/video information is information interesting in audio frequency and video, can improve the efficiency attracting good friend user, strengthens good
The effect of bringing into the property of friend user.
Fig. 3 is the method flow diagram of the audio frequency and video sharing method that another embodiment of the present invention provides.This enforcement
Example is applied to illustrate in the server 130 shown in Fig. 1 with this audio frequency and video sharing method.The method bag
Include:
Step 301, receives and arranges request.
When user needs to be configured preset duration, user triggers in the client and arranges instruction, client
Holding and generate and corresponding arrange request according to arranging instruction, this arranges and carries scheduled duration in request, and will set
The request of putting is sent to server.Such as: scheduled duration can be 10 seconds, 20 seconds, the duration such as 30 seconds.
Accordingly, what server reception client sent arranges request.
Step 302, arranges preset duration, the preset duration that storage is arranged according to the request of setting.
Server receive client send request is set after, according to the request of setting, preset duration is set,
The preset duration of setting is stored by server.
Optionally, when the preset duration of storage is modified during user needs server, only need to repeat step
Rapid 301 and step 302 can change in server the preset duration of storage.
Step 303, receives the acquisition request that client sends, obtains and carry direct broadcasting room mark in request.
If user uses the live of client viewing direct broadcasting room, the main broadcaster user in user watches direct broadcasting room
When main broadcaster is to Highlights, user triggers in the client and shares instruction, and client generates according to sharing instruction
Corresponding acquisition request, carries direct broadcasting room mark in this acquisition request, the acquisition request that client will generate
Being sent to server, wherein, direct broadcasting room mark can include room number, the title of main broadcaster user, main broadcaster ID
At least one in (Identity, identity) etc..
Optionally, obtaining in request and can also carry time point, this time point is used for indicating server connecing
After receiving acquisition request, the time point carried in request will be obtained as object time point.
Accordingly, server receives the acquisition request that client sends.
Step 304, the main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark sends song detection please
Ask.
Server, after receiving the acquisition request that client sends, reads the direct broadcasting room carried in the request of acquisition
Mark, the main broadcaster's client in the direct broadcasting room corresponding to the direct broadcasting room mark read sends song detection please
Asking, the most whether the detection request of this song is used for the main broadcaster user in main broadcaster's client request detection direct broadcasting room
Playing song;Wherein, main broadcaster user playing song include main broadcaster user giving song recitals and/or
Main broadcaster user is playing the song that other singers sing.
Wherein, the current step the most playing song of the main broadcaster user of detection direct broadcasting room can include following
Two kinds of possible implementations:
The first: the terminal corresponding to main broadcaster's client in direct broadcasting room is previously run and listens song to know bent visitor
Family end, listens song to know bent client and whether detects the main broadcaster user of direct broadcasting room in real time in broadcasting song;Work as client
When termination receives the song detection request that server sends, main broadcaster's client is current by listening song to know bent client
Testing result feed back to server.
The second: after server reading obtains the direct broadcasting room mark carried in request, obtain direct broadcasting room and identify institute
The live information of the corresponding main broadcaster's client in direct broadcasting room, and by listening song to know bent client detection main broadcaster
In the live information of client, main broadcaster user is currently the most playing song.
Step 305, receives the testing result that main broadcaster's client returns.
If the main broadcaster user being detected direct broadcasting room by the terminal that main broadcaster's client is corresponding is currently the most playing song
Song, then fed back to server by main broadcaster's client by listening song to know bent testing result, and accordingly, server connects
Receive the testing result that main broadcaster's client returns, and directly read the testing result received.
If the main broadcaster user being known bent client detection direct broadcasting room by listening song by server currently the most broadcasts
Sing song, then server directly obtains testing result by listening song to know bent client.
Optionally, this testing result comprises two kinds of possible situations, in testing result represents direct broadcasting room just
When playing song, then perform step 306;Broadcasting song it is currently not in testing result represents direct broadcasting room,
Then perform step 307.
Step 306, obtains in direct broadcasting room the audio-frequency information in the preset duration before the object time puts.
When acquisition request carries time point, after server receives this acquisition request, directly read
Obtain the time point carried in request, and the time point read is defined as object time point;And if obtaining
When not carrying time point in request, then server obtains time point when receiving this acquisition request, and will
Receive time point when obtaining request and be defined as this object time point.
The testing result received when server represents is playing song in direct broadcasting room, then server is according to obtaining
The object time point got, obtains in direct broadcasting room the audio-frequency information in the preset duration before the object time puts.
The present embodiment only enters as a example by preset duration is arranged by execution step 301 and step 302 and preserved
Row illustrates, and optionally, preset duration can also be the duration that Server Default sets, the present embodiment
This is not especially limited.
Such as: assuming that object time point is to obtain the time point carried in request, the detection that server receives
Result represents is playing song in direct broadcasting room, preset duration is 30 seconds, then server obtains this time automatically
The song information of the broadcasting of 30 seconds before Dian.
Step 307, obtains in direct broadcasting room the video information in the preset duration before the object time puts.
Wherein, object time point is to obtain the time point carried in request, or, when receiving acquisition request
Time point.
The testing result received when server represents and is currently not broadcasting song in direct broadcasting room, then server is read
Take the time point carried in the request of acquisition, or, read the time point received when obtaining request, reading
After putting to the object time, server obtains in direct broadcasting room the video in the preset duration before the object time puts
Information.Wherein, preset duration is by arranging in step 301 and step 302 and preserving, it is also possible to be
Server sets at random.
Such as: assuming that object time point is to obtain the time point carried in request, the detection that server receives
Result represents and is currently not broadcasting song in direct broadcasting room, and preset duration is 10 seconds, then server obtains this automatically
The video information of main broadcaster's user live broadcast of 10 seconds before time point.
Optionally, the preset duration of server acquisition audio-frequency information is permissible with the preset duration obtaining video information
Identical can also differ, this is not specifically limited by the present embodiment.
Step 308, generates the chained address corresponding to audio/video information, returns to chained address to client.
Chained address is for representing the storage position of audio/video information.
For in step 306, server gets in direct broadcasting room in the preset duration before the object time puts
Audio-frequency information after, generate corresponding chained address for the audio-frequency information that gets, this chained address represents this
Audio-frequency information storage position in the server;And the chained address of generation is fed back to client.
For in step 307, server gets in direct broadcasting room in the preset duration before the object time puts
Video information after, generate corresponding chained address for the video information that gets, this chained address represents this
Video information storage position in the server;And the chained address of generation is fed back to client.
Step 309, receive client transmission shares request, shares and carries chained address in request and divide
Enjoy address.
The chained address of generation is fed back to client by server, when client reception user selects to share address
The instruction triggered, what the instruction acquisition user that client triggers according to user selected shares address;Client root
Generating share request according to the chained address received and the address of sharing that gets, this is shared in request and carries
Having chained address and share address, the request of sharing generated is sent to server by client.Optionally, visitor
The audio/video information that chained address is corresponding, when receiving the chained address of server feedback, can be entered by family end
Row preview.
Accordingly, what server reception client sent shares request.
Step 310, shares chained address to sharing address according to sharing request.
Server receive client send share request after, read share the chain ground connection carried in request
Location with share address, the chained address read is shared to read and shares in address, in order to other visitor
The good friend user of family end checks the audio/video information shared according to chained address.
In a specific example, as shown in Figure 4, main broadcaster in user uses client viewing direct broadcasting room
During user live broadcast, if user watches main broadcaster user excellent live period, live in client of user
Clicking between and share, trigger and share instruction, client receives after sharing instruction, sends to direct broadcast server
Obtaining request, carry direct broadcasting room mark and object time point in this acquisition request, direct broadcast server is according to obtaining
Take the object time point carried in request, obtain in direct broadcasting room the video in 20 seconds before the object time puts
Information, direct broadcast server is that the video information got generates corresponding chained address, and by this chained address
Feed back to client.Meanwhile, after client receives and shares instruction, client can eject and share bullet
Window, this is shared to include in pop-up and different shares address;Client receives user from sharing selection pop-up
The instruction of wechat circle of friends, and jump to wechat client from direct broadcasting room after receiving this instruction, this
Time, client can send to direct broadcast server share request, and this is shared and carries chained address and micro-in request
That believes circle of friends shares address;Chained address corresponding for video information is sent by direct broadcast server with sharing address
To social interaction server device, chained address corresponding for the video information received is shared to sharing with ground by social interaction server device
In the wechat circle of friends of the user that location is corresponding.
It should be noted that the embodiment of the present invention is not especially limited sharing the content carried in request,
The present embodiment only carries chained address be illustrated with sharing address to share in request, optionally,
Share and request can carry audio-frequency information and share address, or, video information with share address, or
Person, video name with share address etc..
It should be noted that step 301 to step 302 and step 304 to step 305 is in the present embodiment
Optional step, is only illustrated to step 310 by execution step 301 in the present embodiment, this
Embodiment can not also perform step 301 to step 302 and step 304 to step 305.
In sum, the audio frequency and video sharing method that the present embodiment provides, by receiving the acquisition that client sends
Request;Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound regard
Frequently information;Generate the description information corresponding to audio/video information, return description information to client;Receive visitor
What family end sent shares request;According to sharing request by description Information Sharing to sharing address;By sound is regarded
In Pin the object time point before preset duration in the description Information Sharing corresponding to audio/video information to sharing
Address;Solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user;Before having reached by sharing in audio frequency and video the object time and putting
Description information corresponding to audio/video information in preset duration is to sharing in address, due in preset duration
Audio/video information is information interesting in audio frequency and video, can improve the efficiency attracting good friend user, strengthens good
The effect of bringing into the property of friend user.
It addition, by the preset duration before the object time in the main broadcaster's user live broadcast in direct broadcasting room is put
Chained address corresponding to audio-frequency information or video information is shared to sharing address, due to the sound in preset duration
Frequently information or video information are information interesting in audio frequency and video, can improve the efficiency attracting good friend user,
Add the spectators' number accessing direct broadcasting room.
It should be noted that the embodiment shown in Fig. 3 only connects at server with step 301 and step 302
It is illustrated before receiving the acquisition request that client sends, optionally, step 301 in the present embodiment
Need to be at the audio frequency letter in the preset duration that server obtained in direct broadcasting room before the object time puts with step 302
Perform before the step of breath.
Based in the embodiment shown in Fig. 3, only by user use client viewing direct broadcasting room live as a example by enter
Row illustrates, and the embodiment of the present invention can be also used for user and uses client to watch the field of non-straight broadcast video
Scape, the concrete step 303 in the embodiment shown in Fig. 3 to step 307 can be replaced and is exemplified as step
Suddenly, as shown in Figure 5.
Step 501, receive client send acquisition request, obtain request in carry audio frequency and video ID and/
Or title.
If user uses client to watch audio frequency and video, when user watches the Highlights of audio frequency and video, user
Triggering in the client and obtain instruction, client generates corresponding acquisition request, this acquisition according to obtaining instruction
Carrying ID and/or the title of audio frequency and video in request, the acquisition of generation is asked to be sent to server by client.
Accordingly, server receives the acquisition request that client sends.
Step 502, obtains in audio frequency and video the audio/video information in the preset duration before playing progress rate.
Server, after receiving the acquisition request that client sends, reads the audio frequency and video carried in the request of acquisition
ID and/or title, according to ID and/or the title of the audio frequency and video read, obtain corresponding audio frequency and video;Clothes
Business device reads the playing progress rate of the audio frequency and video carried in the request of acquisition;Server according to the audio frequency and video got and
The playing progress rate read, obtains in audio frequency and video the audio/video information in the preset duration before playing progress rate.
In a specific example, when user uses client viewing party video, if user watches
When essay excellent in party video is performed, user clicks in the video of client and shares, and triggers and shares finger
Order, client receives after sharing instruction, sends, to server, the request of acquisition, carries in this acquisition request
Party title and playing progress rate, server, according to obtaining the playing progress rate carried in request, obtains party video
In video information in before playing progress rate 30 seconds, server is that the video information got generates correspondence
Chained address, and this chained address is fed back to client.Meanwhile, receive in client and share instruction
Afterwards, can eject and share pop-up in client, this is shared to include in pop-up and different shares address;Client
End receives user from sharing the instruction selecting wechat good friend pop-up, and from party after receiving this instruction
Video clip jumps in wechat client, and user selects the wechat good friend needing to share, now, client
Can send to server and share request, this share request carries chained address and wechat good friend share with ground
Location;Chained address corresponding for the video information received is shared with by server shares user corresponding to address
Wechat good friend.
In sum, the audio frequency and video sharing method that the present embodiment provides, by receiving the acquisition that client sends
Request;Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound regard
Frequently information;Generate the chained address corresponding to audio/video information, return to chained address to client;Receive visitor
What family end sent shares request;According to sharing request, chained address is shared to sharing address;By sound is regarded
In Pin the object time point before preset duration in audio/video information share corresponding chained address to sharing
Address;Solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user;Before having reached by sharing in audio frequency and video the object time and putting
The chained address of the audio/video information in preset duration is to sharing in address, due to the audio frequency and video in preset duration
Information is information interesting in audio frequency and video, can improve the efficiency attracting good friend user, strengthens good friend user
The effect of bringing into property.
Fig. 6 is the block diagram of the audio frequency and video sharing apparatus that one embodiment of the invention provides.These audio frequency and video
Sharing apparatus is in server, and this audio frequency and video sharing apparatus includes:
Request receiver module 610, for receiving the acquisition request that client sends, obtains in request and carries sound
Video labeling.
Data obtaining module 620, for obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before
Preset duration in audio/video information;Object time point is to obtain the time point carried in request, or,
Receive time point when obtaining request.
Information generating module 630, for generating the description information corresponding to audio/video information, returns description information
To client.
Share receiver module 640, for receive client send share request, share request carries and retouch
State information and share address.
Information share module 650, for according to sharing request by description Information Sharing to sharing address.
In sum, the audio frequency and video sharing apparatus that the present embodiment provides, by receiving the acquisition that client sends
Request;Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound regard
Frequently information;Generate the description information corresponding to audio/video information, return description information to client;Receive visitor
What family end sent shares request;According to sharing request by description Information Sharing to sharing address;By sound is regarded
In Pin the object time point before preset duration in the description Information Sharing corresponding to audio/video information to sharing
Address;Solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user;Before having reached by sharing in audio frequency and video the object time and putting
Description information corresponding to audio/video information in preset duration is to sharing in address, due in preset duration
Audio/video information is information interesting in audio frequency and video, can improve the efficiency attracting good friend user, strengthens good
The effect of bringing into the property of friend user.
Fig. 7 is the block diagram of the audio frequency and video sharing apparatus that another embodiment of the present invention provides.This sound regards
Frequently sharing apparatus is in server, and this audio frequency and video sharing apparatus includes:
Receiver module 710 is set, request is set for reception.
Duration arranges module 720, for arranging preset duration, the preset duration that storage is arranged according to the request of setting.
Request receiver module 730, for receiving the acquisition request that client sends, obtains in request and carries sound
Video labeling.
Data obtaining module 740, for obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before
Preset duration in audio/video information;Object time point is to obtain the time point carried in request, or,
Receive time point when obtaining request.
Optionally, audio frequency and video are designated direct broadcasting room mark;Data obtaining module 740, including: request sends single
Unit 741, result receive unit 742 and audio frequency acquiring unit 743.
Request transmitting unit 741, sends for the main broadcaster's client in the direct broadcasting room corresponding to direct broadcasting room mark
Song detection request;
Result receives unit 742, for receiving the testing result that main broadcaster's client returns;
Audio frequency acquiring unit 743, in time playing song in testing result represents direct broadcasting room, obtains straight
In between broadcasting the object time put before preset duration in audio-frequency information.
Optionally, audio frequency and video are designated direct broadcasting room mark;Data obtaining module 740, including: request sends single
Unit 741, result receive unit 742 and video acquisition unit 744.
Video acquisition unit 744, for being currently not when playing song in testing result represents direct broadcasting room,
Obtain in direct broadcasting room the video information in the preset duration before the object time puts.
Optionally, audio frequency and video are designated ID and/or the title of audio frequency and video, and object time point is the broadcasting of audio frequency and video
Progress.
Data obtaining module 740, is additionally operable to obtain in audio frequency and video the sound in the preset duration before playing progress rate
Video information.
Information generating module 750, for generating the description information corresponding to audio/video information, returns description information
To client.
Optionally, information generating module 750, it is additionally operable to generate the chained address corresponding to audio/video information, chain
Ground connection location is for representing the storage position of audio/video information.
Share receiver module 760, for receive client send share request, share request carries and retouch
State information and share address.
Information share module 770, for according to sharing request by description Information Sharing to sharing address.
In sum, the audio frequency and video sharing apparatus that the present embodiment provides, by receiving the acquisition that client sends
Request;Obtain audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound regard
Frequently information;Generate the description information corresponding to audio/video information, return description information to client;Receive visitor
What family end sent shares request;According to sharing request by description Information Sharing to sharing address;By sound is regarded
In Pin the object time point before preset duration in the description Information Sharing corresponding to audio/video information to sharing
Address;Solve owing to sharing the live address to the only direct broadcasting room sharing address, and live address pair
The information answered compares redundancy, and good friend user needs oneself to search interesting information from the information of redundancy, causes
Attract the inefficient problem of good friend user;Before having reached by sharing in audio frequency and video the object time and putting
Description information corresponding to audio/video information in preset duration is to sharing in address, due in preset duration
Audio/video information is information interesting in audio frequency and video, can improve the efficiency attracting good friend user, strengthens good
The effect of bringing into the property of friend user.
It addition, by the preset duration before the object time in the main broadcaster's user live broadcast in direct broadcasting room is put
Description Information Sharing corresponding to audio-frequency information or video information is to sharing address, due to the sound in preset duration
Video information is information interesting in audio frequency and video, improves the efficiency attracting good friend user, adds access straight
Spectators' number between broadcasting.
It should be understood that the device that the audio frequency and video that above-described embodiment provides are shared is when sharing audio frequency and video, only
It is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by above-mentioned
Function distribution is completed by different functional modules, the internal structure of electronic equipment will be divided into different functions
Module, to complete all or part of function described above.It addition, the audio frequency and video that above-described embodiment provides
The embodiment of the method that the device shared is shared with audio frequency and video belongs to same design, and it implements the process side of referring to
Method embodiment, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.
Claims (12)
1. an audio frequency and video sharing method, it is characterised in that described method includes:
Receiving the acquisition request that client sends, described acquisition carries audio frequency and video mark in request;
Obtain described audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in sound
Video information;Point of described object time is the described time point obtaining and carrying in request, or, receive institute
State time point when obtaining request;
Generate the description information corresponding to described audio/video information, return described description information to described client;
Receive described client send share request, described in share request carries described description information with
And share address;
According to described share request by described description Information Sharing to described in share address.
Method the most according to claim 1, it is characterised in that described audio frequency and video are designated direct broadcasting room mark
Know;
Described acquisition described audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in
Audio/video information, including:
Main broadcaster's client in the direct broadcasting room corresponding to described direct broadcasting room mark sends song detection request;
Receive the testing result that described main broadcaster's client returns;
If described testing result represents is playing song in described direct broadcasting room, then obtain in described direct broadcasting room
The audio-frequency information in described preset duration before point of described object time.
Method the most according to claim 1, it is characterised in that described audio frequency and video are designated direct broadcasting room mark
Know;
Described acquisition described audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in
Audio/video information, including:
Main broadcaster's client in the direct broadcasting room corresponding to described direct broadcasting room mark sends song detection request;
Receive the testing result that described main broadcaster's client returns;
If described testing result represents to be currently not in described direct broadcasting room is playing song, then obtain described live
In between the described object time put before described preset duration in video information.
Method the most according to claim 1, it is characterised in that described audio frequency and video are designated described sound and regard
The ID of frequency and/or title, the playing progress rate that point of described object time is described audio frequency and video;
Described acquisition described audio frequency and video mark corresponding to audio frequency and video in the object time point before preset duration in
Audio/video information, including:
Obtain in described audio frequency and video the described audio frequency and video letter in the described preset duration before described playing progress rate
Breath.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that the described sound of described generation regards
Frequently the description information corresponding to information, including:
Generating the chained address corresponding to described audio/video information, described chained address is used for representing that described sound regards
Frequently the storage position of information.
6. according to the arbitrary described method of Claims 1-4, it is characterised in that described method also includes:
Reception arranges request;
Request is set according to described described preset duration is set, the described preset duration that storage is arranged.
7. an audio frequency and video sharing apparatus, it is characterised in that described device includes:
Request receiver module, for receiving the acquisition request that client sends, described acquisition in request carries
Audio frequency and video identify;
Data obtaining module, puts it for obtaining the object time in the audio frequency and video corresponding to described audio frequency and video mark
The front audio/video information in preset duration;Point of described object time is the described time obtaining and carrying in request
Point, or, receive the described time point obtained when asking;
Information generating module, for generating the description information corresponding to described audio/video information, retouches described in return
Information of stating is to described client;
Share receiver module, share request for receive that described client sends, described in share in request and take
With described description information and share address;
Information share module, for according to described in share request by described description Information Sharing to described in share with ground
Location.
Device the most according to claim 7, it is characterised in that described audio frequency and video are designated direct broadcasting room mark
Know;
Described data obtaining module, including:
Request transmitting unit, sends out for the main broadcaster's client in the direct broadcasting room corresponding to described direct broadcasting room mark
Send song detection request;
Result receives unit, for receiving the testing result that described main broadcaster's client returns;
Audio frequency acquiring unit, in time playing song in described testing result represents described direct broadcasting room,
Obtain in described direct broadcasting room the described object time put before described preset duration in audio-frequency information.
Device the most according to claim 7, it is characterised in that described audio frequency and video are designated direct broadcasting room mark
Know;
Described data obtaining module, including:
Described request transmitting unit, for the main broadcaster client in the direct broadcasting room corresponding to described direct broadcasting room mark
End sends song detection request;
Described result receives unit, for receiving the testing result that described main broadcaster's client returns;
Video acquisition unit, is playing song for being currently not in described testing result represents described direct broadcasting room
Qu Shi, obtain in described direct broadcasting room the described object time put before described preset duration in video information.
Device the most according to claim 7, it is characterised in that described audio frequency and video are designated described sound
The ID of video and/or title, point of described object time is the playing progress rate of described audio frequency and video;
Described data obtaining module, be additionally operable to obtain in described audio frequency and video before described playing progress rate described in
Described audio/video information in preset duration.
11. according to the arbitrary described device of claim 7 to 10, it is characterised in that described information generates mould
Block, is additionally operable to generate the chained address corresponding to described audio/video information, and described chained address is used for representing institute
State the storage position of audio/video information.
12. according to the arbitrary described device of claim 7 to 10, it is characterised in that described device also includes:
Receiver module is set, request is set for reception;
Duration arranges module, for arranging request arrange described preset duration according to described, and the institute that storage is arranged
State preset duration.
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 true CN105959207A (en) | 2016-09-21 |
CN105959207B 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) |
Cited By (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 |
CN107018427A (en) * | 2017-05-10 | 2017-08-04 | 广州华多网络科技有限公司 | Live sharing contents processing method and processing device |
CN108449391A (en) * | 2018-02-28 | 2018-08-24 | 武汉斗鱼网络科技有限公司 | A kind of calling method and calling system |
CN109120951A (en) * | 2018-09-30 | 2019-01-01 | 武汉斗鱼网络科技有限公司 | Generation dissemination method, storage medium, electronic equipment and the system of live video |
CN109151594A (en) * | 2018-09-27 | 2019-01-04 | 广州虎牙信息科技有限公司 | Direct playing and playback video broadcasting method, device and electronic equipment |
WO2019051938A1 (en) * | 2017-09-12 | 2019-03-21 | 武汉斗鱼网络科技有限公司 | Live video preservation method and device, and server, anchor terminal and medium |
WO2019084959A1 (en) * | 2017-11-06 | 2019-05-09 | 深圳市大疆创新科技有限公司 | Interaction method and device for mobile terminal and cloud platform of unmanned aerial vehicle |
CN112492339A (en) * | 2020-11-27 | 2021-03-12 | 北京达佳互联信息技术有限公司 | Live broadcast method, device, server, terminal and storage medium |
WO2022028234A1 (en) * | 2020-08-06 | 2022-02-10 | 北京达佳互联信息技术有限公司 | Live broadcast room sharing method and apparatus |
CN114430494A (en) * | 2020-10-29 | 2022-05-03 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103647991A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and system for sharing video in intelligent television |
CN104168503A (en) * | 2014-07-24 | 2014-11-26 | 小米科技有限责任公司 | Video information sharing method and device |
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
CN105045809A (en) * | 2015-06-05 | 2015-11-11 | 广州酷狗计算机科技有限公司 | Trial play method and apparatus for multimedia file |
CN105120304A (en) * | 2015-08-31 | 2015-12-02 | 广州酷狗计算机科技有限公司 | Information display method, device and system |
US20160119633A1 (en) * | 2014-10-22 | 2016-04-28 | Broadcom Corporation | Video encoding for social media |
-
2016
- 2016-05-17 CN CN201610331106.9A patent/CN105959207B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427404A (en) * | 2013-08-20 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Video segment extraction and play methods and devices |
CN104717559A (en) * | 2013-12-13 | 2015-06-17 | 中国电信股份有限公司 | Method, video server and system for sharing online video |
CN103647991A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and system for sharing video in intelligent television |
CN104168503A (en) * | 2014-07-24 | 2014-11-26 | 小米科技有限责任公司 | Video information sharing method and device |
US20160119633A1 (en) * | 2014-10-22 | 2016-04-28 | Broadcom Corporation | Video encoding for social media |
CN105045809A (en) * | 2015-06-05 | 2015-11-11 | 广州酷狗计算机科技有限公司 | Trial play method and apparatus for multimedia file |
CN105120304A (en) * | 2015-08-31 | 2015-12-02 | 广州酷狗计算机科技有限公司 | Information display method, device and system |
Cited By (12)
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 |
CN107018427A (en) * | 2017-05-10 | 2017-08-04 | 广州华多网络科技有限公司 | Live sharing contents processing method and processing device |
WO2019051938A1 (en) * | 2017-09-12 | 2019-03-21 | 武汉斗鱼网络科技有限公司 | Live video preservation method and device, and server, anchor terminal and medium |
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 |
WO2019165683A1 (en) * | 2018-02-28 | 2019-09-06 | 武汉斗鱼网络科技有限公司 | Summoning method and summoning 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 |
WO2022028234A1 (en) * | 2020-08-06 | 2022-02-10 | 北京达佳互联信息技术有限公司 | Live broadcast room sharing method and apparatus |
CN114430494A (en) * | 2020-10-29 | 2022-05-03 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
CN114430494B (en) * | 2020-10-29 | 2024-04-09 | 腾讯科技(深圳)有限公司 | Interface display method, device, equipment and storage medium |
CN112492339A (en) * | 2020-11-27 | 2021-03-12 | 北京达佳互联信息技术有限公司 | Live broadcast method, device, server, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105959207B (en) | 2019-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959207A (en) | Audio and video sharing method and device | |
CN104243517B (en) | Content share method and device between different terminals | |
CN104394126B (en) | Information recommendation method, server, client and system | |
CN102307156B (en) | Method and device for sharing video picture and returning to playing | |
CN103905474B (en) | A kind of information sharing method, terminal, server and system | |
US9686329B2 (en) | Method and apparatus for displaying webcast rooms | |
CN104980809A (en) | Barrage processing method and apparatus | |
WO2014183427A1 (en) | Method and apparatus for displaying webcast rooms | |
CN102185924A (en) | Method and equipment for sharing video screenshot | |
CN103995872B (en) | It is a kind of in the application based on developing scenes discussion with chat method and system | |
TW201222271A (en) | System and method for providing and managing interactive services | |
CN107613242A (en) | Video conference processing method and terminal, server | |
CN102647661B (en) | Method for sending real-time status of terminal and interaction method based on real-time status | |
CN108429918A (en) | The method and apparatus of net cast | |
CN110237536A (en) | Personalized game service providing method and device, electronic equipment and storage medium | |
CN109725797A (en) | Method and device for counting activity entries in chat group, electronic equipment and storage medium | |
CN108600399A (en) | Information-pushing method and Related product | |
CN105553831A (en) | Message delivery method and system | |
CN105577651A (en) | Service providing method and apparatus | |
CN105391563B (en) | Information notice method and device | |
CN106533923A (en) | Information processing method and device based on instant messaging software | |
CN104317898B (en) | A kind of information processing method and server | |
CN106161206A (en) | A kind of user profile display packing, offer method and apparatus | |
CN105991403A (en) | Instant messaging (IM) based multimedia sharing method and apparatus | |
CN106911559B (en) | Method and device for establishing voice connection |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |