Video sharing method, device, equipment and medium

The method and device enable synchronized video sharing and viewing during calls, enhancing user experience by allowing real-time video sharing and communication.

JP7597314B2Active Publication Date: 2024-12-10BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023580491
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-07-02
Filing Date
2022-06-30
Publication Date
2024-12-10
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Users are unable to share videos with their friends during a call on existing video platforms.

Method used

A method and device that allows users to switch from a real-time call interface to a sharing interface during a call, enabling synchronized viewing and sharing of videos between users, while maintaining real-time communication.

Benefits of technology

Enhances the user experience by allowing users to view and share videos face-to-face synchronously, improving interaction and communication during calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007597314000001
    Figure 0007597314000001
  • Figure 0007597314000002
    Figure 0007597314000002
  • Figure 0007597314000003
    Figure 0007597314000003
Patent Text Reader

Abstract

The present disclosure relates to a video sharing method, an apparatus, a device, and a medium. The video sharing method is used in an electronic device of a first user, and includes displaying a target call interface for the first user to make a real-time call with at least one second user, and switching and displaying the target call interface to a target sharing interface for displaying a first video shared between the first user and at least one second user and holding a real-time call between the first user and at least one second user when a video sharing event is triggered. According to an embodiment of the present disclosure, the first user and the second user can synchronously watch the first video and realize sharing for the first video. In addition, when synchronously watching the first video, they can still exchange their viewing sensations in real time. Furthermore, the first user and the second user can have an experience of watching the first video face to face, and the real-time call and video sharing experience of the users can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application bearing application number 202110754247.2 and entitled "Video Sharing Method, Apparatus, Device and Medium" filed with the China Patent Office on July 2, 2021, the entire contents of which are incorporated herein by reference.

[0002] The present disclosure relates to the field of Internet technology, and in particular to a video sharing method, device, equipment, and medium. [Background technology]

[0003] 2. Description of the Related Art With the rapid development of computer technology and mobile communication technology, various electronic device-based video platforms have become commonplace and have greatly enriched people's daily lives.

[0004] Currently, it is not possible for users to share videos between friends while on a call. Summary of the Invention

[0005] To solve the above technical problems, or at least partially solve the above technical problems, the present disclosure provides a video sharing method, device, apparatus, and medium.

[0006] According to a first aspect, the present disclosure provides a video sharing method for use in an electronic device of a first user, comprising: displaying a target calling interface for a first user to conduct a real-time call with at least one second user; The video sharing method includes, when a video sharing event is triggered, switching and displaying a target call interface to a target sharing interface for displaying a first video shared between a first user and at least one second user and holding a real-time call between the first user and the at least one second user. According to a second aspect, the present disclosure provides a video sharing device for use in an electronic device of a first user, comprising: a first display means configured to display a target calling interface for a first user to conduct a real-time call with at least one second user; and a second display means configured to switch and display a target call interface to a target sharing interface for displaying a first video shared between a first user and at least one second user and holding a real-time call between the first user and the at least one second user when a video sharing event is triggered.

[0007] According to a third aspect, the present disclosure provides a method for producing a semiconductor device comprising: A processor; and a memory for storing executable instructions, An electronic device is provided, the processor being configured to read executable instructions from the memory and execute the executable instructions to implement the video sharing method according to the first aspect. According to a fourth aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to realize the video sharing method according to the first aspect.

[0008] The technical solutions according to the embodiments of the present disclosure have the following advantages over the prior art:

[0009] The video sharing method, device, equipment, and medium according to the embodiment of the present disclosure can replace the target call interface with a target share interface when a video sharing event is triggered while a first user and a second user are having a real-time call. The target share interface can be used to display a first video shared between the first user and at least one second user, so that the first user and the second user can synchronously watch the first video and realize sharing for the first video. The target share interface can also be used to hold a real-time call between the first user and at least one second user, so that when synchronously watching the first video, the first user and the second user can still exchange their viewing sensation in real time. Furthermore, the first user and the second user can have an experience of watching the first video face to face, and the real-time call and video sharing experience of the users can be improved. [Brief description of the drawings]

[0010] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which the same or similar elements are designated by the same or similar reference numerals in all the accompanying drawings. It should be understood that the accompanying drawings are schematic and that the originals and elements are not necessarily drawn to scale. [Figure 1] FIG. 1 is an architecture diagram of video sharing according to an embodiment of the present disclosure. [Diagram 2] 1 is a schematic flow chart of a video sharing method according to an embodiment of the present disclosure. [Diagram 3] 1 is a schematic diagram of a call interface according to an embodiment of the present disclosure. [Figure 4] 1 is a schematic diagram of a first type of sharing interface according to an embodiment of the present disclosure. [Diagram 5] 4 is a schematic diagram of a second type of sharing interface according to an embodiment of the present disclosure. [Figure 6]13 is a schematic diagram of a third type of sharing interface according to an embodiment of the present disclosure. [Figure 7] 11 is a schematic diagram of a fourth type of sharing interface according to an embodiment of the present disclosure. [Figure 8] 1 is a schematic diagram of another call interface according to an embodiment of the present disclosure. [Figure 9] 13 is a schematic diagram of yet another call interface according to an embodiment of the present disclosure. [Figure 10] 13 is a schematic diagram of yet another call interface according to an embodiment of the present disclosure. [Figure 11] 1 is a schematic flow chart of another video sharing method according to an embodiment of the present disclosure. [Figure 12] 11 is a schematic diagram of a fifth type of sharing interface according to an embodiment of the present disclosure. [Figure 13] 13 is a schematic diagram of a sixth type of sharing interface according to an embodiment of the present disclosure. [Figure 14] 1 is a schematic diagram of a configuration of a video sharing device according to an embodiment of the present disclosure. [Figure 15] 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The following will describe the embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although several embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are merely illustrative and do not limit the scope of protection of the present disclosure.

[0012] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. Additionally, method embodiments may include additional steps and / or omit performance of steps shown. The scope of the present disclosure is not limited in this respect.

[0013] As used herein, the term "including" and variations thereof are open-ended, i.e., meaning "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below in the description.

[0014] It should be noted that concepts such as "first" and "second" described in this disclosure are merely intended to distinguish different devices, modules, or units, and are not intended to limit the order or interdependence of functions performed by these devices, modules, or units. In addition, the modifications of "one" and "multiple" described in the present disclosure are exemplary and not limiting. It is obvious to those skilled in the art that unless otherwise specified, it should be understood as "one or multiple".

[0015] The names of messages or information exchanged between devices in the embodiments of the present disclosure are merely descriptive and do not limit the scope of these messages or information.

[0016] FIG. 1 is an architecture diagram of a video sharing system according to an embodiment of the present disclosure.

[0017] As shown in FIG. 1, the architecture diagram may include at least two electronic devices 101 at the client end and at least one server 102 at the service end. Each of the electronic devices 101 can establish a connection with the server 102 by a network protocol, for example, Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS), and exchange information. Here, the electronic devices may be devices having communication functions, such as mobile phones, tablet computers, desktop computers, laptop computers, in-vehicle terminals, wearable devices, multifunction devices, and smart home devices. The server 102 may be a device having storage and calculation functions, such as a cloud server or a server cluster.

