CN109842819A - A kind of video playing interactive approach, device, system, user terminal and medium - Google Patents

A kind of video playing interactive approach, device, system, user terminal and medium Download PDF

Info

Publication number
CN109842819A
CN109842819A CN201711217783.9A CN201711217783A CN109842819A CN 109842819 A CN109842819 A CN 109842819A CN 201711217783 A CN201711217783 A CN 201711217783A CN 109842819 A CN109842819 A CN 109842819A
Authority
CN
China
Prior art keywords
video
user terminal
window
user
chat
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
CN201711217783.9A
Other languages
Chinese (zh)
Other versions
CN109842819B (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.)
Tencent Cyber Tianjin Co Ltd
Original Assignee
Tencent Cyber Tianjin 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 Tencent Cyber Tianjin Co Ltd filed Critical Tencent Cyber Tianjin Co Ltd
Priority to CN201711217783.9A priority Critical patent/CN109842819B/en
Publication of CN109842819A publication Critical patent/CN109842819A/en
Application granted granted Critical
Publication of CN109842819B publication Critical patent/CN109842819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of video playing interactive approach, device, system, user terminal and media while increasing the interactivity for watching video between user, to reduce user terminals resources consumption not influence user's viewing experience.The video playing interactive approach, comprising: the first user terminal shares invitation message in the video that chat window receives the first user input;Wherein carry video playing link;First user terminal sends the video at least one described second user terminal and shares invitation message;Second user terminal receives the video that the first user terminal is sent by chat window and shares invitation message, and shows that the video shares invitation message in the chat window;Second user terminal receives the selection that second user shares invitation message for video;Second user terminal plays video according to the selection that the video shares invitation message and second user.

Description

