Method and apparatus for task execution in virtual world, and device, medium and product

By displaying multiple non-player worker objects collaborating to perform complex tasks in a virtual world, the problem of limited job types for virtual pets is solved, their utilization rate is improved, and the waste of computer resources is reduced.

WO2026026306A1PCT designated stage Publication Date: 2026-02-05TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/102165
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-01
Filing Date
2025-06-19
Publication Date
2026-02-05

AI Technical Summary

Technical Problem

In open-world games, virtual pets have limited job types, resulting in low utilization and wasted computer resources.

Method used

This paper provides a method for task execution in a virtual world. By displaying multiple non-player worker objects and having them collaborate to perform complex tasks according to job requirements, the number and types of tasks are increased, and the working characteristics of virtual pets are fully utilized.

Benefits of technology

This increased the utilization rate of virtual pets, reduced idle time, and saved computer resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025102165_05022026_PF_FP_ABST
    Figure CN2025102165_05022026_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for task execution in a virtual world, and a device, a medium and a product, which relate to the technical field of computers. The method comprises: displaying a plurality of non-player worker objects in a virtual world (310); when there is a first task to be executed in the virtual world and the first task corresponds to at least two work type requirements, displaying a task execution process of the first task by at least two non-player worker objects among the plurality of non-player worker objects (320); and when the execution of the first task is completed, displaying a task result of the first task (330). In the present application, providing composite tasks requiring the collaboration of a plurality of work types for execution increases the number of tasks executable by non-player worker objects in a virtual world and fully utilizes work types to which the non-player worker objects belong, thereby increasing the utilization rate of the non-player worker objects and avoiding the idling of the non-player worker objects, and thus facilitating the reduction of the waste of computer resources.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment, medium and product for task execution in virtual world

[0001] The present application claims priority to the Chinese patent application No. 202411058255.3, filed on August 01, 2024, and entitled "Method, device, equipment, medium and product for task execution in virtual world", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the technical field of computer, in particular to a method, device, equipment, medium and product for task execution in virtual world. BACKGROUND

[0003] In open world games, players can obtain various virtual pets through capturing, and after obtaining virtual pets, players can arrange virtual pets to work.

[0004] In related technologies, there are various works in games, for example, manufacturing tools, building houses, felling trees, planting, watering, etc. Taking the work of felling trees as an example, players need to arrange virtual pets with felling tree skills to perform the work of felling trees.

[0005] However, the works provided by the game in related technologies are relatively single, and the types of works that virtual pets can perform are limited, which leads to low utilization rate of virtual pets, thereby causing waste of computer resources. SUMMARY

[0006] Embodiments of the present application provide a method, device, equipment, medium and product for task execution in virtual world, and the technical solutions provided by embodiments of the present application are as follows:

[0007] In one aspect, a method for task execution in a virtual world is provided, the method is executed by a computer device, and the method comprises:

[0008] displaying a plurality of non-player worker objects in a virtual world, the plurality of non-player worker objects respectively correspond to a set of work types, and the non-player worker objects are non-player virtual objects in the virtual world for performing tasks;

[0009] in a case where there is a first task to be executed in the virtual world, and the first task corresponds to at least two work type requirements, displaying a task execution process of the first task by at least two non-player worker objects in the plurality of non-player worker objects, wherein the collocation relationship between the work types to which the at least two non-player worker objects respectively belong meets the at least two work type requirements;

[0010] in a case where the first task is executed, displaying a task result of the first task.

[0011] In another aspect, there is provided a task execution apparatus in a virtual world, the apparatus comprising:

[0012] a first display module configured to display a plurality of non-player worker objects in the virtual world, the plurality of non-player worker objects respectively corresponding to a set of job types, the non-player worker objects being non-player virtual objects in the virtual world for performing tasks;

[0013] a second display module configured to, in a case where there is a first task to be performed in the virtual world and the first task corresponds to at least two job type requirements, display a task execution process of the first task by at least two non-player worker objects from the plurality of non-player worker objects, wherein a matching relationship between the at least two job types to which the at least two non-player worker objects respectively belong complies with the at least two job type requirements.

[0014] The second display module is further configured to, in a case where the first task is completed, display a task result of the first task.

[0015] In some embodiments, the second display module is configured to, in a case where there is the first task to be performed in the virtual world and the first task corresponds to n job type requirements, display a task execution process of the first task by n non-player worker objects, the n non-player worker objects respectively corresponding to different job types, n>1 and n being an integer; or, in a case where there is the first task to be performed in the virtual world and the first task corresponds to m job type requirements, display a task execution process of the first task by k non-player worker objects, wherein at least one non-player worker object from the k non-player worker objects corresponds to at least two job types, and the at least two job types respectively comply with the at least two job type requirements included in the at least two job type requirements, wherein m>2, 1

[0016] In some embodiments, the second display module is configured to, in a first stage of the first task, display a first non-player worker object from the k non-player worker objects performing a first action, the first action being an action matched with a first job type to which the first non-player worker object belongs; and in a second stage of the first task, display the first non-player worker object performing a second action, the second action being an action matched with a second job type to which the first non-player worker object belongs; wherein the first job type is different from the second job type.

[0017] In some embodiments, the second display module is configured to display a performance effect of the at least two non-player worker objects performing the first task in a case where the worker basic attributes corresponding to the at least two non-player worker objects respectively meet a preset matching degree requirement, the performance effect being used to indicate that the at least two non-player worker objects perform the first task with enhanced execution capability, and the worker basic attributes including at least one of the work type, the worker appearance attribute, and the worker identity attribute.

[0018] In some embodiments, the performance effect includes at least one of the following effects: improving an execution speed of performing the first task, the execution speed being in a positive correlation with the matching degree; improving an achievement level of a task result of the first task, the achievement level being in a positive correlation with the matching degree; reducing a resource quantity consumed for completing the first task, the resource quantity being in a negative correlation with the matching degree; and increasing an achievement quantity of the task result of the first task, the achievement quantity being in a positive correlation with the matching degree.

[0019] In some embodiments, the at least two non-player worker objects include a second non-player worker object and other non-player worker objects; and the second display module is configured to display a third non-player worker object in the virtual world during the execution of the first task, the third non-player worker object being a non-player worker object acquired by at least one virtual character, a collocation relationship between the third non-player worker object and the other non-player worker objects belonging to different work types meeting the at least two work type requirements, and the third non-player worker object and the other non-player worker objects performing the first task in a case where a matching degree between worker basic attributes corresponding to the third non-player worker object and the other non-player worker objects is greater than a matching degree between worker basic attributes corresponding to the second non-player worker object and the other non-player worker objects.

[0020] In some embodiments, the second display module is configured to display the at least two non-player worker objects stopping performing the first task in a case where a work state of a non-player worker object in the at least two non-player worker objects does not meet a preset state requirement during the execution of the first task, or display a fourth non-player worker object stopping performing the first task in a case where a work state of the fourth non-player worker object in the at least two non-player worker objects does not meet a preset state requirement during the execution of the first task, the at least two non-player worker objects excluding the fourth non-player worker object performing the first task.

[0021] In some embodiments, the at least two non-player worker objects include a fifth non-player worker object; the second display module is configured to display the fifth non-player worker object suspending execution of the first task and executing a second task in the virtual world when there is the second task to be executed and the task priority of the second task is higher than that of the first task, wherein the fifth non-player worker object belongs to a work type that meets a work type requirement of the second task.

[0022] In some embodiments, the first display module is configured to display the plurality of non-player worker objects in a first base area in the virtual world, the plurality of non-player worker objects including non-player worker objects obtained by at least one virtual character from the virtual world and placed in the first base area, the first base area being an area divided from the virtual world based on a created base of the at least one virtual character in the virtual world.

[0023] In some embodiments, the at least one virtual character includes a first virtual character, and the first virtual character is a virtual character currently hosted by a terminal; the first display module is configured to display, in the first base area, a non-player worker object obtained by a second virtual character when a base interaction operation is received, the second virtual character being a virtual character in the virtual world that does not belong to the first base area; wherein the base interaction operation is used to invite the non-player worker object obtained by the second virtual character to enter the first base area, or the base interaction operation is used to accept a request of the non-player worker object obtained by the second virtual character to enter the first base area.

[0024] In some embodiments, the virtual world includes a task preparation area corresponding to the first task, the task preparation area being used to provide preparation work of the at least two non-player worker objects for the first task; the second display module is configured to display the at least two non-player worker objects in the task preparation area, and display a task execution process of the at least two non-player worker objects for the first task when the at least two non-player worker objects complete the task preparation work.

[0025] In some embodiments, the second display module is configured to display an unlocking animation of a partial area in the task preparation area when part of the at least two non-player worker objects enter the task preparation area, and display the task execution process of the at least two non-player worker objects for the first task when all areas in the task preparation area are unlocked.

[0026] In some embodiments, the virtual world further comprises a task work area, which refers to a workspace where the at least two non-player worker objects perform the first task; the second display module is configured to display that the at least two non-player worker objects are being teleported to the task work area when the at least two non-player worker objects are in the task preparation area; and display the task execution process of the at least two non-player worker objects on the first task in the task work area when the teleportation of the at least two non-player worker objects is completed.

[0027] In some embodiments, the first task comprises at least two subtasks, and the at least two subtasks correspond to the at least two job requirements one by one; the second display module is configured to display the subtask progress corresponding to the at least two job requirements respectively, and the subtask progress is used to indicate the task completion progress of the subtask corresponding to the job requirement; and display the task result of the first task when the execution of the plurality of subtasks is completed.

[0028] In some embodiments, the plurality of non-player worker objects comprises a seventh non-player worker object obtained from the virtual world by at least one virtual character, and a sixth non-player worker object not captured by the at least one virtual character; the second display module is configured to display a summoning animation when the job type of the non-player worker object captured by the virtual character does not meet the at least two job requirements, the summoning animation is used to summon the sixth non-player worker object from the non-captured non-player worker object, and the matching relationship between the sixth non-player worker object and the at least one seventh non-player worker object respectively belonging to the job type meets the at least two job requirements; and display the task execution process of the at least one seventh non-player worker object and the sixth non-player worker object on the first task when the summoning animation is played.

[0029] In some embodiments, the second display module is configured to display the summoning animation when the worker level of the at least one seventh non-player worker object is higher than the worker level of the sixth non-player worker object.

[0030] In some embodiments, the first task comprises a plurality of subtasks, and the plurality of subtasks correspond to the at least two job requirements one by one; the second display module is configured to display the task execution process of the at least two non-player worker objects on the first task with a work attribute level, and the work attribute level is used to indicate the ability to execute the subtask; wherein the work attribute level is determined according to the job type of a target worker object in the at least two non-player worker objects, and the job type of the target worker object matches the job requirement corresponding to the subtask.

[0031] In some embodiments, in the case where there is one target worker object in the at least two non-player worker objects, the work attribute level of the subtask refers to the attribute level of the work type to which the one target worker object belongs; in the case where there are multiple target worker objects in the at least two non-player worker objects, the work attribute level of the subtask is determined based on the attribute levels of the work types to which the multiple target worker objects respectively belong.

[0032] In another aspect, a computer device is provided, which includes a processor and a memory, the memory storing 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 being loaded and executed by the processor to implement any of the above-mentioned task execution methods in a virtual world.

[0033] In another aspect, a computer readable storage medium is provided, 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 being loaded and executed by a processor to implement any of the above-mentioned task execution methods in a virtual world.

[0034] In another aspect, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform any of the above-mentioned task execution methods in a virtual world.

[0035] The technical solutions provided by the embodiments of the present application have at least the following beneficial effects:

[0036] The first task with requirements of at least two work types is provided in the virtual world, and the at least two non-player worker objects cooperate to execute the first task in the case where the matching between the work types to which the at least two non-player worker objects respectively belong meets the requirements of the at least two work types corresponding to the first task. By providing a complex task requiring cooperation of multiple work types, the number and types of tasks executable by the non-player worker objects in the virtual world are increased, and the work types to which the non-player worker objects belong are fully utilized, which is conducive to improving the utilization rate of the non-player worker objects, avoiding idle non-player worker objects, and thus reducing the waste of computer resources. BRIEF DESCRIPTION OF DRAWINGS

[0037] FIG. 1 is a structural block diagram of a computer system provided by an embodiment of the present application;

[0038] FIG. 2 is a schematic diagram of a task execution method in a virtual world according to an embodiment of the present application;

[0039] FIG. 3 is a flowchart of a task execution method in a virtual world according to an embodiment of the present application;

[0040] FIG. 4 is a flowchart of a task execution method in a virtual world according to another embodiment of the present application;

[0041] FIG. 5 is a schematic diagram of a task execution method in a virtual world according to another embodiment of the present application;

[0042] FIG. 6 is a flowchart of a task execution method in a virtual world according to yet another embodiment of the present application;

[0043] FIG. 7 is a schematic diagram of a task execution method in a virtual world according to yet another embodiment of the present application;

[0044] FIG. 8 is a flowchart of a task execution method in a virtual world according to still another embodiment of the present application;

[0045] FIG. 9 is a schematic diagram of a task work area unlocking process according to an embodiment of the present application;

[0046] FIG. 10 is a flowchart of a virtual pet determination method according to an embodiment of the present application;

[0047] FIG. 11 is a structural block diagram of a task execution apparatus in a virtual world according to an embodiment of the present application;