[0018] According to the above architecture, users of the electronic device 101 can make real-time calls with each other through a predetermined network platform installed on the electronic device 101. Here, the predetermined network platform may be a predetermined website or a predetermined application. The server 102 may provide support for the predetermined network platform.

[0019] When the electronic device 101 detects that a video sharing event is triggered while a user is making a real-time call, the electronic device 101 may replace the call interface with a sharing interface and display the shared video in the sharing interface. Thus, each user making a real-time call can synchronously view the shared video displayed in the sharing interface, realizing sharing of the shared video between each user making a real-time call, and further improving the real-time call and video sharing experience of the user.

[0020] In some embodiments of the present disclosure, when the electronic device 101 detects a first trigger operation for triggering video sharing in the call interface by the first user, the electronic device 101 may determine that a video sharing event has been detected. At this time, the electronic device 101 that detects the first trigger operation may share a video data stream of the shared video with the other electronic device 101 via the server 102. Thereby, the other electronic device 101 may synchronously replace the call interface with the sharing interface and display it.

[0021] In some other embodiments of the present disclosure, when the electronic device 101 receives a video data stream of a shared video transmitted by another electronic device 101 via the server 102, the electronic device 101 may determine that a video sharing event has been triggered. At this time, the electronic device 101 may synchronously display the call interface with the sharing interface.

[0022] Therefore, in the embodiment of the present disclosure, the server can realize sharing of the shared video by sending a video data stream of the shared video. In addition, the interaction data is pulled individually according to the operation status of each user on the shared video, so that the user cannot see the interaction status of other users who synchronously watch the shared video on the shared video, and the user's privacy can be protected during video sharing. Based on the above architecture, a video sharing method according to an embodiment of the present disclosure will be described below in conjunction with FIGS.

[0023] In an embodiment of the present disclosure, the video sharing method may be performed by an electronic device. For example, the electronic device may be the electronic device 101 at the client end shown in Fig. 1. Here, the electronic device may be a device having a communication function, such as a mobile phone, a tablet computer, a desktop computer, a laptop computer, an in-vehicle terminal, a wearable device, a multifunction device, and a smart home device.

[0024] FIG. 2 is a schematic flow chart illustrating a video sharing method according to an embodiment of the present disclosure.

[0025] As shown in FIG. 2, the video sharing method may include the following steps:

[0026] S210: Display a target call interface.

[0027] In an embodiment of the present disclosure, the target call interface may be used for a first user and at least one second user to conduct a real-time call, that is, a real-time call between the first user and the second user can be realized through the target call interface.

[0028] Specifically, an interaction between the electronic device of a first user and the electronic device of at least one second user realizes a real-time call between the first user and the at least one second user, and the electronic device of the first user can display a target call interface used for the real-time call.

[0029] Accordingly, when the electronic device of the first user displays the target call interface, the electronic device of the second user who is making a real-time call with the first user can also display a call interface similar to the target call interface, and the contents displayed in the call interface may be different for different users.

[0030] Optionally, the target call interface may be a voice call interface or a video call interface, no limitation is imposed here.

[0031] Alternatively, the target call interface may be, for example, a call interface displayed when making a real-time call using an instant communication platform such as an instant messenger application, or a call interface displayed when making a real-time call using a carrier communication function, and no limitations are imposed here.

[0032] In an embodiment of the present disclosure, the targeted call interface may include information about the first user and the second user, for example, the targeted call interface may include at least one of real-time screens of the first user and the second user, user avatars, etc.

[0033] In some embodiments, the first user's electronic device may display the target call interface after accepting an initiate call operation entered by the first user to initiate a real-time call with at least one second user. In some other embodiments, the first user's electronic device may display the target call interface after accepting a request to make a real-time call initiated by any one of the second users. Here, the call initiation operation may be a gesture control operation (e.g., tap, long press, double tap, etc.), a voice control operation, or a facial expression control operation on a call initiation control to trigger a request to initiate a real-time call to at least one second user, and no limitations are imposed herein.

[0034] Illustratively, a schematic diagram of a call interface according to an embodiment of the present disclosure is shown in Fig. 3. As shown in Fig. 3, an electronic device may display a call interface. The call interface may display a real-time screen 301 of a first user having a real-time video call and a real-time screen 302 of a second user. In the figure, the real-time screen 301 of the first user may be displayed in full screen, and the real-time screen 302 of the second user may be displayed in the form of a small window.

[0035] As can be seen, the call interface of the electronic device of the second user having a real-time call with the first user in Fig. 3 may display the real-time screens of the first user and the second user, except that the real-time screen of the second user is displayed in full screen, while the real-time screen of the first user may be displayed in a small window.

[0036] S220: When a video sharing event is triggered, switch the target calling interface to display a target sharing interface.

[0037] In an embodiment of the present disclosure, the target sharing interface may be used to display a first video shared between a first user and at least one second user and to hold a real-time call between the first user and at least one second user, that is, after the electronic device of the first user is switched to the target sharing interface, the first video shared can be displayed through the target sharing interface while holding a real-time call with the second user.

[0038] In an embodiment of the present disclosure, the first user's electronic device can detect a video sharing event in real time while displaying the target call interface, and upon detecting that the video sharing event has been triggered, can switch the currently displayed target call interface to a target share interface, display a first video in the target share interface to be shared between the first user and at least one second user, and maintain the currently ongoing real-time call via the target share interface.

[0039] Accordingly, when the electronic device of the first user switches to display the target sharing interface, the electronic device of the second user who is making a real-time call with the first user can also switch the currently displayed call interface to a sharing interface and display the first video on the sharing interface. The sharing interface and the target sharing interface have the same function and display the same video. Other information may be different according to different users.

[0040] In this embodiment, the video screen displayed on the target sharing interface is synchronized with the electronic device of the second user, that is, the video screen of the first video displayed on the target sharing interface can be synchronously displayed on the electronic device of the second user, thereby improving the experience of the first user and the second user synchronously watching videos.

[0041] This allows multiple users to watch videos together while on a real-time call, thereby enabling synchronous viewing of shared videos, enriching the user experience during a call and improving the duration and depth of interaction between different users.

[0042] In some examples, the target sharing interface may also be used to display call controls, which may include a call window of the first user and a call window of the second user.

[0043] Here, the call control may be a function control for showing a real-time call in progress. Display parameters in the target sharing interface of the call control may be set according to actual circumstances. The display parameters may include a display position, a display size, etc. The call control may include call windows of a first user and at least one second user having a real-time call, each call window corresponding to one user. The call window may display information about the corresponding user. For example, the call window may display a real-time screen or a user avatar of the corresponding user, etc.

[0044] Optionally, in this embodiment, a quantity threshold may be set for the number of users who can make real-time calls. That is, real-time calls are only supported between a number of users within the quantity threshold. For example, a maximum of six users can be supported in real-time calls.

