Virtual object display method and apparatus, device, medium and program product

MYPI2025001003A0Undetermined Publication Date: 2024-06-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MYPI2025001003
Authority / Receiving Office
MY · MY
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-12
Filing Date
2023-10-31
Publication Date
2024-06-12

AI Technical Summary

Technical Problem

In the existing technology, in applications based on virtual scenes, when users control virtual objects through mobile terminals, they need to set different virtual controls for different behaviors, resulting in high interface complexity and poor control flexibility, thereby reducing the efficiency of human-computer interaction. .

Method used

By decomposing the behavior affected by the properties of the main control virtual object into multiple segmented sub-behaviors, and triggering operations through the behaviors required by the time window, multiple behavior switching for the same target control is achieved, improving the diversity of user operation methods and human-computer interaction. Interaction efficiency.

Benefits of technology

In the case of a limited number of controls, the types of behaviors that can be executed by the main control virtual object are increased, the efficiency of human-computer interaction is improved, the content of the display screen is richer, the many-to-one operation mode is realized, and the diversity of user operation modes is improved. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure PI2025001003_DRAWING_001
    Figure PI2025001003_DRAWING_001
  • Figure PI2025001003_DRAWING_002
    Figure PI2025001003_DRAWING_002
  • Figure PI2025001003_DRAWING_003
    Figure PI2025001003_DRAWING_003
Patent Text Reader

Abstract

ABSTRACT VIRTUAL OBJECT DISPLAY METHOD AND APPARATUS, DEVICE, MEDIUM AND PROGRAM PRODUCT A virtual object display method and apparatus, a device, a medium, and a program product, relating to the technical field of computers. The method comprises: displaying a main control virtual object in a virtual scene (710); in response to receiving n behavior trigger operations, and an n-th behavior trigger operation being a trigger operations for a first attribute influence behavior, displaying, on the basis of the n-th behavior trigger operation, an i-th first segmented sub-behavior in the first attribute influence behavior executed by the main control virtual object (720); and in response to receiving a subsequent behavior trigger operation directed at the first attribute influence behavior and connected to the n-th behavior trigger operation, displaying, on the basis of the arrangement sequence of a plurality of first segmented sub-behaviors, the plurality of first segmented sub-behaviors which are executed in sequence by the main control virtual object by means of the connection to the i-th first segmented sub-behavior (730). FIG. 7
Need to check novelty before this filing date? Find Prior Art

Description

Virtual object display method, device, equipment, medium and program product

[0001] This application claims priority to Chinese patent application No. 202211596614.1 filed on December 12, 2022, entitled “Method, device, equipment, medium and program product for displaying virtual objects”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of computer technology, and in particular to a method, apparatus, device, medium, and program product for displaying a virtual object. Background Art

[0003] In applications based on virtual scenes, users can control the main virtual object to interact with other virtual objects through the mobile terminal. During the interaction process, users can input instructions on the mobile terminal to operate the main virtual object to perform various attribute-affecting behaviors, thereby performing various actions or behaviors with other virtual objects.

[0004] In related technologies, by clicking a virtual control on a mobile terminal, the main virtual object can be triggered to perform attribute influence behaviors corresponding to the virtual control and interact with other virtual objects.

[0005] However, the above method of triggering virtual objects to perform behaviors through virtual controls requires setting different virtual controls for triggering different behaviors. The interface is highly complex, resulting in poor flexibility in object control, thereby reducing the efficiency of human-computer interaction.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method, apparatus, device, medium, and program product for displaying virtual objects, which can improve the diversity of operation modes and the efficiency of human-computer interaction. The technical solution is as follows:

[0008] In one aspect, a method for displaying a virtual object is provided, the method comprising:

[0009] Displaying a master virtual object in a virtual scene, wherein the master virtual object is equipped with a plurality of attribute-affecting behaviors in the virtual scene, including a first attribute-affecting behavior, wherein the first attribute-affecting behavior includes a plurality of first segmented sub-behaviors arranged in sequence;

[0010] In response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying the master virtual object to execute the i-th first segmented sub-behavior in the first attribute influencing behavior based on the nth behavior triggering operation, wherein the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operations are received, n and i are positive integers, and the operation moments of the n behavior triggering operations meet a time window requirement, wherein the time window requirement means that the time interval between two adjacent behavior triggering operations is less than a preset time threshold;

[0011] In response to receiving a subsequent behavior triggering operation for the first attribute influencing behavior that connects with the nth behavior triggering operation, based on the arrangement order of the multiple first segmented sub-behaviors, the master virtual object is displayed to connect with the i-th first segmented sub-behavior to execute the multiple first segmented sub-behaviors in sequence, wherein the operation time of the subsequent behavior triggering operation and the nth behavior triggering operation meets the time window requirement.

[0012] In another aspect, a device for displaying a virtual object is provided, the device comprising:

[0013] An object display module is configured to display a master virtual object in a virtual scene, wherein the master virtual object is equipped with a plurality of attribute-affecting behaviors in the virtual scene, including a first attribute-affecting behavior, wherein the first attribute-affecting behavior includes a plurality of first segmented sub-behaviors arranged in sequence;

[0014] a behavior display module, in response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying, based on the nth behavior triggering operation, that the master virtual object performs the i-th first segmented sub-behavior in the first attribute influencing behavior, wherein the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operations are received, n and i are positive integers, and the operation moments of the n behavior triggering operations meet a time window requirement;

[0015] The behavior display module, in response to receiving a subsequent behavior triggering operation for the first attribute influencing behavior that connects with the nth behavior triggering operation, displays the master virtual object connecting with the i-th first segment sub-behavior to execute the multiple first segment sub-behaviors in sequence based on the arrangement order of the multiple first segment sub-behaviors, wherein the operation moments of the subsequent behavior triggering operation and the nth behavior triggering operation meet the time window requirement, and the time window requirement means that the time interval between two adjacent behavior triggering operations is less than a preset time threshold.

[0016] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a method for displaying a virtual object as described in any of the above-mentioned embodiments of the present application.

[0017] On the other hand, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a method for displaying a virtual object as described in any of the above-mentioned embodiments of the present application.

[0018] In another aspect, 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 selects the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for displaying a virtual object described in any of the above embodiments.

[0019] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:

[0020] By decomposing the attribute-affecting behaviors that can be executed by the master virtual object into multiple segmented sub-behaviors, the same target control corresponds to multiple behaviors, which increases the types of behaviors that can be executed by the master virtual object when the number of controls is limited. By performing behavior triggering operations on different controls that meet the time window requirements, the sequence numbers of multiple segmented sub-behaviors in the target control are switched, and the segmented sub-behaviors after the virtual object executes the switched sequence numbers are displayed, which improves the efficiency of human-computer interaction and enriches the content in the display screen. By triggering multiple controls, the master virtual object executes the same attribute-affecting behavior, realizing a many-to-one operation mode and improving the diversity of user operation modes. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a schematic diagram of controlling a virtual object to perform a single action through a target control provided by an exemplary embodiment of the present application;

[0022] FIG2 is a schematic diagram of a single action that can be performed by editing a target control preset virtual object provided by an exemplary embodiment of the present application;

[0023] FIG3 is a schematic diagram of controlling a virtual object to perform a single action through a sliding gesture provided by an exemplary embodiment of the present application;

[0024] FIG4 is a schematic diagram of controlling a virtual object to perform multiple behaviors through a single target control provided by an exemplary embodiment of the present application;

[0025] FIG5 is a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;

[0026] FIG6 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;

[0027] FIG7 is a flowchart of a method for displaying a virtual object provided by an exemplary embodiment of the present application;

[0028] FIG8 is a schematic diagram of a terminal screen provided by an exemplary embodiment of the present application;

[0029] FIG9 is a schematic diagram of displaying a virtual object executing segmented sub-behaviors based on a behavior-triggered operation provided by an exemplary embodiment of the present application;

[0030] FIG10 is a flow chart of a method for controlling the display of segmented sub-behaviors of a virtual object based on the number of behavior triggering operations provided by an exemplary embodiment of the present application;

[0031] FIG11 is a schematic diagram of a virtual object executing segmented sub-behaviors based on a trigger cycle loop provided by an exemplary embodiment of the present application;

[0032] FIG12 is a schematic diagram of determining the sequence number i of the first segmented sub-behavior based on the trigger period provided by an exemplary embodiment of the present application;

[0033] FIG13 is a flow chart of a method for counting behavior triggering operations based on time window requirements provided by an exemplary embodiment of the present application;

[0034] FIG14 is a schematic diagram of an operation counter providing an exemplary embodiment of the present application for accumulating counts of behavior-triggered operations that meet time window requirements;

[0035] FIG15 is a flowchart of a method for displaying a virtual object performing an m-th second segmented sub-behavior provided by an exemplary embodiment of the present application;