[0048] FIG. 12 is a structural block diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0049] For the purpose of making the objects, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings; obviously, the described embodiments are only some of the embodiments of the present application, instead of all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of the present application.

[0050] In the present application, the terms "first", "second", and the like are used to distinguish items or similar items having basically the same function and action, and it should be understood that there is no logical or time sequence dependency between "first" and "second", and the quantity and execution order are not limited.

[0051] It should be noted that the application can display a prompt interface, a pop-up window or output voice prompt information before and during the collection of the relevant data of the player, and the prompt interface, the pop-up window or the voice prompt information is used to prompt the player that the relevant data of the player is currently being collected, so that the application only starts to perform the relevant steps of obtaining the relevant data of the player after obtaining the confirmation operation of the player to the prompt interface or the pop-up window, otherwise (i.e. without obtaining the confirmation operation of the player to the prompt interface or the pop-up window), the relevant steps of obtaining the relevant data of the player are ended, i.e. the relevant data of the player is not obtained. In other words, all the player data collected by the application is collected under the condition that the player agrees and authorizes, and the collection, use and processing of the relevant player data need to comply with relevant laws, regulations and standards.

[0052] FIG. 1 shows a structural block diagram of a computer system 100 provided by an embodiment of the application. The computer system 100 can be implemented as a system architecture of a task execution method in a virtual world. The computer system 100 includes a terminal 110 and a server 120.

[0053] The terminal 110 can be an electronic device such as a mobile phone, a tablet computer, a vehicle terminal (car machine), a wearable device, a PC (Personal Computer), an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, a desktop computer, a smart robot, etc. The terminal in the embodiments of the present application can also be referred to as a terminal device. The terminal 110 can be installed with a client running a target application, which can be any one of a VR (Virtual Reality) program, an AR (Augmented Reality) program, a three-dimensional map program, a virtual reality game, an augmented reality game, an FPS (First-Person Shooting Game), a TPS (Third-Personal Shooting Game), a MOBA (Multiplayer Online Battle Arena Games), a SLG (Simulation Game), a party casual game, a construction game, an open-world game, a survival role-playing game, etc. In addition, the form of the target application is not limited in the present application, which includes but is not limited to an App (Application) installed in the terminal 110, a mini program, a webpage, etc.

[0054] The terminal 110 is connected to the server 120 through a wireless network or a wired network.

[0055] The server 120 can be a stand-alone physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services. Alternatively, the server 120 can also be implemented as a node in a blockchain system, which is not limited in the present application.

[0056] For example, the server 120 includes a processor 124 and a memory 122, and the memory 122 includes a receiving module 1221, a control module 1222 and a sending module 1223, the receiving module 1221 is used to receive the request sent by the terminal 110; the control module 1222 is used to control the rendering of the virtual world picture; the sending module 1223 is used to send a response to the terminal 110. The server 120 is used to provide background services for the terminal 110.

[0057] Optionally, the server 120 undertakes the main computing work, and the terminal 110 undertakes the secondary computing work; or the server 120 undertakes the secondary computing work, and the terminal 110 undertakes the main computing work; or the server 120 and the terminal 110 adopt a distributed computing architecture to perform collaborative computing.

[0058] For the task execution method in the virtual world provided in the embodiments of the present application, the execution subject of each step can be a computer device, which refers to an electronic device with data computing, processing and storage capabilities. For example, the computer system shown in FIG. 1 can execute the task execution method in the virtual world (for example, a target application program installed and running in the terminal 110 can be used to execute the task execution method in the virtual world), or the server 120 can execute the task execution method in the virtual world, or the terminal 110 and the server 120 can interact and cooperate to execute the task execution method in the virtual world, which is not limited in the present application.

[0059] Those skilled in the art can know that the number of the terminal 110 can be more or less. For example, the terminal 110 can be only one, or the terminal 110 can be dozens or hundreds, or more. The number and type of the terminal 110 are not limited in the embodiments of the present application.

[0060] In an open-world game, a player can obtain various virtual pets through capturing, and after obtaining the virtual pets, the player can arrange the virtual pets to work. In the related art, various works exist in the game, such as manufacturing tools, building houses, felling trees, planting, watering, etc. Taking the felling tree work as an example, the player needs to arrange a virtual pet with a felling tree skill to perform the felling tree work. However, the work provided by the game in the related art is relatively single, and the type of work that can be performed by the virtual pet is limited, which leads to a low utilization rate of the virtual pet, thereby causing a waste of computer resources.

[0061] Therefore, the embodiments of the present application provide a task execution method in a virtual world. Taking a non-player worker object as an example, the virtual pet is implemented, as shown in FIG. 2, which shows a schematic diagram of the task execution method in the virtual world provided by an embodiment of the present application. The method is applied to a computer device, such as the terminal 110 shown in FIG. 1.

[0062] Please refer to FIG. 2, the virtual world 200 contains a plurality of virtual pets, the plurality of virtual pets are captured by at least one virtual character in the virtual world 200. For example: the virtual world 200 is displayed by a terminal logged in by a first account, the first account can control a first virtual character, and the plurality of virtual pets are captured by the first account controlling the first virtual character; or a part of the plurality of virtual pets are captured by the first account controlling the first virtual character, and another part of the plurality of virtual pets are captured by other virtual characters, the other virtual characters can be virtual characters controlled by accounts other than the first account, non-player characters, etc., which are not limited here. Each virtual pet has a working characteristic, which refers to the work type that the virtual pet can undertake. For example: the virtual pet has a "logging" working characteristic, so the virtual pet can undertake the logging work type, that is, the virtual pet can perform logging work. The work type can be used to indicate the division of labor of the virtual object in the virtual environment, for example, in the case where the work type of the virtual pet is logging, it can have a logging skill to perform logging work in the virtual environment.

[0063] In the virtual world 200, there is a work 201 to be performed, as shown in FIG. 2, the work 201 has two working characteristic requirements of "watering" and "weeding", which are used to refer to the working characteristics (i.e. work type) required by the work. The user needs to find two virtual pets (i.e. watering workers and weeding workers) with "watering" and "weeding" working characteristics respectively in the virtual world 200 to cooperate to complete the work 201. In the virtual world 200, the virtual pet 202 has a "watering" working characteristic (i.e. the work type is a watering worker), the virtual pet 203 has a "weeding" working characteristic (i.e. the work type is a weeding worker), and the combination of the virtual pet 202 and the virtual pet 203 matches the working characteristics required by the work 201. Therefore, the virtual pet 202 and the virtual pet 203 can automatically go to the work area 210 to perform the work 201, or the virtual pet 202 and the virtual pet 203 go to the work area 210 to perform the work 201 under the control of the first account. Among them, the virtual pet 202 performs watering work, the virtual pet 203 performs weeding work, and the virtual pet 202 and the virtual pet 203 cooperate to complete the work 201.

[0064] In summary, the task execution method in the virtual world provided by the embodiments of the present application provides a composite task that requires the cooperation of multiple work types, increases the number and types of tasks that virtual pets can perform in the virtual world, and makes full use of the working characteristics of virtual pets, improves the utilization rate of virtual pets, avoids idle virtual pets, and thus reduces the waste of computer resources.

[0065] Next, the flow of the task execution method in the virtual world provided by the present application is introduced.

[0066] FIG. 3 shows a flowchart of a method for task execution in a virtual world according to an embodiment of the present application. The method is applied to a computer device, which can be the terminal 110 shown in FIG. 1, such as a client of a target application installed and running in the terminal 110. The method includes at least one of steps 310 to 330.

[0067] In step 310, a plurality of non-player worker objects in a virtual world are displayed.

[0068] Optionally, the virtual world refers to a scene displayed when the target application runs, and the virtual world can be used for virtual objects to act. The virtual objects refer to objects provided by the target application, such as a virtual character controllable by a user account or a non-player virtual object controlled by the target application. A first account is logged in the target application, and the first account can be used to refer to a user account currently logged in the client. Taking an open-world game implemented by the target application as an example, after the first account logs in the client, the client displays a virtual world corresponding to the first account in a terminal interface. In the virtual world, a first virtual character corresponding to the first account appears in a player-defined image or a preset image. The player can freely explore and interact in the virtual world through the first virtual character.

[0069] In the embodiments of the present application, there are a plurality of non-player worker objects in the virtual world. The non-player worker objects can be non-player virtual objects in the virtual world for executing tasks. Illustratively, the non-player worker objects refer to non-player virtual objects in the virtual world for executing various tasks, and the non-player worker objects include at least one of a virtual worker, a virtual pet, a virtual mythical beast, a virtual wonder beast, and the like, which are not limited herein. In the embodiments of the present application, the plurality can be understood as at least two.

[0070] Hereinafter, the non-player worker objects are taken as virtual pets as an example for illustration.

[0071] Optionally, the plurality of non-player worker objects include non-player worker objects obtained by at least one virtual character from the virtual world. Illustratively, the obtaining method of the virtual pet includes at least one of the following methods: a wild virtual pet captured from the virtual world by the virtual character using a capture prop (such as a pet ball, a magic trap, and the like), a virtual pet obtained by the virtual character from the virtual world by hatching a hatching prop, a new virtual pet obtained by the virtual character through breeding of a captured virtual pet, a virtual pet obtained by the virtual character through trading with other virtual characters by using a captured virtual pet, an initial virtual pet configured by the virtual character, and the like, which are not limited herein.

[0072] Optionally, the at least one virtual role includes at least one of a virtual role currently hosted by the terminal (e.g., a first virtual role controlled by a first account), a virtual role controlled by another terminal, a non-player character (NPC), and the like.

[0073] The non-player worker object, after being acquired, can be arranged to perform a virtual task existing in the virtual world, and the plurality of non-player worker objects respectively correspond to worker work attributes, wherein the worker work attributes are used to indicate the type of work that the non-player worker object is matched with when performing the task, that is, the plurality of non-player worker objects are respectively set to have the type of work.

[0074] Illustratively, when the non-player worker object is implemented as a virtual pet, the worker work attribute refers to the working characteristics of the virtual pet, and the working characteristics of the virtual pet indicate the type of work that the virtual pet is competent for when performing the task. The working characteristics of the virtual pet can be designed according to the type of the target application program. For example, if the target application program is implemented as an open-world survival game, the working characteristics of the virtual pet can include starting a fire, watering, sowing, generating electricity, handicraft, logging, collecting, and weeding, that is, the type of work of the virtual pet can include life work, watering work, sowing work, electricity generation work, handicraft, logging work, collection work, and weeding work, and the like, without limitation.

[0075] The number of worker work attributes corresponding to each non-player worker object can be one or more, that is, each non-player worker object can be set to have at least one type of work, and the worker work attributes corresponding to different non-player worker objects can be the same or different. Optionally, the virtual pet can be configured with initial working characteristics, and after the virtual pet is captured by the virtual role, the virtual role can arrange the virtual pet to learn, so that the virtual pet has new working characteristics.

[0076] In one example, the worker work attribute corresponding to the non-player worker object has an attribute level, that is, the type of work to which the non-player worker object belongs has an attribute level, and the attribute level is used to indicate the working ability of the non-player worker object in the type of work corresponding to the worker work attribute. Illustratively, taking the "logging" working characteristic (i.e., the type of work is logging work) as an example, if the attribute level of the "logging" working attribute includes levels 1, 2, and 3, then the working ability of the virtual pet in the logging work type is: 1 level < 2 level < 3 level. The working attribute of the virtual pet can be configured with an initial attribute level, and the virtual role can arrange the virtual pet to perform training, perform tasks, and the like, thereby upgrading the initial attribute level of the working characteristic to improve the attribute level of the working characteristic.

[0077] In step 320, when there is a first task to be executed in the virtual world and the first task corresponds to at least two work requirements, at least two non-player worker objects in the plurality of non-player worker objects are displayed to perform the task execution process of the first task.

[0078] In the embodiments of the present application, the work requirement is used to indicate the work type required to execute the task, which can be represented by the task work attribute, that is, the task work attribute corresponding to the first task can be used to indicate the work type required to execute the first task. Illustratively, the first task corresponds to multiple work requirements, which means that multiple work types are required to execute the first task. In the present application, the first task requiring cooperation of multiple work types is provided in the virtual world, such as the gardening task requiring the watering work type to be responsible for watering and the weeding work type to be responsible for weeding; the construction task requiring the carpenter to be responsible for installing doors and windows, the electrician to be responsible for installing the electrical system, and the plumber to be responsible for installing the water supply and drainage system; the treatment task requiring the doctor to be responsible for the treatment operation and the nurse to be responsible for assisting the operation, etc., which are not limited here. The embodiments of the present application do not limit the type of the first task, which can be a production task such as building an article or a building, a service task such as carrying an object, or an entertainment task such as dancing or performing.

[0079] The non-player worker object whose work type meets the work requirement corresponding to the first task can participate in the execution of the first task. The work type meeting the work requirement can mean that the work type is the same as the work type indicated by the work requirement. The matching relationship between the work attributes corresponding to the at least two non-player worker objects meets the work requirements corresponding to the at least two task work attributes, that is, the matching relationship between the work types to which the at least two non-player worker objects respectively belong meets the at least two work requirements. Illustratively, when the matching relationship between the work characteristics corresponding to the at least two virtual pets meets the work requirements corresponding to the plurality of task work attributes, the client displays the task execution process of the first task of at least two virtual pets in the plurality of virtual pets, that is, there are at least two virtual pets whose combination of work characteristics can perform the first task requiring cooperation of multiple work types, for example: if virtual pet 1 has the work characteristics corresponding to the watering work type and virtual pet 2 has the work characteristics corresponding to the weeding work type, then virtual pet 1 and virtual pet 2 can perform the gardening task.

