Object interaction method and device, storage medium and electronic equipment

By automatically displaying feedback from reference virtual objects that meet the interaction conditions in virtual object social scenarios, the problem of poor interaction effects caused by manual user control is solved, and a richer virtual object interaction experience is achieved.

CN121623288APending Publication Date: 2026-03-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411240490.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing virtual object social scenarios, the interaction between objects is poor because it relies on users to manually control the virtual objects to perform interactive operations.

Method used

The first virtual object is displayed in the object interaction interface and its state switching operation is responded to. The reference virtual object that meets the interaction conditions is automatically determined and its feedback animation, message or voice is displayed to realize automatic interaction between virtual objects.

Benefits of technology

It enhances the interaction between virtual objects, enriches the interaction methods, and reduces the reliance on manual user control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121623288A_ABST
    Figure CN121623288A_ABST
Patent Text Reader

Abstract

The invention discloses an object interaction method and device, a storage medium and electronic equipment. The method comprises the steps that a first virtual object is displayed in an object interaction interface, the object interaction interface is used for presenting a virtual interaction space of a virtual community where the first virtual object is located, and the virtual interaction space comprises the first virtual object and at least one second virtual object; in response to an object state switching operation on the first virtual object, determining to switch the object state of the first virtual object to a target object state, and displaying the first virtual object in the object interaction interface according to the target object state; and under the condition that the reference virtual object meeting the interaction condition is determined from the at least one second virtual object, displaying interaction feedback made by the reference virtual object for responding to the state of the target object in the object interaction interface. The technical problem that the object interaction effect is poor is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to an object interaction method and apparatus, a storage medium, and an electronic device. Background Technology

[0002] Virtual object social networking is a way of socializing through virtual objects. Users can customize the appearance and status of their virtual objects according to their preferences and personalities. This personalized experience makes users feel more engaged and satisfied.

[0003] In related technologies, interactions between virtual objects in social scenarios are typically achieved through users manually controlling the virtual objects to perform corresponding operations. When a user account controls a virtual object to switch its state, only if the users controlling other virtual objects are online can those accounts control their corresponding virtual objects to perform corresponding feedback operations on the virtual object whose state has been switched. However, if the user accounts controlling other virtual objects are offline, then those other virtual objects will not be able to provide any feedback to the virtual object whose state has been switched.

[0004] In other words, because the interaction relies on users manually controlling virtual objects to perform interactive operations, the object interaction methods of related technologies still suffer from poor interaction effects between objects.

[0005] There is currently no effective solution to the above problems. Summary of the Invention

[0006] This application provides an object interaction method and apparatus, storage medium and electronic device to at least solve the technical problem of poor object interaction effect.

[0007] According to one aspect of the embodiments of this application, an object interaction method is provided, comprising: displaying a first virtual object in an object interaction interface, wherein the object interaction interface is used to present a virtual interaction space of a virtual community where the first virtual object is located, the virtual interaction space including the first virtual object and at least one second virtual object; in response to an object state switching operation of the first virtual object, determining to switch the object state of the first virtual object to a target object state, and displaying the first virtual object in the object interaction interface according to the target object state; and, if a reference virtual object that meets the interaction conditions is determined from at least one second virtual object, displaying the reference virtual object in the object interaction interface for interactive feedback made by the reference virtual object in response to the target object state.

[0008] According to another aspect of the embodiments of this application, an object interaction device is also provided, comprising: a first display unit, configured to display a first virtual object in an object interaction interface, wherein the object interaction interface is configured to present a virtual interaction space of a virtual community where the first virtual object is located, the virtual interaction space including the first virtual object and at least one second virtual object; a determining unit, configured to determine, in response to an object state switching operation of the first virtual object, to switch the object state of the first virtual object to a target object state, and display the first virtual object in the object interaction interface according to the target object state; and a second display unit, configured to, when a reference virtual object satisfying the interaction conditions is determined from at least one second virtual object, display the interactive feedback made by the reference virtual object in response to the target object state in the object interaction interface.

[0009] Optionally, in some embodiments, the second display unit includes: a first playback module for playing an animation of a reference virtual object performing an interactive action matching the state of a target object; a first display module for displaying an interactive message matching the state of the target object in an object message area associated with the reference virtual object; and a second playback module for displaying a playback control in an interactive control display area associated with the reference virtual object, and playing a voice message matching the state of the target object when the playback control is touched.

[0010] Optionally, in some embodiments, the first playback module is further configured to: play an animation of the reference virtual object performing interactive actions on the virtual item; play an animation of the reference virtual object adjusting its display distance from the first virtual object in the virtual interactive space; play an animation of the reference virtual object performing object posture switching actions; and play an animation of the reference virtual object performing object facial expression switching actions.

[0011] Optionally, in some embodiments, the above-described apparatus further includes: a third display unit, configured to display a state editing interface in response to a touch operation on a state switching control displayed in the object interaction interface, wherein an object state display panel is displayed in the state editing interface, at least one object state display tab is displayed in the object state display panel, and each object state display tab in the at least one object state display tab is used to display different types of object states; a fourth display unit, configured to display a target object display tab in the object display panel in response to a selection operation on a target object display tab in the at least one object state display tab; and a first determining unit, configured to determine the target candidate object state as the target object state in response to a selection operation on a target candidate object state in the target object display tab.

[0012] Optionally, in some embodiments, the above-described apparatus further includes: a first playback unit, configured to play a state preview animation corresponding to the target object state in an object state display panel when the cursor object moves to the target candidate object state; and a second playback unit, configured to play a preview animation of the first virtual object being in the target object state in a state editing interface when the cursor object moves to the target candidate object state.

[0013] Optionally, in some embodiments, the above apparatus further includes: a sending unit, configured to send the first object position of the first virtual object in the virtual interactive space to a server, wherein the server is configured to determine a reference virtual object that satisfies the interaction conditions based on the distance between the first object position and the corresponding second object position of each of the at least one second virtual object in the virtual interactive space; and a receiving unit, configured to receive the object identifier of the reference virtual object and the reference position of the reference virtual object in the virtual interactive space.

[0014] Optionally, in some embodiments, the above-described apparatus further includes: an acquisition unit, configured to acquire the first object position of the first virtual object in the virtual interactive space, and the second object position of each of the at least one second virtual objects in the virtual interactive space; a second determination unit, configured to determine a reference object region based on the first object position and the target distance, wherein the reference object region is a circular region defined by the first object position as the center and the target distance as the radius; and a third determination unit, configured to determine the second virtual object whose second object position is located in the reference object region as the reference virtual object.

[0015] Optionally, in some embodiments, the above-described apparatus further includes: a fourth determining unit, configured to determine reference state description information of the reference object state and target state description information of the target object state when the reference object state corresponding to the current reference virtual object indicates that the second virtual object carries a virtual prop, wherein the reference state description information is used to describe the state attributes of the reference object state and the target state description information is used to describe the state attributes of the target object state; a generating unit, configured to generate reference state features of the reference object state based on the reference state description information and generate target state features of the target object state based on the target state description information; and a fifth determining unit, configured to determine interactive feedback using the reference state features and the target state features.

[0016] Optionally, in some embodiments, the above-described apparatus further includes: a fifth display unit, configured to display at least one candidate interactive control in an interactive control display area associated with the reference virtual object; and a prompting unit, configured to, in response to a touch operation on a target interactive control among the at least one candidate interactive control, send an interactive message matching the target interactive control to the reference virtual object, and prompt that the interactive message has been successfully sent to the reference virtual object.

[0017] Optionally, in some embodiments, the above-mentioned prompting unit includes: a second display module, configured to display an interactive message sending window in the object interaction interface, and display the interactive message sent to the reference virtual object in the interactive message window; a third display module, configured to display prompting information in the object interaction interface for prompting to jump to a communication application associated with the virtual community; in response to the operation of the prompting information, displaying a communication interface in the communication application for communication between the target account and the reference account, and displaying the interactive message sent to the reference account in the communication interface, wherein the reference account is used to control the reference virtual object, and the target account is used to control the first virtual object.

[0018] Optionally, in some embodiments, the above-described apparatus further includes: a sixth determining unit, configured to determine a virtual resource matching the touch operation when the interactive message matching the target interactive control is a virtual resource gifting message; and a notification unit, configured to notify the server to configure the virtual resource to the reference virtual object.

[0019] Optionally, in some embodiments, the above-described apparatus further includes: a seventh determining unit, configured to determine, when the interactive message matching the target interactive control is a relationship creation request message, and a notification message indicating acceptance of the relationship creation request message from the reference virtual object is received, to determine the association between the first virtual object and the reference virtual object, wherein the relationship creation request message is used to request the creation of the association between the first virtual object and the reference virtual object.

[0020] Optionally, in some embodiments, the above-described apparatus further includes: a sixth display unit, configured to display a task execution interface for executing a target task when the interactive message matching the target interactive control is a task invitation message and a prompt message for acceptance of the task invitation message from the reference virtual object is received, wherein the task invitation message is used to request the reference virtual object and the first virtual object to jointly participate in the target task, and the first virtual object and the reference virtual object are displayed in the task execution interface.

[0021] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-described object interaction method at runtime.

[0022] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the object interaction method as described above.

[0023] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the above-described object interaction method through the computer program.