[0045] Illustratively, FIG. 4 shows a schematic diagram of a first type of sharing interface according to an embodiment of the present disclosure. As shown in FIG. 4, a sharing interface displayed on a first user's electronic device is displayed. The sharing interface may display a call control 400 and a first video 403 shared between the first user and the second user. The call control 400 may display a call window 401 of the first user and a call window 402 of the second user who are engaged in a real-time video call. The call window 401 and the call window 402 may display the real-time screens of the users.

[0046] Optionally, the target sharing interface may further display an interaction control for the first video. The interaction control may be used to display interaction data. The interaction data may include data such as comments, forwards, likes, etc.

[0047] Specifically, the first video may be displayed in a video layer of the sharing interface. A control layer may be superimposed on the video layer. The above-mentioned interaction control is displayed in the control layer. When the first user shares the first video with the second user, the server may search for the first interaction data of the first video and transmit the first interaction data of the first video to the electronic device of the second user. Thereby, the electronic device of the second user may receive the first interaction data of the first video and then display it in the interaction control. Also, when the second user shares the first interaction data of the first video with the first user, the electronic device of the first user may receive the first interaction data of the first video transmitted by the server and display it in the interaction control.

[0048] As shown in Fig. 4, the first video 403 is a video published by a user. The sharing interface further displays an interaction control for the first video 403, and the interaction data is displayed in the interaction control. For example, the number of likes in the figure is 1234, the number of comments is 6, and the number of forwards is 89.

[0049] In some other embodiments, the display size in the target sharing interface of the call control may further relate to the number of call windows in the call control.

[0050] Optionally, the display size of the call control may be determined based on the number of call windows in the call control, and / or the number of call windows may be determined based on the number of real-time call users.

[0051] Since one call window corresponds to one real-time call user, the number of call windows is the same as the number of real-time call users.

[0052] Alternatively, the display size of the call control may be reduced as the number of call windows increases. The display size may be reduced proportionately. Two different display sizes may be provided, and when the number of call windows is less than a first predetermined number, the call control may be displayed in a small display size, and when the number of call windows is equal to or greater than the first predetermined number, the call control may be displayed in a large display size. The predetermined number may be set according to needs. For example, the predetermined number may be 4.

[0053] Optionally, the content displayed in the call window may be determined based on the number of call windows. If the number of call windows in the call control is less than the second predetermined number, a real-time screen may be displayed in the call window. If the number of call windows in the call control is equal to or greater than the second predetermined number, an avatar of the user may be displayed in the call window.

[0054] Illustratively, FIG. 5 shows a schematic diagram of a second type of sharing interface according to an embodiment of the present disclosure, and FIG. 6 shows a schematic diagram of a third type of sharing interface according to an embodiment of the present disclosure. Please refer to FIG. 4 to FIG. 6. First, as shown in FIG. 4, two users make a real-time call, and the number of call windows in the call control 400 is 2. Then, as shown in FIG. 5, two users participate in the real-time call, and the number of call windows in the call control 500 is 4. Furthermore, as shown in FIG. 6, two more users participate in the real-time call, and the number of call windows in the call control 600 is 6. The first video 501 shared between the first user and the second user shown in FIG. 5 is the same as the first video 601 shown in FIG. 6. As described above, as the number of users in the real-time call increases, the call windows also increase, and the display size of the call control gradually becomes smaller. As shown in FIG. 5, when the number of call windows is 4, each call window displays the real-time screen of the corresponding user in a large size. As shown in FIG. 6, when the number of call windows is 6, ie, greater than 4, each call window displays the user avatar of the corresponding user in a small size.

[0055] In addition, in some embodiments, a share mark is displayed on the target call window in the call control. The target call window is the call window of the user who is sharing the video. The share mark can be an instruction frame added to the call window, a mark on a corner point of the call window, or a mark on a predetermined position in the call window, and can be specifically set according to needs.

[0056] In this embodiment, the target sharing interface can not only display call controls, but also display a share mark in the call window of a user who is sharing a video in the call control, thereby highlighting the difference between the user and other users, informing each user in a real-time call of the user who is sharing the video, and improving the video sharing experience.

[0057] Referring to the sharing interface shown in Figure 4, a share mark 404 is displayed in the call window of a user who is sharing a video in the call control, emphasizing that the user is currently sharing a video. Figures 5 and 6 also display a share mark, but the difference is that the call window displayed is different.

[0058] In the embodiment of the present disclosure, when a video sharing event is triggered while a first user and a second user are having a real-time call, a target call interface can be replaced with a target share interface for display. Thus, the target share interface can be used to display a first video shared between the first user and at least one second user, so that the first user and the second user can synchronously watch the first video and realize sharing for the first video. In addition, the target share interface can also be used to hold a real-time call between the first user and at least one second user, so that when synchronously watching the first video, one can still exchange his / her viewing sensation in real time. Furthermore, the first user and the second user can have an experience of watching the first video face to face, and the real-time call and video sharing experience of the user can be improved.

[0059] In another embodiment of the present disclosure, the video sharing event may be a trigger event for realizing video sharing between two users having a real-time call. The video sharing event may be triggered by a first user or a second user having a real-time call with the first user. The first video may be a video shared by the first user or the second user having a real-time call with the first user.

[0060] In some examples, triggering the video sharing event may include triggering the video sharing event upon detecting a first triggering interaction with the target calling interface, where the first video is a video shared by a first user to at least one second user. Here, the first trigger operation may be an operation for triggering a video sharing event by the first user. Specifically, it may include a gesture control operation (e.g., tap, long press, double tap, etc.) of the first user in the target call interface, a voice control operation, or a facial expression control operation, etc., and no limitation is imposed here.

[0061] Illustratively, with reference to Figure 3, the first triggering operation may be, by way of example only, a triggering operation by the first user on the "watch a video together" control 303. If the video sharing event is triggered by the first user, the first video may be a video that the first user has shared with at least one second user via a share operation.

[0062] In these examples, the first user's electronic device may detect an operation of the first user while displaying the target call interface. Upon detecting a first trigger operation on the target call interface by the first user, the electronic device may determine that a video sharing event has been triggered. In one example, the first user's electronic device may display a plurality of candidate videos. The first user may perform a selection operation on the displayed plurality of candidate videos, causing the first user's electronic device to set the candidate video selected by the first user as the first video. In another example, the first user's electronic device may set the video being viewed by the first user as the first video after determining that a video sharing event has been triggered.

[0063] Further, the electronic device of the first user may share the first video to at least one electronic device of a second user via the server, so that both the electronic device of the first user and the electronic device of the second user switch to a sharing interface and display the first video in the sharing interface. The above-mentioned procedure of sharing the first video may include the electronic device of the first user sending a share request to the server carrying information such as a video identifier or a video address of the first video, and the server, in response to the share request, retrieving a first video data stream of the first video stored locally based on the information such as the video identifier or the video address of the first video, and pushing the first video data stream to the electronic device of the second user, so that the electronic device of the second user receives the first video data stream of the first video, and the electronic device of the second user can switch the call interface to the sharing interface in response to the first video data stream of the first video.