[0080] Optionally, the first task includes at least two subtasks, the at least two subtasks correspond one-to-one to the at least two work requirements (i.e., the at least two task work attributes), and the at least two subtasks in the at least two subtasks are executed in parallel, which means that the at least two subtasks can be run at the same time period, rather than executed one after another in sequence.

[0081] In one example, the matching relationship between the at least two non-player worker objects respectively belonging to the at least two job types meets the at least two job type requirements, and the matching relationship includes at least one of the following cases:

[0082] Case one, in a case where there is a first task to be executed in the virtual world, and the first task corresponds to n job type requirements, the client displays a task execution process of n non-player worker objects on the first task, the n non-player worker objects respectively correspond to different job types, n>1 and n is an integer.

[0083] Illustratively, in a case where the first task is "building a house", and the "building a house" requires a construction job type (i.e., a construction worker) and a porter job type (i.e., a porter), if the virtual pet 1 has the work characteristics corresponding to the construction job type, i.e., belongs to the construction job type, and the virtual pet 2 has the work characteristics corresponding to the porter job type, i.e., belongs to the porter job type, the client displays the virtual pet 1 and the virtual pet 2 executing the "building a house" task, and in the execution process of the "building a house" task, the virtual pet 1 performs the house building action corresponding to the construction job type, and the virtual pet 2 performs the house building material carrying action corresponding to the porter job type.

[0084] In case one, the n non-player worker objects correspond one-to-one to the n job type requirements, and each non-player worker object focuses on a part of the task according to its specific worker work attribute, which is conducive to improving the efficiency of task execution. For example, in a building task, a non-player worker object belonging to a construction job type focuses on building a house structure, and a non-player worker object belonging to a porter job type is responsible for carrying building materials, both of which work in parallel to speed up the overall task execution progress, thereby facilitating a reduction in the user's waiting time and improving the user experience.

[0085] Case two, in a case where there is a first task to be executed in the virtual world, and the first task corresponds to m job type requirements, the client displays a task execution process of k non-player worker objects on the first task, wherein there is at least one non-player worker object in the k non-player worker objects corresponding to at least two job types, and the job type requirements met by the at least two job types are included in the at least two job type requirements, wherein m>2, 1

[0086] Illustratively, in the task execution process of the first task, at least two work characteristics corresponding to at least one virtual pet are applied to enable the k virtual pets to be qualified for the first task. Alternatively, the first task has multiple task stages, and in each task stage, at least one job type requirement corresponding to the first task matches one work characteristic of at least one virtual pet. The following is described by taking an example in which the task stages include a first stage and a second stage.

[0087] In the second case, in the case that the number of non-player worker objects is limited, the non-player worker objects are maximally utilized to complete the composite task (i.e. the first task) by letting one non-player worker object have multiple working capabilities, thereby reducing the need for adding extra non-player worker objects for single task working attributes, and saving resources or space.

[0088] Optionally, in the first stage of the first task, the first non-player worker object in the k non-player worker objects is displayed to perform a first action, the first action being an action matched with the first work type to which the first non-player worker object belongs; in the second stage of the first task, the first non-player worker object is displayed to perform a second action, the second action being an action matched with the second work type to which the first non-player worker object belongs; wherein the first work type is different from the second work type.

[0089] The first non-player worker object can refer to a non-player worker object belonging to at least two work types in the k non-player worker objects, the first work type being a work type indicated by a first worker working attribute corresponding to the first non-player worker object, and the second work type being a work type indicated by a second worker working attribute corresponding to the first non-player worker object. The first worker working attribute is different from the second worker working attribute.

[0090] Illustratively, the first task is "resource collection", and "resource collection" requires exploration work type, collection work type and transportation work type, virtual pet 1 has working characteristics corresponding to the exploration work type and working characteristics corresponding to the collection work type, and virtual pet 2 has working characteristics corresponding to the transportation work type. The "resource collection" task includes an exploration stage and a collection stage. In the exploration stage, virtual pet 1 performs a resource exploration action corresponding to the exploration work type, and virtual pet 2 performs a supply material moving action corresponding to the transportation work type during the exploration process; after the resource is explored, the collection stage is entered, virtual pet 1 performs a resource collection action corresponding to the collection work type, and virtual pet 2 performs a resource transportation action corresponding to the transportation work type.

[0091] It should be noted that the above examples are only illustrative, and in some tasks, the first stage and the second stage can be alternately executed, that is, at least two work types to which at least one non-player worker object belongs are alternately applied during the execution of the first task, so that the k non-player worker objects can be qualified for the first task.

[0092] In the above embodiment, when the non-player worker object has multiple working capabilities (i.e. belongs to multiple work types), it can exert its different working capabilities in different stages of the task, so that the non-player worker object can be immediately put into the next task stage after the end of one task stage without waiting for other non-player worker objects to take over, ensuring the continuity of the work flow and avoiding interruption due to replacement of non-player worker objects, thereby improving the execution efficiency of the first task.

[0093] In some embodiments, the at least two non-player worker objects are determined automatically based on worker job attributes respectively corresponding to the plurality of non-player worker objects, i.e., the at least two non-player worker objects are determined automatically based on the job types respectively to which the plurality of non-player worker objects belong.

[0094] Illustratively, the at least one virtual character places the plurality of virtual pets captured in the virtual world, and if there is a first task in the virtual world, the client determines whether there is a virtual pet that meets job requirements of the first task according to job characteristics respectively corresponding to the plurality of virtual pets, and if so, the client controls the virtual pet that meets the requirements to automatically participate in performing the first task; or, in the case of determining that there is a virtual pet that meets the requirements, the client receives a task execution operation, and in response to the task execution operation, the client controls the virtual pet that meets the requirements to participate in performing the first task. The task execution operation is an operation that triggers the execution of the task.

[0095] In other embodiments, the at least two non-player worker objects are determined based on a selection operation.

[0096] Illustratively, the client receives a pet selection operation, the pet selection operation being used to select a plurality of candidate virtual pets from the plurality of virtual pets, and if at least two of the plurality of candidate virtual pets belong to job types that meet at least two job requirements of the first task, the client takes the plurality of candidate virtual pets as the at least two virtual pets, and the at least two virtual pets perform the first task.

[0097] In some embodiments, during the execution of the first task, if the working state of a non-player worker object in the at least two non-player worker objects does not meet a preset state requirement, the execution state of the first task includes at least one of the following two cases:

[0098] Case one, during the execution of the first task, if the working state of a non-player worker object in the at least two non-player worker objects does not meet a preset state requirement, the at least two non-player worker objects are displayed as stopping the execution of the first task.

[0099] Case two, during the execution of the first task, if the working state of a fourth non-player worker object in the at least two non-player worker objects does not meet a preset state requirement, the fourth non-player worker object is displayed as stopping the execution of the first task, and non-player worker objects other than the fourth non-player worker object in the at least two non-player worker objects perform the first task.

[0100] Illustratively, the virtual pet 1 and the virtual pet 2 cooperatively perform the first task, in case one, if the working state of any one of the virtual pet 1 and the virtual pet 2 does not meet the preset state requirement, both the virtual pet 1 and the virtual pet 2 stop working, and then the first task stops being performed; in case two, if the working state of the virtual pet 1 of the virtual pet 1 and the virtual pet 2 does not meet the preset state requirement, the virtual pet 1 stops working, and the virtual pet 2 continues working, then the part of the task performed by the virtual pet 1 in the first task stops being performed, and the part of the task performed by the virtual pet 2 continues being performed.

[0101] The working state can be used to indicate the state of the non-player worker object, and the preset state requirement can be set and adjusted according to actual use requirements, which is not limited in the present application. Illustratively, the case that the working state of the non-player worker object does not meet the preset state requirement includes at least one of the following cases: (1) the target attribute value does not meet the standard, such as too low physical value, too high hunger value, too low life value, etc.; (2) being attacked, such as being attacked by an enemy virtual character, etc.; (3) being affected by environmental factors, such as the virtual world being in extreme weather, etc.; (4) being blocked by obstacles, such as the non-player worker object being blocked by obstacles on the working route of the first task, etc., which is not limited herein.

[0102] When the working state of the non-player worker object does not meet the preset state requirement in the first task execution process, the working state of the non-player worker object that does not meet the preset state requirement can be restored. For example: feeding the virtual pet with too high hunger value to restore its work, removing obstacles on the working route of the virtual pet, etc.; or selecting a target virtual pet to replace the virtual pet that does not meet the preset state requirement to perform the first task, the working state of the target virtual pet meets the preset state requirement, and the matching relationship between the target virtual pet and other virtual pets (other virtual pets refer to the virtual pets whose working state meets the preset state requirement among the at least two virtual pets) respectively belongs to the type of work meets the requirement of at least two types of work.

[0103] In the above embodiment, in case one, when the working state of any one of the at least two non-player worker objects does not meet the preset requirement, the entire task is immediately stopped from being performed, which ensures the consistency of the task execution, avoids the deviation of the task result caused by the poor state of the part of the non-player worker objects, and is suitable for the first task with relatively strong correlation between subtasks.

[0104] In the above embodiment, in case two, only the non-player worker object whose working state does not meet the preset requirement stops performing the task, while the other non-player worker objects continue to perform, which maximizes the continuity and efficiency of the task, avoids the overall interruption of the task caused by a single non-player worker object, and is suitable for the first task with relatively independent subtasks.

[0105] In some embodiments, the tasks in the virtual world correspond to priorities, and a task with a higher priority is executed in preference to a task with a lower priority. For example, during execution of a first task, if a second task with a higher priority than the first task exists, at least one non-player worker object that meets the job requirement will first execute the second task.

[0106] Optionally, the at least two non-player worker objects include a fifth non-player worker object; and in a case where a second task exists to be executed in the virtual world and a priority of the second task is higher than a priority of the first task, the fifth non-player worker object is displayed as suspending execution of the first task and executing the second task, wherein the fifth non-player worker object belongs to a job type that meets a job type requirement of the second task.

[0107] The priority of the task is used to indicate the order of execution of the task, and a task with a higher priority is executed in preference to a task with a lower priority. The second task is different from the first task. Illustratively, the second task can be a task that only requires a single non-player worker object to execute; or the second task can be a task that requires multiple non-player worker objects to execute.

[0108] Optionally, the number of the fifth non-player worker objects can be one or more, that is, among the at least two non-player worker objects executing the first task, the non-player worker object that suspends execution of the first task and executes the second task can be one or more.

[0109] In one example, if there is no non-player worker object that meets the job type requirement of the second task among the idle non-player worker objects in the virtual world, the fifth non-player worker object is displayed as suspending execution of the first task and executing the second task.

[0110] Illustratively, taking an idle virtual pet implemented by an idle non-player worker object as an example, the idle virtual pet refers to a virtual pet that does not execute a task in the virtual world, and if there is no virtual pet that meets the job type requirement of the second task among the idle virtual pets, the client searches for a virtual pet that meets the job type requirement of the second task among virtual pets executing a target task, and the target task refers to a task with a lower priority than the second task.

[0111] In the above embodiments, by introducing the priority of the task, when a higher priority task (such as the second task) appears, the non-player worker object that meets the condition can quickly switch tasks and execute the task with a higher priority first, avoiding the situation that a low-priority task (such as the first task) occupies resources for a long time while a high-priority task is delayed, thereby improving the efficiency and rationality of the overall task execution.

[0112] In some embodiments, the plurality of non-player worker objects further comprises wild non-player worker objects, and the wild non-player worker objects are called to perform the first task if the non-player worker objects captured by the virtual character cannot meet the work type requirement corresponding to the first task, and there are wild non-player worker objects in the virtual world that meet the work type requirement corresponding to the first task in combination with the captured non-player worker objects. The wild non-player worker object is a non-player worker object that has not been captured by the virtual character.

[0113] Optionally, the plurality of non-player worker objects further comprises seventh non-player worker objects obtained by the at least one virtual character from the virtual world, and sixth non-player worker objects that have not been captured by the at least one virtual character. In the case where the work type to which the non-player worker objects captured by the virtual character belong does not meet the at least two work type requirements, a calling animation is displayed, the calling animation is used to call the sixth non-player worker object from the non-captured non-player worker objects, the combination relationship between the sixth non-player worker object and the work type to which the at least one seventh non-player worker object belongs meets the at least two work type requirements, and in the case where the calling animation ends, the task execution process of the at least one seventh non-player worker object and the sixth non-player worker object on the first task is displayed.

[0114] The sixth non-player worker object is a wild non-player worker object, and the at least one seventh non-player worker object is a non-player worker object captured by the at least one virtual character from the virtual world. Illustratively, assuming that the work types required by the first task include work type 1, work type 2, and work type 3, in the current virtual world, the virtual pet A has the work characteristics corresponding to work type 1, the virtual pet B has the work characteristics corresponding to work type 2, but all the virtual pets captured by the virtual character do not have the work characteristics corresponding to work type 3 required by the first task, at this time, if there is a virtual pet C that has not been captured in the virtual world and has the work characteristics corresponding to work type 3, the client calls the virtual pet C, and the virtual pet A, the virtual pet B, and the virtual pet C are combined to perform the first task in cooperation.