[0024] In this embodiment, a first virtual object is displayed in an object interaction interface. The object interaction interface presents a virtual interaction space within the virtual community where the first virtual object resides. This virtual interaction space includes the first virtual object and at least one second virtual object. Then, in response to an object state switching operation on the first virtual object, the object state of the first virtual object is switched to a target object state, and the first virtual object is displayed in the object interaction interface according to the target object state. Furthermore, if a reference virtual object that meets the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the target object state is displayed in the object interaction interface. In other words, by employing this embodiment, after the first virtual object displayed in the virtual space performs an object state switching operation, the feedback made by a reference virtual object that meets the interaction conditions is automatically displayed according to the switched object state. This solves the technical problem in related technologies where the interaction effect between objects is poor due to reliance on manual user control of virtual objects to perform interactive operations, thereby improving the interaction effect between virtual objects. Attached Figure Description

[0025] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0026] Figure 1 This is a schematic diagram of an application environment for an optional object interaction method according to an embodiment of this application;

[0027] Figure 2 This is a flowchart of an optional object interaction method according to an embodiment of this application;

[0028] Figure 3 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0029] Figure 4 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0030] Figure 5 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0031] Figure 6 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0032] Figure 7 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0033] Figure 8 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0034] Figure 9 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0035] Figure 10 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0036] Figure 11 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0037] Figure 12 This is a schematic diagram of an optional object interaction method according to an embodiment of this application;

[0038] Figure 13 This is a schematic diagram of the structure of an optional object interaction device according to an embodiment of this application;

[0039] Figure 14 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0040] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0041] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0042] According to one aspect of the embodiments of this application, an object interaction method is provided. Optionally, as an optional implementation, the above-described object interaction method may be applied to, but is not limited to, [examples of other methods]. Figure 1 In the environment shown. For example... Figure 1 As shown, the terminal device 102 includes a memory 104 for storing various data generated during the operation of the terminal device 102, a processor 106 for processing and calculating the aforementioned data, and a display 108 for displaying the user interface. The terminal device 102 can interact with the server 112 via a network 110. The server 112 is connected to a database 114, which stores various data.

[0043] Furthermore, the above method in Figure 1 The specific application process in the environment shown is as follows:

[0044] In step S102, the terminal device 102 displays the first virtual object in the object interaction interface, wherein the object interaction interface is used to present the virtual interaction space of the virtual community where the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object.

[0045] In step S104, in response to the object state switching operation of the first virtual object, the terminal device 102 determines to switch the object state of the first virtual object to the target object state, and displays the first virtual object in the object interaction interface according to the target object state.

[0046] Step S106: Send a request message to server 112 via network 110 to request the determination of a reference virtual object that satisfies the interaction conditions from at least one second virtual object;

[0047] In step S108, server 112 sends the object information of the reference virtual object that meets the interaction conditions to terminal device 102 via network 110;

[0048] In step S110, the terminal device 102 displays the interactive feedback made by the reference virtual object in response to the state of the target object in the object interaction interface.

[0049] In this embodiment, a first virtual object is displayed in an object interaction interface. The object interaction interface presents a virtual interaction space within the virtual community where the first virtual object resides. This virtual interaction space includes the first virtual object and at least one second virtual object. Then, in response to an object state switching operation on the first virtual object, the object state of the first virtual object is switched to a target object state, and the first virtual object is displayed in the object interaction interface according to the target object state. Furthermore, if a reference virtual object that meets the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the target object state is displayed in the object interaction interface. In other words, by employing this embodiment, after the first virtual object displayed in the virtual space performs an object state switching operation, the feedback made by a reference virtual object that meets the interaction conditions is automatically displayed according to the switched object state. This solves the technical problem in related technologies where the interaction effect between objects is poor due to reliance on manual user control of virtual objects to perform interactive operations, thereby improving the interaction effect between virtual objects.

[0050] Optionally, in this embodiment, the terminal device can be a terminal device configured with a target client, which may include, but is not limited to, at least one of the following: mobile phone (such as Android phone, iOS phone, etc.), laptop computer, tablet computer, PDA, MID (Mobile Internet Devices), PAD, desktop computer, smart TV, etc. The target client may be a video client, instant messaging client, browser client, educational client, etc. The network may include, but is not limited to, wired network and wireless network, wherein the wired network includes: local area network, metropolitan area network and wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that enable wireless communication. The server may be a single server, a server cluster composed of multiple servers, or a cloud server. The above is only an example, and no limitation is made in this embodiment.

[0051] Alternatively, as an alternative solution, such as Figure 2 As shown, the above object interaction methods include:

[0052] S202, the first virtual object is displayed in the object interaction interface, wherein the object interaction interface is used to present the virtual interaction space of the virtual community where the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object.

[0053] Optionally, the above-described object interaction method can be applied, but is not limited to, virtual object interaction scenarios within virtual communities. For example, the virtual object interaction scenarios in virtual communities can be used to instruct virtual object interaction scenarios embedded in social applications, where users can control virtual objects to interact, thereby promoting connections between users in the social application. As another example, the object interaction scenarios in virtual communities can also be interactive scenarios of game characters in a game plaza within a game task, where game characters can interact, communicate, and participate in various activities.

[0054] It should be noted that, in some embodiments, the aforementioned virtual objects (including the first virtual object and the second virtual object) may, but are not limited to, being used to indicate virtual characters controlled by different user accounts. Specifically, the types of the aforementioned virtual objects may, but are not limited to, virtual characters, virtual animals, virtual items, etc., and this embodiment does not impose any limitations on this. Furthermore, the virtual image of the aforementioned virtual object may, but is not limited to, being flexibly designed by the user. For example, the user may customize the type, gender, expression, clothing, accessories, etc. of the virtual object, and this embodiment does not impose any limitations on this. In addition, the user may also directly select the image of a virtual object already designed by professionals, and this embodiment does not impose any limitations on this either.

[0055] Furthermore, in some embodiments, the aforementioned virtual interactive space may be used, but is not limited to, to indicate a virtual scene within the aforementioned virtual community that carries virtual objects. This scene may be, but is not limited to, a 2D scene or a 3D scene; this embodiment does not impose any limitations on this. In addition to virtual objects, such as a first virtual object and a second virtual object, the aforementioned virtual interactive controls may also include various other virtual elements, such as virtual cityscapes (e.g., virtual streets, virtual buildings, virtual parks, etc.), virtual natural landscapes (e.g., virtual mountains, virtual forests, virtual rivers, etc.), and virtual indoor scenes (e.g., virtual rooms, virtual basements, etc.). This embodiment also does not impose any limitations on these.

[0056] S204, in response to the object state switching operation of the first virtual object, determine to switch the object state of the first virtual object to the target object state, and display the first virtual object in the object interaction interface according to the target object state.

[0057] Optionally, in some embodiments, the object state of the first virtual object may be used, but is not limited to, to represent the mood state, activity state, daily state, social state, etc., corresponding to the first virtual object. In this embodiment, no limitation is made in this regard.

[0058] It should be further noted that in some embodiments, virtual objects in different object states can, but are not limited to, perform actions that match the object state. For example, if the current object state of a virtual object is sleeping, then the current virtual object can perform the action of lying down to sleep in the virtual interactive space; if the current object state of a virtual object is reading, then the current virtual object can perform the action of reading a book in the virtual interactive space, and so on.

[0059] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0060] Optionally, in some embodiments, the above-mentioned display of the first virtual object in the object interaction interface according to the target object state may include, but is not limited to, at least one of the following: playing an animation of the first virtual object performing an interactive action that matches the target object state; displaying state information that matches the target object state in the object message area associated with the first virtual object.

[0061] For example, assuming the target object's state is "eating," after determining to switch the first virtual object's state to the target object's state, as follows: Figure 3 The animation shown will play in the object interaction interface, showing the first virtual object 302 eating. It can also display status information 304 in the message area associated with the first virtual object, which represents that the first virtual object is eating.

[0062] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0063] It should be further noted that, assuming the above object interaction method is applied to a virtual object interaction scenario in a virtual interactive community embedded in a social application, after determining to switch the object state of the first virtual object to the target object state, it may include, but is not limited to, synchronizing the target object state to the account state of the user account used to control the first virtual object in the social application.

[0064] The state of the target object can be determined in, but is not limited to, the following ways: In response to a touch operation on the state switching control displayed in the object interaction interface, a state editing interface is displayed, wherein an object state display panel is displayed in the state editing interface, and at least one object state display tab is displayed in the object state display panel, each of the at least one object state display tabs being used to display different types of object states; In response to a selection operation on the target object display tab in the at least one object state display tab, a target object display tab is displayed in the object display panel; In response to a selection operation on the target candidate object state in the target object display tab, the target candidate object state is determined as the target object state.

[0065] Furthermore, the aforementioned object state switching operation for the first virtual object can be used, but is not limited to, for indication. After the target object state has been selected, the touch operation for determining the switching control is not limited in this embodiment.

[0066] S206, if a reference virtual object that satisfies the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the state of the target object is displayed in the object interaction interface.

[0067] Optionally, in some embodiments, a reference virtual object that satisfies the interaction conditions can be determined by, but is not limited to, one of the following methods:

[0068] Method 1: Send the location of the first virtual object in the virtual interaction space to the server, wherein the server determines the reference virtual object that satisfies the interaction conditions based on the distance between the location of the first object and the corresponding location of each of the at least one second virtual object in the virtual interaction space; receives the object identifier of the reference virtual object and the reference position of the reference virtual object in the virtual interaction space; and determines the reference virtual object based on the object identifier of the reference virtual object.