[0064] In some other examples, triggering the video sharing event may include triggering the video sharing event upon receiving a first video data stream of a first video, where the first video is a video shared by a second user to the first user.

[0065] Here, the first video data stream of the first video may be a video data stream sent by any of the second users' electronic devices to the first user's electronic device via the server. When the first user's electronic device receives the first video data stream of the first video sent by any of the second users' electronic devices via the server, it may be determined that a video sharing event is triggered. In this case, the first video may be a video shared by the second user to the first user via the server.

[0066] Specifically, after the electronic device of the first user displays the target call interface, the electronic device of the second user also displays the call interface at the same time. When the electronic device of the second user detects that a video sharing event is triggered based on the trigger operation of the second user, the electronic device of the second user may set a candidate video selected by the second user from a plurality of candidate videos as the first video in response to the selection operation of the second user, or set a video being watched by the second user as the first video.

[0067] Furthermore, the electronic device of the second user may share the first video to the electronic device of the first user via the server, so that both the electronic device of the first user and the electronic device of the second user switch to and display a sharing interface, and display the first video in the sharing interface. The above-mentioned procedure for sharing the first video may include the electronic device of the second user sending a sharing request to the server carrying information such as a video identifier or a video address of the first video, and the server, in response to the sharing request, retrieving a first video data stream of the first video stored locally based on the information such as the video identifier or the video address of the first video, and pushing the first video data stream to the electronic device of the first user, so that the electronic device of the first user receives the first video data stream of the first video.

[0068] Optionally, after receiving the first video data stream of the first video, the electronic device of the first user may determine whether a target sharing interface for sharing the video is already currently displayed, and if so, display the first video on the target sharing interface; if not, switch and display the target calling interface to the target sharing interface, and display the first video on the target sharing interface.

[0069] In this manner, video sharing in an embodiment of the present disclosure is triggered by any one of multiple users who are engaged in a real-time call, and the video to be shared can be shared with other users, thereby enabling the multiple users to watch the shared video synchronously, thereby realizing video sharing.

[0070] In yet another embodiment of the present disclosure, the electronic device of the first user may, after switching and displaying the target call interface to the target sharing interface, further replace the first video displayed on the target sharing interface with another video based on a trigger by the first user or the second user, thereby realizing switching of the shared video.

[0071] In some embodiments, after switching the target call interface to display the target sharing interface, the video sharing method may further include, upon receiving a second video data stream of the second video, replacing the first video with the second video, where the second video is a video shared by the second user to the first user while the first video is displayed in the target sharing interface.

[0072] Here, the second video data stream of the second video may be a video data stream sent by any of the second users' electronic devices to the first user's electronic device via the server while the first video is displayed on the target sharing interface. When the first user's electronic device receives the second video data stream of the second video sent by any of the second users' electronic devices via the server, the first user's electronic device may determine that a switching event of the currently shared first video has been triggered. In this case, the second video may be another video shared by the second user to the first user via the server while the first video is displayed.

[0073] Specifically, after the electronic device of the first user switches the target call interface to the target share interface and displays it, the electronic device of the second user also displays the share interface at the same time. When the electronic device of the second user detects that the second user triggers a video share event for the second video, the electronic device of the second user may set the candidate video selected by the second user from a plurality of candidate videos as the second video according to the selection operation of the second user. Then, the electronic device of the second user sends a share request to the server, carrying information such as a video identifier or a video address of the second video. In response to the share request, the server searches for a second video data stream of the second video stored locally based on information such as a video identifier or a video address of the second video, and pushes the second video data stream to the electronic device of the first user, so that the electronic device of the first user receives the second video data stream of the second video.

[0074] Furthermore, after receiving the second video data stream, the first user's electronic device may display the second video in place of the first video displayed in the target sharing interface, such that both the first user's electronic device and the second user's electronic device switch the first video displayed in the sharing interface with the second video.

[0075] Optionally, when the first user's electronic device receives the second video data stream of the second video, it may determine whether a sharing interface for sharing the video is currently already displayed, and if so, may simply replace the first video with the second video, or if not, may display the sharing interface and display the second video in the sharing interface.

[0076] Optionally, when the first user's electronic device receives the second video data stream of the second video, the first user's electronic device may further determine whether an interaction operation on the first video currently exists. If so, after detecting the end of the interaction operation, the first video is replaced with the second video for display. If not, the first video is replaced with the second video for display.

[0077] Specifically, when the electronic device of the first user receives the second video data stream of the second video, the electronic device may determine whether the first user is performing an interaction operation on the first video. If so, the electronic device may not replace the video for the time being, and after the interaction operation is completed, replace the first video with the second video. If not, the electronic device may replace the video as is.

[0078] In this way, in the embodiment of the present disclosure, before switching the shared video displayed in the sharing interface, a judgment on the interaction operation may be added, and the video may be switched after the interaction operation, thereby avoiding the influence on the user's interaction operation, reducing interruptions, and improving the interaction experience during video sharing.

[0079] In some other embodiments, after switching the target calling interface to display the target sharing interface, the video sharing method may further include, when detecting a second trigger operation on the target sharing interface, replacing the first video with a third video selected by the second trigger operation in the target sharing interface, where the third video is a video synchronously shared with at least one second user.

[0080] Here, the second trigger operation may be a trigger operation for the first user to switch the first video. Specifically, the second trigger operation may include a gesture control operation (e.g., tap, long press, double tap, etc.) of the first user in the target sharing interface, a voice control operation, or a facial expression control operation, etc., and no limitation is imposed here.

[0081] In these embodiments, the electronic device of the first user may detect an operation of the first user after switching the target call interface to the target sharing interface and displaying it. When the second trigger operation on the target sharing interface by the first user is detected, a switching operation on the first video may be triggered. The electronic device of the first user may then display a plurality of candidate videos. The first user may perform a selection operation on the displayed plurality of candidate videos, so that the electronic device of the first user sets the candidate video selected by the first user as a third video, and share the third video to at least one electronic device of a second user via a server, so that both the electronic device of the first user and the electronic device of the second user switch the first video displayed on the shared interface to the second video.

[0082] The above-mentioned sharing procedure for the third video may include the first user's electronic device sending a share request to a server, carrying information such as a video identifier or video address of the third video, and the server, in response to the share request, searching for a third video data stream of the third video stored locally based on information such as the video identifier or video address of the third video, and pushing the third video data stream to the second user's electronic device, thereby causing the second user's electronic device to receive the third video data stream of the third video.

[0083] For example, FIG. 7 shows a schematic diagram of a fourth type of sharing interface according to an embodiment of the present disclosure. Referring to FIG. 4 and FIG. 7, after a first user performs a trigger operation on a certain control 405 in FIG. 4, a video selection interface 701 in FIG. 7 may be displayed in the target sharing interface. The first user may perform a selection operation in the video selection interface 701 to set the selected candidate video as the third video. As shown in FIG. 7, the video selection interface 701 may include three types of candidate videos, such as recommended videos, my works, and favorite videos in the figure, and each type may include multiple candidate videos. FIG. 7 further displays a call control 702. Optionally, the first user may also view the first video currently displayed in the sharing interface through a trigger action on the "Play My Video" control 703 in FIG.