[0036] FIG16 is a block diagram of a virtual object interaction device according to an exemplary embodiment of the present application;

[0037] FIG17 is a structural block diagram of a virtual object interaction device provided by another exemplary embodiment of the present application;

[0038] FIG18 is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0039] Schematically, as shown in FIG1 , a virtual scene 100 includes a master virtual object 101. A target control 102 on a terminal screen controls the master virtual object 101 to release skills, and displays corresponding actions within different ranges of the virtual scene 100. Single-clicking the target control 102 controls the master virtual object 101 to perform actions within a first action range 110. Pressing and holding the target control 102 for a specified time period controls the master virtual object 101 to perform actions within a second action range 120.

[0040] Schematically, as shown in Figure 2, in the behavior editing interface 200, there are multiple target controls 201. The target controls 201 are edited in advance so that the target controls 201 can control the master virtual object to perform the corresponding attribute affecting behavior 202. Different attribute affecting behaviors 202 correspond to different target controls 201. By clicking the target control 201 on the terminal screen, the master virtual object can be controlled to perform the corresponding attribute affecting behavior 202.

[0041] Schematically, as shown in Figure 3, in the virtual scene 300, there are a main virtual object 301 and other virtual objects 302. Different gesture instructions are input through the trigger area 310 on the terminal screen, such as: inputting a sliding gesture in the trigger area 310, which can control the main virtual object 301 to perform various actions, or control the main virtual object 301 to interact with other virtual objects 302.

[0042] However, in the related art, when controlling the master virtual object to perform various actions, a target control can usually only correspond to one behavioral action. When clicking the target control to control the master virtual object to perform the corresponding action, the diversity of operation methods cannot be met; editing the target control and changing its corresponding action will bring additional burden to the operation, and the number of target controls is limited, which cannot meet the diversity of types of actions performed by the master virtual object; triggering the master virtual object to perform an action by long pressing or sliding to input instructions will result in a long time interval for the master virtual object to respond, poor immediacy, and low human-computer interaction efficiency.

[0043] In the embodiment of the present application, when a target control corresponds to multiple decomposed attributes affecting behaviors, that is, when receiving a behavior trigger operation for the same target control, the master virtual object can be controlled to perform multiple attribute affecting behaviors, or the master virtual object can be controlled to perform specified behaviors in the target control by receiving behavior trigger operations for other controls, so that the master virtual object can be switched at any time when performing attribute affecting behaviors, which can increase the diversity of user operation methods, improve the efficiency of human-computer interaction, and make the content in the display screen richer.

[0044] Schematically, as shown in Figure 4, in a virtual scene 400, there are a master virtual object 401 and other virtual objects 402. By inputting instructions to the target control 410 and other controls 420, that is, triggering operations, the master virtual object 401 can be controlled to perform various behavioral actions and interact with other virtual objects 402.

[0045] Optionally, in this embodiment, the target control 410 corresponds to four attribute influence behaviors, wherein the four attribute influence behaviors can be four stages of the same attribute influence behavior, or can be four independent attribute influence behaviors of the same or different types. In this embodiment, the four attribute influence behaviors belonging to the four stages of the same attribute influence behavior are used as an example for explanation, and the attribute influence behavior includes a first segmented sub-behavior 411, a second segmented sub-behavior 412, a third segmented sub-behavior 413, and a fourth segmented sub-behavior 414; the attribute influence behavior corresponding to each other control 420 can include a single stage or multiple stages.

[0046] By clicking the target control 410 or other controls 420 to trigger a behavior operation, the master virtual object 401 will correspondingly execute different attribute-affecting behaviors.

[0047] The attributes of the master virtual object 401 include but are not limited to the following: health value attribute, mana value attribute, attack attribute, defense attribute, recovery attribute, speed attribute, etc.

[0048] When n consecutive behavior triggering operations meet the time window requirement and the nth behavior triggering operation is performed on the target control 410, the master virtual object 401 can be controlled to execute the property-affecting behavior corresponding to the target control 410 according to the number of behavior triggering operations.

[0049] Here, meeting the time window requirement means that the time interval between each behavior triggering operation is less than the time threshold.

[0050] The n behavior triggering operations include at least one of the following situations:

[0051] When n behavior triggering operations are all triggering operations on the target control 410, the first segment sub-behavior 411, the second segment sub-behavior 412, the third segment sub-behavior 413 and the fourth segment sub-behavior 414 are executed in sequence with the triggering operation on the target control 410;

[0052] When the first n-1 behavior triggering operations among n behavior triggering operations are triggering operations for other controls 420, then in the first n-1 behavior triggering operations, other behaviors corresponding to other controls 420 are triggered, and in the nth behavior triggering operation, based on the value of the number n, the i-th segmented sub-behavior corresponding to the target control 410 is triggered, where the i-th segmented sub-behavior is any one of the first segmented sub-behavior 411, the second segmented sub-behavior 412, the third segmented sub-behavior 413 and the fourth segmented sub-behavior 414, which is determined by the number n.

[0053] The terminal in this application can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. An application that supports virtual scenes is installed and running in the terminal, such as an application that supports three-dimensional virtual scenes. The application can be any one of a virtual reality application, a three-dimensional map program, a strategy game (Simulation Game, SLG), and a multiplayer online tactical competitive game (Multiplayer Online Battle Arena Games, MOBA). Optionally, the application can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-connected application.

[0054] FIG5 shows a block diagram of an electronic device provided by an exemplary embodiment of the present application. The electronic device 500 includes an operating system 520 and an application 522 .

[0055] The operating system 520 is the underlying software that provides application programs 522 with secure access to the computer's hardware.

[0056] Application 522 is an application that supports virtual scenes. Optionally, application 522 is an application that supports three-dimensional virtual scenes. Application 522 can be any of a virtual reality application, a three-dimensional map application, a TPS game, an FPS game, a MOBA game, and a SLG game. Application 522 can be a stand-alone application, such as a stand-alone three-dimensional game program, or a network-based application.

[0057] 6 shows a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 600 includes a first device 620 , a server 640 , and a second device 660 .

[0058] The first device 620 has an application installed and running that supports virtual scenes. This application can be any of a virtual reality application, a three-dimensional map program, a TPS game, an FPS game, a MOBA game, and an SLG game. The first device 620 is used by a first user, who uses the first device 620 to control a master virtual object in the virtual scene to perform activities, including but not limited to: adjusting body posture, walking, running, and jumping to attack. Illustratively, the master virtual object is a master virtual character, such as a simulated human character or an anime character.

[0059] The first device 620 is connected to the server 640 via a wireless network or a wired network.

[0060] Server 640 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 640 provides backend services for applications supporting three-dimensional virtual scenes. Optionally, server 640 performs primary computing tasks, while first device 620 and second device 660 perform secondary computing tasks. Alternatively, server 640 performs secondary computing tasks, while first device 620 and second device 660 perform primary computing tasks. Alternatively, server 640, first device 620, and second device 660 perform collaborative computing tasks using a distributed computing architecture.

[0061] Second device 660 has an application installed and running that supports virtual scenes. This application can be any of a virtual reality application, a 3D map program, an FPS game, a MOBA game, or a SLG game. Second device 660 is used by a second user, who uses it to control other virtual objects in the virtual scene to perform activities, including but not limited to: adjusting body posture, walking, running, and jumping to attack. Illustratively, the other virtual objects are other virtual characters, such as simulated or animated characters.

[0062] Optionally, the controlling avatar and the other avatars are in the same virtual scene. Optionally, the controlling avatar and the other avatars may belong to the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Optionally, the controlling avatar and the other avatars may also belong to different teams, different organizations, or two hostile groups.

[0063] Optionally, the applications installed on the first device 620 and the second device 660 are the same, or the applications installed on the two devices are the same type of applications on different control system platforms. The first device 620 can generally refer to one of multiple devices, and the second device 660 can generally refer to one of multiple devices. This embodiment uses only the first device 620 and the second device 660 as examples. The first device 620 and the second device 660 can be of the same or different device types. The following embodiments use a desktop computer as an example.

[0064] Those skilled in the art will appreciate that the number of the above-mentioned devices may be greater or lesser. For example, the above-mentioned device may be only one, or the above-mentioned devices may be dozens or hundreds, or a greater number. The embodiments of the present application do not limit the number and type of devices.

[0065] It is worth noting that the server 640 can be implemented as a physical server or a cloud server. Cloud technology refers to a hosting technology that unifies hardware, software, network, and other resources within a wide area network or local area network to achieve data computing, storage, processing, and sharing. Optionally, when the server 640 is implemented as a cloud server, the program corresponding to the virtual scene can be a cloud game.

[0066] In some embodiments, the method provided in the embodiments of the present application can be applied to cloud gaming scenarios, so that the calculation of data logic during the game process is completed by the cloud server, while the terminal is responsible for the display of the game interface.