[0069] Method 2: Obtain the location of the first virtual object in the virtual interactive space, and the location of each of the at least one second virtual objects in the virtual interactive space; determine a reference object region based on the location of the first object and the target distance, wherein the reference object region is a circular region defined by the location of the first object as the center and the target distance as the radius; and determine the second virtual object whose location is within the reference object region as the reference virtual object.

[0070] Furthermore, in the first method described above, determining the reference virtual object that satisfies the interaction conditions based on the distance between the first object position and the respective second object positions of each of the at least one second virtual object in the virtual interaction space may include, but is not limited to, determining a reference object region corresponding to the first virtual object based on the first object position of the first virtual object, and then determining the second virtual object located in the reference object region indicated by the second object position as the reference virtual object that satisfies the interaction conditions. For example, such as Figure 4 The reference object region shown in (a) can be, but is not limited to, a circular region 404 centered at the first object position 402-1 and with the target distance as its radius, or it can be as shown in (a). Figure 4 The rectangular region 406 shown in (b) with the first object position 402-2 as the center, a first distance as the width, and a second distance as the height can also be a region of other shapes centered on the first object position. This embodiment does not impose any limitations on this. It should be noted that the above examples are optional examples provided to facilitate the explanation of the object interaction method, and do not limit the specific implementation of the object interaction method.

[0071] Furthermore, in the above-mentioned method two, the determination of the reference object region based on the first object position and the target distance may include, but is not limited to: determining the circular region centered on the first object position and with the target distance as the radius as the reference object region; or determining the rectangular region centered on the first object position, with the first distance as the width and the second distance as the height as the reference object region; or determining other shaped regions centered on the first object position as the reference object region. In this embodiment, no limitation is made on this.

[0072] It should be noted that the interactive feedback displayed in the object interaction interface in response to the target object's state may include, but is not limited to, at least one of the following: playing an animation of the reference virtual object performing an interactive action that matches the target object's state; displaying an interactive message that matches the target object's state in the object message area associated with the reference virtual object; displaying a playback control in the interactive control display area associated with the reference virtual object, and playing a voice message that matches the target object's state when the playback control is touched.

[0073] Optionally, as an alternative example, taking the aforementioned target virtual state as the state of singing loudly as an example, references can be made, but are not limited to, to the following: Figure 5 The following examples illustrate the object interaction methods described above:

[0074] like Figure 5As shown in (a), a first virtual object 502-1, a second virtual object 502-2, a second virtual object 502-3, and an object interaction state switching control 504 are displayed in the object interaction interface.

[0075] Next, when the object interaction state switching control 504 displayed in the object interaction interface is touched, such as... Figure 5 As shown in (b), the status editing interface is displayed, in which the target object status 506 and the confirmation switch control 508 are displayed.

[0076] Furthermore, when the target object state 506 is selected and the toggle control 508 is touched, such as Figure 5 As shown in (c), the first virtual object 502-1 is displayed in the object interaction interface according to the state of the target object, that is, the screen of the first virtual object singing loudly is played.

[0077] Next, after determining that the reference virtual object whose positional distance from the first virtual object satisfies the interaction conditions is the second virtual object 502-2, the process continues as follows: Figure 5 As shown in (c), the second virtual object 502-2 is shown moving away from the first virtual object in the object interaction interface, and an object message 510 is displayed near the second virtual object to provide feedback that the singing voice of the first virtual object is too loud.

[0078] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0079] In this embodiment, a first virtual object is displayed in an object interaction interface. The object interaction interface presents a virtual interaction space within the virtual community where the first virtual object resides. This virtual interaction space includes the first virtual object and at least one second virtual object. Then, in response to an object state switching operation on the first virtual object, the object state of the first virtual object is switched to a target object state, and the first virtual object is displayed in the object interaction interface according to the target object state. Furthermore, if a reference virtual object that meets the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the target object state is displayed in the object interaction interface. In other words, by employing this embodiment, after the first virtual object displayed in the virtual space performs an object state switching operation, the feedback made by a reference virtual object that meets the interaction conditions is automatically displayed according to the switched object state. This solves the technical problem in related technologies where the interaction effect between objects is poor due to reliance on manual user control of virtual objects to perform interactive operations, thereby improving the interaction effect between virtual objects.

[0080] Optionally, as an alternative approach, displaying interactive feedback from a reference virtual object in the object interaction interface in response to the state of the target object includes at least one of the following:

[0081] Plays an animation of a reference virtual object performing an interactive action that matches the state of the target object.

[0082] Optionally, the interactive action that matches the state of the target object may be related to, but is not limited to, the attribute characteristics of the state of the target object. For example, if the attribute characteristic of the state of the target object is that the sound is too loud, then the interactive action may be to move away from the first virtual object.

[0083] Furthermore, the interactive action that matches the state of the target object may be related to, but is not limited to, the attribute characteristics of the target object's state and the state attribute characteristics of the reference virtual state corresponding to the reference virtual object. For example, if the attribute characteristic of the target object's state is that the sound is too loud and the state attribute characteristic of the reference virtual state is that it is lying down and sleeping, then the interactive action may be to stand up and move away from the first virtual object.

[0084] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0085] In the object message area associated with the reference virtual object, interactive messages matching the state of the target object are displayed.

[0086] Optionally, the object message area associated with the reference virtual object may, but is not limited to, being located above, to the left, to the right, or in other positions of the reference virtual object; this embodiment does not impose any limitations on this. Furthermore, the interactive message matching the target object's state may, but is not limited to, being related to the attribute characteristics of the target object's state. For example, assuming the attribute characteristic is the release of aroma (e.g., the target object's state indicates that the first virtual object is preparing food, thus releasing the aroma of food), then the interactive message may be a text-based interactive message characterizing the fragrant aroma of the food prepared by the first virtual object.

[0087] Furthermore, the interactive message matching the state of the target object may be related to, but is not limited to, the attribute characteristics of the state of the target object and the state attribute characteristics of the current reference virtual state corresponding to the reference virtual object. For example, assuming that the attribute characteristic of the state of the target object is to release aroma (for example, the state of the target object indicates that the first virtual object is making food and thus releasing the aroma of food), and assuming that the attribute characteristic of the state of the reference object is hunger, then the interactive message may be a text interactive message used to represent whether or not to share the food with the first virtual object.

[0088] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0089] Display a playback control in the interactive control display area associated with the reference virtual object, and play a voice message that matches the state of the target object when the playback control is touched.

[0090] Optionally, in some embodiments, the interactive control display area associated with the reference virtual object may be located, but is not limited to, above, to the left, to the right, or in other positions of the reference virtual object. In this embodiment, no limitation is made in this regard.

[0091] Furthermore, the voice message that matches the state of the target object may, but is not limited to, be related to the attribute characteristics of the state of the target object. For example, assuming that the attribute characteristic is the release of aroma (for example, the state of the target object indicates that the first virtual object is making food and thus releasing the aroma of food), then the interactive message may be a voice message used to characterize the aroma of the food made by the first virtual object.

[0092] Furthermore, the voice message matching the state of the target object may be related to, but is not limited to, the attribute characteristics of the state of the target object and the state attribute characteristics of the current reference virtual state corresponding to the reference virtual object. For example, assuming that the attribute characteristic of the state of the target object is to release aroma (for example, the state of the target object indicates that the first virtual object is making food and thus releasing the aroma of food), and assuming that the attribute characteristic of the state of the reference object is hunger, then the interaction message may be a voice message used to represent a request to share the food with the first virtual object.

[0093] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0094] In this embodiment of the application, at least one of the following methods is used to achieve interactive feedback of the reference virtual object switching the state of the first virtual object: playing an animation of the reference virtual object performing an interactive action that matches the state of the target object; displaying an interactive message that matches the state of the target object in the object message area associated with the reference virtual object; displaying a playback control in the interactive control display area associated with the reference virtual object; and playing a voice message that matches the state of the target object when the playback control is touched. This makes the interaction between the reference virtual object and the first virtual object richer and more diverse, thereby achieving the technical effect of improving the interaction effect between objects.

[0095] Alternatively, as an alternative approach, playing an animation in which the reference virtual object performs an interactive action that matches the state of the target object includes one of the following:

[0096] Play an animation of the reference virtual object performing interactive actions on the virtual item.

[0097] For example, the aforementioned virtual items can be used, but are not limited to, to indicate everyday items, food, tools, artwork, electronic products, etc., and this embodiment does not impose any limitations on this. As a further example, the interactive actions performed by the aforementioned reference virtual object on the virtual items can include, but are not limited to, using, throwing, moving, and displaying operations performed by the reference virtual object on the virtual items, and this embodiment also does not impose any limitations on this.

[0098] For example, suppose the target object state is used to indicate that the first virtual object is singing, and the singing of the first virtual object is very beautiful, then the interaction action performed by the reference virtual object on the virtual item could be the action of the reference virtual object throwing flowers at the first virtual object.

[0099] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0100] Play an animation showing the reference virtual object adjusting its display distance from the first virtual object in the virtual interactive space.

[0101] Optionally, in some embodiments, adjusting the display distance between the reference virtual object and the first virtual object in the virtual interactive space may include, but is not limited to: the reference virtual object moving in the direction of the first virtual object in the virtual interactive space to reduce the display distance between them; or the reference virtual object moving in the direction away from the first virtual object in the virtual interactive space to increase the display distance between them.

