Method, device, equipment, storage medium and program product for interface interaction

By presenting the visual representation and interactive state of virtual objects in widgets, the problem of low efficiency in obtaining the user's interaction state with virtual objects is solved, achieving efficient and accurate information presentation and resource-saving interface interaction.

CN122488975APending Publication Date: 2026-07-31BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2026-05-13
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In existing technologies, the efficiency of obtaining the interaction status between users and virtual objects is low, the interaction cost is high, and frequent interface switching leads to increased system resource consumption.

Method used

By presenting the visual representation and interactive state of virtual objects in widgets and responding to operations to display related interfaces, a seamless transition from lightweight preview to deep interaction is achieved, reducing interface switching and improving information acquisition efficiency.

Benefits of technology

It lowers the barrier to entry for users, improves the efficiency of information acquisition, reduces system resource consumption, and ensures the efficient and accurate presentation of interactive states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122488975A_ABST
    Figure CN122488975A_ABST
Patent Text Reader

Abstract

A method, apparatus, device, storage medium, and program product for interface interaction are provided. The proposed method includes presenting a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user; presenting first content in the widget, the first content representing a first interaction state between at least one of the first and second users and the virtual object; and presenting a first interface associated with the virtual object in response to receiving a first operation associated with the widget. In this manner, the efficiency of obtaining information associated with the virtual object can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The examples in this article generally relate to the field of computers, and in particular to methods, apparatuses, devices, computer storage media, and computer program products for user interface interaction. Background Technology

[0002] With the increasing maturity of internet technology, more and more users are engaging in interactive activities on online platforms. For example, users can perform various interactive operations with virtual objects. During these interactions, monitoring the interaction status between the user and the virtual object is a key focus for users. Therefore, improving the efficiency of obtaining information related to virtual objects is a worthwhile area of ​​concern. Summary of the Invention

[0003] In a first aspect, a method for interface interaction is provided. The method includes: presenting a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user; presenting first content in the widget, the first content representing a first interaction state between at least one of the first user and the second user and the virtual object; and, in response to receiving a first operation associated with the widget, presenting a first interface associated with the virtual object.

[0004] In a second aspect, an apparatus for interface interaction is provided. The apparatus includes: a first presentation module configured to present a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user; a second presentation module configured to present first content in the widget, the first content representing a first interaction state between at least one of the first and second users and the virtual object; and a third presentation module configured to present a first interface associated with the virtual object in response to receiving a first operation associated with the widget.

[0005] In a third aspect, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the methods of the first or second aspect.

[0006] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the methods of the first or second aspect.

[0007] In a fifth aspect, a computer program product is provided, which is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first or second aspect.

[0008] This approach can improve the efficiency of users in understanding information associated with virtual objects, reduce the interaction costs between users and virtual objects, and reduce the consumption of system resources caused by frequent application launches and interface switching.

[0009] It should be understood that the content described in this section is not intended to limit the key or important features of the examples in this article, nor is it intended to restrict the scope of the solution. Other features will become readily apparent from the following description. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the various examples herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram of the example environment is shown; Figures 2A to 2D Example interfaces for some scenarios are shown; Figures 3A to 3C Example interfaces for some scenarios are shown; Figure 4 The flowcharts show example processes of interface interactions in some scenarios; Figure 5 Schematic block diagrams of example devices for interface interaction in some scenarios are shown; and Figure 6 A block diagram of an electronic device capable of implementing multiple illustrative scenarios is shown. Detailed Implementation

[0011] The examples in this document will now be described in more detail with reference to the accompanying drawings. While some examples are shown in the drawings, it should be understood that solutions can be implemented in various forms and should not be construed as limited to the examples presented herein. Rather, these examples are provided to provide a more thorough and complete understanding of the solutions. It should be understood that the drawings and examples in this document are for illustrative purposes only and are not intended to limit the scope of protection of the solutions.

[0012] It should be noted that the headings of any section / subsection provided herein are not restrictive. Various examples are described throughout this document, and examples of any type may be included under any section / subsection. Furthermore, examples described in any section / subsection may be combined in any way with any other examples described in the same section / subsection and / or different sections / subsections.

[0013] In the description of the examples in this document, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an example" or "the example" should be understood as "at least one example". The term "some examples" should be understood as "at least some examples". 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.

[0014] The examples in this article may involve user data, data acquisition, and / or use. All of these aspects comply with relevant laws, regulations, and rules. In the examples presented here, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, when implementing each example, 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 through appropriate means, in accordance with relevant laws and regulations. The specific methods of notification and / or authorization can vary depending on the actual situation and application scenario; the scope of the solution is not limited in this regard.