[0115] In the above embodiments, the wild non-player worker object is allowed to participate in the execution of the task, which enhances the flexibility of the task execution and ensures that the first task can proceed smoothly. For the player, the wild non-player worker object can be called to participate in the task execution, which increases the interest and challenge of the task execution process, and the player can quickly find a solution (i.e., call the wild non-player worker object) when facing a task difficulty, which is conducive to improving the player's satisfaction.

[0116] In one example, the calling animation is displayed in the case where the worker level of the at least one seventh non-player worker object is higher than the worker level of the sixth non-player worker object.

[0117] The worker level can refer to a level of the non-player worker object or an attribute level of the non-player worker object, and the application does not limit the same. Illustratively, the client displays the calling animation in a case where the worker level of at least one seventh non-player worker object is higher than the worker level of the sixth non-player worker object; or displays the calling animation in a case where the non-player worker object with a higher worker level exists in the at least one seventh non-player worker object; or displays the calling animation in a case where the worker level of the specified non-player worker object in the at least one seventh non-player worker object is higher than the worker level of the sixth non-player worker object.

[0118] The specified non-player worker object can refer to the non-player worker object belonging to the same category as the sixth non-player worker object in the at least one seventh non-player worker object. For example, in a case where the sixth virtual pet is a fire-type worker, when a specified virtual pet with a fire-type and a pet level higher than the pet level of the sixth virtual pet exists in the at least one seventh virtual pet, the client triggers the calling animation. The example of the virtual pet of the same category is only illustrative, and the category to which the virtual pet belongs is not limited here. The pet level is the level of the virtual pet.

[0119] It should be noted that the above description of the condition for triggering the calling animation is only an illustrative example. In the virtual world, when the sixth non-player worker object exists, the sixth non-player worker object can also be called through a calling prop (such as a calling coupon) and the like.

[0120] In the above embodiment, the worker level is introduced as a condition for displaying the calling animation, which improves the balance of task execution and avoids resource waste caused by unlimited calling operations. Moreover, by combining the worker level with the calling permission, the value of the worker level is strengthened, which is conducive to stimulating the interest of the player in improving the worker level, thereby increasing the playability and long-term appeal of the game.

[0121] In some embodiments, a virtual task (such as the first task) in the virtual world corresponds to a work attribute level, and the work attribute level indicates the ability of the non-player worker object to execute the virtual task. The higher the work attribute level, the stronger the ability of the non-player worker object to execute the virtual task. Illustratively, the virtual pet with a high work attribute level can complete the work faster when executing the virtual task, the task completion time is short, and the virtual pet has a higher task success rate and richer task rewards.

[0122] The work attribute level of the above first task is determined by the types of work to which the at least two non-player worker objects participating in the first task belong, respectively.

[0123] In one example, the client displays at least two non-player worker objects to work on a first task in a task execution process, the work attribute level being used to indicate the ability to execute a subtask; wherein the work attribute level is determined according to the work type to which a target worker object in the at least two non-player worker objects belongs, and the work type to which the target worker object belongs matches the work type requirement corresponding to the subtask.

[0124] Illustratively, the first task is composed of multiple subtasks, each subtask corresponding to a task work attribute (i.e., work type requirement), and the work attribute level of the subtask is determined by comprehensively evaluating the attribute levels of all virtual pets participating in the first task.

[0125] Suppose the first task includes subtask 1 corresponding to work type 1, subtask 2 corresponding to work type 2, and subtask 3 corresponding to work type 3, and the virtual pets participating in the first task include virtual pet A (work type 1 is level 3, work type 2 is level 2), virtual pet B (work type 2 is level 3), and virtual pet C (work type 1 is level 1, work type 2 is level 2, and work type 3 is level 3), wherein the content in the parentheses refers to the work characteristics and attribute levels corresponding to the virtual pet.

[0126] In one example, the non-player worker object that executes each subtask can be determined based on the worker work attribute and attribute level of the non-player worker object. Alternatively, from the non-player worker objects capable of executing the subtask, the non-player worker object with the highest attribute level of the work type that meets the work type requirement of the subtask is selected to execute the subtask, such as in the above example, virtual pet A executes subtask 1, virtual pet B executes subtask 2, and virtual pet C executes subtask 3.

[0127] By assigning subtasks according to the worker work attribute and corresponding attribute level of the non-player worker object, it can be ensured that each subtask is completed by the non-player worker object that is best suited to execute the task, avoiding the inappropriate assignment of tasks to non-player worker objects that are not good at it, thereby maximizing the use of the worker work attribute of the non-player worker object and facilitating the rationality of the assignment of the non-player worker object.

[0128] In one example, the work attribute level of the non-player worker object when executing the subtask is determined by multiple non-player worker objects participating in the first task. Alternatively, in the case where there is a target worker object in the at least two non-player worker objects, the work attribute level of the subtask refers to the attribute level of the work type to which the target worker object belongs; in the case where there are multiple target worker objects in the at least two non-player worker objects, the work attribute level of the subtask is determined based on the attribute levels of the work types to which the multiple target worker objects belong, respectively.

[0129] In the case of multiple target worker objects, the attribute levels corresponding to the multiple target worker objects can be weighted and summed to obtain the work attribute level of the subtask, or the attribute levels corresponding to the multiple target worker objects can be summed to obtain the work attribute level of the subtask, which is not limited in the present application.

[0130] In the above example, the work type 1 of the virtual pet A is level 3, and the work type 1 of the virtual pet C is level 1, so the work attribute level of the virtual pet A executing the subtask 1 can be level 3.5; the work type 2 of the virtual pet A is level 2, and the work type 2 of the virtual pet B is level 3, so the work attribute level of the virtual pet B executing the subtask 2 can be level 4; the work type 3 of the virtual pet C is level 3, and no other pet has this work type, so the work attribute level of the virtual pet C executing the subtask 3 is level 3.

[0131] In the above example, in the first task execution process, the work attribute levels of the subtasks of the first task are determined by comprehensively considering the work types to which the multiple non-player worker objects belong, which not only maximizes the utilization of the worker work attributes of the non-player worker objects themselves, but also integrates the worker work attributes of the non-player worker objects themselves with the worker work attributes of other non-player worker objects, thereby improving the execution efficiency of the non-player worker objects executing the subtasks. For players, this integration mechanism enhances the interest in the task execution process, and is conducive to stimulating the interest of players in comprehensively improving the attribute levels of various worker work attributes possessed by various non-player worker objects, thereby being conducive to increasing the attraction of the game.

[0132] Step 330, in the case where the first task is executed, the task result of the first task is displayed.

[0133] The task result can refer to the achievement or effect when the first task is executed. For example, in the case where the first task is a gardening task, the task result is that the weeds in the garden are pulled out and the flowers are watered; in the case where the first task is a building task, the task result is that the virtual building is built; in the case where the first task is a building task, the task result is that the virtual role / non-player worker object is treated.

[0134] Optionally, the client displays the task result of the first task in the case where the multiple subtasks included in the first task are executed. Illustratively, at least two virtual pets are responsible for executing the multiple subtasks, and each virtual pet is responsible for executing one or more of the multiple subtasks, and the client displays the task result of the first task after each virtual pet responsible for the task part is partially executed.

[0135] In some embodiments, the task progress information is displayed during the execution of the first task, and the task progress information is used to indicate the completion progress of the first task.

[0136] Optionally, the first task comprises at least two sub-tasks, and the at least two sub-tasks correspond to the at least two job requirements one by one. The client displays the sub-tasks corresponding to the at least two job requirements respectively, and the sub-tasks are used to indicate the task completion progress of the sub-tasks corresponding to the job requirements. Illustratively, a sub-task progress is assigned to each sub-task to intuitively indicate the completion progress of the sub-task, and the sub-task progress dynamically changes with the execution of the sub-task.

[0137] Optionally, the client displays a total task progress of the first task, and the total task progress is used to indicate the task completion progress of the first task. Illustratively, a total task completion progress is configured for the first task to indicate the overall completion of the first task, and the total task progress dynamically changes with the execution of each sub-task.

[0138] Optionally, the types of the task progress information corresponding to the sub-task progress of different sub-tasks can be the same or different, and the types of the task progress information corresponding to the sub-task progress and the total task progress can be the same or different. Illustratively, the type of the task progress information includes at least one of a literal representation and a graphical representation, and the embodiments of the present application are not limited in this regard. For example, the completion degree of the task can be represented by a percentage number, or the completion degree of the task can be represented by a progress bar, or the completion degree of the task can be represented by the cumulative completion number of the sub-tasks, and the like.

[0139] In the above embodiments, by directly displaying the task progress information of each sub-task of the first task, the player can quickly know the task completion progress of each sub-task, and the player does not need to obtain the task completion progress through additional operations, which is beneficial to improve the efficiency of human-computer interaction.

[0140] In summary, the task execution method in the virtual world provided by the embodiments of the present application provides a first task corresponding to at least two job requirements in the virtual world, and at least two non-player worker objects cooperate to execute the first task when the matching between the at least two non-player worker objects respectively belonging to the job types meets the at least two job requirements corresponding to the first task. By providing a composite task requiring the cooperation of multiple jobs, the number and type of tasks executable by non-player worker objects in the virtual world are increased, and the jobs to which the non-player worker objects belong are fully utilized, which is beneficial to improve the utilization rate of non-player worker objects, avoid idle non-player worker objects, and thus reduce the waste of computer resources.

[0141] In addition, for the player, multiple non-player worker objects work together according to the job types to which they belong, which is beneficial to increase the interest of the player in the process of executing the task, thereby improving the immersion and satisfaction of the player, and further satisfying the participation and achievement of the player, which is beneficial to improve the user stickiness.

[0142] In some embodiments, the first base area in the virtual world is provided, and the plurality of non-player worker objects are acquired by the at least one virtual character and placed in the first base area. Referring to FIG. 4, the embodiment shown in FIG. 3 can further implement at least one of steps 410 to 430.

[0143] Step 410, displaying the plurality of non-player worker objects in the first base area in the virtual world.

[0144] The plurality of non-player worker objects include non-player worker objects acquired by the at least one virtual character from the virtual world and placed in the first base area, and the plurality of non-player worker objects respectively correspond to worker work attributes, and the worker work attributes are used to indicate the type of work matched by the non-player worker objects when performing tasks, that is, the plurality of non-player worker objects respectively correspond to the type of work set.

[0145] The first base area refers to an area divided from the virtual world based on a base created by the at least one virtual character in the virtual world.

[0146] Illustratively, the virtual character can create a base in the virtual world, and the base is a fixed point or area established by the virtual character in the virtual world, which is usually used as a base, a warehouse, a trading point, or a social center, etc. When the virtual character creates a base in the virtual world, this base becomes a center or reference point, and the client can further divide a specific area associated with the base, i.e. the first base area, based on the center. The first base area can be an area extending a certain range around the base as the center, and the first base area can also be divided according to specific division rules, such as the first base area being divided as an area including the surrounding mountain slope, flat land, and part of the forest area, etc. with a valley as the center, and the division rules of the first base area are not limited here.

[0147] After the first base area is divided, the virtual character can perform activities in the first base area, such as building a base, collecting resources, etc. The client can provide some tasks for the first base area, for example: if there are mineral resources in the first base area, a task of collecting resources will be generated; if the virtual character needs to build a base in the first base area, a task of building a house will be generated, etc. The virtual character can complete the tasks generated in the first base area by itself, or the virtual character can arrange the virtual pet to complete the tasks generated in the first base area.

[0148] The at least one virtual character includes at least one of a virtual character controlled by a current terminal, a virtual character controlled by another terminal, a non-player virtual character, etc., which is not limited here.

[0149] The embodiment takes at least one virtual character including a first virtual character as an example for illustration, where the first virtual character is a virtual character currently controlled by the terminal.

[0150] Optionally, in a case where a placement operation on a non-player worker object is received, the non-player worker object is displayed in the first base area. Illustratively, the current terminal is logged in with the first account, the first account has a plurality of virtual pets, and one or more virtual pets can be selected from the plurality of virtual pets and placed in the first base area. The virtual pet placed in the first base area automatically searches for a task, and if the virtual pet meets the job requirements of a certain task, the virtual pet can participate in the execution of the task. Alternatively, the first account can directly place the virtual pet in the task work area of a certain task, and if the virtual pet meets the job requirements of the task, the virtual pet can participate in the execution of the task. The task work area refers to the area occupied when the task is executed.

[0151] In some embodiments, the non-player worker object participating in the execution of the task in the first base area (controlled by the first virtual character) can also be a non-player worker object obtained by another virtual character.

[0152] Optionally, in a case where a base interaction operation is received, the non-player worker object obtained by the second virtual character is displayed in the first base area. The second virtual character is a virtual character in the virtual world that does not belong to the first base area.

[0153] The base interaction operation is used to invite the non-player worker object obtained by the second virtual character to enter the first base area. Illustratively, in a case where the first account triggers the base interaction operation, the client sends a pet entry base invitation to other accounts (i.e., accounts controlling the second virtual character) based on the base interaction operation. That is, the virtual pet obtained by the second virtual character is invited to enter the first base area to execute the existing to-be-executed task in the first base area together with the virtual pet placed in the first base area by the first account. The pet entry base invitation is used to invite the virtual pet to enter the first base area.