[0102] For example, suppose the aforementioned target object state is used to indicate that the first virtual object is setting off firecrackers, generating a lot of noise. Then, adjusting the display distance between the aforementioned reference virtual object and the first virtual object in the virtual interactive space could be achieved by the reference virtual object running away from the first virtual object in the virtual interactive space to avoid being disturbed by the noise.

[0103] For another example, assuming the target object state is used to indicate that the first virtual object is dancing, then the reference virtual object adjusting its display distance from the first virtual object in the virtual interactive space can be that the reference virtual object runs towards the first virtual object in the virtual interactive space to appreciate the dance performed by the first virtual object.

[0104] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0105] Play the animation of the reference virtual object performing the object posture switching action.

[0106] Optionally, the above-mentioned object poses can be used, but are not limited to, to represent various postures and actions exhibited by the reference virtual object in different contexts. For example, standing, walking, sitting, lying down, bending over, running, jumping, etc., are not limited in this embodiment.

[0107] For example, assuming the target object state is used to indicate that the first virtual object is setting off firecrackers and generating a lot of noise, the object pose switching action performed by the reference virtual object can be used, but is not limited to, to indicate a switch from a sitting posture to a standing posture.

[0108] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0109] Play the animation of the reference virtual object performing the facial expression switching action.

[0110] Optionally, in some embodiments, the facial expressions described above are a non-verbal communication method used to express the mood of a virtual object. They can be used, but are not limited to, to indicate movements of facial muscles, including changes in the eyes, eyebrows, nose, mouth, etc. Specifically, the facial expressions described above can include, but are not limited to: happiness: typically manifested as an upturned mouth and squinting eyes; sadness: manifested as a downturned mouth, moist or teary eyes, and furrowed brows; anger: furrowed brows, wide eyes, and closed or distorted mouth; surprise: open eyes and mouth, and raised eyebrows; fear: wide eyes, raised eyebrows, and open mouth; disgust: downturned mouth, wrinkled nose, etc., but this embodiment does not impose any limitations on these expressions.

[0111] For example, suppose the target object state is used to indicate that the first virtual object is setting off firecrackers and generating a lot of noise, then the object facial expression switching action performed by the reference virtual object may be, but is not limited to, a facial expression used to express anger due to being frightened.

[0112] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0113] In this embodiment, at least one of the following rich interactive methods is used: playing animations of the reference virtual object performing interactive actions on virtual items, playing animations of the reference virtual object adjusting its display distance from the first virtual object in the virtual interactive space, playing animations of the reference virtual object performing object posture switching actions, and playing animations of the reference virtual object performing object facial expression switching actions. This achieves interactive feedback of the reference virtual object switching states on the first virtual object, thereby making the interaction between the reference virtual object and the first virtual object richer, more diverse, and closer to real interaction, thus achieving the technical effect of improving the interaction effect between objects.

[0114] Optionally, as an alternative approach, after displaying the first virtual object according to the target object's state in the object interaction interface, the following may also be included:

[0115] S1, in response to a touch operation on the state switching control displayed in the object interaction interface, displays a state editing interface, wherein an object state display panel is displayed in the state editing interface, and at least one object state display tab is displayed in the object state display panel, and each object state display tab in the at least one object state display tab is used to display different types of object states.

[0116] S2, in response to the selection operation of the target object display tab in at least one object status display tab, display the target object display tab in the object display panel;

[0117] S3, in response to the selection operation of the target candidate object state in the target object display page, determines the target candidate object state as the target object state.

[0118] It should be noted that the types of object states may include, but are not limited to, mood states, activity states, daily states, social states, etc. Among them, the aforementioned mood states may be used to represent a certain emotion of the virtual object, such as happiness, sadness, anger, etc.; the aforementioned activity states may be used to represent the virtual object's participation in a specific activity, such as festival celebrations, sports competitions, etc.; the aforementioned daily states may be used to represent the virtual object's daily life state, such as work, study, leisure, etc.; the aforementioned social states may be used to represent the virtual object's interaction state with friends, etc.

[0119] Optionally, but not limited to, references may be made to, such as Figure 6 The following example illustrates the steps described above:

[0120] like Figure 6 As shown in (a), a first virtual object 602-1, a second virtual object 602-2, and a second virtual object 602-3 are displayed in the object interaction interface.

[0121] Next, when the object interaction state switching control 604 displayed in the object interaction interface is touched, such as... Figure 6 As shown in (b), the status editing interface is displayed, in which a first virtual object 602-1 and an object status display panel 606 are displayed, and display tabs A, B, and C are displayed in the object status display panel 606.

[0122] Next, with tab A selected, as shown Figure 6 As shown in (c), the object states a1, a2, a3, and a4 are displayed under tab A in the object display panel.

[0123] Then, with object state a4 selected, object state a4 is determined as the target object state.

[0124] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0125] In this embodiment, in response to a touch operation on the state switching control displayed in the object interaction interface, a state editing interface is displayed. This interface displays an object state display panel, which contains at least one object state display tab. Each of these tabs displays a different type of object state. Then, in response to selecting a target object display tab from the at least one object state display tab, the target object display tab is displayed in the object display panel. Next, in response to selecting a target candidate object state from the target object display tab, the target candidate object state is determined as the target object state. In other words, by providing a method for displaying multiple types of object state display tabs, this embodiment allows users to quickly select the desired object state based on the object state display tabs according to their actual needs, thereby improving the user experience and object interaction efficiency.

[0126] Optionally, as an alternative approach, after displaying the target object display tab in the object display panel in response to a selection operation on at least one object status display tab, the method further includes:

[0127] When the cursor moves to the state of the target candidate object, a state preview animation corresponding to the target object's state is played in the object state display panel; or

[0128] When the cursor moves to the target candidate object state, a preview animation of the first virtual object being in the target object state is played in the state editing interface.

[0129] Optionally, in some embodiments, different object states may be statically displayed in the object state display panel in the form of thumbnails, or dynamically displayed in the object state display panel in the form of thumbnails; or different object states may also be displayed in the object state display panel in the form of status icons, and this embodiment does not impose any limitations on this.

[0130] It should be noted that, in some embodiments, the aforementioned cursor object may be, but is not limited to, used to indicate the mouse cursor object corresponding to the mouse object on the screen of the terminal device. The aforementioned state preview animation corresponding to the target object state may be, but is not limited to, used to indicate a preview animation of the default virtual object being in the target object state.

[0131] Furthermore, the aforementioned preview animation of the first virtual object in the target object state played in the state editing interface can be used, but is not limited to, to instruct the playback of an animation in the state editing interface to perform an interactive action that matches the aforementioned target object state.

[0132] As an optional example, it may be, but is limited to, references such as Figure 7 The following example illustrates the steps described above:

[0133] like Figure 7 As shown in (a), the target object state 704 is displayed in the object state display panel 702 of the state editing interface.

[0134] Next, when the mouse cursor moves from state 706 to state 704 of the target object, as follows: Figure 7 As shown in (b), the preview animation of the target object's state is played in the preview area 708 of the object state display panel.

[0135] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0136] As another alternative example, assuming the target object is in a sleeping state, it is possible, but limited to reference, to... Figure 8 The following example illustrates the steps described above:

[0137] like Figure 8 As shown in (a), the target object state 804 is displayed in the object state display panel 802 of the state editing interface, and the first virtual object 806 is displayed in the state editing interface.

[0138] Next, as Figure 8 As shown in (b), when the mouse cursor 808 moves to the target object state 804, the screen of the first virtual object 806 performing the sleeping action is displayed in the state editing interface.

[0139] In this embodiment, when the cursor moves to the target candidate object state, a preview animation of the target object state is played in the object state display panel; or, when the cursor moves to the target candidate object state, a preview animation of the first virtual object in the target object state is played in the state editing interface. In other words, by using this embodiment, the preview animation of the target object state is displayed in different ways through flexible movement of the cursor object. This allows users to intuitively see the display effects of each object state before switching object states by viewing the preview animation, thereby facilitating users to quickly filter the object state they want to switch to. This achieves the technical effect of improving object interaction efficiency and enhancing user experience.

[0140] Optionally, as an optional approach, after determining to switch the object state of the first virtual object to the target object state in response to the object state switching operation of the first virtual object, the method further includes:

[0141] S1, the location of the first virtual object in the virtual interaction space is sent to the server, wherein the server is used to determine the reference virtual object that satisfies the interaction conditions based on the distance between the location of the first object and the location of each of the at least one second virtual object in the virtual interaction space.

[0142] S2, receive the object identifier of the reference virtual object and the reference position of the reference virtual object in the virtual interactive space.

[0143] It should be noted that, in some embodiments, virtual images and identifiers of different virtual objects may be pre-stored in the terminal device, but are not limited to. After receiving the object identifier of the reference virtual object, the terminal device can determine the image of the reference virtual object based on the identifier of the reference virtual object, and then display the interactive feedback made by the reference virtual object in response to the state of the target object at the reference position in the virtual interactive space.

[0144] Optionally, in other embodiments, if the terminal device does not have pre-stored virtual images of different virtual objects, after receiving the object identifier of the reference virtual object and the reference position of the reference virtual object in the virtual interactive space, it is also necessary to request the virtual image of the reference virtual object from the server, and then display the interactive feedback made by the reference virtual object in response to the state of the target object in the reference position of the virtual interactive space.

