Information display method, device, equipment and storage medium
By displaying the user's content and adding suspension controls in the application target page of the application, displaying the shared media flow and preset control, the user has to view the problem of its own pages and sharing media streams at the same time, and achieve convenient interactive control and information display. Improving the user experience.
Patent Information
- Application Number
- CN202210488369.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-05-06
AI Technical Summary
In the information display based on media streams, it is difficult to optimize the user's experience of watching his own page content and sharing media streams in the application interface at the same time, and lacks convenient interactive control and information display methods.
The user's content is displayed in the target page of the preset application, and the suspension control is displayed on the page, and the shared media flow and preset control are displayed in the suspension control. The preset control is used to display the associated information of shared interaction and control shared interaction.
The user has viewed its own page content and shared media streams in the application interface at the same time, and conveniently controls and manage the interaction through the preset control in the suspension control, which improves the user experience.
Smart Images

Figure CN114911399B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of Internet technology, and in particular to information display methods, devices, equipment and storage media. Background Art
[0002] With the rapid development of Internet technology and terminal technology, interaction between users is becoming more and more convenient. Multiple users can share the same media stream content, and users who share the media stream can also communicate through real-time voice. Summary of the invention
[0003] The embodiments of the present disclosure provide an information display method, an apparatus, a storage medium, and a device, which can optimize the existing information display solution based on media streams.
[0004] In a first aspect, an embodiment of the present disclosure provides an information display method, at a first user side, comprising:
[0005] Displaying first content corresponding to the first user in a target page of a preset application, displaying a floating control in the target page, and displaying a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user;
[0006] A preset control is displayed in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or to control the shared interaction between the first user and the at least one second user.
[0007] In a second aspect, the embodiment of the present disclosure further provides an information display device, which is configured at the first user side and includes:
[0008] a media stream display module, configured to display first content corresponding to a first user in a target page of a preset application, display a floating control in the target page, and display a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user;
[0009] A control display module, used to display a preset control in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or to control the shared interaction between the first user and the at least one second user.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0011] one or more processors;
[0012] a storage device for storing one or more programs,
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the information display method provided by the embodiment of the present disclosure.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the information display method provided by the embodiment of the present disclosure.
[0015] The information display scheme provided by the embodiment of the present disclosure displays the first content corresponding to the first user in the target page of the preset application, displays a floating control in the target page, and displays a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, and displays a preset control in the floating control, wherein the preset control is used to display the associated information of the shared interaction between the first user and the at least one second user and / or control the shared interaction between the first user and the at least one second user. By adopting the above technical scheme, the first user can simultaneously view his own page content and the media stream shared with the second user in the application interface, and can directly control the shared interaction through the preset control in the floating control, or display the associated information of the shared interaction in the floating control, thereby improving the convenience of the shared interaction and enhancing the user experience in the media stream sharing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0017] Figure 1 A scenario architecture diagram of an application scenario applicable to an information display method provided in an embodiment of the present disclosure;
[0018] Figure 2 A flowchart of an information display method provided by an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of an interface provided by an embodiment of the present disclosure;
[0020] Figure 4 A flowchart of another information display method provided by an embodiment of the present disclosure;
[0021] Figure 5 Another interface interaction diagram provided by an embodiment of the present disclosure;
[0022] Figure 6 Another interface interaction diagram provided by an embodiment of the present disclosure;
[0023] Figure 7 A schematic diagram of a suspension control structure provided by an embodiment of the present disclosure;
[0024] Figure 8 A schematic diagram of the structure of an information display device provided by an embodiment of the present disclosure;
[0025] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0034] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0036] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0037] Figure 1 A scenario architecture diagram of an application scenario applicable to an information display method provided in an embodiment of the present disclosure. Figure 1 , the application scenario may include a server 100, a first electronic device 101 and a second electronic device 102. It should be noted that the number of electronic devices may be greater and is not specifically limited. Figure 1This is only for illustrative purposes. Multiple electronic devices establish communication connections with a server to achieve information exchange. The electronic device may be a mobile device such as a mobile phone, a smart watch, a tablet computer, and a personal digital assistant; it may also be other devices such as a desktop computer. Users of electronic devices can make real-time calls, share content, and interact with messages through preset applications installed on the electronic devices. Content sharing may include media stream sharing (hereinafter referred to as shared interaction). Among them, the server can provide support for preset applications. For example, when multiple users perform shared interaction, each user can control the shared video stream, such as switching videos. In the disclosed embodiment, the specific type of the preset application is not limited, for example, it can be a video application, a live broadcast application, an information application, etc., and it can also be other types of applications.
[0038] Figure 2 A flow chart of an information display method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of media stream display. The method can be executed by an information display device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can specifically be an electronic device used by any user participating in media stream sharing.
[0039] like Figure 2 As shown, the method includes:
[0040] Step 201: display a first media stream corresponding to a first user in a target page of a preset application, display a floating control in the target page, and display a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user.
[0041] In the disclosed embodiment, the first user is the user who is currently using the preset application, that is, the local user, which can be understood as the account currently logged in in the preset application is the account of the first user. The target page can be understood as a page in the preset application for displaying the content corresponding to the first user. The specific type of content is not limited, for example, it can be media content. Optionally, the content includes a media stream, and the media stream corresponding to the user can be understood as a personalized media stream for the user pushed to the user. The first content may include a first media stream, and the first media stream may be a media stream pushed to the first user. For example, a corresponding media stream determination method is generated according to the first user, and a personalized first media stream for the first user is determined according to the media stream determination method. The media content contained in the media stream may include images, graphics, audio or video, etc.
[0042] In the embodiments of the present disclosure, two or more users can be supported to share a media stream in real time. The second user can be understood as a user who participates in the same media stream sharing with the first user, that is, a peer user. The number of second users can be one or more, and is not specifically limited. The shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, that is, each user participating in the shared interaction can watch the shared media stream through the electronic device used by the user. The specific source of the shared media stream is not limited.
[0043] Exemplarily, a floating control can be understood as a view element, and displaying a floating control in a target page can be understood as displaying the view element as an overlay on the target page. The specific properties of the floating control, such as shape, size, color, transparency, and display position, can be set according to actual needs. For example, the floating control can be a control in the form of a floating box. After the floating control is displayed, the user can adjust the display position of the floating control by inputting a drag operation. Optionally, at least one border or at least two borders of the floating control overlap with the page boundary of the target page.
[0044] In the disclosed embodiment, in addition to displaying the first content corresponding to the first user in the target page, a floating control is also displayed in the target page, and a shared media stream is displayed in the floating control, so that the first user can view his or her own page content and the shared media stream at the same time, which is conducive to improving the user experience.
[0045] Figure 3 A schematic diagram of an interface provided by an embodiment of the present disclosure, such as Figure 3 As shown, the first media stream is displayed in the target page 301, and the floating control 302 is displayed in the target page 301. Optionally, the floating control 302 is located in the upper left corner of the target page 301, and the left border and the upper border of the floating control 302 coincide with the left border and the upper border of the target page 301 respectively.
[0046] It should be noted that users participating in media stream sharing interaction can also be understood as existing in the same shared space. If the first user creates the shared space and invites other users to join the shared space, it can be regarded as that the second user does not currently exist before the other users join the shared space. The shared media stream can also be displayed in the floating control, and wait for the second user to join during the playback process; in addition, when all second users leave the shared space and only the first user is left in the shared space, the shared media stream can continue to be displayed in the floating control.
[0047] Step 202: display a preset control in the floating control, wherein the preset control is used to display associated information of a shared interaction between the first user and the at least one second user and / or to control a shared interaction between the first user and the at least one second user.
[0048] Exemplarily, preset controls can be resident in floating controls, or they can be displayed when preset display conditions are met. Optionally, when the floating control is displaying a shared media stream, the controls may not be displayed in the floating control, so as to reduce the interference of the controls on the shared media stream content, so that the floating control can be presented in a pure state, and the user can get a pure viewing experience. When the user wants to set up the shared interaction, the trigger operation can be input for the floating control. The specific type of the trigger operation is not limited, for example, it can be a click or a long press. After the user triggers the floating control, the preset control is displayed in the floating control. Optionally, the preset control is displayed when a message or notification is received. Among them, the type, display position and number of preset controls can be set according to actual needs.
[0049] like Figure 3 As shown, the preset control 303 can be displayed in the lower right corner of the floating control.
[0050] Exemplarily, the preset control can be used to display the associated information of the shared interaction between the first user and at least one second user, wherein the associated information can include, for example, the user identification of the user participating in the shared interaction, the interactive message sent by the user during the shared interaction, and the like. The preset control can also be used to control the shared interaction between the first user and at least one second user, that is, based on the preset control input, the control operation of the shared interaction can be set according to different control operations. For example, the preset control can include at least one of the following: a shared user invitation control, a shared page switching control, a floating control closing control, a shared media stream pause display control, a media content switching control in a shared media stream, a video screen control for real-time calls, and a voice control for real-time calls (such as a microphone switch control). Accordingly, the control operation input through the preset control can include an operation of inviting a shared user, an operation of switching to a shared page, an operation of closing a floating control, an operation of pausing the display of a shared media stream, an operation of switching the previous media content or the next media content in a shared media stream, and an operation of closing or opening a microphone switch for real-time calls, and the like.
[0051] The information display method provided by the disclosed embodiment displays the first content corresponding to the first user in the target page of the preset application, displays a floating control in the target page, and displays a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, and displays a preset control in the floating control, wherein the preset control is used to display the associated information of the shared interaction and / or control the shared interaction. By adopting the above technical solution, the first user can simultaneously view his own page content and the media stream shared with the second user in the application interface, and can directly control the shared interaction through the preset control in the floating control, or display the associated information of the shared interaction in the floating control, thereby improving the convenience of the shared interaction and enhancing the user experience in the media stream sharing process.
[0052] In the disclosed embodiment, the specific source of the shared media stream is not limited. In the case where the first content includes the first media stream, the first media stream is different from the shared media stream. Exemplarily, the shared media stream can be set by the user who initiates the shared interaction; it can be determined based on the media stream corresponding to the user who initiates the shared interaction, such as filtering the media stream corresponding to the user using preset filtering rules to obtain the shared media stream, and the preset filtering rules can include filtering graphic media content, etc.; it can also be determined based on the media streams corresponding to at least two users participating in the shared interaction, such as fusing the first media stream corresponding to the first user and the second media stream corresponding to the second user to obtain the shared media stream.
[0053] Optionally, before displaying the shared media stream in the floating control, it also includes: generating a target determination method according to a first determination method for the first media stream corresponding to the first user and a second determination method for the second media stream corresponding to the second user; and determining the shared media stream according to the target determination method. The advantage of such a setting is that media streams of common interest to multiple users can be determined for sharing according to the target determination method. Among them, when there are at least two second users, the second determination method for generating the target determination method may include a second determination method corresponding to a single second user, and may also include second determination methods corresponding to at least two second users respectively.
[0054] Exemplarily, the first user is user A, and the second user includes user B and user C. User A initiates a sharing interaction, and the shared media stream can be determined in one of the following ways. For example, after filtering the media stream of user A, a shared media stream is obtained; for another example, the media streams corresponding to user A, user B, and user C are merged to obtain a shared media stream; for another example, according to the media stream recommendation algorithms corresponding to user A, user B, and user C, a target recommendation algorithm is generated, and the shared media stream is determined according to the target recommendation algorithm.
[0055] In some embodiments, the associated information includes the session message generated by the shared interaction, and the displaying of the preset control in the floating control includes: in response to receiving the session message of the second user, displaying a first preset control in the floating control, wherein the first preset control is used to display the user identification of the second user and / or the session message. Exemplarily, the session message may include at least one of a message in the form of text, voice or image. The advantage of such a setting is that it can support instant message interaction between the local user and the opposite user, and the session message is displayed in the floating control. The local user can directly check all or part of the message content from the floating control without the need to switch pages, thereby improving the convenience of message interaction. In addition, displaying the user identification can help the local user further clarify the identity of the user who sent the message and improve the interaction efficiency. Among them, when displaying the session message, all or part of the message content can be displayed, which can be dynamically determined according to the string length of the message content and the display size of the floating control. Among them, the user identification can be a user name, a user nickname or a user avatar, etc.
[0056] Optionally, the first preset control is displayed in the floating control for a first preset duration. Exemplarily, the user identifications and / or conversation messages corresponding to at least two users can be displayed simultaneously in the floating control. The display form of the conversation message is not limited, for example, it can be displayed in the form of a text bubble. If the first preset control is used to display the user identification of the second user, the conversation message can be displayed in an associated area outside the floating control that displays the shared media stream. The associated area can be, for example, above, below, on the left or on the right of the floating control. The associated area can be dynamically determined based on the relative position of the floating control in the target page, that is, another floating control separate from the floating control that displays the shared media stream can be used to display the associated information of the shared interaction.
[0057] In some embodiments, the method further includes: in response to the trigger operation of the first user on the conversation message, displaying a message interaction page for the second user, wherein the message interaction page is used for the first user to interact with the second user in the conversation message. The advantage of such a setting is that it is convenient for the first user to reply to the message of the second user. Optionally, the display priority of the floating control is higher than the display priority of the message interaction page, so that the first user's viewing of the shared media stream will not be affected during the reply process.
[0058] Exemplarily, the display priority of the floating control is higher than the display priority of the message interaction page, which can be understood as the display of the message interaction page will not block the display of the floating control. For example, the floating control is displayed on the upper layer of the message interaction page. Optionally, the message interaction page is located on the upper layer of the target page, and the size of the message interaction page can be less than or equal to the size of the target page. The message interaction page may include a return control, and the method may also include: in response to the first user triggering the return control, returning to the target page.
[0059] In some embodiments, displaying a preset control in the floating control includes: in response to a trigger operation of the first user on the floating control, displaying a second preset control in the floating control, wherein the second preset control is used to control a shared interaction between the first user and the at least one second user.
[0060] In some embodiments, the second preset control includes a shared page switching control, and after the preset control is displayed in the floating control, it also includes: in response to the first user's triggering operation on the shared page switching control, switching the target page to the shared page, and continuing to display the shared media stream in the shared page, wherein the shared page includes a floating control switching control, and the floating control switching control is used to switch the shared page to the floating control. The advantage of such a setting is that it can support users to switch between the shared page and the floating control, so as to more flexibly select the current mode of viewing the shared media stream.
[0061] Exemplarily, during the switching between the shared page and the floating control, the display progress of the media content in the shared media stream may not be affected, and the display size of the image in the media content may be adjusted to fit the size of the shared page or the floating control.
[0062] In some embodiments, the method further includes: during the process of displaying the shared media stream in the shared page, it is detected that the second user switches the shared page on the second user side to the floating control by triggering the floating control switch control, and keeps displaying the shared media stream in the shared page. The advantage of such a setting is that during the process of sharing the media stream, when the opposite user switches the display mode of the shared media stream, the impact on the local user side is reduced, thereby ensuring the viewing experience of the local user.
[0063] In some embodiments, the media stream includes images and sounds; and displaying the shared media stream in the floating control includes: displaying the image in the shared image stream in the floating control, and prohibiting the playing of the sound in the shared media stream. Among them, the image in the first media stream is displayed and the sound in the first media stream is played in the target page, that is, the first media stream can be displayed normally in the target page. The advantage of this setting is that when both the first media stream and the shared media stream contain sounds, it can avoid playing the sounds in the two media streams at the same time and interfering with each other, thereby ensuring the experience of the local user watching his own media stream. It should be noted that if the local user wants to hear the sound of the shared media stream, he can switch to the shared page to display the shared media stream.
[0064] In some embodiments, the shared interaction supports the first user and the second user to conduct a real-time call; the method further includes: when the image in the shared image stream is displayed in the floating control and the sound in the shared media stream is prohibited from being played, in response to receiving the real-time call data of the second user, playing the sound corresponding to the real-time call data. The advantage of such a setting is that in the process of sharing the media stream, real-time voice communication between the local user and the opposite user can be supported, the convenience of interaction between users is improved, and on the basis of prohibiting the playing of the sound in the shared media stream, the normal playback of the call voice is guaranteed, and the smoothness of voice communication between users is guaranteed.
[0065] In some embodiments, the shared interaction supports the first user and the second user to have a real-time call; the displaying of a preset control in the floating control includes: in response to receiving the real-time call data of the second user, displaying a third preset control in the floating control, wherein the third preset control is used to display a user identifier corresponding to the second user and / or an image corresponding to the real-time call data corresponding to the second user. The benefit of setting the real-time call data in this way is that it can help the local user further clarify the identity of the user currently speaking and improve the interaction efficiency.
[0066] Among them, the image corresponding to the real-time call data can be, for example, a video screen of a video call. Optionally, a third preset control is displayed in the floating control with a second preset duration. Exemplarily, the second preset duration can be preset according to actual needs, such as 2 seconds, or it can be set according to the playback duration corresponding to the real-time call data. For example, if the other party speaks for 5 seconds, the second preset duration can also be 5 seconds. When displaying the user ID of the second user, the user ID of the user (that is, the user who speaks) corresponding to the real-time call data can be displayed; or the user IDs of all second users can be displayed. At this time, the user ID of the user corresponding to the real-time call data can be displayed differentially, so that the local user can clarify the current speaking user while clarifying all participating users of the shared interaction. Among them, the differentiated display can be a different border or a different display effect of the user ID. For example, the border of the user ID of the belonging user is bolder and dynamic effects such as flashing are added compared to the user ID of the non-belonging user.
[0067] In some embodiments, during the process of displaying the shared media stream in the floating control, the process further includes: adjusting the size of the floating control according to the media content in the shared media stream currently displayed. The advantage of such setting is that the size of the floating control can better match the media content, thereby improving the viewing experience.
[0068] For example, the size of the floating control can be adjusted according to the image size of the media content in the currently displayed shared media stream, such as adjusting the aspect ratio of the floating control to the aspect ratio of the image. For example, if the aspect ratio of the image is 16:9, the aspect ratio of the floating control can be adjusted to 16:9; if the aspect ratio of the image is 9:16, the aspect ratio of the floating control can be adjusted to 9:16.
[0069] In some embodiments, displaying a preset control in the floating control includes: in response to a third user joining the sharing interaction, displaying a fourth preset control in the floating control, wherein the fourth preset control is used to display a user ID corresponding to the third user. The advantage of such a setting is that when a new user joins, the first user is informed of the joining of the new user by displaying the corresponding user ID, thereby reducing interference with media stream viewing and ensuring viewing experience.
[0070] Optionally, the user ID corresponding to the third user is displayed in the floating control for a third preset time. In addition, the user ID corresponding to the second user may also be displayed for a fourth preset time, so that when a new user joins, the first user can clearly and intuitively confirm all participating users in the shared interaction. Optionally, when the user ID of the third user and the user ID of the second user are in the display state at the same time, the user IDs of the two can be displayed differently to help the first user quickly identify the newly added user. Exemplarily, after the third user successfully joins, he can become the new second user.
[0071] In some embodiments, it also includes: in response to the target user exiting the shared interaction, the shared media stream is updated according to the method of determining the media stream of at least one user other than the target user in the shared interaction. The advantage of such a setting is that when a user exits sharing, the shared media stream can be updated in time to ensure that the shared media stream is more suitable for viewing by the retained users. The specific update method can refer to the relevant description of the source of the shared media stream above, which will not be repeated here. Among them, it should be noted that if the shared media stream is determined according to the media stream corresponding to the initiating user of the sharing, when the target user is the initiating user, the new shared media stream can be determined according to the media stream corresponding to the first user who accepts the invitation or any user other than the initiating user.
[0072] In some embodiments, it also includes: in response to the trigger operation of the first user on the target user identifier in the floating control, when it is determined that the shared interaction is initiated in a video call scenario, judging whether the call image on the first user side and / or the call image on the second user side are turned on, and if so, switching the target page to the video call page, or, in response to the trigger operation of the first user on the target user identifier in the floating control, switching the floating control to a video call mode, wherein the video call mode includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier in the floating control. The advantage of such a setting is that if sharing is initiated in a video call scenario, a quick operation method for viewing the video call screen can be provided.
[0073] Exemplarily, the video call page includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier. When the target page is switched to the video call page, the floating control can be hidden or kept displayed, that is, the shared media stream can be kept displayed, so that the first user can watch the shared media stream while viewing the video call screen.
[0074] Exemplarily, while the floating control is switched to the video call mode, the first media stream can be kept displayed in the target page, so that the first user can watch his own media stream while viewing the video call screen.
[0075] Optionally, if it is determined that the sharing is not initiated in a video call scenario, or it is determined that the call image on the first user side and / or the call image on the second user side are not turned on, after receiving a trigger operation from the first user for the target user identifier in the floating control, the current display mode of the target page and the floating control can be maintained.
[0076] In some embodiments, the second preset control includes a floating control close control. After the second preset control is displayed in the floating control, it also includes: in response to the trigger operation of the first user on the floating control close control, determining whether the sharing interaction is initiated in the video call scenario; if so, switching the target page to the video call page, hiding the floating control, and displaying the floating control return control in the video call page; otherwise, closing the floating control. The advantage of such a setting is that the function of the floating control close control is reused, and when the control is triggered, different responses can be made according to different scenarios for initiating the sharing interaction. For the initiation scenario of the video call, the sharing interaction can be maintained while switching to the video call page, and a floating control return control is provided. The floating control return control can be used to return to the target page and display the floating control without re-initiating sharing, thereby meeting the user's need for quick switching between the video call page and the floating control.
[0077] In some embodiments, displaying a shared media stream in the floating control includes: in response to detecting that all second users corresponding to the at least one second user display the shared media stream through the floating control, automatically and continuously playing at least two media contents in the shared media stream in the floating control. The advantage of such a setting is that when the first user is watching the shared media stream in the floating control mode, if it is detected that other users participating in the shared interaction have entered the floating control mode, the media contents in the shared media stream can be automatically and continuously played, reducing the user's active switching of shared contents. Optionally, the first user can switch the media contents in the first media stream in the target page.
[0078] In some embodiments, it further includes: after switching from the target page to the preset page in the preset application, continuing to display the floating control in the preset page, and continuing to display the shared media stream in the floating control. The advantage of such a setting is that the display of the floating control can be maintained during the page switching process, so that the first user can watch the shared media stream while performing operations other than watching the first media stream in the preset application. Optionally, the preset page can be all pages in the preset application except the target page, so as to achieve global display of the floating control in the preset application.
[0079] In some embodiments, the floating control exists in the form of a custom view, the preset control is encapsulated in the custom view, and the shared media stream is displayed by a player started in the custom view. After switching from the target page to the preset page in the preset application, the floating control continues to be displayed in the preset page, and the shared media stream continues to be displayed in the floating control, including: in response to the switching operation of switching the target page to the first page, removing the custom view from the target page, and judging whether the first page is in the preset whitelist, if so, determining that the first page is the preset page, and displaying the first page; adding the custom view to the first page, and using the player to continue to display the shared media stream. The advantage of such a setting is that the floating control is realized by adding a custom view to the target page. Compared with the picture-in-picture implementation method in the related art, the floating control can have richer capabilities, can display more styles of controls, and improve the display effect and interactive effect. In addition, by setting the whitelist, the page that can display the floating control can be set more flexibly.
[0080] In some embodiments, the method further includes: after the preset application is switched to the background running state, the floating control continues to be displayed on the screen, and the shared media stream continues to be displayed in the floating control. The advantage of such a setting is that the first user can still watch the shared media stream when the preset application is in the background.
[0081] Optionally, after continuing to display the floating control on the screen, it may also include: in response to a trigger operation of the first user on the floating control, switching the preset application to a foreground running state, and displaying the floating control in the preset application.
[0082] In some embodiments, after the preset application switches to the background running state, the floating control continues to be displayed on the screen, and the shared media stream continues to be displayed in the floating control, including: detecting that the preset application switches to the background running state, starting the system's floating window service; using the floating window service to create a floating window, and adding a custom view to the floating window, wherein the size of the custom view matches the size of the floating control, and the custom view is used to display the preset control; starting a player in the custom view, and using the player to display the shared media stream. The advantage of such a setting is that after the preset application switches to the background running state, a system-level floating window can be created, the floating window can be used as a container for the custom view, a custom view can be added to the floating window, and a player can be started in the custom view to continue displaying the shared media stream.
[0083] Figure 4 This is a flow chart of another information display method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is optimized based on each optional solution in the above embodiment. Specifically, the method includes the following steps:
[0084] Step 401: display a first media stream corresponding to a first user in a target page of a preset application, display a floating control in the target page, display an image in a shared image stream in the floating control, and prohibit playing of sounds in the shared media stream.
[0085] Exemplarily, in a preset application, multiple sharing initiation scenarios may be supported, and the page for inputting a sharing initiation operation may be any page that supports the sharing initiation scenario, and may include a target page or other pages, such as a session page.
[0086] Exemplarily, after a page other than the target page (which may be recorded as the second page) receives a sharing initiation operation, it can be determined whether the second page is in a preset whitelist. The pages included in the preset whitelist are pages that allow the display of floating controls. If it is in the preset whitelist, the floating control can be displayed in the second page. If it is not in the preset whitelist, the second page can be switched to a shared page, and a floating control switching control can be displayed in the shared page, so that users can switch to the floating control mode according to their own wishes.
[0087] Exemplarily, you can choose to invite users when initiating sharing, or you can invite users after displaying the floating control. Optionally, when initiating sharing in a conversation page, the conversation members corresponding to the conversation page can be automatically invited to join the sharing interaction. Assuming that the conversation members corresponding to the conversation page include user A (first user) and user B, when initiating sharing, user B can be automatically invited to join the shared space; assuming that the conversation members corresponding to the conversation page include user A (first user), user B and user C, when initiating sharing, user B and user C can be automatically invited to join the shared space.
[0088] Optionally, after the first user initiates sharing and before other users join in sharing, the shared media stream may be determined according to the first media stream corresponding to the first user. After the second user joins in sharing, a target determination method may be generated according to the first determination method of the first media stream and the second determination method of the second media stream corresponding to the second user, and then the shared media stream may be determined according to the target determination method.
[0089] Exemplarily, the floating control in the preset application exists in the form of a custom view, the custom view encapsulates the preset control, and the shared media stream is displayed through a player started in the custom view. After initiating sharing, a custom view can be created, added to the target page, and the player can be started in the custom view.
[0090] Optionally, at least two borders of the floating control overlap with the page boundary of the current page, so as to achieve a visual effect that the floating control is adsorbed on the page boundary.
[0091] Figure 5 This is another interface interaction diagram provided by an embodiment of the present disclosure, in which a floating control 502 is displayed in a target page 501, and the floating control 502 is attached to the upper and right borders of the target page 501. The media content in the first media stream of user A is played in the target page 501, including images and sounds; and the image of the media content in the shared media stream is played in the floating control 502.
[0092] Optionally, in response to a drag operation performed by the first user on the floating control, the display position of the floating control is dynamically adjusted following the drag operation, and in response to the first user ending the drag operation, the current position of the floating control is determined, and the display position of the floating control in the target page is determined according to the current position. For example, the target page is divided into two equal areas, the left and right areas, and the target area in which the coordinate point corresponding to the current position falls is determined. If the target area is the left area, the horizontal coordinate of the upper left corner point in the display position of the floating control is set to the horizontal coordinate of the upper left corner point of the target page; if the target area is the right area, the horizontal coordinate of the upper left corner point in the display position of the floating control is set to the horizontal coordinate of the upper left corner point of the target page plus the screen width minus the width of the floating control.
[0093] Step 402: In response to a trigger operation of the first user on the floating control, display a second preset control in the floating control.
[0094] Among them, the second preset control is used to control the sharing interaction between the first user and at least one second user. The type and category of the second preset control displayed each time the floating control is triggered can be dynamically determined according to the current scene.
[0095] Assume that there is already a second user joining the sharing, such as Figure 5 As shown, after the local user clicks the floating control 502, the shared page switching control 503, the floating control closing control 504, the shared media stream playback control control 505 (specifically, it may include a pause display control and a media content switching control in the shared media stream, such as switching to the previous one and switching to the next one), and the microphone switch control 506 for real-time calls can be displayed in the floating control, and the user ID 507 of the user B (the second user) participating in the shared interaction can also be displayed. Optionally, if there is no second user who has joined the shared interaction at present, the user ID 507 can be replaced by a shared user invitation control. If the first user triggers the shared user invitation control, a user list can be displayed for the first user to select the user to be invited. Optionally, if sharing is initiated in a group session, the user list can display the session members in the corresponding group. In addition, all the friends of the first user can be displayed in the user list.
[0096] Optionally, if the first user triggers a preset control, all preset controls may be hidden; if the first user does not trigger a preset control within a specified time, all preset controls may also be hidden.
[0097] Step 403: In response to the triggering operation of the first user on the shared page switch control, the target page is switched to the shared page, and the shared media stream continues to be displayed in the shared page, wherein the shared page includes a floating control switch control.
[0098] like Figure 5 As shown, assuming that user A clicks on the shared page switching control 503 , the target page is switched to the shared page 508 , and the shared media stream continues to be displayed on the shared page 508 . The shared page 508 includes a floating control switching control 509 .
[0099] Step 404: In response to the triggering operation of the first user on switching the floating control, the shared page is switched to the target page, and the shared media stream continues to be displayed in the floating control.
[0100] like Figure 5As shown, it is assumed that user A clicks the floating control switch control 509 to switch the shared page to the target page, and continues to display the shared media stream in the floating control.
[0101] Step 405: In response to receiving the real-time call data of the second user, play the sound corresponding to the real-time call data, and display the user identifier corresponding to the second user in the floating control for a second preset time length.
[0102] For example, if the second user speaks to the first user in real-time voice while the first user is watching each media stream in the floating control mode, the local end will receive the real-time call data of the second user, play the sound corresponding to the real-time call data, and Figure 5 As shown, the user identification 507 corresponding to user B can be displayed in the floating control, and the display duration can be a first preset duration, such as 2 seconds.
[0103] Step 406: In response to detecting that all users in the shared interaction display the shared media stream through the floating control, the media content in the shared media stream is automatically and continuously played in the floating control, and during the automatic playback, the size ratio of the floating control is dynamically adjusted according to the size ratio of the image in the media content.
[0104] like Figure 5 As shown, when a media content with a size ratio of 16:9 is automatically played, the size ratio of the floating control can be adaptively adjusted, and the floating control in the portrait mode can be switched to the floating control in the landscape mode 510.
[0105] Step 407: In response to the third user joining the sharing interaction, the user identifier corresponding to the third user is displayed in the floating control for a third preset time period.
[0106] For example, suppose a third user newly joins the sharing interaction, such as Figure 5 As shown, the user ID 511 of user C (third user) can be displayed in the floating control, and the display duration can be, for example, 5 seconds, and the border of the user ID can be bold and flashing. Subsequently, user C becomes a member of the second user, that is, at this time, user B and user C are both regarded as the second user.
[0107] Step 408: In response to receiving the conversation message from the second user, display the user identifier and the conversation message of the second user in the floating control for a first preset time period.
[0108] For example, Figure 5 As shown, after user C sends the conversation message "I'm here", the user ID of user C and the conversation message 512 may be displayed in the floating control, and the display duration may be, for example, 3 seconds.
[0109] Step 409: In response to the triggering operation of the first user on the conversation message, a message interaction page for the second user is displayed, wherein the display priority of the floating control is higher than the display priority of the message interaction page.
[0110] Figure 6 Another interface interaction diagram provided by an embodiment of the present disclosure is shown in FIG. 5 . For example, assuming that during the display of the conversation message 512, the shared media stream automatically switches to the media content at 9:16, and the floating control can be automatically switched back to the vertical screen mode. After user A clicks the conversation message 512, the message interaction page 513 is displayed, and the floating control is displayed on the upper layer of the message interaction page 513. The message interaction page 513 can display the historical message records in the group conversation corresponding to user A, user B, and user C, as well as the conversation message 512 just sent by user C. User A can reply to user C based on the message interaction page 513.
[0111] Step 410: In response to the target user exiting the sharing interaction, the shared media stream is updated according to a determination method of the media stream of at least one user other than the target user in the sharing interaction.
[0112] Exemplarily, assuming that user B exits the sharing interaction, the shared media stream may be re-determined according to the determination methods of the media streams corresponding to user A and user C respectively.
[0113] Step 411: After switching from the target page to the preset page in the preset application, the floating control continues to be displayed in the preset page, and the shared media stream continues to be displayed in the floating control.
[0114] Exemplarily, in response to a switching operation of switching the target page to the first page, the custom view is removed from the target page, and it is determined whether the first page is in a preset whitelist. If so, the first page is determined to be a preset page and the first page is displayed; the custom view is added to the first page, and the shared media stream continues to be displayed using the player.
[0115] like Figure 6 As shown, it is assumed that user A can continue to watch his own media stream after closing the message interaction page 513. Assuming that user A is interested in the media content currently displayed in the target page and wants to continue to learn about the media content publisher user XX, he can click on the avatar 514 of user XX (that is, input the switch operation of switching to the first page) to enter the personal homepage 515 (first page) of user XX, remove the custom view from the target page, and if the personal homepage 515 is in the preset whitelist, he can add the custom view to the personal homepage 515 and continue to display the shared media stream using the player.
[0116] Exemplarily, the life cycle of an activity in a preset application can be detected, and one activity corresponds to one page. Specifically, the start function (onstart) and the end function (onstop) in the life cycle can be detected. When the end function corresponding to the activity of the target page is detected to be called, it can be considered that the target page needs to end display. When the start function corresponding to the activity of the first page is detected to be called, it can be considered that the first page needs to end display. It can be considered that the switching operation from the target page to the first page is detected. At this time, it can be determined whether the first page has the conditions for displaying the floating control, that is, whether the first page is a preset page. It can be queried in the white list of the activity whether there is an activity corresponding to the first page. If it exists, it can be said that the first page is a preset page. Since the floating control already exists in the target page, it does not need to be created again. The custom view is removed from the target page (for example, the remove view function can be called), and the custom view is added to the first page (for example, the addview function can be called). Optionally, if the first page is not a preset page, the custom view can be destroyed, and when it is switched to the preset page, the custom view is recreated.
[0117] Step 412: After the preset application is switched to the background running state, the floating control continues to be displayed on the screen, and the shared media stream continues to be displayed in the floating control.
[0118] For example, Figure 6 As shown, when user A inputs an upward swipe operation starting from the bottom edge of the screen, the preset application can be switched to the background running state. At this time, the desktop interface is displayed on the screen, the application icon is displayed in the interface, and the floating control can continue to be displayed on the screen, so that user A can continue to watch the shared media stream.
[0119] Exemplarily, it is detected that a preset application has switched to a background running state, the system's floating window service is started, a floating window is created using the floating window service, and a custom view is added to the floating window. The size of the custom view matches the size of the floating control, the preset control is encapsulated in the custom view, a player is started in the custom view, and the player continues to display the shared media stream.
[0120] For example, Figure 7 A schematic diagram of a suspension control structure provided by an embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the floating control displayed outside the preset application may include a three-layer structure, the bottom layer is a system-level floating window 701, the middle layer is a custom view 702, and the top layer is a player layer 703. The custom view 702 can be understood as a container for the player layer 703, and the system-level floating window 701 can be understood as a container for the custom view 702.
[0121] Exemplarily, after the preset application switches to the background running state, the system's floating window service (service) can be started (the service can be a foreground service or a background service, which can be determined according to the operating system version of the electronic device). After the service is started, it can be considered that the system is authorized, and a floating window can be created (for example, it can include initializing the floating window and configuring floating window related parameters, etc.), and a custom view can be added to the floating window. A drag event can also be added to enable the floating control to support dragging, and the shared media stream is obtained through the custom view, and the player is started, and the view corresponding to the player is added to the custom view. The size of the floating control is determined according to the size of the media content in the shared media stream, and the floating control is displayed, and the media content in the shared media stream is played through the player. Optionally, after the floating control is triggered, the preset application can be started or the preset application can be switched to the foreground running state, and whether the floating control continues to be displayed on the page is determined based on whether the page after entering the preset application is a preset page.
[0122] In the information display method provided by the disclosed embodiment, a first user can simultaneously watch his own media stream and the media stream shared with the second user in the application interface; the sound of the shared media stream in the floating control will not be played, but the sound of the other party's voice will be played, so that voice communication can be smoothly carried out while reducing the interference of the sound of the shared media stream on his own media stream; at the same time, the user can directly set the shared interaction through the preset control in the floating control, thereby improving the convenience of the shared setting; the floating control can also display relevant information such as the newly joined user and the conversation messages of the other party user, thereby further improving the convenience of interaction; when switching to the preset page or switching the preset application to the background, the shared media stream can still be displayed in the floating control mode, thereby meeting the user's needs for watching the shared media stream in different scenarios and further improving the user experience.
[0123] Figure 8 This is a schematic diagram of the structure of an information display device provided by an embodiment of the present disclosure. The device is configured at the first user side, such as Figure 8 As shown, the device includes: a media stream display module 801 and a control display module 802.
[0124] The media stream display module 801 is used to display a first media stream corresponding to a first user in a target page of a preset application, display a floating control in the target page, and display a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user;
[0125] The control display module 802 is used to display a preset control in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or control the shared interaction between the first user and the at least one second user.
[0126] The information display device provided by the embodiment of the present disclosure displays the first content corresponding to the first user in the target page of the preset application, displays a floating control in the target page, and displays a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, and displays a preset control in the floating control, wherein the preset control is used to display the associated information of the shared interaction and / or control the shared interaction. By adopting the above technical solution, the first user can simultaneously view his own page content and the media stream shared with the second user in the application interface, and can directly control the shared interaction through the preset control in the floating control, or display the associated information of the shared interaction in the floating control, thereby improving the convenience of the shared interaction and enhancing the user experience in the process of media stream sharing.
[0127] Optionally, the associated information includes a conversation message generated by the shared interaction, and the control display module is specifically used to: in response to receiving a conversation message from the second user, display a first preset control in the floating control, wherein the first preset control is used to display the user identifier of the second user and / or the conversation message.
[0128] Optionally, the device further comprises:
[0129] The message interaction page display module is used to display a message interaction page for the second user in response to a trigger operation of the first user on the conversation message, wherein the message interaction page is used for the first user to interact with the second user in conversation messages.
[0130] Optionally, the message interaction page is located on an upper layer of the target page, and a size of the message interaction page is smaller than or equal to a size of the target page.
[0131] Optionally, the first content includes a first media stream, and the first media stream is different from the shared media stream.
[0132] Optionally, the control display module is specifically used to: in response to a trigger operation of the first user on the floating control, display a second preset control in the floating control, wherein the second preset control is used to control the sharing interaction between the first user and the at least one second user.
[0133] Optionally, the second preset control includes a shared page switching control, and the device also includes: after displaying the second preset control in the floating control, in response to a trigger operation of the first user on the shared page switching control, switching the target page to the shared page, and continuing to display the shared media stream in the shared page, wherein the shared page includes a floating control switching control, and the floating control switching control is used to switch the shared page to the floating control.
[0134] Optionally, the device also includes: a second switching module, which is used to detect that the second user switches the shared page on the second user side to the floating control by triggering the floating control switch control during the process of displaying the shared media stream in the shared page, and keeps displaying the shared media stream in the shared page.
[0135] Optionally, the media stream includes images and sounds; and displaying the shared media stream in the floating control includes: displaying the image in the shared image stream in the floating control, and prohibiting the playing of the sounds in the shared media stream.
[0136] Optionally, the shared interaction supports a real-time conversation between the first user and the second user; the device further includes:
[0137] A call sound playing module is used to play the sound corresponding to the real-time call data in response to receiving the real-time call data of the second user when the image in the shared image stream is displayed in the floating control and the sound in the shared media stream is prohibited from being played.
[0138] Optionally, the shared interaction supports real-time calls between the first user and the second user; the control display module is specifically used to: in response to receiving real-time call data of the second user, display a third preset control in the floating control, wherein the third preset control is used to display a user identifier corresponding to the second user and / or an image corresponding to the real-time call data corresponding to the second user.
[0139] Optionally, the device further comprises:
[0140] The target determination mode generation module is used for displaying the shared media stream in the floating control before further comprising:
[0141] a shared media stream determination module, configured to generate a target determination method according to a first determination method of a first media stream corresponding to the first user and a second determination method of a second media stream corresponding to the second user;
[0142] The shared media stream is determined according to the target determination method.
[0143] Optionally, the device further comprises:
[0144] The size adjustment module is used to adjust the size of the floating control according to the media content in the shared media stream currently displayed during the process of displaying the shared media stream in the floating control.
[0145] Optionally, the control display module is specifically used to: in response to a third user joining the sharing interaction, display a fourth preset control in the floating control, wherein the fourth preset control is used to display a user identifier corresponding to the third user.
[0146] Optionally, the device further includes: a shared media stream updating module, configured to update the shared media stream in response to the target user exiting the shared interaction, according to a method for determining a media stream of at least one user other than the target user in the shared interaction.
[0147] Optionally, the device further comprises:
[0148] The third switching module is used to respond to the trigger operation of the first user on the target user identifier in the floating control, and when it is determined that the shared interaction is initiated in the video call scenario, determine whether the call image on the first user side and / or the call image on the second user side are turned on. If so, switch the target page to the video call page, or, in response to the trigger operation of the first user on the target user identifier in the floating control, switch the floating control to the video call mode, wherein the floating control in the video call mode includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier.
[0149] Optionally, the second preset control includes a floating control closing control, and the device further includes:
[0150] A determination module, configured to determine whether the sharing interaction is initiated in a video call scenario in response to a triggering operation of closing a control by the first user on the floating control after displaying a second preset control in the floating control;
[0151] A floating control hiding module, used for switching the target page to the video call page, hiding the floating control, and displaying the floating control return control in the video call page if the judgment result of the judgment module is yes;
[0152] The floating control closing module is used to close the floating control when the judgment result of the judgment module is no.
[0153] Optionally, the second preset control includes at least one of the following: a shared user invitation control, a shared page switching control, a media content switching control in a shared media stream, a video screen control for a real-time call, and a voice control for a real-time call.
[0154] Optionally, displaying a shared media stream in the floating control includes:
[0155] In response to detecting that all second users corresponding to the at least one second user display the shared media stream through the floating control, at least two media contents in the shared media stream are automatically and continuously played in the floating control.
[0156] Optionally, the device further comprises:
[0157] The first display module is used to continue to display the floating control in the preset page and continue to display the shared media stream in the floating control after switching from the target page to the preset page in the preset application.
[0158] Optionally, the floating control exists in the form of a custom view, the custom view encapsulates the preset control, and the shared media stream is displayed through a player started in the custom view;
[0159] The first display module is specifically used to: in response to a switching operation of switching the target page to the first page, remove the custom view from the target page, and determine whether the first page is in a preset whitelist, and if so, determine that the first page is a preset page and display the first page; add the custom view to the first page, and use the player to continue to display the shared media stream.
[0160] Optionally, the device further comprises:
[0161] The second display module is used to continue to display the floating control on the screen after the preset application is switched to the background running state, and continue to display the shared media stream in the floating control.
[0162] Optionally, the second display module is specifically used for:
[0163] Detecting that the preset application program is switched to the background running state, starting the floating window service of the system;
[0164] Using the floating window service to create a floating window, and adding a custom view in the floating window, wherein the size of the custom view matches the size of the floating control, and the custom view encapsulates the preset control;
[0165] A player is started in the custom view, and the shared media stream is continuously displayed using the player.
[0166] The information display device provided in the embodiments of the present disclosure can execute the information display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0167] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0168] Fig. 9 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig. 9 , which shows an electronic device (eg, Fig. 9 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0169] like Fig. 9 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An edit / output (I / O) interface 905 is also connected to the bus 904.
[0170] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0171] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart 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, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0172] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0173] The electronic device provided by the embodiment of the present disclosure and the information display method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0174] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the information display method provided by the above embodiment is implemented.
[0175] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0176] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0177] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0178] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0179] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays the first content corresponding to the first user in the target page of the preset application, displays a floating control in the target page, and displays a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user; displays a preset control in the floating control, wherein the preset control is used to display the associated information of the shared interaction between the first user and the at least one second user and / or control the shared interaction between the first user and the at least one second user.
[0180] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0181] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0182] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The name of the module does not, in some cases, limit the module itself. For example, the media stream display module may also be described as "a module that displays the first content corresponding to the first user in the target page of the preset application, displays a floating control in the target page, and displays a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user".
[0183] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0184] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 of the foregoing.
[0185] According to one or more embodiments of the present disclosure, there is provided an information display method, at a first user side, comprising:
[0186] Displaying first content corresponding to the first user in a target page of a preset application, displaying a floating control in the target page, and displaying a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user;
[0187] A preset control is displayed in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or to control the shared interaction between the first user and the at least one second user.
[0188] According to one or more embodiments of the present disclosure, the associated information includes a conversation message generated by the shared interaction, and the displaying a preset control in the floating control includes:
[0189] In response to receiving the conversation message of the second user, a first preset control is displayed in the floating control, wherein the first preset control is used to display the user identification of the second user and / or the conversation message.
[0190] According to one or more embodiments of the present disclosure, the present invention further includes:
[0191] In response to the triggering operation of the first user on the conversation message, a message interaction page for the second user is displayed, and the message interaction page is used for the first user to interact with the second user in conversation messages.
[0192] According to one or more embodiments of the present disclosure, the message interaction page is located on an upper layer of the target page, and a size of the message interaction page is smaller than or equal to a size of the target page.
[0193] According to one or more embodiments of the present disclosure, the first content includes a first media stream, and the first media stream is different from the shared media stream.
[0194] According to one or more embodiments of the present disclosure, displaying a preset control in the floating control includes:
[0195] In response to a triggering operation of the first user on the floating control, a second preset control is displayed in the floating control, wherein the second preset control is used to control a sharing interaction between the first user and the at least one second user.
[0196] According to one or more embodiments of the present disclosure, the media stream includes images and sounds; and displaying the shared media stream in the floating control includes:
[0197] The image in the shared image stream is displayed in the floating control, and playing of the sound in the shared media stream is prohibited.
[0198] According to one or more embodiments of the present disclosure, the shared interaction supports the first user and the second user to have a real-time conversation; the method further includes:
[0199] When the image in the shared image stream is displayed in the floating control and playing of the sound in the shared media stream is prohibited, in response to receiving the real-time call data of the second user, playing the sound corresponding to the real-time call data.
[0200] According to one or more embodiments of the present disclosure, the shared interaction supports the first user and the second user to have a real-time conversation; and the displaying a preset control in the floating control includes:
[0201] In response to receiving the real-time call data of the second user, a third preset control is displayed in the floating control, wherein the third preset control is used to display a user identifier corresponding to the second user and / or an image corresponding to the real-time call data corresponding to the second user.
[0202] According to one or more embodiments of the present disclosure, before displaying the shared media stream in the floating control, the method further includes:
[0203] generating a target determination method according to a first determination method of a first media stream corresponding to the first user and a second determination method of a second media stream corresponding to the second user;
[0204] The shared media stream is determined according to the target determination method.
[0205] According to one or more embodiments of the present disclosure, in the process of displaying the shared media stream in the floating control, the process further includes:
[0206] The size of the floating control is adjusted according to the media content in the shared media stream currently being displayed.
[0207] According to one or more embodiments of the present disclosure, displaying a preset control in the floating control includes:
[0208] In response to a third user joining the sharing interaction, a fourth preset control is displayed in the floating control, wherein the fourth preset control is used to display a user identifier corresponding to the third user.
[0209] According to one or more embodiments of the present disclosure, the present invention further includes:
[0210] In response to the target user exiting the sharing interaction, the shared media stream is updated according to a determination method of a media stream of at least one user other than the target user in the sharing interaction.
[0211] According to one or more embodiments of the present disclosure, the present invention further includes:
[0212] In response to a trigger operation by the first user on the target user identifier in the floating control, when it is determined that the shared interaction is initiated in a video call scenario, determining whether the call image on the first user side and / or the call image on the second user side is turned on, and if so, switching the target page to the video call page, or,
[0213] In response to a trigger operation by the first user on a target user identifier in the floating control, the floating control is switched to a video call mode, wherein the floating control in the video call mode includes a video call screen of the first user and / or a video call screen of a user corresponding to the target user identifier.
[0214] According to one or more embodiments of the present disclosure, the second preset control includes a floating control closing control, and after the second preset control is displayed in the floating control, the method further includes:
[0215] In response to a triggering operation of closing the floating control by the first user, determining whether the sharing interaction is initiated in a video call scenario;
[0216] If yes, switching the target page to the video call page, hiding the floating control, and displaying the floating control return control in the video call page;
[0217] Otherwise, close the floating control.
[0218] According to one or more embodiments of the present disclosure, the second preset control includes at least one of the following: a shared user invitation control, a shared page switching control, a media content switching control in a shared media stream, a video screen control for a real-time call, and a voice control for a real-time call.
[0219] According to one or more embodiments of the present disclosure, the present invention further includes:
[0220] After switching from the target page to the preset page in the preset application, the floating control continues to be displayed in the preset page, and the shared media stream continues to be displayed in the floating control.
[0221] According to one or more embodiments of the present disclosure, the floating control exists in the form of a custom view, the custom view encapsulates the preset control, and the shared media stream is displayed through a player started in the custom view;
[0222] After switching from the target page to the preset page in the preset application, continuing to display the floating control in the preset page, and continuing to display the shared media stream in the floating control, comprises:
[0223] In response to a switching operation of switching the target page to a first page, removing the custom view from the target page, and determining whether the first page is in a preset whitelist, and if so, determining that the first page is a preset page, and displaying the first page;
[0224] The custom view is added to the first page, and the shared media stream is continued to be displayed using the player.
[0225] According to one or more embodiments of the present disclosure, there is provided an information display device, which is configured at a first user side and includes:
[0226] a media stream display module, configured to display first content corresponding to a first user in a target page of a preset application, display a floating control in the target page, and display a shared media stream in the floating control, wherein the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user;
[0227] A control display module, used to display a preset control in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or to control the shared interaction between the first user and the at least one second user.
[0228] According to one or more embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:
[0229] one or more processors;
[0230] a storage device for storing one or more programs,
[0231] When the one or more programs are executed by the one or more processors, the one or more processors implement the information display method provided by the embodiment of the present disclosure.
[0232] According to one or more embodiments of the present disclosure, a storage medium containing computer executable instructions is provided. When the computer executable instructions are executed by a computer processor, they are used to execute the information presentation method provided by the embodiments of the present disclosure.
[0233] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0234] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0235] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An information display method, characterized in that: On the first user side, it includes: In response to a media stream sharing operation, determining a shared media stream including a plurality of media contents, wherein the shared media stream is used for sharing interaction between a first user and at least one second user; Displaying a first content corresponding to a first user in a target page of a preset application, displaying a floating control in the target page, and displaying a shared media stream in the floating control, wherein two consecutive media contents in the shared media stream support automatic switching and / or manual switching; Displaying a preset control in the floating control, wherein the preset control is used to display associated information of the sharing interaction between the first user and the at least one second user and / or control the sharing interaction between the first user and the at least one second user; Displaying a preset control in the floating control includes: displaying the conversation message generated by the shared interaction in the floating control; in response to the triggering operation of the first user on the conversation message, displaying a message interaction page for the second user, the message interaction page being used for the first user to interact with the second user in conversation messages, and the floating control being displayed on the upper layer of the message interaction page; and / or In response to the first user's triggering operation on the floating control, the preset control is displayed on the upper layer of the media content image in the floating control, wherein the preset control includes at least one of a media content switching control for controlling the switching of adjacent media content in the shared media stream, a shared interactive microphone switch control, and a shared user invitation control.
2. The method according to claim 1, characterized in that The displaying of a preset control in the floating control includes: In response to receiving the conversation message of the second user, a first preset control is displayed in the floating control, wherein the first preset control is used to display the user identification of the second user and / or the conversation message.
3. The method according to claim 1, characterized in that The message interaction page is located on an upper layer of the target page, and a size of the message interaction page is smaller than or equal to a size of the target page.
4. The method according to claim 1, characterized in that The first content includes a first media stream, and the first media stream is different from the shared media stream.
5. The method according to claim 4, characterized in that The media stream includes images and sounds; and the displaying of the shared media stream in the floating control includes: The image in the shared media stream is displayed in the floating control, and playing of the sound in the shared media stream is prohibited.
6. The method according to claim 5, characterized in that The shared interaction supports the first user and the second user to have a real-time conversation; the method further includes: When the image in the shared media stream is displayed in the floating control and playing of the sound in the shared media stream is prohibited, in response to receiving the real-time call data of the second user, playing the sound corresponding to the real-time call data.
7. The method according to claim 1, characterized in that The shared interaction supports the first user and the second user to have a real-time conversation; and the displaying of a preset control in the floating control includes: In response to receiving the real-time call data of the second user, a third preset control is displayed in the floating control, wherein the third preset control is used to display a user identifier corresponding to the second user and / or an image corresponding to the real-time call data corresponding to the second user.
8. The method according to claim 4, characterized in that Before displaying the shared media stream in the floating control, the method further includes: generating a target determination method according to a first determination method of a first media stream corresponding to the first user and a second determination method of a second media stream corresponding to the second user; The shared media stream is determined according to the target determination method.
9. The method according to claim 1, characterized in that: The process of displaying the shared media stream in the floating control further includes: The size of the floating control is adjusted according to the media content in the shared media stream currently being displayed.
10. The method according to claim 1, characterized in that The displaying of a preset control in the floating control includes: In response to a third user joining the sharing interaction, a fourth preset control is displayed in the floating control, wherein the fourth preset control is used to display a user identifier corresponding to the third user.
11. The method according to claim 4, characterized in that Also includes: In response to the target user exiting the sharing interaction, the shared media stream is updated according to a determination method of a media stream of at least one user other than the target user in the sharing interaction.
12. The method according to claim 1, characterized in that Also includes: In response to a trigger operation by the first user on the target user identifier in the floating control, when it is determined that the shared interaction is initiated in a video call scenario, determining whether the call image on the first user side and / or the call image on the second user side is turned on, and if so, switching the target page to the video call page, or, In response to a trigger operation by the first user on a target user identifier in the floating control, the floating control is switched to a video call mode, wherein the floating control in the video call mode includes a video call screen of the first user and / or a video call screen of a user corresponding to the target user identifier.
13. The method according to claim 1, characterized in that The preset control includes a floating control closing control, and after the preset control is displayed in the floating control, the following further includes: In response to a triggering operation of closing the floating control by the first user, determining whether the sharing interaction is initiated in a video call scenario; If yes, switching the target page to the video call page, hiding the floating control, and displaying the floating control return control in the video call page; Otherwise, close the floating control.
14. The method according to claim 1, characterized in that The preset controls include at least one of the following: a shared page switching control, and a video screen control for real-time calls.
15. The method according to claim 1, characterized in that Also includes: After switching from the target page to the preset page in the preset application, the floating control continues to be displayed in the preset page, and the shared media stream continues to be displayed in the floating control.
16. The method according to claim 15, characterized in that The floating control exists in the form of a custom view, the custom view encapsulates the preset control, and the shared media stream is displayed through a player started in the custom view; After switching from the target page to the preset page in the preset application, continuing to display the floating control in the preset page, and continuing to display the shared media stream in the floating control, comprises: In response to a switching operation of switching the target page to a first page, removing the custom view from the target page, and determining whether the first page is in a preset whitelist, and if so, determining that the first page is a preset page, and displaying the first page; The custom view is added to the first page, and the shared media stream is continued to be displayed using the player.
17. An information display device, characterized in that: The configuration is performed on the first user side, including: A shared media stream determination module, configured to determine, in response to a media stream sharing operation, a shared media stream including a plurality of media contents, wherein the shared media stream is used for sharing interaction between a first user and at least one second user; A media stream display module, configured to display a first content corresponding to a first user in a target page of a preset application, display a floating control in the target page, and display a shared media stream in the floating control, wherein two consecutive media contents in the shared media stream support automatic switching and / or manual switching; a control display module, configured to display a preset control in the floating control, wherein the preset control is used to display associated information of the shared interaction between the first user and the at least one second user and / or to control the shared interaction between the first user and the at least one second user; The control display module is used to display the conversation message generated by the shared interaction in the floating control; in response to the trigger operation of the first user on the conversation message, display a message interaction page for the second user, the message interaction page is used for the first user and the second user to interact with each other in conversation messages, and the floating control is displayed on the upper layer of the message interaction page; and / or The control display module is used to display the preset control on the upper layer of the media content image in the floating control in response to the trigger operation of the first user on the floating control, wherein the preset control includes at least one of a media content switching control for controlling the switching of adjacent media content in the shared media stream, a shared interactive microphone switch control, and a shared user invitation control.
18. The device according to claim 17, characterized in that include: A module for executing the method according to any one of claims 2 to 16.
19. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the information display method as described in any one of claims 1-16.
20. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the information display method as described in any one of claims 1 to 16 when executed by a computer processor.
Citation Information
Patent Citations
Method and terminal for message reminding
CN105554280A
Video display window switching method and device
CN105898615A
Small floating window control method and apparatus, terminal apparatus and computer readable storage medium
CN107656671A
Video display method and device, electronic equipment and computer readable storage medium
CN112437326A
Page display method and device, computer equipment and storage medium
CN112764631A
Cited By
Shared media stream display method comprising displaying floating control and displaying shared media stream and control in floating control, apparatus, device, and storage medium
US12535946B2