[0015] In this manual and the sample solutions, any processing of personal information will be conducted only under legal grounds (such as obtaining the consent of the data 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 beyond what is necessary for basic functions will not affect the user's use of basic functions.

[0016] As mentioned above, with the increasing maturity of network technology, more and more users are engaging in interactive activities on online platforms. For example, users can perform various interactive operations with virtual objects. During these interactions, monitoring the interaction status between the user and the virtual object is a key focus for the user. In some cases, users need to access specific functional interfaces to understand the interaction status, thus affecting the real-time nature of the interaction. Therefore, improving the efficiency of obtaining information associated with virtual objects and reducing interaction costs are noteworthy considerations.

[0017] A user interface interaction scheme is proposed. The scheme includes: presenting a visual representation of a virtual object within a widget, the virtual object being associated with a first user and a second user; presenting first content within the widget, the first content representing a first interaction state between at least one of the first and second users and the virtual object; further, responding to receiving a first operation associated with the widget, presenting a first interface, which is associated with the virtual object.

[0018] In this way, widgets can be used to present the visual representation of virtual objects and the interaction state between at least one user and the virtual object. This allows users to understand the interaction state without navigating to the interface associated with the virtual object, thus lowering the barrier to entry for viewing and participating in interactions, and improving the efficiency of users acquiring information associated with virtual objects. Furthermore, it supports presenting interfaces associated with virtual objects through operations linked to widgets, achieving a seamless transition from lightweight previews to deep interactions, thereby enriching the ways to interact with virtual objects and improving the efficiency of user interaction. Simultaneously, leveraging the persistent and lightweight nature of widgets reduces system resource consumption caused by frequent application launches and interface switching, and ensures the efficient and accurate presentation of interaction states within the widgets.

[0019] The following describes various examples of this scheme in further detail with reference to the accompanying drawings.

[0020] Example Environment Figure 1 A schematic diagram of example environment 100 is shown. (e.g.) Figure 1 As shown, example environment 100 may include electronic device 110.

[0021] 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, including but not limited to: media applications, social applications, or other suitable applications. User 140 can interact with application 120 via electronic device 110 and / or its attached devices.

[0022] 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.

[0023] In some cases, 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 of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some cases, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0024] 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.

[0025] 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 can include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections. In some cases, server 130 and electronic device 110 can exchange signaling information through their communication connection.

[0026] 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 the scheme.

[0027] The following description of the example will continue with reference to the accompanying drawings.

[0028] Example Interaction Figures 2A to 2DExample interfaces 200A to 200D are shown, illustrating interface interactions under various scenarios. Interfaces 200A to 200D can, for example, be... Figure 1 The electronic device 110 shown provides this. For example, the electronic device 110 can present interfaces 200A to 200D to a first user.

[0029] In some cases, such as Figure 2A As shown, electronic device 110 can present interface 200A. Interface 200A can be implemented as any suitable interface for presenting widgets. For example, interface 200A can be implemented as a system desktop. Electronic device 110 can present widgets (e.g., widget 205) on interface 200A. Alternatively, electronic device 110 can also present widgets on the system's negative one screen. As an example, a widget, also called a control, is a type of plug-in or component provided on a specific page (e.g., the system desktop). For example, widget 205 can be associated with a preset application. For example, a preset application can be associated with a virtual object.

[0030] In some cases, users can create widgets 205 through the operating system entry point of electronic device 110. For example, electronic device 110 can display a widget configuration interface for adding widgets in response to a preset operation on the system desktop (e.g., a long press). Exemplarily, in the widget configuration interface, users can view various widgets supported by system applications and / or user applications of electronic device 110. Further, 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 a preset application to the system desktop. Alternatively, such widgets can also be added through the application interface of a preset application.

[0031] As an example, widget 205 can have a basic square shape. Alternatively, widget 205 can also have any other suitable shape, such as rectangle, circle, ellipse, etc. In some cases, one or more of the layout, size, and shape of widget 205 can be configured by the user.

[0032] In some cases, widget 205 is associated with a virtual object. For example, electronic device 110 may present a visual representation 210 of the virtual object in widget 205. As an example, visual representation 210 may include visual content associated with the visual image of the virtual object. As an example, such visual image is determined based on configuration operations of a first user or a second user. Alternatively, such visual representation 210 may also include visual content corresponding to cosmetic materials. For example, such cosmetic materials are associated with the virtual object based on configuration operations of a first user or a second user. For example, such cosmetic materials may be applied to the visual image of the virtual object. For example, such cosmetic materials may include virtual clothing, virtual hats, virtual props, etc.

[0033] In some cases, a virtual object is associated with both a first user and a second user. For example, the virtual object corresponds to a joint interaction between the first and second users. For instance, a virtual object may be associated with the first and second users in response to the fulfillment of preset conditions in a historical interaction between them. Such historical interactions could include a set of interactive events jointly participated in by the first and second users. The first and second users can obtain the virtual object in response to the fulfillment of a first preset condition in the interaction attributes of a set of interactive events. For example, interaction attributes could include interaction frequency, interaction content, etc.

[0034] For example, such a set of interactive events could include text message interactions, image message interactions, audio message interactions, video call interactions, voice call interactions, emoji interactions, and so on. For example, a virtual object could be associated with (or provided to) the first and second users in response to a preset number of consecutive days of conversation between the first and second users.

[0035] In some cases, such a set of interactive events may also include interactive events between the first user and the second user that occur independently of the session. For example, such interactive events may include interactions between the first user and the second user's work, such as comments.

[0036] It should be understood that the acquisition and use of information regarding interactive events involved in this disclosure are all carried out with the knowledge and authorization of the relevant users.

[0037] For example, a virtual object may include a virtual pet associated with a first user and a second user, such as a pet in a shared home. Additionally, at least one attribute of the virtual object may be updated accordingly based on a set of interaction events between the current user and the target object, such that the virtual object may have different visual representations and / or different interactive capabilities.

[0038] In some cases, the electronic device 110 may display identification information 206 corresponding to the second user in the widget 205. For example, the identification information 206 may include the second user's name identifier and / or avatar identifier. For example, the identification information 206 may indicate that a virtual object is associated with the user corresponding to the identification information 206.

