CN109819268B - Live broadcast room play control method, device, medium and equipment in video live broadcast - Google Patents

Live broadcast room play control method, device, medium and equipment in video live broadcast Download PDF

Info

Publication number
CN109819268B
CN109819268B CN201910198984.1A CN201910198984A CN109819268B CN 109819268 B CN109819268 B CN 109819268B CN 201910198984 A CN201910198984 A CN 201910198984A CN 109819268 B CN109819268 B CN 109819268B
Authority
CN
China
Prior art keywords
live broadcast
window
broadcast room
video
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910198984.1A
Other languages
Chinese (zh)
Other versions
CN109819268A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910198984.1A priority Critical patent/CN109819268B/en
Publication of CN109819268A publication Critical patent/CN109819268A/en
Application granted granted Critical
Publication of CN109819268B publication Critical patent/CN109819268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a live broadcast room playing control method in video live broadcast, a live broadcast room playing control device in video live broadcast, a computer readable medium and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: responding to an incoming message of a target live broadcast room, outputting a loading window containing a video sub-window, and displaying a target video in the target live broadcast room in the video sub-window; creating a live broadcast room process corresponding to the target live broadcast room; transferring the video sub-window from the loading window to a live broadcast room window; and the live broadcast room window is a window corresponding to the live broadcast room process. By implementing the technical scheme of the embodiment of the invention, the problem that a user cannot watch videos for a long time before the creation of the live broadcast room is completed can be overcome to a certain extent, so that the user experience is improved, and the user viscosity is improved.

Description