[0154] Alternatively, the base interaction operation is used to accept the request of the non-player worker object captured by the second virtual character to enter the first base area. Illustratively, the current terminal receives a pet entry base request sent by other accounts. If the first account agrees, the virtual pet captured by the second virtual character enters the first base area to execute the existing to-be-executed task in the first base area together with the virtual pet placed in the first base area by the first account. The pet entry base request is used to request to enter the first base area.

[0155] In the above embodiment, the player can invite non-player worker objects owned by other players to enter the player's base area to participate in performing tasks within the player-controlled base, on the one hand, the resources of non-player worker objects owned by the player are supplemented, the overall resources of non-player worker objects in the virtual world are fully utilized, and the waste of resources in the virtual world is avoided; on the other hand, the social interaction and team cooperation among players are promoted, and the social attribute of the game is enhanced.

[0156] Step 420, in the case that there is a first task to be performed in the first base area, and the first task corresponds to at least two job requirements, the task execution process of the first task by at least two non-player worker objects in the plurality of non-player worker objects is displayed.

[0157] The job requirements are used to indicate the job required to perform the task, which can be represented by a task work attribute, such as a task work attribute of the first task, which can be used to indicate the job required to perform the first task, and the matching relationship between the jobs to which the at least two non-player worker objects belong respectively conforms to the at least two job requirements.

[0158] Optionally, the first base area includes a plurality of task work areas, each task work area corresponds to a different task, and when there is a target work area in the first base area, and the first task to be performed corresponding to the target work area corresponds to at least two job requirements, the client displays the task execution process of the first task by at least two non-player worker objects.

[0159] Optionally, the first task includes a plurality of subtasks, and the plurality of subtasks correspond one-to-one to the at least two job requirements. Illustratively, the target work area is an empty land, the first task is to build a defense tower in the target work area, which requires one worker to be responsible for transporting building materials and another worker to be responsible for building the defense tower, and then the client can determine at least two non-player worker objects from the plurality of non-player worker objects included in the first base area to cooperate to perform the first task. Among the at least two non-player worker objects, one worker belongs to the job corresponding to transporting building materials, and another non-player worker object belongs to the job corresponding to building the defense tower.

[0160] Optionally, the client displays the subtask progress corresponding to each of the at least two job requirements, and the subtask progress is used to indicate the task completion progress of the subtask corresponding to the job requirement; or the client displays the total task progress of the first task, and the total task progress is used to indicate the task completion progress of the first task.

[0161] Step 430, in the case that the first task is completed, the task result of the first task is displayed.

[0162] Optionally, the client displays the task result of the first task when the plurality of sub-tasks included in the first task are executed completely. Illustratively, at least two virtual pets are responsible for executing the plurality of sub-tasks, and the client displays the task result of the first task when each virtual pet responsible for a sub-task is executed completely.

[0163] Please refer to FIG. 5, which shows a schematic diagram of a method for executing a task in a virtual world according to another embodiment of the present application. As shown in FIG. 5, the virtual world 500 controlled by the virtual character 501 includes a plurality of virtual pets (not shown in the figure), which are virtual pets captured by the virtual character 501 in the virtual world and placed in the virtual world 500. The virtual world 500 has a task 502 to be executed, which requires two virtual pets belonging to the "watering" and "weeding" work types, respectively, to be found in the virtual world 500 to cooperate to complete the task 502.

[0164] If the virtual pet 503 belongs to the "watering" work type and the virtual pet 504 belongs to the "weeding" work type, and the combination of the two virtual pets matches the two work type requirements of the task 502, the virtual pet 503 and the virtual pet 504 can automatically go to the task work area 510 to execute the task 502, or the virtual pet 503 and the virtual pet 504 can go to the task work area 510 to execute the task 502 under the control of the virtual character 501. Among them, the virtual pet 503 performs the watering work, and the virtual pet 504 performs the weeding work.

[0165] During the execution of the task 502, the client displays the task progress 530 of the task 502 on the terminal interface. The task progress 530 indicates the completion of the watering work and the weeding work by numbers, as shown in FIG. 5, the watering work has been completed "255", and the weeding work has been completed "333" (wherein "255" and "333" represent the number of completions). When any of the works is completed, it can be indicated by grayed text, such as in the case where the weeding work has been completed "3333", the weeding work has been executed completely, and at least one of the text of "weeding" and "3333" can be grayed to indicate that the weeding work has ended; the work progress 530 indicates the overall completion of the task 502 by the progress bar 531.

[0166] To sum up, the method for task execution in the virtual world provided by the embodiments of the present application provides the first task requiring multiple work types to be matched in the base area controlled by the virtual character, and when the matching between the work attributes of the multiple non-player worker objects respectively belonging to the base area meets the work type requirements corresponding to the first task, the multiple non-player worker objects cooperatively execute the first task. On the one hand, by providing the composite task requiring multiple work types to be cooperatively executed, the number and types of tasks executable by the non-player worker objects in the virtual world are increased, and the work types to which the non-player worker objects belong are fully utilized, which is conducive to improving the utilization rate of the non-player worker objects, avoiding idle non-player worker objects, and thus reducing the waste of computer resources. On the other hand, the task execution process of the non-player worker objects is displayed in the base area. Since the base area can be regarded as a “private territory” of the player in the virtual world, the player can see the task progress and worker state information in real time, avoiding the need for the player to frequently switch scenes, which is conducive to improving the efficiency of human-computer interaction.

[0167] In some embodiments, the at least two non-player worker objects have a matching degree, and when the matching degree meets a preset matching degree requirement, the at least two non-player worker objects can obtain a gain effect when executing the first task. Illustratively, at least one of steps 610 to 630 shown in FIG. 6 can be implemented in the embodiment shown in FIG. 3.

[0168] Step 610: Display multiple non-player worker objects in the virtual world.

[0169] The multiple non-player worker objects include non-player worker objects captured from the virtual world by at least one virtual character, and the multiple non-player worker objects respectively correspond to work attributes, which are used to indicate the work types matched by the non-player worker objects when executing tasks, that is, the multiple non-player worker objects respectively correspond to work types.

[0170] Step 620: When there is a first task to be executed in the virtual world, the first task corresponds to at least two work type requirements, and the work attributes of the at least two non-player worker objects respectively correspond to the preset matching degree requirement, display the task execution process of the at least two non-player worker objects on the first task in a gain performance effect.

[0171] The work type requirements are used to indicate the work types required for executing the task, which can be represented by the task work attributes. For example, the task work attributes of the first task can be used to indicate the work types required for executing the first task, and the matching relationship between the work types to which the at least two non-player worker objects respectively belong meets the at least two work type requirements.

[0172] The worker basic attribute includes at least one of a worker type (i.e., a worker work attribute), a worker appearance attribute, and a worker identity attribute. The worker appearance attribute is used to indicate the color, size, body shape, clothing, etc. of the non-player worker object, and the worker identity attribute can be used to indicate the identity, type, level, etc. of the non-player worker object. Illustratively, taking the worker basic attribute as an example of the pet basic attribute, the pet basic attribute includes at least one of a work characteristic, a pet appearance attribute, and a pet identity attribute; the work characteristic is used to indicate the type of work matched by the virtual pet when performing a task, such as a lumberjack type, a watering type, etc.; the pet appearance attribute is used to indicate the visual appearance of the virtual pet, such as color, shape, size, etc., and the pet identity attribute includes the category, breed, level, rarity, etc. of the virtual pet.

[0173] The preset fit degree requirement is used to indicate a preset fit degree required for performing a task, and the preset fit degree can be set and adjusted according to actual use requirements. Optionally, the case that the worker basic attributes corresponding to the at least two non-player worker objects respectively meet the preset fit degree requirement can be that the fit degree between the worker basic attributes corresponding to the at least two non-player worker objects respectively is greater than or equal to the preset fit degree, and the fit degree between the worker basic attributes corresponding to the at least two non-player worker objects respectively is determined by at least one of the following methods:

[0174] Method 1. The fit degree between the at least two non-player worker objects is determined based on the worker identity attributes corresponding to the at least two non-player worker objects respectively.

[0175] Illustratively, if there are two virtual pets A and B, their worker identity attributes can include category, breed, level, etc., and a weight can be set for each identity attribute, and the fit degree is calculated according to the similarity or complementarity of the two virtual pets in these attributes. For example, if virtual pet A and virtual pet B belong to the same category (such as both being feline or canine), then their fit degree in this worker identity attribute is higher; if the breed of virtual pet A and virtual pet B is the same or similar (such as both being Persian cats), then their fit degree in this worker identity attribute is higher; if the levels of virtual pet A and virtual pet B are similar, then their fit degree in this worker identity attribute is higher. Score each worker identity attribute, and sum the weighted scores to obtain the total fit degree.

[0176] Method 2. The fit degree between the at least two non-player worker objects is determined based on the types of work to which the at least two non-player worker objects respectively belong.

[0177] Illustratively, the fit degree can be determined based on the attribute levels of the types of work to which virtual pet A and virtual pet B respectively belong. For example, the higher the attribute levels of the types of work to which virtual pet A and virtual pet B respectively belong, the higher the fit degree between virtual pet A and virtual pet B.

[0178] Method 3. Determine the fit degree between the at least two non-player worker objects based on the worker appearance attributes respectively corresponding to the at least two non-player worker objects.

[0179] Illustratively, taking size as an example, if the virtual pet A and the virtual pet B are complementary in size (e.g., one big and one small), the fit degree between the virtual pet A and the virtual pet B is higher.

[0180] It should be noted that the above examples of the determination method of the fit degree are only illustrative, and the embodiments of the present application do not limit this. Alternatively, at least two of the above three methods can be combined for use, for example: a fit degree is determined according to method 1, method 2 and method 3 respectively, and the three fit degrees are added according to a preset weight to obtain a final fit degree as the fit degree between the pet basic attributes respectively corresponding to the at least two virtual pets.

[0181] The above gain performance effect is used to indicate that the at least two non-player worker objects execute the first task with enhanced execution capability, and the gain performance effect optionally includes at least one of the following effects:

[0182] (1) The execution speed of executing the first task is improved, and the execution speed is positively correlated with the above fit degree.

[0183] The execution speed is the speed of the at least two non-player worker objects executing the first task. Illustratively, the higher the fit degree between the virtual pets, the higher the efficiency of their cooperative work, thereby facilitating the acceleration of the execution speed of the task. Optionally, the acceleration of the speed is visually displayed through animation acceleration, rapid filling of a progress bar, etc.

[0184] (2) The achievement level of the task result of the first task is improved, and the achievement level is positively correlated with the fit degree.

[0185] The achievement level is used to indicate the quality of the task result. Illustratively, the higher the fit degree between the virtual pets, the higher quality of the task achievement that the virtual pets can produce, such as higher quality wood, purer water source, etc. Optionally, the improvement of the achievement level can be embodied by changing the appearance of the task result, increasing additional attribute bonuses, etc.

[0186] (3) The number of resources consumed to complete the first task is reduced, and the number of resources is negatively correlated with the fit degree.

[0187] Illustratively, the higher the fit degree between the virtual pets, the more effectively the virtual pets can utilize resources when executing the task, such as reducing the scrap rate of resources, thereby reducing unnecessary waste. Optionally, the reduction of resource consumption can be realized by reducing the number of consumables in the task execution process, prolonging the resource usage time, etc.

[0188] (4) increasing the number of achievements of the task result of the first task, the number of achievements being positively correlated with the fit degree.

[0189] The number of achievements is used to indicate the number of task results. Illustratively, the higher the fit degree between the virtual pets is, the more task achievements the virtual pets can produce in the same time. Alternatively, the increase of the number of achievements can be embodied by increasing the production rate of the task results, improving the success rate of task completion, etc.

[0190] In the above embodiments, by introducing the concept of the fit degree between the worker basic attributes and making it positively correlated with the various gain performance effects of task execution, on the one hand, the gain performance effects can improve the task execution efficiency; on the other hand, the players can intuitively feel the influence of different worker combinations on the task execution effect, encouraging the players to explore and optimize the worker combinations to achieve a more optimal task execution strategy, increasing the interest in the task execution process.

[0191] In some embodiments, the at least two non-player worker objects include a second non-player worker object and other non-player worker objects; during the execution of the first task, a third non-player worker object in the virtual world is displayed, the third non-player worker object being a non-player worker object acquired by the at least one virtual character, and the matching relationship between the third non-player worker object and the other non-player worker objects respectively belonging to the types of work meets the above-mentioned at least two work type requirements.

[0192] Alternatively, when the fit degree between the worker basic attributes corresponding to the third non-player worker object and the other non-player worker objects is greater than the fit degree between the worker basic attributes corresponding to the second non-player worker object and the other non-player worker objects, the third non-player worker object and the other non-player worker objects are displayed to execute the first task.

[0193] The second non-player worker object can be set to any non-player worker object of the at least two non-player worker objects, and the other non-player worker objects can refer to the non-player worker objects of the at least two non-player worker objects except the second non-player worker object.