[0039] In some cases, the electronic device 110 may present first content in the widget 205. The first content may characterize a first interaction state between at least one of the first and second users and the virtual object.

[0040] In some scenarios, the first interaction state can characterize whether at least one user has performed an interaction with a virtual object. Such an interaction could, for example, include applying virtual resources to the virtual object. As an example, such an interaction could be triggered via an interactive interface associated with the virtual object. For instance, applying virtual resources to a virtual object can characterize associating virtual resources with the virtual object. Such virtual resources can be used to update the object attributes of the virtual object. As an example, such virtual resources could be implemented as virtual food or virtual items. For example, the object attributes of a virtual object could indicate the virtual object's growth experience, growth level, and / or skill level, etc.

[0041] In some cases, the first content presented in widget 205 may include, for example, text elements. Such text elements may describe whether at least one user has applied a virtual resource to a virtual object. For example, electronic device 110 may present first text 215 in widget 205 (e.g., “So hungry, thinking about what to eat?”). As an example, electronic device 110 may present first text 215 in response to neither the first user nor the second user applying a virtual resource to a virtual object. Alternatively, electronic device 110 may present first text 215 in response to neither the first user nor the second user applying a virtual resource to a virtual object within the current period. As an example, each calendar day may correspond to a period. For example, the current period may indicate the time between 00:00 and 24:00 on the current day.

[0042] As an example, electronic device 110 may present a visual element 208 (e.g., a "plate") in widget 205. In some cases, a visual element may also be referred to as a graphic element. For example, the first content may also include visual element 208. Visual element 208 may represent a first interaction state. For example, a visual element 208 in an empty state (e.g., an "empty plate") may represent that neither the first user nor the second user has applied virtual resources to the virtual object.

[0043] In some cases, such as Figure 2BAs shown, electronic device 110 can present interface 200B. For example, electronic device 110 can present widget 205 on interface 200B. In some cases, electronic device 110 can present second text 220 (e.g., "One more to finish eating") in widget 205 on interface 200B. As an example, electronic device 110 can present second text in widget 205 in response to a first interaction state indicating that at least one user has applied a first virtual resource to a virtual object. For example, at least one user can include either a first user or a second user. As an example, electronic device 110 can present second text 220 in response to a second user applying a virtual resource to a virtual object and a first user not applying a virtual resource to a virtual object.

[0044] In some cases, electronic device 110 may, in response to a first interactive state indicating that at least one user has applied a first virtual resource to a virtual object, present a first visual element in widget 205. In some cases, the visual element may also be referred to as a graphical element. For example, the first visual element corresponds to the first virtual resource. For example, at least one user may be a first user or a second user. Taking a second user as an example, electronic device 110 may, in response to the second user applying the first virtual resource to a virtual object, present a first visual element (e.g., visual element 225) in widget 205. For example, the visual element may correspond to the first virtual resource (e.g., "virtual food"). As an example, the second user may apply the first virtual resource to the virtual object through an interactive interface associated with the virtual object. Alternatively, the first virtual resource may be used to update the object attributes of the virtual object (e.g., growth experience, growth level, skill level, etc.). Alternatively, electronic device 110 may present the first visual element in visual element 208.

[0045] In some cases, the visual style of the visual representation of a virtual object (e.g., also known as the first style) is associated with the first interaction state. Figure 2A For example, the first interactive state indicated by interface 200A can represent that neither the first user nor the second user has applied virtual resources to the virtual object. For example, the visual style of visual representation 210 can represent the virtual object performing a first action (e.g., a dizzying action). For example, the first action corresponds to the first interactive state indicated by interface 200A. Figure 2B For example, the first interactive state indicated by interface 200B can represent that the second user applies virtual resources to a virtual object and the first user does not apply virtual resources to a virtual object. For example, the visual style of visual representation 210 can represent that the virtual object performs a second action (e.g., blinking). For example, the second action corresponds to the first interactive state indicated by interface 200B.

[0046] In some cases, electronic device 110 can, within a widget, stop displaying the first content and display the second content. The second content can represent a second interaction state. Further, electronic device 110 can display a visual representation in a second style. For example, the first interaction state can represent that neither the first user nor the second user has applied virtual resources to virtual objects. As an example, continue to refer to... Figure 2A The first content may include, for example, first text 215, and the first style may indicate the visual style of the visual representation 210 in the interface 200A (e.g., a virtual object performing a first action).

[0047] Alternatively, the electronic device 110 may, in response to a switch in the interaction state between at least one user and a virtual object from a first interaction state to a second interaction state, stop presenting the first content and present the second content in the widget. As an example, the second interaction state differs from the first interaction state. The second style differs from the first style. As an example, the second interaction state can represent any appropriate state associated with the virtual object. For instance, the second interaction state can represent a second user applying virtual resources to a virtual object, while the first user does not apply virtual resources to the virtual object. (Continue to the next section) Figure 2B The second content may include, for example, second text 220, and the second style may indicate the visual style of the visual representation 210 in the interface 200B (e.g., a virtual object performing a second action).

[0048] In some cases, electronic device 110 may also present first content within a first time period. The first time period is configured in relation to a first interaction state. For example, the first time period may be configured by the platform. Alternatively, the first time period may be configured by a first user or a second user. As an example, the first time period may include one or more time periods within the current cycle (e.g., the time period corresponding to 12:00 to 14:00 of the day and / or the time period corresponding to 18:00 to 20:00 of the day).

