Information presentation methods, apparatus, devices, and storage media
The method and device enhance user interaction in media stream sharing by displaying shared media streams with floating controls and preset controls, addressing the inefficiencies of existing technologies.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2023-04-28
- Publication Date
- 2026-04-13
Smart Images

Figure 0007844644000001 
Figure 0007844644000002 
Figure 0007844644000003
Abstract
Description
Technical Field
[0001] This application claims the priority of a Chinese patent application with application number 202210488369.6 filed with the Chinese Patent Office on May 6, 2022, and the entire content disclosed in that application is incorporated herein by reference.
[0002] Embodiments of the present disclosure relate to the field of Internet technology, for example, to information presentation methods, devices, apparatuses, and storage media.
Background Art
[0003] With the rapid development of Internet technology and terminal technology, the interaction between users has become increasingly convenient. Multiple users can share the same media stream content, and users sharing the media stream can also communicate by voice in real time.
Summary of the Invention
[0004] Embodiments of the present disclosure provide an information presentation method, device, apparatus, and storage media that can optimize an information presentation means based on a media stream.
[0005] Embodiments of the present disclosure provide an information presentation method applicable to a first user, comprising the steps of: displaying first content corresponding to a first user on a target page of a preset application; displaying a floating control on the target page; and displaying a shared media stream on 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; and displaying a preset control on the floating control, wherein the preset control is used for at least one of displaying relevant information about the shared interaction between the first user and the at least one second user; and controlling the shared interaction between the first user and the at least one second user.
[0006] Embodiments of the present disclosure provide a media stream presentation module configured to display first content corresponding to a first user on a target page of a preset application, to display a floating control on the target page, and to display a shared media stream on the floating control, wherein the shared media stream includes a media stream display module containing a media stream corresponding to a shared interaction between the first user and at least one second user, and a control display module configured to display a preset control on the floating control, wherein the preset control is used for at least one of displaying relevant information about the shared interaction between the first user and the at least one second user, and controlling the shared interaction between the first user and the at least one second user.
[0007] Embodiments of the present disclosure further provide an electronic device comprising at least one processor and a memory device configured to store at least one program, wherein when the at least one program is executed by the at least one processor, the at least one processor is caused to implement the information presentation method provided by embodiments of the present disclosure.
[0008] Embodiments of the present disclosure further provide a storage medium containing computer-executable instructions, wherein the computer-executable instructions perform an information presentation method provided by the embodiments of the present application when executed by a computer processor. [Brief explanation of the drawing]
[0009] [Figure 1] Figure 1 is a scenario architecture diagram of applicable application scenarios using the information presentation method provided by the embodiments of this disclosure. [Figure 2] Figure 2 is a schematic flowchart of the information presentation method provided by the embodiments of this disclosure. [Figure 3] Figure 3 is a schematic diagram of the interface provided by the embodiments of this disclosure. [Figure 4] Figure 4 is a schematic flowchart of another information presentation method provided by an embodiment of the present disclosure. [Figure 5] Figure 5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure. [Figure 6] Figure 6 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure. [Figure 7] Figure 7 is a schematic diagram of the floating control provided by an embodiment of the present disclosure. [Figure 8] Figure 8 is a schematic diagram of the information presentation device provided by an embodiment of the present disclosure. [Figure 9] Figure 9 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. [Modes for carrying out the invention]
[0010] Examples of the present disclosure will be described below with reference to the drawings. While some examples of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be realized in multiple forms and should not be construed as being limited to the examples described herein. Rather, these examples are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and examples of the present disclosure are for illustrative purposes only and do not limit the scope of protection of the present disclosure.
[0011] To ensure that it is understood, the steps described in the embodiments of the methods of this disclosure can be performed in different orders and / or in parallel. Furthermore, embodiments of the methods may include additional steps and / or omit the execution of the illustrated steps. The scope of this disclosure is not limited in this respect.
[0012] As used herein, the terms “including” and their variations are open inclusions meaning “including, but not limited to.” The term “based on” means “based at least in part.” The term “one embodiment” means “at least one embodiment,” the term “another embodiment” means “at least one other embodiment,” and the term “several embodiments” means “at least several embodiments.” Relevant definitions of other terms are given in the following description.
[0013] Furthermore, the concepts of “first,” “second,” etc., as used in this disclosure are used solely to distinguish between different devices, modules, or units, and are not intended to restrict the order or interdependence of functions performed by these devices, modules, or units.
[0014] Furthermore, the modifications “one” and “multiple” as used in this disclosure are illustrative and not restrictive, and should be understood as “one or more” by those skilled in the art unless the context explicitly indicates otherwise.
[0015] The names of messages or information interacted between multiple devices in embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0016] To ensure understanding, before using the technical solutions disclosed in multiple embodiments of this disclosure, the user should be notified of the types of personal information related to this disclosure, the scope of use, and the scenarios in which it may be used, through appropriate means in accordance with relevant laws and regulations, and their consent should be obtained.
[0017] For example, upon receiving an active request from a user, the system responds by sending a prompt message to the user clearly informing them that the requested operation requires the acquisition and use of the user's personal information. Thus, the user can decide, based on the prompt message, whether or not 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 this disclosure.
[0018] As an optional but not limited implementation, when an active request from the user is received, the method of sending a prompt message to the user in response may be, for example, a pop-up window, in which the prompt message may be displayed as text. The pop-up window may also include selection controls for the user to choose "agree" or "disagree" to providing personal information to the electronic device.
[0019] As can be understood, the above process of notifying the user and obtaining the user's permission is merely an example and does not limit the embodiments of the present disclosure. Other methods that comply with the relevant laws and regulations can also be applied to the embodiments of the present disclosure.
[0020] As can be understood, the data related to the technical solution (including but not limited to the data itself, the acquisition or use of the data) needs to comply with the requirements of the corresponding laws and regulations and related regulations.
[0021] FIG. 1 is a scenario architecture diagram of an applicable application scenario by the information presentation method provided by an embodiment of the present disclosure. Referring to FIG. 1, the applicable application scenario can include a server 100, a first electronic device 101, and a second electronic device 102. Note that the number of electronic devices can be more, and the number is not limited. FIG. 1 is only used as an exemplary explanation. The plurality of electronic devices are communicatively connected to the server to realize information interaction. The electronic device may be a mobile device such as a mobile phone, a smart watch, a tablet computer, or a personal digital assistant, or may be a device such as a desktop computer. The user using the electronic device can perform real-time calls, content sharing, message interaction, etc. through the preset application installed on the electronic device. Content sharing can include media stream sharing (hereinafter referred to as sharing interaction). The server can provide support for the preset application. Exemplarily, when multiple users perform sharing interaction, each user can control the shared video stream, such as switching the video. In the embodiments of the present disclosure, the type of the preset application is not limited. For example, it may be a video application, a live broadcast application, an information application, etc., or other types of applications.
[0022] FIG. 2 is a schematic flowchart of an information presentation method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to the case of media stream presentation. The method can be executed by an information presentation device, which can be implemented in the form of software and / or hardware, and optionally, can be implemented via an electronic device, and can be an electronic device used by any user participating in media stream sharing.
[0023] As shown in FIG. 2, the method includes the following steps.
[0024] Step 201, display the first content corresponding to the first user on the target page of the preset application, display a floating control on the target page, and display a shared media stream on the floating control. The shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user.
[0025] In the embodiments of this disclosure, the first user can be understood as a user currently using a preset application, i.e., a local user, and the account currently logged into the preset application is the first user's account. The target page can be understood as a page in the preset application program for displaying content corresponding to the first user, and the type of content is not limited and may be, for example, media content. Optionally, the content may include a media stream, and the media stream corresponding to a user can be understood as a personalized media stream pushed to that user. The first content includes a first media stream, which may be a media stream pushed to the first user, for example, by generating a corresponding media stream determination method based on the first user, and determining a personalized first media stream for the first user based on the media stream determination method. The media content included in the media stream may include images, graphics and text, audio, or video.
[0026] In embodiments of this disclosure, two or more users can support real-time media stream sharing, and the second user can be understood as a user sharing the same media stream as the first user, i.e., an end user, and the number of second users may be one or more, but is not limited to one. The shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user. That is, each user participating in the shared interaction can view the shared media stream on their electronic device. The source of the shared media stream is not limited.
[0027] Exemplary, a floating control can be understood as a view element, and displaying a floating control on a target page can be understood as displaying that view element as an overlay on top of the target page. The properties of a floating control, such as shape, size, color, transparency, and display position, can be set according to the actual needs, for example, a floating control can be a floating box type control. After the floating control is displayed, the user can adjust the display position of the floating control by entering drag operations. Selectively, at least one or at least two borders of the floating control overlap with the boundary of the target page.
[0028] In the embodiments of this disclosure, in addition to displaying first content corresponding to the first user on the target page, a floating control is also displayed on the target page, and a shared media stream is displayed on the floating control, thereby allowing the first user to view the content on their page and the shared media stream simultaneously, which helps to improve the user experience.
[0029] Figure 3 is a schematic diagram of the interface provided by an embodiment of the present disclosure. As shown in Figure 3, the target page 301 displays a first media stream, and the target page 301 displays a floating control 302. Selectively, the floating control 302 is located in the upper left corner of the target page 301, and the left and top borders of the floating control 302 overlap with the left and top borders of the target page 301, respectively.
[0030] Furthermore, users participating in a media stream sharing interaction can be understood as being in the same shared space. If the first user creates the shared space and invites other users to join, the system can assume that the second user is not currently present before the other users join the shared space, display the shared media stream in a floating control, and wait for the second user to join while it plays. Additionally, if all second users leave the shared space and only the first user remains, the system can continue to display the shared media stream in a floating control.
[0031] Step 202, a preset control is displayed on the floating control, the preset control displaying relevant information about a shared interaction between the first user and the at least one second user, and / or controlling a shared interaction between the first user and the at least one second user.
[0032] For example, preset controls can be displayed at all times within the floating control, or only when the preset display conditions are met. Optionally, during the process of displaying a shared media stream, the controls do not need to be displayed within the floating control, thus reducing interference from the controls to the content of the shared media stream, allowing the floating control to display the content purely, thereby providing the user with a pure viewing experience. If the user wants to set up a shared interaction, they can enter a trigger action into the floating control; the type of trigger action is not limited and may be, for example, a click or a long press. After the user triggers the floating control, the preset controls are displayed within the floating control. Optionally, preset controls can be displayed when a message or notification is received. The type, display position, and number of preset controls can be configured according to actual needs.
[0033] As shown in Figure 3, the preset control 303 can be displayed in the lower right corner of the floating control.
[0034] For example, a preset control can be used to display relevant information for a shared interaction between a first user and at least one second user, which may include, for example, the user identifiers of the users participating in the shared interaction and the interaction messages sent during the shared interaction process. A preset control can also be used to control a shared interaction between a first user and at least one second user; that is, based on the preset control, control operations for the shared interaction can be entered, and different controls can be set depending on the different control operations. For example, a preset control may include at least one of the following: a shared user invitation control, a shared page switching control, a floating control close control, a shared media stream presentation pause control, a media content switching control in a shared media stream, a video screen control for real-time calls, and an audio control for real-time calls (e.g., a microphone switch control). Similarly, control operations entered via preset controls may include inviting shared users, switching to a shared page, closing floating controls, pausing the presentation of a shared media stream, switching to the previous or next media content within a shared media stream, and turning the microphone switch on or off for real-time calls.
[0035] In the information presentation method provided by the embodiment of the present application, first content corresponding to a first user is displayed on the target page of a preset application, a floating control is displayed on the target page, a shared media stream including a media stream corresponding to a shared interaction between the first user and at least one second user is displayed on the floating control, and a preset control for displaying information related to the shared interaction and / or for controlling the shared interaction is displayed on the floating control. With the above technical solution, the first user can simultaneously view the content of their own page and the media stream shared with the second user in the application interface, control the shared interaction directly via the preset control of the floating control, or display information related to the shared interaction on the floating control, thereby improving the convenience of the shared interaction and enhancing the user experience during the media stream sharing process.
[0036] In embodiments of this disclosure, the source of the shared media stream is not limited. If the first content includes a first media stream, the first media stream is distinct from the shared media stream. Exemplary, the shared media stream can be set by a user initiating a shared interaction and can be determined based on the media stream corresponding to the user initiating the shared interaction, for example, by filtering the media stream corresponding to that user based on preset filtering rules and then obtaining the shared media stream. Preset filtering rules may include, for example, filtering graphics and text media content. They may also be determined based on the media streams corresponding to at least two users participating in the shared interaction, for example, by merging 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.
[0037] Before displaying a shareable media stream in the floating control in a selectable manner, the process further includes generating a target determination method based on a first determination method for a first media stream corresponding to the first user and a second determination method for a second media stream corresponding to at least one second user, and determining a shareable media stream based on the target determination method. In this configuration, multiple users can determine a media stream of common interest based on the target determination method and share the media stream. If the number of second users is at least two, the second determination method for generating the target determination method may include a second determination method corresponding to one second user and may include a second determination method corresponding to each of at least two second users.
[0038] For example, the first user is User A, and the second user includes Users B and C. User A initiates a shared interaction and can determine the shared media stream in one of the following ways: For example, by filtering User A's media stream and then obtaining the shared media stream. Another example is merging the media streams corresponding to User A, User B, and User C to obtain the shared media stream. As a further example, a target recommendation algorithm is generated based on the media stream recommendation algorithms corresponding to User A, User B, and User C, and the shared media stream is determined based on the target recommendation algorithm.
[0039] In some embodiments, the relevant information includes conversational messages generated by the shared interaction, and the step of displaying a preset control within the floating control includes, upon receiving a conversational message from at least one of all second users, the step of displaying a first preset control within the floating control in response, wherein the first preset control is used to display the user identifier of the at least one of all second users and / or the conversational message. Exemplarily, the conversational message may include at least one of the following forms: text, audio, or images. This configuration can support instant messaging interactions between local and end users, displaying conversational messages in a floating control, allowing local users to directly view all or part of the message content from the floating control without performing page switching operations, thereby improving the convenience of message interaction, and further, displaying a user identifier, thereby clarifying to the local user who sent the message, and improving interaction efficiency. When presenting a conversational message, all or part of the message content may be displayed, which can be dynamically determined based on the string length of the message content and the display size of the floating control. The user identifier may be a username, a user's nickname, or a user's icon.
[0040] Selectable, a first preset control can be displayed within the floating control for the duration of the first preset. Exemplary, user identifiers and / or conversation messages corresponding to at least two users can be displayed simultaneously in the floating control. The display format of the conversation messages is not limited and may, for example, be in a speech bubble. If the first preset control is used to display the user identifier of a second user, the conversation messages may be displayed in a relevant area outside the floating control displaying the shared media stream. This relevant area may be, for example, above, below, to the left, or to the right of the floating control, and can be dynamically determined based on the relative position of the floating control on the target page. That is, relevant information about a shared interaction can be displayed in a floating control separate from the floating control displaying the shared media stream.
[0041] In some embodiments, the process further includes the step of displaying a message interaction page for at least one of the second users in response to a trigger action by the first user on the conversational message, the message interaction page being used by the first user and at least one of the second users to interact on the conversational message. This configuration makes it easier for the first user to reply to messages from the second users. Optionally, the display priority of the floating control is higher than the display priority of the message interaction page, so as not to interfere with the first user viewing the shared media stream during the reply process.
[0042] Exemplary, the display priority of a floating control is higher than the display priority of a message interaction page, which can be understood to mean that the display of the message interaction page does not interfere with the display of the floating control, for example, the floating control is displayed on top of the message interaction page. Optionally, the message interaction page may be located on top of the target page, and the size of the message interaction page may 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 further include a step of returning to the target page in response to a first user triggering the return control.
[0043] In some embodiments, the step of displaying a preset control within the floating control is to display a second preset control within the floating control in response to a trigger operation by the first user on the floating control, the second preset control being used to control a shared interaction between the first user and the at least one second user.
[0044] In some embodiments, the second preset control includes a shared page switching control, and after displaying the preset control within the floating control, further includes the step of switching the target page to a shared page in response to a first user trigger operation on the shared page switching control, and continuing to display the shared media stream on the shared page, wherein the shared page includes a floating control switching control for switching the shared page to the floating control. In this configuration, the user can switch between the shared page and the floating control, and can more flexibly select the viewing mode of the current shared media stream.
[0045] For example, during the switching process between a shared page and a floating control, the progress of presenting media content in the shared media stream is unaffected, and the display size of images in the media content can be adjusted to fit the size of the shared page or floating control.
[0046] In some embodiments, the method further includes the step of continuing to display the shared media stream on the shared page if, during the process of presenting the shared media stream on the shared page, it detects that at least one of all second users has switched the shared page on the second user's side to a floating control by triggering the floating control switching control. This configuration reduces the impact on the local user when an end user switches the presentation mode of the shared media stream during the media stream sharing process, thus ensuring the local user's viewing experience.
[0047] In some embodiments, the shared media stream includes images and audio, and the step of displaying the shared media stream within the floating control includes displaying the images from the shared media stream within the floating control and prohibiting the playback of audio from the shared media stream. The images from the first media stream can be displayed on the target page, and the audio from the first media stream can be played, i.e., the first media stream can be successfully presented on the target page. With this configuration, if both the first media stream and the shared media stream contain audio, mutual interference caused by simultaneously playing the audio from the two media streams can be avoided, ensuring that local users have an experience of viewing their own media streams. If a local user wishes to listen to the audio from the shared media stream, they can switch to the shared page and be presented with the shared media stream.
[0048] In some embodiments, the shared interaction supports a real-time call between the first user and the at least one second user, and the method further includes the step of displaying images in the shared media stream within the floating control and, if playback of audio in the shared media stream is prohibited, playing audio corresponding to the real-time call data in response to receiving real-time call data from at least one of the second users. Such a configuration supports real-time voice communication between local users and end users during the media stream sharing process, improves the convenience of user-to-user interaction, prohibits playback of audio in the shared media stream, and ensures normal playback of call audio and fluency of voice communication between users.
[0049] In some embodiments, the shared interaction supports a real-time call between the first user and the at least one second user, and the steps include displaying a preset control within the floating control in response to receiving real-time call data from at least one of all second users, and displaying a third preset control within the floating control, the third preset control being used to display a user identifier corresponding to at least one of all second users and / or the real-time call data of the at least one of all second users. The real-time call data allows the local user to further clarify the identity of the user they are currently speaking with, thereby improving interaction efficiency.
[0050] The image corresponding to the real-time call data may be, for example, the video screen of a video call. A third preset control can be optionally displayed within the floating control at the time of the second preset. Exemplaryly, the time of the second preset can be set to, for example, 2 seconds, depending on the actual needs, or it can be set according to the playback time corresponding to the real-time call data. For example, if the end user speaks for 5 seconds, the time of the second preset can be set to 5 seconds. When presenting the user identifier of a second user, the user identifier of the affiliated user (i.e., the user speaking) corresponding to the real-time call data may be presented, or the user identifiers of all second users may be presented. In this case, the user identifiers of the users corresponding to the real-time call data can be presented distinctly, so that the local user can clearly see all users participating in the shared interaction and clearly identify the user currently speaking. Distinguishing presentation can refer to different borders or presentation effects for the user identifiers, for example, making the border of the user identifier of an affiliated user thicker than that of an unaffiliated user, or adding dynamic effects such as flashing.
[0051] In some embodiments, the process of displaying a shared media stream within the floating control further includes the step of resizing the floating control based on the media content in the currently presented shared media stream. This setting can better match the size of the floating control to the media content and improve the viewing experience.
[0052] For example, the size of a floating control can be adjusted according to the image size of the media content in the currently presented shared media stream. For instance, the aspect ratio of the floating control can be adjusted to match the aspect ratio of the image. For example, if the image aspect ratio is 16:9, the aspect ratio of the floating control can be adjusted to 16:9. If the image aspect ratio is 9:16, the aspect ratio of the floating control can be adjusted to 9:16.
[0053] In some embodiments, the step of displaying a preset control within the floating control is used to display a fourth preset control within the floating control in response to a third user joining the shared interaction, the fourth preset control being used to display a user identifier corresponding to the third user. This configuration notifies the first user of a new user's participation by presenting the user identifier corresponding to that new user, thereby reducing interference with media stream viewing and ensuring a positive viewing experience.
[0054] The user identifier corresponding to the third user can be optionally displayed in the floating control at a third preset time. Alternatively, the user identifier corresponding to the second user can be presented at a fourth preset time. In this way, when a new user joins, the first user can clearly and intuitively identify all users participating in the shared interaction. If the user identifiers of both the third and second users are presented simultaneously, they can be presented distinctly, allowing the first user to immediately identify the new user. For example, the third user can become the new second user after successfully joining.
[0055] In some embodiments, the process further includes updating the shared media stream in response to the target user ending the shared interaction, based on a method for determining the media stream of at least one user other than the target user during the shared interaction. This configuration allows the shared media stream to be updated at an appropriate time when a user ends the shared interaction, thereby ensuring that the shared media stream is more suitable for viewing by the remaining users. The update method can be found in the relevant description of the shared media stream source above, but will not be repeated here. Furthermore, the shared media stream can be determined based on the media stream corresponding to the user who initiated the shared interaction. If the target user is the initiating user, the new shared media stream can be determined based on the media stream corresponding to the first user who accepted the invitation or any user other than the initiating user.
[0056] In some embodiments, if it is determined that the sharing interaction has started in a video call scenario in response to a first user trigger operation on a target user identifier in the floating control, the further steps include determining whether the call image on the first user side and / or the call image on the second user side are turned on, and if they are turned on, switching the target page to a video call page, or switching the floating control to video call mode in response to a first user trigger operation on a target user identifier in the floating control, in which the floating control includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier. This configuration can provide a shortcut to view the video call screen when initiating sharing in a video call scenario.
[0057] For example, 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, and the target page can be switched to the video call page and the floating controls can be hidden or kept visible, that is, the shared media stream can be continued to be presented, so that the first user can view the shared media stream while viewing the video call screen.
[0058] For example, the floating control can be switched to video call mode while the first media stream continues to be displayed on the target page, allowing the first user to view their own media stream while watching the video call screen.
[0059] If it is determined that the shared interaction will not be initiated in a video call scenario, or if 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, the current display mode of the target page and the floating control can be maintained after receiving a trigger operation from the first user on the target user identifier of the floating control.
[0060] In some embodiments, the second preset control includes a floating control close control. After displaying the second preset control within the floating control, the further steps include responding to the first user's trigger operation on the floating control close control to determine whether the shared interaction was initiated in a video call scenario, and if it is determined that the shared interaction was initiated in a video call scenario, switching the target page to the video call page, hiding the floating control, and displaying the floating control return control on the video call page; and if the shared interaction was not initiated in the video call scenario, closing the floating control. This configuration allows for the reuse of the functionality of the floating control close control, and when the control is triggered, it can respond in various ways depending on the various scenarios in which the shared interaction is initiated. In a video call initiation scenario, the shared interaction is maintained while switching to the video call page, and the floating control return control is provided, which allows the user to return to the target page and display the floating control without having to restart the shared interaction, thus meeting the user's need to quickly switch between the video call page and the floating control.
[0061] In some embodiments, the step of displaying a shared media stream in the floating control detects that all second users corresponding to at least one second user are viewing the shared media stream via the floating control, and in response, automatically and continuously plays at least two media contents from the shared media stream within the floating control. This configuration allows for automatic and continuous playback of media contents from the shared media stream when a first user is viewing the shared media stream in floating control mode and another user participating in the shared interaction enters floating control mode, thereby reducing the need for active switching operations on shared content by the user. Optionally, the first user can perform switching operations on media contents within the first media stream on the target page.
[0062] In some embodiments, the process further includes the step of switching from the target page to a preset page in the preset application, continuing to display the floating control on the preset page, and continuing to display the shared media stream on the floating control. This configuration allows the floating control to remain visible during page switching, thereby enabling the first user to view the shared media stream even when performing operations other than viewing the first media stream in the preset application. Selectively, the preset page may be any page in the preset application except the target page, thereby enabling global display of the floating control in the preset application.
[0063] In some embodiments, the floating control exists in the form of a custom view, the custom view encapsulates a preset control, and the shared media stream is displayed through a player launched in the custom view. In the preset application, after switching from the target page to the preset page, the step of continuing to display the floating control on the preset page and continuing to display the shared media stream with the floating control is to respond to an operation to switch the target page to the first page by removing the custom view from the target page, determining whether the first page is included in the preset whitelist, and if the first page is included in the preset whitelist, determining that the first page is a preset page and displaying the first page, adding the custom view to the first page, and continuing to present the shared media stream using the player. By setting it up in this way, the floating control is realized by adding the custom view to the target page, and compared to the picture-in-picture implementation methods of related technologies, the floating control provides richer functionality, can display more styles of controls, improves display and interaction effects, and allows for more flexible configuration of which pages can display the floating control by setting a whitelist.
[0064] In some embodiments, the process further includes the step of continuing to display the floating control on the screen and continuing to display the shared media stream on the floating control even after the preset application has been switched to background execution. In this configuration, the first user can view the shared media stream even when the preset application is in the background.
[0065] The process may further include the step of keeping the floating control on the screen in a selectable state, and then, in response to a first user trigger operation on the floating control, switching the preset application to a foreground running state and displaying the floating control in the preset application.
[0066] In some embodiments, the step of continuing to display the floating control on the screen and the shared media stream in the floating control after the preset application has been switched to background execution includes the steps of: detecting that the preset application has been switched to background execution, starting the system's floating window service; using the floating window service, creating 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; and starting a player in the custom view and using the player to display the shared media stream. With this configuration, it is possible to create a system-level floating window after the preset application has been switched to background execution, use the floating window as a container for a custom view, add the custom view to the floating window, start a player in the custom view, and continue displaying the shared media stream.
[0067] Figure 4 is a schematic flowchart of another information presentation method provided by an embodiment of the present disclosure. An embodiment of the present disclosure will be described based on several optional solutions in the embodiments described above. The method includes the following steps:
[0068] Step 401: Display the first media stream corresponding to the first user on the preset application's target page, display a floating control on the target page, display the image of the shared media stream in the floating control, and disable audio playback in the shared media stream.
[0069] For example, a preset application can support multiple share initiation scenarios, and the page for entering the share initiation operation can be any page that supports the share initiation scenario, and may include other pages such as a target page or a conversation page.
[0070] For example, after a page other than the target page (which can be recorded as a second page) receives a sharing start command, it is possible to determine whether the second page is included in the preset whitelist. Pages included in the preset whitelist are pages that are allowed to display floating controls. If the second page is included in the preset whitelist, the floating controls can be displayed on the second page. If the second page is not included in the preset whitelist, the second page can be switched to a shared page, and the floating control switching control can be displayed on the shared page, thereby allowing the user to switch the shared page to floating control mode according to their preference.
[0071] For example, you can choose to invite users when initiating a shared interaction, or you can invite users after displaying a floating control. Optionally, when you initiate a shared interaction on a conversation page, you can automatically invite the conversation members corresponding to that conversation page to participate in the shared interaction. Assuming the conversation members corresponding to a conversation page include User A (the first user) and User B, when you initiate a shared interaction, you can automatically invite User B to join the shared space. Assuming the conversation members corresponding to a conversation page include User A (the first user), User B, and User C, when you initiate a shared interaction, you can automatically invite Users B and C to join the shared space.
[0072] Optionally, after the first user initiates a shared interaction, and before other users join the shared interaction, the shared media stream can be determined based on the first media stream corresponding to the first user. After the second user joins the shared interaction, a target determination method is generated based on the first determination method for the first media stream and the second determination method for the second media stream corresponding to the second user, and the shared media stream is determined based on the target determination method.
[0073] For example, a preset application's floating controls exist in the form of a custom view, which encapsulates the preset controls, and a shared media stream is displayed through a player launched within the custom view. After initiating a shared interaction, you can create a custom view, add that custom view to the target page, and launch the player within the custom view.
[0074] Selectively, at least two borders of the floating control overlap with the current page boundary, creating a visual effect where the floating control snaps to the page boundary.
[0075] Figure 5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure. A floating control 502 is displayed on the target page 501, and the floating control 502 is snapped to the top and right borders of the target page 501. Media content from user A's first media stream, including images and audio, is played on the target page 501, and images of media content from the shared media stream are played on the floating control 502.
[0076] Selectively, in response to a first user's drag operation on a floating control, the display position of the floating control is dynamically adjusted based on the drag operation. In response to the first user ending the drag operation, the current position of the floating control is determined, and based on the current position, the display position of the floating control on the target page is determined. For example, the target page is divided equally into two areas, left and right, and the target area where the coordinate point corresponding to the current position is located is determined. If the target area is the left area, the horizontal coordinate of the point at the top left corner of the floating control's display position is set to the horizontal coordinate of the point at the top left corner of the target page. If the target area is the right area, the horizontal coordinate of the point at the top left corner of the floating control's display position is set to the value obtained by adding the screen width to the horizontal coordinate of the point at the top left corner of the target page and subtracting the width of the floating control.
[0077] Step 402: In response to the first user's trigger operation on the floating control, the second preset control is displayed on the floating control.
[0078] The second preset control is used to control shared interactions between the first user and at least one second user. Each time a floating control is triggered, the type and nature of the second preset control displayed can be dynamically determined based on the current scenario.
[0079] As shown in Figure 5, assuming a second user has already joined the sharing, after the local user clicks the floating control 502, the sharing page switching control 503, the floating control close control 504, and the shared media stream playback control control 505 (which may include a presentation pause control and a media content switching control in the shared media stream, such as switching to the previous or next page) and the microphone switch control 506 for real-time calls can be displayed, and the user identifier 507 of user B (the second user) who is joining the sharing interaction can be displayed.Optionally, if there is no second user currently joining the sharing interaction, the user identifier 507 can be replaced with a share user invitation control. When the first user triggers the share user invitation control, a user list is displayed, and the first user can select the user to invite from that user list.Optionally, when sharing is started in a group chat, the user list can display the chat members in the corresponding group, and the user list can also display all of the first user's friends.
[0080] Optionally, all preset controls can be hidden after the first user triggers a preset control. Alternatively, all preset controls can be hidden if the first user does not trigger a preset control within a specified time.
[0081] Step 403: In response to a first user trigger action on a shared page switch control, switch the target page to the shared page and continue displaying the shared media stream on the shared page. Here, the shared page contains a floating control switch control.
[0082] As shown in Figure 5, when user A clicks the shared page switching control 503, the target page is switched to shared page 508, and the shared media stream continues to be displayed on shared page 508. Shared page 508 includes a floating control switching control 509.
[0083] Step 404: In response to a first user trigger operation on the floating control switching control, switch the shared page to the target page and continue displaying the shared media stream within the floating control.
[0084] As shown in Figure 5, when user A clicks the floating control switching control 509, the shared page is switched to the target page, and the shared media stream continues to be displayed in the floating control.
[0085] Step 405, in response to receiving real-time call data from at least one of all second users, play the audio corresponding to the real-time call data and present the user identifier corresponding to at least one of all second users to the floating control at the second preset time.
[0086] For example, if a first user is viewing multiple media streams in floating control mode and a second user is speaking with the first user in real-time audio, the local terminal can receive the second user's real-time call data, play the audio corresponding to the real-time call data, and display the user identifier 507 corresponding to user B within the floating control, as shown in Figure 5. The display time may be a first preset time, such as 2 seconds.
[0087] Step 406 detects that all users in a shared interaction are viewing the shared media stream via the floating control, and in response, automatically and continuously plays the media content in the shared media stream on the floating control, and during the automatic playback process, the aspect ratio of the floating control can be dynamically adjusted according to the aspect ratio of the images in the media content.
[0088] As shown in Figure 5, when automatically playing media content with an aspect ratio of 16:9, the aspect ratio of the floating control can be adaptively adjusted, switching the floating control in vertical screen mode to the floating control 510 in horizontal screen mode.
[0089] Step 407: In response to a third user joining a shared interaction, display the user identifier corresponding to the third user in the floating control at the third preset time.
[0090] For example, as shown in Figure 5, if we assume that a third user has just joined the shared interaction, the user identifier 511 of user C (the third user) can be displayed in a floating control for, for example, 5 seconds, and the border of the user identifier can be made thicker and blink. Subsequently, user C becomes a member of the second user. In other words, at this point, both user B and user C are considered to be the second user.
[0091] Step 408, in response to receiving a conversation message from at least one of all second users, display the user identifier and conversation message of at least one of all second users in the floating control at a first preset time.
[0092] For example, as shown in Figure 5, after user C sends the conversational message "I'm here," user C's user identifier and conversational message 512 can be displayed on a floating control, and the display time can be, for example, 3 seconds.
[0093] Step 409, in response to a first user's trigger action on a conversational message, display the message interaction page to at least one of the second users. Here, the display priority of the floating control is higher than the display priority of the message interaction page.
[0094] Figure 6 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure, which exemplifies the process of displaying a conversation message 512, in which the shared media stream can automatically switch to media content having a 9:16 aspect ratio and a floating control in portrait mode, after user A clicks the conversation message 512, the message interaction page 513 is displayed, at which point the floating control is displayed on top of the message interaction page 513. The message interaction page 513 can display the history of messages in a group conversation corresponding to users A, B, and 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.
[0095] Step 410, In response to the target user ending the shared interaction, update the shared media stream based on how the media stream was determined for at least one user other than the target user during the shared interaction.
[0096] For example, assuming user B ends the shared interaction, the shared media stream can be re-determined based on how the media streams for user A and user C are determined, respectively.
[0097] Step 411: After switching from the target page to the preset page within the preset application, continue to display the floating control on the preset page, and continue to display the shared media stream with the floating control.
[0098] For example, in response to an operation to switch the target page to page 1, the custom view is removed from the target page, it is determined whether page 1 is included in the preset whitelist, and if page 1 is included in the preset whitelist, it is determined that page 1 is a preset page and displays page 1, and the custom view is added to page 1 and the player is used to continue presenting the shared media stream.
[0099] As shown in Figure 6, assume that user A can continue to view their media stream even after closing the message interaction page 513. If user A is interested in the media content currently displayed on the target page and wants to continue learning about user XX, the media content publisher, they can click on user XX's icon 514 (i.e., enter the action to switch to page 1), enter user XX's personal homepage 515 (page 1), remove the custom view from the target page, add the custom view to personal homepage 515 if personal homepage 515 is included in the preset whitelist, and continue viewing the shared media stream using the player.
[0100] For example, the lifecycle of an Activity in a preset application can be detected, with one Activity corresponding to one page, and the start function (onstart) and end function (onstop) in the lifecycle can be detected. If the end function corresponding to the activity on the target page is detected to have been called, it is considered that the target page needs to finish displaying. If the start function corresponding to the activity on the first page is detected to have been called, it is considered that the first page needs to start displaying, and a switch operation from the target page to the first page has been detected. At this point, it can be determined whether the first page has the conditions to display a floating control, that is, whether the first page is a preset page. If an activity corresponding to the first page exists when querying the activity whitelist, it means that the first page is a preset page. Since the floating control already exists on the target page, it does not need to be recreated, the custom view can be removed from the target page (for example, the remove view function can be called), and the custom view can be added to the first page (for example, the add view function can be called). Optionally, if the first page is not a preset page, the custom view can be discarded and recreated when switching to a preset page.
[0101] Step 412 further includes the step of keeping the floating control on the screen and continuing to display the shared media stream in the floating control even after the preset application has been switched to background execution.
[0102] For example, as shown in Figure 6, when user A swipes upwards from the bottom edge of the screen, the preset application can be switched to background execution. At this time, the desktop interface is displayed on the screen, the application icon is displayed on the interface, and floating controls remain on the screen, allowing user A to continue watching the shared media stream.
[0103] For example, upon detecting that a preset application has been switched to background execution, the system starts the floating window service, uses the floating window service to create a floating window, adds a custom view to the floating window, the size of the custom view matches the size of the floating controls, the custom view encapsulates the preset controls, starts a player in the custom view, and uses the player to display the shared media stream.
[0104] Exemplary, Figure 7 is a schematic diagram of a floating control provided by an embodiment of the present disclosure. As shown in Figure 7, a floating control displayed outside a preset application may include a three-layer structure, the bottom layer being a system-level floating window 701, the middle layer being a custom view 702, and the top layer being 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.
[0105] For example, after a preset application is switched to background execution, the system's floating window service (which may be a foreground or background service, depending on the version of the electronic device's operating system) can be started, and after the service is started, it is considered authorized by the system to create a floating window (which may include, for example, initializing the floating window and configuring its associated parameters), add a custom view to the floating window, and add drag events to enable the floating window to support dragging. A shared media stream can be retrieved via the custom view, a player can be launched, a view corresponding to the player can be added to the custom view, the size of the floating control can be determined based on the size of the media content in the shared media stream, the floating control can be displayed, and the media content in the shared media stream can be played through the player. Optionally, after triggering the floating control, the preset application can be launched, or the preset application can be switched to foreground execution, and depending on whether the page after entering the preset application is a preset page, it can be determined whether to continue displaying the floating control on the page.
[0106] According to the information presentation method provided by the embodiments of this disclosure, a first user can simultaneously view their own media stream and a media stream shared with a second user within the application interface. While the audio of the shared media stream is not played in the floating control, the other party's audio is played, enabling smooth voice communication while mitigating interference between the shared media stream's audio and the user's own media stream. Simultaneously, users can directly configure shared interactions through the floating control's preset controls, improving the convenience of sharing settings. The floating control can also display relevant information such as newly joined users and end-user conversation messages, further enhancing the convenience of interaction. Even when switching to a preset page or switching a preset application to the background, the shared media stream can continue to be displayed in floating control mode, meeting the needs of users viewing shared media streams in various scenarios and further improving the user experience.
[0107] Figure 8 is a schematic diagram of an information display device provided by an embodiment of the present disclosure. As shown in Figure 8, the device is located on the first user side and includes a media stream display module 801 configured to display a first media stream corresponding to the first user on a target page of a preset application, a floating control on the target page, and a shared media stream on the floating control, wherein the shared media stream includes the media stream display module 801 containing a media stream corresponding to a shared interaction between the first user and at least one second user, and a control display module 802 configured to display a preset control on the floating control, the preset control being used to display relevant information about 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.
[0108] In the information display device provided by the embodiments of this disclosure, first content corresponding to a first user is displayed on the target page of a preset application, a floating control is displayed on the target page, a shared media stream including a media stream corresponding to a shared interaction between the first user and at least one second user is displayed on the floating control, and a preset control for displaying information related to the shared interaction and / or controlling the shared interaction is displayed on the floating control. By employing the above technical solution, the first user can simultaneously view the content of their own page and the media stream shared with the second user in the application interface, control the shared interaction directly via the preset control of the floating control, or display information related to the shared interaction on the floating control, thereby improving the convenience of the shared interaction and enhancing the user experience during the media stream sharing process.
[0109] Selectively, the relevant information includes conversational messages generated by the shared interaction, and the control display module 802 is configured to display a first preset control within the floating control in response to receiving a conversational message from at least one of all second users, the first preset control being used to display the user identifier and / or conversational message of the at least one of all second users.
[0110] Optionally, the device further includes a message interaction page presentation module configured to present a message interaction page to at least one of all second users in response to a trigger operation by the first user on the conversational message, the message interaction page being used by the first user and at least one of all second users to interact on the conversational message.
[0111] Selectively, the message interaction page is located above the target page, and the size of the message interaction page is less than or equal to the size of the target page.
[0112] Selectively, the first content includes a first media stream, and the first media stream and the shared media stream are different.
[0113] Optionally, the control display module 802 is configured to display a second preset control on the floating control in response to a trigger operation by the first user on the floating control, the second preset control being used to control a shared interaction between the first user and the at least one second user.
[0114] Selectively, the second preset control includes a shared page switching control, and the device further includes the steps of displaying the preset control within the floating control, and then, in response to a trigger operation of the shared page switching control by the first user, switching the target page to a shared page and continuing to display the shared media stream on the shared page, the shared page including a floating control switching control for switching the shared page to a floating control.
[0115] Optionally, the device further includes a second switching module configured to continue displaying the shared media stream on the shared page if, during the process of presenting the shared media stream within the shared page, the device detects that at least one of the second users has switched the floating control of the shared page on the second user's side by triggering the floating control switching control.
[0116] Selectively, the shared media stream includes images and audio, and the step of displaying the shared media stream in the floating control includes displaying the images in the shared media stream in the floating control and prohibiting playback of the audio from the shared media stream.
[0117] Optionally, the shared interaction supports real-time calls between the first user and the at least one second user, and the device further includes a call audio playback module configured to display images in the shared image stream within the floating control and, if playback of audio in the shared media stream is prohibited, to play audio corresponding to the real-time call data in response that at least one of all the second users has received the second user's real-time call data.
[0118] Optionally, the shared interaction supports real-time calls between the first user and the at least one second user, and the control display module 802 is configured to display a third preset control within the floating control in response to receiving real-time call data from at least one of all second users, the third preset control being used to display the user identifier corresponding to the at least one second user among all second users and / or the real-time call data of the at least one of all second users.
[0119] Selectively, the device further includes a target determination method generation module configured to generate a target determination method based on a first determination method for a first media stream corresponding to the first user and a second determination method for a second media stream corresponding to the second user, before displaying the shared media stream on the floating control, and a shared media stream determination module configured to determine the shared media stream based on the target determination method.
[0120] Optionally, the device further includes a resizing module configured to adjust the size of the floating control based on the media content in the currently presented shared media stream during the process of displaying the shared media stream within the floating control.
[0121] Optionally, the control display module 802 is configured to display a fourth preset control on the floating control in response to a third user joining a shared interaction, the fourth preset control being used to display a user identifier corresponding to the third user.
[0122] Optionally, the device further includes a shared media stream update module configured to update the shared media stream in response to a target user ending a shared interaction, based on a method for determining the media streams of at least one user other than the target user during the shared interaction.
[0123] Optionally, the device includes a third switching module configured to determine whether the call images on the first user side and / or the call images on the second user side are turned on, if it determines that a shared interaction has been initiated in a video call scenario in response to a first user trigger operation on a target user identifier in the floating control, and if the call images on the first user side and / or the call images on the second user side are turned on, to switch the target page to a video call page, or to switch the floating control to video call mode in response to a first user trigger operation on a target user identifier in the floating control, in which the floating control includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier.
[0124] Selectively, the second preset control includes a floating control close control. The device further includes a determination module configured to determine whether a shared interaction is initiated in a video call scenario in response to a trigger operation by the first user on the floating control close control after displaying the second preset control within the floating control; a floating control hide module configured to switch the target page to the video call page, hide the floating control, and display a floating control return control on the video call page if the shared interaction is initiated in a video call scenario; and a floating control close module configured to close the floating control if the shared interaction is not initiated in a video call scenario.
[0125] Selectable, 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 real-time calls, and an audio control for real-time calls.
[0126] The step of displaying a shared media stream in the floating control in an optional manner includes detecting that all second-users corresponding to the at least one second-user are viewing the shared media stream via the floating control, and in response, automatically and continuously playing at least two media contents from the shared media stream within the floating control.
[0127] Optionally, the device further includes a first presentation module configured to continue displaying the floating control on the preset page and to continue displaying the shared media stream on the floating control after the target page has been switched to the preset page in the preset application.
[0128] Selectable, the floating controls exist in the form of a custom view, the custom view encapsulates the preset controls, and the shared media stream is presented through a player launched in the custom view. The first presentation module is configured to respond to an operation to switch the target page to the first page by removing the custom view from the target page, determining whether the first page is included in a preset whitelist, determining if the first page is a preset page if it is, displaying the first page, adding the custom view to the first page, and continuing to present the shared media stream using the player.
[0129] Optionally, the device further includes a second presentation module configured to continue displaying a floating control on the screen and displaying the shared media stream in the floating control even after the preset application has been switched to background execution.
[0130] Optionally, the second presentation module, upon detecting that the preset application has been switched to background execution, starts the system's floating window service, uses the floating window service to create a floating window, adds a custom view to the floating window, the size of the custom view matches the size of the floating control, the custom view encapsulates the preset control, launches a player in the custom view, and is configured to continue presenting the shared media stream using the player.
[0131] An information presentation device provided by an embodiment of the present disclosure is capable of performing an information presentation method provided by any embodiment of the present disclosure and comprises a functional module corresponding to the method of performance.
[0132] Furthermore, the multiple units and modules included in the above-mentioned device are merely partitioned based on functional logic, and are not limited to the above partitions as long as they can realize the corresponding functions. In addition, the names of the multiple functional units are for the purpose of easily distinguishing them from one another and are not used to limit the scope of protection of the embodiments of this disclosure.
[0133] Figure 9 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. Referring hereto to Figure 9, a schematic diagram of an electronic device (e.g., a terminal device or server in Figure 9) 900 suitable for implementing an embodiment of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure include, but are not limited to, mobile devices such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital televisions (TVs) and desktop computers. The electronic device shown in Figure 9 is merely an example and does not limit the functionality and scope of use of the embodiments of the present disclosure.
[0134] As shown in Figure 9, the electronic device 900 may include a processing unit (e.g., a central processing unit, graphics processor, etc.) 901, which can perform a number of appropriate operations and processes based on 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. The RAM 903 also stores various programs and data necessary for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0135] Generally, the following devices can be connected to the I / O interface 905: input devices 906 such as touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 907 such as liquid crystal displays (LCDs), speakers, and vibrators; storage devices 908 such as magnetic tapes and hard disks; and communication devices 909. The communication device 909 can enable the electronic device 900 to communicate with other devices wirelessly or via wired connections to exchange data. Figure 9 shows an electronic device 900 with various devices, but for clarity, it is not necessary to implement or include all the devices shown. Instead, more or fewer devices may be implemented or included.
[0136] According to embodiments of the present disclosure, the processes described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product which includes a computer program embedded on a non-temporary computer-readable medium which includes program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or from a ROM 902. When the computer program is executed by the processing unit 901, it performs the functions defined in the method of embodiments of the present disclosure.
[0137] The names of messages or information interacted between multiple devices in embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0138] The electronic devices provided by the embodiments of this disclosure and the information presentation methods provided by the embodiments described above belong to the same disclosure concept, and for technical details not described in detail in these embodiments, refer to the embodiments described above.
[0139] Embodiments of this disclosure provide a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the information presentation method provided by the above embodiment is realized.
[0140] In this disclosure, the computer-readable medium described above may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) or flash memory, optical fibers, Compact Disc Read-Only Memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable medium may be any tangible medium containing or storing a program, which can be used by an instruction execution system, apparatus, or device, or a combination thereof. In this disclosure, a computer-readable signal medium may include data signals propagated in a baseband or as part of a carrier wave, which incorporate computer-readable program code. Such propagated data signals can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium capable of transmitting, propagating, or sending programs for use by an instruction execution system, apparatus, or device, or a combination thereof.Program code embedded on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, radio frequencies (RF), or any suitable combination thereof.
[0141] In some embodiments, the client and server may communicate using any currently known or future-developed network protocol, such as the HyperText Transfer Protocol (HTTP), and may interconnect digital data communications (e.g., communication networks) in any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), networks connecting wide area networks to each other (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as currently known or future-developed networks.
[0142] The computer-readable medium described above may be included in the electronic device described above, or it may exist independently without being incorporated into the electronic device.
[0143] The computer-readable medium described above carries one or more programs, and when one or more of these programs are executed by the electronic device, the electronic device performs the following operations: displays a first media stream corresponding to a first user on the target page of a preset application; displays a floating control on the target page; displays a shared media stream on the floating control, the shared media stream including a media stream corresponding to a shared interaction between the first user and at least one second user; displays a preset control on the floating control, the preset control being used to display relevant information about the shared interaction between the first user and at least one second user, and / or to control the shared interaction between the first user and at least one second user.
[0144] Computer program code for performing the operations of this disclosure can be written in one or more programming languages, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, and C++, and traditional procedural programming languages such as the C language or similar programming languages. The program code can run entirely on the user's computer, partially on the user's computer, run as a standalone software package, run partially on the user's computer and partially on a remote computer, or run entirely on a remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user's computer via any kind of network, including a LAN or WAN, or to an external computer (e.g., an Internet connection via an Internet service provider).
[0145] The flowcharts and block diagrams in the drawings illustrate the feasible architectures, functionalities, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code containing one or more executable instructions for performing a specified logical function. It should also be noted that in some alternative implementations, the functions shown within a block may be executed in a different order than shown in the diagram. For example, two blocks shown successively may actually be executed substantially in parallel, or they may be executed in reverse order depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs a specified function or operation, or by using a combination of special hardware and computer instructions.
[0146] The units relating to the embodiments of this disclosure can be implemented in software or hardware. The names of the modules are not, in some cases, restrict the module itself. For example, a media stream display module could be described as "displaying first content corresponding to a first user on a target page of a preset application, displaying a floating control on the target page, displaying a shared media stream on the floating control, the shared media stream including a media stream corresponding to a shared interaction between the first user and at least one second user."
[0147] The functions described herein can be performed, at least in part, by one or more hardware logic components. For example, but not limited to, typical types of usable hardware logic components include field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard parts (ASSPs), systems on chips (SOCs), and complex programmable logic devices (CPLDs).
[0148] In the context of this application, a machine-readable medium may be a tangible medium that contains or can store a program used by or in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard drives, RAM, ROM, EPROM, or flash memory, optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0149] According to one or more embodiments of the present disclosure, an information presentation method applicable to a first user is provided, comprising the steps of: displaying first content corresponding to a first user on a target page of a preset application; displaying a floating control on the target page; and displaying a shared media stream on 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; and displaying a preset control on the floating control, wherein the preset control is used to display relevant 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.
[0150] According to one or more embodiments of the present disclosure, the relevant information includes conversational messages generated by the shared interaction, and the step of displaying a preset control within the floating control includes, upon receiving a conversational message from at least one of all second users, displaying a first preset control within the floating control in response thereto, wherein the first preset control is used to display the user identifier of the at least one of all second users and / or the conversational message of the at least one of all second users.
[0151] According to one or more embodiments of the present disclosure, the further step is to display a message interaction page for at least one of the second users in response to a trigger operation by the first user on the conversational message, the message interaction page is used for the first user and at least one of the second users to interact on the conversational message.
[0152] According to one or more embodiments of the present disclosure, the message interaction page is located on top of the target page, and the size of the message interaction page is less than or equal to the size of the target page.
[0153] According to one or more embodiments of the present disclosure, the first content includes a first media stream, and the first media stream and the shared media stream are different.
[0154] According to one or more embodiments of the present disclosure, the step of displaying a preset control within the floating control is to display a second preset control within the floating control in response to a trigger operation by the first user on the floating control, the second preset control being used to control a shared interaction between the first user and the at least one second user.
[0155] According to one or more embodiments of the present disclosure, the shared media stream includes images and audio, and the step of displaying the shared media stream in the floating control includes the step of displaying the images in the shared image stream in the floating control and prohibiting the playback of audio from the shared media stream.
[0156] According to one or more embodiments of the present disclosure, the shared interaction supports a real-time call between the first user and the at least one second user, and the method displays an image in the shared image stream within the floating control and, if playback of audio in the shared media stream is prohibited, plays audio corresponding to the real-time call data in response to receiving real-time call data from at least one of the second users.
[0157] According to one or more embodiments of the present disclosure, the shared interaction supports a real-time call between the first user and the at least one second user, and the step of displaying a preset control within the floating control is in response to receiving real-time call data from at least one of all second users, and the step of displaying a third preset control within the floating control is used to display a user identifier corresponding to at least one of all second users and / or an image corresponding to the real-time call data of the at least one of all second users.
[0158] According to one or more embodiments of the present disclosure, before displaying a shared media stream on the floating control, the present invention further includes the steps of generating a target determination method based on a first determination method for a first media stream corresponding to the first user and a second determination method for a second media stream corresponding to at least one second user, and determining a shared media stream based on the target determination method.
[0159] According to one or more embodiments of the present disclosure, in a process of displaying a shared media stream within the floating control, the method further includes the step of resizing the floating control based on the media content in the currently presented shared media stream.
[0160] According to one or more embodiments of the present disclosure, the step of displaying a preset control within the floating control is to display a fourth preset control within the floating control in response to a third user joining the shared interaction, the fourth preset control being used to display a user identifier corresponding to the third user.
[0161] According to one or more embodiments of the present disclosure, the steps further include updating the shared media stream in response to the target user ending the shared interaction, based on a method for determining the media streams of at least one user other than the target user during the shared interaction.
[0162] According to one or more embodiments of the present disclosure, if it is determined that the shared interaction has been initiated in a video call scenario in response to a first user trigger operation on a target user identifier in the floating control, the further steps include determining whether the call image on the first user side and / or the call image on the second user side are turned on, and if they are turned on, switching the target page to a video call page, or, in response to a first user trigger operation on a target user identifier in the floating control, switching the floating control to video call mode, in which the floating control includes the video call screen of the first user and / or the video call screen of the user corresponding to the target user identifier.
[0163] According to one or more embodiments of the present disclosure, the second preset control includes a floating control close control. After displaying the second preset control within the floating control, the further steps include: in response to a first user trigger operation on the floating control close control, determining whether the shared interaction was initiated in a video call scenario; if so, switching the target page to the video call page, hiding the floating control, and displaying a floating control return control on the video call page; and closing the floating control if the shared interaction was not initiated in a video call scenario.
[0164] 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 real-time calls, and an audio control for real-time calls.
[0165] According to one or more embodiments of the present disclosure, the preset application further includes the step of continuing to display the floating control on the preset page after the target page has been switched to the preset page, and continuing to display the shared media stream on the floating control.
[0166] 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 launched in the custom view. In the preset application, after the target page is switched to a preset page, the step of continuing to display the floating control on the preset page and continuing to display the shared media stream in the floating control is, in response to an operation to switch the target page to a first page, the step of removing the custom view from the target page, determining whether the first page is included in a preset whitelist, and if the first page is included in a preset whitelist, determining that the first page is a preset page and displaying the first page, and adding the custom view to the first page and continuing to present the shared media stream using the player.
[0167] According to one or more embodiments of the present disclosure, an information presentation device is provided which is located on the first user side, comprising a media stream presentation module configured to display first content corresponding to a first user on a target page of a preset application, a floating control on the target page, and a shared media stream on 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, and a control display module configured to display a preset control on the floating control, the preset control being used to display relevant information about 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.
[0168] According to one or more embodiments of the present disclosure, an electronic device is provided which includes one or more processors and a storage device configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform an information presentation method provided by an embodiment of the present disclosure.
[0169] According to one or more embodiments of the present disclosure, a storage medium containing computer-executable instructions is provided, and when the computer-executable instructions are executed by a computer processor, an information presentation method provided by the embodiments of the present disclosure is performed.
[0170] The above description is merely an explanation of the embodiments and applicable technical principles of this disclosure. As those skilled in the art will understand, the scope of this disclosure is not limited to technical means consisting of specific combinations of the above technical features, but should also cover embodiments consisting of the above technical features, or other technical means formed by any combination of the above technical features or their equivalents without departing from the concepts disclosed above. For example, technical means may be formed by replacing the above features with (but not limited to) technical features disclosed in this disclosure having similar functions.
[0171] Furthermore, while multiple operations are presented in a specific order, this should not be understood as requiring these operations to be performed in a specific order or a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, while several implementation details are included in the above description, these should not be construed as limiting the scope of this disclosure. Some features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented individually or in any suitable subcombination in multiple embodiments.
Claims
1. A method of presenting information applicable to the first user, A step of determining a shared media stream containing multiple media contents in response to a media stream sharing operation, wherein the shared media stream is used for a shared interaction between a first user and at least one second user. A step of displaying first content corresponding to a first user on the target page of a preset application, displaying a floating control on the target page, and displaying a shared media stream on the floating control, wherein two consecutive media contents within the shared media stream support automatic and / or manual switching. An information presentation method comprising the steps of displaying a preset control on the floating control, wherein the preset control is used for at least one of displaying relevant information about a shared interaction between the first user and the at least one second user, and controlling the shared interaction between the first user and the at least one second user.
2. The aforementioned related information includes conversational messages generated by the shared interaction, and the step of displaying the preset controls on the floating controls is, The method according to claim 1, comprising the step of displaying a first preset control within the floating control in response to receiving a conversation message from at least one of all second users, wherein the first preset control is used to display the user identifier of the at least one of all second users and at least one of the conversation messages.
3. The method according to claim 2, further comprising the step of presenting a message interaction page to at least one of all second users in response to a trigger operation by the first user on the conversational message, wherein the message interaction page is used by the first user and at least one of all second users to interact on the conversational message.
4. The method according to claim 3, wherein the message interaction page is located on top of the target page, and the size of the message interaction page is less than or equal to the size of the target page.
5. The method according to claim 1, wherein the first content includes a first media stream, and the first media stream and the shared media stream are different.
6. The step of displaying the preset control on the floating control is as follows: The method according to claim 1, comprising the step of displaying a second preset control on the floating control in response to a trigger operation by the first user on 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.
7. The shared media stream includes images and audio, and the step of displaying the shared media stream on the floating control is: The method according to claim 5, further comprising the steps of displaying an image in the shared media stream on the floating control and prohibiting playback of audio in the shared media stream.
8. The shared interaction supports real-time calls between the first user and at least one second user. The method according to claim 7, further comprising the step of displaying an image in the shared media stream on the floating control and prohibiting playback of audio in the shared media stream, in response to receiving real-time call data from at least one of the second users, playing audio corresponding to the real-time call data.
9. The shared interaction supports real-time calls between the first user and the at least one second user, and the step of displaying preset controls on the floating controls is, The method according to claim 1, comprising the step of displaying a third preset control on the floating control in response to receiving real-time call data of at least one of all second users, wherein the third preset control is used to display at least one of a user identifier corresponding to the at least one of all second users, and an image corresponding to the real-time call data of the at least one of all second users.
10. Before displaying the shared media stream in the floating control, A step of generating a target determination method based on a first method for determining the first media stream corresponding to the first user and a second method for determining the second media stream corresponding to at least one second user, The method according to claim 5, further comprising the step of determining a shared media stream based on the target determination method.
11. In the process of displaying a shared media stream on the floating control, the method is: The method according to claim 1, further comprising the step of adjusting the size of the floating control based on the media content in the currently presented shared media stream.
12. The step of displaying the preset control on the floating control is as follows: The method according to claim 1, comprising the step of displaying a fourth preset control on the floating control in response to a third user joining the shared interaction, wherein the fourth preset control is used to display a user identifier corresponding to the third user.
13. The method according to claim 5, further comprising the step of updating the shared media stream in response to the target user ending the shared interaction, based on a method for determining the media streams of at least one user other than the target user during the shared interaction.
14. In response to the first user's trigger operation on the target user identifier in the floating control, if it is determined that the shared interaction has started in a video call scenario, it is determined whether at least one of the first user's call image and the second user's call image has been turned on, and if the determination result is that at least one of the first user's call image and the second user's call image has been turned on, in response, the target page is switched to the video call page, or The method according to claim 1, further comprising the step of switching the floating control to video call mode in response to a trigger operation by the first user on a target user identifier in the floating control, wherein in video call mode the floating control includes at least one of the first user's video call screen and the user's video call screen corresponding to the target user identifier.
15. The aforementioned second preset control includes a floating control close control, and after displaying the second preset control on the floating control, The steps include: responding to the first user's trigger operation on the floating control close control, determining whether the shared interaction was initiated in a video call scenario; When a decision is made that the shared interaction has been initiated in the video call scenario, in response, the target page is switched to the video call page, the floating controls are hidden, and the floating control return control is displayed on the video call page. The method according to claim 6, further comprising the step of closing the floating control in response to a determination that the shared interaction was not initiated in the video call scenario.
16. The method according to claim 6, wherein the second preset control includes at least one of a shared user invitation control, a shared page switching control, a media content switching control in the shared media stream, a video screen control for real-time calls, and an audio control for real-time calls.
17. The method according to claim 1, further comprising the steps of: after the target page is switched to the preset page in the preset application, the floating control continues to be displayed on the preset page, and the shared media stream continues to be displayed on the floating control.
18. The floating controls exist in the form of a custom view, the custom view encapsulates preset controls, and the shared media stream is displayed through a player launched in the custom view. After the target page is switched to the preset page in the preset application, the step of continuing to display the floating control on the preset page and continuing to display the shared media stream on the floating control is: In response to an operation to switch the target page to the first page, the custom view is removed from the target page, it is determined whether the first page is included in the preset whitelist, and if the determination result is that the first page is included in the preset whitelist, in response, it is determined that the first page is a preset page and the first page is displayed. The method according to claim 17, further comprising the steps of adding the custom view to the first page and continuing to present the shared media stream using the player.
19. An information display device applied to the first user, A shared media stream determination module that determines a shared media stream containing multiple media contents in response to a media stream sharing operation, wherein the shared media stream is used for a shared interaction between a first user and at least one second user. A media stream presentation module configured to present first content corresponding to a first user on the target page of a preset application, display a floating control on the target page, and display a shared media stream on the floating control, wherein two consecutive media contents within the shared media stream support automatic and / or manual switching. An information display device comprising a control display module configured to display preset controls on the floating controls, wherein the preset controls are used for at least one of displaying relevant information about a shared interaction between the first user and the at least one second user, and controlling the shared interaction between the first user and the at least one second user.
20. The apparatus according to claim 19, comprising a module configured to perform the method described in any one of claims 2 to 18.
21. At least one processor, Includes a memory device configured to store at least one program, An electronic device in which, when the at least one program is executed by the at least one processor, the at least one processor can realize the information presentation method according to any one of claims 1 to 18.
22. A storage medium containing computer-executable instructions, which is used to perform the information presentation method described in any one of claims 1 to 18 when the computer-executable instructions are executed by a computer processor.