[0145] It should be noted that, in some embodiments, determining the reference virtual object that satisfies the interaction conditions based on the distance between the first object position and the corresponding second object positions of each of the at least one second virtual object in the virtual interaction space may include, but is not limited to: determining a reference object region corresponding to the first virtual object based on the first object position of the first virtual object, and then determining the second virtual object located in the reference object region indicated by the second object position as the reference virtual object that satisfies the interaction conditions. For example, the reference object region may be, but is not limited to, a circular region with the first object position as the center and the target distance as the radius, or a rectangular region with the first object position as the center, the first distance as the width, and the second distance as the height, or a region of other shapes with the first object position as the center. In this embodiment, no limitation is made on this.

[0146] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0147] It should be further noted that, in the case that the virtual interactive space is a space mapped from a real map scene, the location of the first object can be determined based on the actual location of the user account used to control the first virtual object. Correspondingly, the location of the second object can be determined based on the actual location of the user account used to control the second virtual object. In this embodiment, no limitation is imposed on this.

[0148] Optionally, after determining the reference object area corresponding to the first virtual object, the process may include, but is not limited to, marking the reference object area in the virtual interactive space. For example, the display style of the reference object area may be distinguished from the display areas of other areas. In this embodiment, no limitation is imposed on this.

[0149] In this embodiment of the application, by utilizing the distance between the first object position and the corresponding second object position of each of the at least one second virtual object in the virtual interaction space, the server determines the reference virtual object that meets the interaction conditions, so that the distance between the determined reference virtual object and the first virtual object is within a suitable range, thereby improving the accuracy of the reference virtual object.

[0150] Optionally, as an optional approach, after determining to switch the object state of the first virtual object to the target object state in response to the object state switching operation of the first virtual object, the method further includes:

[0151] S1, obtain the first object position of the first virtual object in the virtual interaction space, and the second object position of each of the at least one second virtual objects in the virtual interaction space.

[0152] S2, a reference object region is determined based on the position of the first object and the distance to the target, wherein the reference object region is a circular region determined with the position of the first object as the center and the distance to the target as the radius;

[0153] S3, the second virtual object whose second object position is located in the reference object region is determined as the reference virtual object.

[0154] It should be further noted that, in the case that the virtual interactive space is a space mapped from a real map scene, the location of the first object can be determined based on the actual location of the user account used to control the first virtual object. Correspondingly, the location of the second object can be determined based on the actual location of the user account used to control the second virtual object. In this embodiment, no limitation is imposed on this.

[0155] Optionally, after determining the reference object area corresponding to the first virtual object, it may also include, but is not limited to, marking the reference object area in the virtual interactive space, for example, distinguishing the display style of the reference object area from the display areas of other areas, etc. In this embodiment, no limitation is made on this.

[0156] In this embodiment, the location of a first virtual object in the virtual interaction space is obtained, as well as the location of each of the at least one second virtual objects in the virtual interaction space. Then, a reference object region is determined based on the first object location and the target distance, wherein the reference object region is a circular region centered on the first object location and with the target distance as the radius. Furthermore, the second virtual object whose location is within the reference object region is determined as the reference virtual object. In other words, by adopting the embodiments of this application, by determining the reference object area corresponding to the first virtual object in the virtual interaction space with the location of the first object as the center and the target distance as the radius, and thus determining the second virtual object located in the reference object area as the reference virtual object, the distance between the determined reference virtual object and the first virtual object will not be too far. This avoids the technical problem that the user controlling the first virtual object cannot see the interaction feedback in time in the object interaction interface displayed on the controlled terminal after the reference virtual object responds to the target interaction state due to the large distance between the determined reference virtual object and the first virtual object, resulting in poor object interaction effect. This achieves the technical effect of improving the user experience and improving the interaction effect between objects.

[0157] Optionally, as an alternative approach, before displaying the first virtual object according to the target object's state in the object interaction interface, the following steps are also included:

[0158] S1, when the reference object state corresponding to the current reference virtual object indicates that the second virtual object is carrying a virtual item, determine the reference state description information of the reference object state and determine the target state description information of the target object state, wherein the reference state description information is used to describe the state attributes of the reference object state and the target state description information is used to describe the state attributes of the target object state.

[0159] It should be noted that in some embodiments, each object state corresponds to an object state description, which may be a piece of text information that is pre-stored in the storage area of ​​the terminal device or server to describe the state attribute information of the object state.

[0160] S2, generate reference state features of the reference object state based on reference state description information, and generate target state features of the target object state based on target state description information.

[0161] Optionally, in some embodiments, the aforementioned reference state features may be, but are not limited to, state attribute features used to characterize the state of the aforementioned reference object, such as sound features, features of the corresponding interactive actions, emotional features represented by the corresponding facial expressions, purposeful features of the corresponding posture switching actions, influence on surrounding environmental factors, etc. In this embodiment, no limitation is made in this regard.

[0162] S3, using the characteristics of the reference state and the target state to determine the interactive feedback.

[0163] It should be noted that, in some embodiments, the above-mentioned determination of interactive feedback using reference state features and target state features may include, but is not limited to, determining interactive feedback based on reference state features and target state features using an interactive feedback strategy, wherein the above feedback strategy stores the interactive feedback associated with different combinations of state features. For example, suppose the target state feature is used to characterize that the first virtual object emits a lot of noise after switching to the target object feature, and the reference state feature of the current reference virtual object is used to characterize that the reference virtual object needs a quiet environment, then the above-mentioned interactive feedback may be an action performed by the reference virtual object moving away from the first virtual object due to interference from the noise emitted by the first virtual object.

[0164] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0165] In this embodiment, when the current reference object state of the reference virtual object indicates that the second virtual object is carrying virtual props, reference state description information of the reference object state and target state description information of the target object state are determined. The reference state description information describes the state attributes of the reference object state, and the target state description information describes the state attributes of the target object state. Then, reference state features of the reference object state are generated based on the reference state description information, and target state features of the target object state are generated based on the target state description information. Furthermore, interactive feedback is determined using the reference state features and the target state features. In other words, by employing this embodiment, when the current reference object state of the reference virtual object indicates that the second virtual object is carrying virtual props, the interactive feedback method for the state switching of the reference virtual object to the first virtual object is determined by combining the state features corresponding to the reference object state and the state features of the target object state. This ensures that the determined interactive feedback not only provides an adaptive interactive response to the target object state switched by the first virtual object but also matches the current reference object state of the reference virtual object, making the interactive feedback closer to the interactive feedback in a real-world scenario, thereby achieving the technical effect of improving the realism of object interaction.

[0166] Optionally, as an alternative approach, when displaying the interactive feedback made by the reference virtual object in response to the state of the target object in the object interaction interface, it also includes:

[0167] S1, display at least one candidate interactive control in the interactive control display area associated with the reference virtual object.

[0168] S2, in response to a touch operation on the target interactive control among at least one candidate interactive controls, sends an interactive message matching the target interactive control to the reference virtual object, and indicates that the interactive message has been successfully sent to the reference virtual object.

[0169] Optionally, the interactive message sent to the reference virtual object is related to the type of the target interactive control. For example, if the target interactive control is a resource gifting type interactive control, the interactive message can be a virtual resource gifting message to indicate that a virtual resource has been gifted to the reference virtual object; if the target interactive control is a relationship creation type interactive control, the interactive message can be a relationship creation request message to request the creation of an association between the first virtual object and the reference virtual object; if the target interactive control is a task invitation type interactive control, the interactive message can be a task invitation message to invite the reference virtual object and the first virtual object to participate in the target task together.

[0170] Furthermore, the above-mentioned notification that an interactive message has been successfully sent to the reference virtual object may include, but is not limited to, displaying a notification message to indicate that an interactive message has been successfully sent to the reference virtual object, or displaying the sent interactive message in the chat interface between the first virtual object and the reference virtual object. In this embodiment, no limitation is imposed on this.

[0171] Taking displaying a prompt message to indicate that an interactive message has been successfully sent to a reference virtual object as an example, this can be based on, but is not limited to, methods such as... Figure 9 The following example illustrates the steps described above:

[0172] like Figure 9 As shown in (a), candidate interactive controls 902-1, 902-2, and 902-3 are displayed in the interactive control display area associated with the reference virtual object.

[0173] Next, when candidate interactive control 902-1 is selected, an interaction message with candidate interactive control 902-1 is sent to the reference virtual object, and as follows... Figure 9 As shown in (b), a prompt message 904 is displayed to indicate that an interactive message has been successfully sent to the reference virtual object.

[0174] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0175] In this embodiment, by displaying candidate interactive controls when a reference virtual object responds to the interactive feedback of the target object's state in the object interaction interface, and then sending an interactive message matching the target interactive control to the reference virtual object when the target interactive control in at least one candidate interactive control is touched, and indicating that the interactive message has been successfully sent to the reference virtual object, the first virtual object and the reference virtual object can quickly trigger a new interaction again through the interactive control after completing an interaction through state switching and interactive feedback. This achieves the technical effect of improving the interaction efficiency and interaction frequency of the object.

[0176] Optionally, as an alternative, indicating that an interaction message has been successfully sent to the reference virtual object includes:

[0177] Display the interaction message sending window in the object interaction interface, and display the interaction message sent to the reference virtual object in the interaction message window; or

[0178] The object interaction interface displays a prompt message to jump to the communication application associated with the virtual community; in response to the operation of the prompt message, the communication application displays a communication interface for communication between the target account and the reference account, and displays the interaction message sent to the reference account in the communication interface, wherein the reference account is used to control the reference virtual object, and the target account is used to control the first virtual object.