[0067] Optionally, the server 640 may also be implemented as a node in a blockchain system.

[0068] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant region. For example, the game data involved in this application was obtained with full authorization.

[0069] In combination with the above-mentioned noun introduction and implementation environment description, the display method of virtual objects provided in the embodiment of the present application is explained. Please refer to Figure 7, which shows a flowchart of the display method of virtual objects provided by an exemplary embodiment of the present application. The method is applied in a terminal as an example. As shown in Figure 7, the method includes the following steps.

[0070] Step 710: Display the master virtual object in the virtual scene.

[0071] The master virtual object is equipped with a plurality of attribute influencing behaviors in the virtual scene, including a first attribute influencing behavior, and the first attribute influencing behavior includes a plurality of first segment sub-behaviors arranged in sequence.

[0072] Among them, the attribute-affecting behavior refers to the behavior that the master virtual object can perform in the virtual scene, and the behavior performed by the master virtual object affects the attributes of other virtual objects.

[0073] The types of attributes of virtual objects include but are not limited to the following: 1. Health: the attribute value of the life status of the virtual object; 2. Attack ability: the ability to cause damage to the health of other virtual objects when performing an attack; 3. Mana: the attribute that needs to be consumed in the process of releasing skills, that is, on the basis that the virtual character has mana, it can release skills by consuming mana; 4. Defense value: the attribute that can weaken the attack power on its own health when defending against attacks from other virtual objects; 5. Speed ​​attribute: the attribute that represents the movement speed of the virtual character during movement.

[0074] The first attribute influencing behavior includes multiple first segmented sub-behaviors, and the first attribute influencing behavior is segmented according to the corresponding actions or durations to obtain multiple first segmented sub-behaviors. After being arranged in order, each first segmented sub-behavior is an attribute influencing behavior, or each first segmented sub-behavior is a stage of the first attribute influencing behavior. In some embodiments, the multiple first segmented sub-behaviors included in the first attribute influencing behavior belong to the same behavior type, or the multiple first segmented sub-behaviors belong to different behavior types. Schematically, the first attribute influencing behavior belongs to attacking behavior, which includes four first segmented sub-behaviors, wherein the first and third first segmented sub-behaviors are expressed as attacking actions, and the second and fourth first segmented sub-behaviors are expressed as defensive actions; or, the first attribute influencing behavior belongs to attacking behavior, which includes four first segmented sub-behaviors, wherein the four first segmented sub-behaviors are respectively expressed as attacking actions with different action expressions.

[0075] The current terminal can control the master virtual object to move in the virtual scene, perform various behaviors, and perform other operations such as appearance transformation.

[0076] In a virtual scene, in addition to the main virtual object, other virtual objects are also included. Other virtual objects include but are not limited to the following types: (1) hostile virtual objects of the main virtual object; (2) teammate virtual objects of the main virtual object; (3) non-player characters (NPC) that are not related to the main virtual object.

[0077] The master virtual object is equipped with a first attribute influencing behavior and other attribute influencing behaviors. The current terminal can control the master virtual object to execute these attribute influencing behaviors in the virtual scene and display them on the terminal screen.

[0078] In some embodiments, other attribute influencing behaviors may include multiple other segmented sub-behaviors arranged in sequence, or may include only one behavior.

[0079] Step 720, in response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for the first attribute affecting behavior, based on the nth behavior triggering operation, the master virtual object is displayed to execute the i-th first segmented sub-behavior in the first attribute affecting behavior.

[0080] Among them, the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operations are received, n and i are positive integers, and the operation moments of the n behavior triggering operations meet the time window requirements. The time window requirement means that the time interval between two adjacent behavior triggering operations is less than the preset time threshold.

[0081] The behavior trigger operation is used to control the master virtual object to execute the corresponding attribute-affecting behavior. Multiple controls are displayed on the current terminal screen: target control and other controls. Clicking different controls can trigger the master virtual object to execute the corresponding behaviors of different controls.

[0082] In some embodiments, controlling the master virtual object to perform various attribute-affecting behaviors may also be triggered by an external input device, such as by a shortcut key on the external input device.

[0083] In this embodiment, the example of triggering attribute-affecting behaviors using a touch screen control is used for explanation. Schematically, as shown in FIG8 , multiple controls are displayed on the terminal screen 800, and the attribute-affecting behavior corresponding to the target control 810 is the first attribute-affecting behavior, that is, the behavior triggering operation acting on the target control 810 can control the master virtual object to execute one or more first segmented sub-behaviors in the first attribute-affecting behavior. Schematically, triggering the target control 810 once displays the master virtual object to execute the first first segmented sub-behavior; triggering the target control 810 multiple times, when the moment of triggering the target control 810 multiple times meets the time window requirement, the master virtual object is displayed to execute the multiple first segmented sub-behaviors in the first attribute-affecting behavior in sequence, or when the moment of triggering the target control 810 multiple times does not meet the time window requirement, the master virtual object is displayed to repeatedly execute the first first segmented sub-behavior.

[0084] The attribute affecting behavior corresponding to other controls 820 is other attribute affecting behavior, that is, the behavior triggering operation acting on other controls 820 can control the master virtual object to execute other attribute affecting behavior; according to the number of times other controls 820 are triggered, the master virtual object is displayed to execute the same number of other attribute affecting behaviors.

[0085] The target control 810 and other controls 820 have their own corresponding configuration files, which are used to implement the process of controlling the virtual object's execution attributes to influence the behavior, such as the target control 810 corresponding to the target configuration file 830 .

[0086] Among them, the target configuration file 830 includes but is not limited to the following contents: (1) instruction cache: used to cache the received behavior trigger operation. When the master virtual object meets the conditions for executing the attribute-affecting behavior, the master virtual object is displayed to execute the attribute-affecting behavior based on the cached instructions; (2) virtual object stiffness: used to describe in some cases, such as when the master virtual object is affected by the attack attribute of other virtual objects, the master virtual object is in an uncontrollable state; (3) play animation: display the animation content when the master virtual object executes the attribute-affecting behavior.

[0087] In response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for a first attribute influencing behavior, the master virtual object is displayed to execute the i-th first segment sub-behavior in the first attribute influencing behavior, including but not limited to the following situations:

[0088] (1) When n is 1;

[0089] In response to receiving a single trigger operation on a first attribute influencing behavior, the master virtual object is displayed to execute a first first segment sub-behavior in the first attribute influencing behavior.

[0090] Schematically, the first attribute influencing behavior includes four segmented sub-behaviors, which are arranged in the following order: the first first segmented sub-behavior, the second first segmented sub-behavior, the third first segmented sub-behavior, and the fourth first segmented sub-behavior.

[0091] An animation of the master virtual object executing the first first segment sub-behavior is displayed on the current terminal screen, or an animation of the master virtual object interacting with other virtual objects during the execution of the behavior is displayed.

[0092] (2) When n is an integer greater than 1;

[0093] In response to receiving n-1 behavior trigger operations for behaviors that affect other attributes, the master virtual object is displayed to perform behaviors that affect other attributes based on the n-1 trigger operations; in response to receiving the nth behavior trigger operation for the first attribute affecting behavior, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute affecting behavior.

[0094] Schematically, the first n-1 behavior triggering operations target other attribute-affecting behaviors, and each attribute-affecting behavior does not contain segmented sub-behaviors.

[0095] Receive n-1 behavior trigger operations for behaviors affecting other attributes, and count the number of triggers for behaviors affecting other attributes. Based on the number of triggers, determine the sequence number i of the first segmented sub-behavior executed by the master virtual object when receiving the nth trigger operation for the first attribute affecting behavior.

[0096] (3) If the first n-1 behavior triggering operations include triggering operations for one or more other attribute-affecting behaviors, as well as triggering operations for the first attribute-affecting behavior, then when the nth behavior triggering operation is a triggering operation for the first attribute-affecting behavior, the master virtual object is displayed to execute the i-th first sub-segmented sub-behavior of the first attribute-affecting behavior. The value of i is related to the number n.

[0097] It is worth noting that the first attribute influencing behavior may include any number of segmented sub-behaviors, the number of times the receiving behavior triggering operation may be arbitrary, and the time window requirement may be arbitrary, which is not limited in this embodiment.

[0098] Schematically, the time window refers to the time interval corresponding to the execution of two adjacent behavior triggering operations in n behavior triggering operations. A time threshold is set in advance. When the time interval between the start of the current behavior triggering operation and the reception of the next behavior triggering operation is less than the time threshold, it is considered that the operation moments of the current two behavior triggering operations meet the time window requirements.

[0099] Optionally, the operation moments of n behavior triggering operations all need to comply with the time window requirements; or, when the number of behavior triggering operations whose time intervals are less than the time threshold among n behavior triggering operations reaches a preset number requirement, it is considered that the operation moments of n behavior triggering operations all need to comply with the time window requirements.

[0100] Step 730, in response to receiving a subsequent behavior trigger operation for the first attribute influencing behavior that connects to the nth behavior trigger operation, based on the arrangement order of the multiple first segment sub-behaviors, display the master virtual object to connect to the i-th first segment sub-behavior and execute multiple first segment sub-behaviors in sequence.

[0101] The time between the subsequent behavior triggering operation and the operation time of the nth behavior triggering operation meets the time window requirement.

[0102] After controlling the master virtual object to execute the attribute influencing behavior corresponding to the above-mentioned n behavior triggering operations, it receives a behavior triggering operation again, that is, a subsequent behavior triggering operation. The subsequent behavior triggering operation is for the first attribute influencing behavior, and controls the master virtual object to execute the segmented sub-behavior in the first attribute influencing behavior and display it.

[0103] Optionally, one subsequent behavior trigger operation is received, and in the first n behavior trigger operations, based on the nth behavior trigger operation, the master virtual object is displayed to execute the second first segment sub-behavior, then the subsequent behavior trigger operation instructs the master virtual object to execute the third first segment sub-behavior in sequence.

[0104] Schematically, as shown in FIG9 , the first attribute influencing behavior of the master virtual object includes four segmented sub-behaviors: the first first segmented sub-behavior 910 , the second first segmented sub-behavior 920 , the third first segmented sub-behavior 930 , and the fourth first segmented sub-behavior 940 .

[0105] In response to receiving the first n-1 behavior trigger operations for other attribute influencing behaviors, the master virtual object is displayed to execute the corresponding other attribute influencing behaviors; in response to receiving the behavior trigger operation for the first attribute influencing behavior for the nth time, the master virtual object is displayed to execute the second first segment sub-behavior 920 in the first attribute influencing behavior; in response to receiving 1 subsequent behavior trigger operation for the first attribute influencing behavior that connects to the nth behavior trigger operation, based on the arrangement order of multiple first segment sub-behaviors, the master virtual object is displayed to connect to the second first segment sub-behavior 920 and execute the third first segment sub-behavior 930 in sequence.

[0106] In some embodiments, the time between the subsequent behavior triggering operation and the operation time of the nth behavior triggering operation does not meet the time window requirement.

[0107] Optionally, based on the nth behavior triggering operation for the first attribute influencing behavior, the master virtual object is displayed to execute the second first segmented sub-behavior, and then after receiving a subsequent behavior triggering operation that does not meet the time window requirements, the master virtual object is instructed to execute the first first segmented sub-behavior.

[0108] That is, when the subsequent behavior triggering operation meets the time window requirements, the subsequent segmented sub-behaviors are executed in sequence starting from the second first segmented sub-behavior; when the subsequent behavior triggering operation does not meet the time window requirements, it is executed in sequence starting from the first first segmented sub-behavior by default.

[0109] It is worth noting that the number of subsequent behavior trigger operations received can be arbitrary. The subsequent behavior trigger operations are based on the time window requirements and the segmented sub-behaviors executed by the previous behavior trigger operation. The sequence number of controlling the master virtual object to execute and display the next segmented sub-behavior can be arbitrary, and this embodiment does not limit this.

[0110] To sum up, by receiving n-1 behavior triggering operations for behaviors affecting other attributes, the master virtual object is displayed to perform behaviors affecting other attributes. When the behavior triggering operation for the first attribute affecting behavior is received for the nth time, according to the correspondence between the number n-1 of behavior triggering operations for behaviors affecting other attributes and the serial number i of all first segmented sub-behaviors existing in the first attribute affecting behavior, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute affecting behavior. This can improve the diversity of operation methods, control the master virtual object to perform more behaviors, improve the efficiency of human-computer interaction, and make the content in the displayed screen richer.

[0111] The method provided in this embodiment discusses possible situations that may occur when receiving n behavior triggering operations. By receiving a single behavior triggering operation for a first attribute affecting behavior, the master virtual object is displayed to execute the first first segmented sub-behavior in the first attribute affecting behavior; by receiving n-1 behavior triggering operations for other attribute affecting behaviors, the nth behavior triggering operation for the first attribute affecting behavior is affected based on the number of behavior triggers, and the master virtual object is displayed to execute the segmented sub-behaviors in the first attribute affecting behavior. This can increase the diversity of operation methods, control the master virtual object to execute the first attribute affecting behavior through multiple behavior triggering operations, improve the efficiency of human-computer interaction, and make the content in the displayed screen richer.

[0112] In some embodiments, when receiving n-1 behavior triggering operations for behaviors affecting other attributes, the sequence number of the segmented sub-behaviors executed by the master virtual object will be correspondingly affected when the behavior triggering operation for the first attribute affecting the behavior is received for the nth time, as shown in Figure 10, which is a flow chart of a method for controlling the display of segmented sub-behaviors of a virtual object based on the number of behavior triggering operations provided by an exemplary embodiment of the present application. The method includes the following steps.

[0113] Step 1010, in response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, based on the triggering period of multiple first segmented sub-behaviors in the first attribute influencing behavior, determine the i-th first segmented sub-behavior corresponding to the number n from the multiple first segmented sub-behaviors.

[0114] The triggering period is determined based on the number of first segmented sub-behaviors included in the first attribute influencing behavior.

[0115] Optionally, the number of first segment sub-behaviors is 3, and the triggering period of each first segment sub-behavior is 3.

[0116] When the number of trigger operations for the first attribute influencing behavior exceeds the trigger period, and the operation moment of each trigger operation meets the time window requirement, the master virtual object is controlled to execute each first segment sub-behavior in a loop in sequence.

[0117] Schematically, as shown in FIG11 , the first attribute influencing behavior of the master virtual object includes three segmented sub-behaviors: the first first segmented sub-behavior 1101 , the second first segmented sub-behavior 1102 , and the third first segmented sub-behavior 1103 , with a triggering cycle of 3.

[0118] When the number of trigger operations for the first attribute influencing behavior is 6, the trigger cycle is exceeded. If execution starts from the first first segment sub-behavior 1101, the corresponding segment sub-behaviors are cyclically executed 6 times in the order of the segment sub-behaviors.

[0119] It is worth noting that the triggering period can be arbitrary, and the number of triggering operations for the first attribute influencing behavior can be arbitrary, which is not limited in this embodiment.

[0120] Based on the triggering periods of the plurality of first segmented sub-behaviors in the first attribute influencing behavior, determining the i-th first segmented sub-behavior corresponding to the number n includes but is not limited to the following methods:

[0121] 1. Based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior, the modulus of the ratio of the number of times n to the number of segments is obtained to obtain the value of i of the first segmented sub-behavior corresponding to the number of times n.

[0122] Schematically, the number of segments of the first segmented sub-behavior in the first attribute influencing behavior is 4, that is, the first attribute influencing behavior contains 4 first segmented sub-behaviors; the number of behavior triggering operations received is 10. If the behavior triggering operations for other attribute influencing behaviors are received for the first 9 times, the behavior triggering operation for the first attribute influencing behavior is received for the tenth time.

[0123] The remainder of the ratio of the number of times to the number of segments is 10 / 4=2, and the remainder is 2. The value of i of the first segment sub-behavior corresponding to the number of times the trigger operation is obtained is 2.

[0124] If the 10th behavior trigger operation for the first attribute-affecting behavior is received, the master virtual object is displayed to execute the second first-segment sub-behavior. In other words, in the current situation, if the previous 9 behavior trigger operations for behaviors affecting other attributes are received, when the 10th behavior trigger operation for the first attribute-affecting behavior is received, the other first-segment sub-behaviors under the first attribute-affecting behavior can be directly connected to the segment sub-behavior corresponding to the 9th behavior trigger operation by taking the remainder of the ratio, thereby improving the diversity of action generation.

[0125] 2. Determine the value of i based on the correspondence between the number n of behavior triggering operations and the sequence number i of the first segmented sub-behavior;

[0126] 2.1 When n=1;

[0127] In response to the number n of the behavior triggering operation being 1, a first first segmented sub-behavior corresponding to the number n is determined from the plurality of first segmented sub-behaviors.

[0128] When the number n of behavior trigger operations is 1, it means that only one behavior trigger operation for the first attribute affecting behavior is received, and the first first segment sub-behavior in the first attribute affecting behavior of the master virtual object is displayed by default.

[0129] 2.2 When n is greater than 1;

[0130] 2.2.1 In response to the number n of behavior triggering operations being greater than 1, the i-th first segmented sub-behavior is randomly determined from multiple first segmented sub-behaviors.

[0131] When the value of n is greater than 1, it indicates that a behavior triggering operation targeting behaviors affected by other attributes has been received.

[0132] Optionally, when the sequence number i of the first segmented sub-behavior is randomly determined, a random number may be generated as the sequence number i based on a rand function.