[0084] In this manner, in the embodiment of the present disclosure, while multiple users in a real-time call are synchronously viewing a shared video, any one of the users may trigger a switch of the currently displayed video and replace the video currently shared by the other users with the selected video, thereby allowing the multiple users to synchronously view another new video, further improving the experience of video sharing.

[0085] In yet another embodiment of the present disclosure, the electronic device of the first user, after switching and displaying the target call interface to the target sharing interface, further displays a target interaction result corresponding to the first user's first interaction operation, but may maintain the display of the first video when the second user performs a second interaction operation.

[0086] In some embodiments, after switching and displaying the target call interface to the target sharing interface, the video sharing method may further include: when a first interaction operation on the first video is detected, displaying a target interaction result corresponding to the first interaction operation in the target sharing interface; and / or when a first interaction operation on the first video is detected, displaying a target interaction result corresponding to the first interaction operation and the first video targeted by the first interaction operation in the target sharing interface.

[0087] Here, the first interaction operation may be an operation such as liking, forwarding, commenting, etc. by the first user on the first video currently displayed in the target sharing interface. The target interaction result may be a result corresponding to the first interaction operation in the target sharing interface. For example, if the first interaction operation is a like operation, the target interaction result may be a change in the state of a like control. If the first interaction operation is a comment operation, the target interaction result may be displaying the comment content in a comment area.

[0088] Specifically, the electronic device of the first user may switch the target call interface to the target sharing interface and display it, and then detect an operation of the first user, and when a first interaction operation by the first user on the first video is detected, a target interaction result corresponding to the first interaction operation may be displayed on the target sharing interface.

[0089] Optionally, when the first user's electronic device detects a first interaction operation on the first video by the first user and, during the first interaction operation, the second user performs a second interaction operation on the first video, the electronic device may hold a display of a target interaction result of the first interaction operation and the first video targeted by the first interaction operation in the target sharing interface. Optionally, when the first user's electronic device detects a first interaction operation on the first video by the first user and, during the first interaction operation, receives a second video data stream of the second video, the electronic device may display a target interaction result of the first interaction operation and the first video targeted by the first interaction operation in the target sharing interface, and then replace the first video with the second video.

[0090] In some other embodiments, after switching and displaying the target call interface to the target sharing interface, the video sharing method may further include maintaining the display of the first video in the target sharing interface when a second user performs a second interaction operation on the first video.

[0091] Here, the second interaction operation may be an operation such as liking, forwarding, or commenting on the currently displayed first video by the second user. The second interaction operation and the above-mentioned first interaction operation are realized by corresponding electronic devices, respectively. Specifically, after the electronic device of the first user switches the target call interface to the target share interface and displays it, the electronic device of the second user may also switch the call interface to the share interface and detect the operation of the second user. When the second interaction operation by the second user on the first video is detected, the interaction result corresponding to the second interaction operation may be displayed on the share interface of the second user, but the interaction result corresponding to the second interaction operation may not be displayed on the target share interface of the first user, and the display of the first video may be maintained. Specifically, the electronic device of the second user receives the first interaction data of the first video sent from the server and displays it in the interaction control of the control layer, then detects an interaction operation by the second user on the first video, such as liking, forwarding, or commenting, and displays an interface corresponding to the interaction operation on the control layer, while the video layer still maintains the display of the video corresponding to the interaction operation. In this way, in the embodiment of the present disclosure, while multiple users in a real-time call are synchronously watching a shared video, each user can only see the results of his / her own interaction operations, and cannot see the results of other users' interaction operations, that is, the interaction operations between different users are not shared, so that the privacy of users is protected and the interaction experience of users is improved.

[0092] In yet another embodiment of the present disclosure, the electronic device of the first user switches and displays the target call interface to the target share interface, and then the user can realize switching display between the target call interface and the target share interface through the target control.

[0093] Optionally, after switching and displaying the target call interface to the target sharing interface, the video sharing method may further include, when a third trigger operation on the target sharing interface is detected, returning to displaying the target call interface, and displaying the target control within the target call interface. Optionally, when a fourth trigger operation on the target control is detected, the target sharing interface is returned to and displayed.

[0094] Here, the third trigger operation may be a trigger operation by the first user on his / her own call window in the target sharing interface. The specific form of the trigger operation is not limited. The target control may be a function control provided in the target calling interface for returning to the target sharing interface. The position, size and display content of the target control may be set according to needs. Specifically, the electronic device of the first user may detect an operation of the first user after switching the target call interface to the target sharing interface and displaying it. When a third trigger operation by the first user on the target sharing interface is detected, the electronic device of the first user may return to display the target call interface and display the target control on the target call interface. Thereafter, when a fourth trigger operation by the first user on the target control displayed on the target call interface is detected, the electronic device of the first user may return to display the target sharing interface again.

[0095] Illustratively, Fig. 8 shows a schematic diagram of another call interface according to an embodiment of the present disclosure, which may display a real-time screen 802 of a first user and a real-time screen 803 of a second user who are engaged in a real-time video call. Fig. 9 shows a schematic diagram of yet another call interface according to an embodiment of the present disclosure, which may display a real-time screen 902 of a first user and a real-time screen 903 of a second user who are engaged in a real-time video call. Fig. 10 shows a schematic diagram of yet another call interface according to an embodiment of the present disclosure, which may display a real-time screen 1002 of a first user and a real-time screen 1003 of a second user who are engaged in a real-time video call.

[0096] With reference to FIG. 8, FIG. 9, and FIG. 10, three different kinds of target controls are respectively exhibited. The target control may be a predetermined icon for expressing a video sharing state. For example, the target control 801 in FIG. 8 is a simple icon for expressing a "watching a video together" state. The target control may be a predetermined window for playing the first video shared. The predetermined window may be exhibited in the form of an icon, and the size is not limited. For example, the target control 901 in FIG. 9 may be an icon displaying the first video being watched together, and the target control 1001 in FIG. 10 may be a small video window, which can display the first video being watched, and the position is different from that in FIG. 9. The target controls exhibited above are merely examples and are not limiting.

[0097] Optionally, after the first user's electronic device returns to and displays the target call interface, the first user may add special effects by triggering a tool control, such as adding a filter, makeup, or the like.

[0098] Thus, in an embodiment of the present disclosure, while multiple users in a real-time call are synchronously watching a shared video, each user can return to the call interface of the real-time call, and in the call interface, a control is displayed that allows the user to return to the sharing interface again, and the control allows the user to return from the call interface to the sharing interface again, thereby improving the user's interface switching experience.

[0099] The present disclosure further provides another video sharing method, in which the electronic device of the first user may switch the target call interface to the target share interface and display it, and then control the call control in the target share interface according to the trigger operation of the first user. The following description will be given with reference to FIG. 11.

[0100] FIG. 11 is a schematic flow chart illustrating another video sharing method according to an embodiment of the present disclosure.

[0101] As shown in FIG. 11, the video sharing method may include the following steps:

