Interaction method and apparatus, device, and storage medium
By presenting and editing the visual representation of virtual objects in the conversation interface, the problem of traditional conversation interfaces being unable to represent the interactive state is solved, thereby improving the interactive experience and message interaction efficiency.
Patent Information
- Application Number
- PCT/CN2025/102579
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-21
- Filing Date
- 2025-06-20
- Publication Date
- 2025-12-26
AI Technical Summary
Traditional conversational interfaces struggle to accurately represent the interaction states of conversation participants, resulting in a poor user experience.
The virtual object that the current user interacts with in conjunction with the target object is presented in the conversation interface, and its visual representation is updated through the editing interface, including at least one element, allowing users to customize the appearance and interactive characteristics of the virtual object.
It improves the accuracy of virtual object representation in the conversation interface, enhances the interactive experience, and associates different interactive characteristics with changes in visual representation, thereby improving message interaction efficiency.
Smart Images

Figure CN2025102579_26122025_PF_FP_ABST
Abstract
Description
Interaction methods, devices, equipment and storage media
[0001] This application claims priority to Chinese Patent Application No. 202410815205.9, filed on June 21, 2024, entitled "Interactive Method, Apparatus, Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to interactive methods, apparatuses, devices, and computer-readable storage media. Background Technology
[0003] In recent years, with the rapid development of the internet, online conversations have become an important way for people to communicate. For example, instant messaging applications or other applications that provide instant messaging services can provide users with an online conversation environment to help people exchange messages conveniently. Summary of the Invention
[0004] In a first aspect of this disclosure, an interaction method is provided. The method includes: presenting a virtual object in a session interface with a target object, wherein the virtual object corresponds to a first visual representation, in which the current user and the target object jointly interact; presenting an editing interface for the virtual object in response to receiving an editing request for the virtual object; updating the first visual representation of the virtual object to a second visual representation, the second visual representation including at least one element, based on a preset operation associated with at least one element in the editing interface; and presenting the virtual object corresponding to the second visual representation in the session interface.
[0005] In a second aspect of this disclosure, an apparatus for interaction is provided. The apparatus includes: an object rendering module configured to render a virtual object in a session interface with a target object, whereby the current user and the target object interact jointly, the virtual object corresponding to a first visual representation; an object editing module configured to render an editing interface for the virtual object in response to receiving an editing request for the virtual object; an object updating module configured to update the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface, the second visual representation including at least one element; and a style switching module configured to render a virtual object corresponding to the second visual representation in the session interface.
[0006] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method of the first aspect.
[0009] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0011] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
[0012] Figures 2A to 2F illustrate example interfaces according to some embodiments of the present disclosure;
[0013] Figure 3 illustrates a flowchart of an example process of interaction according to some embodiments of the present disclosure;
[0014] Figure 4 shows a schematic structural block diagram of an example device for interaction according to some embodiments of the present disclosure; and
[0015] Figure 5 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation
[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0021] As mentioned above, online conversations have become an important way for people to communicate in their daily lives. Traditional conversation interfaces usually only display relevant messages in the conversation, making it difficult for the participants to perceive the interaction status.
[0022] Embodiments of this disclosure propose an interaction scheme. According to this scheme, in a session interface with a target object, a virtual object that the current user is jointly interacting with the target object can be presented, the virtual object corresponding to a first visual representation. Further, in response to receiving an editing request for the virtual object, an editing interface for the virtual object is presented. Accordingly, based on a preset operation associated with at least one element in the editing interface, the first visual representation of the virtual object is updated to a second visual representation, the second visual representation including at least one element. Further, the virtual object corresponding to the second visual representation can be presented in the session interface.
[0023] In this way, embodiments of the present disclosure can enable participants in a session to customize the virtual objects presented in the session interface to help more accurately represent the participants in the session, thereby improving the interactive experience.
[0024] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0025] Example Environment
[0026] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.
[0027] In this example environment 100, electronic device 110 may run an application 120 that supports user interface interaction. Application 120 may be any suitable type of application for user interface interaction, examples of which may include, but are not limited to, instant messaging applications, social applications, image applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.
[0028] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.
[0029] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).
[0030] 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 virtual scenarios in electronic devices 110.
[0031] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.
[0032] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0033] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0034] Example Interaction
[0035] Figures 2A to 2F illustrate example interfaces 200A to 200E according to some embodiments of the present disclosure. Interfaces 200A to 200F may be provided, for example, by the electronic device 110 shown in Figure 1.
[0036] In some embodiments, the electronic device 110 may present a session interface 200A as shown in FIG2A. As an example, such a session interface 200A may be associated with the current user and the target object (e.g., user A).
[0037] As shown in Figure 2A, the electronic device 110 can present a first visual representation 205 of a virtual object in a session interface 200A. Such a first visual representation 205 may include a dynamic visual representation or a static visual representation.
[0038] In some embodiments, the virtual object 205 may be a jointly interacting virtual object obtained based on the interaction between the current user and the target object.
[0039] As an example, such a virtual object could include a virtual pet associated with both the current user and the target object. Additionally, at least one attribute of the virtual object could be updated accordingly based on interaction events between the current user and the target object, such that the virtual object could, for example, have different visual representations and / or different interactive capabilities.
[0040] In some embodiments, as shown in FIG2B, electronic device 110 may present a viewing interface 200B of a virtual object in response to a user's viewing request. In the viewing interface 200B, electronic device 110 may display the current visual representation of the virtual object, for example, a first visual representation 205.
[0041] Additionally, the electronic device 110 may also provide an editing entry 210 in the viewing interface 200B, and may present the editing interface 200C as shown in FIG2C based on the selection of the editing entry 210.
[0042] In other examples, the editing interface 200C may also be triggered to appear based on other appropriate means. For example, the electronic device 110 may receive a preset operation (e.g., long press, etc.) on the first visual representation 205 and may present the editing interface 200C accordingly.
[0043] As shown in Figure 2C, the editing interface 200C may include, for example, a canvas area 210 and an element selection area 220. The canvas area 210 may, for example, display the current visual representation of the virtual object.
[0044] As shown in Figure 2C, the electronic device 110 can present a set of candidate elements 225 in the editing interface. Such candidate elements 225 can include any suitable elements such as decoration elements.
[0045] As an example, the electronic device 110 can receive a user's selection of at least one element (e.g., element 225) in the element selection area 220 and can update the canvas area 215 accordingly to display an updated visual representation of the virtual object.
[0046] In some embodiments, the elements 225 provided in the element selection area 220 may include preset elements. For example, such preset elements may be provided to all users on the platform for decorating virtual objects.
[0047] In some embodiments, the elements 225 provided in the element selection area 220 may also include elements obtained based on the historical interaction operations of the current user and / or target object (e.g., user A) associated with the virtual object.
[0048] As an example, if the current user's interaction with the target object meets preset conditions, specific elements for dressing up the virtual object can be provided to the current user. As another example, the current user and / or the target object can also obtain additional elements through other interactive operations within the platform.
[0049] In some embodiments, the element selection area 220 may provide different tabs for displaying different types of elements. For example, such different types of elements may include elements for decorating different parts of a space, and elements for decorating the background, etc.
[0050] In some embodiments, the electronic device 110 may also support user-uploaded elements to update the visual representation of the editable virtual object. For example, the electronic device 110 may acquire at least one uploaded element via the editing interface 200C. Furthermore, the electronic device 110 may update the visual representation of the virtual object based on the uploaded at least one element.
[0051] As an example, the electronic device 110 can receive sticker elements uploaded by the user and add the sticker elements to a predetermined area of the canvas area 215, thereby updating the visual representation of the virtual object.
[0052] The following description of the process of editing a visual representation will use the selection of a specific element as an example. In some embodiments, the electronic device 110 may receive, for example, a user's selection of element 225 (e.g., a click operation) and may accordingly add element 225 to the corresponding position in the visual representation to be edited.
[0053] In some embodiments, the position where element 225 is added can be automatically determined based on the type of element 225. As an example, element 225 may be a headdress element. Accordingly, electronic device 110 can receive a user's click operation on element 225 and add element 225 to the head position of the visual representation displayed on the canvas area accordingly.
[0054] In some embodiments, the electronic device 110 can also determine the location where the element 225 is added based on user interaction. For example, the electronic device 110 can receive a user's drag operation on the element 225 and can move the element 225 to the target location specified by the drag operation. For example, the electronic device 110 can support the user to drag the element 225 to any appropriate location in the canvas area 215.
[0055] In some embodiments, when a user clicks or drags element 225, the electronic device 110 may, for example, present one or more candidate locations in the canvas area 215 that match element 225. Such candidate locations may, for example, indicate locations where element 225 can be added.
[0056] For example, when element 225 is clicked or dragged, electronic device 110 can display one or more locations at the head of the virtual object in canvas area 215 as candidate locations that can be added.
[0057] Furthermore, the electronic device 110 can receive a click on a specific candidate position, or it can receive an operation to drag the element 225 to a specific candidate position, thereby adding the element 225 to that specific candidate position.
[0058] In some embodiments, if element 225 is instructed to be added to a target location, and if a specific element already exists at the target location in the visual representation displayed in the canvas area 215, the electronic device 110 may also remove the specific element from the visual representation accordingly.
[0059] As an example, the visual representation in canvas area 215 may be that another element was previously decorated at the head position. Accordingly, when element 225 is selected to be added to the head position, the electronic device 110 will use element 225 to replace the previous element at the head position, rather than overlaying element 225 on top of the previous element.
[0060] In some embodiments, if the visual representation displayed in the canvas area 215 includes a specific element corresponding to the type of the element 225 to be added, the electronic device 110 may also remove the specific element from the visual representation accordingly.
[0061] As an example, the visual representation in canvas area 215 may already be decorated with headdress elements. Accordingly, when a new headdress element 225 is selected, the electronic device 110 will use element 225 to replace the previous headdress element.
[0062] In some embodiments, as shown in FIG2D, the virtual object may also be associated with a base visual representation 230. Such a base visual representation 230 may represent, for example, a base visual model or image of the virtual object. The first visual representation 205 described above may be generated based on such a base visual representation 230.
[0063] In some embodiments, such a basic visual representation 230 may be configured to have one or more preset mounting positions (also known as anchor positions), such as mounting position 235-1, mounting position 235-2, mounting position 235-3 and mounting position 235-4 (referred to individually or collectively as mounting position 235).
[0064] In some embodiments, if the position where element 225 is added matches the mounting position 235, element 225 will be associated with the base visual representation 230 in a first manner. Specifically, the first manner may indicate that the movement of element 230 is associated with the movement of a predetermined part of the base visual representation 230. For example, taking FIG2C as an example, when element 225 is added to mounting position 235-1, element 225 may move accordingly with the head movement of the base visual representation 230.
[0065] In some embodiments, if the location where element 225 is added does not match the mounting location 235, element 225 will be associated with the base visual representation 230 in a second manner. Specifically, the second manner may indicate that the movement of element 230 is independent of the movement of a predetermined part of the base visual representation 230. For example, taking FIG2C as an example, if the location where element 225 is added is not the mounting location 235, then element 225 will, for example, not move, or the movement of element 225 will be unrelated to the movement of the base visual representation 230.
[0066] Referring again to Figure 2C, after editing the visual representation, the electronic device 110 can receive confirmation from the user of the edited visual representation (e.g., a click on button 222). Accordingly, as shown in Figure 2E, the electronic device 110 can update the first visual representation 205 of the virtual object to the edited second visual representation 240, and can display the updated second visual representation 240 in the virtual object viewing interface 200E. As shown in Figure 2E, the second visual representation 240 may include elements 225 added by the user, such as headwear elements.
[0067] In some embodiments, upon receiving an editing request for the visual representation of a virtual object, the electronic device 110 may, for example, display a basic visual representation of the virtual object in a canvas area. Further, the electronic device 110 may, for example, support a user adding one or more elements to the basic visual representation to obtain a second visual representation of the virtual object.
[0068] Furthermore, as shown in FIG2F, the electronic device 110 can switch the session interface 200F to a second visual representation 240 that displays virtual objects, so that the second visual representation 240 can be presented to the current user and / or the target object.
[0069] In some embodiments, the interactive characteristics associated with a virtual object can vary depending on the visual representation of the virtual object. For example, taking FIG2F as an example, when the second visual representation 240 includes element 225, the virtual object can provide interactive characteristics specific to element 225. That is, such interactive characteristics are only provided when element 225 is included in the visual representation.
[0070] In some embodiments, interactive features may indicate actions that are triggered when preset conditions are met. For example, when the second visual representation 240 includes element 225, the virtual object may be triggered to display an animation of removing the headdress element 225 when a specific type of message is received in the session. As yet another example, when the second visual representation 240 includes element 225, the virtual object may be triggered to send a specific emoticon to another participant in the session (e.g., user A) when a user triggers the second visual representation 240.
[0071] It should be understood that the specific interactive features described above are merely examples and are not intended to constitute a limitation of this disclosure.
[0072] In some embodiments, the electronic device 110 may also display motion effects (e.g., animations) associated with the second visual representation 240 in a session interface or a virtual object viewing interface.
[0073] In some embodiments, such motion effects may include a first motion effect associated with the underlying visual representation of the virtual object, such as movement of a specific part of the body (e.g., head shaking). Additionally, such motion effects may also include a second motion effect of at least one added element, such as movement of a water cup element toward the mouth.
[0074] In some embodiments, the second motion effect of at least one element can also be triggered based on the first motion effect of the basic visual representation. For example, when the basic visual representation is triggered to perform a head-shaking motion, the headdress element associated with the head position can be triggered to perform the corresponding swaying motion.
[0075] In some embodiments, the motion process of at least one element (e.g., motion trajectory, motion direction, motion speed, etc.) can be determined based on the mounting position of at least one element in the basic visual representation.
[0076] Based on the process described above, embodiments of this disclosure can support participants in a session to customize virtual objects presented in the session interface to help more accurately represent the participants and thus improve the interactive experience. Furthermore, such virtual objects can, for example, be associated with different interactive characteristics based on changes in visual representation, thereby improving the efficiency of message interaction.
[0077] It should be understood that the appearance, type, number, etc. of the specific virtual objects mentioned above are intended as examples and do not constitute a limitation of this disclosure.
[0078] Example process
[0079] Figure 3 shows a flowchart of an example interaction process 300 according to some embodiments of the present disclosure. Process 300 can be implemented at electronic device 110. Process 300 will now be described with reference to Figure 1.
[0080] As shown in Figure 3, in box 310, the electronic device 110 presents a virtual object that the current user and the target object interact with in a conversation interface with the target object. The virtual object corresponds to the first visual representation.
[0081] In box 320, electronic device 110, in response to receiving an editing request for a virtual object, presents an editing interface for the virtual object.
[0082] In box 330, electronic device 110 updates a first visual representation of a virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface. The second visual representation includes at least one element.
[0083] In box 340, electronic device 110 presents a virtual object in the session interface that corresponds to the second visual representation.
[0084] In some embodiments, presenting an editing interface for a virtual object in response to receiving an editing request for the virtual object includes: presenting a viewing interface for the virtual object in response to receiving a viewing request; and presenting an editing interface for the virtual object in response to selecting an editing entry point in the viewing interface.
[0085] In some embodiments, updating a first visual representation of a virtual object to a second visual representation based on a preset operation associated with at least one element in an editing interface includes: presenting a set of candidate elements in the editing interface; updating a canvas area in the editing interface to display the updated visual representation in response to the selection of at least one element from the set of candidate elements; and updating the first visual representation of the virtual object to a second visual representation corresponding to the canvas area in response to receiving a confirmation operation.
[0086] In some embodiments, a set of candidate elements includes at least one of the following: a preset first element; and a second element obtained based on the historical interaction operations of the current user and / or the target object.
[0087] In some embodiments, updating the first visual representation of a virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface includes: obtaining at least one uploaded element in the editing interface; and updating the first visual representation of the virtual object to a second visual representation based on at least one element.
[0088] In some embodiments, updating a first visual representation of a virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface includes: adding at least one element to a target position in the first visual representation or the base visual representation of the virtual object, wherein the target position is determined based on the target type of at least one element, or the target position is specified by a preset operation.
[0089] In some embodiments, updating the first visual representation of a virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface further includes: removing the third element from the first visual representation or the basic visual representation in response to the first visual representation or the basic visual representation including a third element corresponding to the target location or target type.
[0090] In some embodiments, adding at least one element to a target location in a first visual representation or a base visual representation includes: in response to the selection of at least one element, presenting a set of candidate locations matching at least one element in a canvas area of an editing interface, the canvas area presenting the first visual representation; and in response to receiving an interactive operation associated with a target location in the set of candidate locations, adding at least one element to the target location in the first visual representation or the base visual representation.
[0091] In some embodiments, the first visual representation is generated based on a base visual representation configured to have at least one preset mounting position, and adding at least one element to a target position in the first visual representation includes: in response to a target position matching at least one mounting position, associating at least one element to the base visual representation in a first manner, wherein the first manner indicates that a first movement of at least one element is associated with a second movement of a preset portion of the base visual representation.
[0092] In some embodiments, adding at least one element to a target location in a first visual representation further includes: in response to a mismatch between the target location and at least one mounting location, associating at least one element to a base visual representation in a second manner, wherein the second manner indicates that a first movement of at least one element is independent of a second movement of a preset portion of the base visual representation.
[0093] In some embodiments, process 300 further includes: in response to the virtual object corresponding to a second visual representation, the virtual object is configured to be associated with a set of interactive features, the set of interactive features including at least one interactive feature specific to at least one element.
[0094] In some embodiments, the interactive feature indicates that when a preset condition is met, the virtual object is triggered to perform an action.
[0095] In some embodiments, the second visual representation includes a base visual representation of a virtual object and at least one element, and process 300 further includes: presenting a target animation associated with the second visual representation in a session interface, the target animation including: a first animation associated with the base visual representation and a second animation of at least one element.
[0096] In some embodiments, the second motion effect is triggered based on the first motion effect.
[0097] Example devices and equipment
[0098] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. FIG4 shows a schematic structural block diagram of an example device 400 for interaction according to certain embodiments of this disclosure. Device 400 may be implemented as or included in electronic device 110. The various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0099] As shown in Figure 4, the device 400 includes an object presentation module 410, configured to present a virtual object that the current user interacts with in conjunction with the target object in a session interface with the target object, the virtual object corresponding to a first visual representation; an object editing module 420, configured to present an editing interface for the virtual object in response to receiving an editing request for the virtual object; an object update module 430, configured to update the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface, the second visual representation including at least one element; and a style switching module 440, configured to present the virtual object corresponding to the second visual representation in the session interface.
[0100] In some embodiments, the object presentation module 410 is further configured to: present a first viewing interface associated with the second virtual object; present a first switching entry associated with the second virtual object in the first viewing interface; and present the second virtual object in a session interface in response to the selection of the first switching entry.
[0101] In some embodiments, the object presentation module 410 is further configured to: present a viewing interface for a virtual object in response to receiving a viewing request; and present an editing interface for a virtual object in response to selecting an editing entry in the viewing interface.
[0102] In some embodiments, the object update module 430 is further configured to: present a set of candidate elements in the editing interface; update the canvas area in the editing interface to display the updated visual representation in response to the selection of at least one element in the set of candidate elements; and update the first visual representation of the virtual object to a second visual representation corresponding to the canvas area in response to receiving a confirmation operation.
[0103] In some embodiments, a set of candidate elements includes at least one of the following: a preset first element; and a second element obtained based on the historical interaction operations of the current user and / or the target object.
[0104] In some embodiments, the object update module 430 is further configured to: obtain at least one uploaded element in the editing interface; and update the first visual representation of the virtual object to a second visual representation based on the at least one element.
[0105] In some embodiments, the object editing module 420 is further configured to add at least one element to a target location in the base visual representation of a first visual representation or a virtual object, wherein the target location is determined based on the target type of the at least one element, or the target location is specified by a preset operation.
[0106] In some embodiments, the object editing module 420 is further configured to remove a third element from the first visual representation or the basic visual representation in response to the first visual representation or the basic visual representation including a third element corresponding to the target location or target type.
[0107] In some embodiments, the object rendering module 410 is further configured to: in response to the selection of at least one element, present a set of candidate positions matching the at least one element in a canvas area of the editing interface, the canvas area presenting a first visual representation; and in response to receiving an interactive operation associated with a target position in the set of candidate positions, add at least one element to the target position in the first visual representation or the base visual representation.
[0108] In some embodiments, the first visual representation is generated based on a base visual representation configured to have at least one preset mounting position, and the object rendering module 410 is further configured to associate at least one element with the base visual representation in a first manner in response to a target position matching at least one mounting position, wherein the first manner indicates that a first movement of at least one element is associated with a second movement of a preset portion of the base visual representation.
[0109] In some embodiments, the object rendering module 410 is further configured to: in response to a mismatch between a target location and at least one mounting location, associate at least one element with a base visual representation in a second manner, wherein the second manner indicates that a first movement of the at least one element is independent of a second movement of a preset portion of the base visual representation.
[0110] In some embodiments, in response to the virtual object corresponding to a second visual representation, the virtual object is configured to be associated with a set of interactive features, the set of interactive features including at least one interactive feature specific to at least one element.
[0111] In some embodiments, the interactive feature indicates that when a preset condition is met, the virtual object is triggered to perform an action.
[0112] In some embodiments, the second visual representation includes a base visual representation of a virtual object and at least one element. The apparatus 400 also includes a motion rendering module configured to render a target motion effect associated with the second visual representation in a session interface. The target motion effect includes a first motion effect associated with the base visual representation and a second motion effect of at least one element.
[0113] In some embodiments, the second motion effect is triggered based on the first motion effect.
[0114] Figure 5 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 the electronic device 500 shown in Figure 5 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 500 shown in Figure 5 can be used to implement the electronic device 110 of Figure 1.
[0115] As shown in Figure 5, the electronic device 500 is in the form of a general-purpose electronic device. Components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 730, 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 a physical or virtual processor and is capable of performing various processes according to the program stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0116] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 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 530 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 500.
[0117] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 5, 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 may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0118] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0119] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 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 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0120] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0121] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0122] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0123] 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.
[0124] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0125] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. An interaction method, comprising: In the conversation interface with the target object, a virtual object is presented that the current user interacts with the target object together, and the virtual object corresponds to the first visual representation; In response to receiving an editing request for the virtual object, an editing interface for the virtual object is presented; Based on a preset operation associated with at least one element in the editing interface, the first visual representation of the virtual object is updated to a second visual representation, the second visual representation including the at least one element; as well as The virtual object corresponding to the second visual representation is presented in the session interface.
2. The method of claim 1, wherein presenting an editing interface for the virtual object in response to receiving an editing request for the virtual object comprises: Upon receiving a viewing request, a viewing interface for the virtual object is displayed. as well as In response to the selection of an editing entry in the viewing interface, the editing interface of the virtual object is presented.
3. The method according to claim 1, wherein updating the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface comprises: A set of candidate elements is presented in the editing interface; In response to the selection of at least one element from the set of candidate elements, the canvas area in the editing interface is updated to display the updated visual representation; as well as In response to receiving a confirmation operation, the first visual representation of the virtual object is updated to the second visual representation corresponding to the canvas area.
4. The method of claim 3, wherein the set of candidate elements comprises at least one of the following: The first element is preset; The second element is obtained based on the historical interaction operations of the current user and / or the target object.
5. The method of claim 1, wherein updating the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface comprises: Obtain the at least one element that has been uploaded in the editing interface; as well as Based on the at least one element, the first visual representation of the virtual object is updated to the second visual representation.
6. The method of claim 1, wherein updating the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface comprises: Add the at least one element to the target position in the first visual representation or the base visual representation of the virtual object. The target location is determined based on the target type of the at least one element, or the target location is specified by the preset operation.
7. The method of claim 6, wherein updating the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface further comprises: In response to the first visual representation or the base visual representation including a third element corresponding to the target location or the target type, the third element is removed from the first visual representation or the base visual representation.
8. The method of claim 6, wherein adding the at least one element to the target location in the first visual representation or the base visual representation comprises: In response to the selection of the at least one element, a set of candidate positions matching the at least one element are presented in a canvas area in the editing interface, the canvas area presenting the first visual representation; as well as In response to receiving an interactive operation associated with the target location in the set of candidate locations, the at least one element is added to the target location in the first visual representation or the base visual representation.
9. The method of claim 6, wherein the first visual representation is generated based on the base visual representation, the base visual representation being configured to have at least one preset mounting position, and adding the at least one element to the target position in the first visual representation comprises: In response to a match between the target location and the at least one mount location, the at least one element is associated with the base visual representation in a first manner. Wherein, the first method indicates that the first movement of the at least one element is associated with the second movement of a preset part of the basic visual representation.
10. The method of claim 9, wherein adding the at least one element to the target location in the first visual representation further comprises: In response to a mismatch between the target location and the at least one mount location, the at least one element is associated with the base visual representation in a second manner. Wherein, the second method indicates that the first movement of the at least one element is independent of the second movement of the preset part of the basic visual representation.
11. The method according to claim 1, wherein: In response to the virtual object corresponding to the second visual representation, the virtual object is configured to be associated with a set of interactive features, the set of interactive features including at least one interactive feature specific to the at least one element.
12. The method of claim 11, wherein the interactive feature indicates that the virtual object is triggered to perform an action when a preset condition is met.
13. The method of claim 1, wherein the second visual representation comprises a basic visual representation of the virtual object and the at least one element, the method further comprising: The target animation effect associated with the second visual representation is presented in the session interface. The target animation effect includes: a first animation effect associated with the base visual representation and a second animation effect of the at least one element.
14. The method of claim 13, wherein the second motion effect is triggered based on the first motion effect.
15. A device for interaction, comprising: The object rendering module is configured to present a virtual object that the current user interacts with in conjunction with the target object in a session interface with the target object, the virtual object corresponding to a first visual representation; The object editing module is configured to present an editing interface for the virtual object in response to receiving an editing request for the virtual object; The object update module is configured to update the first visual representation of the virtual object to a second visual representation based on a preset operation associated with at least one element in the editing interface, wherein the second visual representation includes the at least one element; as well as The style switching module is configured to present the virtual object corresponding to the second visual representation in the session interface.
16. An electronic device comprising: At least one processing unit; as well as At least one memory 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 14 when executed by the at least one processing unit.
17. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 14.
18. 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 14.
Citation Information
Patent Citations
Interactive method and device based on augmented reality
CN109345637A
Virtual object mounting method and device, equipment and medium
CN116228952A
Method for assisting in adjusting virtual image, related device and computer readable medium
CN117409122A
Session interface display method and device, electronic equipment, storage medium and program product
CN118051291A
Interaction method and device, equipment and storage medium
CN118860237A