[0194] Illustratively, during the execution of the first task, a third virtual pet in the virtual world will be displayed, the third virtual pet can be currently placed in the virtual world by the at least one virtual character. The system will evaluate the fit degree between the third virtual pet and the other virtual pets, if the fit degree between the third virtual pet and the other virtual pets is greater than the fit degree between the second virtual pet and the other virtual pets, then the system will preferentially display the third virtual pet and the other virtual pets to execute the first task together, by selecting a virtual pet combination with a higher fit degree to execute the task, the completion efficiency and quality of the task can be improved.

[0195] Step 630, in the case that the first task is executed, displaying a task result of the first task.

[0196] Illustratively, the at least two virtual pets execute the first task under the influence of the gain performance effect, and the client displays the task result of the first task after the first task is executed.

[0197] Please refer to FIG. 7, which shows a schematic diagram of a method for task execution in a virtual world according to another embodiment of the present application. As shown in FIG. 7, in the virtual world 700, the virtual pet 701 and the virtual pet 702 belong to the two job types required by the task 710. If the affinity between the virtual pet 701 and the virtual pet 702 is greater than or equal to the preset affinity, the virtual pet 701 and the virtual pet 702 can obtain a gain effect when executing the task 710, such as the watering speed of the virtual pet 701 being accelerated and the weeding speed of the virtual pet 702 being accelerated. Alternatively, at least one of the gain identifier 703 and the gain special effect 704 is displayed when the gain effect takes effect, to indicate that the first task is being influenced by the gain effect.

[0198] In summary, the method for task execution in a virtual world according to the embodiments of the present application can enable the non-player worker objects to work collaboratively with enhanced execution capability when the worker basic attributes of the non-player worker objects meet the preset affinity requirement, thereby accelerating the execution speed of the task and improving the quality of the task result.

[0199] In some embodiments, the virtual world includes a task preparation area corresponding to the first task, and the task preparation area is used for the at least two non-player worker objects to perform preparation work for the first task. Illustratively, please refer to FIG. 8, the embodiment shown in FIG. 3 can also implement at least one of the steps 810 to 830.

[0200] Step 810, displaying a plurality of non-player worker objects in the virtual world.

[0201] The plurality of non-player worker objects includes non-player worker objects captured from the virtual world by at least one virtual character, and the plurality of non-player worker objects respectively correspond to worker job attributes, which are used to indicate the job types matched by the non-player worker objects when executing tasks, i.e., the plurality of non-player worker objects respectively correspond to the job types set.

[0202] Step 821, in the case that there is a first task to be executed in the virtual world and the first task corresponds to at least two job type requirements, displaying at least two non-player worker objects in the plurality of non-player worker objects in the task preparation area.

[0203] The work type requirement is used to indicate the work type required for performing the task, which can be represented by a task work attribute. For example, the task work attribute of the first task can be used to indicate the work type required for performing the first task. The matching relationship between the work types to which the at least two non-player worker objects belong respectively meets the at least two work type requirements. The task preparation area is used for the at least two non-player worker objects to perform preparation work for the first task.

[0204] Illustratively, the task preparation area is a region in the virtual world, which is used for the virtual pet to make necessary preparations and assemble before performing the task. For example, the player can need to equip the virtual pet with specific equipment, learn specific skills, or adjust the state of the pet, and the like.

[0205] Optionally, the number of the task preparation areas in the virtual world can be one or multiple. When there are multiple task preparation areas in the virtual world, different task preparation areas correspond to different tasks, or one task corresponds to multiple task preparation areas. In the case that the non-player worker objects displayed in the multiple task preparation areas all complete the task preparation work, the client displays the task execution process of the at least two non-player worker objects on the first task.

[0206] At step 822, in the case that the at least two non-player worker objects complete the task preparation work, the task execution process of the at least two non-player worker objects on the first task is displayed.

[0207] In some embodiments, in the case that part of the at least two non-player worker objects enter the task preparation area, an unlocking animation of part of the task preparation area is displayed; in the case that all regions of the task preparation area are unlocked, the task execution process of the at least two non-player worker objects on the first task is displayed.

[0208] Optionally, each non-player worker object corresponds to a sub-region of the task preparation area. In the case that the at least two non-player worker objects all enter the task preparation area, the task preparation area can be implemented as a task work area, which is a working space for the at least two non-player worker objects to perform the first task.

[0209] Illustratively, please refer to FIG. 9, which shows a schematic diagram of an unlocking process of a task work area according to an embodiment of the present application. As shown in FIG. 9, the virtual world 900 includes a task 910, and the task work area of the task 910 is a region 920, which is currently in an unlocked state.

[0210] The virtual pet 901 and the virtual pet 902 in the virtual world 900 belong to the work type corresponding to the work type requirement of the task 910, when the virtual pet 901 enters the region 920, the task element (i.e., the tree) related to the watering task in the region 920 is unlocked, when the virtual pet 902 enters the region 920, the task element (i.e., the weed) related to the weeding task in the region 920 is unlocked, that is, in the case that all the regions in the region 920 are unlocked, the client displays the virtual pet 901 performing the watering work and the virtual pet 902 performing the weeding work.

[0211] In the above embodiment, when part of the non-player worker objects enter the task preparation region, only the work area related to these workers is unlocked, instead of unlocking the entire region at one time, which increases the level of the game process, enables the player to gradually feel the progress of the task preparation stage, is beneficial to improving the game experience of the player, and the mechanism of unlocking part of the region can gradually load and render each part of the task preparation region as needed, instead of loading the entire region at one time, which is beneficial to reducing the occupation of system resources, thereby improving the running efficiency and stability of the application.

[0212] In some other embodiments, the virtual world further includes a task work region, the task work region being a work space in which the at least two non-player worker objects perform the first task.

[0213] Optionally, in the case that the at least two non-player worker objects are in the task preparation region, the at least two non-player worker objects are displayed as being transmitted to the task work region; and in the case that the transmission of the at least two non-player worker objects is completed, the at least two non-player worker objects performing the task execution process of the first task in the task work region is displayed.

[0214] Illustratively, when the at least two virtual pets are ready, they are displayed as being transmitted to the task work region, and once the virtual pets are transmitted to the task work region, they start to perform the first task.

[0215] In the above embodiment, by introducing the transmission mechanism, the at least two non-player worker objects can be transmitted to the work region in the transmission region, thereby avoiding the resource waste caused by the player switching the virtual world or moving the non-player worker objects, and improving the operation convenience.

[0216] In step 830, in the case that the first task execution is completed, the task result of the first task is displayed.

[0217] Illustratively, the at least two virtual pets perform the first task, and the client displays the task result of the first task after the first task execution is completed.

[0218] To sum up, the task execution method in the virtual world provided by the embodiments of the present application can make the player clearly see the preparation work required by the non-player worker object before executing the task, and the non-player worker object will be more efficient and orderly after sufficient preparation work, which is beneficial to improving the execution speed of the task and reducing the risk of task failure, thereby improving the success rate of task completion and further improving the game experience of the player.

[0219] In some embodiments, taking the implementation of the non-player virtual object as a virtual pet as an example, at least two virtual pets are automatically determined based on the working characteristics (i.e., the job types) corresponding to the plurality of virtual pets, and the determination process of the at least two virtual pets is described below taking the working characteristics required by the first task (i.e., the above-mentioned job types) including working characteristic A and working characteristic B as an example. Illustratively, refer to FIG. 10, the flowchart shown in FIG. 10 includes the following steps:

[0220] Step 1001, it is judged whether there is a virtual pet 1 with working characteristic A.

[0221] It is judged whether there is a virtual pet 1 with working characteristic A in the player-controlled base area, that is, it is judged whether there is a virtual pet 1 belonging to the job type indicated by working characteristic A in the player-controlled base area.

[0222] Step 1002, if not, then traversal is performed according to a preset frequency.

[0223] If there is no virtual pet 1 with working characteristic A in the player-controlled base area, the client traverses the virtual pets currently in the base area according to a preset frequency (such as 1 second, 2 seconds, etc.) until a virtual pet 1 with working characteristic A is found.

[0224] Step 1003, if yes, it is judged whether there is a virtual pet 2 with working characteristic B.

[0225] If there is a virtual pet 1 with working characteristic A in the player-controlled base area, it is continuously judged whether there is a virtual pet 2 with working characteristic B in the player-controlled base area, that is, it is continuously judged whether there is a virtual pet 2 belonging to the job type indicated by working characteristic B in the player-controlled base area.

[0226] Step 1004, if not, then traversal is performed according to a preset frequency.

[0227] If there is no virtual pet 2 with working characteristic B in the player-controlled base area, the client traverses the virtual pets currently in the base area according to a preset frequency (such as 1 second, 2 seconds, etc.) until a virtual pet 2 with working characteristic B is found.

[0228] Step 1005, if existing, virtual pet 1 and virtual pet 2 perform the first task.

[0229] If there is a virtual pet 2 with a working characteristic B in the base area controlled by the player, the client displays virtual pet 1 and virtual pet 2 going to the task working area to perform the first task.

[0230] Step 1006, determine whether virtual pet 1 and virtual pet 2 are working.

[0231] Determine whether virtual pet 1 and virtual pet 2 are working according to a preset frequency.

[0232] If any of virtual pet 1 and virtual pet 2 is not working, return to step 1001; or if virtual pet 2 is not working and virtual pet 1 is working, return to step 1003.

[0233] If virtual pet 1 and virtual pet 2 are working, return to step 1005, that is, determine whether virtual pet 1 and virtual pet 2 are working according to a preset frequency.

[0234] The task execution method in the virtual world provided by the embodiments of the present application can be applied to various target application programs that provide a virtual task system, and the following will be described by taking an open-world pet raising game as an example.

[0235] Step 1: The client displays a virtual pet list.

[0236] The virtual pet list includes a virtual pet owned by a first account logged in the target application program, and the virtual pet includes a virtual pet obtained by a first virtual character corresponding to the first account in the virtual world, such as a virtual pet captured in the virtual world, a virtual pet obtained through pet breeding, and the like.

[0237] Step 2: In the case of receiving a placement operation on multiple virtual pets in the virtual pet list, the client displays the multiple virtual pets in a base area in the virtual world.

[0238] After receiving a selection operation on multiple virtual pets in the virtual pet list, the client determines the selected multiple virtual pets, and in response to a placement operation on the multiple virtual pets, the client places the multiple virtual pets in a base area controlled by the player, and the multiple virtual pets will be active in the base area based on a pet behavior tree.

[0239] Step 3: The client displays a task working area corresponding to a composite task in the base area.

[0240] The composite task (such as the first task described above) refers to a task corresponding to requirements of multiple work types, that is, multiple virtual pets corresponding to the work types respectively need to be coordinated to execute the composite task, a task work area corresponding to the composite task is displayed in a base area controlled by the player, and the task work area is a work space for the virtual pets to execute the composite task.

[0241] Step 4: When at least two virtual pets in the multiple virtual pets meet the work type requirements corresponding to the composite task, the client displays that the at least two virtual pets move to the task work area.

[0242] Based on the pet behavior tree, when the client determines that the matching relationship between the work types to which at least two virtual pets in the multiple virtual pets respectively belong meets the multiple work type requirements corresponding to the composite task, the client displays that the at least two virtual pets automatically move to the task work area.

[0243] Step 5: When the at least two virtual pets enter the task work area, the client displays that the at least two virtual pets execute the composite task.

[0244] After the at least two virtual pets move to the task work area, the client displays that the at least two virtual pets execute the composite task.

[0245] Step 6: When the composite task is executed, the client displays a task result of the composite task.

[0246] When the at least two virtual pets respectively corresponding to the subtasks are all executed, the client displays a task result of the composite task.

[0247] Illustratively, refer to FIG. 11, which shows a structural block diagram of a task execution device in a virtual world according to an embodiment of the present application. As shown in FIG. 11, the device includes a first display module 1110 and a second display module 1120.

[0248] The first display module 1110 is configured to display multiple non-player worker objects in a virtual world, and the multiple non-player worker objects are respectively provided with work types, and the non-player worker objects are non-player virtual objects in the virtual world for executing tasks.

[0249] The second display module 1120 is configured to, when there is a first task to be executed in the virtual world and the first task corresponds to requirements of at least two work types, display a task execution process of the first task by at least two non-player worker objects in the multiple non-player worker objects, and a matching relationship between work types to which the at least two non-player worker objects respectively belong meets the requirements of the at least two work types.

[0250] The second display module 1120 is further configured to display a task result of the first task in a case where the first task is completed.

[0251] In some embodiments, the second display module 1120 is further configured to, in a case where there is the first task to be executed in the virtual world and the first task corresponds to n job requirements, display a task execution process of the first task by n non-player worker objects, the n non-player worker objects respectively corresponding to different jobs, n>1 and n is an integer; or, in a case where there is the first task to be executed in the virtual world and the first task corresponds to m job requirements, display a task execution process of the first task by k non-player worker objects, wherein at least one non-player worker object in the k non-player worker objects corresponds to at least two jobs, and the at least two job requirements met by the at least two jobs are included in the at least two job requirements, wherein m>2, 1

[0252] In some embodiments, the second display module 1120 is further configured to, in a first stage of the first task, display a first non-player worker object in the k non-player worker objects performing a first action, the first action being an action matched with a first job to which the first non-player worker object belongs; and in a second stage of the first task, display the first non-player worker object performing a second action, the second action being an action matched with a second job to which the first non-player worker object belongs; wherein the first job is different from the second job.