[0102] S1110: Display the target call interface.

[0103] Here, the target call interface is for a first user to conduct a real-time call with at least one second user.

[0104] S1120: When a video sharing event is triggered, switch the target calling interface to a target sharing interface and display it.

[0105] Here, the target sharing interface is for displaying a first video shared between a first user and at least one second user and for holding a real-time call between the first user and the at least one second user.

[0106] It should be noted that S1110 to S1120 are similar to S210 to S220 shown in FIG. 2, and will not be further described here.

[0107] After S1120, S1130 and / or S1140 may be included.

[0108] S1130: When a fifth trigger operation on the call control is detected, the call control is displayed at a first display position designated by the fifth trigger operation.

[0109] Wherein, the fifth trigger operation may be a drag operation on the call control in the target sharing interface, and during the fifth trigger operation on the call control, the first display position may be a real-time position of the drag operation on the call control.

[0110] Specifically, the electronic device of the first user may detect an operation of the first user, and when detecting a fifth trigger operation on the call control by the first user, may cause the target sharing interface to move the call control from an initial position to a first display position instructed by the fifth trigger operation.

[0111] In some embodiments, after detecting a fifth trigger operation on the call control, when an end of the fifth trigger operation is detected, the call control may be displayed in the first display position, i.e., the position where the fifth trigger operation ends.

[0112] In some other embodiments, after detecting a fifth trigger operation on the call control, when the end of the fifth trigger operation is detected, if the first display position, i.e., the end position of the fifth trigger operation, is outside the specified display area, the call control is bounced back to a second display position within the specified display area and displayed.

[0113] Here, the predetermined display area may be a display area other than the prohibited area in the target sharing interface. Specifically, it may be set according to needs. For example, the predetermined display area may be a display area other than the top and bottom prohibited areas. Selectively, whether to display the prohibited area may be set according to needs. When the prohibited area is highlighted, the first user can intuitively grasp in which area in the interface the call control cannot be placed. The second display position may be a display position corresponding to the first display position. For example, the second display position may be a position closest to the first display position in the predetermined display area.

[0114] Specifically, when the electronic device of the first user detects that the fifth trigger operation on the call control by the first user is completed and the first display position is located outside the predetermined display area, the electronic device of the first user may bounce the call control from the first display position to a second display position in the predetermined display area, i.e., the electronic device may not support the call control moving out of the predetermined area and may automatically bounce the call control back to the predetermined area when the first user drags the call control into the area.

[0115] For example, FIG. 12 shows a schematic diagram of a fifth type of sharing interface according to an embodiment of the present disclosure. As shown in FIG. 12, a first user may perform a drag operation on a call control 1200 to move it to another position. In the figure, a top line-filled area 1201 and a bottom line-filled area 1202 of the sharing interface are prohibited areas. When a first user drags the call control 1200 into the prohibited area, the electronic device of the first user may bounce the call control 1200 into a predetermined display area. The bounce position may be set according to needs. For example, the call control 1200 may bounce near a boundary line with the prohibited area in the predetermined display area and be aligned with the boundary line.

[0116] S1140: When a sixth trigger operation on the call control is detected, the display of the call control is canceled, and a third control is displayed at a third display position instructed by the sixth trigger operation.

[0117] Here, the sixth trigger operation may be an operation in which the first user drags the call control out from one of the side boundaries of the target sharing interface, and the area in which the call control is dragged out from the boundary is larger than a predetermined area.

[0118] The third control may be used to indicate that the call control is in a minimized state. Within the third control, a user avatar of the user to whom the target call window in the call control belongs may be displayed. The target call window is the call window of the user who is sharing the video. Alternatively, the third control may be a minimized icon and is used only to represent the call control and does not display any information about the user.

[0119] Specifically, when the electronic device of the first user detects a sixth trigger operation on the call control by the first user, the electronic device of the first user may cancel the display of the call control and display a third control in which the call control is minimized in a third display position instructed by the sixth trigger operation. That is, the call control may be placed in the third display position as the third control in a minimized state. Optionally, a user avatar of a user currently sharing a video may be displayed in the third control.

[0120] For example, Fig. 13 shows a schematic diagram of a sixth type of sharing interface according to an embodiment of the present disclosure. As shown in Fig. 13, a first video 1302 currently being shared and a third control 1301 are displayed, and the call control is hidden. The third control 1301 is displayed at a position near one side border of the sharing interface, which may be a side border corresponding to a user's drag operation. In addition, the third control 1301 further displays a user avatar representing a user currently sharing a video.

[0121] In this way, in an embodiment of the present disclosure, while multiple users in a real-time call are synchronously watching a shared video, each user can drag the call control in the sharing interface to move it to a desired position within the allowed area, and when the portion of the call control dragged out of the sharing interface reaches a limit, the display of the call control can be canceled, and one small control can be displayed in the form of a small window, which better satisfies the users' need for control over the call controls, improves the flexibility of the display of the call controls, and further improves the users' real-time call and video sharing experience.

[0122] An embodiment of the present disclosure further provides a video sharing device, which will be described below in conjunction with FIG. In an embodiment of the present disclosure, the video sharing device may be an electronic device. For example, the electronic device may be the electronic device 101 or the electronic device 103 at the client end shown in Fig. 1. Here, the electronic device may be a device having a communication function, such as a mobile phone, a tablet computer, a desktop computer, a laptop computer, an in-vehicle terminal, a wearable device, a multifunction device, or a smart home device.

[0123] FIG. 14 shows a schematic configuration diagram of a video sharing device according to an embodiment of the present disclosure.

[0124] As shown in FIG. 14, the video sharing apparatus 1400 may be used in an electronic device of a first user, and may include a first display means 1410 and a second display means 1420.

[0125] The first display means 1410 is configured to display a target calling interface for the first user to conduct a real-time call with at least one second user; The second display means 1420 is configured, when a video sharing event is triggered, to switch and display the target call interface to a target sharing interface for displaying the first video shared between the first user and the at least one second user and holding a real-time call between the first user and the at least one second user.

[0126] In the embodiment of the present disclosure, when a video sharing event is triggered while a first user and a second user are having a real-time call, a target call interface can be replaced with a target share interface for display. Thus, the target share interface can be used to display a first video shared between the first user and at least one second user, so that the first user and the second user can synchronously watch the first video and realize sharing for the first video. In addition, the target share interface can also be used to hold a real-time call between the first user and at least one second user, so that when synchronously watching the first video, the first user and the second user can still exchange their viewing sensation in real time. Furthermore, the first user and the second user can have the experience of watching the first video face to face, and the real-time call and video sharing experience of the users can be improved.

[0127] In some embodiments of the present disclosure, the second display means 1420 may be configured to trigger a video sharing event when a first trigger operation on the target call interface is detected; A first video is a video that a first user has shared with at least one second user. In some embodiments of the present disclosure, the second display means 1420 may be further configured to trigger a video sharing event upon receiving the first video data stream of the first video; The first video is a video that a second user shared with the first user.