[0179] It should be noted that the interactive message sending window displayed in the object interaction interface is an information sending window embedded in the application corresponding to the virtual community. The communication application may, but is not limited to, be used to instruct third-party applications associated with the virtual community.

[0180] Optionally, as an optional example, it may be based on, but is not limited to, such as Figure 10 The following example illustrates the steps described above:

[0181] like Figure 10 As shown in (a), candidate interactive controls 1002-1, 1002-2, and 1002-3 are displayed in the interactive control display area associated with the reference virtual object.

[0182] Next, when candidate interactive control 1002-1 is selected, an interaction message with candidate interactive control 1002-1 is sent to the reference virtual object, and as follows... Figure 10 As shown in (b), an interactive message sending window 1004 is displayed in the object interaction interface, and interactive messages 1006 that have been sent to the reference virtual object are also displayed in the interactive message sending window.

[0183] Alternatively, as another alternative example, it can be based on, but is not limited to, such as Figure 11 The following example illustrates the steps described above:

[0184] like Figure 11 As shown in (a), candidate interactive controls 1102-1, 1102-2, and 1102-3 are displayed in the interactive control display area associated with the reference virtual object.

[0185] Next, when candidate interactive control 1102-1 is selected, an interaction message with candidate interactive control 1102-1 is sent to the reference virtual object, and as follows... Figure 11 As shown in (b), a prompt message 1104 is displayed to prompt the user to jump to the communication application associated with the virtual community, and a jump control 1106 is displayed to jump to the communication application.

[0186] Then, when the jump control 1106 used to jump to the communication application is touched, such as Figure 11 As shown in (c), the communication interface between the target account and the reference account is displayed in the communication application, and the interactive message 1108 sent to the reference account is displayed in the communication interface.

[0187] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0188] In this embodiment, an interactive message sending window is displayed in the object interaction interface, and the interactive message sent to the reference virtual object is displayed in the interactive message window; or a prompt message for jumping to the communication application associated with the virtual community is displayed in the object interaction interface; in response to the operation of the prompt message, a communication interface for communication between the target account and the reference account is displayed in the communication application, and the interactive message sent to the reference account is displayed in the communication interface, wherein the reference account is used to control the reference virtual object, and the target account is used to control the first virtual object. That is to say, by adopting this embodiment, after sending an interactive message matching the target interactive control to the reference virtual object, by displaying the chat interface corresponding to the reference virtual object and the first virtual object in the object interaction interface or by jumping to the communication application, the reference virtual object and the first virtual object can communicate quickly and conveniently based on the displayed chat interface, thereby achieving the technical effect of promoting social interaction between users through the virtual community.

[0189] Optionally, as an alternative approach, after sending an interactive message matching the target interactive control to the reference virtual object, the method further includes:

[0190] S1, if the interactive message matching the target interactive control is a virtual resource gifting message, determine the virtual resource matching the touch operation;

[0191] S2, instructs the server to configure virtual resources for the reference virtual object.

[0192] It should be noted that the aforementioned virtual resources may be used, but are not limited to, to indicate virtual gift resources provided in the aforementioned virtual community, such as virtual flowers, virtual props, etc., and no limitation is made in this embodiment.

[0193] Furthermore, in some embodiments, the virtual resources matched with the touch operation may be, but are not limited to, used in relation to the number of touches on the target interactive control. Specifically, assuming the target interactive control is a control used to indicate the gifting of a target quantity of target-type virtual resources, then each touch of the target interactive control indicates that a target quantity of target-type virtual resources will be gifted to the reference virtual object. For example, assuming the target interactive control is used to indicate the gifting of 5 flowers, then touching the target interactive control once indicates that 5 flowers will be gifted to the reference virtual object, touching the target interactive control twice indicates that 10 flowers will be gifted to the reference virtual object, and so on. In the above embodiments, no limitation is made in this regard.

[0194] It should be noted that the above examples are optional examples provided to facilitate the explanation of the above object interaction method, and there are no limitations on the specific implementation of the above object interaction method.

[0195] In other embodiments, the virtual resources matched with the touch operation may also be used, but are not limited to, to indicate a certain number of virtual resources of a certain type for custom editing. Specifically, after the user clicks the target interactive control, a virtual resource quantity editing area and a virtual resource type selection area will be displayed. Then, after the user edits the quantity of virtual resources to be gifted in the virtual resource quantity editing area and selects the virtual resource type in the virtual resource type selection area, the user-custom-edited virtual resource quantity and virtual resource type can be obtained.

[0196] In this embodiment, after sending an interactive message matching the target interactive control to a reference virtual object in response to a touch operation on a target interactive control among at least one candidate interactive controls, if the interactive message matching the target interactive control is a virtual resource gifting message, a virtual resource matching the touch operation is determined; and the server is notified to allocate the virtual resource to the reference virtual object. In other words, by using this embodiment, resource transfer between objects is achieved by triggering the target interactive control, thereby achieving the technical effect of improving the utilization rate of virtual resources.

[0197] Optionally, as an alternative approach, after sending an interactive message matching the target interactive control to the reference virtual object, the method further includes:

[0198] If the interaction message matching the target interactive control is a relationship creation request message, and a prompt message indicating acceptance of the relationship creation request message from the reference virtual object is received, the association relationship between the first virtual object and the reference virtual object is determined, wherein the relationship creation request message is used to request the creation of the association relationship between the first virtual object and the reference virtual object.

[0199] It should be noted that, in some embodiments, the association between the first virtual object and the reference virtual object may be used, but is not limited to, to indicate the friendship relationship between the first virtual object and the reference virtual object.

[0200] In this embodiment, after sending an interaction message matching the target interaction control to a reference virtual object in response to a touch operation on a target interaction control among at least one candidate interaction control, and if the interaction message matching the target interaction control is a relationship creation request message, and an acceptance prompt message for the relationship creation request message is received from the reference virtual object, then the association relationship between the first virtual object and the reference virtual object is determined. In other words, by triggering the target interaction control, the purpose of requesting the creation of an association relationship with the reference virtual object is achieved. Furthermore, if the reference virtual object accepts the request, the association relationship between the first virtual object and the reference virtual object is determined, thereby achieving the technical effect of promoting social interaction between users through a virtual community.

[0201] Optionally, as an alternative approach, after sending an interactive message matching the target interactive control to the reference virtual object, the method further includes:

[0202] When the interaction message matching the target interactive control is a task invitation message, and a prompt message indicating acceptance of the task invitation message from the reference virtual object is received, a task execution interface for executing the target task is displayed. The task invitation message is used to request the reference virtual object and the first virtual object to participate in the target task together. The first virtual object and the reference virtual object are displayed in the task execution interface.

[0203] It should be noted that in some embodiments, the aforementioned target task may be used, but is not limited to, to indicate game tasks embedded in the application where the virtual community is located (e.g., game tasks in the game mini-program provided in the aforementioned application), or object interaction tasks that need to be completed in the virtual interactive space of the virtual community (e.g., an activity provided in the virtual interactive space that requires the cooperation of multiple virtual objects, or an action that requires the cooperation of multiple virtual objects, etc.). In this embodiment, no limitation is made in this regard.

[0204] In this embodiment, after sending an interaction message matching the target interaction control to a reference virtual object in response to a touch operation on a target interaction control among at least one candidate interaction control, and if the interaction message matching the target interaction control is a task invitation message, and a confirmation message of acceptance of the task invitation message is received from the reference virtual object, a task execution interface for performing the target task is displayed. In other words, by triggering the target interaction control, this embodiment achieves the purpose of inviting both the reference virtual object and the first virtual object to participate in the target task. Upon acceptance of the invitation by the reference virtual object, a task execution interface for both the reference virtual object and the first virtual object to jointly perform the target task is displayed. This ensures that the interaction between the reference virtual object and the first virtual object is not limited to the virtual interaction space, thereby enhancing the richness of object interaction.

[0205] Optionally, as an optional example, it may be based on, but is not limited to, such as Figure 12 The following example provides a complete explanation and illustration of the above object interaction methods:

[0206] In step S1202, the terminal device 1202 displays the first virtual object in the object interaction interface.

[0207] Next, step S1204 is executed. In response to the object state switching operation of the first virtual object, the terminal device 1202 sends a request message to the server 1204 to request the object state list.

[0208] Then, in step S1206, the server 1204 sends an object status list to the terminal device 1202. This object status list contains object status identifiers corresponding to multiple candidate object statuses, as well as corresponding interactive actions.

[0209] Next, step S1208 is executed, and the terminal device 1202 displays the status of the candidate object in the status editing interface.

[0210] Next, step S1210 is executed. In response to the selection operation of the target object state displayed in the state editing interface, the terminal device 1202 displays the first virtual object in the object interaction interface according to the target object state. Specifically, an animation of the first virtual object performing an interactive action associated with the target object state is played in the object interaction interface, and state information associated with the target object state is displayed in the object interaction interface.

[0211] Next, step S1212 is executed. The terminal device 1202 determines a reference virtual object based on the reference object region corresponding to the first virtual object. The reference object region is a circular region defined by the position of the first object as the center and the target distance as the radius. The reference virtual object is a virtual object located in the reference object region.

[0212] Next, step S1214 is executed, whereby the terminal device 1202 sends a request to the server 1204 to request the determination of the interactive feedback that the reference virtual object needs to make on the state of the target object. The request information includes the state of the target object and the current reference virtual state of the reference virtual object.

[0213] Then, step S1216 is executed. Server 1204 determines the interactive feedback that the reference virtual object needs to make to the target object's state based on the target object's state of the first virtual object and the current reference virtual state of the reference virtual object.

