Interface interaction method and device, equipment and storage medium
By displaying the live broadcast information associated with the application in the widget and switching to the live broadcast information of different users based on user operations, the problem of not being able to switch live broadcast information in traditional widgets is solved, and the user experience and information acquisition efficiency is improved.
Patent Information
- Application Number
- CN202411260091.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-24
AI Technical Summary
In traditional widgets, live broadcast information cannot be switched based on user operations, which affects the user experience.
A widget associated with the application is provided, a first live broadcast information associated with the application is displayed, and a second live broadcast information associated with the application is switched to displaying the second live broadcast information associated with the application is provided based on the user's update instruction. The second live broadcast information is associated with different users.
The rich display and quick switching of live broadcast information are achieved through widgets, improving the efficiency of information acquisition and user experience.
Smart Images

Figure CN119182950A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for interface interaction. Background Art
[0002] With the development of computer technology, the Internet has become an important platform for people to interact with each other. In the process of information interaction through the Internet, people expect to use widgets that are more convenient to interact with applications during the interaction. For example, a user can view certain information in an application based on a widget associated with the application. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for interface interaction is provided. The method includes: providing a widget associated with an application; displaying first live broadcast information associated with the application in the widget, the first live broadcast information being associated with a first live broadcast user; and switching the widget to display second live broadcast information associated with the application based on an update instruction for the widget, the second live broadcast information being associated with a second live broadcast user, and the second live broadcast user being different from the first live broadcast user.
[0004] In a second aspect of the present disclosure, a device for interface interaction is provided. The device includes: a providing module configured to provide a widget associated with an application; a display module configured to display first live broadcast information associated with the application in the widget, the first live broadcast information being associated with a first live broadcast user; and a switching module configured to switch the widget to display second live broadcast information associated with the application based on an update instruction for the widget, the second live broadcast information being associated with a second live broadcast user, and the second live broadcast user being different from the first live broadcast user.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0010] FIG. 2A to FIG. 2D shows an example interface according to some embodiments of the present disclosure;
[0011] Figure 2E A schematic diagram showing an update broadcast process according to some embodiments of the present disclosure is shown;
[0012] Figure 3 A flowchart showing a process of example interface interaction according to some embodiments of the present disclosure;
[0013] Figure 4 A schematic structural block diagram showing an example interface interaction device according to some embodiments of the present disclosure; and
[0014] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0016] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part 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 be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0019] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0020] According to the traditional solution, only information associated with the live broadcast can be displayed in the widget, and the live broadcast information cannot be switched based on user operations, thereby affecting the user experience.
[0021] The embodiment of the present disclosure proposes a scheme for interface interaction. According to the scheme, a widget associated with an application can be provided; first live broadcast information associated with the application is displayed in the widget, and the first live broadcast information is associated with a first live broadcast user; and based on an update instruction for the widget, the widget is switched to display second live broadcast information associated with the application, and the second live broadcast information is associated with a second live broadcast user, and the second live broadcast user is different from the first live broadcast user.
[0022] In this way, the embodiments of the present disclosure can utilize widgets to display live broadcast information, and can switch the live broadcast information in the widget based on a user's update instruction for the widget, thereby providing richer information through the widget, thereby improving information acquisition efficiency.
[0023] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.
[0024] Example Environment
[0025] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0026] In this example environment 100, the electronic device 110 may run an application 120 that supports interface interaction. The application 120 may be any appropriate type of application for interface interaction, examples of which may include, but are not limited to, video applications, social applications, or other appropriate applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0027] exist Figure 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.
[0028] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0029] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.
[0030] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a universal serial bus connection, a wireless fidelity connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0032] Example Interaction
[0033] The process of example interface interaction according to an embodiment of the present disclosure will be described below with reference to the accompanying drawings.
[0034] FIG. 2A to FIG. 2D Example interfaces 200A to 200D according to some embodiments of the present disclosure are shown. Interfaces 200A to 200D may be composed of Figure 1 The electronic device 110 is provided as shown.
[0035] In some embodiments, Figure 2A As shown, the electronic device 110 may provide a widget 210 associated with a target application (eg, an application related to live broadcasting). A widget, also known as a widget, is a plug-in or component of various types provided on a specific page (eg, a system desktop).
[0036] In some embodiments, the user can create the widget 210 through the operating system portal of the electronic device 110. For example, the user can enter the widget configuration interface for adding a widget by long pressing the system desktop.
[0037] Exemplarily, in the widget configuration interface, the user can view widgets supported by various system applications and / or user applications of the electronic device 110. Further, the electronic device 110 can receive a user's request to create a widget via the widget configuration interface, and can, for example, add a widget corresponding to the target application to the system desktop.
[0038] In some embodiments, the widget configuration interface may, for example, provide the user with a selection entry related to live broadcasting, so that the user can configure the live broadcasting information associated with the current widget.
[0039] like Figure 2AAs shown, the widget 210 may have a substantially square shape, for example. Alternatively, it may have any other appropriate layout, for example, a rectangle, a circle, an ellipse, etc. In some embodiments, the target application may provide widget styles corresponding to different sizes and / or shapes, which are selected by the user and moved to any appropriate position in the system desktop.
[0040] Various example implementations of using widgets to present live broadcast information will be described in detail below.
[0041] In some embodiments, the widget 210 may display the first live broadcast information associated with the target application, such first live broadcast information may include an image associated with the first live broadcast user (or the corresponding live broadcast user) (e.g., the avatar of the first live broadcast user), and the electronic device 110 may fill part or all of the background of the widget 220 based on the image. In addition, such an image may also be a dynamic picture or picture frame in the live broadcast activity.
[0042] In some embodiments, such first live broadcast information may also include identification information of the first live broadcast user, such as an avatar, nickname, etc. Such first live broadcast information may also include description information of the live broadcast activity of the first live broadcast user, such as an introduction to the current live broadcast activity, such as a live broadcast about ×××. In some embodiments, such first live broadcast user is the user who initiates the first live broadcast.
[0043] In some embodiments, the electronic device 110 may generate an update instruction for the live broadcast information based on a preset operation of the user on the widget 210. In some embodiments, the widget 210 may include an update control 220, and such a preset operation may be, for example, a trigger operation (e.g., a click operation) of the user on the update control 220. In addition, such a preset operation may also be, for example, a user sliding, double-clicking, and long pressing operations on a preset area of the widget 210. The present disclosure is not intended to limit the preset operations.
[0044] In other embodiments, the electronic device 110 may also generate the update instruction in response to the display duration of the first live broadcast information reaching a threshold (e.g., 5 seconds), that is, the electronic device 110 may display the live broadcast information in a carousel based on a preset duration.
[0045] Furthermore, in response to receiving the update instruction, the electronic device 110 may switch the widget 210 to display second live broadcast information associated with the target application, where the live broadcast activity corresponding to the second live broadcast information is created by a second live broadcast user who is different from the first live broadcast user.
[0046] by Figure 2A and Figure 2BAs an example, in response to receiving a user's click operation on the update control 220, the electronic device 110 may switch the first live broadcast information 230 to the second live broadcast information 240, and finally Figure 3 The widget 210 shown is used to display the second live broadcast information.
[0047] In some embodiments, Figure 2A As shown, the electronic device 110 can display the first live broadcast interface of the first live broadcast user in response to the user's selection of the first live broadcast information, or Figure 2C As shown, the electronic device 110 displays the second live broadcast interface of the second live broadcast user in response to the user's selection of the second live broadcast information.
[0048] Further, in some embodiments, after the electronic device 110 generates an update instruction, it may present the following Figure 2B The transition animation shown, that is, the first live broadcast information and the second live broadcast information can be dynamically presented in the widget 210 at the same time.
[0049] In some embodiments, during the display of the transition animation, the electronic device 110 displays a first live broadcast interface of the first live broadcast user in response to the user's selection of a first area in the widget 210 corresponding to the first live broadcast information, or the electronic device 110 displays a second live broadcast interface of the second live broadcast user in response to the user's selection of a second area in the widget corresponding to the second live broadcast information.
[0050] As an example, during the display process of the transition animation, the electronic device 110 may display the following in response to the user's selection of the first area corresponding to the first live broadcast information in the widget 210: Figure 2D The first live broadcast interface 200D of the first live broadcast user is shown.
[0051] It can be understood that such a first area and a second area are both dynamically changing areas, and the electronic device 110 presents a corresponding live broadcast interface in response to a user's selection of a certain area.
[0052] In this way, the electronic device 110 can switch the live broadcast information in the widget 210 based on the user operation, and can trigger the switch to the corresponding live broadcast interface based on the user's selection of the live broadcast information displayed in the transition animation or the live broadcast information finally displayed by the widget 210, thereby improving the user experience.
[0053] The source of the live broadcast information presented in the widget 210 will be introduced below.
[0054] In some embodiments, the first live broadcast user and the second live broadcast user are determined based on a live broadcast user list, and the widget 210 is associated with the live broadcast user list. As an example, such a live broadcast user list may be a list of all users currently in live broadcast, a list of users followed by a user, and a list of users in live broadcast cached within a preset time period, etc.
[0055] In some embodiments, the electronic device 110 can determine multiple live broadcast users that are broadcasting live from a group of live broadcast users based on the current live broadcast status of the group of live broadcast users that the current user is following, as a live broadcast user list. As an example, if three users in the group of live broadcast users that the current user is following are in the live broadcast status, these three users are used as the live broadcast user list, and are displayed in a carousel in the widget 210 or switched and updated based on the user's preset operation.
[0056] In some embodiments, the electronic device 110 may set the number of live broadcast users in the live broadcast user list based on the user (for example, the preset number is 6), that is, the electronic device 110 may display the live broadcast information corresponding to the preset number of live broadcast users in a carousel in the widget 210. It is understandable that if the number of current live broadcast users does not meet the current preset number, only the live broadcast information corresponding to the current live broadcast user may be displayed.
[0057] In other embodiments, the electronic device 110 may also determine all users and / or a group of users in a follow list based on the user's selection, and when the group of users starts broadcasting, it may be displayed in the widget 210 .
[0058] In some embodiments, the electronic device 110 may sort the users in the live broadcast based on priority and determine a final live broadcast user list.
[0059] For ease of description, a set of preset number of live broadcast users followed by a user is taken as an example for introduction below.
[0060] In some embodiments, the ranking of live broadcast users in such a live broadcast user list may be based on a certain priority order. Such a priority order may be, for example, based on the number of times the current user has watched, the current user's cumulative contribution to the live broadcast activity (e.g., likes, gifts), and the current user's settings. In addition, such a priority order may also be based on the amount of interaction between other users and the current live broadcast activity.
[0061] In other embodiments, the live broadcast users in such a live broadcast user list may also be randomly ordered.
[0062] In some embodiments, the electronic device 110 may periodically update the live broadcast user list. Further, the electronic device 110 may update the display content of the widget 210, such as the live broadcast information, based on the updated live broadcast list.
[0063] In some embodiments, the electronic device 110 caches display resources associated with the live user list in response to a content acquisition request associated with the widget 210. In some embodiments, such a content acquisition request may be generated in response to the widget 210 being created, or generated periodically after being created.
[0064] As an example, in response to the widget 210 being created, the electronic device 110 may cache a list of live broadcast users that meet preset rules, such as display resources (e.g., live broadcast information) associated with live broadcast users that are in the live broadcast, meet a preset number, and are in the front row. As another example, the electronic device 110 may periodically cache the list of live broadcast users after the widget 210 is created, thereby updating the display resources of the widget 210. Further, the electronic device 110 may obtain the first live broadcast information and / or the second live broadcast information based on the cached display resources.
[0065] In some embodiments, in response to the application process being closed, the electronic device 110 displays the corresponding live broadcast information in the widget based on the cached display resources.
[0066] In some embodiments, the electronic device 110 creates a broadcast event corresponding to the interactive operation in response to the interactive operation on the widget 210. Figure 2A As an example, the electronic device 110 may create a corresponding broadcast event in response to a user's triggering operation on the update control 220 in the widget 210. Further, the electronic device 110 may trigger the corresponding component to perform a corresponding action based on the broadcast event, that is, the electronic device 110 may display the live broadcast interface of the corresponding live broadcast party or switch the widget to display the live broadcast information associated with another live broadcast party.
[0067] Figure 2E FIG. 1 is a schematic diagram showing an update broadcast process according to some embodiments of the present disclosure. Figure 2E As an example, in response to receiving the update broadcast 250, the server 130 may request the live broadcast information of the carousel and download the carousel image in advance, that is, the server 130 starts requesting loading upon receiving the update broadcast. In some embodiments, such an update broadcast 250 may occur, for example, after the user installs the widget 210, switches accounts, or restarts the electronic device.
[0068] On the one hand, the server 130 can call the widget update action interface 251 to create a remote view 252 managed by the service. Further, the server can call the detection switch request interface 253 to display the backup image. On the other hand, while the server calls the widget update action interface 251, the server 130 asynchronously calls the request service interface 254 to asynchronously load and cache all images 255. In this process, the server 130 can use the existing image library for caching, but it is necessary to perform an error backup, that is, download immediately when the cache fails. After the server 130 has cached the image with the longest loading time, the corresponding live broadcast information 256 can be successfully displayed in the electronic device 110. In addition, since the remote view 252 is created using a sub-thread, the cached carousel data needs to be locked, and the data is locked according to the principle of minimum granularity.
[0069] In this way, the embodiments of the present disclosure can utilize a widget to display live broadcast information, and can switch the live broadcast information based on a user's update instruction for the widget, thereby facilitating the user to view the live broadcast information more quickly and intuitively.
[0070] Example Process
[0071] Figure 3 FIG. 3 is a flowchart of an example process 300 of interface interaction according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 The process 300 is described below.
[0072] As shown, at block 310 , the electronic device 110 provides a widget associated with an application.
[0073] In box 320, the electronic device 110 displays first live broadcast information associated with the application in the widget, where the first live broadcast information is associated with a first live broadcast user.
[0074] In box 330, the electronic device 110 switches the widget to display second live broadcast information associated with the application based on the update instruction for the widget, where the second live broadcast information is associated with a second live broadcast user, and the second live broadcast user is different from the first live broadcast user.
[0075] In some embodiments, process 300 further includes: generating an update instruction based on a preset operation on the widget; or generating an update instruction in response to the display duration of the first live broadcast information reaching a threshold.
[0076] In some embodiments, the widget includes an update control, and the preset operation includes triggering the update control.
[0077] In some embodiments, process 300 further includes: in response to a selection of the first live broadcast information, displaying a first live broadcast interface of a first live broadcast user; or in response to a selection of the second live broadcast information, displaying a second live broadcast interface of a second live broadcast user.
[0078] In some embodiments, switching the widget to display the second live broadcast information associated with the application includes: displaying a transition animation from the first live broadcast information to the second live broadcast information; process 300 also includes: during the display of the transition animation, in response to a selection of a first area in the widget corresponding to the first live broadcast information, displaying a first live broadcast interface of a first live broadcast user; or during the display of the transition animation, in response to a selection of a second area in the widget corresponding to the second live broadcast information, displaying a second live broadcast interface of a second live broadcast user.
[0079] In some embodiments, the widget is associated with a live broadcast user list, and the first live broadcast user and the second live broadcast user are determined based on the live broadcast user list.
[0080] In some embodiments, process 300 further includes: based on the current live broadcast status of a group of live broadcast users followed by the current user, determining multiple live broadcast users who are currently broadcasting from the group of live broadcast users as a live broadcast user list, wherein the number of live broadcast users in the live broadcast user list does not exceed a preset number.
[0081] In some embodiments, the process 300 further includes: periodically updating the live broadcast user list; and updating the displayed content of the widget based on the updated live broadcast list.
[0082] In some embodiments, process 300 further includes: caching display resources associated with the live broadcast user list in response to a content acquisition request associated with the widget; and acquiring the first live broadcast information and / or the second live broadcast information based on the cached display resources.
[0083] In some embodiments, the content acquisition request is generated in response to the widget being created; or the content acquisition request is generated periodically after the widget is created.
[0084] In some embodiments, process 300 further includes: in response to the process of the application being closed, displaying corresponding live broadcast information in the widget based on the cached display resources.
[0085] In some embodiments, the first live broadcast information or the second live broadcast information includes at least one of the following: an image associated with the corresponding live broadcast user, the image being used to fill at least a portion of the background of the widget; identification information of the corresponding live broadcast user; and description information of the live broadcast activity of the corresponding live broadcast user.
[0086] In some embodiments, process 300 also includes: in response to an interactive operation on a widget, creating a broadcast event corresponding to the interactive operation; and based on the broadcast event, triggering a corresponding component to perform a corresponding action, the corresponding action including: displaying the live broadcast interface of the corresponding live broadcast party or switching the widget to display live broadcast information associated with another live broadcast party.
[0087] Example devices and equipment
[0088] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example interface interaction device 400 according to some embodiments of the present disclosure is shown. The device 400 may be implemented as or included in the electronic device 110. Each module / component in the device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0089] like Figure 4 As shown, the device 400 includes a providing module 410, configured to provide a widget associated with an application; a display module 420, configured to display first live broadcast information associated with the application in the widget, the first live broadcast information being associated with a first live broadcast user; and a switching module 430, configured to switch the widget to display second live broadcast information associated with the application based on an update instruction for the widget, the second live broadcast information being associated with a second live broadcast user, and the second live broadcast user being different from the first live broadcast user.
[0090] In some embodiments, the device 400 further includes a generation module configured to generate an update instruction based on a preset operation on the widget; or to generate an update instruction in response to the display duration of the first live broadcast information reaching a threshold.
[0091] In some embodiments, the widget includes an update control, and the preset operation includes triggering the update control.
[0092] In some embodiments, the device 400 also includes a first display module, which is configured to display a first live broadcast interface of a first live broadcast user in response to a selection of the first live broadcast information; or to display a second live broadcast interface of a second live broadcast user in response to a selection of the second live broadcast information.
[0093] In some embodiments, the switching module 430 is further configured to display a transition animation from the first live broadcast information to the second live broadcast information; the device 400 also includes a second display module, which is configured to display a first live broadcast interface of the first live broadcast user in response to a selection of a first area in the widget corresponding to the first live broadcast information during the display of the transition animation; or to display a second live broadcast interface of the second live broadcast user in response to a selection of a second area in the widget corresponding to the second live broadcast information during the display of the transition animation.
[0094] In some embodiments, the widget is associated with a live broadcast user list, and the first live broadcast user and the second live broadcast user are determined based on the live broadcast user list.
[0095] In some embodiments, the device 400 also includes a list determination module, which is configured to determine multiple live broadcast users who are broadcasting live from a group of live broadcast users based on the current live broadcast status of a group of live broadcast users that the current user is following, as a live broadcast user list, wherein the number of live broadcast users in the live broadcast user list does not exceed a preset number.
[0096] In some embodiments, the apparatus 400 further includes a list updating module configured to periodically update the live broadcast user list; and update the display content of the widget based on the updated live broadcast list.
[0097] In some embodiments, the device 400 also includes an information acquisition module, which is configured to cache display resources associated with the live broadcast user list in response to a content acquisition request associated with the widget; and acquire the first live broadcast information and / or the second live broadcast information based on the cached display resources.
[0098] In some embodiments, the content acquisition request is generated in response to the widget being created; or the content acquisition request is generated periodically after the widget is created.
[0099] In some embodiments, the device 400 further includes a resource display module configured to display corresponding live broadcast information in a widget based on cached display resources in response to the process of the application being closed.
[0100] In some embodiments, the first live broadcast information or the second live broadcast information includes at least one of the following: an image associated with the corresponding live broadcast user, the image being used to fill at least a portion of the background of the widget; identification information of the corresponding live broadcast user; and description information of the live broadcast activity of the corresponding live broadcast user.
[0101] In some embodiments, the device 400 also includes a processing module, which is configured to create a broadcast event corresponding to the interactive operation in response to the interactive operation on the widget; and based on the broadcast event, trigger the corresponding component to perform a corresponding action, and the corresponding action includes: displaying the live broadcast interface of the corresponding live broadcast party or switching the widget to display the live broadcast information associated with another live broadcast party.
[0102] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the modules in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0103] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to implement Figure 1 An electronic device 110.
[0104] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0105] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.
[0106] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0107] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0108] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0109] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0110] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0111] 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 device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0112] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0113] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0114] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for interface interaction, comprising: Provide widgets associated with the application; Displaying first live broadcast information associated with the application in the widget, where the first live broadcast information is associated with a first live broadcast user; as well as Based on an update instruction for the widget, the widget is switched to display second live broadcast information associated with the application, where the second live broadcast information is associated with a second live broadcast user, and the second live broadcast user is different from the first live broadcast user.
2. The method according to claim 1, further comprising: generating the update instruction based on a preset operation on the widget; or In response to the display duration of the first live broadcast information reaching a threshold, the update instruction is generated. 3 . The method according to claim 2 , wherein the widget comprises an update control, and the preset operation comprises triggering the update control.
4. The method according to claim 1, further comprising: In response to the selection of the first live broadcast information, displaying a first live broadcast interface of the first live broadcast user; or In response to the selection of the second live broadcast information, a second live broadcast interface of the second live broadcast user is displayed.
5. The method according to claim 1, wherein switching the widget to display second live broadcast information associated with the application comprises: Displaying a transition animation from the first live broadcast information to the second live broadcast information; The method further comprises: During the display process of the transition animation, in response to the selection of the first area corresponding to the first live broadcast information in the widget, displaying the first live broadcast interface of the first live broadcast user; or During the display of the transition animation, in response to the selection of the second area corresponding to the second live broadcast information in the widget, the second live broadcast interface of the second live broadcast user is displayed. The method according to claim 1 , wherein the widget is associated with a live broadcast user list, and the first live broadcast user and the second live broadcast user are determined based on the live broadcast user list.
7. The method according to claim 6, further comprising: Based on the current live broadcast status of a group of live broadcast users followed by the current user, multiple live broadcast users who are broadcasting live are determined from the group of live broadcast users to serve as the live broadcast user list, wherein the number of live broadcast users in the live broadcast user list does not exceed a preset number.
8. The method according to claim 6, further comprising: Periodically updating the live broadcast user list; as well as Based on the updated live broadcast list, the display content of the widget is updated.
9. The method according to claim 6, further comprising: In response to a content acquisition request associated with the widget, cache display resources associated with the live broadcast user list; as well as Based on the cached display resource, the first live broadcast information and / or the second live broadcast information is obtained.
10. The method according to claim 9, wherein: The content acquisition request is generated in response to the widget being created; or The content acquisition request is periodically generated after the widget is created.
11. The method according to claim 9, further comprising: In response to the process of the application being closed, corresponding live broadcast information is displayed in the widget based on the cached display resource.
12. The method according to claim 1, wherein the first live broadcast information or the second live broadcast information comprises at least one of the following: an image associated with the corresponding live broadcast user, the image being used to fill at least a portion of the background of the widget; Identification information of the corresponding live broadcast user; The description information of the live broadcast activity of the corresponding live broadcast user.
13. The method according to claim 1, further comprising: In response to an interactive operation on the widget, creating a broadcast event corresponding to the interactive operation; as well as Based on the broadcast event, a corresponding component is triggered to perform a corresponding action, and the corresponding action includes: displaying the live broadcast interface of the corresponding live broadcast party or switching the widget to display the live broadcast information associated with another live broadcast party.
14. A device for interface interaction, comprising: A providing module configured to provide a widget associated with an application; A display module, configured to display first live broadcast information associated with the application in the widget, where the first live broadcast information is associated with a first live broadcast user; as well as The switching module is configured to switch the widget to display second live broadcast information associated with the application based on an update instruction for the widget, where the second live broadcast information is associated with a second live broadcast user, and the second live broadcast user is different from the first live broadcast user.
15. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 13 when executed by the at least one processing unit.
16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Cited By
Interface interaction method and apparatus, and device and storage medium
WO2026052128A1