Live broadcast room play control method, device, medium and equipment in video live broadcast
Technical Field
The invention relates to the technical field of computers, in particular to a live broadcast room playing control method in video live broadcast, a live broadcast room playing control device in video live broadcast, a computer readable medium and electronic equipment.
Background
With the rise of live video, more and more people watch videos through live broadcast software. People usually need to enter a live broadcast room first, wait for the background to create the live broadcast room, and watch videos after the creation of the live broadcast room is completed. However, the live broadcast room includes many other functions such as delivering gifts and making comments in addition to the video live broadcast function. Thus, the creation process of the live room is relatively time consuming, which can lead to the problem of the user not being able to view the video for a long time before the creation of the live room is completed.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present invention provide a live broadcast room play control method in live video broadcast, a live broadcast room play control apparatus in live video broadcast, a computer-readable medium, and an electronic device, so as to overcome, at least to a certain extent, a problem that a user cannot watch a video for a long time before creation of a live broadcast room is completed.
A first aspect of an embodiment of the present invention provides a method for controlling playback in a live broadcast room in a live video broadcast, including: step S100, responding to an incoming message of a target live broadcast room, outputting a loading window containing a video sub-window, and displaying a target video in the target live broadcast room in the video sub-window; step S300, establishing a live broadcast room process corresponding to a target live broadcast room; step S500, transferring the video sub-window from the loading window to a live broadcast window; and the live broadcast room window is a window corresponding to the live broadcast room process.
In an exemplary embodiment of the present invention, migrating the video sub-window from the load window to the live view window comprises: migrating the video sub-window from a first video output area of the loading window to a second video output area of the live broadcast window; wherein the first video output region and the second video output region are at the same location within the window.
In an exemplary embodiment of the present invention, before migrating the video sub-window from the loading window to the live broadcast window, the live broadcast control method further includes: step S450, intercepting a current video picture corresponding to a target live broadcast room; in step S470, the current video picture is respectively output to the first video output area and the second video output area.
In an exemplary embodiment of the present invention, the method for controlling playback in a live broadcast room further includes: step S700, when detecting the operation for triggering the start of the target live broadcast room, generating a start instruction for starting the target live broadcast room;
responding to an incoming message of a target live broadcast room, comprising: and responding to the incoming message of the target live broadcast room according to the starting instruction.
In an exemplary embodiment of the present invention, the method for controlling playback in a live broadcast room further includes: step S800, when the operation for closing the target live broadcast room is detected, destroying the process of the live broadcast room; wherein, the live broadcast room process at least comprises a live broadcast room window.
In an exemplary embodiment of the present invention, the method for controlling playback in a live broadcast room further includes: step S900, outputting a homepage window comprising a plurality of live rooms; wherein the entry of each live broadcast room at least comprises a video stream corresponding to the live broadcast room.
In an exemplary embodiment of the present invention, after outputting the loading window including the video sub-window, the live broadcast room playback control method further includes: step S410, acquiring a video stream corresponding to a target live broadcast room; and step S430, outputting the video corresponding to the target live broadcast room through the video sub-window according to the video stream.
According to a second aspect of the embodiments of the present invention, there is provided a live broadcast room playback control apparatus in a live video broadcast, including: the video output unit is used for responding to an incoming message of a target live broadcast room and outputting a loading window containing a video sub-window, and a target video in the target live broadcast room is displayed in the video sub-window; the live broadcast room process creating unit is used for creating a live broadcast room process corresponding to the target live broadcast room; the window switching management unit is used for transferring the video sub-window from the loading window to the live broadcast room window; and the live broadcast room window is a window corresponding to the live broadcast room process.
In an exemplary embodiment of the present invention, a manner for the window switching management unit to migrate the video sub-window from the loading window to the live broadcast window is specifically as follows: the window switching management unit transfers the video sub-window from a first video output area of the loading window to a second video output area of the live broadcast window; wherein the first video output region and the second video output region are at the same location within the window.
In an exemplary embodiment of the present invention, the live broadcast room playback control apparatus further includes: the frame intercepting unit is used for intercepting a current video frame corresponding to a target live broadcast room before the window switching management unit transfers the video sub-window from the loading window to the live broadcast room window; and the picture output unit is used for respectively outputting the current video picture to the first video output area and the second video output area.
In an exemplary embodiment of the present invention, the live broadcast room playback control apparatus further includes: the starting instruction generating unit is used for generating a starting instruction for starting the target live broadcast room when the operation for triggering the starting of the target live broadcast room is detected;
the mode that the video output unit responds to the incoming message of the target live broadcast room specifically comprises the following steps: and the video output unit responds to the incoming message of the target live broadcast room according to the starting instruction.
In an exemplary embodiment of the present invention, the live broadcast room playback control apparatus further includes: the process destroying unit is used for destroying the process of the live broadcast room when the operation for closing the target live broadcast room is detected; wherein, the live broadcast room process at least comprises a live broadcast room window.
In an exemplary embodiment of the present invention, the live broadcast room playback control apparatus further includes: a homepage window output unit for outputting a homepage window including a plurality of live broadcasting rooms; wherein the entry of each live broadcast room at least comprises a video stream corresponding to the live broadcast room.
In an exemplary embodiment of the present invention, the live broadcast room playback control apparatus further includes: the video stream acquisition unit is used for acquiring a video stream corresponding to the target live broadcast room after the video output unit outputs a loading window containing a video sub-window; and the window video output unit is used for outputting the video corresponding to the target live broadcast room through the video sub-window according to the video stream.
According to a third aspect of the embodiments of the present invention, there is provided a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements a live broadcast room play control method in a live video broadcast as described in the first aspect of the embodiments above.
According to a fourth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: one or more processors; a storage device, configured to store one or more programs, which when executed by one or more processors, cause the one or more processors to implement a live-to-live playback control method in a live video broadcast as described in the first aspect of the embodiments above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the technical scheme provided by some embodiments of the invention, the incoming message of the target live broadcast room can be responded, the loading window containing the video sub-window is output, the live broadcast room process corresponding to the target live broadcast room is established, and the video sub-window is transferred to the live broadcast room window from the loading window. According to the scheme, the problem that a user cannot watch the video of the live broadcast room for a long time before the creation of the live broadcast room is completed can be solved to a great extent, and the user experience is improved; on the other hand, the user clicks to enter the live broadcast room to see live broadcast content, long-time waiting is not needed, the use viscosity of the user can be increased, and then the flow data and the advertisement income of a live broadcast platform are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 schematically shows a flow chart of a live broadcast room play control method in a video live broadcast according to an embodiment of the present invention;
fig. 2 is a flowchart schematically showing a current video picture output process in a live broadcast room play control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating switching of video sub-windows in a play control method of a live broadcast room according to an embodiment of the present invention;
fig. 4 is a flow chart schematically showing a video stream acquisition process in a live broadcast room play control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a process module in a live device according to an embodiment of the present invention;
fig. 6 schematically shows a flow chart of another method for controlling playback in a live broadcast room according to an embodiment of the present invention;
fig. 7 is a block diagram schematically showing a configuration of a live broadcast room play control apparatus in a video live broadcast according to an embodiment of the present invention;
FIG. 8 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Referring to fig. 1, fig. 1 schematically illustrates a flowchart of a live broadcast room play control method in video live broadcast according to an embodiment of the present invention, where the live broadcast room play control method in video live broadcast can be implemented by a server or a terminal device.
As shown in fig. 1, a method for controlling playback of a live broadcast room in a live video broadcast according to an embodiment of the present invention includes the following steps S100, S300, and S500, where:
step S100: and responding to the incoming message of the target live broadcast room, outputting a loading window containing a video sub-window, and displaying the target video in the target live broadcast room in the video sub-window.
Step S300: and establishing a live broadcast room process corresponding to the target live broadcast room.
Step S500: transferring the video sub-window from the loading window to a live broadcast room window; and the live broadcast room window is a window corresponding to the live broadcast room process.
The following describes the steps in detail:
in step S100, the target video refers to a video that is being live broadcast by a main broadcast corresponding to the target live broadcast room; the entry message is used for indicating that the user enters the target live broadcast room through the entrance of the target live broadcast room; the loading window is used for displaying before the live broadcast room process corresponding to the target live broadcast room is established, so that a user can watch the target video in advance before the live broadcast room process is established, and the watching experience of the user is improved.
In step S300, since the user can not only watch the live video but also play a game, send a gift to a main broadcast, or send a comment in the live broadcast room, when the terminal device/server detects that the user enters the target live broadcast room, a live broadcast room process corresponding to the target live broadcast room can be created, and the live broadcast room process can include a live video broadcast function and also include at least one of a game function, a gift sending function, and a comment sending function.
In step S500, the live view window is used to display the target video, and may further display at least one of a game area, a comment area, and a gift-offering area, which is not limited in the embodiment of the present invention. In addition, the size and the position of the loading window are the same as those of the live broadcast window, and the position and the size of the video sub-window in the loading window are the same as those of the video sub-window in the live broadcast window, so that seamless switching from the loading window to the live broadcast window can be realized, sudden changes in user vision caused by different sizes or positions of target videos in the loading window and the live broadcast window are reduced, and user experience is improved.
As an optional implementation, migrating the video sub-window from the loading window to the live broadcast window may include the following steps: migrating the video sub-window from a first video output area of the loading window to a second video output area of the live broadcast window; wherein the first video output region and the second video output region are at the same location within the window.
In the embodiment of the invention, when the loading window is displayed, the video sub-window is positioned in the first video output area of the loading window, when the live broadcast window is displayed, the video sub-window is positioned in the second video output area of the live broadcast window, and the position and the size of the first video output area in the loading window are the same as the position and the size of the second video output area in the live broadcast window.
Therefore, by implementing the optional implementation mode, sudden visual changes of the user caused by different sizes or positions of the target videos in the loading window and the live broadcast window can be reduced, and the user experience is further improved.
As another optional implementation manner, before the video sub-window is migrated from the loading window to the live broadcast window, the live broadcast control method further includes step S450 and step S470. Referring to fig. 2, fig. 2 is a flowchart schematically illustrating a current video frame output process in a live broadcast room play control method according to an embodiment of the present invention, as shown in fig. 2, wherein:
step S450: and intercepting a current video picture corresponding to the target live broadcast room.
Step S470: and respectively outputting the current video picture to the first video output area and the second video output area.
In the embodiment of the invention, when the process of the live broadcast room is established, the terminal equipment or the server can intercept the current video picture, output the current video picture in the first video output area and the second video output area, and then transfer the video sub-window from the loading window to the live broadcast room window. In the prior art, it usually occurs that a video sub-window has been migrated to a live broadcast window, and at this time, a video cannot be seen in a loading window but the live broadcast window is not displayed yet, so that a user faces the loading window without the video sub-window; or, the live broadcast window is already displayed, but the video sub-window is not switched to the live broadcast window, and at this time, no video is played in the video area of the live broadcast window faced by the user. Although the switching time of the video sub-window is short, a flickering phenomenon still occurs at the time of window switching based on the above two conventional cases.
It can be seen that, through the current video image output process in the live broadcast room play control method shown in fig. 2, when a window is switched, screenshots of the current video image can be respectively synchronized to the video sub-window regions (i.e., the first video output region and the second video output region) of the loading window and the live broadcast room window, and then the video sub-window is migrated from the loading window to the live broadcast room window, so that the problem of video interruption or interface flicker caused by window switching is overcome to a certain extent, the viewing experience of a user is improved, and further the viscosity of the user is improved.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a video sub-window switching process in a play control method of a live broadcast room according to an embodiment of the present invention. The video sub-window switching flow diagram shown in fig. 3 can implement the current video picture output process shown in fig. 2, as shown in fig. 3, the video sub-window switching flow diagram includes 301, 302, and 303, where:
301 is for showing the video sub-window in the loading window; 302 is configured to indicate that after the creation of the live broadcast room process is completed, a current video picture corresponding to a target live broadcast room is captured and the current video picture is respectively displayed in a loading window and a live broadcast room window; 303 is used to indicate that the video sub-window is migrated to the live-air window and displayed.
Therefore, by implementing the video sub-window switching process schematic diagram shown in fig. 3, the problem of video interruption or interface flicker caused by window switching can be overcome to a certain extent, the viewing experience of a user is improved, and the viscosity of the user is further improved.
As another optional implementation manner, the live broadcast room playing control method further includes step S700 (not shown), where:
step S700: when the operation for triggering the start of the target live broadcast room is detected, a start instruction for starting the target live broadcast room is generated;
the method for responding to the incoming message of the target live broadcast room may specifically be: and responding to the incoming message of the target live broadcast room according to the starting instruction.
In the embodiment of the present invention, the operation for triggering the start of the target live broadcast room may be that the user clicks a cover of the target live broadcast room, or that the user inputs the voice information for starting the target live broadcast room, which is not limited in the embodiment of the present invention.
Therefore, by implementing the optional implementation mode, the target live broadcast room can be started according to the detection of the user operation, so that the problem that the viscosity of the user is reduced because the live broadcast video of the hot anchor is directly played when the user opens the live broadcast software in the prior art and the video of the hot anchor may not be the video which is interested by the user can be avoided to a certain extent.
As another optional implementation manner, the live broadcast room playing control method further includes step S800 (not shown), where:
step S800: when the operation for closing the target live broadcast room is detected, destroying the live broadcast room process; wherein, the live broadcast room process at least comprises a live broadcast room window.
Therefore, by implementing the optional implementation mode, the live broadcast room process can be destroyed after the target live broadcast room is closed, so that the occupancy rate of live broadcast software to computer resources is reduced, and the operation efficiency is improved.
As another alternative embodiment, after outputting the loading window containing the video sub-window, the live broadcast room playback control method further includes step S410 and step S430. Referring to fig. 4, fig. 4 is a flow chart schematically illustrating a video stream acquisition process in a live broadcast room play control method according to an embodiment of the present invention. As shown in fig. 4, the video stream acquisition process includes step S410 and step S430, in which:
step S410: acquiring a video stream corresponding to a target live broadcast room;
step S430: and outputting the video corresponding to the target live broadcast room through the video sub-window according to the video stream.
In the embodiment of the invention, when the starting operation of the target live broadcast room is detected, the video stream prestored in the target live broadcast room entrance can be played in the video sub-window, so that a user can watch the target video of the target live broadcast room in advance before the process of the live broadcast room is not established.
As another optional implementation manner, the live broadcast room playing control method further includes step S900 (not shown), where:
step S900: outputting a homepage window comprising a plurality of live rooms; wherein the entry of each live broadcast room at least comprises a video stream corresponding to the live broadcast room.
In step S900, the homepage window is used to display a plurality of live broadcast rooms in the live broadcast software, and when the user clicks any one of the live broadcast rooms (e.g., a live broadcast room a), the terminal device or the server may determine that the user clicks the live broadcast room (e.g., a live broadcast room a) corresponding to the operation, and enter the live broadcast room through an entry of the live broadcast room (e.g., a live broadcast room a); the display modes of the multiple live rooms in the homepage window can be arranged and displayed in a sub-window mode through a preset rule, the preset rule can comprise the display sizes of the sub-windows and/or the arrangement sequence of the sub-windows, and the embodiment of the invention is not limited; the sub-window may display a preset cover, the terminal device or the server may randomly select a cover from a plurality of covers preset by the live broadcast software as a cover of the live broadcast sub-window of the target anchor, and may also use a cover uploaded by the target anchor as a cover of the live broadcast sub-window corresponding to the target anchor. Furthermore, it should be noted that Video Streaming refers to the transmission of Video data, which can be processed as a stable and continuous stream by a terminal device or a server, for example. Because of its streaming nature, a terminal device or server can display multimedia data (e.g., video data) before the entire file is transferred.
Therefore, by implementing the optional implementation mode, a plurality of live broadcast room sub-windows can be output through the homepage window of the live broadcast software, and the cover corresponding to the live broadcast room is displayed on the live broadcast room sub-windows, so that a user can select a live broadcast room in which the user is interested according to the cover and enter the live broadcast room to watch the video live broadcast, the user experience can be improved, and the use viscosity of the user of the live broadcast software is improved.
Therefore, by implementing the live broadcast room playing control method in the live video broadcast shown in fig. 1, the problem that a user cannot watch the live broadcast room video for a long time before the creation of the live broadcast room is completed can be overcome to a greater extent, and the user experience is improved; and the user can see the live broadcast content by clicking to enter the live broadcast room, long-time waiting is not needed, the use viscosity of the user can be increased, and the flow data and the advertising benefit of the live broadcast platform are improved.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a process module in a live device according to an embodiment of the present invention. Fig. 5 shows a process module in a live device for implementing the live room play control method or the implementation process in the live room play control method shown in fig. 1-4 and fig. 6, where as shown in fig. 5, the live device includes a homepage process module 510, a loading process module 520, a live room process module 530, and a player process module 540.
Specifically, home process module 510 includes a home window module 511, wherein home window module 511 includes a live-room entry module 5111; the loading process module 520 includes a loading window module 521, a window switching management module 522, and a sub-process management module 523, where the loading window module 521 includes a video sub-window module 5211; the live room process module 530 includes a live room window module 531, wherein the live room window module 531 includes a video sub-window module 5211.
Further specifically:
when the terminal device or the server detects the start operation of live broadcast software, a loading process module 520 and a player process module 540 can be created through a live broadcast device, so that the output of a homepage window comprising a plurality of live broadcast rooms is realized through the loading process module 520 and the player process module 540; the player process module 540 is configured to acquire a video stream, decode the video stream, and play a video, so that a user can view a target video of a target live broadcast room in advance before a live broadcast room process is not created and completed.
The load window module 521 is configured to output a load window (which may also be understood as a transition window) including a target video before the live broadcast process is created, where the load window module 521 is created by the terminal device or the server when the live broadcast software is started, and is also destroyed by the terminal device or the server when the live broadcast software is closed, so that consumption of computing resources can be reduced, and the operation efficiency is improved. In addition, the loading window module 521 includes a video sub-window module 5211 and the layout of the video sub-windows, so that the position and the size of the target video in the loading window are the same as those of the video sub-windows in the live broadcast window, and thus seamless switching from the loading window to the live broadcast window can be realized, abrupt change of the user vision caused by the difference of the size or the position of the target video in the loading window and the live broadcast window is reduced, and further the user experience is improved.
The video sub-window module 5211 is configured to display a target video, and the video sub-window module 5211 may switch the video sub-window of the loading window to the video sub-window of the live broadcast window through the system interface.
The window switching management module 522 is configured to manage switching among the home window module 511, the loading window module 521, and the live view window module 531, and switching among the video sub-window module 5211 between the loading window module 521 and the live view window module 531. Since the switching of the video sub-window belongs to an asynchronous process, during the switching, the terminal device or the server may send, to the player process module 540 through the window switching management module 522, an instruction for instructing the player process module 540 to migrate the video sub-window from the loading window module 521 to the live broadcast window module 531, so that the player process module 540 migrates the video sub-window from the loading window module 521 to the live broadcast window module 531, which can reduce the interdependence between the process modules.
The sub-process management module 523 is used for managing the creation and destruction of the main page process module 510 and the live broadcast room process module 530; after the process loading module 520 is started, the terminal device or the server may create the home page process module 510 through the sub-process management module 523, and destroy the home page process module 510 when detecting that the live broadcast software is closed; when the user clicks on the live room entry, the sub-process management module 523 creates the live room process module 530, and destroys the live room process module 530 when the user exits the live room.
The home page progress module 510 is for displaying a home page window module 511.
The homepage window module 511 is used for displaying live broadcast room entries in a classified manner, and it can also be understood that the homepage window module 511 is used for displaying navigation pages of a live broadcast room, and displaying live broadcast room entries in a classified manner, for example, live game, live travel and live life. A user can enter a live broadcast room to watch the live video by clicking a live broadcast room entrance under a certain classification.
The live broadcast room entrance module 5111 is configured to display a cover corresponding to the live broadcast room and a video corresponding to the video stream. The live broadcast room entry module 5111 stores video stream information, and when the user clicks the cover (i.e., the live broadcast room entry), the live broadcast room process module 530 can directly acquire a video stream from the live broadcast room entry module 5111 without requesting a video corresponding to the live broadcast room from the server, thereby improving video output efficiency.
The live-cast process module 530 is configured to create a live-cast process corresponding to the target live-cast after the user clicks the target live-cast entry.
The live broadcast room window module 531 is configured to display a video sub-window and other live broadcast room contents, such as chat information and/or gift display, which is not limited in the embodiment of the present invention.
Therefore, the structural schematic diagram of the process module in the live broadcast device shown in fig. 5 can overcome the problem that a user cannot watch the video in the live broadcast room for a long time before the creation of the live broadcast room is completed to a great extent, and improve the user experience; and the user can see the live broadcast content by clicking to enter the live broadcast room, long-time waiting is not needed, the use viscosity of the user can be increased, and the flow data and the advertising benefit of the live broadcast platform are improved.
Referring to fig. 6, fig. 6 is a flow chart schematically illustrating another method for controlling playback in a live broadcast room according to an embodiment of the present invention. As shown in fig. 6, the live broadcast control method includes step S601, step S602, step S603, step S604, step S605, step S606, and step S607, in which:
step S601: and entering a target live broadcast room entrance.
Step S602: and sending an entering message to the loading process module.
Step S603: and switching the current window to a loading window, outputting a video sub-window at the loading window, and playing the video through the video sub-window by the player process module and creating a live broadcast room process.
Step S604: and sending a message for indicating that the creation of the live broadcast process is completed to the loading process module.
Step S605: and intercepting the current video picture, and respectively outputting the current video picture to a loading window and a live broadcast room window.
Step S606: and migrating the video sub-window from the loading window to the live broadcast room window through the player process module.
Step S607: and switching the current window into a live broadcast window.
In the embodiment of the invention, when detecting that a user clicks a target live broadcast room in a homepage window module, an entering message is sent to a loading Process module through Inter-Process Communication (IPC) to trigger the loading Process module to start so as to enter the target live broadcast room; after receiving a message that a user enters a live broadcast room, the loading process module can trigger the window switching management module to switch a current window (namely, a main page window) into a loading window, output a video sub-window into the loading window, and hide the main page window, wherein the loading window comprising the video sub-window is seen by the user; meanwhile, the window switching management module can also trigger the player process module to play the target video of the target live broadcast room in the video sub-window; further, the sub-process management module creates a live broadcast process, and after the live broadcast process is created, a message for indicating the creation completion of the live broadcast process is sent to the loading process module through IPC communication, so that the loading process module intercepts the current video picture and respectively outputs the video picture to the loading window and the video area of the live broadcast window (namely, a first video output area and a second video output area); and then, switching the current window (namely the loading window) into the live broadcast window, and hiding the loading window, at the moment, completing the creation of the live broadcast process, so that the user can watch the target video in the live broadcast window.
Therefore, by implementing the live broadcast room playing control method shown in fig. 6, the problem that a user cannot watch the video of the live broadcast room for a long time before the creation of the live broadcast room is completed can be overcome to a greater extent, and the user experience is improved; and the user can see the live broadcast content by clicking to enter the live broadcast room, long-time waiting is not needed, the use viscosity of the user can be increased, and the flow data and the advertising benefit of the live broadcast platform are improved.
Referring to fig. 7, fig. 7 is a block diagram schematically illustrating a structure of a live broadcast room playback control apparatus in a video live broadcast according to an embodiment of the present invention. This live broadcast room play controlling means in the video live broadcast includes: a video output unit 701, a live-air process creation unit 702, and a window switching management unit 703.
The video output unit 701 is configured to respond to an incoming message of a target live broadcast room and output a loading window including a video sub-window, where a target video in the target live broadcast room is displayed in the video sub-window; a live broadcast room process creating unit 702, configured to create a live broadcast room process corresponding to the target live broadcast room; the window switching management unit 703 is configured to migrate the video sub-window from the loading window to the live broadcast room window; and the live broadcast room window is a window corresponding to the live broadcast room process.
Therefore, by implementing the live broadcast room playing control device in the live video broadcast, the problem that a user cannot watch the video in the live broadcast room for a long time before the creation of the live broadcast room is completed can be overcome to a greater extent, and the user experience is improved; and the user can see the live broadcast content by clicking to enter the live broadcast room, long-time waiting is not needed, the use viscosity of the user can be increased, and the flow data and the advertising benefit of the live broadcast platform are improved.
As an optional implementation manner, the manner in which the window switching management unit 703 transfers the video sub-window from the loading window to the live broadcast window is specifically as follows: the window switching management unit 703 transfers the video sub-window from the first video output area of the loading window to the second video output area of the live broadcast window; wherein the first video output region and the second video output region are at the same location within the window.
Therefore, by implementing the optional implementation mode, sudden visual changes of the user caused by different sizes or positions of the target videos in the loading window and the live broadcast window can be reduced, and the user experience is further improved.
As another optional implementation manner, the live broadcast room playback control apparatus further includes: a picture capturing unit (not shown) configured to capture a current video picture corresponding to a target live broadcast room before the window switching management unit 703 transfers the video sub-window from the loading window to the live broadcast room window; a picture output unit (not shown) for outputting the current video picture to the first video output area and the second video output area, respectively.
Therefore, the optional implementation mode can overcome the problem of video interruption or interface flicker caused by window switching to a certain extent, improve the watching experience of the user and further improve the viscosity of the user.
As another optional implementation manner, the live broadcast room playback control apparatus further includes: a start instruction generating unit (not shown) configured to generate a start instruction for starting the target live broadcast room when an operation for triggering start of the target live broadcast room is detected;
the manner of the video output unit 701 responding to the incoming message of the target live broadcast room is specifically as follows: the video output unit 701 responds to an incoming message of the target live broadcast room according to the start instruction.
Therefore, the problem that in the prior art, the viscosity of the user is reduced because the live video of the hot anchor is directly played when the user opens the live software and the video of the hot anchor may not be the video which is interested by the user can be solved to a certain extent by implementing the optional implementation mode.
As another optional implementation manner, the live broadcast room playback control apparatus further includes: a process destruction unit (not shown) for destroying the live broadcast room process when an operation for closing the target live broadcast room is detected; wherein, the live broadcast room process at least comprises a live broadcast room window.
Therefore, by implementing the optional implementation mode, the live broadcast room process can be destroyed after the target live broadcast room is closed, so that the occupancy rate of live broadcast software to computer resources is reduced, and the operation efficiency is improved.
As another optional implementation manner, the live broadcast room playback control apparatus further includes: a home page window output unit (not shown) for outputting a home page window including a plurality of live broadcast rooms; wherein the entry of each live broadcast room at least comprises a video stream corresponding to the live broadcast room.
Therefore, the optional implementation mode can enable the user to watch the target video of the target live broadcast room in advance before the live broadcast room process is not created completely.
As another optional implementation manner, the live broadcast room playback control apparatus further includes: a video stream acquiring unit (not shown) configured to acquire a video stream corresponding to the target live broadcast after the video output unit 701 outputs the loading window including the video sub-window; and a window video output unit (not shown) for outputting a video corresponding to the target live broadcast room through the video sub-window according to the video stream.
Therefore, by implementing the optional implementation mode, a plurality of live broadcast room sub-windows can be output through the homepage window of the live broadcast software, and the cover corresponding to the live broadcast room is displayed on the live broadcast room sub-windows, so that a user can select a live broadcast room in which the user is interested according to the cover and enter the live broadcast room to watch the video live broadcast, the user experience can be improved, and the use viscosity of the user of the live broadcast software is improved.
Therefore, by implementing the live broadcast room play control device in the live video broadcast shown in fig. 7, the problem that a user cannot watch the live broadcast room video for a long time before the creation of the live broadcast room is completed can be overcome to a great extent, and the user experience is improved; and the user can see the live broadcast content by clicking to enter the live broadcast room, long-time waiting is not needed, the use viscosity of the user can be increased, and the flow data and the advertising benefit of the live broadcast platform are improved.
As each functional module of the live broadcast room play control apparatus in video live broadcast according to the exemplary embodiment of the present invention corresponds to the steps of the exemplary embodiment of the live broadcast room play control method according to video live broadcast, please refer to the embodiment of the live broadcast room play control method according to the present invention for details that are not disclosed in the embodiment of the apparatus according to the present invention.
Referring to FIG. 8, a block diagram of a computer system 800 suitable for use with an electronic device implementing an embodiment of the invention is shown. The computer system 800 of the electronic device shown in fig. 8 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for system operation are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is enabled to implement the live broadcast room play control method in the video live broadcast as described in the above embodiment.
For example, the electronic device may implement the following as shown in fig. 1: step S110, responding to an incoming message of a target live broadcast room, outputting a loading window containing a video sub-window, and displaying a target video in the target live broadcast room in the video sub-window; step S120, establishing a live broadcast room process corresponding to the target live broadcast room; step S130, transferring the video sub-window from the loading window to a live broadcast window; and the live broadcast room window is a window corresponding to the live broadcast room process.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A live broadcast room playing control method in video live broadcast is characterized by comprising the following steps:
step S100, responding to an incoming message of a target live broadcast room, and outputting a loading window containing a video sub-window, wherein a target video in the target live broadcast room is displayed in the video sub-window;
step S300, establishing a live broadcast room process corresponding to the target live broadcast room;
step S500, transferring the video sub-window from the loading window to a live broadcast window; the live broadcast room window is a window corresponding to the live broadcast room process, the loading window and the live broadcast room window are both used for displaying the target video, and the live broadcast room window is also used for displaying at least one of a game area, a comment area and a gift sending area.
2. The method of claim 1, wherein the migrating the video sub-window from the load window to a live-air window comprises:
migrating the video sub-window from a first video output area of the loading window to a second video output area of a live broadcast window; wherein the first video output region is located in the load window at the same position and size as the second video output region is located in the live-air window.
3. The method of claim 2, wherein prior to migrating the video sub-window from the load window to the live-air window, the method further comprises:
step S450, intercepting a current video picture corresponding to the target live broadcast room;
step S470, respectively outputting the current video picture to the first video output area and the second video output area.
4. The method of claim 3, further comprising:
step S700, when the operation for triggering the start of the target live broadcast room is detected, a start instruction for starting the target live broadcast room is generated;
the responding to the incoming message of the target live broadcast room comprises the following steps:
and responding to the incoming message of the target live broadcast room according to the starting instruction.
5. The method of claim 4, further comprising:
step S800, when the operation for closing the target live broadcast room is detected, destroying the process of the live broadcast room; wherein the live room process at least comprises the live room window.
6. The method of claim 5, further comprising:
step S900, outputting a homepage window comprising a plurality of live rooms; wherein the entry of each live broadcast room at least comprises a video stream corresponding to the live broadcast room.
7. The method according to any one of claims 1 to 6, wherein after outputting the loading window comprising the video sub-window, the method further comprises:
step S410, acquiring a video stream corresponding to the target live broadcast room;
and step S430, outputting a video corresponding to the target live broadcast room through the video sub-window according to the video stream.
8. A live broadcast room playing control device in live video is characterized by comprising:
the video output unit is used for responding to an incoming message of a target live broadcast room and outputting a loading window containing a video sub-window, and a target video in the target live broadcast room is displayed in the video sub-window;
the live broadcast room process creating unit is used for creating a live broadcast room process corresponding to the target live broadcast room;
the window switching management unit is used for transferring the video sub-window from the loading window to a live broadcast window; the live broadcast room window is a window corresponding to the live broadcast room process, the loading window and the live broadcast room window are both used for displaying the target video, and the live broadcast room window is also used for displaying at least one of a game area, a comment area and a gift sending area.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, implements a live-room playback control method in a live video according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a live-to-live playback control method in a live video broadcast as claimed in any one of claims 1 to 7.
CN201910198984.1A 2019-03-15 2019-03-15 Live broadcast room play control method, device, medium and equipment in video live broadcast Active CN109819268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910198984.1A CN109819268B (en) 2019-03-15 2019-03-15 Live broadcast room play control method, device, medium and equipment in video live broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910198984.1A CN109819268B (en) 2019-03-15 2019-03-15 Live broadcast room play control method, device, medium and equipment in video live broadcast

