CN108322793A - A kind of shared video broadcasting method, device and electronic equipment - Google Patents

A kind of shared video broadcasting method, device and electronic equipment Download PDF

Info

Publication number
CN108322793A
CN108322793A CN201810171778.7A CN201810171778A CN108322793A CN 108322793 A CN108322793 A CN 108322793A CN 201810171778 A CN201810171778 A CN 201810171778A CN 108322793 A CN108322793 A CN 108322793A
Authority
CN
China
Prior art keywords
video
shared
client
played
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810171778.7A
Other languages
Chinese (zh)
Other versions
CN108322793B (en
Inventor
贾兆宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810171778.7A priority Critical patent/CN108322793B/en
Publication of CN108322793A publication Critical patent/CN108322793A/en
Application granted granted Critical
Publication of CN108322793B publication Critical patent/CN108322793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8549Creating video summaries, e.g. movie trailer

Abstract

An embodiment of the present invention provides a kind of shared video broadcasting method, device and electronic equipments, this method can obtain the second identifier information of first identifier information and video being played on that shared video carries respectively first, then by judging whether first identifier information is identical as second identifier information, determine whether video being played on is identical as shared video;In first identifier information and second identifier information difference, then video being played on is different from shared video, and then video being played on can be played in the first broadcast window in the first client, the second broadcast window in the first client, which plays, shares video.So as to realize while being played out to video being played on and shared video, it after user has watched shared video, can continue to watch the video being played on, and then reduce user's viewing and share the operation after video, improve user experience.

Description

A kind of shared video broadcasting method, device and electronic equipment
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of shared video broadcasting method, device and electronic equipment.
Background technology
With the high speed development of the communication technology and universal, many facilities are brought to people’s lives amusement.People can be with Easily carry out Information Sharing, exchange and interdynamic etc. by network communication, for example, user can by a terminal to other The user of terminal shares the music oneself liked, video or word etc..
In order to realize that the good friend of more timeliness is interactive, and video sharing is carried out by way of sharing video frequency chained address It compares, user is more willing to and good friend side while watching identical video, and side carries out interaction related with the video, to promote good friend Between emotion specifically can realize the shared of video by following technology:
Sharing request can be sent to terminal is received via server by sending terminal, sent terminal and received reception terminal After the feedback message that the agreement of transmission is shared, video information, the playback progress information for sharing video, server are sent to server Video information, the playback progress information that video is shared further according to this determine the shared starting point of the shared video, then total from this It enjoys starting point to start, to terminal transmission is received, this shares video, sends terminal to realize and receives terminal while this is played simultaneously Shared video.
However, inventor is in the implementation of the present invention, it is found that at least there are the following problems for the prior art:
When receiving terminal playing video, if the reception terminal receives shared video, general feelings at this time at this time The shared video council is replaced the reception terminal video being played on and is played out under condition so that shares video playing and terminates at this Afterwards, user needs to reopen the video that do not finish watching before receiving in terminal, causes poor user experience.
Invention content
The embodiment of the present invention is designed to provide a kind of shared video broadcasting method, device and electronic equipment, to realize Video being played on and shared video are played out simultaneously, user's viewing is reduced and shares the operation after video, improve user Experience.Specific technical solution is as follows:
In the one side that the present invention is implemented, an embodiment of the present invention provides a kind of shared video broadcasting methods, are applied to First client, this method include:
It receives and shares video, and obtain the first identifier information shared and carried in video;
The second identifier information for obtaining video being played on, judge first identifier information and second identifier information whether phase Together, wherein first broadcast window broadcasting of the video being played in the first client plays out;
In first identifier information and second identifier information difference, the second broadcast window in the first client plays altogether Enjoy video.
Optionally, before receiving shared video, a kind of shared video broadcasting method of the embodiment of the present invention further includes:
The sharing request that server is sent is received, and sends and agrees to shared feedback information to server.
Optionally, the sharing request that server is sent is received, and sends and agrees to shared feedback information to server, packet It includes:
The sharing request that server is sent is received, and sends and enjoys the corresponding video frequency abstract acquisition request of request together;
It receives and video frequency abstract corresponding with sharing request is played with the second broadcast window;
After the agreement shared instruction for getting user's click, the feedback letter for agreeing to share corresponding with sharing request is sent It ceases to server.
Optionally, before receiving shared video, a kind of shared video broadcasting method of the embodiment of the present invention further includes:
Sharing request is sent to server, and receives and agrees to shared feedback information.
Optionally, sharing request being sent to server, and being received before agreeing to shared feedback information, the present invention is implemented Example a kind of shared video broadcasting method, further include:
It sends video frequency abstract and obtains request;
It receives and plays video frequency abstract corresponding with video frequency abstract acquisition request.
Optionally, before the second identifier information for obtaining video being played on, one kind of the embodiment of the present invention is shared Video broadcasting method further includes:
Judge the first client whether playing video;
When the first client does not play video, any broadcast window in the first client, which plays, shares video;
In the first client playing video, the step for the second identifier information for obtaining video being played on is executed Suddenly.
Optionally, the second broadcast window in the first client, which plays, shares video, including:
Video being played on is played by main window of the first broadcast window, is that secondary window plays altogether with the second broadcast window Enjoy video;Or
It is played as main window using the second broadcast window and shares video, be that secondary window plays playing with the first broadcast window Video.
Optionally, after the second broadcast window in the first client plays the shared video, the embodiment of the present invention A kind of shared video broadcasting method further includes:
The first playing progress rate that the second client terminal playing shares video is periodically obtained, and is played with the second broadcast window Second playing progress rate of shared video is compared;
In the first playing progress rate and the second playing progress rate difference, the first playing progress rate and the second playing progress rate are carried out same Step.
At the another aspect of the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of shared video play device, answers For the first client, which includes:
Shared video reception module for receiving shared video, and obtains the first identifier information shared and carried in video;
Contrast module, the second identifier information for obtaining video being played on, judges first identifier information and second Whether identification information is identical, wherein first broadcast window broadcasting of the video being played in the first client plays out;
Playing module is used in first identifier information and second identifier information difference, second in the first client Broadcast window, which plays, shares video.
Optionally, a kind of shared video play device of the embodiment of the present invention further includes:
Sharing request receiving module, the sharing request for receiving server transmission, and send and agree to shared feedback letter It ceases to server.
Optionally, sharing request receiving module, including:
Sharing request receiving submodule, the sharing request for receiving server transmission, and send and enjoy request correspondence together Video frequency abstract obtain request;
Video frequency abstract receiving submodule is plucked for receiving and playing video corresponding with sharing request with the second broadcast window It wants;
Feedback information sending submodule is asked for after the agreement shared instruction for getting user's click, sending with shared Asking corresponding agrees to shared feedback information to server.
Optionally, a kind of shared video play device of the embodiment of the present invention further includes:
Sharing request sending module for sending sharing request to server, and receives and agrees to shared feedback information.
Optionally, a kind of shared video play device of the embodiment of the present invention further includes:
Video frequency abstract obtains request sending module, and request is obtained for sending video frequency abstract;
Video frequency abstract receiving module, for receiving and playing video frequency abstract corresponding with video frequency abstract acquisition request.
Optionally, a kind of shared video play device of the embodiment of the present invention further includes:
Judgment module, for judge the first client whether playing video;
When the first client does not play video, any broadcast window of the instruction playing module in the first client plays Shared video;
In the first client playing video, instruction contrast module obtains the second identifier letter of video being played on Breath.
Optionally, playing module is specifically used for:
Video being played on is played by main window of the first broadcast window, is that secondary window plays altogether with the second broadcast window Enjoy video;Or
It is played as main window using the second broadcast window and shares video, be that secondary window plays playing with the first broadcast window Video.
Optionally, a kind of shared video play device of the embodiment of the present invention further includes:
Playing progress rate acquisition module, for periodically obtain the second client terminal playing share video first play into Degree, and compared with the second playing progress rate of the shared video of the second broadcast window broadcasting;
Synchronization module is used in the first playing progress rate and the second playing progress rate difference, to the first playing progress rate and second Playing progress rate synchronizes.
At the another aspect implemented of the present invention, the embodiment of the present invention additionally provides a kind of electronic equipment, including processor, logical Believe interface, memory and communication bus, wherein processor, communication interface, memory complete mutual lead to by communication bus Letter;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes a kind of any of the above-described shared video playing The step of method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer readable storage medium, counts It is stored with instruction in calculation machine readable storage medium storing program for executing, when run on a computer so that computer executes any of the above-described one The step of kind shared video broadcasting method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction Product, when run on a computer so that computer executes a kind of the step of any of the above-described shared video broadcasting method.
A kind of shared video broadcasting method, device and electronic equipment provided in an embodiment of the present invention can obtain altogether first Enjoy the first identifier information of video carrying, the second identifier information of video being played on, then by judging that first identifier is believed Whether breath is identical as second identifier information, determines whether video being played on is identical as shared video;In first identifier information When with second identifier information difference, then video being played on is different from shared video, and then can be in the first client First broadcast window plays video being played on, and the second broadcast window in the first client, which plays, shares video.To It may be implemented simultaneously to play out video being played on and shared video, after user has watched shared video, Ke Yiji It is continuous to watch the video being played on, reduce user's viewing and share the operation after video, improves user experience.Certainly, real Any product or method for applying the present invention must be not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is that a kind of shared video broadcasting method of the embodiment of the present invention is applied to establish network connection by server Structural schematic diagram in system;
Fig. 2 is a kind of flow chart of shared the first embodiment of video broadcasting method of the embodiment of the present invention;
Fig. 3 is that a kind of shared video broadcasting method of the embodiment of the present invention shows applied to the first interface of the first client It is intended to;
Fig. 4 is that a kind of shared video broadcasting method of the embodiment of the present invention shows applied to second of interface of the first client It is intended to;
Fig. 5 is a kind of flow chart of second of embodiment of shared video broadcasting method of the embodiment of the present invention;
Fig. 6 is a kind of flow chart of shared the third embodiment of video broadcasting method of the embodiment of the present invention;
Fig. 7 is a kind of flow chart of the 4th kind of embodiment of shared video broadcasting method of the embodiment of the present invention;
Fig. 8 is a kind of flow chart of the 5th kind of embodiment of shared video broadcasting method of the embodiment of the present invention;
Fig. 9 is a kind of flow chart of the 6th kind of embodiment of shared video broadcasting method of the embodiment of the present invention;
Figure 10 is a kind of flow chart of the 7th kind of embodiment of shared video broadcasting method of the embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of shared video play device of the embodiment of the present invention;
Figure 12 is the structural schematic diagram of a kind of electronic equipment of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In the prior art, the second client can receive the sharing request of the first client transmission, and receive the first visitor The shared video that family end is sent plays the shared video, still, when the first client playing is another with the second client synchronization When one video, after the shared video for receiving the transmission of the first client, it is being played on another which replaces this Video plays out, and will not be preserved to the playing progress rate of another video being played on, the shared video playing knot The user of Shu Hou, shared recipient need to reopen another video, to increase the behaviour after video is shared in user's viewing Make, causes poor user experience.
Of the existing technology in order to solve the problems, such as, an embodiment of the present invention provides a kind of shared video broadcasting method, dresses It sets and electronic equipment, to realize in the second client after the shared video for receiving the transmission of the second client, the shared video It is played simultaneously with the second client video being played on, reduces user's viewing and share the operation after video, improve user experience.
First, a kind of shared video broadcasting method of the embodiment of the present invention can be applied to establish network company by server In the system connect, for example, as shown in Figure 1, a kind of shared video broadcasting method for the embodiment of the present invention is applied to pass through service Device establishes the structural schematic diagram in the system of network connection;In Fig. 1, it may include server 110, first terminal 120, second Terminal 130, third terminal 140 and communication link 150, wherein the communication link 150 can be the communication between two terminals Link can also be the communication link between terminal and server.
A kind of shared video broadcasting method of the embodiment of the present invention can be applied to first terminal 120, second terminal 130, In any one terminal in third terminal 140, server 110 can send shared regard to any of three above-mentioned terminals Frequently.
For example, it is assumed that first terminal 120 is using a kind of terminal of shared video broadcasting method of the embodiment of the present invention, then First terminal 120 can receive second terminal 130, third terminal 140 and/or server 110 and send in playing video Shared video, then apply a kind of shared video broadcasting method of the embodiment of the present invention to play out shared video, to It may be implemented simultaneously to play out video being played on and shared video, reduce user's viewing and share the operation after video, Improve user experience.
It should be understood that one kind that structural schematic diagram shown in FIG. 1 is intended to be merely illustrative of the present embodiment is shared Video broadcasting method is not used to be defined a kind of shared video broadcasting method of the embodiment of the present invention.
In the following, a kind of shared video broadcasting method to the embodiment of the present invention is introduced, as shown in Fig. 2, for the present invention A kind of flow chart of shared the first embodiment of video broadcasting method of embodiment, this method may include:
S210 is received and is shared video, and obtains the first identifier information shared and carried in video.
Wherein, first identifier information can be the title of the shared video, can also be the video identifier of the shared video Number, which can be the number write in advance, and Arabic numerals and/or English upper and lower case letter can be used to compile It writes.
A kind of shared video broadcasting method of the embodiment of the present invention can be applied to the first client, which can With the application program being mounted on a terminal device, for example, first client can be mounted on first terminal 120 Application program.
Specifically, which can receive the shared video of other clients transmission, can also receive server The shared video sent, the shared video that other client and servers can also be received while being sent, wherein other clients End can be mounted in the application program on other-end, for example, the second client can be mounted in second terminal 130 Application program.
In some instances, which can be at least 1.
For example, it is assumed that the first client is mounted in the application program on first terminal 120, then the first client can connect The shared video that second terminal 130 is sent is received, the shared video of the transmission of third terminal 140 can also be received, clothes can also be received The shared video that business device 110 is sent, can also receive second terminal 130, third terminal 140, server 110 while send simultaneously Shared video.
In some instances, the identification information of shared video can be carried by sharing in video, to facilitate the first client Video is shared to this to be identified, therefore, it is shared can to get this after receiving shared video for the first above-mentioned client The first identifier information of video.
In some instances, above-mentioned first client can be received the shared video in a manner of video flowing and is specifically somebody's turn to do Video flowing is to be sliced the shared video, and cutting is multiple data packets, and the is then sent in the form of multiple data packets One client.Wherein, first identifier information can be carried in each data packet.
S220 obtains the second identifier information of video being played on, judges first identifier information and second identifier information It is whether identical.
Wherein, first broadcast window broadcasting of the video being played in the first client plays out, second identifier Information can be the title of the video being played on, can also be the video identifier number of the video being played on, the video Identification number can be the number write in advance, can be write with Arabic numerals and/or English upper and lower case letter.
Specifically, for the first client of playing video, in order to prevent after receiving shared video, this is shared Video is replaced the video being played on and is played out, and the first above-mentioned client can obtain after receiving shared video The second identifier information of video being played on, and then judge whether first identifier information is identical as second identifier information.
For example, it is assumed that the first client playing video A, is receiving the shared video B from the second client 130 Afterwards, the first identifier information that the shared video B can be obtained with S210 through the above steps, then obtains the second identifier of video A Information, and then whether the first identifier information of the shared video B of judgement and the second identifier information of video A are identical.
By judging whether first identifier information is identical as second identifier information, it may be determined that shared video and playing Video whether be same video, when first identifier information is identical as second identifier information, it can be said that bright shared video with Video being played on is same video, in first identifier information and second identifier information difference, it can be said that bright share regards Frequency is not same video with video being played on, so that the first above-mentioned client is prevented altogether by subsequent step It enjoys video and replaces the video being played on and play out.
S230, in first identifier information and second identifier information difference, the second broadcast window in the first client It plays and shares video.
In some instances, at least two broadcast windows can be set in the first client in advance and generate program, when the When one one video of client terminal playing, a broadcast window can be called to generate one broadcast window of Program Generating, as the first visitor When family end plays two videos, two broadcast windows can be called to generate two broadcast windows of Program Generating.
Specifically, when first identifier information and second identifier information difference, then illustrates video being played on and share Video is different, and the first client can continue to play this to play the broadcast window of the video being played on and being played on regard Frequently, it calls another broadcast window to generate program and separately generates a broadcast window, to play the shared video received.
In some instances, at least two broadcast windows can be pre-set in the first above-mentioned client, in the first visitor When family end plays a video, a broadcast window can be only opened, it, can when second two different videos of client terminal playing It is played simultaneously with opening two broadcast windows.
In some instances, above-mentioned the first broadcast window and the second broadcast window can be set in advance in the first visitor Two broadcast windows in the end of family.The first above-mentioned client judges to first identifier information and second identifier information Afterwards, it and when first identifier information and second identifier information difference, can be broadcast in the first broadcast window in the first client It is put on the video of broadcasting, the second broadcast window in the first client, which plays, shares video.
Specifically, the first above-mentioned client is when determining first identifier information and second identifier information difference, can be with Window being played on plays video being played on, that is, video being played on is played with the first broadcast window, it then can be with The second broadcast window is opened, the video frame of shared video, which is imported the second broadcast window, to be played out.
In some instances, the second broadcast window in the first client, which plays, shares video, may include:
S2301 plays video being played on by main window of the first broadcast window, is secondary window with the second broadcast window It plays and shares video;Or
S2302 is played as main window using the second broadcast window and is shared video, is that secondary window plays just with the first broadcast window In the video of broadcasting.
Wherein, which is the more broadcast window of video frame pixel in the interface of the first client, the pair window For in the interface of the first client, compared to main window, the less broadcast window of video frame pixel.
Specifically, the first above-mentioned client is playing video being played on and when shared video, can give tacit consent to the One broadcast window is that main window plays video being played on, is that video is shared in secondary window broadcasting with the second broadcast window, also may be used Video is shared to give tacit consent to play as main window using the second broadcast window, is that secondary window broadcasting is being played on the first broadcast window Video.
For example, as shown in figure 3, a kind of shared video broadcasting method for the embodiment of the present invention is applied to the first client The first interface schematic diagram;May include main window 300 and secondary window 310 in the Fig. 3, which can play altogether Video is enjoyed, the first client video being played on can also be played, which can play the first client and broadcast The video put can also play shared video.
In some instances, it can be switched between main window and secondary window, the master of video being played on will be played Windows exchange is the secondary window for playing video being played on, and will play the secondary windows exchange for sharing video is to play to share video Main window.
In some instances, the first above-mentioned client can pre-set a broadcast window switching push button, for example, such as Shown in Fig. 3, can also include in the interface:Broadcast window switching push button 320, user can click the windows exchange button 320, User is after clicking the windows exchange button 320, which can receive windows exchange instruction, and then according to the window Mouth switching command switches over main window and secondary window.
In some instances, the sound of the corresponding video of main window could be provided as higher sound, and secondary window is corresponding The sound of video could be provided as lower sound, can also the sound of the corresponding video of secondary window be set as mute.
In some instances, pausing operation can be executed to the corresponding video of secondary window, when the corresponding video of main window is temporary Stopping time can execute play operation, to continue to play the corresponding video of pair window to the corresponding video of secondary window;Work as main window , can be using the pair window as main window after closing, and play operation is executed to the corresponding video of the pair window, in main window Play the corresponding video.
In some instances, the first above-mentioned client can play window with an equal amount of first broadcast window and second Mouth plays out video being played on and shared video.For example, as shown in figure 4, one kind for the embodiment of the present invention is shared Video broadcasting method is applied to second of interface schematic diagram of the first client;May include the first client circle in the Fig. 4 Face 400, the first broadcast window 410 and the second broadcast window 420, the first broadcast window 410 and the second broadcast window 420 are first Size is identical in client end interface.
In some instances, the first above-mentioned client can receive multiple shared videos, then regard multiple share Frequency and video being played on play out, for example, it is assumed that the first client is respectively received the shared of the transmission of second terminal 130 The shared video E that the shared video D and server 110 that video C, third terminal 140 are sent are sent, then can play with first Window plays video A being played on, is then played with the second broadcast window and shares video C, played altogether with third broadcast window Video D is enjoyed, is played with the 4th broadcast window and shares video E.
A kind of shared video broadcasting method through the embodiment of the present invention can obtain shared video carries first first Identification information, the second identifier information of video being played on, then by judging first identifier information and second identifier information It is whether identical, determine whether video being played on is identical as shared video;First identifier information and second identifier information not Meanwhile then video being played on is different from shared video, and then can be played in the first broadcast window in the first client Video being played on, the second broadcast window in the first client, which plays, shares video.So as to realize while to just It is played out in the video of broadcasting and shared video, after user has watched shared video, can continue to watch the playing Video, reduce user's viewing and share the operation after video, and can make can be by watching phase between user jointly Same video promotes the affection exchange between user, improves user experience.
In some instances, the shared video of the embodiment of the present invention can be one section of video in complete video, this is complete Video can be the complete video after being segmented, can be with this when it is one section of video in complete video that this, which shares video, Video segmentation point in complete video after segmentation is played out as starting point is played, i.e. the first frame of the shared video corresponds to Position in complete video frame of time point or first frame.It should be noted that above-mentioned complete video can be using existing There is the segmented mode in technology to be segmented, for example, using face recognition technology, identifies the star in complete video frame, so Afterwards according to there will be the video frame of star to be divided into one section, the video frame of not star is divided into one section, so as to realize to complete Video is segmented.
For example, it is assumed that the total duration of complete video is T, and initial time 0, end time t5, wherein not star The video frame corresponding period is 0-t1, t2-t3, t4-t5, has the video frame of the star corresponding period for t1-t2, t3-t4, Then separation can be added in the corresponding video frame position of t1, t2, t3, t4, which is segmented.
In some instances, which can also be complete video, and shared starting can be carried in the shared video The shared label of point, the first above-mentioned client can get the shared starting point, then after receiving the shared video The shared video is played since shared starting point.The shared starting point can be that shared video sends client for convenience the The starting position of the shared video of one client determination broadcasting, and the mark point being arranged in shared video in advance.
Specifically, this can be shared shared label of video addition by sharing the transmission client of video, for example, shared to this Starting point is shared in video addition, current when which can be the transmissions client terminal playing shared video of shared video Progress.Then the shared video added with shared label is sent to the first client.
In some instances, shared end point can also be carried in the shared video of the embodiment of the present invention, using this When a kind of shared video broadcasting method of inventive embodiments plays shared video, shared starting point and shared end can be only played Video clip between point.So as to realize that the video clip liked of user that sharing request is sent to client plays to the The user of one client, the user of the first client can only watch the piece of video between shared starting point and shared end point Section, user's viewing so as to reduce by the first client share the time of video, save the time of the user of the first client, Improve user experience.
In a kind of optional embodiment of the embodiment of the present invention, a kind of base of shared video broadcasting method shown in Fig. 2 On plinth, the embodiment of the present invention additionally provides a kind of possible realization method, as shown in figure 5, one kind for the embodiment of the present invention is total The flow chart for enjoying second of embodiment of video broadcasting method receives before sharing video, the one of the embodiment of the present invention in S210 Planting shared video broadcasting method can also include:
S240 receives the sharing request that server is sent, and sends and agree to shared feedback information to server;
In some instances, sharing request can be that other clients are sent by server, which can To be the client in addition to the first client for establishing network connection with server.It is sent altogether by server in other clients After enjoying request, the first above-mentioned client can receive the sharing request of server transmission.
For example, the second client in second terminal 130, which can pass through server 110, sends sharing request, because This, the first client on first terminal 120 can receive the second client and be shared by what server 110 was sent Request.
Specifically, buddy list can be preserved in the second client, may include the first client in the buddy list Identification information, which can be the title of the first client, the number of the first client, can also be installation first The title of the first terminal 120 of client.The user of second client can select the first client in the buddy list, and Sharing request is sent to the first client.
After the sharing request that the first above-mentioned client receives server transmission, the first client can pop up one Two buttons of "Yes" and "No" can be arranged in the window of the sharing request, for selection by the user, when in the window of sharing request After the user of one client selects "Yes" button, it can be said that the user of bright first client agrees to share, therefore, the first client End can get user and select corresponding agreement instruction after "Yes" button, and then can be instructed to generate according to the agreement and agreed to altogether The feedback information enjoyed, and it is sent to server.
A kind of shared video broadcasting method through the embodiment of the present invention, the first above-mentioned client can agree to other visitors The sharing request that family end is sent, and the shared video of other clients transmission is received, so that the first client user can be with It is watched simultaneously with other client users and shares video, improve a kind of shared video broadcasting method for applying the embodiment of the present invention User experience.
In a kind of optional embodiment of the embodiment of the present invention, a kind of base of shared video broadcasting method shown in Fig. 5 On plinth, the embodiment of the present invention additionally provides a kind of possible realization method, as shown in fig. 6, one kind for the embodiment of the present invention is total The flow chart for enjoying the third embodiment of video broadcasting method, in the Fig. 6, the step in S240:Receive what server was sent Sharing request, and send and agree to that shared feedback information to server, may include:
S241 receives the sharing request that server is sent, and sends and enjoy the corresponding video frequency abstract acquisition request of request together.
In some instances, in order to enable user knows more about whether the corresponding shared video of the sharing request is that oneself is liked Video, the first above-mentioned client can pre-set video frequency abstract and obtain window, when the first above-mentioned client exists The sharing request of server transmission is received, and after showing user with the window of sharing request, which can be obtained Take window that user, user is showed to can choose whether to obtain video frequency abstract jointly, after user selects to obtain video frequency abstract, on The first client stated can receive the video frequency abstract acquisition instruction of user's selection, and then can be obtained according to the video frequency abstract Instruction generates video frequency abstract acquisition request Concurrency and send to server.
In some instances, video frequency abstract corresponding with the sharing request can be pre-stored in server 110, also may be used It is local to be pre-stored in client establishing network connection with server 110, sending by server 110 sharing request.
Specifically, when video frequency abstract is stored in server 110, the first above-mentioned client sends video frequency abstract and obtains After request, video frequency abstract corresponding with video frequency abstract acquisition request can be searched in server 110.When video frequency abstract preserves With server 110 establish network connection, by server 110 send sharing request client local when, above-mentioned clothes Device 110 be engaged in after receiving the video frequency abstract and obtaining request, video frequency abstract acquisition request can be forwarded to and send shared ask The client asked.
In some instances, it above-mentioned server 110 or sends the client of sharing request and obtains receiving video frequency abstract After taking request, the video frequency abstract that request is obtained with video frequency abstract can be generated in real time.
It should be noted that the prior art may be used in the method for generating video frequency abstract, which is not described herein again.
S242 is received and is played video frequency abstract corresponding with sharing request with the second broadcast window.
In some instances, which can be the set of the higher video frame of excellent degree, can also be video Plot is more compact the set of video frame.
Specifically, in some instances, when video frequency abstract is stored in server 110, which is receiving After the video frequency abstract that first client is sent obtains request, video frequency abstract corresponding with video frequency abstract acquisition request can be sent out It send to the first client, therefore, the first above-mentioned client can receive video frequency abstract corresponding with sharing request, wherein Sharing request, video frequency abstract obtain request and video frequency abstract corresponds.
In some instances, when video frequency abstract be stored in server 110 establish network connection, by server 110 When sending the client local of sharing request, the client of sharing request is sent after receiving video frequency abstract and obtaining request, it can Locally to obtain video frequency abstract corresponding with video frequency abstract acquisition request, and the first client is sent to by server 110 End, therefore, the first client, which can receive, sends the video frequency abstract that the client of sharing request is sent.
After the first above-mentioned client receives the video frequency abstract, it can be played in the second broadcast window of the first client The video frequency abstract.
S243 sends what agreement corresponding with sharing request was shared after the agreement shared instruction for getting user's click Feedback information is to server.
Specifically, for the first above-mentioned client after playing video frequency abstract, user, which can click, agrees to shared button, It can click and disagree shared button, after agreeing to shared button when the user clicks, the first above-mentioned client can obtain The agreement shared instruction that the shared button of the agreement generates is clicked to user, the instruction that then can be shared according to the agreement is raw At the feedback information for agreeing to share, and it is sent to server.
In some instances, above-mentioned server can be sent shared after receiving the shared feedback information of the agreement The feedback information that the agreement is shared can also be forwarded to the client for sending sharing request, hair by video to first client It send the client of sharing request after receiving the shared feedback information of the agreement, shared video can be directly transmitted to the first visitor Family end.
A kind of shared video broadcasting method through the embodiment of the present invention can be made by obtaining and playing video frequency abstract User is obtained before agreeing to sharing request, watches video frequency abstract first, then again by judging whether video frequency abstract is excellent, decision is No agreement, which receives, shares video, so as to improve the embodiment of the present invention a kind of shared video broadcasting method user experience.
In a kind of optional embodiment of the embodiment of the present invention, a kind of base of shared video broadcasting method shown in Fig. 2 On plinth, the embodiment of the present invention additionally provides a kind of possible realization method, as shown in fig. 7, one kind for the embodiment of the present invention is total The flow chart for enjoying the 4th kind of embodiment of video broadcasting method receives before sharing video, the one of the embodiment of the present invention in S210 Planting shared video broadcasting method can also include:
S250 sends sharing request to server, and receives and agree to shared feedback information.
In some instances, the first above-mentioned client can also send sharing request to other clients, to ask altogether Enjoy the shared video of other clients.For example, the first terminal 120 of the first client of installation can pass through server 110 to the Three terminals 140 send sharing request, to ask to share the shared video of third terminal 140.
Specifically, buddy list can be preserved in the first client, may include third terminal 140 in the buddy list The identification information of the third client of upper installation, can also preserve the title of third client video being played on.
The user of first client can select and pass through after the title for seeing third client video being played on Server 110 sends sharing request to third client, to share third client video being played on.Third client can To receive the sharing request of the first client transmission, and the window of a sharing request is popped up, the user of third client can To select "Yes" or "No" in the window of the sharing request, after the user of third client selects "No" button, then may be used The video being played on is shared to illustrate that the user of third client disagrees, then third client can get user's choosing Corresponding refusal instructs after selecting "No" button, and then can be instructed according to the refusal and generate the shared feedback information of refusal, and passes through It crosses server 110 and is sent to the first client.
After the user of third client selects "Yes" button, it can be said that the user of bright third client agrees to share, Therefore, third client can get user select "Yes" button after corresponding agreement shared instruction, and then can generate with The agreement shared instruction is corresponding to agree to shared feedback information, and is sent to the first client by server 110.
A kind of shared video broadcasting method through the embodiment of the present invention, the first above-mentioned client is in addition to that can agree to it The sharing request that his client is sent, and receive outside the shared video that other clients are sent, it can also be sent out to other clients Sharing request is sent, with the shared video of acquisition request other clients transmission, a variety of shared selections is provided to the user, improves application A kind of user experience of shared video broadcasting method of the embodiment of the present invention.
In a kind of optional embodiment of the embodiment of the present invention, a kind of base of shared video broadcasting method shown in Fig. 7 On plinth, the embodiment of the present invention additionally provides a kind of possible realization method, as shown in figure 8, one kind for the embodiment of the present invention is total The flow chart for enjoying the 5th kind of embodiment of video broadcasting method, in the Fig. 8, the step in S250:Send sharing request extremely Server, and receiving before agreeing to shared feedback information, a kind of shared video broadcasting method of the embodiment of the present invention, can be with Including:
S260 sends video frequency abstract and obtains request.
S270 is received and is played video frequency abstract corresponding with video frequency abstract acquisition request.
In some instances, the user of the first client is before the shared video of other clients of active obtaining, can be with Video frequency abstract is obtained and watched first, then may determine whether to obtain shared video.
Specifically, above-mentioned first client can preserve buddy list, and the user of the first client can be in the list One good friend of middle selection, and check the title for the video that the good friend is watching, and then can be to the client corresponding to the good friend End sends video frequency abstract and obtains request.
Specifically, which, which obtains request, to be sent to the client corresponding to the good friend by server, should Client corresponding to good friend can send after receiving the video frequency abstract and obtaining request and obtain request pair with the video frequency abstract The video frequency abstract answered gives the first client.
In some instances, server can check that the video frequency abstract obtains after receiving the video frequency abstract and obtaining request The video name carried in request is taken, then obtain video frequency abstract corresponding with the video name from server local and is sent to First client.
First client can play the video and pluck after receiving video frequency abstract corresponding with video frequency abstract acquisition request It wants.
A kind of shared video broadcasting method through the embodiment of the present invention, user, can before active obtaining shares video To first look at the video frequency abstract of the shared video, then decide whether to obtain the shared video again, so as to carry for user For more selection gists, user experience is improved.
In a kind of optional embodiment of the embodiment of the present invention, a kind of base of shared video broadcasting method shown in Fig. 2 On plinth, the embodiment of the present invention additionally provides a kind of possible realization method, as shown in figure 9, one kind for the embodiment of the present invention is total The flow chart for enjoying the 6th kind of embodiment of video broadcasting method, in S220, obtains the of video being played in the Fig. 9 Before two identification informations, a kind of shared video broadcasting method of the embodiment of the present invention can also include:
S280, judge the first client whether playing video;
S281, when the first client does not play video, any broadcast window in the first client plays shared regard Frequently.
In some instances, the first above-mentioned client is receiving shared video, and carried in the shared video of acquisition , can whether playing video judges to the first client after first identifier information.
Specifically, when the first client playing video, then the first client can execute the decoding to video data Operation, therefore, the decoding operate of video data whether can be carrying out according to the first client is to judge the first client No playing video.
When the first client is not carried out decoding operate, it can be said that bright first client does not play video, it is above-mentioned First client can open any one broadcast window at least two broadcast windows of the first client, and execute to shared The decoding operate of video, and then played in the broadcast window and share video.
When the first client is carrying out decoding operate, it can be said that bright first client playing video, in this regard, A kind of shared video broadcasting method of the embodiment of the present invention additionally provides a kind of possible realization method:
S221 obtains the second identifier information of video being played in the first client playing video.
Specifically, when the first client playing video, in order to determine the need for reopening a broadcasting window Mouth plays out shared video, and the first above-mentioned client can obtain the second identifier information of the video being played on. Then it may determine that whether first identifier information and second identifier information are identical.
When first identifier information and second identifier information difference, can be broadcast in the first broadcast window in the first client It is put on the video of broadcasting, the second window in the first client, which plays, shares video.
By judge the first client whether playing video, the first client can be made to receive shared video Afterwards, it determines the broadcast window for playing the shared video, and then opens and play broadcast window of the shared video and play this and shared regard Frequently, when the first client being avoided not play video, after receiving shared video, multiple broadcast windows are opened.
Since the shared video in a kind of shared video broadcasting method of the embodiment of the present invention is received by network, when When the network speed of shared video transmission client and shared video reception client is inconsistent, shared video hair may result in Send the playing progress rate of client and shared video reception client inconsistent, so that user experience is bad.
In order to reduce the inconsistent influence caused by playing progress rate of network speed, in a kind of optional reality of the embodiment of the present invention It applies in example, on the basis of a kind of shared video broadcasting method shown in Fig. 2, the embodiment of the present invention additionally provides a kind of possible Realization method is as shown in Figure 10 a kind of flow of the 7th kind of embodiment of shared video broadcasting method of the embodiment of the present invention Figure, in the Figure 10, in S230, after the second broadcast window in the first client plays the shared video, the present invention is real A kind of shared video broadcasting method for applying example can also include:
S290 periodically obtains the first playing progress rate that the second client terminal playing shares video, and plays window with second The second playing progress rate that mouth plays shared video is compared;In the first playing progress rate and the second playing progress rate difference, to One playing progress rate and the second playing progress rate synchronize.
Wherein, above-mentioned synchronizing cycle can be configured previously according to experience, for example, 3s will be set as synchronizing cycle, Or be set as 10s etc..
In some instances, a kind of shared video broadcasting method of the embodiment of the present invention play share video when, in order to The playing progress rate of the first client and shared video is set to send the broadcasting carry out of client identical, above-mentioned the first client can be with It periodically obtains and shares the first playing progress rate that video sends the shared video of client terminal playing, is i.e. the second client terminal playing is shared The playing progress rate of video and the first client terminal playing share the second playing progress rate of video, then by the first playing progress rate and the Two playing progress rates are compared.
Specifically, the first above-mentioned client, which can send the first playing progress rate, obtains request to the second client, second Client obtains local broadcasting and shares the playing progress rate of video and be sent to after receiving first playing progress rate and obtaining request First client, therefore, the first client can get the first playing progress rate that the second client terminal playing shares video.
In some instances, above-mentioned playing progress rate can be the position of currently playing video frame in shared video, Can also be position of the currently playing video frame corresponding time point in the overall time of shared video.For example, shared regard The overall time of frequency is 15 minutes, and currently playing video frame corresponding time point is 10 minutes, then playing progress rate is 10 minutes.
The first above-mentioned client can execute corresponding after being compared to the first playing progress rate and the second playing progress rate The step of.
Specifically, in the first playing progress rate and the second playing progress rate difference, the first above-mentioned client can be to first Playing progress rate and the second playing progress rate synchronize.
It in some instances, can be to the second client terminal playing when the first playing progress rate is slower than the second playing progress rate Shared video sends frame-skipping play instruction, which can jump shared video after receiving frame-skipping play instruction It is played out on frame to time point identical with the second playing progress rate.
, can be to the first client executing frame-skipping playback action when the first playing progress rate is faster than the second playing progress rate, it can Will be played out in shared video frame-skipping to time point identical with the first playing progress rate.
In some instances, client executing fast forward action that can also be slower to playing progress rate, so that the first client End is identical with the playing progress rate of the second client.After the first client is identical with the playing progress rate of the second client, Ke Yijie Shu Zhihang fast forward actions.For example, being played out with 1.2 times of broadcasting speed, or played out with 1.5 times of broadcasting speed Deng.
A kind of shared video broadcasting method through the embodiment of the present invention, it is possible to reduce network speed it is inconsistent to play into Caused by degree influence, and then can to avoid playing progress rate it is inconsistent caused by customer impact, improve user experience.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of shared video play device, the device The first client is can be applied to, as shown in figure 11, the structure for a kind of shared video play device of the embodiment of the present invention is shown It is intended to, which may include:
Shared video reception module 1110, for receiving shared video, and obtains the first identifier shared and carried in video Information;
Contrast module 1120, the second identifier information for obtaining video being played on, judge first identifier information with Whether second identifier information is identical, wherein first broadcast window of the video being played in the first client, which plays, to carry out It plays;
Playing module 1130 is used in first identifier information and second identifier information difference, in the first client Second broadcast window, which plays, shares video.
A kind of shared video play device provided in an embodiment of the present invention can obtain shared video carries first first Identification information, the second identifier information of video being played on, then by judging first identifier information and second identifier information It is whether identical, determine whether video being played on is identical as shared video;First identifier information and second identifier information not Meanwhile then video being played on is different from shared video, and then can be played in the first broadcast window in the first client Video being played on, the second broadcast window in the first client, which plays, shares video.So as to realize while to just It is played out in the video of broadcasting and shared video, after user has watched shared video, can continue to watch the playing Video, reduce user viewing share video after operation, improve user experience.
Specifically, a kind of shared video play device of the embodiment of the present invention further includes:
Sharing request receiving module, the sharing request for receiving server transmission, and send and agree to shared feedback letter It ceases to server.
Specifically, sharing request receiving module, including:
Sharing request receiving submodule, the sharing request for receiving server transmission, and send and enjoy request correspondence together Video frequency abstract obtain request;
Video frequency abstract receiving submodule is plucked for receiving and playing video corresponding with sharing request with the second broadcast window It wants;
Feedback information sending submodule is asked for after the agreement shared instruction for getting user's click, sending with shared Asking corresponding agrees to shared feedback information to server.
Specifically, a kind of shared video play device of the embodiment of the present invention further includes:
Sharing request sending module for sending sharing request to server, and receives and agrees to shared feedback information.
Specifically, a kind of shared video play device of the embodiment of the present invention further includes:
Video frequency abstract obtains request sending module, and request is obtained for sending video frequency abstract;
Video frequency abstract receiving module, for receiving and playing video frequency abstract corresponding with video frequency abstract acquisition request.
Specifically, a kind of shared video play device of the embodiment of the present invention further includes:
Judgment module, for judge the first client whether playing video;
When the first client does not play video, any broadcast window of the instruction playing module 1130 in the first client It plays and shares video;
In the first client playing video, instruction contrast module 1120 obtains the second mark of video being played on Know information.
Specifically, playing module 1130 are specifically used for:
Video being played on is played by main window of the first broadcast window, is that secondary window plays altogether with the second broadcast window Enjoy video;Or
It is played as main window using the second broadcast window and shares video, be that secondary window plays playing with the first broadcast window Video.
Specifically, a kind of shared video play device of the embodiment of the present invention further includes:
Playing progress rate acquisition module, for periodically obtain the second client terminal playing share video first play into Degree, and compared with the second playing progress rate of the shared video of the second broadcast window broadcasting;
Synchronization module is used in the first playing progress rate and the second playing progress rate difference, to the first playing progress rate and second Playing progress rate synchronizes.
The embodiment of the present invention additionally provides a kind of electronic equipment, is a kind of electronics of the embodiment of the present invention as shown in figure 12 The structural schematic diagram of equipment, the electronic equipment include processor 1210, communication interface 1220, memory 1230, communication bus 1240 and display 1250, wherein processor 1210, communication interface 1220, memory 1230 and display 1250 pass through communication Bus 1240 completes mutual communication,
Memory 1230, for storing computer program;
Processor 1210 when for executing the program stored on memory 1230, realizes following steps:
Step A is received and is shared video, and obtains the first identifier information shared and carried in video;
Step B obtains the second identifier information of video being played on, judges first identifier information and second identifier information It is whether identical;
Step C, in first identifier information and second identifier information difference, the first broadcast window in the first client Video being played on is played, the second broadcast window in the first client, which plays, shares video.
Display 1250, the first broadcast window in the first client for receiving the transmission of processor 1210 play just In the video of broadcasting, the second broadcast window in the first client plays the information for sharing video, and is regarded to being played on Frequency and shared video are shown.
A kind of electronic equipment provided in an embodiment of the present invention can obtain the first identifier letter that shared video carries first Breath, the second identifier information of video being played on, then by judge first identifier information and second identifier information whether phase Together, determine whether video being played on is identical as shared video;In first identifier information and second identifier information difference, then Video being played on is different from shared video, and then can play playing in the first broadcast window in the first client Video, the second broadcast window in the first client, which plays, shares video.So as to realize while to being played on Video and shared video play out, and after user has watched shared video, can continue to watch the video being played on, subtract Lack user's viewing and shared the operation after video, improves user experience.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment A kind of shared video broadcasting method stated.
A kind of computer readable storage medium provided in an embodiment of the present invention, can obtain that shared video carries first the One identification information, the second identifier information of video being played on, then by judging that first identifier information is believed with second identifier Whether breath is identical, determines whether video being played on is identical as shared video;In first identifier information and second identifier information When different, then video being played on is different from shared video, and then can be broadcast in the first broadcast window in the first client It is put on the video of broadcasting, the second broadcast window in the first client, which plays, shares video.So as to realize while right Video being played on and shared video play out, and after user has watched shared video, can continue to watch this and broadcast The video put reduces user's viewing and shares the operation after video, improves user experience.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer executes any a kind of shared video broadcasting method in above-described embodiment.
A kind of computer program product including instruction provided in an embodiment of the present invention, can obtain shared video and take first The first identifier information of band, the second identifier information of video being played on, then by judging first identifier information and second Whether identification information is identical, determines whether video being played on is identical as shared video;In first identifier information and the second mark When knowing information difference, then video being played on is different from shared video, and then can be played in first in the first client Window plays video being played on, and the second broadcast window in the first client, which plays, shares video.So as to realize Video being played on and shared video are played out simultaneously, after user has watched shared video, can continue viewing should Video being played on reduces user's viewing and shares the operation after video, improves user experience.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (17)

1. a kind of shared video broadcasting method, which is characterized in that it is applied to the first client, the method includes:
It receives and shares video, and obtain the first identifier information carried in the shared video;
The second identifier information for obtaining video being played on judges that the first identifier information is with the second identifier information It is no identical, wherein first broadcast window broadcasting of the video being played in first client plays out;
In the first identifier information and the second identifier information difference, second in first client plays window Mouth plays the shared video.
2. according to the method described in claim 1, it is characterized in that, before video is shared in the reception, the method is also wrapped It includes:
The sharing request that server is sent is received, and sends and agrees to shared feedback information to the server.
3. according to the method described in claim 2, it is characterized in that, the sharing request for receiving server and sending, and sends Shared feedback information is agreed to the server, including:
The sharing request that server is sent is received, and sends video frequency abstract corresponding with the sharing request and obtains request;
It receives and video frequency abstract corresponding with the sharing request is played with second broadcast window;
After the agreement shared instruction for getting user's click, the feedback letter for agreeing to share corresponding with the sharing request is sent It ceases to the server.
4. according to the method described in claim 1, it is characterized in that, before video is shared in the reception, the method is also wrapped It includes:
Sharing request is sent to server, and receives and agrees to shared feedback information.
5. according to the method described in claim 4, it is characterized in that, in the transmission sharing request to the server, and connecing It receives before agreeing to shared feedback information, the method further includes:
It sends video frequency abstract and obtains request;
It receives and plays video frequency abstract corresponding with video frequency abstract acquisition request.
6. according to the method described in claim 1, it is characterized in that, in the second identifier letter for obtaining video being played on Before breath, the method further includes:
Judge first client whether playing video;
When first client does not play video, any broadcast window in first client plays described shared Video;
In the first client playing video, the second identifier information for obtaining video being played on is executed Step.
7. according to claim 1-6 any one of them methods, which is characterized in that it is described in first client second Broadcast window plays the shared video, including:
The video being played on is played by main window of first broadcast window, is secondary window with second broadcast window Mouth plays the shared video;Or
The shared video is played by main window of second broadcast window, is that secondary window plays with first broadcast window The video being played on.
8. according to the method described in claim 1, it is characterized in that, the second broadcast window in first client plays After the shared video, the method further includes:
The first playing progress rate for sharing video described in the second client terminal playing is periodically obtained, and is played with the second broadcast window Second playing progress rate of the shared video is compared;
In first playing progress rate and the second playing progress rate difference, first playing progress rate and described second are broadcast Degree of putting into synchronizes.
9. a kind of shared video play device, which is characterized in that be applied to the first client, described device includes:
Shared video reception module, for receiving shared video, and obtains the first identifier information carried in the shared video;
Contrast module, the second identifier information for obtaining video being played on, judge the first identifier information with it is described Whether second identifier information is identical, wherein first broadcast window of the video being played in first client Broadcasting plays out;
Playing module is used in the first identifier information and the second identifier information difference, in first client In the second broadcast window play the shared video.
10. device according to claim 9, which is characterized in that described device further includes:
Sharing request receiving module, the sharing request for receiving server transmission, and send and agree to shared feedback information extremely The server.
11. device according to claim 10, which is characterized in that the sharing request receiving module, including:
Sharing request receiving submodule, the sharing request for receiving server transmission, and send corresponding with the sharing request Video frequency abstract obtain request;
Video frequency abstract receiving submodule, for receiving and playing regard corresponding with the sharing request with second broadcast window Frequency is made a summary;
Feedback information sending submodule is asked for after the agreement shared instruction for getting user's click, sending with described share Asking corresponding agrees to shared feedback information to the server.
12. device according to claim 9, which is characterized in that described device further includes:
Sharing request sending module for sending sharing request to server, and receives and agrees to shared feedback information.
13. device according to claim 12, which is characterized in that described device further includes:
Video frequency abstract obtains request sending module, and request is obtained for sending video frequency abstract;
Video frequency abstract receiving module, for receiving and playing video frequency abstract corresponding with video frequency abstract acquisition request.
14. device according to claim 9, which is characterized in that described device further includes:
Judgment module, for judge first client whether playing video;
When first client does not play video, any broadcasting of the playing module in first client is indicated Window plays the shared video;
In the first client playing video, indicate that the contrast module obtains the second mark of video being played on Know information.
15. according to claim 9-14 any one of them devices, which is characterized in that the playing module is specifically used for:
The video being played on is played by main window of first broadcast window, is secondary window with second broadcast window Mouth plays the shared video;Or
The shared video is played by main window of second broadcast window, is that secondary window plays with first broadcast window The video being played on.
16. device according to claim 9, which is characterized in that described device further includes:
Playing progress rate acquisition module, for periodically obtain described in the second client terminal playing share video first play into Degree, and the second playing progress rate for playing with the second broadcast window the shared video is compared;
Synchronization module, in first playing progress rate and when the second playing progress rate difference, to described first play into Degree and second playing progress rate synchronize.
17. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and steps of claim 1-8.
CN201810171778.7A 2018-03-01 2018-03-01 Shared video playing method and device and electronic equipment Active CN108322793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810171778.7A CN108322793B (en) 2018-03-01 2018-03-01 Shared video playing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810171778.7A CN108322793B (en) 2018-03-01 2018-03-01 Shared video playing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108322793A true CN108322793A (en) 2018-07-24
CN108322793B CN108322793B (en) 2021-11-05

Family

ID=62900094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810171778.7A Active CN108322793B (en) 2018-03-01 2018-03-01 Shared video playing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108322793B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064806A (en) * 2018-09-26 2018-12-21 北京奇艺世纪科技有限公司 A kind of video system with instructional function, implementation method and electronic equipment
CN115002553A (en) * 2022-04-29 2022-09-02 当趣网络科技(杭州)有限公司 Method and system for chatting while watching based on same movie and television video
WO2023093788A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Message display method and apparatus, and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127880A (en) * 2007-09-13 2008-02-20 深圳市融合视讯科技有限公司 A video information transmission method for video living broadcast programs
WO2014176907A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and device for playing a video and computer-readable storage medium
CN104168503A (en) * 2014-07-24 2014-11-26 小米科技有限责任公司 Video information sharing method and device
CN104602133A (en) * 2014-11-21 2015-05-06 腾讯科技(北京)有限公司 Multimedia file shearing method and terminal as well as server
CN107071502A (en) * 2017-01-24 2017-08-18 百度在线网络技术(北京)有限公司 Video broadcasting method and device
CN107276981A (en) * 2017-05-05 2017-10-20 中广热点云科技有限公司 A kind of local video sharing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127880A (en) * 2007-09-13 2008-02-20 深圳市融合视讯科技有限公司 A video information transmission method for video living broadcast programs
WO2014176907A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and device for playing a video and computer-readable storage medium
CN104168503A (en) * 2014-07-24 2014-11-26 小米科技有限责任公司 Video information sharing method and device
CN104602133A (en) * 2014-11-21 2015-05-06 腾讯科技(北京)有限公司 Multimedia file shearing method and terminal as well as server
CN107071502A (en) * 2017-01-24 2017-08-18 百度在线网络技术(北京)有限公司 Video broadcasting method and device
CN107276981A (en) * 2017-05-05 2017-10-20 中广热点云科技有限公司 A kind of local video sharing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064806A (en) * 2018-09-26 2018-12-21 北京奇艺世纪科技有限公司 A kind of video system with instructional function, implementation method and electronic equipment
WO2023093788A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Message display method and apparatus, and device and storage medium
CN115002553A (en) * 2022-04-29 2022-09-02 当趣网络科技(杭州)有限公司 Method and system for chatting while watching based on same movie and television video

Also Published As

Publication number Publication date
CN108322793B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
US11134312B2 (en) Methods, systems, and media for presenting contextual information in connection with media content
US10326662B2 (en) System and method for managing playback of streaming digital content
US10992999B2 (en) Techniques for seamless media content switching during fixed-duration breaks
US8458260B2 (en) Information processing unit, content providing server, communication relay server, information processing method, content providing method and communication relay method
CN104471914B (en) A kind of method and apparatus of streaming media processing
CN107104883B (en) Information sharing method, client and server in a kind of social networks chain
US10621681B1 (en) Method and device for automatically generating tag from a conversation in a social networking website
US11755303B2 (en) System and method for managing playback of streaming digital content
CN108781300A (en) For method, system and medium based on Network status recommendation
CN104159151A (en) Device and method for intercepting and processing of videos on OTT box
CN108322793A (en) A kind of shared video broadcasting method, device and electronic equipment
CN105141569B (en) Media processing method and equipment
CN107105316A (en) A kind of advertisement broadcast method and device
CN105120305A (en) Method of playing picture in picture video on mobile terminal and system thereof
US11652763B2 (en) Information display method and apparatus, and electronic device
WO2016150273A1 (en) Video playing method, mobile terminal and system
CN106921865A (en) Method for processing video frequency and device
CN109842819A (en) A kind of video playing interactive approach, device, system, user terminal and medium
CN103037244A (en) Method and system for switching network videos among multiple intelligent terminals and intelligent terminals
US20230362115A1 (en) Image display method and apparatus, storage medium, and electronic device
Zhang et al. KaaS: A standard framework proposal on video skimming
WO2018000743A1 (en) Cross-device group chatting method and electronic device
CN108574878A (en) Data interactive method and device
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium
US9332206B2 (en) Frame sharing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant