Interaction method and apparatus for virtual object, and storage medium, electronic device and program product
By responding to user interaction operations in the virtual scene and displaying interactive options and effects that match the virtual state, it solves the problem of a single interaction method with virtual objects and improves user interaction willingness and experience.
Patent Information
- Application Number
- PCT/CN2023/120932
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-11-23
- Filing Date
- 2023-09-25
- Publication Date
- 2024-09-19
AI Technical Summary
The interaction method of virtual objects in existing virtual scenes is too simple, resulting in users' poor willingness to interact and the lack of personalized and rich interactive feedback.
Display virtual objects in the target virtual state in the virtual scene, display the target interactive interface in response to user interaction, provide interactive options that match the virtual state, and display interactive effects associated with the options through interactive operations, including animation, text, and sound effects. And set different interactive information according to probability to increase randomness.
It improves the interactive effect of virtual objects, enhances the user's willingness to interact and usage experience, and avoids the problem of too single and cookie-cutter interactive effects.
Smart Images

Figure CN2023120932_19092024_PF_FP_ABST
Abstract
Description
Virtual object interaction method, device, storage medium, electronic device and program product
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on November 23, 2022, with application number 202211476949.X and application name “Interaction method and device for virtual objects, storage medium and electronic device”. Technical Field
[0002] The present application relates to the field of computers, and more specifically, to a method, device, storage medium, electronic device, and program product for interacting with virtual objects.
[0003] Background of the Invention
[0004] Currently, the typical way to interact with virtual objects in virtual scenes is to click on a virtual character to access their profile page, where buttons for interacting with friends, such as a "Like" button, are displayed. However, this interaction method isn't integrated with the virtual character's status; each virtual character interacts in exactly the same way. This lacks a sense of novelty for users, preventing them from receiving effective feedback and resulting in a relatively monotonous interaction experience with virtual objects.
[0005] To address the above-mentioned problems, no effective solutions have been proposed so far.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method, device, storage medium, electronic device and program product for interacting with a virtual object, so as to at least solve the technical problem in the related art that users have a low willingness to interact with each other due to the overly simple interactive effect of the virtual object.
[0008] According to one aspect of an embodiment of the present application, a method for interacting with a virtual object is provided, which is performed by an electronic device and includes:
[0009] Displaying a first virtual object in a target virtual state in a virtual scene of a target application;
[0010] In response to a first interactive operation performed on the first virtual object, displaying a target interactive interface, wherein the target interactive interface is provided with at least one interactive option corresponding to the target virtual state; and
[0011] In response to a second interaction operation performed on a first interaction option among the at least one interaction option, first target interaction information is displayed, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
[0012] According to another aspect of the embodiment of the present application, there is also provided a virtual object interaction device, comprising:
[0013] A first display module, configured to display a first virtual object in a target virtual state in a virtual scene of a target application;
[0014] a second display module, configured to display a target interaction interface in response to a first interaction operation performed on the first virtual object, wherein the target interaction interface is provided with at least one interaction option corresponding to the target virtual state; and
[0015] The third display module is used to display first target interaction information in response to a second interaction operation performed on a first interaction option among the at least one interaction option, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
[0016] According to another aspect of an embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned virtual object interaction method when running.
[0017] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, the computer program product or computer program including 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 above-described virtual object interaction method.
[0018] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned virtual object interaction method through the computer program.
[0019] BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0021] FIG1 is a schematic diagram of an application environment of an optional virtual object interaction method according to an embodiment of the present application;
[0022] FIG2 is a schematic flow chart of an optional virtual object interaction method according to an embodiment of the present application;
[0023] FIG3 is a schematic diagram of an optional virtual object interaction method according to an embodiment of the present application;
[0024] FIG4 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0025] FIG5 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0026] FIG6 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0027] FIG7 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0028] FIG8 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0029] FIG9 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0030] FIG10 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0031] FIG11 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0032] FIG12 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0033] FIG13 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0034] FIG14 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application;
[0035] FIG15 is a schematic structural diagram of an optional virtual object interaction device according to an embodiment of the present application;
[0036] FIG16 is a schematic structural diagram of an optional interactive product of a virtual object according to an embodiment of the present application;
[0037] FIG17 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
[0038] Implementation Method
[0039] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:
[0042] Virtual social networking: Users use customized 2D or 3D humanoid models to chat with others using virtual objects.
[0043] The present application will be described below with reference to the following embodiments:
[0044] According to one aspect of an embodiment of the present application, a method for interacting with a virtual object is provided. Optionally, in this embodiment, the method for interacting with a virtual object can be applied to a hardware environment consisting of a server 101 and a terminal device 103 as shown in FIG1 .
[0045] As shown in Figure 1, the server 101 is connected to the terminal device 103 through the network and can be used to provide services for the terminal device or the application installed on the terminal device 103. The application can be a video application, instant messaging application, browser application, educational application, game application, etc.
[0046] The database 105 may be set up on the server 101 or independently of the server 101 to provide data storage services for the server 101, such as a game data storage server.
[0047] The above-mentioned network may include but is not limited to: wired network, 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 realize wireless communication.
[0048] The terminal device 103 can be a terminal configured with an application, and can include but is not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), laptops, tablets, PDAs, MIDs (Mobile Internet Devices), PADs, desktop computers, smart TVs, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, virtual reality (VR) terminals, augmented reality (AR) terminals, mixed reality (MR) terminals and other computer devices. The above-mentioned server can be a single server, a server cluster consisting of multiple servers, or a cloud server.
[0049] 1 , the above virtual object interaction method can be implemented on the terminal device 103 through the following steps:
[0050] S1, in a target application on the terminal device 103, displaying a virtual scene, and displaying a first virtual object in a target virtual state in the virtual scene;
[0051] S2, in response to a first interactive operation performed on the first virtual object, displaying a target interactive interface on the terminal device 103, wherein the target interactive interface is provided with at least one interactive option corresponding to the target virtual state, each interactive option corresponding to an interactive method for interacting with the first virtual object;
[0052] S3, in response to the second interactive operation performed on the first interactive option, first target interactive information is displayed on the terminal device 103, wherein the first interactive option is the interactive option selected in the target interactive interface based on the second interactive operation, and the first target interactive information represents the interactive effect associated with the first interactive option displayed for the first virtual object.
[0053] Optionally, in this embodiment, the above-mentioned virtual object interaction method can also be implemented through a server, for example, implemented in the server 101 shown in Figure 1; or implemented jointly by the terminal device and the server, for example, implemented jointly by the terminal device 103 and the server 101 shown in Figure 1.
[0054] The above is only an example and is not specifically limited in this embodiment.
[0055] FIG2 is a flow chart of an optional virtual object interaction method according to an embodiment of the present application, which is executed by an electronic device, such as the terminal device 103 and / or the server 101 shown in FIG1 . As shown in FIG2 , the virtual object interaction method includes:
[0056] S202: Display a first virtual object in a target virtual state in a virtual scene of a target application.
[0057] Optionally, in this embodiment, the target application is an application that has a virtual object associated with a login account and allows interaction with the virtual object, including but not limited to social applications, game applications, e-commerce applications, travel applications, etc.
[0058] It should be noted that the above-mentioned virtual object interaction method can be applied to, but is not limited to, various applications. For example, taking a target application as a game application, the game application can be a Multiplayer Online Battle Arena (MOBA) or a Single-Player Game (SPG). Without further specific limitation, the game application can include, but is not limited to, shooting applications, role-playing applications, real-time strategy applications, etc. The shooting applications can include, but are not limited to, first-person shooter applications, third-person shooter applications, and shooting applications capable of switching between first-person and third-person perspectives. The target application can also include, but is not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. The above is merely an example, and this embodiment does not impose any limitations thereto.
[0059] Optionally, in this embodiment, the above-mentioned target virtual state may include but is not limited to: a virtual state pre-set by an account associated with the first virtual object, or a virtual state pre-set by the system, or a virtual state pre-set based on relevant information such as time information, game information, social information, etc. related to the first virtual object.
[0060] In an exemplary embodiment, the target virtual state may include but is not limited to: a virtual state in which the first virtual object is sleeping, a virtual state in which the first virtual object is dancing, a virtual state in which the first virtual object is in a certain emotion, a virtual state corresponding to when a certain attribute parameter of the first virtual object is a preset value or is within a preset range, for example, a hungry state in which the virtual hunger value is less than a preset hunger threshold, a tired state in which the virtual spirit value is less than a preset spirit threshold, etc.
[0061] Optionally, in this embodiment, the first virtual object may be displayed in the virtual scene of the target application, and may be displayed in a combination of one or more modes such as a virtual identity identifier, a virtual image, and a virtual avatar.
[0062] Exemplarily, Figure 3 is a schematic diagram of an optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 3, a virtual scene 302 of a target application is included, and a group of virtual objects are displayed in the virtual scene 302, including virtual object 304, virtual object 306, etc., wherein each virtual object corresponds to an account allowed to log in to the target application, different virtual objects can be in the same or different virtual states, and the first virtual object in the target virtual state can be virtual object 306 shown in Figure 3.
[0063] It should be noted that when displaying the first virtual object in the target virtual state in the virtual scene of the target application, a group of virtual objects may be displayed in the virtual scene of the target application, wherein the group of virtual objects includes the first virtual object and other virtual objects.
[0064] S204 , in response to a first interactive operation performed on the first virtual object, displaying a target interactive interface, wherein the target interactive interface is provided with at least one interactive option corresponding to the target virtual state.
[0065] Each interaction option corresponds to an interaction method for interacting with the first virtual object.
[0066] Optionally, in this embodiment, the first interactive operation may include but is not limited to interactive operations performed on the first virtual object such as clicking, long pressing, releasing, double-clicking, gestures, and voice.
[0067] The above-mentioned target interaction interface may include but is not limited to being provided with at least one interaction option that allows interaction with the first virtual object. The interaction option can be set to an interaction option that matches the above-mentioned target virtual state. For example, when the target virtual state is that the first virtual object is in a sleeping state, the interaction options corresponding to the interaction methods such as waking up, spitting water, covering a quilt, feeding food, etc. can be executed on the first virtual object.
[0068] Optionally, in this embodiment, the above-mentioned display of the target interactive interface in response to the first interactive operation performed on the first virtual object may include but is not limited to obtaining the target virtual state of the above-mentioned first virtual object in response to the above-mentioned first interactive operation, and displaying the above-mentioned target interactive interface according to the above-mentioned target virtual state.
[0069] Exemplarily, Figure 4 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 4, a virtual scene 402 of a target application is included, and a group of virtual objects are displayed in the virtual scene 402, including a virtual object 404, etc. In response to a click operation performed on the virtual object 404 (corresponding to the aforementioned first interaction operation), the target virtual state of the virtual object 404 is obtained as a sleep state, and a target interaction interface 406 corresponding to the sleep state is displayed, wherein the target interaction interface 406 includes at least one of the above-mentioned interaction options consisting of interaction options 408, interaction options 410 and interaction options 412, and each interaction option is an interaction option that is allowed to be executed when the first virtual object is in the sleep state.
[0070] S206 , in response to a second interaction operation performed on a first interaction option among at least one interaction option, display first target interaction information, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
[0071] Optionally, in this embodiment, the second interactive operation may include but is not limited to click, long press, release, double click, gesture, voice and other interactive operations performed on the first interactive option.
[0072] The first target interactive information may include but is not limited to interactive content associated with the first interactive option, for example, may include but is not limited to text content, animation content, sound effect content, etc.
[0073] Optionally, the above-mentioned first target interaction information may include but is not limited to a specific interaction effect associated with the first interaction option and set for the first virtual object. That is, when the first interaction option corresponding to the target virtual state is triggered, the interaction effect indicated by the first target interaction information is different for different virtual objects.
[0074] Exemplarily, Figure 5 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 5, it includes a target interaction interface 502 displayed on the target application, and the target interaction interface 502 includes interaction options 504 and other interaction options. By performing a second interaction operation on the interaction option 504, the interaction method associated with the above-mentioned interaction option 504 is started to be performed on the first virtual object. The interaction method is displayed through the above-mentioned first target interaction information, for example, animation 506, including displaying a splashing animation on the first virtual object, and text 508, including displaying text indicating that water is being splashed on the first virtual object. The above-mentioned animation 506 and text 508 are both elements of the above-mentioned first target interaction information to indicate that the interaction with the above-mentioned first virtual object is completed.
[0075] Through this embodiment, a first virtual object in a target virtual state is displayed in a virtual scene of a target application, and a target interaction interface is displayed in response to a first interaction operation performed on the first virtual object, wherein the target interaction interface is provided with at least one interaction option corresponding to the target virtual state, and in response to a second interaction operation performed on a first interaction option of the at least one interaction option, first target interaction information is displayed, wherein the first interaction option is the interaction option selected in the target interaction interface by the second interaction operation, and the first target interaction information represents a way of displaying an interaction effect associated with the first interaction option for the first virtual object. By displaying the target interaction interface corresponding to the target virtual state, the user can select an interaction method corresponding to the target virtual state. By displaying the first target interaction information associated with the first interaction option with the first virtual object, the purpose of personalized interaction between users is achieved, thereby achieving the technical effect of enriching the interaction effect of virtual objects, improving the interaction willingness between users, and optimizing the user experience, thereby solving the technical problem in the related art that the interaction effect of virtual objects is too single, resulting in poor interaction willingness between users.
[0076] As an optional solution, in response to a second interaction operation performed on a first interaction option among at least one interaction option, displaying first target interaction information includes:
[0077] In response to the second interactive operation, determining to display the first interactive information or the second interactive information, wherein,
[0078] The first interaction information represents an interactive effect of a first expression form displayed for the first virtual object, and the first interaction information is set to be displayed according to a first preset probability;
[0079] The second interaction information represents an interactive effect of a second expression form displayed for the first virtual object. The second interaction information is set to be displayed according to a second preset probability, and the second expression form is different from the first expression form.
[0080] The preset probability refers to the probability threshold set for displaying interactive information. In practice, displaying according to the preset probability can be achieved by first generating a random number and then comparing the random number with the threshold represented by the preset probability to determine whether to display the corresponding interactive information.
[0081] Optionally, in this embodiment, the above-mentioned first interaction information can be set to a conventional interaction method corresponding to the above-mentioned target virtual state, for example, water is sprayed toward the first virtual object at a relatively steady water flow rate, and text with relatively peaceful semantics is displayed to indicate that a first form of interaction has occurred with the first virtual object.
[0082] Optionally, in this embodiment, the second interaction information may be set to an unconventional interaction method corresponding to the target virtual state, for example, splashing water at the first virtual object with a relatively intense water flow rate and displaying text with relatively intense semantics to indicate that a second form of interaction has occurred with the first virtual object.
[0083] Optionally, in this embodiment, the first and second forms of expression may include but are not limited to a combination of one or more of the amplitude of interaction, duration of interaction, and display color. The difference between the first and second forms of expression refers to a combination of one or more of the following: the first interactive information and the second interactive information have different amplitudes of interaction, different durations of interaction, and different display colors. The difference in amplitude of interaction refers to a larger or smaller amplitude of interaction of the second interactive information than that of the first interactive information; the difference in duration of interaction refers to a longer or shorter duration of interaction of the second interactive information than that of the first interactive information; the difference in display color refers to a brighter or cooler display color of the second interactive information than that of the first interactive information.
[0084] It should be noted that the content corresponding to the above-mentioned different forms of expression can be pre-set by the account controlling the first virtual object or the account interacting with the first virtual object. The above-mentioned first preset probability and second preset probability can be pre-set by the system, or pre-set by the account controlling the first virtual object, or pre-set by the account interacting with the first virtual object. The above-mentioned first preset probability and second preset probability can be the same or different.
[0085] For example, FIG6 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in FIG6 , it includes a target interaction interface 602 displayed on a target application, and the target interaction interface 602 includes an interaction option 604 and other interaction options. By performing a second interaction operation on the interaction option 604, an interaction method associated with the above-mentioned interaction option 604 is started to be performed on the first virtual object. The interaction method is displayed through the above-mentioned first interaction information or second interaction information according to the first preset probability or the second preset probability, wherein the first interaction The dynamic information includes animation 606 and text 608, and the second interactive information includes animation 610 and text 612. Animation 606 and animation 610 both represent animations of splashing water on the first virtual object, but the interactive amplitude of animation 610 is higher than that of animation 606, that is, the splashing rate of animation 610 is greater than that of animation 606; text 608 and text 612 both represent texts of splashing water on the first virtual object, but the interactive amplitude of text 612 is higher than that of text 608, that is, the semantic intensity of text 612 is higher than that of text 608.
[0086] Through this embodiment, when initiating interaction with the first virtual object, different interaction information can be displayed according to probability to increase the randomness of the interaction effect and avoid the interaction effect being too single.
[0087] As an optional solution, in response to the second interactive operation performed on the first interactive option, when the second interactive information is displayed, the interaction amplitude corresponding to the second expression form is stronger than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability; or, the interaction amplitude corresponding to the second expression form is weaker than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability.
[0088] Optionally, in this embodiment, the above-mentioned interaction amplitude may include but is not limited to the action amplitude indicating the interaction behavior, the behavior rate of the interaction behavior, the behavior number of the interaction behavior, etc.
[0089] Optionally, in this embodiment, the first preset probability being greater than the second preset probability means that when the user performs the second interactive operation on the first interactive option, the second interactive information is displayed with a smaller probability and the first interactive information is displayed with a larger probability. For example, the first form of expression can be understood as a conventional attack operation, and the second form of expression can be understood as a critical attack operation. At this time, the first interactive information corresponding to the first form of expression is an interactive behavior performed under normal circumstances, and the second interactive information corresponding to the second form of expression is an interactive behavior performed under unconventional circumstances.
[0090] For example, FIG7 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in FIG7 , a target interaction interface 702 is displayed on a target application. The target interaction interface 702 includes an interaction option 704 and other interaction options. By performing a second interaction operation on the interaction option 704, an interaction method associated with the interaction option 704 is started on the first virtual object. The interaction method is displayed through the first interaction information or the second interaction information according to the first preset probability or the second preset probability. Taking the first preset probability of 0.8 and the second preset probability of 0.2 as an example, if 100 users perform the second interaction operation on the first virtual object, approximately 80 users will be displayed with the second interaction information, and approximately 20 users will be displayed with the first interaction information. Among them, the first interactive information includes animation 706 and text 708, and the second interactive information includes animation 710 and text 712. Animation 706 and animation 710 both represent animations of swishing at the first virtual object, but the interactive amplitude of animation 706 is higher than that of animation 710, that is, the swishing rate of animation 706 is greater than that of animation 710. Text 712 and text 708 both represent texts of swishing at the first virtual object, but the interactive amplitude of text 708 is higher than that of text 712, that is, the semantic intensity of text 708 is higher than that of text 712.
[0091] Through this embodiment, when initiating interaction with the first virtual object, interactive information with different interaction amplitudes can also be displayed according to different probabilities to increase the randomness of the interactive effect, avoid the technical problem of too single interactive effect, optimize the user experience, and avoid uniformity.
[0092] Optionally, the first target interaction information is set to be associated with the first virtual object and the first interaction option at the same time, and the degree of association may be different.
[0093] As an optional solution, in response to a second interaction operation performed on a first interaction option among at least one interaction option, displaying the first target interaction information includes at least one of the following:
[0094] In response to the second interaction operation, target text information is displayed, wherein the target text information is used to represent a text interaction effect associated with the first interaction option displayed for the first virtual object;
[0095] In response to the second interaction operation, target animation information is displayed, wherein the target animation information is used to represent an animation interaction effect associated with the first interaction option displayed for the first virtual object;
[0096] In response to the second interaction operation, target sound effect information is displayed, wherein the target sound effect information is used to represent the sound interaction effect associated with the first interaction option displayed for the first virtual object.
[0097] Optionally, in this embodiment, the target text information refers to text information indicating that an association with the first interactive option has occurred with the first virtual object. For example, if the target virtual state indicates that the first virtual object is sleeping, the target text information may indicate text for waking up the first virtual object, text for teasing the first virtual object, etc. Of course, the target text information may also be associated with the meaning of the first interactive option itself, and also with the first virtual object, for example, with the name, nickname, or type of the first virtual object, for example, "XX, it's time to get up!", where "XX" is the name of the first virtual object or the name of the type to which the first virtual object belongs. In this case, the target text information may have a lower correlation with the meaning of the first interactive option itself.
[0098] Optionally, in this embodiment, the target animation information refers to animation information indicating that the first virtual object has experienced an interaction associated with the first interactive option. For example, if the target virtual state indicates that the first virtual object is sleeping, the animation information may represent an animation that wakes the first virtual object, an animation that teases the first virtual object, or the like. Of course, the target animation information may also be associated with the meaning of the first interactive option itself, while also being associated with the first virtual object. For example, the target animation information may include changes to the virtual model of the first virtual object. For example, if the target animation information shows a water gun spraying water at the first virtual object, the first virtual object may jump up from the virtual bed. In this case, the target animation information may have a lower correlation with the meaning of the first interactive option itself.
[0099] Optionally, in this embodiment, the target sound effect information refers to sound effect information indicating that the first virtual object has experienced an interaction associated with the first interactive option. For example, if the target virtual state indicates that the first virtual object is sleeping, the target sound effect information may include a sound effect that wakes the first virtual object, a sound effect that teases the first virtual object, or the like. Of course, the target sound effect information may also be associated with the meaning of the first interactive option itself, while also being associated with the first virtual object. For example, the timbre of the first virtual object in the target sound effect information may also change. For example, when a water gun is displayed spraying water at the first virtual object, a splashing sound effect may play. When the splashing reaches a preset duration, the first virtual object jumps off the virtual bed and a voice message is played, the timbre of which may differ from the normal state. In this case, the target sound effect information may be less associated with the meaning of the first interactive option itself.
[0100] For example, FIG8 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in FIG8 , it includes a target interaction interface 802 displayed on a target application, the target interaction interface 802 includes an interaction option 804 and other interaction options. By performing a second interaction operation on the interaction option 804, an interaction method associated with the interaction option 804 is started to be performed on the first virtual object. The interaction method is displayed through the target text information (such as text 810), target animation information (such as animation 808), and target sound effect information (sound effect 806). Specifically, the sound effect 806 includes playing a voice message generated by a preset timbre of the first virtual object, the animation 808 includes a splashing animation of the first virtual object, and the text 810 includes text indicating that the first virtual object is being splashed. The sound effect 806, animation 808, and text 810 are all elements of the first target interaction information to indicate that the interaction with the first virtual object is completed.
[0101] As an optional solution, after displaying the first target interaction information in response to a second interaction operation performed on a first interaction option among at least one interaction option, the above method also includes: displaying the target interaction interface again; and displaying the second target interaction information in response to a third interaction operation performed on the first interaction option, wherein the presentation form of the second target interaction information is different from that of the first target interaction information.
[0102] Optionally, in this embodiment, the third interactive operation may include but is not limited to interactive operations performed on the first interactive option such as clicking, long pressing, releasing, double-clicking, gestures, and voice.
[0103] Optionally, in this embodiment, the target interaction interface displayed again refers to the interaction interface displayed in the target application after the first target interaction information is displayed, that is, when the first target interaction information is displayed or the display time meets the preset conditions, the target interaction interface is redisplayed to facilitate re-initiating interaction with the first virtual object. The third interaction operation is used to indicate that the first interaction option is selected again. At this time, the second target interaction information is displayed.
[0104] Optionally, in this embodiment, the second target interactive information may include but is not limited to interactive content associated with the first interactive option and different from the first target interactive information. For example, it may include but is not limited to different text content, different animation content, different sound effect content, or a combination of one or more of the above.
[0105] Exemplarily, Figure 9 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 9, it includes a target interaction interface 902 displayed on the target application, and the target interaction interface 902 includes interaction options 904 and other interaction options. By performing a second interaction operation on the interaction option 904, the interaction method associated with the above-mentioned interaction option 904 is started to be executed on the first virtual object. The interaction method is displayed through the above-mentioned first target interaction information 906. When the first target interaction information 906 shows that the preset conditions are met, the target interaction interface 908 is displayed again. The target interaction interface 908 includes interaction options 910 and other interaction options. By performing a third interaction operation on the interaction option 910, the interaction method associated with the above-mentioned interaction option 910 is started to be executed on the first virtual object.
[0106] It should be noted that when interaction option 910 and interaction option 904 are the same interaction option, the interaction effect of the second target interaction information is allowed to be different from the interaction effect of the first target interaction information. For example, the interaction amplitude of the second target interaction information is stronger than the interaction amplitude of the first target interaction information, or the interaction amplitude of the second target interaction information is weaker than the interaction amplitude of the first target interaction information.
[0107] In another embodiment, after displaying the first target interaction information in response to a second interaction operation performed on a first interaction option among at least one interaction option, the above method further includes: displaying the target interaction interface again; and displaying fourth target interaction information in response to a fifth interaction operation performed on a third interaction option, wherein the presentation form of the fourth target interaction information is obtained by updating the presentation form of the first target interaction information.
[0108] That is, when the target interaction interface is displayed again, the interactive options 910 and 904 at the same position on the interface are different interactive options. In this case, the interactive effect of the second target interactive information can be superimposed on the interactive effect of the first target interactive information, or combined with other interactive effects. The superimposed display may include but is not limited to displaying the interactive effect of the first target interactive information and other interactive effects simultaneously, and the combined display may include but is not limited to modifying the first target interactive information corresponding to the interactive option 904 to obtain the updated combined target interactive information as the fourth target interactive information.
[0109] Through this embodiment, when multiple interactions are initiated with the first virtual object, different interaction information can be displayed, and different interaction effects can be generated, thereby further improving the interaction willingness between users and optimizing the user experience.
[0110] As an optional solution, in response to the third interaction operation performed on the first interaction option, displaying the second target interaction information includes:
[0111] In response to the third interactive operation, determining to display the third interactive information or to display the fourth interactive information, wherein,
[0112] The third interaction information indicates an interaction effect of a third representation displayed for the first virtual object, where the interaction magnitude corresponding to the third representation is greater than the interaction magnitude corresponding to the representation of the first target interaction information;
[0113] The fourth interaction information represents an interaction effect of a fourth expression form displayed on the first virtual object, and the interaction amplitude corresponding to the fourth expression form is weaker than the interaction amplitude corresponding to the expression form of the first target interaction information.
[0114] Optionally, in this embodiment, the above-mentioned interaction amplitude may include but is not limited to the action amplitude indicating the interaction behavior, the behavior rate of the interaction behavior, the behavior number of the interaction behavior, etc.
[0115] Optionally, in this embodiment, the above-mentioned first form of expression refers to a regular attack operation, and the third form of expression refers to a critical attack operation. At this time, the first interactive information corresponding to the first form of expression is an interactive behavior performed under normal circumstances, and the third interactive information corresponding to the third form of expression is an interactive behavior performed under unconventional circumstances.
[0116] For example, FIG10 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in FIG10 , the method includes a target interaction interface displayed on a target application, a second interaction operation performed on an interaction option to initiate an interaction method associated with the interaction option with a first virtual object, and the interaction method is displayed via the first target interaction information 1006. When the first target interaction information 1006 indicates that a preset condition is met, the target interaction interface 1002 is displayed again. The re-displayed target interaction interface 1002 includes interaction option 1004 and other interaction options. A third interaction operation performed on interaction option 1004 initiates an interaction method associated with interaction option 1004 with the first virtual object, and the third interaction information 1008 and fourth interaction information 1010 are displayed. As can be seen from FIG10 , the water-swishing effect in the third interaction information 1008 is significantly stronger than that in the first target interaction information 1006, and the water-swishing effect in the fourth interaction information 1010 is significantly weaker than that in the first target interaction information 1006.
[0117] Through this embodiment, when multiple interactions are initiated with the first virtual object, interactive information with different interaction amplitudes can be displayed for each interaction process to increase the progressiveness of the interactive effect, avoid the technical problem of too single interactive effect, optimize the user experience, and avoid uniformity.
[0118] As an optional solution, in response to the third interaction operation performed on the first interaction option, after displaying the second target interaction information, the method further includes:
[0119] Displaying the target interactive interface again;
[0120] In response to a fourth interaction operation performed on the first interaction option, third target interaction information is displayed, wherein a presentation form of the third target interaction information is different from presentation forms of the first target interaction information and the second target interaction information.
[0121] Optionally, in this embodiment, the above-mentioned fourth interactive operation may include but is not limited to displaying the target interactive interface again after the above-mentioned second target interactive information is displayed or the display meets the preset conditions, and obtaining the fourth interactive operation performed on the first interactive option (or other interactive options other than the first interactive option) again to display the above-mentioned third target interactive information.
[0122] Optionally, in this embodiment, the fourth interactive operation may include but is not limited to interactive operations performed on the first interactive option such as clicking, long pressing, releasing, double-clicking, gestures, and voice.
[0123] Optionally, in this embodiment, the target interaction interface is an interactive interface displayed in the target application after the second target interaction information is displayed, that is, when the second target interaction information is displayed or the display time meets the preset conditions, the target interaction interface is redisplayed to facilitate re-initiating interaction with the first virtual object. The fourth interaction operation is used to indicate that the first interaction option is selected again. At this time, the third target interaction information is displayed.
[0124] Optionally, in this embodiment, the third target interactive information may include but is not limited to interactive content associated with the first interactive option and different from both the first target interactive information and the second target interactive information. For example, it may include but is not limited to different text content, different animation content, different sound effect content, and may be a combination of one or more of the above.
[0125] Exemplarily, Figure 11 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 11, it includes a target interaction interface 1102 displayed on the target application, and the target interaction interface 1102 includes interaction options 1104 and other interaction options. By performing a second interaction operation on the interaction option 1104, the interaction method associated with the above-mentioned interaction option 1104 is started to be executed on the first virtual object, and the interaction method is displayed through the above-mentioned first target interaction information 1106. When the first target interaction information 1106 shows that the preset conditions are met, the target interaction interface 1108 is displayed again (i.e., displayed for the second time). The target interaction interface 1108 displayed again includes interaction options 1110 and other interaction options. By performing a third interaction operation on the interaction option 1110, the interaction method associated with the above-mentioned interaction option 1110 is started to be executed on the first virtual object. The interaction method is displayed through the above-mentioned second target interaction information 1112. When the second target interaction information 1112 shows that the preset conditions are met, the target interaction interface 1114 is displayed for the third time. The target interaction interface 1114 displayed for the third time includes interaction options 1116 and other interaction options. By performing a fourth interaction operation on the interaction option 1116, the interaction method associated with the above-mentioned interaction option 1116 is started to be executed on the first virtual object. The interaction method is displayed through the above-mentioned third target interaction information 1118.
[0126] Through this embodiment, when multiple interactions are initiated with the first virtual object, different interaction information can be displayed, and different interaction effects can be generated, thereby further improving the interaction willingness between users and optimizing the user experience.
[0127] As an optional solution, the content of the second target interaction information is pre-set by the account that controls the first virtual object; or, the content of the second target interaction information is pre-set by the account that interacts with the first virtual object.
[0128] Optionally, in this embodiment, the content of the second target interaction information is pre-set by the account controlling the first virtual object, meaning that, after logging into the target application, each account can set the content of the interaction information displayed when other accounts initiate interactions with it. The content of the second target interaction information is pre-set by the account interacting with the first virtual object, meaning that, after logging into the target application, each account can set the content of the interaction information displayed when it initiates interactions with other accounts.
[0129] It should be noted that corresponding animation, text, sound effects and other content can be set for each interactive option, which may include but is not limited to a combination of one or more of the above. For each interactive option, the interactive information displayed when it is first initiated and the interactive information displayed when it is initiated again can be set for each interactive option. It can also include but is not limited to the interactive information displayed each time it is initiated thereafter. The content of the interactive information displayed each time it is initiated can be set individually or uniformly.
[0130] As an optional solution, the content of the first target interaction information is pre-set by the account controlling the first virtual object according to the target virtual state; or, the content of the first target interaction information is pre-set by the account interacting with the first virtual object according to the target virtual state.
[0131] Optionally, in this embodiment, the content of the first target interactive message is pre-set by the account controlling the first virtual object based on the target virtual state. This means that the account controlling the first virtual object sets the content of the interactive message corresponding to different virtual states and different interactive options. For example, taking the first virtual object in a sleeping state as an example, two text messages can be set for the sleeping state, including: "Wake up" and "Wake up!!!", with these two different text messages displayed according to a certain probability. When the first virtual object is in a sleeping state and the interactive options include "Swimming", "Feeding", and "Covering with a blanket", the text message in the first target interactive message can be set as "I don't want to eat, take it away!" for the "Feeding" interactive option in the sleeping state, and "I'm warm, thank you!" for the "Covering with a blanket" interactive option in the sleeping state.
[0132] In other words, the first target interaction information may be set according to different virtual states of the first virtual object, and the first target interaction information may be set according to different virtual states of the first virtual object and corresponding interaction options.
[0133] Through this embodiment, the content of the first target interactive information can be set by the control account of the first virtual object, so that the account initiating the interaction can produce different interactive effects in the process of interacting with different first virtual objects, further improving the interaction willingness between users and optimizing the user experience.
[0134] As an optional solution, in a virtual scene of a target application, a first virtual object in a target virtual state is displayed, including: in the virtual scene, a group of virtual objects is displayed, wherein the group of virtual objects includes multiple virtual objects that allow interaction to be initiated, and each virtual object in the group of virtual objects is in a preset virtual state; in response to a first interactive operation performed on the first virtual object, a target interactive interface is displayed, including: in response to the first interactive operation, the target virtual state of the first virtual object is obtained, and according to the target virtual state, the target interactive interface is displayed.
[0135] Optionally, in this embodiment, the virtual scene of the above-mentioned target application may include but is not limited to displaying at least two virtual objects at the same time. At this time, the account logged in to the target application can select the above-mentioned first virtual object from the above-mentioned group of virtual objects through the first interactive operation, so that the user can actively select the virtual object to be interacted with.
[0136] As an optional solution, when the second virtual object interacts with the third virtual object, the above method also includes: displaying a target prompt message in the target application, wherein the target prompt information is used to prompt that the second virtual object and the third virtual object have interacted in association with the second interaction option, the second virtual object refers to the virtual object controlled by the account logged into the target application, and the second interaction option refers to the interaction option selected by the account controlling the third virtual object; in response to the triggering interaction operation performed on the target prompt message, displaying the third virtual object in the virtual scene of the target application.
[0137] In an exemplary embodiment, the second virtual object refers to a virtual object that initiates the interaction request to the first virtual object in the target application, and the third virtual object refers to a virtual object that initiates the interaction request to the second virtual object.
[0138] For example, taking the first virtual object as virtual object A, the second virtual object as virtual object B, and the third virtual object as virtual object C as an example, the method includes:
[0139] On the terminal where virtual object B logs in to the target application, in the virtual scene of the target application, virtual object A in the target virtual state is displayed. In response to a first interactive operation performed on virtual object A, a target interactive interface is displayed. In response to a second interactive operation performed on the first interactive option, interactive information indicating that virtual object B and virtual object A have interacted in association with the first interactive option is displayed.
[0140] On the terminal where the virtual object C logs in to the target application, in the virtual scene of the target application, the virtual object B in the target virtual state is displayed. In response to the interactive operation performed on the virtual object B, the target interactive interface is displayed. In response to the interactive operation performed on the second interactive option, interactive information indicating that the virtual object C and the virtual object B have interacted in association with the second interactive option is displayed.
[0141] It should be noted that when the virtual object C interacts with the virtual object B in association with the second interaction option, the target prompt message is displayed in the target application.
[0142] Optionally, in this embodiment, the target prompt message may include, but is not limited to, a pop-up message, a text message, or other social message. By performing the trigger interaction operation on the social message, the position of the third virtual object in the virtual scene can be obtained, and then the third virtual object can be displayed in the virtual scene. The trigger interaction operation may be implemented in the same or different manner as the first interaction operation.
[0143] Exemplarily, Figure 12 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in Figure 12, it includes a prompt interface 1202 displayed on the target application, and the prompt interface 1202 includes a target prompt message 1204, which indicates the interaction initiated by the third virtual object to the second virtual object. The triggering interaction operation is performed through the target prompt message 1204 to obtain the position of the third virtual object in the virtual scene 1206, that is, the virtual object 1208 in the virtual scene 1206.
[0144] The following is a further explanation of this application with reference to specific examples:
[0145] In virtual social interactions, interaction is the primary mode of interaction between characters. Existing interactions, primarily through text, images, and likes, lack the presence of avatars (corresponding to the aforementioned virtual objects) and are therefore less engaging and engaging. By leveraging the appearance of avatars, users can interact with virtual objects and express their desired emotions towards them.
[0146] This application proposes a method for interacting with virtual character images, forming a closed-loop experience with the initiator interacting and the recipient notifying.
[0147] The application scenario of this application is: in a virtual scene, the user's friend has a fixed setting status at the current moment. For example, if he sets that he is sleeping, his image will become sleeping. The user double-clicks the character to evoke a specific interactive interface, on which the user can select the interactive options for this state. For example, if the water gun is selected, the animation and text of the water gun will be played. If a critical hit is triggered, the effect of the water gun will be more exaggerated, and the text will also be changed to a stronger tone. The description and effect will be different from ordinary interactions. After the interaction occurs, the friend who is interacting will receive an interaction notification, informing him who has interacted with him in what way. The friend can click on the notification to find the person who initiated the interaction in the virtual world and generate more interactions.
[0148] The interaction process and details of this solution are as follows:
[0149] S1, double-click the character you want to interact with in the virtual scene to call up the interactive interface.
[0150] S2 displays interactive options based on the character's current state. For example, if the virtual character is sleeping, the interactive buttons could be "cover with blanket," "feed," or "water gun." Different states have different interactive options.
[0151] S3, the user selects the water gun and plays an interactive animation. Specifically, a water gun can be shown spraying water onto the character, the character will be wet, and an interactive text will be displayed at the same time.
[0152] S4, if the critical hit effect is triggered, the effect will be more exaggerated and the text will be different.
[0153] S5. After the effect is played, the interface returns to the interactive interface, the previously selected interactive button lights up again, and then you can continue to interact.
[0154] In step 6, the user being interacted with will receive an interaction notification. Clicking on the notification will allow you to locate the user role that initiated the interaction.
[0155] FIG13 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. As shown in FIG13 , the operation process is as follows:
[0156] S1302: The interaction initiator double-clicks the target virtual character.
[0157] For example, the interaction initiator is user A, who double-clicks character B on the display interface of the virtual scene.
[0158] S1304: Displaying an interactive interface on the terminal screen of the interaction initiator.
[0159] The interactive interface displayed includes the character's image and the interactive option buttons corresponding to the character's status. According to different statuses, there will be different option buttons to indicate different interactive methods.
[0160] S1306: The interaction initiator selects an interaction option.
[0161] S1308, the background determines whether a critical hit effect is triggered.
[0162] After user A clicks one of the interactive buttons, the background randomly determines whether the critical hit effect is triggered.
[0163] For example, a random number is generated and compared with a preset probability threshold to determine whether a critical hit effect is triggered.
[0164] The difference between no critical hit and critical hit lies in the animation effect and text. The animation effect of a critical hit will be more exaggerated than that of no critical hit.
[0165] S1310-1, when the result of the judgment in S1308 is negative, the interaction initiator plays the animation and text of non-critical hit.
[0166] S1310-2, when the result of the judgment in S1308 is yes, the interaction initiator plays the animation and text of the critical hit.
[0167] Play the animation on the playback interface. The character will also be animated and the corresponding text will be displayed. During the animation playback, the interactive button is temporarily unavailable.
[0168] S1312, after the animation is played, it returns to the interactive interface, the interactive option lights up, and executes step S1318: end.
[0169] After the animation finishes (usually 2-6 seconds), the interaction button becomes clickable again.
[0170] S1314: The interaction recipient receives the interaction notification.
[0171] User B, as the interaction recipient, will receive an interaction prompt, telling User B who has interacted with his character.
[0172] S1316, the interaction recipient clicks the interaction notification and locates the virtual character corresponding to the interaction initiator.
[0173] User B can click on the prompt to locate the position of the virtual character corresponding to user A in the interactive interface.
[0174] S1318, end the current process.
[0175] FIG14 is a schematic diagram of another optional virtual object interaction method according to an embodiment of the present application. The specific timing diagram between the user, the client presentation layer, and the background logic layer of the present application is shown in FIG14 , and includes the following steps:
[0176] S1401: The user double-clicks the target virtual character displayed in the virtual scene interface.
[0177] The user at this time refers to the initiator of the interaction.
[0178] S1402: The client presentation layer displays a floating layer (eg, a black masked floating layer) on the virtual scene interface, and displays interactive operation buttons on the floating layer. At this time, the animations of other characters in the virtual scene are stopped.
[0179] S1403, the user selects an interactive option.
[0180] S1404: The client presentation layer requests the background logic layer for data corresponding to the interactive options.
[0181] S1405: The backend logic layer determines whether to trigger a critical hit effect and returns corresponding animation data and text to the client presentation layer.
[0182] S1406: The client presentation layer plays the animation and displays the text.
[0183] S1407: After the animation is played, the interactive options are redisplayed on the client presentation layer.
[0184] S1408, the background logic layer notifies the client presentation layer of the interaction recipient and transmits the identity information of the interaction initiator.
[0185] S1409: The client presentation layer of the interaction recipient displays a notification, including the interaction initiator's avatar, nickname, and interaction plan.
[0186] S1410, the interactive recipient clicks the notification.
[0187] S1411, the client presentation layer of the interaction receiver requests the virtual scene position coordinates of the interaction initiator from the background logic layer.
[0188] S1412: The background logic layer returns the requested location coordinates.
[0189] S1413: The client of the interaction recipient locates the position of the interaction initiator in the virtual scene.
[0190] It can be seen that the embodiment of the present application provides a lightweight interactive system that can provide specific interactive responses to the user's specific status and can be combined with roles to provide a stronger sense of interaction. The interactive recipient can receive interactive behavior information in a timely manner, forming a social closed loop, which is conducive to the consolidation of social relationships.
[0191] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0192] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0193] According to another aspect of the embodiments of the present application, a virtual object interaction device for implementing the above method is also provided. As shown in FIG15 , the device includes:
[0194] A first display module 1502 is configured to display a first virtual object in a target virtual state in a virtual scene of a target application;
[0195] a second display module 1504, configured to display a target interaction interface in response to a first interaction operation performed on the first virtual object, wherein the target interaction interface is provided with at least one interaction option corresponding to the target virtual state;
[0196] The third display module 1506 is used to display first target interaction information in response to a second interaction operation performed on a first interaction option among the at least one interaction option, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
[0197] As an optional solution, the third display module 1506 is used to determine whether to display the first interactive information or the second interactive information in response to the second interactive operation, wherein the first interactive information represents the interactive effect of the first form of expression displayed for the first virtual object, and the first interactive information is set to be displayed according to a first preset probability; the second interactive information represents the interactive effect of the second form of expression displayed for the first virtual object, and the second interactive information is set to be displayed according to a second preset probability, and the second form of expression is different from the first form of expression.
[0198] As an optional solution, the interaction amplitude corresponding to the second expression form is stronger than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability.
[0199] As an optional solution, the interaction amplitude corresponding to the second expression form is weaker than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability.
[0200] As an optional solution, the third display module 1506 is configured to display target text information in response to the second interactive operation, wherein the target text information is used to represent a text interaction effect associated with the first interactive option displayed for the first virtual object;
[0201] In response to the second interaction operation, display target animation information, wherein the target animation information is used to represent an animation interaction effect associated with the first interaction option displayed for the first virtual object;
[0202] In response to the second interactive operation, target sound effect information is displayed, wherein the target sound effect information is used to represent the sound interaction effect associated with the first interactive option displayed for the first virtual object.
[0203] As an optional solution, the third display module 1506 is also used to display the target interaction interface again; in response to the third interaction operation performed on the first interaction option, display the second target interaction information, wherein the presentation form of the second target interaction information is different from the presentation form of the first target interaction information.
[0204] As an optional solution, the third display module 1506 is used to determine whether to display third interaction information or fourth interaction information in response to the third interaction operation, wherein the third interaction information represents the interaction effect of the third form of expression displayed for the first virtual object, and the interaction amplitude corresponding to the third form of expression is stronger than the interaction amplitude corresponding to the expression form of the first target interaction information; the fourth interaction information represents the interaction effect of the fourth form of expression displayed for the first virtual object, and the interaction amplitude corresponding to the fourth form of expression is weaker than the interaction amplitude corresponding to the expression form of the first target interaction information.
[0205] As an optional solution, the third display module 1506 is also used to display the target interaction interface again; in response to the fourth interaction operation performed on the first interaction option, display the third target interaction information, wherein the presentation form of the third target interaction information is different from the presentation forms of the first target interaction information and the second target interaction information.
[0206] As an optional solution, the content of the second target interaction information is pre-set by the account controlling the first virtual object; or, the content of the second target interaction information is pre-set by the account interacting with the first virtual object.
[0207] As an optional solution, the content of the first target interaction information is pre-set by the account controlling the first virtual object according to the target virtual state; or, the content of the first target interaction information is pre-set by the account interacting with the first virtual object according to the target virtual state.
[0208] As an optional solution, the first display module 1502 is configured to display a group of virtual objects in the virtual scene, wherein the group of virtual objects includes a plurality of virtual objects that allow interaction, and each virtual object in the group of virtual objects is in a preset virtual state;
[0209] The second display module 1504 is configured to obtain the target virtual state of the first virtual object in response to the first interactive operation, and display the target interactive interface according to the target virtual state.
[0210] As an optional solution, the device further includes:
[0211] a fourth display module, configured to display a target prompt message in the target application, wherein the target prompt message is configured to prompt that an interaction has occurred between a second virtual object and a third virtual object that is associated with a second interactive option, wherein the second virtual object refers to a virtual object controlled by an account that logs into the target application, and the second interactive option refers to an interactive option selected by the account that controls the third virtual object; and in response to a triggering interaction operation performed on the target prompt message, the third virtual object is displayed in a virtual scene of the target application.
[0212] As an optional solution, the device further includes:
[0213] The fifth display module is used to display the target interaction interface again; in response to the fifth interaction operation performed on the third interaction option, the fourth target interaction information is displayed, wherein the presentation form of the fourth target interaction information is obtained by updating the presentation form of the first target interaction information.
[0214] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1609 and / or installed from a removable medium 1611. When the computer program is executed by the central processing unit 1601, the various functions provided in the embodiments of the present application are performed.
[0215] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0216] FIG16 schematically shows a block diagram of a computer system structure of an electronic device for implementing an embodiment of the present application.
[0217] It should be noted that the computer system 1600 of the electronic device shown in FIG16 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
[0218] As shown in Figure 16, the computer system 1600 includes a central processing unit (CPU) 1601, which can perform various appropriate actions and processes according to the program stored in the read-only memory 1602 (ROM) or the program loaded from the storage part 1608 into the random access memory 1603 (RAM). Various programs and data required for system operation are also stored in the random access memory 1603. The CPU 1601, the read-only memory 1602, and the random access memory 1603 are connected to each other via a bus 1604. An input / output interface 1605 (i.e., an I / O interface) is also connected to the bus 1604.
[0219] The following components are connected to the input / output interface 1605: an input section 1606 including a keyboard, a mouse, and the like; an output section 1607 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1608 including a hard disk; and a communication section 1609 including a network interface card such as a local area network card or a modem. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to the input / output interface 1605 as needed. Removable media 1611, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1610 as needed, so that computer programs read therefrom can be installed into the storage section 1608 as needed.
[0220] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1609 and / or installed from a removable medium 1611. When the computer program is executed by the central processing unit 1601, the various functions defined in the system of the present application are performed.
[0221] According to another aspect of the embodiments of the present application, an electronic device for implementing the above-mentioned virtual object interaction method is also provided. The electronic device can be the terminal device or server shown in Figure 1. This embodiment is described using the electronic device as an example of a terminal device. As shown in Figure 17, the electronic device includes a memory 1702 and a processor 1704. The memory 1702 stores a computer program, and the processor 1704 is configured to execute the steps of any of the above-mentioned method embodiments through the computer program.
[0222] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0223] Optionally, in this embodiment, the processor may be configured to execute the various methods described in the above embodiments through a computer program.
[0224] Alternatively, those skilled in the art will appreciate that the structure shown in FIG17 is for illustration only, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, and other terminal devices. FIG17 does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (such as a network interface, etc.) than those shown in FIG17 , or may have a configuration different from that shown in FIG17 .
[0225] Memory 1702 can be used to store software programs and modules, such as the program instructions / modules corresponding to the virtual object interaction method and device in the embodiments of the present application. Processor 1704 executes the software programs and modules stored in memory 1702 to execute various functional applications and data processing, thereby implementing the aforementioned virtual object interaction method. Memory 1702 may include high-speed random access memory (RAM) 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 embodiments, memory 1702 may further include memory remotely located from processor 1704, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Memory 1702 can specifically, but is not limited to, be used to store information such as interaction options. As an example, as shown in FIG17 , memory 1702 may, but is not limited to, include the first display module 1502, the second display module 1504, and the third display module 1506 of the aforementioned virtual object interaction device. In addition, other module units in the interactive device of the virtual object may also be included but not limited to the above, which will not be described in detail in this example.
[0226] Optionally, the transmission device 1706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1706 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0227] In addition, the electronic device further includes: a display 1708 for displaying the target interaction information; and a connection bus 1710 for connecting various module components in the electronic device.
[0228] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0229] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual object interaction method provided in various optional implementations of the above-mentioned virtual object interaction aspects.
[0230] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for executing the steps of the various methods in the above embodiments.
[0231] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0232] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0233] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application.
[0234] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0235] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.
[0236] The units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0237] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0238] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A virtual object interaction method, executed by an electronic device, comprising: In a virtual scene of a target application, displaying a first virtual object in a target virtual state; In response to a first interactive operation performed on the first virtual object, displaying a target interactive interface, wherein the target interactive interface is provided with at least one interactive option corresponding to the target virtual state; and In response to a second interaction operation performed on a first interaction option among the at least one interaction option, first target interaction information is displayed, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
2. The method according to claim 1, wherein: The displaying of first target interaction information in response to a second interaction operation performed on a first interaction option among the at least one interaction option comprises: In response to the second interactive operation, determining to display the first interactive information or to display the second interactive information, wherein: The first interaction information represents an interaction effect of a first expression form displayed for the first virtual object, and the first interaction information is set to be displayed according to a first preset probability; The second interaction information represents an interaction effect of a second expression form displayed for the first virtual object, the second interaction information is set to be displayed according to a second preset probability, and the second expression form is different from the first expression form.
3. The method according to claim 2, wherein: The interaction amplitude corresponding to the second expression form is stronger than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability.
4. The method according to claim 2, wherein: The interaction amplitude corresponding to the second expression form is weaker than the interaction amplitude corresponding to the first expression form, and the first preset probability is greater than the second preset probability.
5. The method according to claim 1, wherein: The displaying of the first target interaction information in response to the second interaction operation performed on the first interaction option among the at least one interaction option comprises at least one of the following: In response to the second interaction operation, displaying target text information, wherein the target text information is used to represent a text interaction effect associated with the first interaction option displayed for the first virtual object; In response to the second interaction operation, displaying target animation information, wherein the target animation information is used to represent an animation interaction effect associated with the first interaction option displayed for the first virtual object; In response to the second interaction operation, target sound effect information is displayed, wherein the target sound effect information is used to represent the sound interaction effect associated with the first interaction option displayed for the first virtual object.
6. The method according to claim 1, wherein: After displaying the first target interaction information in response to the second interaction operation performed on the first interaction option among the at least one interaction option, the method further includes: Displaying the target interactive interface again; In response to a third interaction operation performed on the first interaction option, second target interaction information is displayed, wherein a presentation form of the second target interaction information is different from a presentation form of the first target interaction information.
7. The method according to claim 6, wherein: The displaying second target interaction information in response to the third interaction operation performed on the first interaction option includes: In response to the third interactive operation, determining to display the third interactive information or to display the fourth interactive information, wherein: The third interaction information represents an interaction effect of a third expression form displayed for the first virtual object, and the interaction amplitude corresponding to the third expression form is stronger than the interaction amplitude corresponding to the expression form of the first target interaction information; The fourth interaction information represents an interaction effect of a fourth expression form displayed for the first virtual object, and the interaction amplitude corresponding to the fourth expression form is weaker than the interaction amplitude corresponding to the expression form of the first target interaction information.
8. The method according to claim 6, wherein: After displaying second target interaction information in response to the third interaction operation performed on the first interaction option, the method further includes: Displaying the target interactive interface again; In response to a fourth interaction operation performed on the first interaction option, third target interaction information is displayed, wherein a presentation form of the third target interaction information is different from presentation forms of the first target interaction information and the second target interaction information.
9. The method according to claim 6, wherein: The content of the second target interaction information is preset by the account controlling the first virtual object; or, the content of the second target interaction information is preset by the account interacting with the first virtual object.
10. The method according to claim 1, wherein: The content of the first target interaction information is pre-set by the account controlling the first virtual object according to the target virtual state; or, the content of the first target interaction information is pre-set by the account interacting with the first virtual object according to the target virtual state.
11. The method according to claim 1, wherein: The step of displaying the first virtual object in the target virtual state in the virtual scene of the target application includes: In the virtual scene, a group of virtual objects is displayed, wherein the group of virtual objects includes a plurality of virtual objects that allow interaction, and each virtual object in the group of virtual objects is in a preset virtual state; The step of displaying a target interaction interface in response to a first interaction operation performed on the first virtual object includes: In response to the first interactive operation, the target virtual state of the first virtual object is acquired, and the target interactive interface is displayed according to the target virtual state.
12. The method according to claim 1, further comprising: Displaying a target prompt message in the target application, wherein the target prompt message is used to prompt that the second virtual object and the third virtual object have interacted with each other in association with a second interactive option, the second virtual object refers to a virtual object controlled by an account that logs into the target application, and the second interactive option refers to an interactive option selected by the account that controls the third virtual object; In response to a triggering interaction operation performed on the target prompt message, the third virtual object is displayed in a virtual scene of the target application.
13. The method according to claim 1, wherein: After displaying the first target interaction information in response to the second interaction operation performed on the first interaction option among the at least one interaction option, the method further includes: Displaying the target interactive interface again; In response to a fifth interaction operation performed on the third interaction option, fourth target interaction information is displayed, wherein a presentation form of the fourth target interaction information is obtained by updating a presentation form of the first target interaction information.
14. A virtual object interactive device, comprising: A first display module, configured to display a first virtual object in a target virtual state in a virtual scene of a target application; a second display module, configured to display a target interaction interface in response to a first interaction operation performed on the first virtual object, wherein the target interaction interface is provided with at least one interaction option corresponding to the target virtual state; and The third display module is used to display first target interaction information in response to a second interaction operation performed on a first interaction option among the at least one interaction option, wherein the first target interaction information represents an interaction effect associated with the first interaction option displayed for the first virtual object.
15. The device according to claim 14, wherein: The third display module is used to determine, in response to the second interactive operation, to display the first interactive information or the second interactive information, wherein the first interactive information represents the interactive effect of the first form of expression displayed for the first virtual object, and the first interactive information is set to be displayed according to a first preset probability; the second interactive information represents the interactive effect of the second form of expression displayed for the first virtual object, the second interactive information is set to be displayed according to a second preset probability, and the second form of expression is different from the first form of expression.
16. The device according to claim 14, wherein: The third display module is also used to display the target interaction interface again; in response to the third interaction operation performed on the first interaction option, display second target interaction information, wherein the presentation form of the second target interaction information is different from the presentation form of the first target interaction information.
17. The apparatus according to claim 14, further comprising: a fourth display module, configured to display a target prompt message in the target application, wherein the target prompt message is configured to prompt that an interaction associated with a second interactive option has occurred between a second virtual object and a third virtual object, wherein the second virtual object refers to a virtual object controlled by an account that logs into the target application, and the second interactive option refers to an interactive option selected by the account that controls the third virtual object; and in response to a triggering interaction operation performed on the target prompt message, displaying the third virtual object in a virtual scene of the target application.
18. A computer-readable storage medium comprising a stored program, wherein: The program can be executed by a computer to execute the method according to any one of claims 1 to 13.
19. A computer program product, comprising computer program instructions, which implement the method according to any one of claims 1 to 13 when executed by a processor.
20. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method according to any one of claims 1 to 13 through the computer program.