[0214] Then, step S1218 is executed, where server 1204 sends the description information of the interactive feedback to terminal device 1202.

[0215] Next, step S1220 is executed, where the terminal device 1202 displays the interactive feedback made by the reference virtual object in the object interaction interface based on the description information of the interactive feedback in response to the state of the target object.

[0216] Next, step S1222 is executed, where the terminal device 1202, in response to a touch operation on a target interactive control associated with a reference virtual object, determines an interactive message that matches the target interactive control to be sent to the reference virtual object.

[0217] Next, step S1224 is executed, whereby the terminal device 1202 sends a request message to the server 1204 to request the sending of an interactive message to the reference virtual object.

[0218] Next, step S1226 is executed, and server 1204 sends an interactive message to the reference virtual object.

[0219] Then, step S1228 is executed, whereby server 1204 sends a notification message to terminal device 1202 indicating that an interactive message has been successfully sent to the reference virtual object.

[0220] Thus, step S1230 is executed, and terminal device 1202 indicates that an interaction message has been successfully sent to the reference virtual object.

[0221] Then, if the interaction message matching the target interactive control is a virtual resource gifting message, steps S1232 to S1234 are executed. Step S1232 includes: when the terminal device 1202 determines that a virtual resource matching the touch operation on the target interactive control is available, it sends a request message to the server 1204 requesting that the virtual resource matching the touch operation on the target interactive control be gifted to a reference virtual object; step S1234 includes: the server 1204 configuring the virtual resource matching the touch operation on the target interactive control to the reference virtual object.

[0222] If the interaction message matching the target interactive control is a relationship creation request message, and a notification message indicating acceptance of the relationship creation request message from the reference virtual object is received, step S1236 is executed, and the terminal device 1202 determines the association relationship between the first virtual object and the reference virtual object. The relationship creation request message is used to request the creation of the association relationship between the first virtual object and the reference virtual object.

[0223] If the interactive message matching the target interactive control is a task invitation message, and a notification message indicating acceptance of the task invitation message from the reference virtual object is received, step S1238 is executed, and the terminal device 1202 displays a task execution interface for executing the target task. The task invitation message is used to request the reference virtual object and the first virtual object to participate in the target task together. The task execution interface displays the first virtual object and the reference virtual object.

[0224] By employing the embodiments of this application, after a first virtual object displayed in virtual space performs an object state switching operation, the system automatically displays feedback from a reference virtual object that meets the interaction conditions based on the switched object state. This solves the technical problem in related technologies where the interaction between objects is poor due to reliance on manual user control of virtual objects to perform interaction operations, thereby improving the interaction effect between virtual objects. By combining the reference object state and the target object state to determine the interaction feedback method of the reference virtual object to the state switching of the first virtual object, the determined interaction feedback can not only adaptively respond to the target object state switched by the first virtual object, but also match the current reference object state corresponding to the reference virtual object. This makes the interaction feedback closer to the interaction feedback in a real scene, thereby achieving the technical effect of improving the realism of object interaction.

[0225] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0226] According to another aspect of the embodiments of this application, an object interaction apparatus for implementing the above-described object interaction method is also provided. For example... Figure 13 As shown, the device includes:

[0227] The first display unit 1302 is used to display a first virtual object in an object interaction interface, wherein the object interaction interface is used to present the virtual interaction space of the virtual community where the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object.

[0228] The determining unit 1304 is configured to, in response to the object state switching operation of the first virtual object, determine to switch the object state of the first virtual object to the target object state, and display the first virtual object in the object interaction interface according to the target object state;

[0229] The second display unit 1306 is used to display, in the object interaction interface, the interactive feedback made by the reference virtual object in response to the state of the target object when a reference virtual object that satisfies the interaction conditions is determined from at least one second virtual object.

[0230] Optionally, in some embodiments, the second display unit includes: a first playback module for playing an animation of a reference virtual object performing an interactive action matching the state of a target object; a first display module for displaying an interactive message matching the state of the target object in an object message area associated with the reference virtual object; and a second playback module for displaying a playback control in an interactive control display area associated with the reference virtual object, and playing a voice message matching the state of the target object when the playback control is touched.

[0231] Optionally, in some embodiments, the first playback module is further configured to: play an animation of the reference virtual object performing interactive actions on the virtual item; play an animation of the reference virtual object adjusting its display distance from the first virtual object in the virtual interactive space; play an animation of the reference virtual object performing object posture switching actions; and play an animation of the reference virtual object performing object facial expression switching actions.

[0232] Optionally, in some embodiments, the above-described apparatus further includes: a third display unit, configured to display a state editing interface in response to a touch operation on a state switching control displayed in the object interaction interface, wherein an object state display panel is displayed in the state editing interface, at least one object state display tab is displayed in the object state display panel, and each object state display tab in the at least one object state display tab is used to display different types of object states; a fourth display unit, configured to display a target object display tab in the object display panel in response to a selection operation on a target object display tab in the at least one object state display tab; and a first determining unit, configured to determine the target candidate object state as the target object state in response to a selection operation on a target candidate object state in the target object display tab.

[0233] Optionally, in some embodiments, the above-described apparatus further includes: a first playback unit, configured to play a state preview animation corresponding to the target object state in an object state display panel when the cursor object moves to the target candidate object state; and a second playback unit, configured to play a preview animation of the first virtual object being in the target object state in a state editing interface when the cursor object moves to the target candidate object state.

[0234] Optionally, in some embodiments, the above apparatus further includes: a sending unit, configured to send the first object position of the first virtual object in the virtual interactive space to a server, wherein the server is configured to determine a reference virtual object that satisfies the interaction conditions based on the distance between the first object position and the corresponding second object position of each of the at least one second virtual object in the virtual interactive space; and a receiving unit, configured to receive the object identifier of the reference virtual object and the reference position of the reference virtual object in the virtual interactive space.

[0235] Optionally, in some embodiments, the above-described apparatus further includes: an acquisition unit, configured to acquire the first object position of the first virtual object in the virtual interactive space, and the second object position of each of the at least one second virtual objects in the virtual interactive space; a second determination unit, configured to determine a reference object region based on the first object position and the target distance, wherein the reference object region is a circular region defined by the first object position as the center and the target distance as the radius; and a third determination unit, configured to determine the second virtual object whose second object position is located in the reference object region as the reference virtual object.

[0236] Optionally, in some embodiments, the above-described apparatus further includes: a fourth determining unit, configured to determine reference state description information of the reference object state and target state description information of the target object state when the reference object state corresponding to the current reference virtual object indicates that the second virtual object carries a virtual prop, wherein the reference state description information is used to describe the state attributes of the reference object state and the target state description information is used to describe the state attributes of the target object state; a generating unit, configured to generate reference state features of the reference object state based on the reference state description information and generate target state features of the target object state based on the target state description information; and a fifth determining unit, configured to determine interactive feedback using the reference state features and the target state features.

[0237] Optionally, in some embodiments, the above-described apparatus further includes: a fifth display unit, configured to display at least one candidate interactive control in an interactive control display area associated with the reference virtual object; and a prompting unit, configured to, in response to a touch operation on a target interactive control among the at least one candidate interactive control, send an interactive message matching the target interactive control to the reference virtual object, and prompt that the interactive message has been successfully sent to the reference virtual object.

[0238] Optionally, in some embodiments, the above-mentioned prompting unit includes: a second display module, configured to display an interactive message sending window in the object interaction interface, and display the interactive message sent to the reference virtual object in the interactive message window; a third display module, configured to display prompting information in the object interaction interface for prompting to jump to a communication application associated with the virtual community; in response to the operation of the prompting information, displaying a communication interface in the communication application for communication between the target account and the reference account, and displaying the interactive message sent to the reference account in the communication interface, wherein the reference account is used to control the reference virtual object, and the target account is used to control the first virtual object.

[0239] Optionally, in some embodiments, the above-described apparatus further includes: a sixth determining unit, configured to determine a virtual resource matching the touch operation when the interactive message matching the target interactive control is a virtual resource gifting message; and a notification unit, configured to notify the server to configure the virtual resource to the reference virtual object.

[0240] Optionally, in some embodiments, the above-described apparatus further includes: a seventh determining unit, configured to determine, when the interactive message matching the target interactive control is a relationship creation request message, and a notification message indicating acceptance of the relationship creation request message from the reference virtual object is received, to determine the association between the first virtual object and the reference virtual object, wherein the relationship creation request message is used to request the creation of the association between the first virtual object and the reference virtual object.

[0241] Optionally, in some embodiments, the above-described apparatus further includes: a sixth display unit, configured to display a task execution interface for executing a target task when the interactive message matching the target interactive control is a task invitation message and a prompt message for acceptance of the task invitation message from the reference virtual object is received, wherein the task invitation message is used to request the reference virtual object and the first virtual object to jointly participate in the target task, and the first virtual object and the reference virtual object are displayed in the task execution interface.

[0242] For specific implementation examples, please refer to the examples shown in the object interaction method above. This embodiment will not be repeated here.

[0243] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described object interaction method is also provided, the electronic device being... Figure 1 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 14 As shown, the electronic device includes a memory 1402 and a processor 1404. The memory 1402 stores a computer program, and the processor 1404 is configured to execute the steps of any of the above method embodiments via the computer program.

[0244] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.

[0245] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0246] S1, Display the first virtual object in the object interaction interface, wherein the object interaction interface is used to present the virtual interaction space of the virtual community where the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object.

