Disclosure of Invention
The embodiment of the disclosure at least provides a method and a device for online video display.
In a first aspect, an embodiment of the present disclosure provides a method for online video display, including:
after determining that any participating end enters a target virtual room, judging whether a vacant first display position exists in a first display page or not; if the vacant first display position exists, displaying the first online video acquired by any participating end on the vacant first display position;
if the vacant first display position does not exist, the identification information of any participant end is added into a candidate display queue, and the remaining display time lengths corresponding to the participant ends are adjusted in real time according to the first online video display time lengths of the participant ends on the first display position respectively;
and when the remaining display duration of any participant end is zero, removing the first online video of the any participant end from the corresponding first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participant end corresponding to the selected target identification information at the first display position of the first display page.
In a possible embodiment, the displaying the first online video captured by any one of the participating terminals at the vacant first display position includes:
determining an empty first display position adjacent to a first display position currently displaying a first online video;
and displaying the first online video acquired by any one participant terminal at the determined vacant first display position.
In a possible implementation manner, adding the identification information of any participant to a candidate display queue includes:
adding the identification information of any participant end to the tail of the candidate display queue;
the selecting target identification information from the candidate show queue includes:
and selecting target identification information positioned at the head of the queue from the candidate display queue.
In a possible embodiment, after the first online video of any participant is removed from the first presentation position, the method further includes:
and adding the identification information of any participant end to the tail of the candidate display queue.
In a possible implementation manner, adjusting, in real time, remaining display durations corresponding to a plurality of participant ends according to first online video display durations of the plurality of participant ends at the first display position respectively includes:
determining a removal sequence corresponding to the plurality of participating ends according to first online video display durations of the plurality of participating ends at the first display positions respectively;
determining initial display durations corresponding to the plurality of participating terminals according to the removing sequence corresponding to the plurality of participating terminals;
and shortening the initial display duration corresponding to the plurality of participating terminals in real time, and determining the residual display duration.
In a possible embodiment, if there is no empty first display position, the method further comprises:
determining face state information of a user in a first online video acquired by a participant terminal entering the target virtual room;
and screening first online videos with the same number of first display positions in the interactive page based on the face state information, and displaying the screened first online videos at each first display position.
In a possible embodiment, the method further comprises:
and in response to a first trigger operation acting on any first display position in the first display page, removing the first online video displayed at any first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participant corresponding to the selected target identification information at the first display position of the first display page.
In a possible embodiment, the method further comprises:
responding to a second trigger operation acted on any participant terminal identification information in a participant terminal identification list in the first display page, and selecting a target first online video from the first online videos displayed at the first display positions, wherein the participant terminal identification list comprises identification information of participant terminals entering the target virtual room;
and removing the target first online video from the corresponding first display position, and displaying the first online video acquired by the participant corresponding to any participant identification information on the first display position of the first display page.
In a possible embodiment, the method further comprises:
and after the organization end is determined to enter the target virtual room, displaying a second online video acquired by the organization end on a second display position of the first display page.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for online video presentation, including:
the detection module is used for judging whether a vacant first display position exists in a first display page or not after any participant end is determined to enter a target virtual room;
the first display module is used for displaying the first online video acquired by any participating end on a vacant first display position if the vacant first display position exists;
the adjustment module is used for adding the identification information of any participant end into a candidate display queue if a vacant first display position does not exist, and adjusting the residual display time lengths corresponding to the participant ends in real time according to the first online video display time lengths of the participant ends on the first display position respectively;
and the second display module is used for removing the first online video of any participating end from the corresponding first display position when the remaining display duration of the participating end is zero, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participating end corresponding to the selected target identification information at the first display position of the first display page.
In a possible embodiment, the first presentation module, when presenting the first online video captured by any one of the participating terminals in the vacant first presentation position, is configured to:
determining an empty first display position adjacent to a first display position currently displaying a first online video;
and displaying the first online video acquired by any one participant terminal at the determined vacant first display position.
In a possible implementation manner, the adjusting module, when adding the identification information of any participant to the candidate display queue, is configured to:
adding the identification information of any participant end to the tail of the candidate display queue;
the second presentation module, when selecting the target identification information from the candidate presentation queue, is configured to:
and selecting target identification information positioned at the head of the queue from the candidate display queue.
In one possible embodiment, the first presentation module, after removing the first online video of any participant from the first presentation location, is further configured to:
and adding the identification information of any participant end to the tail of the candidate display queue.
In a possible implementation manner, the adjusting module, when adjusting the remaining display durations corresponding to the multiple participating ends in real time according to the first online video display duration of the multiple participating ends at the first display position, is configured to:
determining a removal sequence corresponding to the plurality of participating ends according to first online video display durations of the plurality of participating ends at the first display positions respectively;
determining initial display durations corresponding to the plurality of participating terminals according to the removing sequence corresponding to the plurality of participating terminals;
and shortening the initial display duration corresponding to the plurality of participating terminals in real time, and determining the residual display duration.
In a possible embodiment, if there is no empty first display position, the second display module is further configured to:
determining face state information of a user in a first online video acquired by a participant terminal entering the target virtual room;
and screening first online videos with the same number of first display positions in the interactive page based on the face state information, and displaying the screened first online videos at each first display position.
In a possible embodiment, the apparatus further comprises:
and the first response module is used for responding to a first trigger operation acted on any first display position in the first display page, removing the first online video displayed at any first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participation end corresponding to the selected target identification information at the first display position of the first display page.
In a possible implementation, the apparatus further includes a second response module, configured to:
responding to a second trigger operation acted on any participant terminal identification information in a participant terminal identification list in the first display page, and selecting a target first online video from the first online videos displayed at the first display positions, wherein the participant terminal identification list comprises identification information of participant terminals entering the target virtual room;
and removing the target first online video from the corresponding first display position, and displaying the first online video acquired by the participant corresponding to any participant identification information on the first display position of the first display page.
In a possible implementation manner, the first display module is further configured to:
and after the organization end is determined to enter the target virtual room, displaying a second online video acquired by the organization end on a second display position of the first display page.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
In the method and the device for online video display provided by the embodiment of the disclosure, a first display position in a first display page is used for displaying a first online video of a participant, and when it is determined that any participant enters a target virtual room and no vacant first display position exists in the first display page, the first online video displayed at the first display position can be adjusted in real time according to the remaining display duration of the first online video displayed at the current first display position, so that the first online videos of different participants can be displayed at the first display position. By the method, the number of the first online videos which can be displayed at the first display position is certain, so that the organization end can timely observe the real-time state of the user in the displayed first online videos, and in addition, the organization end is adjusted according to the candidate display queue when the first online videos displayed at the first display position are adjusted, so that the first online videos of different participation ends can be displayed at the first display position, and the organization end can be ensured to observe the real-time state of each participation end, and the interaction can be conveniently carried out according to the observation result.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
First, an application scenario to which the present disclosure is applicable is described. The method provided by the disclosure can be applied to an online video interaction scene, which includes an organization end and a plurality of participation ends, for example, the online video interaction scene may include an online conference scene, an online classroom scene, and the like, in the online conference scene, the organization end is a conference initiator, i.e., a host, and the participation ends are persons participating in a conference; in an online classroom scene, an organization end is a teacher end, and a participation end is a student end.
Taking the scene of the online classroom as an example, in the related art, generally, online videos of all students are displayed in a user interface, and if the number of students participating in the online classroom is large, for example, 100 students, the teacher has limited energy, so that when observing the learning states of the students through the online videos of the displayed student ends, the teacher cannot take into account the learning states of all students, and further the online video resources are wasted.
Based on this, an embodiment of the present disclosure provides an online video display method, where a first display position in a first display page is used to display a first online video of a participant, and when it is determined that there is no vacant first display position in the first display page after any participant enters a target virtual room, the first online video displayed at the first display position may be adjusted in real time according to a remaining display duration of the first online video displayed at the current first display position, so that the first online videos of different participants may be displayed at the first display position. By the method, the number of the first online videos which can be displayed at the first display position is fixed, so that the organization end can timely observe the real-time state of the user in the displayed first online videos, and in addition, the first online videos displayed at the first display position are adjusted according to the candidate display queue, so that the first online videos of different participation ends can be displayed at the first display position, the organization end can be ensured to observe the real-time state of each participation end, and the observation efficiency and the observation quality of the organization end to the participation ends are ensured.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In order to facilitate understanding of the embodiment, a detailed description is first given to an online video display method disclosed in the embodiments of the present disclosure, where the organization end and the participation end in the online video display method provided in the embodiments of the present disclosure are generally computer devices with certain computing capability equipped with a camera, and the computer devices include, for example, a smart phone, a tablet computer, a smart television, a personal computer, and the like.
In the following, the method for displaying the online video according to the embodiment of the present disclosure is described in detail, it should be noted that the online videos collected by the organization end or the participation end in the embodiment of the present disclosure are all online videos collected after authorization of the user.
Referring to fig. 1, a flow chart of a method for online video presentation provided by an embodiment of the present disclosure is schematically shown, where an execution subject of the method may be an organization end or a participation end, and the method includes the following steps:
step 101, after determining that any participant end enters a target virtual room, judging whether a vacant first display position exists in a first display page or not;
and 102, if the vacant first display position exists, displaying the first online video acquired by any participant terminal on the vacant first display position.
Step 103, if there is no vacant first display position, adding the identification information of any participant end into a candidate display queue, and adjusting the remaining display time lengths corresponding to the participant ends in real time according to the first online video display time lengths of the participant ends at the first display position respectively.
And 104, when the remaining display duration of any participant end is zero, removing the first online video of the participant end from the corresponding first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participant end corresponding to the selected target identification information at the first display position of the first display page.
The following describes steps 101 to 104 in detail.
For step 101,
In a possible implementation manner, the organization end may be configured to create a target virtual room, after the organization end creates the target virtual room, the server may directly obtain a second online video of the organization end, and then send the second online video to the organization end, and the organization end may display the received second online video at a third display position of the interactive page.
The determining that any participant enters the target virtual room may be that the server acquires a first online video of a participant corresponding to the target virtual room and sends the first online video to the organization end (or the participant), and the organization end (or the participant) may determine that the participant enters the target virtual room after receiving the first online video.
In a specific implementation, when the identification information of any participant end is added to the candidate display queue, the identification information of the participant end may be added to the tail of the candidate display queue, and when the target identification information is selected from the candidate display queue, the identification information at the head of the candidate display queue is selected as the target identification information.
Here, it should be noted that each time the identification information needs to be added to the candidate presentation queue, the identification information is added to the tail of the candidate presentation queue, and when the identification information needs to be selected from the candidate presentation queue, the identification information located at the head of the candidate presentation queue is selected. And when any participant end exits from the target virtual room, the identification information of the participant end is automatically deleted from the candidate display queue, and when the participant end is determined to enter the target virtual room again, the identification information of the participant end is added to the tail of the candidate display queue again.
After the first online video of any participant end is removed from the corresponding first display position, the identification information of any participant end can be adjusted to the position of the tail of the candidate display queue.
When the remaining display time lengths corresponding to the plurality of participating ends are adjusted in real time according to the first online video display time lengths of the plurality of participating ends respectively at the first display position, the removing sequence corresponding to the plurality of participating ends can be determined according to the first online video display time lengths of the plurality of participating ends respectively at the first display position, then the initial display time lengths corresponding to the plurality of participating ends are determined according to the removing sequence corresponding to the plurality of participating ends, then the initial display time lengths corresponding to the plurality of participating ends are shortened in real time, and further the remaining display time lengths are determined.
Specifically, when determining the removal sequence corresponding to each participant, the first online video with the long display duration may be removed first, for example, if the display durations of the first online videos at the first display position are respectively a > B > C > D > E > F in the order from long to short, the corresponding removal sequence is also A, B, C, D, E, F.
In addition, when the first online video is displayed, the first online video to be displayed is displayed at an empty first display position adjacent to the first display position of the currently displayed first online video, so that the removal sequence can be determined according to the first display position. For example, if the first online video is displayed at the leftmost first display position, the display duration of the first online video at any two first display positions is longer than that of the first online video at the right first display position, and therefore, the removal order can be directly determined according to the left-to-right order of the first display positions.
When the initial display durations corresponding to the multiple participating ends are determined according to the removing sequence corresponding to the multiple participating ends, for each participating end, the number of participating ends before the participating end in the removing sequence may be determined, and then the initial display duration of the participating end is determined according to the number of participating ends before the participating end in the removing sequence.
For example, if the number of participants before a participant in the removal sequence is N, it may be determined that the initial presentation time length corresponding to the participant is (N-1) × 30 seconds, and if the removal sequence is A, B, C, D, E, F, the initial presentation time lengths are 30 seconds, 60 seconds, 90 seconds, 120 seconds, 150 seconds, and 180 seconds, respectively.
Here, it should be noted that the initial display duration may be understood as remaining display duration or display countdown, and the shortening of the initial display durations corresponding to the multiple participating terminals in real time may be understood as reducing the display countdown in real time.
When the remaining display duration of any participant terminal is zero, the first online video of any participant terminal can be removed from the corresponding first display position, and the target identification information is selected from the candidate display queue, and then, displaying the first online video acquired by the target participant end corresponding to the selected target representation information at a first display position of a first display page, wherein, when the first online video collected by the target participant is displayed at the first display position of the first display page, the first online video collected by the target participating end may be displayed at the first display position where the first online video with the remaining display duration of zero is removed, or after the currently displayed first online video is entirely translated to the first display position where the first online video is removed, and displaying the first online video acquired by the target participating end on a first display position which is vacant after the translation.
For example, the first display position in the first display page may be as shown in fig. 3a, when it is determined that the first participant enters the target virtual room, the first online video collected by the first participant is displayed at the first display position, when it is determined that the second participant enters the virtual room, the first online video collected by the second participant is displayed at the second first display position, and so on, the first display page includes 6 first display positions, when it is determined that the 7 th participant enters the target virtual room, the initial display time periods from the first display position to the sixth first display position are respectively 30 seconds, 60 seconds, 90 seconds, 120 seconds, 150 seconds, and 180 seconds, after the remaining display time period of the first online video at the first display position is zero, as shown in fig. 3b, the first online video at the first display position is removed, and integrally translating the first online videos on the remaining first display positions to the left, and then displaying the first online video acquired by the 7 th participating end on the sixth first display position, wherein the initial display time length of the first online video acquired by the 7 th participating end is 180 seconds, and the remaining display time lengths are respectively 30 seconds, 60 seconds, 90 seconds, 120 seconds and 150 seconds after integrally translating the first online videos on the other first display positions to the left.
In addition, when no vacant first display position exists, the face state information corresponding to each first online video can be determined, then the first online videos with the same number of first display positions on the interactive page are screened according to the face state information of each first online video, and the screened first online videos are displayed at each first display position.
When the face state information corresponding to the first online video is determined, the organization end (or the participation end) sends a face state information acquisition request to the server, then the server executes a process of recognizing the face state information, and the server returns the face state information to the organization end (or the participation end) after the recognition is completed.
The face state information may include at least one of facial expression information, attention state information, and the like, where the attention state information is used to indicate the attention degree of the participating end user with respect to the content currently displayed in the file display area.
When the first online videos are screened according to the face state information of each first online video, the first online videos of which the face expression information is the preset expression information and/or the attention state information meets the preset conditions can be screened to be used as the first online videos displayed at the first display position.
In another possible implementation manner of the present disclosure, when the execution subject of the scheme is an organization end, the first trigger operation acting on any first display position in the first display page may be further responded, then the first online video displayed at the first display position is removed, the target identification information is selected from the candidate display queue, and the first online video acquired by the target participation end corresponding to the selected target identification information is displayed at the first display position of the first display page.
After the first trigger operation for any first display position in the first display page is detected, an exemplary submenu as shown in fig. 4 may be presented, and the user may select in the submenu, and after the user selects the "down" button, the first online video displayed at the first display position may be removed.
After the content of the first online video displayed at the first display position changes, the organization end may generate content update information, and then synchronize the content update information to each participating end through the server, so that the participating end updates the first online video at the first display position in the display page of the participating end according to the content update information.
In another possible implementation manner of the present disclosure, when the execution subject of the scheme is an organization end, a target first online video may be selected from the first online videos displayed at each first display position in response to a second trigger operation that is applied to any one of the participant end identification information in the participant end identification list in the first display page, and then the target first online video is removed from the corresponding first display position, and a first online video collected by a participant end corresponding to any one of the participant end identification information is displayed at the first display position of the first display page.
The participant end identification list may include identification information of all participant ends entering the target virtual room, an arrangement order of the identification information of the participant ends in the participant end identification list may be determined according to a time when each participant end first enters the target virtual room, and the participant end identification list may not change after being generated.
The participating end identification list is different from the candidate display queue in that identification information of participating ends in the candidate display queue is identification information of all participating ends entering the target virtual room at the current moment, the identification information of the participating ends in the participating end identification list is identification information of all participating ends entering the target virtual room from the creation of the target virtual room to the current moment, and the identification information of the participating ends in the candidate display queue exists in the participating end identification list.
The second trigger operation acting on the participating end identifier list includes, but is not limited to, single-click, double-click, long-press, re-press and the like, and when a target first online video is selected from the first online videos displayed at each first display position in response to the second trigger operation acting on any one participating end identifier information in the participating end identifier list in the first display page, the first online video displayed at each first display position can be selected, and the first online video with the least remaining playing time is used as the target first online video.
When the first online video acquired by the participating end corresponding to any one of the participating end identification information is displayed at the first display position of the first display page, in a possible implementation manner, the first online video acquired by the participating end corresponding to any one of the participating end identification information is displayed at the first display position from which the target first online video is removed, in another possible implementation manner, after the target first online video is removed, the remaining other first online videos are translated, and then the first online video acquired by the participating end corresponding to any one of the participating end identification information is displayed at the vacant first display position after the translation.
After the content of the first online video displayed at the first display position changes, the organization end may generate content update information, and then synchronize the content update information to each participating end through the server, so that the participating end updates the first online video at the first display position in the display page of the participating end according to the content update information.
In the online video display method provided by the embodiment of the disclosure, a first display position in a first display page is used for displaying a first online video of a participant, and when it is determined that any participant enters a target virtual room and no vacant first display position exists in the first display page, the first online video displayed at the first display position can be adjusted in real time according to the remaining display duration of the first online video displayed at the current first display position, so that the first online videos of different participants can be displayed at the first display position. By the method, the number of the first online videos which can be displayed at the first display position is certain, so that the organization end can timely observe the real-time state of the user in the displayed first online videos, and in addition, the organization end is adjusted according to the candidate display queue when the first online videos displayed at the first display position are adjusted, so that the first online videos of different participation ends can be displayed at the first display position, and the organization end can be ensured to observe the real-time state of each participation end, and the interaction can be conveniently carried out according to the observation result.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an online video display device corresponding to the online video display method is also provided in the embodiments of the present disclosure, and because the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the online video display method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 5, there is shown a schematic architecture diagram of an apparatus for online video presentation according to an embodiment of the present disclosure, the apparatus includes: a detection module 501, a first display module 502, an adjustment module 503, a second display module 504, a first response module 505, and a second response module 506; wherein the content of the first and second substances,
the detecting module 501 is configured to determine whether a vacant first display position exists in a first display page after it is determined that any one of the participating terminals enters a target virtual room;
a first display module 502, configured to display the first online video acquired by any participating end at a vacant first display position if the vacant first display position exists;
an adjusting module 503, configured to add, if there is no vacant first display position, the identification information of any participant end to the candidate display queue, and adjust, in real time, remaining display durations corresponding to the multiple participant ends according to first online video display durations of the multiple participant ends at the first display position, respectively;
the second display module 504 is configured to, when the remaining display duration of any participant end is zero, remove the first online video of the any participant end from the corresponding first display position, select the target identification information from the candidate display queue, and display the first online video acquired by the target participant end corresponding to the selected target identification information at the first display position of the first display page.
In a possible embodiment, the first displaying module 502, when displaying the first online video captured by any one of the participating terminals in the vacant first displaying position, is configured to:
determining an empty first display position adjacent to a first display position currently displaying a first online video;
and displaying the first online video acquired by any one participant terminal at the determined vacant first display position.
In a possible implementation manner, the adjusting module 503, when adding the identification information of any participant end into the candidate display queue, is configured to:
adding the identification information of any participant end to the tail of the candidate display queue;
the second presentation module 504, when selecting the target identification information from the candidate presentation queue, is configured to:
and selecting target identification information positioned at the head of the queue from the candidate display queue.
In one possible embodiment, the first presentation module 502, after removing the first online video of any participant from the first presentation position, is further configured to:
and adding the identification information of any participant end to the tail of the candidate display queue.
In a possible implementation manner, the adjusting module 503, when adjusting the remaining display durations corresponding to the multiple participating ends in real time according to the first online video display duration of the multiple participating ends at the first display position, is configured to:
determining a removal sequence corresponding to the plurality of participating ends according to first online video display durations of the plurality of participating ends at the first display positions respectively;
determining initial display durations corresponding to the plurality of participating terminals according to the removing sequence corresponding to the plurality of participating terminals;
and shortening the initial display duration corresponding to the plurality of participating terminals in real time, and determining the residual display duration.
In a possible embodiment, if there is no empty first display position, the second display module 504 is further configured to:
determining face state information of a user in a first online video acquired by a participant terminal entering the target virtual room;
and screening first online videos with the same number of first display positions in the interactive page based on the face state information, and displaying the screened first online videos at each first display position.
In a possible embodiment, the apparatus further comprises:
a first response module 505, configured to, in response to a first trigger operation applied to any one first display position in the first display page, remove the first online video displayed at the any one first display position, select target identification information from the candidate display queue, and display the first online video acquired by the target participating end corresponding to the selected target identification information at the first display position of the first display page.
In a possible implementation, the apparatus further includes a second response module 506, where the second response module 506 is configured to:
responding to a second trigger operation acted on any participant terminal identification information in a participant terminal identification list in the first display page, and selecting a target first online video from the first online videos displayed at the first display positions, wherein the participant terminal identification list comprises identification information of participant terminals entering the target virtual room;
and removing the target first online video from the corresponding first display position, and displaying the first online video acquired by the participant corresponding to any participant identification information on the first display position of the first display page.
In a possible implementation manner, the first display module 502 is further configured to:
and after the organization end is determined to enter the target virtual room, displaying a second online video acquired by the organization end on a second display position of the first display page.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the application also provides computer equipment. Referring to fig. 6, a schematic structural diagram of a computer device 600 provided in the embodiment of the present application includes a processor 601, a memory 602, and a bus 603. The memory 602 is used for storing execution instructions and includes a memory 6021 and an external memory 6022; the memory 6021 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 601 and the data exchanged with the external memory 6022 such as a hard disk, the processor 601 exchanges data with the external memory 6022 through the memory 6021, and when the computer device 600 operates, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:
after determining that any participating end enters a target virtual room, judging whether a vacant first display position exists in a first display page or not;
if the vacant first display position exists, displaying the first online video acquired by any participating end on the vacant first display position;
if the vacant first display position does not exist, the identification information of any participant end is added into a candidate display queue, and the remaining display time lengths corresponding to the participant ends are adjusted in real time according to the first online video display time lengths of the participant ends on the first display position respectively;
and when the remaining display duration of any participant end is zero, removing the first online video of the any participant end from the corresponding first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participant end corresponding to the selected target identification information at the first display position of the first display page.
In a possible embodiment, the instructions executed by the processor 601 for displaying the first online video captured by any one of the participating terminals at the vacant first display position include:
determining an empty first display position adjacent to a first display position currently displaying a first online video;
and displaying the first online video acquired by any one participant terminal at the determined vacant first display position.
In a possible implementation manner, the adding, in the instruction executed by the processor 601, the identification information of any participant to the candidate display queue includes:
adding the identification information of any participant end to the tail of the candidate display queue;
the selecting target identification information from the candidate show queue includes:
and selecting target identification information positioned at the head of the queue from the candidate display queue.
In a possible implementation manner, the instructions executed by the processor 601, after removing the first online video of any participant from the first display position, further include:
and adding the identification information of any participant end to the tail of the candidate display queue.
In a possible implementation manner, in the instructions executed by the processor 601, adjusting the remaining display durations corresponding to the multiple participating terminals in real time according to the first online video display duration of the multiple participating terminals at the first display position respectively includes:
determining a removal sequence corresponding to the plurality of participating ends according to first online video display durations of the plurality of participating ends at the first display positions respectively;
determining initial display durations corresponding to the plurality of participating terminals according to the removing sequence corresponding to the plurality of participating terminals;
and shortening the initial display duration corresponding to the plurality of participating terminals in real time, and determining the residual display duration.
In a possible implementation manner, if there is no vacant first display position in the instructions executed by the processor 601, the method further includes:
determining face state information of a user in a first online video acquired by a participant terminal entering the target virtual room;
and screening first online videos with the same number of first display positions in the interactive page based on the face state information, and displaying the screened first online videos at each first display position.
In a possible implementation, in the instructions executed by the processor 601, the method further includes:
and in response to a first trigger operation acting on any first display position in the first display page, removing the first online video displayed at any first display position, selecting target identification information from the candidate display queue, and displaying the first online video acquired by the target participant corresponding to the selected target identification information at the first display position of the first display page.
In a possible implementation, in the instructions executed by the processor 601, the method further includes:
responding to a second trigger operation acted on any participant terminal identification information in a participant terminal identification list in the first display page, and selecting a target first online video from the first online videos displayed at the first display positions, wherein the participant terminal identification list comprises identification information of participant terminals entering the target virtual room;
and removing the target first online video from the corresponding first display position, and displaying the first online video acquired by the participant corresponding to any participant identification information on the first display position of the first display page.
In a possible implementation, in the instructions executed by the processor 601, the method further includes:
and after the organization end is determined to enter the target virtual room, displaying a second online video acquired by the organization end on a second display position of the first display page.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method for online video presentation described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product of the online video display method provided in the embodiments of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the online video display method described in the above method embodiments, which may be referred to in the above method embodiments specifically, and are not described herein again.
The embodiments of the present disclosure also provide a computer program, which when executed by a processor implements any one of the methods of the foregoing embodiments. The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.