[0049] Alternatively or additionally, the electronic device 110 may stop displaying the first content in the widget in response to the fulfillment of a preset condition. As an example, such a preset condition may indicate that the current time has reached a second time period. The second time period differs from the first time period. Alternatively, such a preset condition may indicate that a first interaction state between at least one user and a virtual object is updated. As an example, such a preset condition may indicate that a first user applies virtual resources to a virtual object.

[0050] Alternatively, the electronic device 110 may display a visual representation of the virtual object in a third style within a widget during a second time period. For example, the third style may correspond to a third action associated with the virtual object. For instance, the third action could be a heart-making gesture or a dancing gesture. Alternatively, the third action may be associated with the virtual object based on configuration operations performed by a first or second user.

[0051] In some cases, electronic device 110 may display an interactive indicator 230 within a widget. The state of the interactive indicator 230 is determined based on historical interactions between a first user and a second user. As an example, the state of the interactive indicator may include a first state and a second state. For example, a first state may indicate that the first user and the second user have interacted within the current period (e.g., within the day). For example, a second state may indicate that the first user and the second user have not interacted within the current period (e.g., within the day). For example, interactive indicators 230 in the first state and in the second state may correspond to different visual styles (e.g., different colors or different texture fills, etc.). For example, interactive indicator 230 in the first state may correspond to a first visual style (e.g., "red sparks"). For example, interactive indicator 230 in the second state may correspond to a second visual style (e.g., "gray sparks"). It is not intended to limit the specific form of the first and second visual styles.

[0052] In some cases, electronic device 110 may display first content in response to the state of interactive identifier 230 meeting preset conditions. For example, such preset conditions may indicate that interactive identifier 230 is in a first state.

[0053] Additionally or alternatively, electronic device 110 may present a first interface in response to receiving a first operation associated with widget 205. The first interface is associated with a virtual object. As an example, the first interface may be an interactive interface associated with a virtual object. Figure 2B For example, the first operation may include a triggering operation on widget 205 (e.g., a click operation or a long press operation). For example, the first operation may include a triggering operation on first content (e.g., second text 220 or visual element 225). Alternatively, the first operation may include a triggering operation on visual representation 210.

[0054] In some cases, such as Figure 2CAs shown, electronic device 110 can present interface 200C. For example, interface 200C can be implemented as a first interface. As an example, electronic device 110 can present a visual representation 235 of a virtual object in the first interface. As an example, visual representation 235 can correspond to a visual representation in a widget. For example, the two can have the same visual appearance and use the same cosmetic materials. As an example, electronic device 110 can present descriptive information in the first interface to indicate the object attributes of the virtual object (e.g., growth information, growth level, and / or skill level, etc.). For example, electronic device 110 can present descriptive information 240 (e.g., "level 99", "40 / 50") in interface 200C to indicate the object attributes of the virtual object (e.g., growth progress is "40 / 50", growth level is "level 99").

[0055] In some cases, electronic device 110 may present visual element 245. For example, visual element 245 may correspond to a first visual element in a widget. For example, visual element 245 may correspond to a first virtual resource. For example, electronic device 110 may, in response to a second user applying the first virtual resource to a virtual object, present visual element 245 corresponding to the first virtual resource in a first interface. As an example, electronic device 110 may present visual element 245 within visual element 248. For example, visual element 248 may correspond to... Figure 2A Visual element 208.

[0056] As an example, a first interface is used to receive a second operation to apply a virtual resource to a virtual object. As an example, electronic device 110 presents at least one candidate option (e.g., candidate option 250, candidate option 255, candidate option 260) on the first interface (e.g., interface 200C). For example, at least one candidate option corresponds to at least one candidate virtual resource. For example, at least one candidate virtual resource can be used to adjust the object attributes of a virtual object. As an example, different virtual resources may have different update levels for object attributes. For example, the virtual resource corresponding to candidate option 250 may have a first update level for object attributes (e.g., "+20"). Alternatively, the virtual resource corresponding to candidate option 255 may have a second update level for object attributes (e.g., "+50"). As an example, electronic device 110 may receive a second operation. For example, the second operation may represent the selection of a first candidate option (e.g., candidate option 250) among at least one candidate option. For example, electronic device 110 may receive the selection of the first candidate option (e.g., candidate option 250) based on a trigger operation (e.g., a click operation) on the first candidate option (e.g., candidate option 250). As an example, the first candidate could correspond to the second virtual resource (e.g., "food 1").

[0057] like Figure 2D As shown, electronic device 110 can present interface 200D. For example, interface 200D can be implemented as a first interface. As an example, electronic device 110 can update the display style corresponding to the first candidate (e.g., adjust the border style or background color, etc.) in response to the selection of the first candidate (e.g., candidate 250). Additionally, electronic device 110 can present virtual resource 265 corresponding to the first candidate in visual element 248 in response to the selection of the first candidate. Alternatively, electronic device 110 can associate virtual resource 265 with prompt information 270 (e.g., "4 hours"). For example, prompt information 270 can indicate a preset duration for the virtual object to consume virtual resource 265. For example, prompt information 270 can indicate that after applying virtual resource 265 to a virtual object, the virtual object needs to consume virtual resource 265 for a preset duration.