[0133] The number of segmented sub-behaviors in the first attribute influencing behavior is used as the sequence number range, and the rand function is used to generate a random number within the sequence number range as the sequence number i.

[0134] It is worth noting that the manner of randomly determining the sequence number i of the first segmented sub-behavior may be arbitrary, including but not limited to the above examples, and this embodiment does not limit this.

[0135] 2.2.2 In response to the number n of behavior triggering operations being greater than 1, a preset i-th first segment sub-behavior is determined from multiple first segment sub-behaviors.

[0136] Optionally, methods for determining the sequence number i based on the number of triggers include but are not limited to the following:

[0137] (1) A designated sequence relationship table is preset, which includes the corresponding relationship between the triggering times and the sequence number i of the segmented sub-behavior, as shown in Table 1 below.

[0138] Table 1

[0139] That is, when the number of triggering operations for other attribute-affecting behaviors belongs to different intervals, the nth triggering operation for the first attribute-affecting behavior controls the master virtual object to execute the corresponding segmented sub-behavior.

[0140] Optionally, when the trigger number n-1 is 4, when the nth trigger operation for the first attribute influencing behavior is received, the master virtual object is controlled to execute the second first segmented sub-behavior and display the corresponding animation content on the screen of the current terminal.

[0141] The preset trigger times correspond to the interval where the value is located, and each interval corresponds to a sequence number. When the trigger times are in one of the intervals, the sequence number corresponding to the interval is selected as the sequence number i of the first segmented sub-behavior.

[0142] That is, according to the number of times n, the i-th first segmented sub-behavior is determined in different ways, which can improve the diversity of behavior choices.

[0143] (2) A designated function is preset, and the designated function is used to perform a weighted operation between the number of triggering times and the number of segments of the segmented sub-behaviors in the first attribute influencing behavior to obtain a sequence number i.

[0144] It is worth noting that, based on the number of behavior triggering operations, the methods of controlling the virtual object to display the i-th first segmented sub-behavior include but are not limited to the above methods, and this embodiment does not limit this.

[0145] Schematically, as shown in FIG12 , FIG12 is a schematic diagram of determining the sequence number i of the first segmented sub-behavior based on the triggering period.

[0146] The ratio modulo module 1210 performs ratio modulo on the triggering number n and the number of segments, and the obtained remainder is the sequence number i.

[0147] The correspondence module 1220 obtains the sequence number i by comparing the trigger times n with the sequence number i. The correspondence module 1220 includes a random module 1221 and a designated module 1222. Based on the judgment result of the judgment module 1230 on the trigger times n, the random module 1221 or the designated module 1222 is selected to further determine the sequence number i.

[0148] When the trigger count n=1, the sequence number i defaults to 1;

[0149] When the triggering number n>1, the random module 1221 generates a random number as the sequence number i, and the designation module 1222 determines the designated number as the sequence number i based on a preset relationship between the triggering number n and the sequence number i.

[0150] In some embodiments, an odd-even result corresponding to a number n is obtained; and the i-th first segmented sub-behavior corresponding to the odd-even result is determined from multiple first segmented sub-behaviors based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior.

[0151] In this embodiment, first determine the odd or even result corresponding to the number of behavior triggering operations, that is, the number n includes two cases of odd or even numbers. Secondly, determine the first segmented sub-behavior corresponding to the number n as the i-th first segmented sub-behavior according to the first segmented sub-behavior in the first attribute influencing behavior. For example: when the number n is an even number, determine the first segmented sub-behavior arranged in an even position from the first attribute influencing behavior as the i-th first segmented sub-behavior (the second first segmented sub-behavior, the fourth first segmented sub-behavior, etc.); when When the number n is odd, the first segmented sub-behavior arranged in an odd position is determined from the first attribute influencing behavior as the i-th first segmented sub-behavior (the 1st first segmented sub-behavior, the 3rd first segmented sub-behavior, etc.), that is, in response to the number n being an even number, the first segmented sub-behavior corresponding to the even number is determined from multiple first segmented sub-behaviors as the i-th first segmented sub-behavior; in response to the number n being odd, the first segmented sub-behavior corresponding to the odd number is determined from multiple first segmented sub-behaviors as the i-th first segmented sub-behavior.

[0152] Optionally, when there are multiple first segment sub-behaviors in even positions / odd positions, one first segment sub-behavior is randomly selected from them as the i-th segment sub-behavior.

[0153] In this embodiment, the method of determining the i-th first segment sub-behavior according to whether the number n is odd or even can expand the diversity of the methods of determining the first segment sub-behavior.

[0154] Step 1020: Display the master virtual object executing the i-th first segment sub-behavior in the first attribute influencing behavior.

[0155] Optionally, displaying the master virtual object to execute the first segmented sub-behavior includes the following situations:

[0156] (1) When n is 1;

[0157] In response to receiving a single trigger operation on a first attribute influencing behavior, the master virtual object is displayed to execute a first first segment sub-behavior in the first attribute influencing behavior.

[0158] Upon receiving a single behavior trigger operation for a first attribute-affecting behavior, a behavior animation of the master virtual object executing the first first segmented sub-behavior is displayed on the current terminal screen, including: an animation of the master virtual object executing the segmented sub-behavior, and an animation of the master virtual object interacting with other virtual objects during the execution of the segmented sub-behavior.

[0159] (2) When n is an integer greater than 1;

[0160] In response to receiving n-1 behavior trigger operations for behaviors that affect other attributes, the master virtual object is displayed to perform behaviors that affect other attributes based on the n-1 trigger operations; in response to receiving the nth behavior trigger operation for the first attribute affecting behavior, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute affecting behavior.

[0161] To sum up, by receiving n-1 behavior triggering operations for behaviors affecting other attributes, the master virtual object is displayed to perform behaviors affecting other attributes. When the behavior triggering operation for the first attribute affecting behavior is received for the nth time, based on the number n-1 of behavior triggering operations for behaviors affecting other attributes and the sequence numbers of all first segmented sub-behaviors in the first attribute affecting behavior, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute affecting behavior. This can improve the diversity of operation methods, control the master virtual object to perform more behaviors, improve the efficiency of human-computer interaction, and make the content in the displayed screen richer.

[0162] The method provided in this embodiment determines the i-th first segmented sub-behavior corresponding to the number n from the multiple first segmented sub-behaviors based on the triggering cycle of multiple first segmented sub-behaviors in the first attribute affecting the behavior, so that the player can control the main virtual object to execute the target segmented sub-behavior and display the screen of the execution action in a timely manner, thereby improving the efficiency of human-computer interaction.

[0163] The method provided in this embodiment is based on the number of segments of the first segmented sub-behavior in the first attribute-affecting behavior, and takes the remainder of the ratio of the number of times n to the number of segments to obtain the value of i of the first segmented sub-behavior corresponding to the number of times n. This provides a rule for switching segmented sub-behaviors in the first attribute-affecting behavior, enables players to control the main virtual object to perform more behaviors through multiple behavior triggering operations, and improves the efficiency of human-computer interaction.

[0164] The method provided in this embodiment determines the sequence number of the segmented sub-behavior by random selection or preset manner, and displays the master virtual object executing the segmented sub-behavior corresponding to the sequence number, thereby improving the richness of the displayed content.

[0165] FIG13 is a flow chart of a method for counting behavior triggering operations based on time window requirements provided by an exemplary embodiment of the present application. As shown in FIG13 , the method includes the following steps.

[0166] Step 1310: In response to receiving the kth behavior triggering operation, start a countdown timer.

[0167] The countdown timer is a timer with a time window requirement as the timing length, and k is a positive integer less than n.

[0168] The kth behavior trigger operation can be a behavior trigger operation for any attribute affecting behavior. If the received kth behavior trigger operation is for the first attribute affecting behavior, the master virtual object is displayed to execute the i-th first segmented sub-behavior in the corresponding order in the first attribute affecting behavior; if the received kth behavior trigger operation is for other attribute affecting behaviors, the master virtual object is displayed to execute other attribute affecting behaviors; displaying the master virtual object to execute the attribute affecting behavior and starting the kth countdown timer are performed simultaneously.

[0169] Optionally, the time window requirement is: the operation time interval between receiving two consecutive behavior triggering operations is within 0.5s, that is, the timing length of the countdown counter is 0.5, in seconds.

[0170] When a behavior trigger operation is received, the countdown timer is immediately started to count down from 0.5, and the countdown timer is restarted when the behavior trigger operation is received next time.

[0171] In some embodiments, the timing length corresponding to the time window requirement may be arbitrary, and this embodiment does not limit this.

[0172] Step 1320: In response to receiving the k+1th behavior triggering operation before the countdown timer expires, determine whether the time window requirement is met between the kth behavior triggering operation and the k+1th behavior triggering operation.

[0173] Schematically, the countdown timer is used to determine the time interval between two adjacent behavior triggering operations.