[0247] S2, in response to the object state switching operation of the first virtual object, determine to switch the object state of the first virtual object to the target object state, and display the first virtual object in the object interaction interface according to the target object state;

[0248] S3, if a reference virtual object that satisfies the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the state of the target object is displayed in the object interaction interface.

[0249] Alternatively, as those skilled in the art will understand, Figure 14The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 14 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 14 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 14 The different configurations shown.

[0250] The memory 1402 can be used to store software programs and modules, such as the program instructions / modules corresponding to the object interaction method and apparatus in this embodiment. The processor 1404 executes various functional applications and data processing by running the software programs and modules stored in the memory 1402, thereby realizing the aforementioned object interaction method. The memory 1402 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1402 may further include memory remotely located relative to the processor 1404, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. As an example, such as... Figure 14 As shown, the memory 1402 may include, but is not limited to, the first display unit 1302, the determination unit 1304, and the second display unit 1306 in the object interaction device. Furthermore, it may include, but is not limited to, other module units in the object interaction device, which will not be elaborated upon in this example.

[0251] Optionally, the transmission device 1406 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1406 includes a Network Interface Controller (NIC), which can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1406 is a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0252] In addition, the aforementioned electronic device also includes a connection bus 1408 for connecting various module components in the aforementioned electronic device.

[0253] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a point-to-point network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this point-to-point network.

[0254] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods described above. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in the embodiments of this application.

[0255] According to one aspect of this application, another computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the methods in various embodiments of this application.

[0256] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described method.

[0257] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0258] S1, Display the first virtual object in the object interaction interface, wherein the object interaction interface is used to present the virtual interaction space of the virtual community where the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object.

[0259] S2, in response to the object state switching operation of the first virtual object, determine to switch the object state of the first virtual object to the target object state, and display the first virtual object in the object interaction interface according to the target object state;

[0260] S3, if a reference virtual object that satisfies the interaction conditions is determined from at least one second virtual object, the interactive feedback made by the reference virtual object in response to the state of the target object is displayed in the object interaction interface.

[0261] It should be noted that the data collection and processing described in this application should be strictly in accordance with the requirements of relevant national laws and regulations, obtaining the informed consent or separate consent of the personal information subject, and conducting subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.

[0262] Optionally, in the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program with a predetermined function, which works together with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0263] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0264] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0265] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0266] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.

[0267] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0268] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0269] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method of object interaction, the method comprising: Comprising: displaying a first virtual object in an object interaction interface, wherein the object interaction interface is used to present a virtual interaction space of a virtual community in which the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object; in response to an object state switching operation on the first virtual object, determining to switch the object state of the first virtual object to a target object state, and displaying the first virtual object in the object interaction interface according to the target object state; in a case where a reference virtual object that meets an interaction condition is determined from the at least one second virtual object, displaying the reference virtual object in the object interaction interface for interaction feedback in response to the target object state.

2. The method of claim 1, wherein, The displaying the reference virtual object in the object interaction interface for interaction feedback in response to the target object state comprises at least one of: playing an animation of the reference virtual object performing an interaction action matched with the target object state; displaying an interaction message matched with the target object state in an object message area associated with the reference virtual object; displaying a play control in an interaction control display area associated with the reference virtual object, and playing a voice message matched with the target object state in a case where the play control is touched.

3. The method of claim 2, wherein, The playing the animation of the reference virtual object performing the interaction action matched with the target object state comprises one of: playing an animation of the reference virtual object performing an interaction action on a virtual item; playing an animation of the reference virtual object adjusting a display distance from the first virtual object in the virtual interaction space; playing an animation of the reference virtual object performing an object posture switching action; playing an animation of the reference virtual object performing an object facial expression switching action.

4. The method of claim 1, wherein, After displaying the first virtual object in the object interaction interface according to the target object state, further comprising: in response to a touch operation on a state switching control displayed in the object interaction interface, displaying a state editing interface, wherein an object state display panel is displayed in the state editing interface, at least one object state display tab is displayed in the object state display panel, and each object state display tab in the at least one object state display tab is used to display an object state of a different type; in response to a selection operation on a target object display tab in the at least one object state display tab, displaying the target object display tab in the object display panel; in response to a selection operation on a target candidate object state in the target object display tab, determining the target candidate object state as the target object state.

5. The method of claim 4, wherein, After displaying the target object display tab in the object display panel in response to the selection operation on the target object display tab in the at least one object state display tab, further comprising: in a case where a cursor object moves to the target candidate object state, playing a state preview animation corresponding to the target object state in the object state display panel; or In a case that the cursor object moves to the target candidate object state, a preview animation of the first virtual object in the target object state is played in the state editing interface.

6. The method of claim 1, wherein, In response to the object state switching operation of the first virtual object, after determining to switch the object state of the first virtual object to the target object state, the method further includes: sending a first object position of the first virtual object in the virtual interactive space to a server, wherein the server is configured to determine the reference virtual object satisfying the interaction condition according to distances between the first object position and respective second object positions of the at least one second virtual object in the virtual interactive space. receiving an object identifier of the reference virtual object and a reference position of the reference virtual object in the virtual interactive space.

7. The method of claim 1, wherein, In response to the object state switching operation of the first virtual object, after determining to switch the object state of the first virtual object to the target object state, the method further includes: obtaining a first object position of the first virtual object in the virtual interactive space and respective second object positions of the at least one second virtual object in the virtual interactive space; determining a reference object region based on the first object position and a target distance, wherein the reference object region is a circular region with the first object position as the center and the target distance as the radius; determining, as the reference virtual object, a second virtual object of the at least one second virtual object whose second object position is located in the reference object region.

8. The method according to any one of claims 1 to 7, characterized in that, Before displaying the first virtual object in the target object state in the object interaction interface, the method further includes: in a case that a reference object state currently corresponding to the reference virtual object indicates that the second virtual object carries a virtual prop, determining reference state description information of the reference object state and target state description information of the target object state, wherein the reference state description information is used to describe state attributes of the reference object state, and the target state description information is used to describe state attributes of the target object state; generating reference state features of the reference object state based on the reference state description information and target state features of the target object state based on the target state description information; determining the interaction feedback by using the reference state features and the target state features.

9. The method according to any one of claims 1 to 7, characterized in that, When displaying the reference virtual object in the object interaction interface for responding to the interaction feedback made by the target object state, the method further includes: displaying at least one candidate interaction control in an interaction control display region associated with the reference virtual object; in response to a touch operation on a target interaction control of the at least one candidate interaction control, sending an interaction message matched with the target interaction control to the reference virtual object, and prompting that the interaction message has been successfully sent to the reference virtual object.

10. The method of claim 9, wherein, The prompting that the interaction message has been successfully sent to the reference virtual object includes: displaying an interactive message sending window in the object interaction interface, and displaying the interactive message that has been sent to the reference virtual object in the interactive message window; or displaying prompt information for prompting to jump to a communication application associated with the virtual community in the object interaction interface; in response to an operation on the prompt information, displaying a communication interface in which a target account communicates with a reference account in the communication application, and displaying the interactive message that has been sent to the reference account in the communication interface, wherein the reference account is used to control the reference virtual object, and the target account is used to control the first virtual object.

11. The method of claim 9, wherein, after the sending of the interactive message matching the target interactive control to the reference virtual object, further comprising: in a case where the interactive message matching the target interactive control is a virtual resource gifting message, determining a virtual resource matching the touch operation; configuring the virtual resource to the reference virtual object by a server.

12. The method of claim 9, wherein, after the sending of the interactive message matching the target interactive control to the reference virtual object, further comprising: in a case where the interactive message matching the target interactive control is a relationship creation request message, and an acceptance prompt message of the reference virtual object to the relationship creation request message is received, determining to create an association relationship between the first virtual object and the reference virtual object, wherein the relationship creation request message is used to request to create the association relationship between the first virtual object and the reference virtual object.

13. The method of claim 9, wherein, after the sending of the interactive message matching the target interactive control to the reference virtual object, further comprising: in a case where the interactive message matching the target interactive control is a task invitation message, and an acceptance prompt message of the reference virtual object to the task invitation message is received, displaying a task execution interface for executing a target task, wherein the task invitation message is used to request the reference virtual object to participate in the target task together with the first virtual object, and the first virtual object and the reference virtual object are displayed in the task execution interface.

14. An object interaction device, characterized by comprising: a first display unit, configured to display a first virtual object in an object interaction interface, wherein the object interaction interface is used to present a virtual interaction space of a virtual community in which the first virtual object is located, and the virtual interaction space includes the first virtual object and at least one second virtual object; a determination unit, configured to determine to switch an object state of the first virtual object to a target object state in response to an object state switching operation on the first virtual object, and display the first virtual object in the object interaction interface according to the target object state; a second display unit, configured to display a reference virtual object in the object interaction interface in a case where the reference virtual object that meets an interactive condition is determined from the at least one second virtual object, the reference virtual object being used to respond to an interactive feedback made according to the target object state.

15. A computer readable storage medium, characterized in that, The computer readable storage medium includes a stored program, wherein the program is executed by a processor to perform the method in any one of claims 1 to 13.

16. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction is executed by a processor to implement the steps of the method in any one of claims 1 to 13.

17. An electronic device comprising a memory and a processor, characterized in that The memory stores a computer program, and the processor is configured to perform the method in any one of claims 1 to 13 by using the computer program.