[0058] As an example, electronic device 110 may, in response to a triggering operation (e.g., a click operation) on control 275 (e.g., "Hey this"), apply a second virtual resource to a virtual object to update the object properties of the virtual object. Alternatively, electronic device 110 may, in response to the application of the second virtual resource to the virtual object, trigger a stop in rendering the first content within the widget.

[0059] Figures 2A to 2D This is an illustrative scenario regarding the first content. Next, based on... Figures 3A to 3C Another illustrative scenario of the first content is described exemplarily.

[0060] Figures 3A to 3C Example interfaces 300A to 300C are shown, illustrating interface interactions under various scenarios. Interfaces 300A to 300C can, for example, be... Figure 1 The electronic device 110 shown provides this. For example, the electronic device 110 can present interfaces 300A to 300C to a first user.

[0061] In some cases, such as Figure 3A As shown, electronic device 110 can present interface 300A. For example, interface 300A can be implemented as any suitable interface for presenting widgets. For example, interface 300A can be implemented as a system desktop. For example, electronic device 110 can present widgets (e.g., widget 305) on interface 300A. An explanation of how to add widgets can be found in the exemplary description above, and will not be repeated here.

[0062] In some cases, electronic device 110 may present a visual representation 310 of a virtual object within widget 305. As an example, visual representation 310 may include visual content associated with the visual image of the virtual object. As an example, such visual image is determined based on configuration actions of a first user or a second user. Alternatively, such visual representation 310 may also include visual content corresponding to cosmetic materials. For example, such cosmetic materials are associated with the virtual object based on configuration actions of a first user or a second user. For example, such cosmetic materials may be applied to the visual image of the virtual object. For example, such cosmetic materials may include virtual clothing, virtual hats, virtual props, etc. As an example, the virtual object may be associated with a first user and a second user. For example, the virtual object corresponds to a joint interaction between the first user and the second user. The process of associating a virtual object with a first user and a second user can be referred to the exemplary description above, and will not be repeated here.

[0063] In some cases, the electronic device 110 may display identification information 315 corresponding to the second user in the widget 305. For example, the identification information 315 may include the second user's name identifier and / or avatar identifier. For example, the identification information 315 may indicate that a virtual object is associated with the user corresponding to the identification information 315.

[0064] In some cases, electronic device 110 may present first content in widget 305. The first content may represent a first interaction state between at least one of a first user and a second user and the virtual object. As an example, the first interaction state may represent a message sent by the virtual object to at least one user.

[0065] In some cases, the visual style of the visual representation of a virtual object (e.g., also known as the first style) is associated with the first interaction state. Figure 3A For example, the first interactive state indicated by interface 300A can represent a virtual object sending a message to at least one user. The visual style of visual representation 310 can represent the virtual object performing a fourth action (e.g., walking). For example, the fourth action can correspond to the first interactive state indicated by interface 300A.

[0066] Such first content is associated with a message sent by the virtual object to at least one user. As an example, the message may include text content. For instance, the first content may be at least a portion of the text content corresponding to the message. For example, the first content may include text 320 (e.g., “The sunset here is so beautiful~”). For instance, text 320 may be at least a portion of the text content corresponding to the message.

[0067] Alternatively, messages sent by a virtual object to at least one user may include media content. For example, such media content may include image content, video content, or a combination thereof. Figure 3B As shown, electronic device 110 can present interface 300B. For example, electronic device 110 can present widget 305 in interface 300B. For example, electronic device 110 can present first content in widget 305. For example, electronic device 110 can present preview image 325 in widget 305. As an example, the first content may include preview image 325. For example, preview image 325 may include visual elements corresponding to media content included in the message. As an example, preview image 325 may be a cover image of media content (e.g., video content) included in the message. Alternatively, when a message sent by a virtual object to at least one user includes multiple media contents, preview image 325 may also be image content obtained by stitching together multiple cover images corresponding to multiple media contents.

[0068] Alternatively, the electronic device 110 may display third text (e.g., in widget 305) Figure 3B (Text 330 in the text). As an example, the first content may include third text. For example, the third text may describe the media content in the message. For example, the third text may be an introduction to the media content.

[0069] In some cases, electronic device 110 may present a second visual element associated with visual representation 310 within widget 305. The second visual element may characterize the type of message. For example, electronic device 110 may present different visual elements associated with visual representation 310 based on different message types. For example, message types may include text type, media content type, etc. For example, if the message type corresponds to text type, the second visual element associated with the visual representation may include a message bubble. For example, if the message type corresponds to media content type, the second visual element associated with the visual representation may include a border for displaying a preview image, etc. Alternatively, such a second visual element may also indicate the visual image of the visual representation. For example, electronic device 110 may present visual representations corresponding to different visual images based on different types of messages.

[0070] In some scenarios, messages sent by a virtual object to at least one user are sent within a session. For example, the participants in such a session include at least a first user and a second user. Alternatively, such participants may also include the virtual object and / or other users. As an example, such a session can be configured to allow the virtual object to send messages within the session. For example, whether or not the virtual object is allowed to send messages within the session is determined based on the configuration actions of the participants in the session. For example, based on the configuration actions of the participants in the session, it is possible to configure the virtual object to be allowed or prohibited from sending messages within the session.

[0071] In some cases, electronic device 110 may present a first interface in response to a first operation. For example, the first interface may include a session interface of a conversation. For example, such a first operation may include a trigger operation on widget 305 (e.g., a click operation or a long press operation, etc.).