A kind of video playing interactive approach, device, system, user terminal and medium
Technical field
The present invention relates to field of video broadcasting technology more particularly to a kind of network video to play interactive approach, device, is System, user terminal and medium.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
Video barrage refers to the comment being directly apparent on video pictures, can be to roll, stop even more movement special efficacys Mode appears on video pictures, is the brief comment watching the human hair of video and sending.
According to existing video barrage technology, user opens barrage switch in video playback window, i.e., it can be seen that viewing should The comment that all users of video deliver in the different play times of the video, the subtitle that all comments are crossed with sliding are aobvious Show;User clicks comment icon in video window, can arouse input frame, inputs the viewpoint to be delivered, and current video is added and broadcasts The barrage for putting time point, slips over video pictures in a manner of sliding subtitle, guarantees that all viewers can notice to increase Interaction between video viewers.
Since video barrage can block video pictures being played on, if the barrage that a certain play time user sends Too much, can serious viewer viewing effect, although viewer may be selected to close barrage, closing barrage just completely cannot be with Other viewers interact.Moreover, existing video barrage be it is any viewing video user can send, viewer that Stranger, the comment that user is delivered all are the thoughts of oneself each other between this, can not respond the comment of other users, oneself hair The other users of the comment of table can not also respond, and can not further thoroughly discuss together, interactive limited.On the other hand, video Barrage can cause great operation pressure, the especially paroxysmal a large amount of barrages of particular point in time more to the computer CPU of viewer It is obvious.
Therefore, how user's viewing experience is not being influenced, while increasing the interactivity for watching video between user, Reducing user terminals resources consumption becomes one of the technical problems that are urgent to solve in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of video playing interactive approach, device, system, user terminal and medium, to User's viewing experience is not influenced, while increasing the interactivity for watching video between user, reduces user terminals resources consumption.
In a first aspect, providing a kind of video playing interactive approach, comprising:
First user terminal shares invitation message in the video that chat window receives the first user input;The video is shared Video playing link is carried in invitation message, the video shares at least one that invitation message is used to invite addition current chat A second user terminal watches video;
First user terminal sends the video at least one described second user terminal and shares invitation message;
Second user terminal receives the video that the first user terminal is sent by chat window and shares invitation message, and in institute It states chat window and shows that the video shares invitation message;
Second user terminal receives the selection that second user shares invitation message for video;
Second user terminal plays video according to the selection that the video shares invitation message and second user.
Optionally, the first user terminal chat window receive the first user input video share invitation message after, Further include:
First user terminal is shown video playback window as the chat background of the chat window;
First user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, second user terminal plays video according to the selection that the video shares message request and second user, It specifically includes:
If the second user agrees to shared video, described in video playback window is used as by the second user terminal The chat background of chat window is shown;
The second user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, the video playback window is initialized in accordance with the following methods:
Determine the ordinate of the bottom position information for the title bar that the chat window includes;
Determine that the ordinate is the ordinate of the video playback window top position;
The size of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height;And
According to the size of the ordinate for the top position determined and the video playback window, determine that the video is broadcast Put the ordinate of bottom of window position;
Video playing is initialized according to the ordinate of the ordinate of the video playback window top position and bottom position Window.
Optionally, the second user terminal starts being linked in the video playback window according to the video playing Before broadcasting video, further includes:
The second user terminal obtains the play time that first user terminal plays video;And
The second user terminal is linked according to the video playing, is obtained in the video since the play time Appearance starts to play video in the video playback window.
Optionally, the video playing interactive approach, further includes:
Any user terminal sends chat messages or receive in video display process to other users terminal comes from it The chat messages of his user terminal receive video playing control instruction;
Any user terminal shows that the chat messages received or any user are defeated in chat messages window The chat messages that enter instruct control video playing according to the video playing.
Second aspect provides a kind of video playing interaction systems, including the first user terminal and at least one second user Terminal, in which:
First user terminal, the video for receiving the first user input in chat window share invitation message;Institute It states and carries video playing link in the shared invitation message of video, the video shares invitation message for inviting addition is current to chat It at least one second user terminal watches video;And the video is sent at least one described second user terminal and is total to Enjoy invitation message;
The second user terminal disappears for receiving shared invite of video that the first user terminal is sent by chat window Breath, and show that the video shares invitation message in the chat window;It receives second user and shares invitation message for video Selection;And video is played according to the selection that the video shares invitation message and second user.
Optionally, first user terminal is also used to share in the video that chat window receives the first user input and invite It please be shown video playback window as the chat background of the chat window after message;According to the video playing Link obtains corresponding video content and starts to play video in the video playback window.
Optionally, the second user terminal, if being specifically used for the second user agrees to shared video, by video Broadcast window is shown as the chat background of the chat window;Corresponding video is obtained according to video playing link Content simultaneously starts to play video in the video playback window.
Optionally, first user terminal or the second user terminal are specifically used for determining the chat window The ordinate of the bottom position information for the title bar for including;Determine that the ordinate is the video playback window top position Ordinate;The size of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height;And According to the size of the ordinate for the top position determined and the video playback window, the video playback window bottom is determined The ordinate of portion position;It is initialized and is regarded according to the ordinate of the ordinate of the video playback window top position and bottom position Frequency broadcast window.
Optionally, the second user terminal is also used to be linked at the video playing window according to the video playing Before starting to play video in mouthful, the play time that first user terminal plays video is obtained;And according to the view Frequency broadcasting link obtains and plays view since the video content the play time is in the video playback window Frequently.
Optionally, first user terminal or the second user terminal, be also used in video display process to Other users terminal sends chat messages or receives the chat messages from other users terminal or receive video playing control System instruction;And the chat messages or root of the chat messages received or any user input are shown in chat messages window Control video playing is instructed according to the video playing.
The third aspect provides a kind of user terminal, comprising:
First receiving unit, the video for receiving user's input in chat window share invitation message;The video is total It enjoys and carries video playing link in invitation message, the video shares invitation message and current chat is added at least for inviting One other users terminal watches video;
Transmission unit shares invitation message for sending the video at least one other user terminal;
Second receiving unit, the video for receiving the transmission of other users terminal share invitation message, and in the chat Window shows that the video shares invitation message;
Third receiving unit, for receiving user for the selection of the shared invitation message of video;
Video playback unit, the selection for sharing invitation message and user according to the video play video.
Optionally, the video playback unit is also used to receive first in chat window in first receiving unit and use After the video of family input shares invitation message, shown video playback window as the chat background of the chat window Show;Corresponding video content is obtained according to video playing link and starts to play video in the video playback window;Or If person user agrees to shared video, shown video playback window as the chat background of the chat window;Root Corresponding video content is obtained according to video playing link and starts to play video in the video playback window.
Optionally, the video playback unit, specifically for the bottom position for the title bar that the determination chat window includes The ordinate of confidence breath;Determine that the ordinate is the ordinate of the video playback window top position;According to chat window Width and preset broadcast window the ratio of width to height determine the size of the video playback window;And according to the top position determined Ordinate and the video playback window size, determine the ordinate of the video playback window bottom position;According to The ordinate of the video playback window top position and the ordinate of bottom position initialize video playback window.
Optionally, the user terminal, further includes:
Acquiring unit, for being linked at the video playing window according to the video playing in the video playback unit Before starting to play video in mouthful, the play time of the other users terminal plays video is obtained;And according to the view Frequency broadcasting link obtains and plays view since the video content the play time is in the video playback window Frequently.
Optionally, the user terminal, further includes:
Interactive unit comes from it for sending chat messages to other users terminal in video display process or receiving The chat messages of his user terminal receive video playing control instruction;
Response unit, for showing the chat of the chat messages received or any user input in chat messages window Message instructs control video playing according to the video playing.
Fourth aspect provides a kind of video playing interactive approach that first user terminal is implemented, comprising:
First user terminal receives user and shares invitation message by the video that chat window inputs, and the video is shared to invite Video playing link please be carried in message, the video shares invitation message and is used to invite at least one that current chat is added Second user terminal watches video jointly;
First user terminal sends the video at least one described second user terminal and shares invitation message.
Optionally, the first user terminal chat window receive the first user input video share invitation message after, Further include:
First user terminal is shown video playback window as the chat background of the chat window;
First user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, first user terminal initializes the video playback window in accordance with the following methods, specifically includes:
First user terminal determines the ordinate of the bottom position information for the title bar that the chat window includes;
First user terminal determines that the ordinate is the ordinate of the video playback window top position;
First user terminal determines that the video is broadcast according to chat window width and preset broadcast window the ratio of width to height Put the size of window;And
According to the size of the ordinate for the top position determined and the video playback window, determine that the video is broadcast Put the ordinate of bottom of window position;
First user terminal is according to the ordinate of the video playback window top position and the vertical seat of bottom position Mark initialization video playback window.
Optionally, the video playing interactive approach that the first user terminal provided in an embodiment of the present invention is implemented, further includes:
First user terminal receive and show the second user terminal start play video after send i.e. When message;Or
First user terminal is starting to play the rear to second user terminal transmission instant message of video;Or
First user terminal receives video playing control instruction, and the video playing instruction includes that text control refers to It enables, phonetic control command and gesture control instruction;And control video playing is instructed according to the video playing.
5th aspect provides a kind of video playing interactive approach that second user terminal is implemented, comprising:
Second user terminal receives the video that the first user terminal is sent by chat window and shares invitation message, the view Frequency, which is shared, carries video playing link in invitation message;
The second user terminal shows that the video shares invitation message in the chat window;And
The second user terminal plays video according to the selection that the video shares invitation message and user.
Optionally, the second user terminal plays video according to the selection that the video shares invitation message and user, It specifically includes:
If the user agrees to shared video, the second user terminal is using video playback window as the chat The chat background of window is shown;
The second user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, in the second user terminal according to the corresponding video content of video playing link acquisition and in institute State video playback window start play video before, further includes:
The second user terminal obtains the play time that first user terminal plays video;And
The second user terminal is linked according to the video playing, is obtained in the video since the play time Hold and starts to play video in the video playback window.
Optionally, the video playing interactive approach that second user terminal provided in an embodiment of the present invention is implemented, further includes:
The second user terminal receives and shows the chat messages that the first user terminal is sent;Or
Starting to play the rear to first user terminal transmission instant message of video;Or
Receive video playing control instruction, video playing instruction includes text control instruction, phonetic control command and Gesture control instruction;And control video playing is instructed according to the video playing.
6th aspect provides a kind of video playing interactive device that first user terminal is implemented, comprising:
Receiving unit shares invitation message by the video that chat window inputs for receiving user, and the video is shared Video playing link is carried in invitation message, the video shares at least one that invitation message is used to invite addition current chat A other users terminal watches video jointly;
Transmission unit shares invitation message for sending the video at least one other user terminal.
Optionally, the video playing interactive device that the first user terminal is implemented, further includes:
Video playback unit, the video for receiving the first user input in chat window in first receiving unit are total After enjoying invitation message, shown video playback window as the chat background of the chat window;According to the video Broadcasting link obtains corresponding video content and starts to play video in the video playback window.
Optionally, the video playback unit, comprising:
First determining module, the ordinate of the bottom position information for determining title bar that the chat window includes;
Second determining module, for determining that the ordinate is the ordinate of the video playback window top position;
Third determining module, for determining that the video is broadcast according to chat window width and preset broadcast window the ratio of width to height Put the size of window;
4th determining module, for according to the big of the ordinate of top position and the video playback window determined It is small, determine the ordinate of the video playback window bottom position;
Initialization module, for according to the ordinate of the video playback window top position and the ordinate of bottom position Initialize video playback window.
Optionally, the video playing interactive device that the first user terminal provided in an embodiment of the present invention is implemented, further includes:
Interactive unit, for for sending chat messages or receiving to other users terminal in video display process From the chat messages or reception video playing control instruction of other users terminal;
Response unit, for showing what the chat messages received or any user inputted in chat messages window Chat messages instruct control video playing according to the video playing.
7th aspect provides a kind of video playing interactive device that second user terminal is implemented, comprising:
Receiving unit shares invitation message for receiving the video that other users terminal is sent by chat window, described Video, which is shared, carries video playing link in invitation message;
Display unit, for showing that the video shares invitation message in the chat window;
Video playback unit, the selection for sharing invitation message and user according to the video play video.
Optionally, the video playback unit, if being specifically used for the user agrees to shared video, by video playing Window is shown as the chat background of the chat window;Corresponding video content is obtained according to video playing link And start to play video in the video playback window.
Optionally, the video playing interactive device that second user terminal is implemented, further includes:
Acquiring unit, for being obtained in corresponding video according to video playing link in the video playback unit Hold and the video playback window start play video before, obtain the play time of the other users terminal plays video Point;It is linked according to the video playing, obtains the video content since the play time and in the video playing window Start to play video in mouthful.
Optionally, the video playing interactive device that second user terminal is implemented, further includes:
Interactive unit, for for sending chat messages or receiving to other users terminal in video display process From the chat messages or reception video playing control instruction of other users terminal;
Response unit, for showing what the chat messages received or any user inputted in chat messages window Chat messages instruct control video playing according to the video playing.
The embodiment of the invention provides a kind of computing devices, including at least one processing unit and at least one storage Unit, wherein the storage unit is stored with computer program, when described program is executed by the processing unit, so that institute It states processing unit and executes step described in any of the above-described method.
The embodiment of the invention provides a kind of computer-readable medium, it is stored with the computer that can be executed by computing device Program, when described program is run on the computing device, so that the step of computing device executes either method described above.
In video playing interactive approach provided in an embodiment of the present invention, device, system, user terminal and medium, first User terminal, by chat window send video share invitation message, using video playback window as the background of chat window into Row display, and share the video playing link carried in invitation message according to video and obtained in corresponding video from video server Appearance starts to play in video playback window, since chat messages window and video playback window are independent of one another, in this way, between user Message can be mutually sent out without influencing video playing, on the other hand, since chat window is usually user by chat messages window The contact person that the group or discussion group of addition or user actively select, it typically is user's instant communication contacts, thus The video of realization is shared only to share comment between user and a small amount of good friend, when both increasing video-see can be interactive, It has been avoided that again in the paroxysmal multitude of video comment information masking video playing of particular point in time, has increased user terminal CPU money The problem of source expense.
In second user terminal, after receiving video by chat window and sharing invitation message, if user selects Video is played, then is shown video playback window as the background of chat window, and shared in invitation message according to video The video playing of carrying, which is linked, requests corresponding video content to video playing server and plays in video playback window, with the One user terminal is similar, due to independently of one another, chatting in this way, passing through between user between chat messages window and video playback window Its message window can mutually send out message without influencing video playing, on the other hand, since chat window is usually what user was added The contact person that group or discussion group or user actively select, it typically is user's instant communication contacts, are achieved in Video is shared only to share comment between user and a small amount of good friend, when not only increasing video-see can be interactive, but also can keep away Exempt to increase user terminal cpu resource expense in the paroxysmal multitude of video comment information masking video playing of particular point in time The problem of.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is the application scenarios schematic diagram of video playing interactive approach provided in an embodiment of the present invention;
Fig. 1 b is in the embodiment of the present invention, and the chat window that the first user terminal sends before video shares invitation message shows It is intended to;
Fig. 2 is in the embodiment of the present invention, and the first user terminal implements the implementation process diagram of video playing interactive approach;
Fig. 3 is the structural schematic diagram of chat window in the embodiment of the present invention;
Fig. 4 is in the embodiment of the present invention, and the first user terminal starts to play the chat window schematic diagram after video;
Fig. 5 is in the embodiment of the present invention, and the first user terminal instant communication client obtains corresponding from video server The flow diagram that video content plays out;
Fig. 6 is in the embodiment of the present invention, and the first user terminal instant communication client initializes the stream of video playback window Journey schematic diagram;
Fig. 7 is the schematic diagram under screen mode toggle in the embodiment of the present invention;
Fig. 8 is to draw the operation signal that full frame state is exited in fork execution using gesture under screen mode toggle in the embodiment of the present invention Figure;
Fig. 9 is to switch to the structural schematic diagram of chat window after screen mode toggle in the embodiment of the present invention;
Figure 10 is in the embodiment of the present invention, and second user terminal implements the flow diagram of video playing interactive approach;
Figure 11 be the embodiment of the present invention in, second user terminal receive video share invitation message after chat window show It is intended to;
Figure 12 is in the embodiment of the present invention, and second user terminal instant communication client obtains corresponding from video server The flow diagram that video content plays out;
Figure 13 is in the embodiment of the present invention, and the first user terminal instant communication client initializes the stream of video playback window Journey schematic diagram;
Figure 14 a is the implementation process diagram according to the video playing interactive approach of mode of the embodiment of the present invention;
Figure 14 b is the interaction flow schematic diagram between the first user terminal and second user terminal in the embodiment of the present invention;
Figure 15 is the structural schematic diagram for the video playing interactive device that the first user terminal is implemented in the embodiment of the present invention;
Figure 16 is the structural schematic diagram for the video playing interactive device that second user terminal is implemented in the embodiment of the present invention;
Figure 17 is the structural schematic diagram of video playing interaction systems in the embodiment of the present invention;
Figure 18 is the structural schematic diagram of user terminal in the embodiment of the present invention;
Figure 19 is the structural schematic diagram for implementing the computing device of video playing interactive approach in the embodiment of the present invention.
Specific embodiment
In order to improve the interactivity in video display process between user, a large amount of low quality video comment masking videos are reduced Picture reduces user terminals resources consumption, and the embodiment of the invention provides a kind of video playing interactive approach, device, systems, use Family terminal and medium.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair The feature in embodiment and embodiment in bright can be combined with each other.
It is the application scenarios schematic diagram of the embodiment of the present invention referring initially to Fig. 1 a.User 10 passes through the first user terminal The instant communication client access message server 31 installed in 11, user 20 are instant by installing in second user terminal 21 Communication customer end access message server 31, in this way, between user 10 and user 20 by message server 31 can establish it is logical Letter connection.
User 10 and user 20 obtain respective user identifier after can registering by register flow path to message server 31, After being added to contact person each other, user 10 and user 20 can mutually send out message by chat window.Moreover, user 10 can be with After being added the group that oneself or other users are established perhaps discussion group or group being added in discussion group, user 10 can be in group Message is sent in the chat window of group or discussion group.It should be noted that for ease of description, leading in the embodiment of the present invention It crosses user 10 and user 20 distinguishes and sends end subscriber and reception end subscriber, wherein user 10 indicates to send end subscriber, 20 table of user Show reception end subscriber.Correspondingly, for ease of description, in the embodiment of the present invention, sending end user terminal is referred to as the first user end End, receiving end user terminal is referred to as second user terminal.
The process that user 10 sends message to user 20 is as follows: user 10 passes through instant communication client to message server 31 send the message for being sent to user 20, wherein the user identifier of user 10 and user 20 are carried, message server 31 It is sent in user terminal 21 according to the user terminal 21 that the identifier lookup user 20 of user 20 currently logs in, and by message to be sent The instant communication client of installation is presented to the user 20 by instant communication client.Wherein, user 10 passes through instant messaging client The chat window that end provides inputs message to be sent, and user 20 is received by the chat window that instant communication client provides and used The message that family 10 is sent.
The message flow that user 10 sends in the group or discussion group of addition is as follows: user 10 passes through instant messaging visitor Family end sends message to be sent to message server 31, wherein user 10 and group identification are carried, message server 31 According to group identification, the user identifier that the group includes is searched, according to the terminal iidentification of each user identifier currently logged on user terminal The instant communication client installed into corresponding terminal is presented to corresponding group user by instant communication client.Wherein, it uses Family 10 inputs message to be sent by the chat window that instant communication client provides, and group user passes through instant messaging client The chat window that end provides receives the message that user 10 sends.
In the embodiment of the present invention, in order to realize that video resource is shared, instant communication client is required to access video clothes Business device 32, video server 32 provide access interface, and instant communication client can pass through the interface and access video server 32. Meanwhile video server 32 provides the playlist of accessible video resource to instant communication client, user 10 is needing Selection group or sole user such as scheme into chat window when perhaps sole user shares certain video resource with group user Shown in 1b, user clicks "+" icon, selects " seeing together " to enter video resource and selects the page, the selection of user 10 wishes shared Video is clicked and is initiated.At this moment, triggering instant communication client sends the shared invitation message of video to other group users.
Wherein, pass through network between user terminal 11 and user terminal 21 and message server 31 and video server 32 It is communicatively coupled, which can be local area network, wide area network etc..User terminal 11 can for portable equipment (such as: mobile phone, Plate, laptop etc.), or PC (PC, Personal Computer).
Below with reference to the application scenarios of Fig. 1 a, illustrative embodiments according to the present invention are described with reference to Fig. 2-Figure 14 b Video playing sharing method.It should be noted that above-mentioned application scenarios are merely for convenience of understanding spirit and principles of the present invention And show, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can be applied to fit Any scene.
As shown in Fig. 2, it is the video playing interactive approach that the first user terminal provided in an embodiment of the present invention is implemented Implementation process diagram may comprise steps of:
S21, the first user terminal receive user and share invitation message by the video that chat window inputs.
Wherein, the video, which is shared, carries video playing link in invitation message, the video is shared invitation message and used Video is watched jointly at least one second user terminal that current chat is added in invitation.
In this step, user 10 when it is desirable that watching video together with any user in group user or contact person, Group chatting window or the chat window with a certain user can be opened, as shown in Figure 1 b, clicks "+" icon, selection is " together See " enter the video resource selection page, user 10 selects the video resource for wishing to watch together from video resource list.
S22, the first user terminal send the video at least one described second user terminal and share invitation message.
When it is implemented, the first user terminal chat window receive the first user input video share invitation message it Afterwards, can using the following steps are included: the first user terminal by video playback window as the chat window chat background into Row display.
After the video resource that user has selected to wish shared, instant communication client replaces the chat back of chat window Scape is video playback window, wherein video playback window is located under chat messages window, in this way, user 10 is in chat messages The message that window sends or receives may be displayed on video playback window.As shown in figure 3, it is chat messages window Positional diagram between video playback window, if user in video display process, arouses typewriting input keyboard, Then typewriting input keyboard is located on messaging chat layer.Later, the first user terminal is linked according to the video playing from video Server obtains corresponding video content and starts to play video in the video playback window.It should be noted that chat messages Window and video playback window can be layer or child window different in chat window.
In this step, the first user terminal end links from video playing server according to video playing and obtains corresponding video Content starts to play video in video playback window.When it is implemented, on the chat window of the first user terminal, video playing Window can top set on chat window, in video playback window top set moment, by the chat messages of chat messages window (if If having) it is moved under the ordinate of video playback window bottom.It is folded by the video structural information of selection video resource A line is shown in chat messages window, and the content of display includes video title and broadcast state.
As shown in figure 4, it starts the chat window schematic diagram after broadcasting video for the first user terminal.On chat window Portion is title bar 41, and lower part is comment box 42, and centre includes chat messages window 44 and video playback window 45, wherein chat The region that message window 44 and video playback window 45 include is overlapping.It is navigation bar in the left side of chat window.
When it is implemented, the first user terminal can take according to process shown in fig. 5 from video according to video playing link Business device obtains corresponding video content and plays out:
S51, initialization video playback window.
S52, corresponding video content is obtained in the video playing from video server according to video playing link Start to play video in window.
Wherein, in step S51, the first user terminal can initialize video playback window according to process shown in fig. 6:
S61, determine the title bar that the chat window includes bottom position information ordinate.
In this step, instant communication client can be determined according to the display height for the title bar for including in chat window The ordinate of title bar bottom position information.
S62, determine that the ordinate is the ordinate of the video playback window top position.
In this step, instant client is using the ordinate of title bar bottom position as video playback window top position Ordinate carries out video playback window initialization.
S63, the size that the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height.
When it is implemented, chat window width is to show that screen width subtracts the width of navigation bar.It is broadcast further according to preset The height of video playback window can be determined by putting window the ratio of width to height, just obtain the size of video playback window in this way, in general, broadcasting Putting window the ratio of width to height can be set to 16:9, in specific implementation can be configured according to actual needs, the embodiment of the present invention In to this without limit.
The ordinate for the top position that S64, basis are determined and the size of the video playback window, determine the view The ordinate of frequency broadcast window bottom position.
In this step, according to the height of the ordinate for the top position determined in step S62 and video playback window, It can determine the ordinate of video playing serial ports bottom position.
S65, video is initialized according to the ordinate of the video playback window top position and the ordinate of bottom position Broadcast window.
So far, the broadcasting of shared video is completed in the first user terminal chat window.
In video display process, user can receive the chat messages or use of group user or peer user transmission Family can also input chat messages by chat messages window, for example, each user in group can be defeated in chat messages window Enter the comment message of oneself viewing video, or reply the comment that other users deliver, interacts, use with the other users in group Family is sent or received chat messages pass through chat messages window and show.
Based on this, video playing interactive approach provided in an embodiment of the present invention can be the following steps are included: described in reception The chat messages or the user that chatting object sends after starting broadcasting video are chatted by what chat messages window inputted Its message;The chat messages of the chat messages received or user input are shown in the chat messages window.
When it is implemented, user can also be by various control instructions come video playing when controlling in video display process. Wherein, which may include text control instruction, for example, user can be instructed by transmission " full frame " message, will set The video playback window on top further spreads out as screen mode toggle, as shown in fig. 7, it is the schematic diagram under screen mode toggle.The control Instruction can also include phonetic control command, for example, user is by Mike's input " full frame " phonetic control command, then it equally can be with The video playback window of top set is further spread out as screen mode toggle, which can also instruct for gesture control, for example, User executes two fingers in chat window and can equally be identified from gathering to the operation that two sides are opened by instant communication client For full frame control instruction, execute the operation video playback window of top set further spread out as screen mode toggle.In full frame state Under, video playback window fully supports entire display screen, while reservation message chat layer, and it is new that user still can see other users The message of transmission, sound size follow hardware controls.If user needs to input comment message or the other users of response send Message, then can be used voice control input message or exit full frame state arouse keyboard for typewriting input word message.
When it is implemented, text control instruction, phonetic control command and gesture control instruction can be defined in advance, with So that instant communication client identifies the control instruction of user's input in video display process, and according to pre-defining the control Corresponding operation is instructed to execute.For example, text control instruction and phonetic control command " exiting full frame " can be defined with execute by The video playback window (Fig. 7) of screen mode toggle reverts to top set state (Fig. 4), is defined under screen mode toggle to draw to pitch using gesture and hold The video playback window for being about to screen mode toggle reverts to top set state, as shown in Figure 8.After exiting screen mode toggle, video is still So continuously played in chat window.
When it is implemented, instructing for gesture operation, need to increase gesture response region layer, gesture response in chat window Area level is located on chat messages window, to detect the gesture operation of user, as shown in Figure 9.
It should be noted that in the embodiment of the present invention, due to being played for video is shared, when it is implemented, user (including hair Sending end user and reception end subscriber) video playing progress cannot be controlled by any instruction, instant communication client add in user When entering that screen is shared to be played, video is played since the current video play time of shared video, for example, sending end subscriber hair After sending video to share invitation message, group user 1 receives invitation message click and starts to play video, then instant communication client The play time for sending end subscriber and playing the video can be obtained from screen server, and since the play time of acquisition Think that group user 1 plays video.In this manner it is ensured that the time synchronization of video is watched between each user jointly, between each user Can discuss interaction according to the video content of broadcasting.
Correspondingly, the embodiment of the invention also provides the video playing interactive approaches that a kind of second user terminal is implemented, such as Shown in Figure 10, second user terminal can be according to flow implementation video playing interactive approach shown in Fig. 10:
S101, second user terminal receive the video that the first user terminal is sent by chat window and share invitation message, The video, which is shared, carries video playing link in invitation message.
When it is implemented, second user terminal receives the shared invitation of video that the first user terminal is sent by chat window Message.
S102, show that video shares invitation message in second user terminal chat window.
As shown in figure 11, the chat window schematic diagram after video shares invitation message is received for second user terminal, If the first user terminal user, which sends, chat messages, the chat messages window in chat window can show the first use together The chat messages that family terminal user sends.
S103, second user terminal play video according to the selection that the video shares invitation message and user.
It in this step, is invited if the user determine that receiving, agrees to shared video, is i.e. user agrees to use with the first user terminal Video is watched at family together, then clicks video and start to play, and triggering second user terminal is using the chat background of chat window as view Frequency broadcast window is shown.Second user terminal start play video after, the structure of the second family terminal chat window with The structure of first user terminal chat window is identical, and the chat window schematic diagram of second user terminal can refer to Fig. 3, here not It repeats again.
When it is implemented, if the user agrees to shared video, the second user terminal will regard in step S103 Frequency broadcast window is shown as the chat background of the chat window;The second user terminal is according to the video playing Link obtains corresponding video content since video server and plays video the video playback window.
Specifically, second user terminal links from video playing server according to video playing and obtains corresponding video content Start to play video in video playback window.When it is implemented, on the chat window of second user terminal, video playback window Can top set on chat window, in video playback window top set moment, by the chat messages of chat messages window (if there is Words) it is moved under the ordinate of video playback window bottom.
Preferably, facilitating addition video to guarantee that second user terminal plays the synchronous of video with the first user terminal Video content is discussed between shared user, before executing step S104, second user terminal can also be obtained from video server The first user terminal is taken to play the play time of video, in this way, second user terminal can be according to described in step S104 Video playing link obtains the video content since the play time in the video playback window from video server In start play video.Thereby it is ensured that the first user terminal is with second user terminal plays video synchronous.
Similar with the first user terminal, in step S104, second user terminal can be according to according to video playing link Process shown in Figure 12 obtains corresponding video content from video server and plays out:
S121, initialization video playback window.
S122, corresponding video content is obtained in the video playing from video server according to video playing link Start to play video in window.
Wherein, in step S121, second user terminal can initialize video playing window according to process shown in Figure 13 Mouthful:
S131, determine the title bar that the chat window includes bottom position information ordinate.
In this step, instant communication client can be determined according to the display height for the title bar for including in chat window The ordinate of title bar bottom position information.
S132, determine that the ordinate is the ordinate of the video playback window top position.
In this step, instant client is using the ordinate of title bar bottom position as video playback window top position Ordinate carries out video playback window initialization.
S133, the big of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height It is small.
When it is implemented, chat window width is to show that screen width subtracts the width of navigation bar.It is broadcast further according to preset The height of video playback window can be determined by putting window the ratio of width to height, just obtain the size of video playback window in this way, in general, broadcasting Putting window the ratio of width to height can be set to 16:9, in specific implementation can be configured according to actual needs, the embodiment of the present invention In to this without limit.
S134, according to the size of the ordinate of top position and the video playback window determined, determine described in The ordinate of video playback window bottom position.
In this step, according to the height of the ordinate for the top position determined in step S62 and video playback window, It can determine the ordinate of video playing serial ports bottom position.
S135, video is initialized according to the ordinate of the video playback window top position and the ordinate of bottom position Broadcast window.
So far, the broadcasting of shared video is completed in the first user terminal chat window.
In video display process, user can receive the chat messages or use of group user or peer user transmission Family can also input chat messages by chat messages window, for example, each user in group can be defeated in chat messages window Enter the comment message of oneself viewing video, or reply the comment that other users deliver, interacts, use with the other users in group Family is sent or received chat messages pass through chat messages window and show.
Based on this, video playing interactive approach provided in an embodiment of the present invention can be the following steps are included: receive first The chat messages that the chat messages or user that user terminal is sent are inputted by chat messages window;In the chat messages window The chat messages of chat messages or user input that mouth display receives.
When it is implemented, user can also be by various control instructions come video playing when controlling in video display process. Wherein, which may include text control instruction, for example, user can be instructed by transmission " full frame " message, will set The video playback window on top further spreads out as screen mode toggle, as shown in fig. 7, it is the schematic diagram under screen mode toggle.The control Instruction can also include phonetic control command, for example, user is by Mike's input " full frame " phonetic control command, then it equally can be with The video playback window of top set is further spread out as screen mode toggle, which can also instruct for gesture control, for example, User executes two fingers in chat window and can equally be identified from gathering to the operation that two sides are opened by instant communication client For full frame control instruction, executes and the video playback window of top set is further spread out into the operation for screen mode toggle, when it is implemented, Text control instruction, phonetic control command and gesture control instruction can be defined in advance, so that second user terminal exists The control instruction of user's input is identified in video display process, and is executed according to the corresponding operation of the control instruction is pre-defined. For example, text control instruction and phonetic control command " exiting full frame " can be defined to execute the video playing window of screen mode toggle Mouth (Fig. 7) reverts to top set state (Fig. 4), is defined under screen mode toggle to draw to pitch to execute using gesture and broadcasts the video of screen mode toggle Putting window restoration is top set state, as shown in Figure 8.
When it is implemented, instructing for gesture operation, need to increase gesture response region layer, gesture response in chat window Area level is located on chat messages window, to detect the gesture operation of user, as shown in Figure 9.
Correspondingly, as shown in figures 14a, show for the implementing procedure of video playing interactive approach provided in an embodiment of the present invention It is intended to, may comprise steps of:
S1401, the first user terminal share invitation message in the video that chat window receives the first user input.
Wherein, the video, which is shared, carries video playing link in invitation message, the video is shared invitation message and used In at least one the second user terminal viewing video for inviting addition current chat;
S1402, the first user terminal send the video at least one described second user terminal and share invitation message.
S1403, second user terminal receive the video that the first user terminal is sent by chat window and share invitation message, And show that the video shares invitation message in the chat window.
S1404, second user terminal receive the selection that second user shares invitation message for video.
S1405, second user terminal play video according to the selection that the video shares invitation message and second user.
Optionally, the first user terminal chat window receive the first user input video share invitation message after, Further include:
First user terminal is shown video playback window as the chat background of the chat window;
First user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, second user terminal plays video according to the selection that the video shares message request and second user, It specifically includes:
If the second user agrees to shared video, described in video playback window is used as by the second user terminal The chat background of chat window is shown;
The second user terminal obtains corresponding video content according to video playing link and broadcasts in the video Window is put to start to play video.
Optionally, the video playback window is initialized in accordance with the following methods:
Determine the ordinate of the bottom position information for the title bar that the chat window includes;
Determine that the ordinate is the ordinate of the video playback window top position;
The size of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height;And
According to the size of the ordinate for the top position determined and the video playback window, determine that the video is broadcast Put the ordinate of bottom of window position;
Video playing is initialized according to the ordinate of the ordinate of the video playback window top position and bottom position Window.
Optionally, the second user terminal starts being linked in the video playback window according to the video playing Before broadcasting video, further includes:
The second user terminal obtains the play time that first user terminal plays video;And
The second user terminal is linked according to the video playing, is obtained in the video since the play time Appearance starts to play video in the video playback window.
Optionally, the video playing interactive approach, further includes:
Any user terminal sends chat messages or receive in video display process to other users terminal comes from it The chat messages of his user terminal receive video playing control instruction;
Any user terminal shows the chat messages received or any use in the chat messages window The chat messages of family input instruct control video playing according to the video playing.
Embodiment for a better understanding of the present invention, below in conjunction with the friendship between the first user terminal and second user terminal Mutual process is illustrated the specific implementation process of the embodiment of the present invention, for ease of description, is with the first user terminal below First user terminal, second user terminal is is illustrated for second user terminal, for the ease of distinguishing, the embodiment of the present invention The instant communication client installed in middle first user terminal is referred to as the first instant communication client, is installed in second user terminal Instant communication client be the second instant communication client may comprise steps of as shown in fig. 14b:
The first instant communication client installed in S141, the first user terminal receives what user was inputted by chat window Video shares invitation message.
Wherein, the video, which is shared, carries video playing link in invitation message.In this step, it is desirable that being used with group Any user of the family perhaps in contact person can open group chatting window or chat with a certain user when watching video together Skylight opening clicks "+" icon as shown in Figure 1 b, selects " seeing together " to enter video resource and selects the page, user 10 provides from video The video resource watched together is wished in selection in the list of source.
S142, the first instant communication client show the chat background of chat window as video playback window.
Wherein, video playback window is located under chat messages window.
S143, the first instant communication client, which are linked according to video playing from video server, obtains corresponding video content Start to play video in the video playback window.
S144, the first instant communication client send the shared invitation of the video at least one described second user terminal Message.
In this step, the first instant communication client receive user submission video share invitation message after, to Message server sends video and shares invitation message, wherein carrying group identification or sole user's mark, message server The user identifier for including in relevant groups is searched according to group identification, and determines that relative users are worked as according to the user identifier found The user terminal identification of preceding login is installed into corresponding second user terminal respectively according to the user terminal identification found Second instant communication client sends video and shares invitation message.
Equally, if user invites sole user to share video, message server directly disappears according to shared invite of video The user identifier carried in breath searches the user terminal identification that relative users currently log in, according to the user terminal identification found The second instant messaging installed into corresponding second user terminal sends video and shares invitation message.
It should be noted that when it is implemented, not having between step S142, step S143 and step S141 certain successive Sequence is executed, step S144 can be executed prior to step S142 and step S143, can also be with step S142 and step S143 simultaneously It executes.
The second instant communication client installed in S145, second user terminal receives the first user end by chat window The video that end is sent shares invitation message.
S146, the second instant communication client show that video shares invitation message in chat window.
S147, the second instant communication client the chatting the chat window when receiving the instruction for starting to play video Its background is shown as video playback window.
When S148, the second instant communication client obtain the broadcasting of the first instant client terminal playing video from video server Between point.
S149, the second instant communication client are linked according to the video playing, are obtained from video server from described and are broadcast The video content that time point starts is put to start to play video in the video playback window.
In video playing interactive approach provided in an embodiment of the present invention, in the first user terminal, pass through chatting for chat window Its message window sends video and shares invitation message, the background of chat window is shown as video playback window, and root The video playing link carried in invitation message is shared according to video to broadcast from the corresponding video content of video server acquisition in video Window is put to start to play, since chat messages window is located on video playback window, between the two independently of one another, in this way, with Message can mutually be sent out without influencing video playing, on the other hand, since chat window is usual by chat messages window between family The contact person that the group or discussion group that are added for user or user actively select, it typically is user's instant messaging connections People, the video being achieved in is shared only to share comment between user and a small amount of good friend, when both increasing video-see can Interactivity, and be avoided that in the paroxysmal multitude of video comment information masking video playing of particular point in time, it is whole to increase user The problem of holding cpu resource expense.
In second user terminal, after receiving video by chat window and sharing invitation message, if user selects Video is played, then is shown the background of chat window as video playback window, and shared in invitation message according to video The video playing of carrying, which is linked to video playing server, requests corresponding video content to play in video playback window, with first User terminal is similar, since chat messages window is located on video playback window, between the two independently of one another, in this way, user Between by chat messages window can mutually send out message without influence video playing, on the other hand, since chat window is usually The contact person of group that user is added or discussion group or user actively selection, it typically is user's instant communication contacts, The video being achieved in is shared only to share comment, interacting when both increasing video-see between user and a small amount of good friend Property, and be avoided that in the paroxysmal multitude of video comment information masking video playing of particular point in time, increase user terminal CPU The problem of resource overhead.
Based on the same inventive concept, the first user terminal of one kind and second user are also each provided in the embodiment of the present invention The video playing sharing means that terminal is implemented, the principle solved the problems, such as due to above-mentioned apparatus and above-mentioned first user terminal and second The video broadcasting method that user terminal is implemented is similar, therefore the implementation of above-mentioned apparatus may refer to the implementation of method, repeats place It repeats no more.
As shown in figure 15, the video playing sharing means implemented for the first user terminal provided in an embodiment of the present invention Structural schematic diagram may include:
Receiving unit 151 shares invitation message by the video that chat window inputs for receiving user, and the video is total It enjoys and carries video playing link in invitation message, the video shares invitation message and current chat is added at least for inviting One other users terminal watches video jointly;
Transmission unit 152 shares invitation message for sending the video at least one other user terminal.
Optionally, the video playing interactive device that the first user terminal is implemented, further includes:
Video playback unit, the video for receiving the first user input in chat window in first receiving unit are total After enjoying invitation message, shown video playback window as the chat background of the chat window;According to the video Broadcasting link obtains corresponding video content and starts to play video in the video playback window.
Optionally, the video playback unit, comprising:
First determining module, the ordinate of the bottom position information for determining title bar that the chat window includes;
Second determining module, for determining that the ordinate is the ordinate of the video playback window top position;
Third determining module, for determining that the video is broadcast according to chat window width and preset broadcast window the ratio of width to height Put the size of window;
4th determining module, for according to the big of the ordinate of top position and the video playback window determined It is small, determine the ordinate of the video playback window bottom position;
Initialization module, for according to the ordinate of the video playback window top position and the ordinate of bottom position Initialize video playback window.
Optionally, the video playing interactive device that the first user terminal provided in an embodiment of the present invention is implemented, further includes:
Interactive unit, for for sending chat messages or receiving to other users terminal in video display process From the chat messages or reception video playing control instruction of other users terminal;
Response unit, for showing that the chat messages received or any user are defeated in the chat messages window The chat messages that enter instruct control video playing according to the video playing.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the present invention.
As shown in figure 16, the video playing interactive device implemented for second user terminal provided in an embodiment of the present invention Structural schematic diagram may include:
Receiving unit 161 shares invitation message, institute for receiving the video that other users terminal is sent by chat window It states in the shared invitation message of video and carries video playing link;
Display unit 162, for showing that the video shares invitation message in the chat window;
Video playback unit 163, the selection for sharing invitation message and user according to the video play video.
Optionally, the video playback unit, if being specifically used for the user agrees to shared video, by video playing Window is shown as the chat background of the chat window;Corresponding video content is obtained according to video playing link And start to play video in the video playback window.
Optionally, the video playing interactive device that second user terminal is implemented, further includes:
Acquiring unit, for being obtained in corresponding video according to video playing link in the video playback unit Hold and the video playback window start play video before, obtain the play time of the other users terminal plays video Point;It is linked according to the video playing, obtains the video content since the play time and in the video playing window Start to play video in mouthful.
Optionally, the video playing interactive device that second user terminal is implemented, further includes:
Interactive unit, for for sending chat messages or receiving to other users terminal in video display process From the chat messages or reception video playing control instruction of other users terminal;
Response unit, for showing that the chat messages received or any user are defeated in the chat messages window The chat messages that enter instruct control video playing according to the video playing.
It as shown in figure 17, is the structural schematic diagram of video playing interaction systems provided in an embodiment of the present invention, including the One user terminal 171 and at least one second user terminal 172, in which:
First user terminal 171, the video for receiving the first user input in chat window share invitation message; The video, which is shared, carries video playing link in invitation message, the shared invitation message of the video is added current for invitation At least one second user terminal 172 of chat watches video;And institute is sent at least one described second user terminal 172 It states video and shares invitation message;
The second user terminal 172, it is shared for receiving the video that the first user terminal 171 is sent by chat window Invitation message, and show that the video shares invitation message in the chat window;Second user is received to invite for video is shared Please message selection;And video is played according to the selection that the video shares invitation message and second user.
Optionally, first user terminal 171, the video for being also used to receive the first user input in chat window are shared After invitation message, the first user terminal 171 is shown video playback window as the chat background of the chat window; First user terminal 171 is according to the corresponding video content of video playing link acquisition and in the video playback window Start to play video.
Optionally, the second user terminal 172, if being specifically used for the second user agrees to shared video, institute Second user terminal 172 is stated to show video playback window as the chat background of the chat window;Described second uses Family terminal 172 obtains corresponding video content according to video playing link and starts to play view in the video playback window Frequently.
Optionally, first user terminal 171 or the second user terminal 172 are specifically used for determining described chat The ordinate of the bottom position information for the title bar that skylight opening includes;Determine that the ordinate is at the top of the video playback window The ordinate of position;The big of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height It is small;And according to the ordinate for the top position determined and the size of the video playback window, determine that the video is broadcast Put the ordinate of bottom of window position;According to the ordinate of the ordinate of the video playback window top position and bottom position Initialize video playback window.
Optionally, the second user terminal 172 is also used to be linked at the video playing according to the video playing Before starting to play video in window, the play time that first user terminal 171 plays video is obtained;And according to institute Video playing link is stated, acquisition is played since the video content the play time is in the video playback window Video.
Optionally, first user terminal 171 or the second user terminal 172, are also used in video playing mistake Cheng Zhongxiang other users terminal sends chat messages or receives the chat messages from other users terminal or receive video Play control instruction;And show what the chat messages received or any user inputted in the chat messages window Chat messages instruct control video playing according to the video playing.
It as shown in figure 18, is the structural schematic diagram of user terminal provided in an embodiment of the present invention, comprising:
First receiving unit 181, the video for receiving user's input in chat window share invitation message;The video Video playing link is carried in shared invitation message, the video shares invitation message and current chat is added extremely for inviting A few other users terminal watches video;
Transmission unit 182 shares invitation message for sending the video at least one other user terminal;
Second receiving unit 183, the video for receiving the transmission of other users terminal shares invitation message, and chats described Skylight opening shows that the video shares invitation message;
Third receiving unit 184, for receiving user for the selection of the shared invitation message of video;
Video playback unit 185, the selection for sharing invitation message and user according to the video play video.
Optionally, the video playback unit 185 is also used to receive first in chat window in first receiving unit After the video of user's input shares invitation message, shown video playback window as the chat background of the chat window Show;Corresponding video content is obtained according to video playing link and starts to play video in the video playback window;Or If person user agrees to shared video, shown video playback window as the chat background of the chat window;Root Corresponding video content is obtained according to video playing link and starts to play video in the video playback window.
Optionally, the video playback unit 185, specifically for the bottom for the title bar that the determination chat window includes The ordinate of location information;Determine that the ordinate is the ordinate of the video playback window top position;According to chat window Mouth width degree and preset broadcast window the ratio of width to height determine the size of the video playback window;And according to the top position determined The size of the ordinate and the video playback window set determines the ordinate of the video playback window bottom position;Root Video playback window is initialized according to the ordinate of the video playback window top position and the ordinate of bottom position.
Optionally, the user terminal, further includes:
Acquiring unit, for broadcasting in the video playback unit 185 being linked at the video according to the video playing It puts before starting to play video in window, obtains the play time of the other users terminal plays video;And according to institute Video playing link is stated, acquisition is played since the video content the play time is in the video playback window Video.
Optionally, the user terminal, further includes:
Interactive unit comes from it for sending chat messages to other users terminal in video display process or receiving The chat messages of his user terminal receive video playing control instruction;
Response unit, for showing that the chat messages received or any user are defeated in the chat messages window The chat messages that enter instruct control video playing according to the video playing.
After the video playing interactive approach and device for describing exemplary embodiment of the invention, next, introducing The computing device of another exemplary embodiment according to the present invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, it is single can to include at least at least one processing for computing device according to the present invention Member and at least one storage unit.Wherein, the storage unit is stored with program code, when said program code is described When processing unit executes, so that the processing unit executes the exemplary implementations various according to the present invention of this specification foregoing description Step in the video playing sharing method of mode.For example, the processing unit can execute step S21 as shown in Figure 2, First user terminal receives user and shares invitation message and step S22, the first user terminal by the video that chat window inputs The video, which is sent, at least one described second user terminal shares invitation message.Alternatively, the processing unit can execute Step S101 as shown in Figure 10, second user terminal receive that video that the first user terminal is sent is shared to invite by chat window Please message, the video share invitation message in carries video playing link, step S102, in second user terminal chat window Mouthful display video shares invitation message, and step S103, second user terminal shares invitation message and user according to the video Selection plays video.
The computing device 190 of this embodiment according to the present invention is described referring to Figure 19.The meter that Figure 19 is shown Calculating device 190 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 19, computing device 190 is showed in the form of universal computing device.The component of computing device 190 can be with Including but not limited to: at least one above-mentioned processing unit 191, at least one above-mentioned storage unit 192, the different system components of connection The bus 193 of (including storage unit 192 and processing unit 191).
Bus 193 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 192 may include the readable medium of form of volatile memory, such as random access memory (RAM) 1921 and/or cache memory 1922, it can further include read-only memory (ROM) 1923.
Storage unit 192 can also include program/utility with one group of (at least one) program module 1924 1925, such program module 1924 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Computing device 190 can also be communicated with one or more external equipments 194 (such as keyboard, sensing equipment etc.), also Can be enabled a user to one or more equipment interacted with computing device 190 communication, and/or with make the computing device The 190 any equipment (such as router, modem etc.) that can be communicated with one or more of the other calculating equipment are led to Letter.This communication can be carried out by input/output (I/O) interface 195.Also, computing device 190 can also be suitable by network Orchestration 196 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as because of spy Net) communication.As shown, network adapter 196 is communicated by bus 193 with other modules for computing device 190.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with computing device 190, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
In some possible embodiments, the various aspects of video playing sharing method provided by the invention can also be real It is now a kind of form of program product comprising program code, it is described when described program product is run on a computing device The exemplary embodiment party various according to the present invention that program code is used to that the computer equipment to be made to execute this specification foregoing description Step in the video playing sharing method of formula, for example, the computer equipment can execute step S21 as shown in Figure 2, First user terminal receives user and shares invitation message and step S22, the first user terminal by the video that chat window inputs The video, which is sent, at least one described second user terminal shares invitation message.Alternatively, the processing unit can execute Step S101 as shown in Figure 10, second user terminal receive that video that the first user terminal is sent is shared to invite by chat window Please message, the video share invitation message in carries video playing link, step S102, in second user terminal chat window Mouthful display video shares invitation message, and step S103, second user terminal shares invitation message and user according to the video Selection plays video.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product of embodiments of the present invention shared for video playing can be read-only using portable compact disc Memory (CD-ROM) and including program code, and can run on the computing device.However, program product of the invention is unlimited In this, in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be referred to Enable execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service Provider is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke It point is only exemplary not enforceable.In fact, embodiment according to the present invention, it is above-described two or more The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can It is to be embodied by multiple units with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (15)

