Method, device and storage medium for interface interaction
Patent Information
- Application Number
- CN202411768109.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2044-12-03
AI Technical Summary
[0007]应当理解,本内容部分中所描述的内容并非旨在限定本公开的实施例的关键特征或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的描述而变得容易理解。
Smart Images

Figure CN119653121B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatuses, devices, and computer-readable storage media for interface interaction. Background Technology
[0002] With the development of computer technology, live streaming has become an important way for people to obtain and share information. For example, users can access live content through live streaming rooms and interact with other users or the streamer through comments, gifts, or other means. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for interface interaction is provided. The method includes: presenting a live streaming interface, the live streaming interface including a first component and a second component, the first component being configured to present a first type of interactive message in the live streaming interface, the second component being configured to present a second type of interactive message in the live streaming interface, the first type being different from the second type; and adjusting a first size of the first component in response to a change in the display attributes of the second component in the live streaming interface.
[0004] In a second aspect of this disclosure, an apparatus for interface interaction is provided. The apparatus includes a presentation module configured to present a live streaming interface, the live streaming interface including a first component and a second component, the first component being configured to present a first type of interactive message in the live streaming interface, the second component being configured to present a second type of interactive message in the live streaming interface, the first type being different from the second type; and an adjustment module configured to adjust a first size of the first component in response to a change in the display attributes of the second component in the live streaming interface.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figure 2 Example interfaces according to some embodiments of this disclosure are shown;
[0011] Figures 3A to 3C An example interactive process for dynamically adjusting component size according to some embodiments of this disclosure is shown;
[0012] Figures 4A to 4C Example interactive processes for dynamically adjusting component sizes according to other embodiments of this disclosure are shown;
[0013] Figure 5 A flowchart illustrating an example process of interface interaction according to some embodiments of the present disclosure is shown;
[0014] Figure 6 A schematic structural block diagram of an example device for interface interaction according to some embodiments of the present disclosure is shown; and
[0015] Figure 7 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0021] Traditionally, live streaming interfaces support displaying different types of interactive messages. For example, the interface can display comments sent by users in the live stream, gift messages corresponding to interactions with gifts, and entry messages corresponding to users entering the live stream with special privileges.
[0022] Traditional live streaming interfaces use different components to display different types of interactive messages. These components have fixed display sizes and still occupy corresponding display areas when no messages are displayed. This significantly impacts the information display efficiency of the live streaming interface.
[0023] Embodiments of this disclosure propose a user interface interaction scheme. The scheme includes: presenting a live streaming interface, the live streaming interface including a first component and a second component, the first component being configured to present a first type of interactive message in the live streaming interface, and the second component being configured to present a second type of interactive message in the live streaming interface, the first type being different from the second type; and adjusting a first size of the first component in response to a change in the display attributes of the second component in the live streaming interface.
[0024] In this way, the embodiments of this disclosure can dynamically adjust the display size of components according to the display status of different components, thereby improving the efficiency of information display in the live broadcast interface.
[0025] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0026] Example Environment
[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0028] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, examples of which may include, but are not limited to, online live streaming applications or other suitable applications that provide online live streaming services. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.
[0029] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.
[0030] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0031] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support user interface interaction in electronic devices 110.
[0032] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0033] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0034] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0035] Example Interaction
[0036] Figure 2 An example interface 200 according to some embodiments of the present disclosure is shown. Interface 200 may, for example, be provided by... Figure 1 The electronic device 110 shown is provided.
[0037] like Figure 2 As shown, interface 200 can be a live streaming interface. For example, interface 200 can be a live streaming interface for "host A". Interface 200 can correspond to an appropriate user in the live streaming room. For example, interface 200 can be a live streaming interface presented by the electronic device 110 corresponding to the host user. Alternatively, interface 200 can be a live streaming interface presented by the electronic device 110 corresponding to the guest user participating in the live interactive event. Alternatively, interface 200 can also be a live streaming interface presented by the electronic device 110 corresponding to the viewer user in the live streaming room.
[0038] like Figure 2As shown, interface 200 may include one or more interface components, such as first component 215, second component 210 and third component 205.
[0039] In some embodiments, the first component 215, the second component 210, and the third component 205 can be used to present different types of interactive messages in the live broadcast room.
[0040] As an example, the first component 215 can be used to display comment messages in the live stream; it can also be called a comment message component or a public screen component. For example, the first component 215 can display various types of comment messages sent by users in the live stream, such as text, voice, and emoticons.
[0041] As another example, the second component 210 may, for instance, display gift messages in the live stream, and may also be referred to as a gift message component. For example, when a user in the live stream sends a virtual gift, the second component 210 may display a gift message to indicate that user's gift interaction event.
[0042] As another example, the third component 205 can, for instance, display an entry message in the live stream room, which can also be referred to as an entry message component. For example, when a user with specific privileges enters the live stream room, the third component 205 can display an entry message corresponding to that user, also known as an entry effect.
[0043] like Figure 2 As shown, the first component 215 can be adjacent to the second component 210, and the second component 210 can be adjacent to the third component 205, for example. As an example, the two adjacent components can have a preset distance or no distance between them.
[0044] As will be described below, electronic device 110 can, for example, dynamically adjust the display size of other components based on changes in the display properties of a certain component. As an example, when a component currently has no messages to display, electronic device 110 can stop displaying that component and correspondingly increase the display size of other components to display a greater number of other types of messages.
[0045] Example 1
[0046] The following will be referenced Figures 3A to 3C Here's an example to illustrate dynamically adjusting component size. Figures 3A to 3C Example interfaces 300A to 300C according to some embodiments of the present disclosure are shown. Interfaces 300A to 300C may, for example, be provided by... Figure 1 The electronic device 110 shown is provided.
[0047] In some embodiments, the first component 215, the second component 210, and the third component 205 may correspond to a maximum common size. For example, the first component 215, the second component 210, and the third component 205 may correspond to a maximum common height (MAX).
[0048] by Figure 3A As an example, the first component 215, the second component 210, and the third component 205 can each display corresponding types of interactive messages.
[0049] In some embodiments, interactive messages in the live stream can be updated dynamically, and the display properties of each display component can also be changed dynamically, for example.
[0050] As an example, the third component 205 can be configured to display at most one entry message. If no user associated with the preset entry effect enters the live stream within a preset time period, the number of interactive messages to be displayed by the third component 205 can, for example, be changed to zero.
[0051] Accordingly, the electronic device 110 can determine that the number of interactive messages to be displayed by the third component 205 meets a preset condition (e.g., becomes zero), and can accordingly trigger a change in the display attributes of the third component 205.
[0052] like Figure 3B As shown, when the number of interactive messages to be displayed in the third component 205 is zero, the electronic device 110 can stop displaying the third component 205. That is, the display properties of the third component 205 can be updated to indicate that the third component 205 is not currently displayed.
[0053] Accordingly, in response to a change in the display attributes of the third component 205 (e.g., from being displayed to not being displayed), the electronic device 110 can adjust the display size of the first component 215. As an example, the electronic device 110 can increase the display height of the first component 215 in the live streaming interface to utilize the area freed up by hiding the third component 205 to display more comment content.
[0054] Continue to refer to Figure 3A As another example, the second component 210 can be configured to display a maximum of two gift messages. If a gift interaction event occurs in the live stream within a preset time period, the number of interaction messages to be displayed by the second component 210 can, for example, change from two to one. Accordingly, the electronic device 110 can trigger a change in the display properties of the second component 210.
[0055] like Figure 3BAs shown, when the number of interactive messages to be displayed in the second component 210 changes from two to one, the electronic device 110 can reduce the display size of the second component 210. For example, the electronic device 110 can reduce the display size of the second component 210 to display a single gift message. That is, the display attributes of the second component 210 can be updated to indicate that the display size of the second component 205 has been reduced.
[0056] Accordingly, in response to changes in the display attributes of the second component 210 (e.g., changes in display size), the electronic device 110 can adjust the display size of the first component 215. As an example, the electronic device 110 can increase the display height of the first component 215 in the live streaming interface to utilize the area freed up by reducing the size of the second component 205 to display more comment content.
[0057] by Figure 3B As an example, the electronic device 110 can adjust the size of the first component 215 based on the maximum common size (e.g., maximum common height MAX), the first updated size of the second component 210 (e.g., the height H1 corresponding to a single gift message), and the second updated size of the third component 205 (e.g., zero). For example, the updated size of the first component 215 can be expressed as MAX (maximum common height) minus H1 (the height corresponding to a single gift message).
[0058] continue Figure 3B For example, the display properties of the second component 210 can continue to be updated based on the number of interactive messages to be displayed by the second component 210. For example, if no gift interaction event occurs within a preset time period, the number of interactive messages to be displayed by the second component 210 can be updated to zero. Accordingly, the display properties of the second component 210 can be updated to "not displayed" for example.
[0059] Accordingly, such as Figure 3C As shown, the electronic device 110 can stop displaying the second component 210 and can further adjust the display size of the first component 215. As an example, the electronic device 110 can continue to increase the display height of the first component 215, which may, for example, correspond to a maximum common height MAX.
[0060] In some embodiments, the electronic device 110 may also dynamically reduce the display size of the first component 215 based on the increase in the display size of the second component 210 or the third component 205.
[0061] As an example, within a preset time period, users associated with an entry effect enter the live stream, and two or more gift interaction events occur in the live stream. Accordingly, electronic device 110 can... Figure 3C The displayed component status has been updated to Figure 3AThe components shown are displaying their status.
[0062] For example, electronic device 110 can redisplay the second component 210 and the third component 205, and display corresponding gift messages and entry messages. Furthermore, electronic device 110 can dynamically reduce the display size of the first component 215 based on the updated display attributes of the second component 210 and / or the third component 205.
[0063] Example 2
[0064] The following will be referenced Figures 4A to 4C Here is another example to illustrate dynamically adjusting component size. Figures 4A to 4C Example interfaces 400A to 400C according to some embodiments of the present disclosure are shown. Interfaces 400A to 400C may, for example, be provided by... Figure 1 The electronic device 110 shown is provided.
[0065] like Figure 4A As shown, with Figure 3A Unlike the example shown, the first component 215 and the second component 210 can be associated with a maximum common size (e.g., maximum common height MAX). Furthermore, the display properties of the third component 205 can be independent of the number of interactive messages to be displayed.
[0066] As an example, in Figure 4A In the shown state, the third component 205 can, for example, display a single user entry message. Figure 4B In the state shown, although the third component 205 does not have a user entry message to be displayed, the electronic device 110 can, for example, retain the area corresponding to the third component 205.
[0067] Continue to refer to Figure 4A Since the first component 215 and the second component 210 can correspond to the maximum common size, the electronic device 110 can adjust the display size of the first component 215 accordingly when the display attributes of the second component 210 change.
[0068] As an example, Figure 4A In the shown state, the second component 210 can, for example, display two gift interaction messages. Figure 4B In the state shown, the second component 210 can display a gift interaction message. Accordingly, the electronic device 110 can adjust the display attributes of the second component 210, such as the display size, based on the number of gift interaction messages.
[0069] like Figure 4B As shown, since the first component 215 and the second component 210 can correspond to the maximum common size, the electronic device 110 can correspondingly increase the display size of the first component 215.
[0070] For example, the updated size of the first component 215 can be represented as MAX (maximum common height) minus the height H2 of the second component 210 displaying a single gift message.
[0071] continue Figure 4B For example, the display properties of the second component 210 can continue to be updated based on the number of interactive messages to be displayed by the second component 210. For example, if no gift interaction event occurs within a preset time period, the number of interactive messages to be displayed by the second component 210 can be updated to zero. Accordingly, the display properties of the second component 210 can be updated to "not displayed".
[0072] Accordingly, such as Figure 4C As shown, the electronic device 110 can stop displaying the second component 210 and can further adjust the display size of the first component 215. As an example, the electronic device 110 can continue to increase the display height of the first component 215, which may, for example, correspond to a maximum common height MAX.
[0073] As another example, such as Figure 4C As shown, the third component 205 can, for example, be updated to display a new user entry message.
[0074] In some embodiments, the electronic device 110 may also dynamically reduce the display size of the first component 215 based on the increase in the display size of the second component 210.
[0075] As an example, two or more gift interaction events occur in the live stream within a preset time period. Accordingly, electronic device 110 can... Figure 4C The displayed component status has been updated to Figure 4A The components shown are displaying their status.
[0076] For example, electronic device 110 can redisplay the second component 210 and display the corresponding gift message. Furthermore, electronic device 110 can update display attributes based on the second component 210, dynamically reducing the display size of the first component 215.
[0077] Other examples
[0078] In some embodiments, such as Figure 3A or Figure 4A The maximum display height shown can also be determined based on the display attributes of the electronic device 110. In some instances, the electronic device 110 may determine the height by measuring the distance from the screen area (e.g., the lower boundary of the live content) in the live broadcast interface to the target boundary (e.g., the lower boundary) of the live broadcast interface.
[0079] In some embodiments, if the distance is greater than a threshold, the electronic device 110 can be marked as a large-screen device, and the maximum display height can be set to a first preset height corresponding to the large-screen device. Conversely, if the distance is less than or equal to the threshold, the electronic device 110 can be marked as a small-screen device, and the maximum display height can be set to a second preset height corresponding to the small-screen device.
[0080] In some embodiments, the layout of the first component 215, the second component 210, and the third component 205 in the live streaming interface can also be determined based on the display attributes of the electronic device 110.
[0081] As an example, if the electronic device 110 is a large-screen device, the third component 205 may be displayed in the area between the screen area and the lower boundary of the live broadcast interface. Conversely, if the electronic device 110 is a small-screen device, the third component 205 may be overlaid on the screen area.
[0082] In this way, embodiments of the present disclosure can also dynamically adjust the layout of interface components according to the display attributes of the electronic device 110, thereby improving the information display efficiency of the live broadcast interface.
[0083] In some embodiments, such as Figures 3A to 3C The example shown may correspond to the first display mode, and as... Figures 4A to 4C The example shown corresponds to the second display mode. As yet another example, the third display mode could indicate that each display component has an independent maximum display size.
[0084] In some embodiments, the display mode of the live streaming interface (e.g., applying a first display mode, a second display mode, or a third display mode) can be determined based on the display attributes of the electronic device 110 (e.g., a large-screen device or a small-screen device).
[0085] In some embodiments, such as Figure 2 As shown, the live streaming interface 200 can also be linked to live interactive events within the live streaming room. For example, live interactive events can include voice interaction events between the host and guest users within the live streaming room. Alternatively, live interactive events can also include live chat events between the host of this live streaming room and the host of another live streaming room.
[0086] In some embodiments, the display mode of the live streaming interface 200 can also be determined based on the maximum number of participants in the live interactive event. For example, if the maximum number of participants reaches a threshold, the live streaming interface can, for instance, apply a first or second display mode, i.e., support dynamic scaling of the first component 215. Conversely, if the number of participants is less than or equal to the threshold, the live streaming interface can, for instance, apply a third display mode, i.e., each component has a fixed maximum display size.
[0087] Based on the process described above, the embodiments of this disclosure can dynamically adjust the display size of components according to the display status of different components, thereby improving the efficiency of information display in the live broadcast interface.
[0088] Example process
[0089] Figure 5 A flowchart illustrating an example process 500 of interface interaction according to some embodiments of the present disclosure is shown. Process 500 can be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 500.
[0090] like Figure 5 As shown, in box 510, electronic device 110 presents a live broadcast interface, which includes a first component and a second component. The first component is configured to present a first type of interactive message in the live broadcast interface, and the second component is configured to present a second type of interactive message in the live broadcast interface. The first type is different from the second type.
[0091] In frame 520, electronic device 110 adjusts the first size of the first component in response to a change in the display properties of the second component in the live streaming interface.
[0092] In some embodiments, the display attribute indicates at least one of the following: the size of the second component; whether the second component is displayed in the live streaming interface.
[0093] In some embodiments, process 500 further includes: in response to the number of interactive messages to be displayed by the second component meeting a preset condition, triggering a change in the display properties of the second component.
[0094] In some embodiments, process 500 further includes: in response to the number of interactive messages being less than a threshold, triggering a change in the display properties of the second component to stop displaying the second component in the live streaming interface.
[0095] In some embodiments, adjusting the first size of the first component in response to a change in the display attributes of the second component in the live streaming interface includes: determining a second size of the second component in response to a change in the display attributes of the second component in the live streaming interface; and adjusting the first size of the first component based on a maximum common size and a second size, wherein the maximum common size corresponds to the first component and the second component.
[0096] In some embodiments, the maximum common size is determined based on the distance from the screen area in the live streaming interface to the target boundary of the live streaming interface.
[0097] In some embodiments, the first size, the second size, or the maximum common size indicates the display height in the live streaming interface.
[0098] In some embodiments, the live streaming interface further includes a third component configured to present a third type of interactive message in the live streaming interface, wherein the third size of the third component is independent of the number of third type interactive messages.
[0099] In some embodiments, the first component includes a comment message component, and the second component includes a gift message component and / or an admission message component.
[0100] In some embodiments, the live streaming interface is associated with a live interactive event, and process 500 further includes: determining an associated first component and a second component based on the display mode of the live streaming interface, wherein the display mode is determined based on the maximum number of participants in the live interactive event.
[0101] Example devices and equipment
[0102] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 6 A schematic structural block diagram of an example device 600 for user interface interaction according to certain embodiments of the present disclosure is shown. Device 600 may be implemented as or included in electronic device 110. Various modules / components in device 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0103] like Figure 6 As shown, the device 600 includes: a presentation module 610 configured to present a live broadcast interface, the live broadcast interface including a first component and a second component, the first component being configured to present a first type of interactive message in the live broadcast interface, the second component being configured to present a second type of interactive message in the live broadcast interface, the first type being different from the second type; and an adjustment module 620 configured to adjust a first size of the first component in response to a change in the display attributes of the second component in the live broadcast interface.
[0104] In some embodiments, the display attribute indicates at least one of the following: the size of the second component; whether the second component is displayed in the live streaming interface.
[0105] In some embodiments, the device 600 further includes a first triggering module configured to trigger a change in the display attributes of the second component in response to the number of interactive messages to be displayed by the second component meeting a preset condition.
[0106] In some embodiments, the device 600 further includes a second triggering module configured to trigger a change in the display properties of the second component in response to the number of interactive messages being less than a threshold, so as to stop the display of the second component in the live broadcast interface.
[0107] In some embodiments, adjusting the first size of the first component in response to a change in the display attributes of the second component in the live streaming interface includes: determining a second size of the second component in response to a change in the display attributes of the second component in the live streaming interface; and adjusting the first size of the first component based on a maximum common size and a second size, wherein the maximum common size corresponds to the first component and the second component.
[0108] In some embodiments, the maximum common size is determined based on the distance from the screen area in the live streaming interface to the target boundary of the live streaming interface.
[0109] In some embodiments, the first size, the second size, or the maximum common size indicates the display height in the live streaming interface.
[0110] In some embodiments, the live streaming interface further includes a third component configured to present a third type of interactive message in the live streaming interface, wherein the third size of the third component is independent of the number of third type interactive messages.
[0111] In some embodiments, the first component includes a comment message component, and the second component includes a gift message component and / or an admission message component.
[0112] In some embodiments, the live streaming interface is associated with a live interactive event, and the device 600 further includes a determining module configured to: determine an associated first component and a second component based on the display mode of the live streaming interface, wherein the display mode is determined based on the maximum number of participants in the live interactive event.
[0113] like Figure 7As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0114] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.
[0115] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0116] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0117] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0118] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0119] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0120] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0121] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0123] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for interface interaction, comprising: A live streaming interface is presented, the live streaming interface including a first component and a second component, the first component being configured to present a first type of interactive message in the live streaming interface, the second component being configured to present a second type of interactive message in the live streaming interface, the first type being different from the second type, the live streaming interface including a screen area for presenting live streaming content, the interactive message being configured to be displayed outside the screen area or superimposed on the screen area, the first type of interactive message and the second type of interactive message being associated with the same live streaming user; as well as In response to a change in the display attributes of the second component in the live streaming interface, the first size of the first component is adjusted, and the change in the display attributes is related to the number of messages to be displayed by the second component.
2. The method of claim 1, wherein the display attribute indicates at least one of the following: The dimensions of the second component; Whether the second component is displayed in the live streaming interface.
3. The method according to claim 1, further comprising: In response to the number of interactive messages to be displayed by the second component meeting a preset condition, the change in the display attribute of the second component is triggered.
4. The method according to claim 3, further comprising: In response to the number of interactive messages being less than a threshold, the change in the display attribute of the second component is triggered to stop the second component from being displayed in the live streaming interface.
5. The method of claim 1, wherein adjusting the first size of the first component in response to a change in the display attributes of the second component in the live streaming interface comprises: In response to the change in the display properties of the second component in the live streaming interface, a second size of the second component is determined; as well as Based on the maximum common size and the second size, the first size of the first component is adjusted, wherein the maximum common size corresponds to the first component and the second component.
6. The method according to claim 5, wherein the maximum common size is determined based on the distance from the screen area in the live streaming interface to the target boundary of the live streaming interface.
7. The method according to claim 5, wherein the first size, the second size, or the maximum common size indicates the display height in the live streaming interface.
8. The method of claim 1, wherein the live streaming interface further comprises a third component configured to present a third type of interactive message in the live streaming interface, wherein the third size of the third component is independent of the number of the third type of interactive message.
9. The method of claim 1, wherein the first component includes a comment message component, and the second component includes a gift message component and / or an admission message component.
10. The method according to claim 1, wherein the live streaming interface is associated with live streaming interactive events, the method further comprising: Based on the display mode of the live streaming interface, the associated first component and second component are determined, wherein the display mode is determined based on the maximum number of participants in the live streaming interactive event.
11. A device for interface interaction, comprising: A presentation module is configured to present a live streaming interface, which includes a first component and a second component. The first component is configured to present a first type of interactive message in the live streaming interface, and the second component is configured to present a second type of interactive message in the live streaming interface. The first type is different from the second type. The live streaming interface includes a screen area for presenting live streaming content. The interactive messages are configured to be displayed outside the screen area or superimposed on the screen area. The first type of interactive message and the second type of interactive message are associated with the same live streaming user. as well as An adjustment module is configured to adjust a first size of the first component in response to a change in the display attributes of the second component in the live streaming interface, the change in the display attributes being related to the number of messages to be displayed by the second component.
12. An electronic device, comprising: At least one processing unit; as well as At least one memory is coupled to at least one processing unit and stores instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 10.
13. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Information processing method and device, computer equipment and storage medium
CN113411656A
Live broadcast window control method and device, equipment and medium
CN115567747A
Interface interaction method and apparatus, and device and storage medium
WO2024230771A1