[0174] Optionally, the countdown timer has a duration of 0.5 seconds.

[0175] When the kth behavior trigger operation is received, the countdown timer starts to count down from 0.5. When the k+1th behavior trigger operation is received before the countdown timer ends, the countdown timer corresponding to the kth behavior trigger operation stops counting down, and the countdown timer corresponding to the k+1th behavior trigger operation starts counting down from 0.5.

[0176] That is, within 0.5 seconds after receiving the kth behavior triggering operation, another behavior triggering operation is received, and it is determined that the time window requirement is met between the kth behavior triggering operation and the k+1th behavior triggering operation.

[0177] The k+1th behavior trigger operation can be a behavior trigger operation for any attribute affecting behavior. When the k+1th behavior trigger operation is received, the display of the master virtual object executing the attribute affecting behavior and the start of the k+1th countdown timer are performed simultaneously.

[0178] In some embodiments, the time window requirement is not met between the kth behavior triggering operation and the k+1th behavior triggering operation.

[0179] (1) The time interval between receiving the kth behavior triggering operation and the k+1th behavior triggering operation exceeds the timing length corresponding to the time window;

[0180] (2) No behavior triggering operation is received after receiving the kth behavior triggering operation.

[0181] When the countdown timer corresponding to the kth behavior trigger operation ends, the countdown timer decreases from 0.5 to 0. At this time, if the k+1th behavior trigger operation has not been received, the countdown timer is closed and will not be restarted.

[0182] That is, by calculating the time interval between two adjacent behavior triggering operations through the countdown timer, it is possible to improve whether the time interval between the two adjacent behavior triggering operations meets the time window requirement, thereby improving the accuracy of the time interval calculation.

[0183] Step 1330 : The received behavior triggering operation is counted by one through an operation counter, where the operation counter is used to accumulate the number of behavior triggering operations that meet the time window requirement.

[0184] Optionally, the countdown timer has a duration of 0.5 seconds.

[0185] When a behavior triggering operation is received, the operation counter starts counting from the current behavior triggering operation, accumulates the behavior triggering operations that meet the time window requirements and are continuous, and obtains a cumulative sum.

[0186] When the nth behavior triggering operation is a behavior triggering operation for the first attribute influencing behavior, the accumulated sum determines that the nth behavior triggering operation controls the master virtual object to execute the i-th first segmented sub-behavior in the first attribute influencing behavior.

[0187] Schematically, as shown in FIG14 , FIG14 is a schematic diagram of an operation counter accumulating counts of behavior-triggered operations that meet the time window requirements.

[0188] The time axis 1400 records the operation time corresponding to each behavior trigger operation. The unit of the time axis 1400 is seconds. There are two types of behavior trigger operations: behavior trigger operation 1410 for behaviors affected by other attributes and behavior trigger operation 1420 for behaviors affected by the first attribute.

[0189] The corresponding time for receiving the first behavior trigger operation is 0, and the corresponding time for receiving the second behavior trigger operation is 0.2. The countdown interval 1430 between receiving the first behavior trigger operation and the second behavior trigger operation is 0.2, which meets the time window requirement. This means that the second behavior trigger operation is received before the countdown timer corresponding to the first behavior trigger operation ends, and the operation counter 1440 accumulates the counts of the first and second behavior trigger operations.

[0190] Similarly, the operation counter 1440 starts counting from the first time it receives a behavior trigger operation. There are n-6 countdown intervals 1430 that meet the time window requirements, and the corresponding behavior trigger operations are: the 1st to the n-5th behavior trigger operations. The initial cumulative sum of the operation counter 1440 is n-5.

[0191] The countdown interval 1430 between receiving the n-4th behavior triggering operation and the n-5th behavior triggering operation is 1.6, which does not meet the time window requirement, so the operation counter 1440 stops accumulating and clears the accumulated sum.

[0192] The operation counter 1440 restarts the cumulative counting from the time it receives the behavior trigger operation for the n-4th time. There are only 4 countdown intervals 1430 that meet the time window requirements. The corresponding behavior trigger operations are: the n-4th to the nth behavior trigger operation, so the cumulative sum of the operation counter 1440 is 5.

[0193] That is, by counting the behavior triggering operation by one through the operation counter, the counting accuracy can be improved.

[0194] To sum up, the method provided in the present application accumulates and sums the received behavior triggering operations that meet the time window requirements. When the behavior triggering operation for the first attribute affecting behavior is received for the nth time, the master virtual object is displayed to execute the i-th first segmented sub-behavior in the first attribute affecting behavior based on the accumulated summation result and the sequence number of all first segmented sub-behaviors in the first attribute affecting behavior. This can improve the diversity of operation methods, control the master virtual object to execute more behaviors, improve the efficiency of human-computer interaction, and make the content in the displayed screen richer.

[0195] The method provided in this embodiment starts a countdown timer when a behavior triggering operation is received, and receives the next behavior triggering operation before the countdown timer expires, thereby determining that the time window requirement is met between the two behavior triggering operations, thereby improving the efficiency of human-computer interaction.

[0196] The method provided in this embodiment counts the received behavior triggering operations that meet the time window requirements by adding one, and accumulates the count of all behavior triggering operations that meet the time window requirements to obtain the cumulative sum. When the behavior triggering operation for the first attribute affecting behavior is received next time, the serial number of the first segmented sub-behavior executed by the master virtual object can be determined according to the cumulative sum, thereby improving the diversity of operation methods, quickly switching to display the master virtual object executing the corresponding attribute affecting behavior, and improving the efficiency of human-computer interaction.

[0197] In this embodiment, different i-th first segment sub-behaviors are determined according to the attribute-influencing behavior corresponding to the behavior triggering operation, which can expand the diversity of the determination methods of the i-th first segment sub-behavior.

[0198] In some embodiments, the multiple attribute-affecting behaviors configured by the master virtual object in the virtual scene include, in addition to the first attribute-affecting behavior and other attribute-affecting behaviors, a second attribute-affecting behavior, which also includes multiple second-segmented sub-behaviors. As shown in FIG15 , FIG15 is a flow chart of a method for displaying a virtual object executing an mth second-segmented sub-behavior, provided by an exemplary embodiment of the present application. The method includes the following steps.

[0199] Step 1510: Display the master virtual object in the virtual scene.

[0200] Same as step 710 above.

[0201] Step 1520 , in response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying the master virtual object to execute the i-th first segmented sub-behavior in the first attribute influencing behavior.

[0202] Same as step 720 above.

[0203] Step 1530, in response to receiving the (n+1)th behavior trigger operation for the second attribute influencing behavior that connects to the (n)th behavior trigger operation, based on the arrangement order of multiple second segment sub-behaviors, display the master virtual object to connect to the (i)th first segment sub-behavior to execute the (m)th second segment sub-behavior.

[0204] The mth second segmented sub-behavior is related to the number n+1 of received behavior triggering operations, and the operation times of the nth and n+1th behavior triggering operations meet the time window requirement.

[0205] After controlling the master virtual object to execute the attribute influencing behavior corresponding to the above-mentioned n behavior triggering operations, it receives a behavior triggering operation again, that is, a behavior triggering operation for the second attribute influencing behavior, and controls the master virtual object to execute the second segmented sub-behavior in the second attribute influencing behavior and display it.

[0206] The first attribute influence behavior includes a first segment sub-behaviors, and the second attribute influence behavior includes b second segment sub-behaviors.

[0207] Optionally, determining the sequence number m of the second segment sub-behavior to be executed by the master virtual object includes but is not limited to the following methods:

[0208] (1) All received behavior triggering operations that meet the time window requirements are counted cumulatively through the operation counter to obtain the operation count sum, and the sequence number m is determined based on the operation count sum;

[0209] Currently, the n+1th behavior triggering operation is received. The operation times corresponding to the previous n operations all meet the time window requirements, and the operation times of the nth and n+1th behavior triggering operations also meet the time window requirements. Then the sum of the operation counts is n+1. The remainder obtained by performing a ratio remainder operation based on the sum of the operation counts n+1 and the number of segments b of the second attribute affecting the behavior is the value of the sequence number m.

[0210] When the remainder is 0, the master virtual object is displayed to execute the last second segment sub-behavior in the second attribute influencing behavior.

[0211] (2) By receiving the nth behavior triggering operation for the first attribute influencing behavior, determine that the master virtual object executes the i-th first segmented sub-behavior, and determine the sequence number m based on the sequence number i.

[0212] After adding one to the value corresponding to the sequence number i, the remainder is obtained by performing a ratio modulus operation on the number of segments b. The remainder is also the value of the sequence number m.

[0213] When the remainder is 0, the master virtual object is displayed to execute the last second segment sub-behavior in the second attribute influencing behavior.