1. a kind of video playing interactive approach characterized by comprising
First user terminal shares invitation message in the video that chat window receives the first user input;The video is shared to invite Carry video playing link in message, the video share invitation message be used to invite addition current chat at least one the Two user terminals watch video;
First user terminal sends the video at least one described second user terminal and shares invitation message;
Second user terminal receives the video that the first user terminal is sent by chat window and shares invitation message, and chats described Skylight opening shows that the video shares invitation message;
Second user terminal receives the selection that second user shares invitation message for video;
Second user terminal plays video according to the selection that the video shares invitation message and second user.
2. the method as described in claim 1, which is characterized in that the first user terminal receives the first user input in chat window Video share invitation message after, further includes:
First user terminal is shown video playback window as the chat background of the chat window;
First user terminal is according to the corresponding video content of video playing link acquisition and in the video playing window Mouth starts to play video.
3. the method as described in claim 1, which is characterized in that second user terminal according to the video share message request and The selection of second user plays video, specifically includes:
If the second user agrees to shared video, the second user terminal is using video playback window as chat window Chat background shown;
The second user terminal is according to the corresponding video content of video playing link acquisition and in the video playing window Mouth starts to play video.
4. method as claimed in claim 2 or claim 3, which is characterized in that initialize the video playback window in accordance with the following methods:
Determine the ordinate of the bottom position information for the title bar that the chat window includes;
Determine that the ordinate is the ordinate of the video playback window top position;
The size of the video playback window is determined according to chat window width and preset broadcast window the ratio of width to height;And
According to the size of the ordinate for the top position determined and the video playback window, the video playing window is determined The ordinate of mouth bottom position;
Video playback window is initialized according to the ordinate of the ordinate of the video playback window top position and bottom position.
5. method as claimed in claim 3, which is characterized in that the second user terminal is linked according to the video playing Start in the video playback window play video before, further includes:
The second user terminal obtains the play time that first user terminal plays video;And
The second user terminal is linked according to the video playing, is obtained the video content since the play time and is existed Start to play video in the video playback window.
6. the method as described in claim 1,2,3 or 5 any claims, which is characterized in that further include:
Any user terminal sends chat messages to other users terminal in video display process or receives from other use The chat messages of family terminal receive video playing control instruction;
Any user terminal shows the chat of the chat messages received or any user input in chat messages window Message instructs control video playing according to the video playing.
7. a kind of video playing interaction systems, which is characterized in that including the first user terminal and at least one second user terminal, Wherein:
First user terminal, the video for receiving the first user input in chat window share invitation message;The view Frequency, which is shared, carries video playing link in invitation message, the video shares invitation message and current chat is added for inviting At least one second user terminal watches video;And it is invited at least one described second user terminal transmission video is shared It please message;
The second user terminal shares invitation message for receiving the video that the first user terminal is sent by chat window, And show that the video shares invitation message in the chat window;Receive the choosing that second user shares invitation message for video It selects;And video is played according to the selection that the video shares invitation message and second user.
8. system as claimed in claim 7, which is characterized in that
First user terminal is also used to after the video that chat window receives the first user input shares invitation message, It is shown video playback window as the chat background of the chat window;It is obtained according to video playing link corresponding Video content and the video playback window start play video.
9. system as claimed in claim 7, which is characterized in that
The second user terminal makees video playback window if being specifically used for the second user agrees to shared video It is shown for the chat background of the chat window;Corresponding video content is obtained according to video playing link and in institute Video playback window is stated to start to play video.
10. system as claimed in claim 8 or 9, which is characterized in that
First user terminal or the second user terminal, the title bar for including specifically for the determination chat window Bottom position information ordinate;Determine that the ordinate is the ordinate of the video playback window top position;According to Chat window width and preset broadcast window the ratio of width to height determine the size of the video playback window;And according to determining The size of the ordinate of top position and the video playback window determines the vertical seat of the video playback window bottom position Mark;Video playback window is initialized according to the ordinate of the ordinate of the video playback window top position and bottom position.
11. system as claimed in claim 9, which is characterized in that
The second user terminal is also used to start to play being linked in the video playback window according to the video playing Before video, the play time that first user terminal plays video is obtained;And linked according to the video playing, it obtains Take the broadcasting video since the video content the play time is in the video playback window.
12. the system as described in claim 7,8,9 or 11 any claims, which is characterized in that
First user terminal or the second user terminal, are also used in video display process to other users terminal It sends chat messages or receives the chat messages from other users terminal or receive video playing control instruction;And Chat messages window shows the chat messages of the chat messages received or any user input or is broadcast according to the video Put instruction control video playing.
13. a kind of user terminal characterized by comprising
First receiving unit, the video for receiving user's input in chat window share invitation message;The video is shared to invite Video playing link please be carried in message, the video shares invitation message and is used to invite at least one that current chat is added Other users terminal watches video;
Transmission unit shares invitation message for sending the video at least one other user terminal;
Second receiving unit, the video for receiving the transmission of other users terminal share invitation message, and in the chat window Show that the video shares invitation message;
Third receiving unit, for receiving user for the selection of the shared invitation message of video;
Video playback unit, the selection for sharing invitation message and user according to the video play video.
14. a kind of video playing interactive approach characterized by comprising
First user terminal receives user and shares invitation message by the video that chat window inputs, and shared invite of the video disappears Carried in breath video playing link, the video share invitation message be used for invites addition current chat at least one second User terminal watches video jointly;
First user terminal sends the video at least one described second user terminal and shares invitation message.
15. a kind of computer-readable medium, which is characterized in that it is stored with the computer program that can be executed by computing device, when When described program is run on the computing device, so that the computing device perform claim requires 1~6 and/or 14 any sides The step of method.
CN201711217783.9A 2017-11-28 2017-11-28 Video playing interaction method, device, system, user terminal and medium Active CN109842819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711217783.9A CN109842819B (en) 2017-11-28 2017-11-28 Video playing interaction method, device, system, user terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711217783.9A CN109842819B (en) 2017-11-28 2017-11-28 Video playing interaction method, device, system, user terminal and medium