[0253] In some embodiments, the second display module 1120 is further configured to, in a case where the worker basic attributes respectively corresponding to the at least two non-player worker objects meet a preset fit degree requirement, display a task execution process of the first task by the at least two non-player worker objects with a gain performance effect, the gain performance effect being used to indicate that the at least two non-player worker objects perform the first task with enhanced execution capability, the worker basic attributes including at least one of the job, a worker appearance attribute, and a worker identity attribute.

[0254] In some embodiments, the gain performance effect includes at least one of the following effects: improving an execution speed of performing the first task, the execution speed being in a positive correlation with the fit degree; improving an achievement level of a task result of the first task, the achievement level being in a positive correlation with the fit degree; reducing a resource quantity consumed for completing the first task, the resource quantity being in a negative correlation with the fit degree; and increasing an achievement quantity of the task result of the first task, the achievement quantity being in a positive correlation with the fit degree.

[0255] In some embodiments, the at least two non-player worker objects include a second non-player worker object and other non-player worker objects; the second display module 1120 is further configured to display, during execution of the first task, a third non-player worker object in the virtual world, the third non-player worker object being a non-player worker object acquired by at least one virtual character, and a matching relationship between the third non-player worker object and the other non-player worker objects respectively belonging to different types of work meets the at least two work type requirements; and when a degree of fit between worker basic attributes corresponding to the third non-player worker object and the other non-player worker objects is greater than a degree of fit between worker basic attributes corresponding to the second non-player worker object and the other non-player worker objects, display the third non-player worker object and the other non-player worker objects executing the first task.

[0256] In some embodiments, the second display module 1120 is further configured to, during execution of the first task, display the at least two non-player worker objects stopping executing the first task when a working state of a non-player worker object in the at least two non-player worker objects does not meet a preset state requirement; or, during execution of the first task, display a fourth non-player worker object in the at least two non-player worker objects stopping executing the first task when a working state of the fourth non-player worker object does not meet a preset state requirement, and the at least two non-player worker objects excluding the fourth non-player worker object executing the first task.

[0257] In some embodiments, the at least two non-player worker objects include a fifth non-player worker object; the second display module 1120 is further configured to, when there is a second task to be executed in the virtual world and a task priority of the second task is higher than a task priority of the first task, display the fifth non-player worker object suspending execution of the first task and executing the second task, where a work type to which the fifth non-player worker object belongs meets a work type requirement corresponding to the second task.

[0258] In some embodiments, the first display module 1110 is further configured to display, in a first base area in the virtual world, the plurality of non-player worker objects, the plurality of non-player worker objects including a non-player worker object acquired by at least one virtual character from the virtual world and placed in the first base area, the first base area being an area divided from the virtual world based on a created base by the at least one virtual character creating a base in the virtual world.

[0259] In some embodiments, the at least one virtual role includes a first virtual role, and the first virtual role is a virtual role currently hosted by the terminal; the first display module 1110 is further configured to, in response to receiving a base interaction operation, display a non-player worker object obtained by a second virtual role in the first base region, the second virtual role being a virtual role in the virtual world that does not belong to the first base region; and the base interaction operation is used to invite the non-player worker object obtained by the second virtual role to enter the first base region, or the base interaction operation is used to accept a request of the non-player worker object obtained by the second virtual role to enter the first base region.

[0260] In some embodiments, the virtual world includes a task preparation region corresponding to the first task, and the task preparation region is used for the at least two non-player worker objects to perform preparation work for the first task; the second display module 1120 is further configured to display that the at least two non-player worker objects are in the task preparation region, and display a task execution process of the at least two non-player worker objects for the first task in response to the at least two non-player worker objects completing the task preparation work.

[0261] In some embodiments, the second display module 1120 is further configured to, in response to part of the at least two non-player worker objects entering the task preparation region, display an unlocking animation of part of the task preparation region, and display the task execution process of the at least two non-player worker objects for the first task in response to all regions of the task preparation region being unlocked.

[0262] In some embodiments, the virtual world further includes a task work region, and the task work region is a working space of the at least two non-player worker objects performing the first task; the second display module 1120 is further configured to, in response to the at least two non-player worker objects being in the task preparation region, display that the at least two non-player worker objects are transmitted to the task work region, and display the task execution process of the at least two non-player worker objects for the first task in the task work region in response to the at least two non-player worker objects completing the transmission.

[0263] In some embodiments, the first task includes at least two sub-tasks, and the at least two sub-tasks correspond to the at least two job requirements one by one; the second display module 1120 is further configured to display sub-task progress corresponding to the at least two job requirements, the sub-task progress being used to indicate a task completion progress of the sub-task corresponding to the job requirement, and display a task result of the first task in response to the at least two sub-tasks being executed.

[0264] In some embodiments, the plurality of non-player worker objects includes a seventh non-player worker object acquired by at least one virtual character from the virtual world, and a sixth non-player worker object not captured by the at least one virtual character; the second display module 1120 is further configured to display a summoning animation in a case where the virtual character-captured non-player worker object belongs to a type of work that does not meet the at least two type of work requirements, the summoning animation being used to summon the sixth non-player worker object from the non-captured non-player worker objects, a matching relationship between the sixth non-player worker object and at least one seventh non-player worker object respectively belonging to a type of work meeting the at least two type of work requirements; and display a task execution process of the at least one seventh non-player worker object and the sixth non-player worker object on the first task in a case where the summoning animation ends.

[0265] In some embodiments, the second display module 1120 is further configured to display the summoning animation in a case where a worker level of the at least one seventh non-player worker object is higher than a worker level of the sixth non-player worker object.

[0266] In some embodiments, the first task includes a plurality of sub-tasks, the plurality of sub-tasks corresponding one-to-one to the at least two type of work requirements; the second display module 1120 is further configured to display a task execution process of the at least two non-player worker objects on the first task in a work attribute level, the work attribute level being used to indicate an ability to execute the sub-tasks; wherein the work attribute level is determined according to a type of work to which a target worker object in the at least two non-player worker objects belongs, the type of work to which the target worker object belongs matching a type of work requirement corresponding to the sub-tasks.

[0267] In some embodiments, in a case where there is one target worker object in the at least two non-player worker objects, the work attribute level of the sub-tasks is a attribute level of the type of work to which the one target worker object belongs; in a case where there are a plurality of target worker objects in the at least two non-player worker objects, the work attribute level of the sub-tasks is determined based on attribute levels of types of work to which the plurality of target worker objects respectively belong.

[0268] To sum up, the task execution apparatus in the virtual world provided by the embodiments of the present application provides a first task corresponding to requirements of at least two types of work in the virtual world, and at least two non-player worker objects cooperate to execute the first task when the matching between the at least two types of work to which the at least two non-player worker objects respectively belong meets the requirements of the at least two types of work corresponding to the first task. By providing a complex task requiring cooperation of multiple types of work, the number and types of tasks executable by the non-player worker objects in the virtual world are increased, and the types of work to which the non-player worker objects belong are fully utilized, which is conducive to improving the utilization rate of the non-player worker objects, avoiding idle non-player worker objects, and thus reducing the waste of computer resources.

[0269] It should be noted that the task execution apparatus in the virtual world provided by the above embodiments is only exemplified by the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the task execution apparatus in the virtual world and the task execution method in the virtual world provided by the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments, which will not be repeated here.

[0270] FIG. 12 shows a structural block diagram of a computer device provided by an embodiment of the present application.

[0271] The computer device 1200 can be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player. The computer device 1200 can also be referred to as a player device, a portable terminal, and other names.

[0272] Generally, the computer device 1200 includes a processor 1201 and a memory 1202.

[0273] The processor 1201 can include one or more processing cores, such as a 4-core processor, a 12-core processor, and the like. The processor 1201 can be implemented in the form of at least one of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), a PLA (Programmable Logic Array). The processor 1201 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 can be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content to be displayed by the display screen. In some embodiments, the processor 1201 can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.

[0274] The memory 1202 can include one or more computer-readable storage media that can be tangible and non-transitory. The memory 1202 can also include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction for being executed by the processor 1201 to implement the task execution method in the virtual world provided in the embodiments of the present application.

[0275] In some embodiments, the computer device 1200 can also optionally include a peripheral device interface 1203 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1204, a touch display screen 1205, a camera 1206, an audio circuit 1207, and a power supply 1208.

[0276] The peripheral interface 1203 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202 and the peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral interface 1203 can be implemented on a separate chip or circuit board, and the present embodiments are not limited in this regard.

[0277] The radio frequency circuit 1204 is used to receive and send RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1204 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a player identity module, and the like. The radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1204 can also include NFC (Near Field Communication) related circuitry, and the present application is not limited in this regard.

[0278] The touch display 1205 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. The touch display 1205 is further configured to capture touch signals on or above the surface of the touch display 1205. The touch signals can be input to the processor 1201 as control signals for processing. The touch display 1205 is configured to provide virtual buttons and / or virtual keyboard, also known as soft buttons and / or soft keyboard. In some embodiments, the touch display 1205 can be one, configured to set the front panel of the computer device 1200; in other embodiments, the touch display 1205 can be at least two, respectively configured to set different surfaces of the computer device 1200 or in a folding design; in some embodiments, the touch display 1205 can be a flexible display, configured to set a curved surface or a folding surface of the computer device 1200. Even, the touch display 1205 can be configured to be an irregular shape, i.e., a special-shaped screen. The touch display 1205 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.

[0279] The camera assembly 1206 is configured to capture images or videos. Optionally, the camera assembly 1206 includes a front camera and a rear camera. Generally, the front camera is configured to implement video calls or selfies, and the rear camera is configured to implement photo or video shooting. In some embodiments, the rear camera is at least two, respectively configured to be any one of a main camera, a depth-of-field camera, and a wide-angle camera, to implement the background blur function by fusing the main camera and the depth-of-field camera, and to implement the panorama shooting and VR (Virtual Reality) shooting functions by fusing the main camera and the wide-angle camera. In some embodiments, the camera assembly 1206 can further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. The dual-color-temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.

[0280] The audio circuit 1207 is configured to provide an audio interface between the player and the computer device 1200. The audio circuit 1207 can include a microphone and a speaker. The microphone is configured to collect sound waves from the player and the environment, and convert the sound waves into an electrical signal input to the processor 1201 for processing, or to the radio frequency circuit 1204 for voice communication. The microphone can be multiple microphones arranged at different positions of the computer device 1200 for stereo sound collection or noise reduction. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is configured to convert an electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals into sound waves audible to humans, or sound waves inaudible to humans for ranging purposes. In some embodiments, the audio circuit 1207 can further include a headphone jack.

[0281] The power supply 1208 is configured to supply power to various components in the computer device 1200. The power supply 1208 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1208 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery that is charged through a wired line, and the wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0282] In some embodiments, the computer device 1200 further includes one or more sensors 1209. The one or more sensors 1209 include, but are not limited to, an acceleration sensor 1210, a gyroscope sensor 1211, a pressure sensor 1212, an optical sensor 1213, and a proximity sensor 1214.

[0283] The acceleration sensor 1210 can detect the acceleration magnitude in three coordinate axes of a coordinate system established by the computer device 1200. For example, the acceleration sensor 1210 can be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 1201 can control the touch display 1205 to display the player interface in a landscape view or a portrait view according to the gravitational acceleration signals collected by the acceleration sensor 1210. The acceleration sensor 1210 can also be used to collect game or player motion data.

[0284] The gyroscope sensor 1211 can detect the body direction and rotation angle of the computer device 1200, and the gyroscope sensor 1211 can cooperate with the acceleration sensor 1210 to collect the 3D action of the player on the computer device 1200. According to the data collected by the gyroscope sensor 1211, the processor 1201 can realize the following functions: action sensing (such as changing the UI according to the tilt operation of the player), image stabilization during shooting, game control, and inertial navigation.

[0285] The pressure sensor 1212 can be arranged on the side frame of the computer device 1200 and / or the lower layer of the touch display screen 1205. When the pressure sensor 1212 is arranged on the side frame of the computer device 1200, the holding signal of the player on the computer device 1200 can be detected, and left-hand or right-hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1212 is arranged on the lower layer of the touch display screen 1205, the operable control on the UI interface can be controlled according to the pressure operation of the player on the touch display screen 1205. The operable control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0286] The optical sensor 1213 is used to collect the ambient light intensity. In an embodiment, the processor 1201 can control the display brightness of the touch display screen 1205 according to the ambient light intensity collected by the optical sensor 1213. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1205 is decreased. In another embodiment, the processor 1201 can also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1213.

[0287] The proximity sensor 1214, also known as a distance sensor, is usually arranged on the front of the computer device 1200. The proximity sensor 1214 is used to collect the distance between the player and the front of the computer device 1200. In an embodiment, when the proximity sensor 1214 detects that the distance between the player and the front of the computer device 1200 gradually decreases, the processor 1201 controls the touch display screen 1205 to switch from a bright screen state to an off-screen state; when the proximity sensor 1214 detects that the distance between the player and the front of the computer device 1200 gradually increases, the processor 1201 controls the touch display screen 1205 to switch from the off-screen state to the bright screen state.

[0288] Those skilled in the art can understand that the structure shown in FIG. 12 does not constitute a limitation on the computer device 1200, and can include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0289] In some embodiments, the present application provides a chip comprising programmable logic circuit or program instructions, which, when the chip is running on a computer device, is used to implement the task execution method in the virtual world provided by the above-mentioned method embodiments.