[0128] In some implementations of this embodiment, the target sharing interface displays a video screen synchronized with the second user's electronic device.

[0129] In some embodiments of the present disclosure, the video sharing device 1400 may further include a first video replacement means.

[0130] The first video replacement means may be configured to replace the first video with the second video when a second video data stream of the second video is received after switching the target call interface to the target sharing interface and displaying the second video; The second video is a video that the second user shared with the first user while the first video was displayed in the target sharing interface.

[0131] In some embodiments of the present disclosure, the video sharing device 1400 may further include a second video replacement means.

[0132] the second video replacement means may be configured to, after switching the target call interface to the target sharing interface and displaying it, replace the first video with a third video selected by the second trigger operation in the target sharing interface when a second trigger operation is detected on the target sharing interface; The third video is a video synchronously shared to at least one second user.

[0133] In some embodiments of the present disclosure, the video sharing device 1400 may further include a first interaction means.

[0134] The first interaction means switches the target call interface to the target sharing interface and displays it, and then, when a first interaction operation on the first video is detected, displays a target interaction result corresponding to the first interaction operation on the target sharing interface; and / or The device may be configured to, when a first interaction operation on the first video is detected, display a target interaction result corresponding to the first interaction operation and the first video targeted by the first interaction operation on the target sharing interface.

[0135] In some embodiments of the present disclosure, the video sharing device 1400 may further include a second interaction means.

[0136] The second interaction means may be configured to, after switching and displaying the target call interface to the target sharing interface, maintain the display of the first video within the target sharing interface when the second user performs a second interaction operation on the first video.

[0137] In some embodiments of the present disclosure, the video sharing device 1400 may further include an interface switching means.

[0138] The interface switching means may be configured to switch the target call interface to the target shared interface and display it, and then, when a third trigger operation on the target shared interface is detected, to return to displaying the target call interface, with the target control being displayed within the target call interface.

[0139] In some embodiments of the present disclosure, the video sharing device 1400 may further include an interface switching means.

[0140] The interface switching means may, when detecting a fourth trigger operation on the target control, return to displaying the target sharing interface. In some embodiments of the present disclosure, the target sharing interface is further used to display call controls including a call window of the first user and a call window of the second user.

[0141] In some embodiments of the present disclosure, the display size of the call control is determined based on the number of call windows in the call control, and / or the number of call windows is determined based on the number of real-time call users.

[0142] In some embodiments of the present disclosure, a share mark is displayed on the target call window in the call control, the target call window being the call window of the user who is sharing the video.

[0143] In some embodiments of the present disclosure, the video sharing device 1400 may further include a first control means.

[0144] The first control control means may be configured to, after switching and displaying the target call interface to the target sharing interface, display the call control at a first display position indicated by the fifth trigger operation when a fifth trigger operation on the call control is detected.

[0145] In some embodiments of the present disclosure, the video sharing device 1400 may further include a second control means.

[0146] After detecting a fifth trigger operation for the call control, the second control means When the end of the fifth trigger operation is detected, if the first display position is located outside the predetermined display area, the call control may be configured to be bounced and displayed at a second display position within the predetermined display area, the second display position being a display position corresponding to the first display position. In some embodiments of the present disclosure, the video sharing device 1400 may further include a third control means.

[0147] The third control means switches the target call interface to a target sharing interface for display, and then: When the sixth trigger operation on the call control is detected, the display of the call control is canceled, The display device may be configured to display a third control for indicating that the call control is in a minimized state at a third display position indicated by a sixth trigger operation.

[0148] In some embodiments of the present disclosure, the third control may display a user avatar of a user to whom a target call window in the call control belongs, the target call window being the call window of the user who is sharing the video.

[0149] In addition, the video sharing device 1400 shown in Figure 14 can execute each step in the method embodiments shown in Figures 2 to 13, and realize each process and effect in the method embodiments shown in Figures 2 to 13, and will not be described further here.

[0150] An embodiment of the present disclosure further provides an electronic device that may include a processor and a memory that may be used to store executable instructions. The processor may be used to read the executable instructions from the memory and execute the executable instructions to realize the video sharing method in the embodiment.

[0151] 15 is a block diagram of an electronic device according to an embodiment of the present disclosure. Reference is now made specifically to FIG. 15, which shows a block diagram suitable for implementing an electronic device 1500 according to an embodiment of the present disclosure.

[0152] The electronic device 1500 in the embodiment of the present disclosure may be the electronic device 101 or the electronic device 103 at the client end shown in Fig. 1. Here, the electronic device may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and wearable devices, and fixed terminals such as digital TVs, desktop computers, and smart home devices.

[0153] It should be noted that the electronic device 1500 shown in FIG. 15 is merely an example and does not impose any limitations on the functionality and scope of use of the embodiments of the present disclosure.

[0154] As shown in Fig. 15, the electronic device 1500 may include a processing unit (e.g., a central processing unit, a graphic processor, etc.) 1501, which can execute various appropriate operations and processes according to a program stored in a read-only memory (ROM) 1502 or a program loaded from a storage device 1508 into a random access memory (RAM) 1503. The RAM 1503 further stores various programs and data necessary for the operation of the information processing device 1500. The processing unit 1501, the ROM 1502, and the RAM 1503 are connected to each other via a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.

[0155] Typically, input devices 1506 including, for example, a touch screen, touch panel, keyboard, mouse, camera head, microphone, accelerometer, gyro, etc., output devices 1507 including, for example, a liquid crystal display (LCD), speaker, oscillator, etc., storage devices 1508 including, for example, a magnetic tape, hard disk, etc., and communication devices 1509 may be connected to the I / O interface 1505. The communication devices 1509 enable the electronic device 1500 to communicate wirelessly or via wires with other devices to exchange data. It should be understood that while FIG. 15 shows the electronic device 1500 with various devices, it is not intended to require the implementation or inclusion of all of the devices shown. More or less devices may alternatively be implemented or included.

[0156] The embodiment of the present disclosure further provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, causes the processor to realize the video sharing method in the above embodiment.

[0157] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowcharts can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, the computer program including program code for performing the method shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network by the communication device 1509, or installed from the storage device 1508, or installed from the ROM 1502. When the computer program is executed by the processing device 1501, it performs the above-mentioned functions limited to the video sharing method of the embodiment of the present disclosure.

[0158] In addition, the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specifically, the computer readable storage medium may include, but is not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, which may be used in or in combination with a command execution system, apparatus, or device. In the present disclosure, the computer readable signal medium may include a data signal propagated in baseband or a data signal propagated as part of a carrier wave, with computer readable program code therein. Such propagated data signals may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may transmit, propagate, or transmit a program for use in or in connection with a command execution system, apparatus, or device. The program code contained in the computer readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wires, optical cables, RF (radio frequency), or the like, or any suitable combination thereof.

[0159] In some embodiments, the client end and the server may communicate using any now known or later developed network protocol, such as HTTP, and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and an end-to-end network (e.g., an ad hoc end-to-end network), as well as any now known or later developed network.

[0160] The computer-readable medium may be included in the electronic device, or may be a separate entity not mounted on the electronic device.