Publications (2)

Publication Number Publication Date
CN109842819A true CN109842819A (en) 2019-06-04
CN109842819B CN109842819B (en) 2022-10-14

Family

ID=66881141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711217783.9A Active CN109842819B (en) 2017-11-28 2017-11-28 Video playing interaction method, device, system, user terminal and medium

Country Status (1)

Country Link
CN (1) CN109842819B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267104A (en) * 2019-07-02 2019-09-20 北京奇艺世纪科技有限公司 A kind of user matching method and device
CN111541948A (en) * 2020-04-10 2020-08-14 早安科技(广州)有限公司 Character and video dual-thread display method and device
CN112583806A (en) * 2020-12-04 2021-03-30 广州酷狗计算机科技有限公司 Resource sharing method, device, terminal, server and storage medium
CN112751744A (en) * 2019-10-31 2021-05-04 腾讯科技(深圳)有限公司 Method and device for controlling video playing, computing equipment and storage medium
CN114443201A (en) * 2022-01-29 2022-05-06 北京字跳网络技术有限公司 Message display method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250327A1 (en) * 2009-03-25 2010-09-30 Verizon Patent And Licensing Inc. Targeted advertising for dynamic groups
CN103686420A (en) * 2013-12-13 2014-03-26 广州华多网络科技有限公司 Method, terminal, server and system for inviting friend to watch video
CN104765522A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Chat window display control method and system
CN104935724A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Terminal and method of processing data therein
CN104954882A (en) * 2015-06-16 2015-09-30 腾讯科技(北京)有限公司 Message sharing method and client
CN107025051A (en) * 2016-01-29 2017-08-08 广州市动景计算机科技有限公司 Information embedding method, device and client device
CN107333146A (en) * 2017-07-12 2017-11-07 易视腾科技股份有限公司 video group viewing control method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250327A1 (en) * 2009-03-25 2010-09-30 Verizon Patent And Licensing Inc. Targeted advertising for dynamic groups
CN103686420A (en) * 2013-12-13 2014-03-26 广州华多网络科技有限公司 Method, terminal, server and system for inviting friend to watch video
CN104765522A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Chat window display control method and system
CN104935724A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Terminal and method of processing data therein
CN104954882A (en) * 2015-06-16 2015-09-30 腾讯科技(北京)有限公司 Message sharing method and client
CN107025051A (en) * 2016-01-29 2017-08-08 广州市动景计算机科技有限公司 Information embedding method, device and client device
CN107333146A (en) * 2017-07-12 2017-11-07 易视腾科技股份有限公司 video group viewing control method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267104A (en) * 2019-07-02 2019-09-20 北京奇艺世纪科技有限公司 A kind of user matching method and device
CN112751744A (en) * 2019-10-31 2021-05-04 腾讯科技(深圳)有限公司 Method and device for controlling video playing, computing equipment and storage medium
CN112751744B (en) * 2019-10-31 2022-06-21 腾讯科技(深圳)有限公司 Method and device for controlling video playing, computing equipment and storage medium
CN115051965A (en) * 2019-10-31 2022-09-13 腾讯科技(深圳)有限公司 Method and device for controlling video playing, computing equipment and storage medium
CN111541948A (en) * 2020-04-10 2020-08-14 早安科技(广州)有限公司 Character and video dual-thread display method and device
CN112583806A (en) * 2020-12-04 2021-03-30 广州酷狗计算机科技有限公司 Resource sharing method, device, terminal, server and storage medium
CN112583806B (en) * 2020-12-04 2024-03-22 广州酷狗计算机科技有限公司 Resource sharing method, device, terminal, server and storage medium
CN114443201A (en) * 2022-01-29 2022-05-06 北京字跳网络技术有限公司 Message display method, device, equipment and storage medium
WO2023143299A1 (en) * 2022-01-29 2023-08-03 北京字跳网络技术有限公司 Message display method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN109842819B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US20210349604A1 (en) Shared Virtual Area Communication Environment Based Apparatus and Methods
CN103250410B (en) In video conference with the novel interaction systems and method of participant
CN109842819A (en) A kind of video playing interactive approach, device, system, user terminal and medium
CN110597774B (en) File sharing method, system, device, computing equipment and terminal equipment
CN103493479B (en) The system and method for the low latency H.264 anti-error code of Video coding
CN102377823B (en) Method and system for realizing interactive sharing among multiple screens and multiple users by sliding screens
US20140040784A1 (en) Multi-user chat
US20070100937A1 (en) Workgroup application with contextual clues
CN110326290A (en) It is watched while live content and the content of recording
CN112769582A (en) Electronic tool and method for conferencing
KR20150020570A (en) System and method for real-time composite broadcast with moderation mechanism for multiple media feeds
Harboe In search of social television
CN103037244A (en) Method and system for switching network videos among multiple intelligent terminals and intelligent terminals
US10372324B2 (en) Synchronous communication system and method
US20110029885A1 (en) Confidential Presentations in Virtual Worlds
KR102560567B1 (en) Method and apparatus for displaying an interface for providing a social network service through an anonymous based profile
KR20160085302A (en) Synchronous communication system and method
US11146413B2 (en) Synchronous communication
KR102302106B1 (en) Method and apparatus for providing information of social network service related activity to chat rooms
CN205139894U (en) Realize video seamless handover's between many screens terminal

Legal Events

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