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:
acquiring first online videos respectively acquired by a plurality of participating ends entering a target virtual room;
respectively displaying the first online videos of different participating ends at each first display position in an interactive page;
responding to a trigger operation acted on any one first display position, and moving a first online video displayed on any one first display position to a second display position of the interactive page;
and the interaction authority of the participant end when the corresponding first online video is positioned at the first display position is different from the interaction authority of the participant end when the corresponding first online video is positioned at the second display position.
In one possible embodiment, moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions comprises:
and responding to a trigger operation acted on any first display position, determining a moved second display position according to the attribute information of the presentation content currently on the interactive page, and moving the first online video displayed on any first display position to the determined second display position.
In one possible embodiment, the presentation attribute information includes layout position information of the presentation in the file display area, and/or presentation type information.
In one possible embodiment, moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions comprises:
and responding to a trigger operation acted on any first display position, and moving a first online video displayed on any first display position to a second display position matched with the trigger operation on the interactive page according to the corresponding relation between different trigger operations and the second display position.
In a possible embodiment, the different trigger operation comprises a drag operation;
responding to a dragging operation acted on any first display position, moving a first online video displayed on any first display position to a second display position matched with the dragging operation, and comprising the following steps:
and responding to the dragging operation acted on any first display position, determining a stop position of the dragging operation, taking the stop position as the second display position, and moving the first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, the different triggering operations include a click operation;
responding to a click operation acted on any one first display position, moving a first online video displayed on any one first display position to a second display position matched with the click operation, and comprising the following steps:
and responding to a click operation acted on any first display position, taking a preset position on the interactive page as a second display position, and moving a first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, the displaying the first online videos of different participants at respective first display positions in an interactive page includes:
if the number of the collected first online videos is larger than the number of the first display positions on the interactive page, determining face state information corresponding to each first online video;
and screening out the first online videos with the number equal to that of the first display positions on the interactive page according to the face state information in each first online video, and displaying the screened first online videos on each first display position.
In a possible embodiment, the method further comprises:
and responding to a trigger operation aiming at the identification information of any participant in the participant identification list, and displaying the first online video acquired by any participant at the second display position.
In a possible embodiment, after moving the first online video displayed in any of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any of the first display positions, the method further includes:
generating position updating information according to the second display position of the first online video after the first online video moves; the position updating information comprises identification information of a participant end for collecting the first online video and the second display position after movement;
and synchronizing the position updating information to a plurality of participating terminals through a server.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for online video presentation, including:
the acquisition module is used for acquiring first online videos which are respectively acquired by a plurality of participating ends entering a target virtual room;
the display module is used for respectively displaying the first online videos of different participating ends at each first display position in the interactive page;
the moving module is used for responding to the triggering operation acted on any first display position and moving the first online video displayed on any first display position to a second display position of the interactive page;
and the interaction authority of the participant end when the corresponding first online video is positioned at the first display position is different from the interaction authority of the participant end when the corresponding first online video is positioned at the second display position.
In one possible embodiment, the moving module, when moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the triggering operation acting on any one of the first display positions, is configured to:
and responding to a trigger operation acted on any first display position, determining a moved second display position according to the attribute information of the presentation content currently on the interactive page, and moving the first online video displayed on any first display position to the determined second display position.
In one possible embodiment, the presentation attribute information includes layout position information of the presentation in the file display area, and/or presentation type information.
In one possible embodiment, the moving module, when moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the triggering operation acting on any one of the first display positions, is configured to:
and responding to a trigger operation acted on any first display position, and moving a first online video displayed on any first display position to a second display position matched with the trigger operation on the interactive page according to the corresponding relation between different trigger operations and the second display position.
In a possible embodiment, the different trigger operation comprises a drag operation;
the moving module, when responding to the dragging operation acting on any of the first display positions, moves the first online video displayed on any of the first display positions to a second display position matched with the dragging operation, is configured to:
and responding to the dragging operation acted on any first display position, determining a stop position of the dragging operation, taking the stop position as the second display position, and moving the first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, the different triggering operations include a click operation;
the moving module, when responding to a click operation acting on any of the first display positions, moves a first online video displayed on any of the first display positions to a second display position matched with the click operation, is configured to:
and responding to a click operation acted on any first display position, taking a preset position on the interactive page as a second display position, and moving a first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, when the first online videos of different participants are respectively displayed at respective first display positions in the interactive page, the display module is configured to:
if the number of the collected first online videos is larger than the number of the first display positions on the interactive page, determining face state information corresponding to each first online video;
and screening out the first online videos with the number equal to that of the first display positions on the interactive page according to the face state information in each first online video, and displaying the screened first online videos on each first display position.
In a possible embodiment, the display module is further configured to:
and responding to a trigger operation aiming at the identification information of any participant in the participant identification list, and displaying the first online video acquired by any participant at the second display position.
In one possible embodiment, after the first online video displayed in any one of the first display positions is moved to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions, the moving module is further configured to:
generating position updating information according to the second display position of the first online video after the first online video moves; the position updating information comprises identification information of a participant end for collecting the first online video and the second display position after movement;
and synchronizing the position updating information to a plurality of participating terminals through a server.
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 online video display method provided by the embodiment of the disclosure, the display position of the first online video of the participant terminal can be automatically changed in response to the trigger operation acting on any first display position, and the interaction authority of the participant terminal can be updated based on the change of the display position of the first online video of the participant terminal, so that the authority setting of the participant terminal by the organization terminal is not needed, the interaction operation flow between the participant terminal and the interaction terminal is simplified, the interaction efficiency is improved, and the fluency of the online teaching progress is further improved.
Furthermore, when the trigger operation acted on any first display position is responded, the first online video displayed on any first display position can be moved to different second display positions according to different types of the trigger operation, and the interactive display effect is enriched.
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.
Use the scene in online classroom as an example, among the correlation technique, when carrying out online interaction between mr and the student, need mr to go to change student's interactive permission, for example if mr teaching in-process whole member student has all carried out the silence, and when mr need and a certain student when carrying out the interaction, then need mr to go to manual permission setting to non-silence with this student, can carry out the interaction once more after the setting is accomplished. In a possible situation, if the teacher forgets to manually set the authority of the student, the interaction between the teacher and the student may not be performed, thereby affecting the interaction effect between the teacher and the student.
In addition, in the interaction process of the teacher and the students, the teacher needs to designate a certain student to interact through voice, so that the students interacting with the teacher do not have any difference with other students, and the interaction effect is single.
Based on this, the embodiment of the present disclosure provides an online video display method, which can automatically change a display position of a first online video of a participant end in response to a trigger operation acting on any first display position, and can update an interaction authority of the participant end based on the change of the display position of the first online video of the participant end, so that an organization end is not required to perform authority setting on the participant end, an interaction operation flow between the participant end and an interaction end is simplified, interaction efficiency is improved, and smoothness of an online teaching progress is further improved.
Furthermore, when the trigger operation acted on any first display position is responded, the first online video displayed on any first display position can be moved to different second display positions according to different types of the trigger operation, and the interactive display effect is enriched.
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.
To facilitate understanding of the embodiment, first, a detailed description is given to an online video display method disclosed in the embodiment of the present disclosure, where both the organization end and the participation end in the online video display method provided in the embodiment of the present disclosure belong to a user end, and the user end is generally a computer device equipped with a camera and having a certain computing capability, and the computer device includes, 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 flowchart of a method for online video presentation according to an embodiment of the present disclosure is applied to an organization end, where the method includes steps 101 to 103, specifically:
step 101, first online videos respectively collected by a plurality of participating terminals entering a target virtual room are obtained.
And 102, respectively displaying the first online videos of different participating terminals at each first display position in the interactive page.
103, responding to a trigger operation acted on any first display position, and moving a first online video displayed on any first display position to a second display position of the interactive page; and the interaction authority of the participant end when the corresponding first online video is positioned at the first display position is different from the interaction authority of the participant end when the corresponding first online video is positioned at the second display position.
The following describes steps 101 to 103 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 obtaining of the first online videos respectively collected by the multiple participating terminals entering the target virtual room may be that the server obtains a second online video of the participating terminal corresponding to the target virtual room, and then sends the second online video to the organization terminal.
With respect to step 102,
When the first online videos of different participating ends are respectively displayed at the first display positions of the organization end, the first online videos can be displayed according to the number of the received first online videos.
Specifically, after it is detected that any participant end enters a target virtual room, whether a vacant first display position exists in an interactive page or not can be detected, if the vacant first display position exists, a detected first online video acquired by any participant end is displayed on the vacant first display position, if the vacant first display position does not exist, the detected identification information of any participant end is added to the tail of a candidate display queue, when the remaining display time length of any first online video currently displayed on the first display position is zero, the first online video is removed from the first display position, and then the first online video acquired by the participant end corresponding to the identification information of the head of the candidate display queue is displayed on the first display position.
If there is a vacant first display position, when the detected first online video collected by any participant end is displayed at the vacant first display position, a target first display position adjacent to the first display position of the currently displayed first online video may be determined, then the detected first online video collected by any participant end is displayed at the target first display position, and if the detected any participant end is the first participant end entering the target virtual room, the participant end is displayed at the leftmost or rightmost first display position.
When the number of participating ends entering the target virtual room is larger than that of the first display positions in the interactive page, for the first online videos currently displayed at the first display positions, the initial display duration of each first online video can be determined according to the time of the participating end corresponding to the first online video entering the target virtual room, then the initial display duration is shortened in real time, after any participating end is detected to enter the target virtual room, the remaining display duration of the first online video currently displayed at the first display position can be determined, when the remaining display duration of any first online video is zero, the first online video is removed from the first display position, and the first online video acquired by the acquisition end corresponding to the identification information of the head of the queue in the candidate display queue is displayed at the first display position.
When the first online video is removed from the first display position, and the first online video acquired by the acquisition end corresponding to the identification information of the head of the queue in the candidate display queue is displayed at the first display position, the rest of the first online videos with the current remaining display duration not equal to zero may be translated in the direction of the first display position from which the first online video is removed, and the first online video acquired by the acquisition end corresponding to the identification information of the head of the queue in the candidate display queue is displayed at the first display position which is vacant after the translation.
In another possible implementation manner of the present disclosure, when the first online videos of different participating ends are respectively displayed at each first display position in the interactive page, if the number of the acquired first online videos is not greater than the number of the first display positions, the received first online videos acquired by all the participating ends can be directly displayed at the first display positions respectively; if the number of the collected first online videos is larger than the number of the first display positions, face state information corresponding to each first online video can be determined, then the first online videos with the same number of the 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 on each first display position.
When the face state information corresponding to the first online video is determined, the organization 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 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.
For step 103,
The types of the trigger operations on the first display positions are different, and the second display positions are different, so that the display effect of the first online video of the participating end can be enriched.
In one embodiment, when the first online video displayed in any first display position is moved to the second display position of the interactive page in response to the trigger operation acting on any first display position, the trigger operation acting on any first display position may be responded, and then the first online video displayed in any first display position is moved to the second display position matched with the trigger operation on the interactive page according to the corresponding relationship between different trigger operations and the second display position.
Here, there may be a plurality of types of trigger operations, and the second display positions corresponding to different trigger operations are different, and the following cases may be specifically classified:
in case 1, the trigger operation includes a drag operation.
When the trigger operation includes a drag operation, when the first online video displayed at any first display position is moved to a second display position of the interactive page in response to the trigger operation acting at any first display position, a stop position of the drag operation may be determined first, and then the stop position is used as the second display position, and the first online video displayed at any first display position is moved to the second display position of the interactive page.
In addition, when the first online video displayed at any one of the first display positions is moved to a second display position of the interactive page, the displayed first online video can be amplified to a preset size and then displayed at the determined second display position.
For example, the interactive page may be as shown in fig. 2, where in fig. 2, six first display positions are included, and after the first online video at the third first display position is dragged, the first online video may be displayed at a position where the dragging operation is stopped.
After the first online video is dragged, indication information may be added to the first display position corresponding to the first online video to indicate that the first online video at the first display position is displayed at another position, as shown in fig. 2, after the first online video at the third first display position is displayed at the second display position, there may be indication information that "a star has been out of the mirror" at the third first display position.
Case 2, the trigger operation includes a click operation.
When the trigger operation includes a click operation, when the trigger operation is performed in any first display position, the trigger operation may be performed in any first display position, then the preset position on the interactive page is used as a second display position, and the first online video displayed in any first display position is moved to the second display position of the interactive page.
The click operation acting on any first display position may include any one of a first click operation acting on any first display position and a second click operation acting on any first display position, and the click operation may include one of the following operations: click, double click, long press, heavy press, etc., the first click operation and the second click operation being different click operations.
Specifically, in response to a first click operation acting on any first display position, the sub-menu may be displayed at a position on the interactive page corresponding to the any first display position, as shown in fig. 3a, after the user clicks a "go to the mirror" button in the sub-menu, the first online video displayed at the any first display position may be displayed at a preset position.
When responding to the second click operation acting on any first display position, the first online video displayed on any first display position can be directly displayed at the preset position. After the first online video at any one of the first display positions is displayed at the preset position, the interactive page may be as shown in fig. 3 b.
In another embodiment of the present disclosure, when the first online video displayed in any first display position is moved to the second display position of the interactive page in response to the trigger operation acting on any first display position, the moved second display position may be determined according to the attribute information of the content currently being displayed on the interactive page, and the first online video displayed in any first display position is moved to the determined second display position.
The attribute information of the presentation content comprises layout position information of the presentation content in the file display area and/or type information of the presentation content.
Specifically, the presentation content is content displayed in a file display area, for example, in an online classroom scene, the presentation content may be courseware, and in an online meeting scene, the presentation content may be a displayed document, and the like.
When the attribute information of the demonstration content comprises layout position information of the demonstration content in the file display area, determining a second display position after movement according to the attribute information of the demonstration content on the current interactive page, detecting a blank position area (namely an area without characters and pictures) in the file display area, and determining the blank position area as the second display position after movement when detecting that the area of the blank area exceeds a preset area; when the area of the blank position area is detected not to exceed the preset area, the default position can be determined as the second display position after the movement. Wherein the predetermined area may be an area size of the default position.
After the blank position area is determined as the second presentation position, the first online video method may be presented on the blank position area after being scaled to the same size as the blank position area.
In this way, the method for displaying the first online video can be enriched, and when the first online video is displayed on the blank position area, the interaction between the organization end and the participation end is more convenient.
When the attribute information of the presentation content includes the attribute information of the presentation content, the moved second display position is determined according to the attribute information of the presentation content on the current interactive page, which may be that when the attribute information of the presentation content is detected to be the first type information, the default position is determined to be the second display position, and when the attribute information of the presentation content is detected to be the second type information, the file display area is determined to be the second display position.
For example, in an application scenario of an online classroom, the first type of information may be a type of practice problem, in which case, a teacher may need to interact with a student, for example, to let the student answer a question, in which case, the first online video may be displayed in a default position, so that the student can see courseware displayed in the file display area while answering the question; the second type of information may be other types than the exercise type, for example, the second type of information may be pictures or characters, at this time, the teacher may need to interact with the students but does not need the students to watch the courseware displayed in the file display area, and at this time, the file display area may be determined as the second display position, so as to achieve a more intuitive interaction effect.
It should be noted that the default position and the file display area are two different position areas, after the file display area is determined as the second display position, the first online video may be amplified and then displayed at the second display position, and the amplified size may be the same as the size of the file display area.
In addition, a participating end identification list is also displayed in the interactive page, the participating end identification list can include identification information of all participating ends entering the target virtual room, the arrangement sequence of the identification information of the participating ends in the participating end identification list can be determined according to the time when each participating end enters the target virtual room for the first time, and the participating end identification list can not be changed after being generated.
The participating end identifier list is different from the candidate display queue described in step 102 in that the identifier information of the participating ends in the candidate display queue is the identifier information of all participating ends entering the target virtual room at the current time, the identifier information of the participating ends in the participating end identifier list is the identifier information of all participating ends entering the target virtual room from the creation of the target virtual room to the current time, and the identifier information of the participating ends in the candidate display queue exists in the participating end identifier list.
In another possible implementation manner of the present application, a trigger operation for identification information of any participant in the participant identification list may be further performed, and then the first online video collected by any participant is displayed at the second display position.
Specifically, the triggering operation for the identification information of any participant in the participant identification list may be any one of a single click, a double click, a long press, a double press, and the like, and after the triggering operation for the identification information of any participant in the participant identification list is responded, the preset position in the interactive page may be determined as the second display position, and the first online video collected by any participant is displayed at the second display position.
In another possible implementation manner of the present application, after a trigger operation for the identification information of any one of the participating terminals in the participating terminal identification list is responded, a sub-menu corresponding to the display state of the participating terminal may be displayed in the interactive page.
Specifically, if the first online video acquired by the participating end corresponding to the identification information corresponding to the trigger operation is displayed at the first display position, the displayed submenu may include a "next stage" button and a "go out of the mirror" button, and if it is detected that the user clicks the "go out of the mirror" button, the first online video acquired by the participating end may be directly displayed at the second display position (i.e., the preset position); if it is detected that the user clicks a "next stage" button, the first online video acquired by the participant terminal may be removed from the first display position, and the first online video acquired by the participant terminal corresponding to the identification information at the head position of the candidate display queue is displayed at the first display position.
If the first online video acquired by the participant terminal corresponding to the identification information corresponding to the trigger operation is not displayed at the first display position, the displayed submenu may include a "go to the desk" button and a "go out of the mirror" button, and if it is detected that the user clicks the "go out of the mirror" button, the first online video acquired by the participant terminal may be directly displayed at a second display position (i.e., a preset position); if the user is detected to click the 'landing' button, the first online video with the shortest remaining display time in the first online videos currently displayed at the first display position can be removed, and the first online videos collected by the participating end are displayed at the first display position.
It should be noted that, after the organization end performs an operation on the first online video, it indicates that a user corresponding to the organization end wishes to interact with a user of the participant end corresponding to the first online video, and therefore, the interaction right of the participant end when the corresponding first online video is located at the first display position is different from the interaction right of the participant end when the corresponding first online video is located at the second display position, and the interaction right of the participant end when the corresponding first online video is located at the second display position is higher than the interaction right of the participant end when the corresponding first online video is located at the first display position.
In practical application, the first online video is displayed at the first display position, and the purpose is that the organization end can observe the state of each participant end in real time through the displayed first online video, and when the organization end needs to interact with the participant ends, the organization end needs to manually select the participant ends.
When the display position of the first online video of the participating end moves from the first display position to the second display position, the interaction authority of the participating end also changes, for example, when the first online video of the participating end is displayed at the first display position, the participating end may only display the acquired first online video picture, and the audio of the participating end cannot be received by the organization end and other participating ends, and when the first online video of the participating end is displayed at the second display position, the participating end can display both the picture of the first online video and the audio of the participating end.
Here, the second presentation position may include a plurality, and thus, the first online video of the participant terminal presented at the second presentation position may also have a plurality.
In addition, after responding to a trigger operation acting on any first display position, after a first online video displayed on any first display position is moved to a second display position of the interactive page, position updating information can be generated according to the second display position of the first online video after the first online video is moved, the position updating information comprises identification information of a participant terminal acquiring the first online video and the second display position after the first online video is moved, then the position updating information is synchronized to a plurality of participant terminals through a server, and the participant terminal can update the interactive page of the participant terminal according to the position updating information after receiving the position updating information.
The interactive page of the participating end and the content displayed in the interactive page may be the same, but the display positions may be different, for example, the interactive page of the organizing end may be as shown in fig. 4, and includes a first display position for displaying the first online video acquired by the participating end, a second display position for displaying the second online video acquired by the organizing end, a participating end identifier list, and a file display area, where the participating end identifier list and the third display position, and the preset positions in the interactive page are located in the same position area; similarly, the interactive page of the participating end has a display position corresponding to the first display position, the third display position and the file display area of the organizing end, and the corresponding relationship can be as shown in fig. 5a, when the first online video acquired by any participating end is displayed at the preset position, the corresponding relationship between the preset display position in the interactive page and the preset display position in the interactive page of the participating end can be as shown in fig. 5b, and at this time, the first online video acquired by the participating end will not be displayed in the interactive page of the participating end any more.
In addition, as shown in the interface shown in fig. 5b, the interactive interface of each participant end may include a "lift" button, and the user may request interaction with the organization end through the "lift" button in the interactive interface of the participant end.
In the online video display method provided by the embodiment of the disclosure, the display position of the first online video of the participant terminal can be automatically changed in response to the trigger operation acting on any first display position, and the interaction authority of the participant terminal can be updated based on the change of the display position of the first online video of the participant terminal, so that the authority setting of the participant terminal by the organization terminal is not needed, the interaction operation flow between the participant terminal and the interaction terminal is simplified, the interaction efficiency is improved, and the fluency of the online teaching progress is further improved.
Furthermore, when the trigger operation acted on any first display position is responded, the first online video displayed on any first display position can be moved to different second display positions according to different types of the trigger operation, and the interactive display effect is enriched.
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. 6, 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: an acquisition module 601, a display module 602, and a moving module 603; wherein the content of the first and second substances,
an obtaining module 601, configured to obtain first online videos respectively collected by multiple participating ends entering a target virtual room;
a display module 602, configured to respectively display the first online videos of different participating ends at each first display position in an interactive page;
a moving module 603, configured to, in response to a trigger operation acting on any one of the first display positions, move a first online video displayed in any one of the first display positions to a second display position of the interactive page;
and the interaction authority of the participant end when the corresponding first online video is positioned at the first display position is different from the interaction authority of the participant end when the corresponding first online video is positioned at the second display position.
In a possible embodiment, the moving module 603, when moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions, is configured to:
and responding to a trigger operation acted on any first display position, determining a moved second display position according to the attribute information of the presentation content currently on the interactive page, and moving the first online video displayed on any first display position to the determined second display position.
In one possible embodiment, the presentation attribute information includes layout position information of the presentation in the file display area, and/or presentation type information.
In a possible embodiment, the moving module 603, when moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions, is configured to:
and responding to a trigger operation acted on any first display position, and moving a first online video displayed on any first display position to a second display position matched with the trigger operation on the interactive page according to the corresponding relation between different trigger operations and the second display position.
In a possible embodiment, the different trigger operation comprises a drag operation;
the moving module 603, when moving the first online video displayed at any one of the first display positions to a second display position matching with the drag operation in response to the drag operation acting on any one of the first display positions, is configured to:
and responding to the dragging operation acted on any first display position, determining a stop position of the dragging operation, taking the stop position as the second display position, and moving the first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, the different triggering operations include a click operation;
the moving module 603, when moving the first online video displayed in any of the first display positions to a second display position matching with the click operation in response to the click operation acting on any of the first display positions, is configured to:
and responding to a click operation acted on any first display position, taking a preset position on the interactive page as a second display position, and moving a first online video displayed on any first display position to the second display position of the interactive page.
In a possible implementation manner, the presentation module 602, when presenting the first online videos of different participants at respective first presentation positions in an interactive page, is configured to:
if the number of the collected first online videos is larger than the number of the first display positions on the interactive page, determining face state information corresponding to each first online video;
and screening out the first online videos with the number equal to that of the first display positions on the interactive page according to the face state information in each first online video, and displaying the screened first online videos on each first display position.
In a possible implementation, the presentation module 602 is further configured to:
and responding to a trigger operation aiming at the identification information of any participant in the participant identification list, and displaying the first online video acquired by any participant at the second display position.
In a possible embodiment, the moving module 603, after moving the first online video displayed in any one of the first display positions to the second display position of the interactive page in response to the trigger operation acting on any one of the first display positions, is further configured to:
generating position updating information according to the second display position of the first online video after the first online video moves; the position updating information comprises identification information of a participant end for collecting the first online video and the second display position after movement;
and synchronizing the position updating information to a plurality of participating terminals through a server.
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. 7, a schematic structural diagram of a computer device 700 provided in the embodiment of the present application includes a processor 701, a memory 702, and a bus 703. The memory 702 is used for storing execution instructions and includes a memory 7021 and an external memory 7022; the memory 7021 is also referred to as an internal memory, and is used to temporarily store operation data in the processor 701 and data exchanged with an external memory 7022 such as a hard disk, the processor 701 exchanges data with the external memory 7022 through the memory 7021, and when the computer apparatus 700 is operated, the processor 701 communicates with the memory 702 through the bus 703, so that the processor 701 executes the following instructions:
acquiring first online videos respectively acquired by a plurality of participating ends entering a target virtual room;
respectively displaying the first online videos of different participating ends at each first display position in an interactive page;
responding to a trigger operation acted on any one first display position, and moving a first online video displayed on any one first display position to a second display position of the interactive page;
and the interaction authority of the participant end when the corresponding first online video is positioned at the first display position is different from the interaction authority of the participant end when the corresponding first online video is positioned at the second display position.
In a possible embodiment, the instructions executed by the processor 701, in response to a trigger operation acting on any one of the first display positions, move a first online video displayed in any one of the first display positions to a second display position of the interactive page, and include:
and responding to a trigger operation acted on any first display position, determining a moved second display position according to the attribute information of the presentation content currently on the interactive page, and moving the first online video displayed on any first display position to the determined second display position.
In one possible implementation, the processor 701 executes instructions, where the presentation attribute information includes layout position information of the presentation in the file display area, and/or presentation type information.
In a possible embodiment, the instructions executed by the processor 701, in response to a trigger operation acting on any one of the first display positions, move a first online video displayed in any one of the first display positions to a second display position of the interactive page, and include:
and responding to a trigger operation acted on any first display position, and moving a first online video displayed on any first display position to a second display position matched with the trigger operation on the interactive page according to the corresponding relation between different trigger operations and the second display position.
In a possible embodiment, the processor 701 executes an instruction, where the different triggering operations include a dragging operation;
responding to a dragging operation acted on any first display position, moving a first online video displayed on any first display position to a second display position matched with the dragging operation, and comprising the following steps:
and responding to the dragging operation acted on any first display position, determining a stop position of the dragging operation, taking the stop position as the second display position, and moving the first online video displayed on any first display position to the second display position of the interactive page.
In a possible implementation manner, in the instructions executed by the processor 701, the different triggering operations include a click operation;
responding to a click operation acted on any one first display position, moving a first online video displayed on any one first display position to a second display position matched with the click operation, and comprising the following steps:
and responding to a click operation acted on any first display position, taking a preset position on the interactive page as a second display position, and moving a first online video displayed on any first display position to the second display position of the interactive page.
In a possible embodiment, the instructions executed by the processor 701 are to respectively display the first online videos of different participants at respective first display positions in the interactive page, and the instructions include:
if the number of the collected first online videos is larger than the number of the first display positions on the interactive page, determining face state information corresponding to each first online video;
and screening out the first online videos with the number equal to that of the first display positions on the interactive page according to the face state information in each first online video, and displaying the screened first online videos on each first display position.
In a possible implementation manner, in the instructions executed by the processor 701, the method further includes:
and responding to a trigger operation aiming at the identification information of any participant in the participant identification list, and displaying the first online video acquired by any participant at the second display position.
In a possible embodiment, after the instructions executed by the processor 701, in response to a trigger operation acting on any one of the first display positions, move the first online video displayed in any one of the first display positions to the second display position of the interactive page, the method further includes:
generating position updating information according to the second display position of the first online video after the first online video moves; the position updating information comprises identification information of a participant end for collecting the first online video and the second display position after movement;
synchronizing the location update information to a plurality of participating peers.
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.