Publications (2)

Publication Number Publication Date
CN109819268A CN109819268A (en) 2019-05-28
CN109819268B true CN109819268B (en) 2021-03-02

Family

ID=66609199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910198984.1A Active CN109819268B (en) 2019-03-15 2019-03-15 Live broadcast room play control method, device, medium and equipment in video live broadcast

Country Status (1)

Country Link
CN (1) CN109819268B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691282B (en) * 2019-10-16 2021-11-02 北京字节跳动网络技术有限公司 Video processing method and device, storage medium and electronic equipment
CN111726644A (en) * 2020-05-07 2020-09-29 火币(广州)区块链科技有限公司 Method and device for floating window of multiple live broadcast rooms
CN112911329B (en) * 2021-02-03 2023-08-25 广州虎牙科技有限公司 Window live broadcast method, device, electronic equipment and computer readable storage medium
CN114257824B (en) * 2021-11-25 2024-03-19 广州方硅信息技术有限公司 Live broadcast display method and device, storage medium and computer equipment
CN115134619A (en) * 2022-06-24 2022-09-30 广州博冠信息科技有限公司 Live broadcast room display method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN106714001A (en) * 2016-11-30 2017-05-24 北京奇虎科技有限公司 Processing method and device for chat information in live broadcast page
CN107426613A (en) * 2017-03-31 2017-12-01 武汉斗鱼网络科技有限公司 Based on the video resource mirror image loading player method and system between network direct broadcasting
CN107911709A (en) * 2017-11-17 2018-04-13 广州酷狗计算机科技有限公司 live interface display method, device and terminal
CN107920281A (en) * 2016-10-08 2018-04-17 北京小唱科技有限公司 A kind of network direct broadcasting video loading method and terminal
CN109246466A (en) * 2018-10-30 2019-01-18 北京达佳互联信息技术有限公司 Video broadcasting method, device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546817A (en) * 2013-10-25 2014-01-29 乐视网信息技术(北京)股份有限公司 Data loading method based on full video and electronic device
CN108235104B (en) * 2018-01-19 2020-08-28 深圳市富途网络科技有限公司 Live video floating window playing method for mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406998A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for processing user interface
CN107920281A (en) * 2016-10-08 2018-04-17 北京小唱科技有限公司 A kind of network direct broadcasting video loading method and terminal
CN106714001A (en) * 2016-11-30 2017-05-24 北京奇虎科技有限公司 Processing method and device for chat information in live broadcast page
CN107426613A (en) * 2017-03-31 2017-12-01 武汉斗鱼网络科技有限公司 Based on the video resource mirror image loading player method and system between network direct broadcasting
CN107911709A (en) * 2017-11-17 2018-04-13 广州酷狗计算机科技有限公司 live interface display method, device and terminal
CN109246466A (en) * 2018-10-30 2019-01-18 北京达佳互联信息技术有限公司 Video broadcasting method, device and electronic equipment