[0214] In some embodiments, if the time window requirement is not met between the behavior triggering operation for the second attribute influencing behavior received for the n+1th time and the behavior triggering operation received for the nth time, the master virtual object is displayed to execute the first second segmented sub-behavior in the second attribute influencing behavior.

[0215] It is worth noting that the methods for determining the serial number m of the master virtual object to execute the second segmented sub-behavior include but are not limited to the above-mentioned methods. The serial number m can also be determined randomly, or a preset specified sequence relationship table is used to determine the correspondence between the operation count and n+1 and the serial number m. This embodiment does not limit this.

[0216] To sum up, the method provided by the present application displays the master virtual object performing other attribute influencing behaviors by receiving n-1 behavior triggering operations for other attribute influencing behaviors. When the behavior triggering operation for the first attribute influencing behavior is received for the nth time, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute influencing behavior based on the number n-1 of behavior triggering operations for other attribute influencing behaviors and the sequence numbers of all first segmented sub-behaviors in the first attribute influencing behavior. This can improve the diversity of operation methods, control the master virtual object to perform more behaviors, improve the efficiency of human-computer interaction, and make the content in the displayed screen richer.

[0217] The method provided in this embodiment analyzes the second attribute influencing behavior existing in multiple attribute influencing behaviors. After the master virtual object receives the behavior triggering operation for other attribute influencing behaviors and the first attribute influencing behavior, it considers that when the behavior triggering operation for the second attribute influencing behavior is received again under the condition of meeting the time window requirement, the master virtual object is displayed to execute the mth second segmented sub-behavior in the second attribute influencing behavior, thereby improving the diversity of operation methods, increasing the types of behaviors that can be executed by the master virtual object, making the content in the display screen richer, and improving the efficiency of human-computer interaction.

[0218] FIG16 is a block diagram of a virtual object display device provided by an exemplary embodiment of the present application. As shown in FIG16 , the device includes:

[0219] An object display module 1610 is configured to display a master virtual object in a virtual scene, wherein the master virtual object is equipped with a plurality of attribute-affecting behaviors in the virtual scene, including a first attribute-affecting behavior, wherein the first attribute-affecting behavior includes a plurality of first segmented sub-behaviors arranged in sequence;

[0220] A behavior display module 1620 is configured to, in response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, display, based on the nth behavior triggering operation, the master virtual object executing the i-th first segmented sub-behavior of the first attribute influencing behavior, wherein the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operation is received, where n and i are positive integers, and the operation moments of the n behavior triggering operations meet a time window requirement;

[0221] The behavior display module 1620 is also used to respond to receiving a subsequent behavior triggering operation for the first attribute influencing behavior that is connected to the nth behavior triggering operation, and based on the arrangement order of the multiple first segmented sub-behaviors, display the master virtual object connecting to the i-th first segmented sub-behavior to execute the multiple first segmented sub-behaviors in sequence, wherein the operation moments of the subsequent behavior triggering operation and the nth behavior triggering operation meet the time window requirement, and the time window requirement means that the time interval between two adjacent behavior triggering operations is less than a preset time threshold.

[0222] In an optional embodiment, the behavior display module 1620, as shown in FIG17 , further includes:

[0223] Determining unit 1621 is configured to, in response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, determine, based on triggering periods of a plurality of first segmented sub-behaviors in the first attribute influencing behavior, an i-th first segmented sub-behavior corresponding to the number n from among the plurality of first segmented sub-behaviors;

[0224] The display unit 1622 displays the master virtual object executing the i-th first segmented sub-behavior in the first attribute influencing behavior.

[0225] In an optional embodiment, the determination unit 1621 is further used to take the modulus of the ratio of the number of times n to the number of segments of the first segmented sub-behavior in the first attribute influencing behavior, and obtain the value of i of the first segmented sub-behavior corresponding to the number of times n.

[0226] In an optional embodiment, the determination unit 1621 is further used to, in response to the number n of the behavior triggering operation taking a value of 1, determine the first first segmented sub-behavior corresponding to the number n from the multiple first segmented sub-behaviors; in response to the number n of the behavior triggering operation taking a value greater than 1, randomly determine the i-th first segmented sub-behavior from the multiple first segmented sub-behaviors; or, in response to the number n of the behavior triggering operation taking a value greater than 1, determine a pre-set i-th first segmented sub-behavior from the multiple first segmented sub-behaviors.

[0227] In an optional embodiment, the determination unit 1621 is also used for the determination unit, and is also used to obtain the odd and even results corresponding to the number n; based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior, determine the i-th first segmented sub-behavior corresponding to the odd and even results from the multiple first segmented sub-behaviors.

[0228] In an optional embodiment, the determination unit 1621 is further used to, in response to the number n being an even number, determine the first segmented sub-behavior corresponding to an even number from the multiple first segmented sub-behaviors as the i-th first segmented sub-behavior; in response to the number n being an odd number, determine the first segmented sub-behavior corresponding to an odd number from the multiple first segmented sub-behaviors as the i-th first segmented sub-behavior.

[0229] In an optional embodiment, the device further comprises:

[0230] A starting module 1630 is configured to start a countdown timer in response to receiving the kth behavior triggering operation, wherein the countdown timer is a timer with the time window requirement as a timing length, and k is a positive integer less than n;

[0231] The determination module 1640 is configured to, in response to receiving a k+1th behavior triggering operation before the countdown timer expires, determine whether the time window requirement is met between the kth behavior triggering operation and the k+1th behavior triggering operation.

[0232] In an optional embodiment, the device further comprises:

[0233] The counting module 1650 is configured to count the received behavior triggering operations by adding one through an operation counter, wherein the operation counter is configured to cumulatively count the behavior triggering operations that meet the time window requirement.

[0234] In an optional embodiment, the behavior display module 1620 is also used to display the master virtual object performing the first first segmented sub-behavior in the first attribute influencing behavior in response to receiving a single trigger operation on the first attribute influencing behavior; or, in response to receiving n-1 behavior trigger operations on other attribute influencing behaviors, display the master virtual object performing the other attribute influencing behaviors based on the n-1 trigger operations; in response to receiving the nth behavior trigger operation for the first attribute influencing behavior, display the master virtual object performing the i-th first segmented sub-behavior in the first attribute influencing behavior, where n is an integer greater than 1.

[0235] In an optional embodiment, the multiple attribute influencing behaviors further include a second attribute influencing behavior, and the second attribute influencing behavior includes a plurality of second segmented sub-behaviors arranged in sequence;

[0236] The behavior display module 1620 is also used to respond to receiving the n+1th behavior trigger operation for the second attribute influencing behavior that is connected to the nth behavior trigger operation, and based on the arrangement order of the multiple second segmented sub-behaviors, display the master virtual object connecting the i-th first segmented sub-behavior to perform the m-th second segmented sub-behavior, wherein the m-th second segmented sub-behavior is related to the number n+1 of times the behavior trigger operation is received, and the operation moments of the n-th and n+1-th behavior trigger operations meet the time window requirements.

[0237] To sum up, the device provided by the embodiment of the present application decomposes the attribute influencing behavior executable by the master virtual object into multiple segmented sub-behaviors, so that the same target control corresponds to multiple behaviors, thereby increasing the types of behaviors executable by the master virtual object when the number of controls is limited, and by performing behavior triggering operations on different controls that meet the time window requirements, the serial numbers of multiple segmented sub-behaviors existing in the target control are switched, and the segmented sub-behaviors after the virtual object executes the switched serial numbers are displayed, thereby improving the efficiency of human-computer interaction and enriching the content in the display screen. By triggering multiple controls, the master virtual object executes the same attribute influencing behavior, realizing a many-to-one operation mode, and improving the diversity of user operation modes.

[0238] It should be noted that the virtual object display device provided in the above embodiment is merely an example of the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the virtual object display device provided in the above embodiment and the virtual object display method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0239] FIG18 illustrates a block diagram of a computer device 1800 according to an exemplary embodiment of the present application. Computer device 1800 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. Computer device 1800 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.

[0240] Typically, the computer device 1800 includes a processor 1801 and a memory 1802 .

[0241] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an AI processor, which is used to process computing operations related to machine learning.

[0242] Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1802 is used to store at least one instruction, which is executed by processor 1801 to implement the virtual object display method provided in the method embodiment of the present application.

[0243] In some embodiments, the computer device 1800 also includes other components. Those skilled in the art will understand that the structure shown in Figure 18 does not constitute a limitation on the terminal 1800, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0244] Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). 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.

[0245] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a method for displaying a virtual object as described in any of the above embodiments of the present application.

[0246] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set, or an instruction set. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a method for displaying a virtual object as described in any of the above embodiments of the present application.

[0247] The present application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual object display method described in any of the above embodiments.

Claims