[0072] like Figure 3C As shown, electronic device 110 can present interface 300C. For example, interface 300C can be implemented as a first interface corresponding to a session interface. For example, electronic device 110 can present messages sent by a virtual object to at least one user, such as message 335 and message 340, in the session interface. For example, message 335 can correspond to media content (e.g., video content). For example, message 340 can correspond to text content.

[0073] In some scenarios, a message sent by a virtual object to at least one user may be derived from at least one message in a session. For example, on one hand, a virtual object may have a visual representation for interaction. On the other hand, a virtual object may also utilize an appropriate model to drive its interactive behavior, such a model may include any suitable machine learning model, for example, a generative model. In some examples presented herein, the various interactive processes and / or generative operations performed by the virtual object may be actually performed using an appropriate model corresponding to the virtual object. As an example, a virtual object may generate a message to be sent to at least one user based on at least one message in a session.

[0074] Alternatively, the virtual object may send a message to at least one user in a session in response to the fulfillment of preset conditions. For example, such preset conditions may automatically send a message to at least one user in the session as a response to a user message if a message is received from at least one user (e.g., a first user or a second user) and no response to the message is received from other users in the session for a preset duration (e.g., 24 hours).

[0075] Alternatively, preset conditions can also indicate a response to the arrival of a preset time period (e.g., also known as a third time period). For example, such a preset time period can be configured by a first user or a second user. For example, a virtual object can send a message to at least one user in a session during the preset time period. For example, such a message can correspond to a preset type (e.g., a preset topic).

[0076] As an example, electronic device 110 may display a visual representation 345 of a virtual object on interface 300B. For example, visual representation 345 may also be referred to as a widget. As an example, the display position of visual representation 345 may be determined based on the adjustment operation of a first user. For example, electronic device 110 may, in response to a trigger on visual representation 345, display an interactive interface associated with the virtual object or trigger the virtual object to perform a preset action.

[0077] Based on the process described above, widgets can be used to present the visual representation of virtual objects and at least one interactive state between a user and a virtual object. This allows users to understand the interactive state between at least one user and a virtual object without navigating to the interface associated with the virtual object, thereby lowering the operational threshold for viewing and participating in interactions and improving the efficiency of users acquiring information associated with virtual objects. Furthermore, it supports presenting interfaces associated with virtual objects through operations linked to widgets, achieving a seamless transition from lightweight previews to deep interactions, thus enriching the ways to interact with virtual objects and improving the efficiency of user interaction with virtual objects. Simultaneously, leveraging the persistent and lightweight nature of widgets reduces system resource consumption caused by frequent application launches and interface switching, and ensures the efficient and accurate presentation of interactive states on widgets.

[0078] Example process Figure 4 A flowchart illustrating an example process 400 of interface interaction under certain conditions is shown. Process 400 can be implemented at electronic device 110. See below for reference. Figure 1 To describe process 400.

[0079] like Figure 4 As shown in box 410, electronic device 110 can present a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user.

[0080] In frame 420, electronic device 110 may present first content in a widget, the first content representing a first interaction state between at least one of a first user and a second user and a virtual object.

[0081] In box 430, electronic device 110 may, in response to receiving a first operation associated with the widget, present a first interface, the first interface being associated with a virtual object.

[0082] In some cases, the first style of visual representation is associated with the first interactive state.

[0083] In this way, users can intuitively perceive the interaction status between at least one user and a virtual object through the visual style of the virtual object in the widget, and quickly obtain interactive feedback without entering the first interface, thereby improving the efficiency of information transmission and user experience.

[0084] In some cases, process 400 further includes: in the widget, stopping the presentation of first content and presenting second content, the second content representing a second interactive state; and displaying a visual representation in a second style.

[0085] In this way, the content presented in the widget can be dynamically switched (e.g., from the first content to the second content), and the visual style of the virtual object can be changed simultaneously (e.g., from the first style to the second style). This allows users to track changes in the interactive state in real time without having to enter the first interface, maintaining consistency and coherence between visual feedback and state information, thereby enhancing the user's perception efficiency of the interactive progress and the intuitiveness of the widget.

[0086] In some cases, the first interaction state indicates whether at least one user has performed an interaction with a virtual object, including applying virtual resources to the virtual object.

[0087] In this way, widgets can clearly indicate whether at least one user (such as the first user or the second user) has performed an operation to apply virtual resources to a virtual object, allowing users to quickly understand the completion or absence of the interaction. This helps guide users to complete interactive operations, improves collaboration efficiency, and enhances the understandability and usability of widgets in status feedback.

[0088] In some cases, presenting first content in a widget includes: in response to a first interactive state indicating that at least one user applies a first virtual resource to a virtual object, presenting a first visual element in the widget, the first visual element corresponding to the first virtual resource.

[0089] In this way, visual elements corresponding to the first virtual resource can be directly presented in the widget based on the user's interactive state of applying virtual resources to virtual objects. This allows users to intuitively understand the applied virtual resources without having to enter the first interface, thereby enhancing the efficiency of real-time feedback and the visual clarity of the widget.

[0090] In some cases, presenting the first content within a widget includes presenting a text element that describes whether at least one user has applied the virtual resource to the virtual object.

[0091] In this way, text elements can be used to directly and clearly describe in a widget whether at least one user has applied virtual resources to a virtual object, thereby improving the efficiency of information display in widgets.