Also Published As

Publication number Publication date
CN109819268A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109819268B (en) Live broadcast room play control method, device, medium and equipment in video live broadcast
US11140106B2 (en) Method, device and storage medium for interactive message in video page
US9723242B1 (en) Video conferencing system and method
US11470127B2 (en) Method, system, and non-transitory computer-readable record medium for displaying reaction during VoIP-based call
US20150117513A1 (en) Bandwidth reduction system and method
CN112035202B (en) Method and device for displaying friend activity information, electronic equipment and storage medium
CN109842819B (en) Video playing interaction method, device, system, user terminal and medium
CN111880695B (en) Screen sharing method, device, equipment and storage medium
US20220201341A1 (en) Method, apparatus and device for game live-streaming
US9060033B2 (en) Generation and caching of content in anticipation of presenting content in web conferences
CN114650264B (en) Unread message display method and device, electronic equipment and storage medium
WO2023143299A1 (en) Message display method and apparatus, device, and storage medium
WO2021218556A1 (en) Information display method and apparatus, and electronic device
WO2024002047A1 (en) Display method and apparatus for session message, and device and storage medium
US20240007510A1 (en) METHOD, SYSTEM, AND NON-TRANSITORY COMPUTER-READABLE RECORD MEDIUM FOR SHARING CONTENT DURING VoIP-BASED CALL
KR20230144582A (en) Live streaming video-based interaction method and apparatus, device and storage medium
JP2023522123A (en) INFORMATION SHARING METHOD, DEVICE, ELECTRONIC DEVICE AND STORAGE MEDIUM
CN112055252A (en) Multi-screen interaction method and device, computer readable medium and electronic equipment
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
CN114173139A (en) Live broadcast interaction method, system and related device
CN112015506B (en) Content display method and device
CN109091866B (en) Display control method and device, computer readable medium and electronic equipment
CN113891135B (en) Multimedia data playing method and device, electronic equipment and storage medium
EP4274237A1 (en) Information display method and apparatus, and device and medium
CN115097984A (en) Interaction method, interaction device, electronic equipment and storage medium

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