[0161] The computer-readable medium includes one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: displaying a target calling interface for a first user to conduct a real-time call with at least one second user; When a video sharing event is triggered, the target calling interface is switched to and displayed as a target sharing interface for displaying a first video shared between the first user and at least one second user and holding a real-time call between the first user and the at least one second user.

[0162] In embodiments of the present disclosure, computer program code for carrying out the operations of the present disclosure may be written using one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and general procedural programming languages ​​such as "C" or similar programming languages, but are not limited to these. The program code may run entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer by any network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0163] The flowcharts and block diagrams in the accompanying drawings illustrate possible system architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a specified logical function. It should be noted that in some permutation implementations, the functions depicted in the blocks may be implemented in a different order than that depicted in the drawings. For example, two consecutively depicted blocks may be substantially executed in parallel, or, depending on the functionality, they may be executed in the reverse order. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated system based on hardware that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.

[0164] The units according to the embodiments of the present disclosure may be realized by software or hardware, and the names of the units may not limit the units themselves.

[0165] The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, exemplary hardware logic components that may be used include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0166] In the present disclosure, a machine-readable medium may be a tangible medium, and may include or store a program used by or in combination with a command execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0167] The above is merely a description of the preferred embodiments and the technical principles applied in the present disclosure. It is obvious to those skilled in the art that the scope of the disclosure of the present disclosure is not limited to the technical solution based on the specific combination of the above technical features, but should also include other technical solutions formed by any combination of the above technical features or features equivalent thereto without departing from the concept of the above disclosure. For example, it also includes technical solutions formed by replacing the above features with technical features having similar functions (including but not limited to those) disclosed in the present disclosure.

[0168] Also, although operations are described in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown, or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although certain specific implementation details are included in the above description, they should not be construed as limiting the scope of the disclosure. Certain features that are described in the context of a single embodiment can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

[0169] Although the present subject matter has been described in language specific to structural features and / or methodological operations, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. A video sharing method for use in an electronic device of a first user, comprising: displaying a target calling interface for the first user to conduct a real-time call with at least one second user; When a video sharing event is triggered, switching and displaying the target calling interface to a target sharing interface for displaying a first video shared between the first user and the at least one second user and holding a real-time call between the first user and the at least one second user; The method further comprises: A method comprising: in response to a first interaction operation on a first video by the first user, displaying a target interaction result corresponding to the first interaction operation in the target sharing interface, wherein the target interaction result is independent of an interaction result corresponding to a second interaction operation on the first video by the second user displayed in a second sharing interface of the second user, and interaction data corresponding to each user is obtained individually in response to the interaction operation on the first video by each user.

2. The video sharing event is triggered by 2. The method of claim 1, further comprising: triggering the video sharing event when a first trigger operation on the target call interface is detected, wherein the first video is a video shared by the first user to the at least one second user.

3. The video sharing event is triggered by 2. The method of claim 1, further comprising: triggering the video sharing event upon receiving a first video data stream of the first video, wherein the first video is a video shared by the second user to the first user.

4. The method of claim 1 , wherein the target sharing interface displays a video screen synchronized with the second user's electronic device.

5. After switching the target call interface to display a target sharing interface, the method includes:

2. The method of claim 1, further comprising, upon receiving a second video data stream of a second video, replacing the display of the first video with a display of the second video, wherein the second video is a video that the second user shared with the first user while displaying the first video in the target sharing interface.

6. After switching the target call interface to display a target sharing interface, the method includes:

2. The method of claim 1, further comprising, upon detecting a second trigger operation on the target sharing interface, replacing the first video with a third video selected by the second trigger operation in the target sharing interface, wherein the third video has been synchronously shared with the at least one second user.

7. After switching the target call interface to display a target sharing interface, the method includes: When detecting a first interaction operation on the first video, display a target interaction result corresponding to the first interaction operation on the target sharing interface; and / or The method of claim 1 , further comprising, when detecting a first interaction operation on the first video, displaying a target interaction result corresponding to the first interaction operation and the first video targeted by the first interaction operation in the target sharing interface.

8. After switching the target call interface to display a target sharing interface, the method includes:

10. The method of claim 1, further comprising: maintaining a display of the first video in the target sharing interface when the second user performs a second interaction operation on the first video.

9. After switching the target call interface to display a target sharing interface, the method includes: When a third trigger operation is detected on the target sharing interface, returning to and displaying the target call interface, in which a target control is displayed; The method of claim 1 , further comprising: upon detecting a fourth trigger operation on the target control, returning to display the target sharing interface.

10. 10. The method of claim 1, wherein the target sharing interface is further adapted to display call controls including a call window of the first user and a call window of the second user.

11. The method according to claim 10, characterized in that the display size of the call control is determined based on the number of call windows in the call control, and / or the number of call windows is determined based on the number of real-time call users.

12. The method of claim 10, characterized in that a share mark is displayed in a target call window in the call control, the target call window being the call window of a user who is sharing a video.

13. After switching the target call interface to display a target sharing interface, the method includes:

11. The method of claim 10, further comprising, upon detecting a fifth trigger operation on the call control, displaying the call control in a first display position indicated by the fifth trigger operation.

14. After detecting a fifth trigger operation on the call control, the method further comprises:

14. The method of claim 13, further comprising, upon detecting an end of the fifth trigger operation, if the first display position is located outside a predetermined display area, bouncing the call control to a second display position within the predetermined display area, wherein the second display position is a display position corresponding to the first display position.

15. After switching the target call interface to display a target sharing interface, the method includes: canceling the display of the call control when a sixth trigger operation on the call control is detected; 11. The method of claim 10, further comprising: displaying a third control at a third display position indicated by the sixth trigger operation to indicate that the call control is in a minimized state.

16. 16. The method of claim 15, wherein the third control displays a user avatar of a user to which a target call window in the call control belongs, the target call window being a call window of a user who is sharing a video.

17. A video sharing device for use in an electronic device of a first user, comprising: a first display means configured to display a target calling interface for the first user to conduct a real-time call with at least one second user; and a second display means configured to switch and display the target call interface to a target share interface for displaying a first video shared between the first user and the at least one second user and for holding a real-time call between the first user and the at least one second user when a video sharing event is triggered; The apparatus further comprises: A video sharing device configured to display a target interaction result corresponding to a first interaction operation by the first user on a first video in the target sharing interface in response to the first interaction operation, wherein the target interaction result is mutually independent from an interaction result corresponding to a second interaction operation by the second user on the first video displayed in the second sharing interface of the second user, and interaction data corresponding to each user is obtained individually in response to the interaction operation by each user on the first video.

18. A processor; and a memory for storing executable instructions, The processor is configured to read the executable instructions from the memory and execute the executable instructions to realize the video sharing method described in any one of claims 1 to 16.

19. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to realize the video sharing method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Screen splitting method and device based on video call sharing, intelligent terminal and storage medium

    CN112601119A

  • Real-time sharing during calls

    JP2017532645A

  • System and interface for distributed remote collaboration through mobile workspaces

    US20160142450A1