[0092] In some cases, rendering text elements in a widget includes: rendering first text in response to neither the first user nor the second user applying virtual resources to a virtual object; or rendering second text in response to the second user applying virtual resources to a virtual object and the first user not applying virtual resources to a virtual object.

[0093] In this way, depending on whether the first user and the second user apply virtual resources to virtual objects, the widget can dynamically present corresponding differentiated text (such as "neither of them applied" or "only the second user applied"), thereby accurately conveying the differences in the progress of the interaction, helping the first user to quickly judge the comparison between their own and the other party's actions, effectively guiding subsequent interactive behavior, and improving the information display efficiency of the widget.

[0094] In some cases, presenting a first interface in response to receiving a first operation associated with a widget includes: presenting a first interface in response to the first operation, the first interface being used to receive a second operation to apply virtual resources to a virtual object.

[0095] In this way, the first interface can be quickly brought up through the first operation related to the widget, and the specific operation entry point for applying virtual resources to virtual objects can be provided on the interface. This guides users from viewing the status to actual interactive execution, reduces the length of the operation path, and improves the convenience and efficiency of virtual resource application.

[0096] In some cases, presenting the first content within a widget includes presenting the first content during a first time period, the first time period being configured in relation to a first interactive state.

[0097] In this way, the first time period can be configured for the presentation of the first content based on the first interactive state, so that the display of status information in the widget has timeliness and dynamic adaptability, avoiding the content from remaining unchanged for a long time or disappearing too early, thereby more accurately matching the information needs of users at different interactive stages and improving the information effectiveness and interactive guidance of the widget.

[0098] In some cases, the first interactive state represents a message sent by a virtual object to at least one user, and the first content is associated with the message.

[0099] In this way, the first content related to the message sent by the virtual object to at least one user can be directly presented through the widget, so that the user can be informed of the notification or prompt from the virtual object in a timely manner without entering other interfaces, thereby enhancing the proactive interaction capability of the virtual object and the information delivery efficiency of the widget.

[0100] In some cases, messages are sent within a session, and the participants in the session include at least the first user and the second user.

[0101] In this way, messages sent by virtual objects in a conversation that includes at least the first and second users can be associated and presented through widgets. This allows users to know about the dynamics related to virtual objects in the conversation within the widget without switching to the conversation interface, thereby strengthening the information collaboration capability between widgets and multi-user conversations and improving the continuity of communication and the efficiency of information acquisition.

[0102] In some cases, in response to receiving a first operation associated with the widget, presenting a first interface includes: in response to the first operation, presenting a first interface, the first interface including a session interface of a session; and in the session interface, presenting a message.

[0103] In this way, the first action triggered by the widget can directly enter the conversation interface, and the message sent by the virtual object can be displayed in the conversation interface. This allows users to seamlessly jump from viewing the widget status to the complete conversation context, making it easy to view the complete message history or make subsequent replies, thereby improving the continuity of cross-interface interaction and the convenience of information retrieval.

[0104] In some cases, the message is derived from at least one historical message in the session.

[0105] In some cases, within a widget, presenting the first content includes presenting a second visual element associated with the visual representation, the second visual element representing the type of message.

[0106] In this way, the type of message can be intuitively represented in the widget through a second visual element associated with the visual representation of the virtual object, thereby improving the visual information density and recognition efficiency of the widget and enriching the hierarchy of state expression.

[0107] In some cases, the message includes media content, and within the widget, presenting the first content includes: presenting a preview image that is related to the media content; or presenting third text that describes the media content.

[0108] In this way, preview images or text describing media content can be directly displayed in widgets for messages containing media content, allowing users to understand the core information of the media content without opening the message details. This improves the convenience of information acquisition and the expressive richness of widgets, while reducing unnecessary interface jumps.

[0109] Example devices and equipment A corresponding apparatus for implementing the above methods or processes is also provided. Figure 5 A schematic structural block diagram of an example device 500 for interface interaction is shown, according to some scenarios. Device 500 can be implemented as or included in electronic device 110. The various modules / components in device 500 can be implemented by hardware, software, firmware, or any combination thereof.

[0110] like Figure 5 As shown, the device 500 includes: a first presentation module 510 configured to present a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user; a second presentation module 520 configured to present first content in the widget, the first content representing a first interaction state between at least one of the first user and the second user and the virtual object; and a third presentation module 530 configured to present a first interface in response to receiving a first operation associated with the widget, the first interface being associated with the virtual object.

[0111] In some cases, the first style of visual representation is associated with the first interactive state.

[0112] In some cases, device 500 also includes a stop module configured to: stop presenting first content and present second content, the second content representing a second interactive state, in the widget; and display a visual representation in a second style.

[0113] In some cases, the first interaction state indicates whether at least one user has performed an interaction with a virtual object, including applying virtual resources to the virtual object.

[0114] In some cases, the second presentation module 520 is also configured to: in response to a first interactive state indicating that at least one user applies a first virtual resource to a virtual object, present a first visual element in the widget, the first visual element corresponding to the first virtual resource.

[0115] In some cases, the second presentation module 520 is also configured to: present text elements in the widget, the text elements describing whether at least one user has applied virtual resources to virtual objects.

[0116] In some cases, the second presentation module 520 is also configured to: present first text in response to neither the first user nor the second user applying virtual resources to a virtual object; or present second text in response to the second user applying virtual resources to a virtual object and the first user not applying virtual resources to a virtual object.