1. A method for displaying a virtual object, the method being executed by a terminal, the method comprising: Displaying a master virtual object in a virtual scene, wherein the master virtual object is equipped with a plurality of attribute-affecting behaviors in the virtual scene, including a first attribute-affecting behavior, wherein the first attribute-affecting behavior includes a plurality of first segmented sub-behaviors arranged in sequence; In response to receiving n behavior triggering operations, and the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying the master virtual object to execute the i-th first segmented sub-behavior in the first attribute influencing behavior based on the nth behavior triggering operation, wherein the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operations are received, n and i are positive integers, and the operation moments of the n behavior triggering operations meet a time window requirement, wherein the time window requirement means that the time interval between two adjacent behavior triggering operations is less than a preset time threshold; In response to receiving a subsequent behavior triggering operation for the first attribute influencing behavior that connects with the nth behavior triggering operation, based on the arrangement order of the multiple first segmented sub-behaviors, the master virtual object is displayed to connect with the i-th first segmented sub-behavior to execute the multiple first segmented sub-behaviors in sequence, wherein the operation time of the subsequent behavior triggering operation and the nth behavior triggering operation meets the time window requirement.

2. The method according to claim 1, wherein In response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying the master virtual object to execute the i-th first segmented sub-behavior of the first attribute influencing behavior based on the nth behavior triggering operation includes: In response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, determining, based on triggering periods of a plurality of first segmented sub-behaviors in the first attribute influencing behavior, an i-th first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors; The master virtual object is displayed to execute the i-th first segment sub-behavior in the first attribute influencing behavior.

3. The method according to claim 2, wherein: The determining, based on the triggering period of the plurality of first segmented sub-behaviors in the behavior affecting the first attribute, the i-th first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors includes: Based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior, a modulo the ratio of the number n to the number of segments is obtained to obtain the value of i of the first segmented sub-behavior corresponding to the number n.

4. The method according to claim 2, wherein: The determining, based on the triggering period of the plurality of first segmented sub-behaviors in the behavior affecting the first attribute, the i-th first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors includes: In response to the number n of times the behavior triggering operation is 1, determining a first first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors; In response to the number n of the behavior triggering operations being greater than 1, the i-th first segmented sub-behavior is randomly determined from the multiple first segmented sub-behaviors; or, in response to the number n of the behavior triggering operations being greater than 1, a pre-set i-th first segmented sub-behavior is determined from the multiple first segmented sub-behaviors.

5. The method according to claim 2, wherein: The determining, based on the triggering period of the plurality of first segmented sub-behaviors in the behavior affecting the first attribute, the i-th first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors includes: Get the odd and even number results corresponding to the number n; An i-th first segmented sub-behavior corresponding to the odd-even result is determined from the plurality of first segmented sub-behaviors based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior.

6. The method according to claim 5, wherein: The determining, based on the number of segments of the first segmented sub-behavior in the first attribute-influencing behavior, the i-th first segmented sub-behavior corresponding to the odd-even result from the plurality of first segmented sub-behaviors includes: In response to the number n being an even number, determining the first segment corresponding to the even number of times from the plurality of first segment sub-behaviors The sub-behavior is the i-th first segmented sub-behavior; In response to the number n being an odd number, a first segment sub-behavior corresponding to an odd number of times is determined from the plurality of first segment sub-behaviors as the i-th first segment sub-behavior.

7. The method according to any one of claims 1 to 6, wherein: The method further comprises: In response to receiving the kth behavior triggering operation, starting a countdown timer, wherein the countdown timer is a timer with the time window requirement as a timing length, and k is a positive integer less than n; In response to receiving a k+1th behavior triggering operation before the countdown timer expires, it is determined that the time window requirement is met between the kth behavior triggering operation and the k+1th behavior triggering operation.

8. The method according to claim 7, wherein: In response to receiving the k+1th behavior triggering operation before the countdown timer expires, after determining that the time window requirement is met between the kth behavior triggering operation and the k+1th behavior triggering operation, the method further includes: The received behavior triggering operation is counted by one through an operation counter, and the operation counter is used to accumulate and count the behavior triggering operations that meet the time window requirement.

9. The method according to any one of claims 1 to 8, wherein: In response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying the master virtual object to execute the i-th first segmented sub-behavior in the first attribute influencing behavior includes: In response to receiving a single trigger operation on the first attribute influencing behavior, displaying the master virtual object to execute the first first segment sub-behavior in the first attribute influencing behavior; or, In response to receiving n-1 behavior trigger operations for other attribute-affecting behaviors, the master virtual object is displayed to perform the other attribute-affecting behaviors based on the n-1 trigger operations; in response to receiving the nth behavior trigger operation for the first attribute-affecting behavior, the master virtual object is displayed to perform the i-th first segmented sub-behavior in the first attribute-affecting behavior, where n is an integer greater than 1.

10. The method according to any one of claims 1 to 8, wherein: The multiple attribute influencing behaviors further include a second attribute influencing behavior, and the second attribute influencing behavior includes a plurality of second segmented sub-behaviors arranged in sequence; The method further comprises: In response to receiving the n+1th behavior triggering operation for the second attribute influencing behavior that connects with the nth behavior triggering operation, based on the arrangement order of the multiple second segmented sub-behaviors, the master virtual object is displayed to connect with the i-th first segmented sub-behavior to execute the m-th second segmented sub-behavior, wherein the m-th second segmented sub-behavior is related to the number n+1 of times the behavior triggering operation is received, and the operation moments of the n-th and n+1-th behavior triggering operations meet the time window requirements.

11. A device for displaying a virtual object, the device comprising: An object display module is configured to display a master virtual object in a virtual scene, wherein the master virtual object is equipped with a plurality of attribute-affecting behaviors in the virtual scene, including a first attribute-affecting behavior, wherein the first attribute-affecting behavior includes a plurality of first segmented sub-behaviors arranged in sequence; a behavior display module for, in response to receiving n behavior triggering operations, where the nth behavior triggering operation is a triggering operation for the first attribute influencing behavior, displaying, based on the nth behavior triggering operation, that the master virtual object executes the i-th first segmented sub-behavior in the first attribute influencing behavior, wherein the i-th first segmented sub-behavior is related to the number n of times the behavior triggering operations are received, n and i are positive integers, and the operation moments of the n behavior triggering operations meet a time window requirement, where the time window requirement means that the time interval between two adjacent behavior triggering operations is less than a preset time threshold; The behavior display module is also used to respond to receiving a subsequent behavior trigger operation for the first attribute influencing behavior that is connected to the nth behavior trigger operation, and based on the arrangement order of the multiple first segmented sub-behaviors, display the master virtual object connecting to the i-th first segmented sub-behavior to execute the multiple first segmented sub-behaviors in sequence, wherein the operation time between the subsequent behavior trigger operation and the nth behavior trigger operation meets the time window requirement.

12. The device according to claim 11, wherein A determining unit, configured to respond to receiving n behavior triggering operations, wherein the nth behavior triggering operation is for the a triggering operation of an attribute-affecting behavior, determining, based on triggering periods of a plurality of first-segmented sub-behaviors in the first attribute-affecting behavior, an i-th first-segmented sub-behavior corresponding to the number n from the plurality of first-segmented sub-behaviors; A display unit is configured to display the i-th first segmented sub-behavior in the first attribute influencing behavior executed by the master virtual object.

13. The device according to claim 12, wherein The determining unit is further configured to obtain the value of i of the first segmented sub-behavior corresponding to the number n by modulo the ratio of the number n to the number of segments based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior.

14. The device according to claim 12, wherein The determining unit is further configured to, in response to the number n of the behavior triggering operation being 1, determine a first first segmented sub-behavior corresponding to the number n from the plurality of first segmented sub-behaviors; In response to the number n of the behavior triggering operations being greater than 1, randomly determining an i-th first segmented sub-behavior from the plurality of first segmented sub-behaviors; Alternatively, in response to the number n of the behavior triggering operations being greater than 1, a preset i-th first segmented sub-behavior is determined from the multiple first segmented sub-behaviors.

15. The device according to claim 12, wherein The determination unit is further used to obtain the odd and even results corresponding to the number n; and determine the i-th first segmented sub-behavior corresponding to the odd and even result from the multiple first segmented sub-behaviors based on the number of segments of the first segmented sub-behavior in the first attribute influencing behavior.

16. The device according to claim 12, wherein The determining unit is further configured to, in response to the number n being an even number, determine, from the plurality of first segmented sub-behaviors, a first segmented sub-behavior corresponding to an even number of times as the i-th first segmented sub-behavior; In response to the number n being an odd number, a first segment sub-behavior corresponding to an odd number of times is determined from the plurality of first segment sub-behaviors as the i-th first segment sub-behavior.

17. A computer device comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the method for displaying a virtual object according to any one of claims 1 to 10.

18. A computer-readable storage medium, wherein at least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the method for displaying a virtual object according to any one of claims 1 to 10.

19. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for displaying a virtual object according to any one of claims 1 to 10 is implemented.