[0290] In some embodiments, the present application provides a computer readable storage medium storing a computer program, which is loaded and executed by a processor to implement the task execution method in the virtual world provided by the above-mentioned method embodiments.

[0291] In some embodiments, the present application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions so that the processor of the computer device is loaded and executed to implement the task execution method in the virtual world provided by the above-mentioned method embodiments.

[0292] The above-mentioned serial numbers of the embodiments of the present application are only for description, not representing the advantages or disadvantages of the embodiments.

[0293] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium. The above-mentioned computer readable storage medium can be read-only memory, disk or optical disk, etc.

[0294] Those skilled in the art should realize that in the above-mentioned one or more examples, the functions described in the embodiments of the present application can be realized by hardware, software, firmware or any combination thereof. When realized by software, these functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on a computer readable medium. The computer readable medium includes computer storage medium and communication medium, wherein the communication medium includes any medium facilitating the transmission of computer programs from one place to another. The storage medium can be any available medium accessible by a general or special purpose computer.

[0295] The above-mentioned is only the optional embodiments of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for performing a task in a virtual world, the method being performed by a computer device, the method comprising: displaying a plurality of non-player worker objects in the virtual world, the plurality of non-player worker objects respectively corresponding to a set of job types, the non-player worker objects being non-player virtual objects in the virtual world for performing tasks; in a case where there is a first task to be performed in the virtual world and the first task corresponds to at least two job type requirements, displaying a task performance process of at least two non-player worker objects in the plurality of non-player worker objects on the first task, wherein a matching relationship between the job types to which the at least two non-player worker objects respectively belong meets the at least two job type requirements; in a case where the first task is performed, displaying a task result of the first task.

2. The method of claim 1, wherein, The displaying, in a case where there is a first task to be performed in the virtual world and the first task corresponds to at least two job type requirements, a task performance process of at least two non-player worker objects in the plurality of non-player worker objects on the first task, comprises: in a case where there is the first task to be performed in the virtual world and the first task corresponds to n job type requirements, displaying a task performance process of n non-player worker objects on the first task, the n non-player worker objects respectively corresponding to different job types, n>1 and n is an integer; or in a case where there is the first task to be performed in the virtual world and the first task corresponds to m job type requirements, displaying a task performance process of k non-player worker objects on the first task, wherein at least one non-player worker object in the k non-player worker objects corresponds to at least two job types, and the job type requirements met by the at least two job types are included in the at least two job type requirements, wherein m>2, 1 3. The method of claim 2, wherein, The displaying a task performance process of k non-player worker objects on the first task comprises: in a first phase of the first task, displaying a first non-player worker object in the k non-player worker objects performing a first action, the first action being an action matched with a first job type to which the first non-player worker object belongs; in a second phase of the first task, displaying the first non-player worker object performing a second action, the second action being an action matched with a second job type to which the first non-player worker object belongs; wherein the first job type is different from the second job type.

4. The method according to any one of claims 1 to 3, wherein, The method further comprises: in a case where worker base attributes respectively corresponding to the at least two non-player worker objects meet a preset fit degree requirement, displaying a task performance process of the at least two non-player worker objects on the first task with a gain performance effect, the gain performance effect being used to indicate that the at least two non-player worker objects perform the first task with enhanced execution capability, the worker base attributes including at least one of the job type, worker appearance attributes, and worker identity attributes.

5. The method of claim 4, wherein, The gain performance effect comprises at least one of the following effects: improve an execution speed of performing the first task, the execution speed being positively correlated with the fit degree; improve an achievement level of a task result of the first task, the achievement level being positively correlated with the fit degree; reduce a resource amount consumed for completing the first task, the resource amount being negatively correlated with the fit degree; increase an achievement amount of the task result of the first task, the achievement amount being positively correlated with the fit degree.

6. The method of claim 4 or 5, wherein, the at least two non-player worker objects include a second non-player worker object and other non-player worker objects; and the method further includes: displaying, during execution of the first task, a third non-player worker object in the virtual world, the third non-player worker object being a non-player worker object acquired by the at least one virtual character, and a collocation relationship between the third non-player worker object and the other non-player worker objects respectively belonging to different types of work meeting the at least two types of work requirements; displaying the third non-player worker object and the other non-player worker objects to perform the first task, in a case where a fit degree between the third non-player worker object and worker basic attributes corresponding to the other non-player worker objects is greater than a fit degree between the second non-player worker object and worker basic attributes corresponding to the other non-player worker objects.

7. The method according to any one of claims 1 to 6, wherein, The method further includes: in a case where a work state of a non-player worker object in the at least two non-player worker objects does not meet preset state requirements during execution of the first task, displaying the at least two non-player worker objects to stop performing the first task; or in a case where a work state of a fourth non-player worker object in the at least two non-player worker objects does not meet preset state requirements during execution of the first task, displaying the fourth non-player worker object to stop performing the first task, and displaying the at least two non-player worker objects other than the fourth non-player worker object to perform the first task.

8. The method according to any one of claims 1 to 7, wherein, The at least two non-player worker objects include a fifth non-player worker object; and the method further includes: in a case where there is a second task to be executed in the virtual world, and a task priority of the second task is higher than a task priority of the first task, displaying the fifth non-player worker object to suspend performing the first task and to perform the second task, wherein a type of work to which the fifth non-player worker object belongs meets a type of work requirement corresponding to the second task.

9. The method according to any one of claims 1 to 8, wherein, The displaying of the plurality of non-player worker objects in the virtual world includes: displaying the plurality of non-player worker objects in a first base area in the virtual world, the plurality of non-player worker objects including non-player worker objects acquired by the at least one virtual character from the virtual world and placed in the first base area, the first base area being an area divided from the virtual world based on a created base by the at least one virtual character after the at least one virtual character creates the base in the virtual world.

10. The method of claim 9, wherein, The at least one virtual character includes a first virtual character, and the first virtual character is a virtual character currently hosted by the terminal; The first fort region in the virtual world displays the plurality of non-player worker objects, including: In a case where a fort interaction operation is received, the non-player worker object acquired by a second virtual character is displayed in the first fort region, and the second virtual character is a virtual character in the virtual world that does not belong to the first fort region; The fort interaction operation is used to invite the non-player worker object acquired by the second virtual character to enter the first fort region, or the fort interaction operation is used to accept a request of the non-player worker object acquired by the second virtual character to enter the first fort region.

11. The method of any one of claims 1 to 10, wherein, The virtual world includes a task preparation region corresponding to the first task, and the task preparation region is used to perform preparation work on the first task by the at least two non-player worker objects; Before displaying a task execution process of the at least two non-player worker objects on the first task, the method further includes: Displaying that the at least two non-player worker objects are in the task preparation region; The displaying of the task execution process of the at least two non-player worker objects on the first task includes: In a case where the at least two non-player worker objects complete the task preparation work, displaying the task execution process of the at least two non-player worker objects on the first task.

12. The method of claim 11, wherein, The displaying of the task execution process of the at least two non-player worker objects on the first task in a case where the at least two non-player worker objects complete the task preparation work includes: In a case where part of the at least two non-player worker objects enter the task preparation region, displaying an unlocking animation of part of the task preparation region; In a case where all regions of the task preparation region are unlocked, displaying the task execution process of the at least two non-player worker objects on the first task.

13. The method of claim 11, wherein, The virtual world further includes a task work region, and the task work region is a working space of the at least two non-player worker objects performing the first task; The displaying of the task execution process of the at least two non-player worker objects on the first task in a case where the at least two non-player worker objects complete the task preparation work includes: In a case where the at least two non-player worker objects are in the task preparation region, displaying that the at least two non-player worker objects are transmitted to the task work region; In a case where the at least two non-player worker objects complete the transmission, displaying the task execution process of the at least two non-player worker objects on the first task in the task work region.

14. The method of any one of claims 1 to 13, wherein, The first task includes at least two subtasks, and the at least two subtasks correspond to the at least two work requirements one by one; and the method further includes: Displaying subtask progress corresponding to the at least two work requirements, and the subtask progress is used to indicate a task completion progress of the subtask corresponding to the work requirement; and The first virtual character is a virtual character currently hosted by the terminal; The first fort region in the virtual world displays the plurality of non-player worker objects, including: In a case where a fort interaction operation is received, the non-player worker object acquired by a second virtual character is displayed in the first fort region, and the second virtual character is a virtual character in the virtual world that does not belong to the first fort region; The fort interaction operation is used to invite the non-player worker object acquired by the second virtual character to enter the first fort region, or the fort interaction operation is used to accept a request of the non-player worker object acquired by the second virtual character to enter the first fort region. The virtual world includes a task preparation region corresponding to the first task, and the task preparation region is used to perform preparation work on the first task by the at least two non-player worker objects; Before displaying a task execution process of the at least two non-player worker objects on the first task, the method further includes: Displaying that the at least two non-player worker objects are in the task preparation region; The displaying of the task execution process of the at least two non-player worker objects on the first task includes: In a case where the at least two non-player worker objects complete the task preparation work, displaying the task execution process of the at least two non-player worker objects on the first task. The displaying of the task execution process of the at least two non-player worker objects on the first task in a case where the at least two non-player worker objects complete the task preparation work includes: In a case where part of the at least two non-player worker objects enter the task preparation region, displaying an unlocking animation of part of the task preparation region; In a case where all regions of the task preparation region are unlocked, displaying the task execution process of the at least two non-player worker objects on the first task. The virtual world further includes a task work region, and the task work region is a working space of the at least two non-player worker objects performing the first task; The displaying of the task execution process of the at least two non-player worker objects on the first task in a case where the at least two non-player worker objects complete the task preparation work includes: In a case where the at least two non-player worker objects are in the task preparation region, displaying that the at least two non-player worker objects are transmitted to the task work region; In a case where the at least two non-player worker objects complete the transmission, displaying the task execution process of the at least two non-player worker objects on the first task in the task work region. The first task includes at least two subtasks, and the at least two subtasks correspond to the at least two work requirements one by one; and the method further includes: Displaying subtask progress corresponding to the at least two work requirements, and the subtask progress is used to indicate a task completion progress of the subtask corresponding to the work requirement; and The task result of the first task is displayed in a case where the first task is completed. The task result of the first task is displayed in a case where the plurality of sub-tasks are completed.

15. The method of any one of claims 1 to 14, wherein, The plurality of non-player worker objects include a seventh non-player worker object obtained by at least one virtual character from the virtual world, and a sixth non-player worker object not captured by the at least one virtual character; the method further comprises: In a case where the virtual character-captured non-player worker object belongs to a work type that does not meet the at least two work type requirements, a summoning animation is displayed, the summoning animation is used to summon the sixth non-player worker object from the non-captured non-player worker object, and a matching relationship between the sixth non-player worker object and at least one seventh non-player worker object respectively belongs to a work type that meets the at least two work type requirements; In a case where the summoning animation is played, the at least one seventh non-player worker object and the sixth non-player worker object perform the task of the first task.

16. The method of claim 15, wherein, The display of the summoning animation comprises: In a case where the worker level of the at least one seventh non-player worker object is higher than the worker level of the sixth non-player worker object, the summoning animation is displayed.

17. The method of any one of claims 1 to 16, wherein, The first task includes a plurality of sub-tasks, and the plurality of sub-tasks correspond one-to-one to the at least two work type requirements; The display of the at least two non-player worker objects performing the task of the first task comprises: The at least two non-player worker objects are displayed to perform the task of the first task with a work attribute level, and the work attribute level is used to indicate the ability to perform the sub-task; The work attribute level is determined according to a work type to which a target worker object in the at least two non-player worker objects belongs, and the work type to which the target worker object belongs matches the work type requirement corresponding to the sub-task.

18. The method of claim 17, wherein, In a case where there is one target worker object in the at least two non-player worker objects, the work attribute level of the sub-task is the attribute level of the work type to which the one target worker object belongs; In a case where there are a plurality of target worker objects in the at least two non-player worker objects, the work attribute level of the sub-task is determined based on the attribute levels of the work types to which the plurality of target worker objects respectively belong.

19. A task execution device in a virtual world, the device comprising: A first display module is configured to display a plurality of non-player worker objects in a virtual world, the plurality of non-player worker objects respectively correspond to a work type, and the non-player worker object is a non-player virtual object in the virtual world for executing a task; a second display module, configured to display a task execution process of at least two non-player worker objects in the plurality of non-player worker objects on the first task in the case that there is a first task to be executed in the virtual world and the first task corresponds to at least two job requirements, wherein a collocation relationship between jobs to which the at least two non-player worker objects belong respectively conforms to the at least two job requirements; the second display module is further configured to display a task result of the first task in the case that the first task is executed completely. 20.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 task execution in a virtual world according to any one of claims 1 to 18. 21.A computer readable storage medium, wherein the storage medium stores at least one program, and the at least one program is loaded and executed by a processor to implement the method for task execution in a virtual world according to any one of claims 1 to 18. 22.A computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the method for task execution in a virtual world according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Virtual object control method and device in game, electronic equipment and storage medium

    CN113457154A

  • Interaction method and device between virtual objects, equipment, medium and program product

    CN114307150A

  • Team matching method, storage medium and electronic equipment

    CN114470792A

  • Game control method and device, electronic equipment and storage medium

    CN117298572A

  • Intelligent agent control method, device and system

    CN118022340A