[0117] In some cases, the third presentation module 530 is also configured to: in response to the first operation, present a first interface, the first interface being used to receive a second operation to apply virtual resources to virtual objects.

[0118] In some cases, the second presentation module 520 is also configured to present first content during a first time period, the first time period being configured in relation to the first interactive state.

[0119] In some cases, the first interactive state represents a message sent by a virtual object to at least one user, and the first content is associated with the message.

[0120] In some cases, messages are sent within a session, and the participants in the session include at least the first user and the second user.

[0121] In some cases, the third presentation module 530 is also configured to: in response to a first operation, present a first interface, the first interface including a session interface of the session; and in the session interface, present a message.

[0122] In some cases, the message is derived from at least one historical message in the session.

[0123] In some cases, the second presentation module 520 is also configured to present a second visual element associated with the visual representation, the second visual element representing the type of the message.

[0124] In some cases, the message includes media content, and the second presentation module 520 is also configured to: present a preview image that is related to the media content; or present third text that describes the media content.

[0125] The modules included in device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some cases, one or more modules 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 units in device 500 can be implemented at least partially by one or more hardware logic components. By way of 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 parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.

[0126] Figure 6 A block diagram of an electronic device 600 in which one or more examples may be implemented is shown. It should be understood that... Figure 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the functionality and scope of the examples described herein. Figure 6 The illustrated electronic device 600 can be used to implement the electronic device 110 discussed above.

[0127] like Figure 6 As shown, electronic device 600 is in the form of a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processing units or processors 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processor 610 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 600.

[0128] Electronic device 600 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 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 630 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 600.

[0129] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 6 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 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various examples.

[0130] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, networked personal computers, or another network node.

[0131] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 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 600, or with any device that enables electronic device 600 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).

[0132] 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. 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.

[0133] The flowcharts and / or block diagrams of the methods, apparatus, devices, and computer program products referred to herein describe various aspects. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0134] These computer-readable program instructions can be provided to a processor 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 processor 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.

[0135] 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.

[0136] The flowcharts and block diagrams in the accompanying figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products under various scenarios. In this respect, 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 marked in the blocks may occur in a different order than those shown in the figures. 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, can 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.

[0137] Various examples have been described above. The foregoing 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: In the widget, a visual representation of a virtual object is presented, which is associated with a first user and a second user; The widget presents first content, which represents a first interaction state between at least one of the first user and the second user and the virtual object. as well as In response to receiving a first operation associated with the widget, a first interface is presented, the first interface being associated with the virtual object.

2. The method of claim 1, wherein the first style of the visual representation is associated with the first interaction state.

3. The method according to claim 2, further comprising: In the widget, the first content is stopped and the second content is presented, the second content representing the second interactive state; as well as The visual representation is displayed in the second style.

4. The method of claim 1, wherein the first interaction state characterizes whether the at least one user performs an interaction with the virtual object, the interaction including applying virtual resources to the virtual object.

5. The method of claim 4, wherein presenting the first content in the micro-part includes: In response to the first interactive state indicating that the at least one user applies the first virtual resource to the virtual object, a first visual element is presented in the widget, the first visual element corresponding to the first virtual resource.

6. The method of claim 4, wherein presenting the first content in the micro-part includes: The widget presents text elements that describe whether the at least one user has applied virtual resources to the virtual object.

7. The method of claim 6, wherein presenting text elements in the widget comprises: In response to the fact that neither the first user nor the second user has applied the virtual resources to the virtual object, the first text is displayed; or In response to the second user applying virtual resources to the virtual object and the first user not applying virtual resources to the virtual object, second text is presented.

8. The method of claim 4, wherein presenting the first interface in response to receiving a first operation associated with the widget comprises: In response to the first operation, the first interface is presented, which is used to receive a second operation to apply virtual resources to the virtual object.

9. The method of claim 4, wherein presenting the first content in the micro-part comprises: The first content is presented during a first time period, which is configured in relation to the first interaction state.

10. The method of claim 1, wherein the first interaction state represents a message sent by the virtual object to the at least one user, and the first content is associated with the message.

11. The method of claim 10, wherein the message is sent in a session, and the participants in the session include at least the first user and the second user.

12. The method of claim 11, wherein presenting the first interface in response to receiving a first operation associated with the widget comprises: In response to the first operation, the first interface is presented, the first interface including the session interface of the session; as well as The message is displayed on the conversation interface.

13. The method of claim 11, wherein the message is obtained based on at least one historical message in the session.

14. The method of claim 10, wherein presenting the first content in the micro-part comprises: A second visual element associated with the visual representation is presented, the second visual element representing the type of the message.

15. The method of claim 10, wherein the message includes media content, and the presentation of the first content in the widget includes: Present a preview image, which is related to the media content; or A third text is presented, which describes the media content.

16. A device for interface interaction, comprising: A first presentation module is configured to present a visual representation of a virtual object in a widget, the virtual object being associated with a first user and a second user; The second presentation module is configured to present first content in the widget, the first content representing a first interaction state between at least one of the first user and the second user and the virtual object. as well as A third presentation module is configured to present a first interface in response to receiving a first operation associated with the widget, the first interface being associated with the virtual object.

17. An electronic device comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 15 when executed by the at least one processor.

18. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 15.

19. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 15.