Task batch execution method and device, storage medium and computer device
By selecting a target virtual model and binding it to a task set on the graphical user interface of a computer device, batch execution of tasks for multiple virtual models is achieved, solving the problem of low gameplay smoothness caused by repetitive operations in existing technologies and improving the operational efficiency of the game.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2023-06-15
- Publication Date
- 2026-06-02
AI Technical Summary
In existing technologies, users need to perform repetitive operations when performing the same task on multiple virtual models, which reduces the smoothness of game gameplay.
The system displays multiple candidate virtual models through a graphical user interface on a computer device, responds to selection operations, selects a target virtual model, determines a target task set from a preset task set, controls the target virtual model to perform game tasks in batches in the scene area, and binds the task set using shortcut keys, pattern binding, or drag-and-drop operations.
It enables batch execution of unified tasks across multiple virtual models, avoiding repetitive operations, saving time, and improving the smoothness of gameplay.
Smart Images

Figure CN116672711B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and specifically to a method, apparatus, computer-readable storage medium, and computer device for batch execution of tasks. Background Technology
[0002] In recent years, with the development and popularization of computer equipment technology, more and more game applications with three-dimensional virtual environments have emerged, such as first-person shooting games (FPS), simulation games (SLG), and massively multiplayer online role-playing games (MMO).
[0003] In existing technologies, taking SLG games as an example, when a user performs a task on a virtual model such as a stronghold, the virtual model needs to be processed once.
[0004] In the process of researching and practicing the existing technology, the inventors of this application discovered that in the existing technology, when a user performs a unified task operation on multiple virtual models, it is necessary to repeat the task operation on each virtual model. However, this task execution method is cumbersome and time-consuming, which reduces the smoothness of the game. Summary of the Invention
[0005] This application provides a method and apparatus for batch task execution, which can avoid repetitive operations, save operation time, and improve the smoothness of game gameplay.
[0006] To address the aforementioned technical problems, this application provides the following technical solutions:
[0007] A method for batch execution of tasks, comprising:
[0008] Multiple candidate virtual models are displayed through the graphical user interface of a computer device;
[0009] In response to the selection operation for the plurality of candidate virtual models, at least one target virtual model is selected from the plurality of candidate virtual models;
[0010] In response to a batch task execution operation, a target task set corresponding to the batch task execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks pre-set for the target virtual model, and the target task set includes at least one game task;
[0011] Control the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model.
[0012] A task batch execution device, comprising:
[0013] The display module is used to display multiple candidate virtual models through the graphical user interface of a computer device;
[0014] A selection module is configured to select at least one target virtual model from the plurality of candidate virtual models in response to a selection operation for the plurality of candidate virtual models.
[0015] A determination module is used to determine a target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task;
[0016] The control module is used to control the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model.
[0017] A computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the steps in the above-described task batch execution method.
[0018] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the program to implement the steps in the task batch execution method described above.
[0019] This application embodiment displays multiple candidate virtual models through a graphical user interface of a computer device; in response to a selection operation for the multiple candidate virtual models, at least one target virtual model is selected from the multiple candidate virtual models; in response to a task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the game tasks in the target task set are batch executed in the scene area corresponding to the target virtual model. Thus, by performing a unified task batch execution operation on multiple target virtual models, the target virtual models are controlled to batch execute the game tasks in the target task set, avoiding repetitive operations, saving operation time, and improving the smoothness of game gameplay. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1a This is a system schematic diagram of the task batch execution method provided in the embodiments of this application.
[0022] Figure 1b This is a flowchart illustrating the task batch execution method provided in an embodiment of this application.
[0023] Figure 1c This is a first schematic diagram of a graphical user interface provided in an embodiment of this application.
[0024] Figure 1d This is a second schematic diagram of a graphical user interface provided in an embodiment of this application.
[0025] Figure 1e This is a third schematic diagram of a graphical user interface provided in an embodiment of this application.
[0026] Figure 1f This is a fourth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0027] Figure 1g This is a fifth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0028] Figure 1h This is a sixth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0029] Figure 1i This is a seventh schematic diagram of a graphical user interface provided in an embodiment of this application.
[0030] Figure 1j This is an eighth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0031] Figure 1k This is a ninth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0032] Figure 2 This is a schematic diagram of the structure of the task batch execution device provided in the embodiments of this application.
[0033] Figure 3 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0034] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0035] This application provides a method, apparatus, storage medium, and computer device for batch task execution. Please refer to... Figure 1a , Figure 1a This is a system schematic diagram of a task batch execution method provided in an embodiment of this application. The system may include at least one computer device 1000, at least one server 2000, at least one database 3000, and a network 4000. The computer device 1000 held by the user can be connected to the server 2000 via the network 4000. The server 2000 is any device with computing hardware capable of supporting and executing software products corresponding to games. The computer device 1000 has one or more multi-touch screens for sensing and obtaining input from touch or swipe operations performed by the user at multiple points on one or more touch displays. Furthermore, when the system includes multiple computer devices 1000, multiple servers 2000, and multiple networks 4000, different computer devices 1000 can interconnect with different servers 2000 via different networks 4000. The network 4000 can be a wireless network or a wired network, such as a wireless local area network (WLAN), local area network (LAN), cellular network, 2G network, 3G network, 4G network, 5G network, etc. Furthermore, different computer devices 1000 can connect to other terminals or the server 2000 via their own Bluetooth networks or hotspot networks. For example, multiple users can connect online through different computer devices 1000, thereby synchronizing with each other via appropriate networks to support multi-user gaming. Additionally, the system can include multiple databases 3000, which are coupled to different servers 2000, and can continuously store game environment-related information in the databases 3000 while different users are playing multi-user games online.
[0036] It should be noted that, Figure 1a The system diagram of the task batch execution system shown is merely an example. The task batch execution system and scenarios described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of task batch execution systems and the emergence of new business scenarios, the technical solutions provided in this application embodiment are also applicable to similar technical problems.
[0037] In this embodiment, the description will be from the perspective of a task batch execution device, which can be integrated into a computer device that has a storage unit and a microprocessor and thus computing power.
[0038] Please see Figure 1b , Figure 1b This is a flowchart illustrating a task batch execution method provided in an embodiment of this application. The task batch execution method includes:
[0039] In step 101, multiple candidate virtual models are displayed through the graphical user interface of a computer device.
[0040] Among them, such as Figure 1c As shown, Figure 1c This is a first schematic diagram of a graphical user interface provided in an embodiment of this application. Taking a simulation game (SLG) as an example, in an SLG game, the candidate virtual model can be a base. Figure 1c The diagram shows three candidate virtual models: base A, base B, and base C, which exist within the graphical user interface.
[0041] In step 102, in response to the selection operation for the plurality of candidate virtual models, at least one target virtual model is selected from the plurality of candidate virtual models.
[0042] Among them, such as Figure 1d As shown, Figure 1d This is a second schematic diagram of a graphical user interface provided in an embodiment of this application. In this diagram, a user can perform a selection operation on multiple candidate virtual models displayed within the graphical user interface to filter out a target virtual model from the multiple candidate virtual models.
[0043] Specifically, the selection operation allows users to make selections by pointing their fingers at objects within the graphical user interface, for example... Figure 1d Users can create a selection frame by sliding their finger from the upper left to the lower right, and then select the candidate virtual models within the frame as the target virtual model; or they can select candidate virtual models in the graphical user interface by using a mouse or physical buttons such as a keyboard, and then select the selected candidate virtual model as the target virtual model.
[0044] In step 103, in response to the task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task.
[0045] The difference between this application and existing technologies lies in that this application provides a means for users to perform batch task execution operations. Different batch task execution operations correspond to different task sets. Therefore, it is necessary to determine the target task set corresponding to the batch task execution operation from a preset task set, based on the response to the batch task execution operation targeting the target virtual model. The preset task set includes multiple game tasks pre-set for the target virtual model. Since the batch task execution operation is used to perform batch task execution on the target virtual model, the target task set must include at least one game task.
[0046] In some implementations, prior to the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, the method further includes:
[0047] (1) In response to a task execution operation for any candidate virtual model in the graphical user interface, display the candidate game task and the task batch execution binding control in the first display area of the graphical user interface;
[0048] (2) In response to the candidate game task selection operation for the candidate game task, determine the selected target game task from the candidate game tasks;
[0049] (3) In response to the control operation of batch execution of the bound control for the task, the shortcut key bound control is displayed in the second display area of the graphical user interface;
[0050] (4) Receive shortcut key control operation for the shortcut key binding control, and determine the input binding shortcut key;
[0051] (5) Bind the shortcut key to a preset task set consisting of the target game task.
[0052] In this case, if the user expects to perform batch tasks on the target virtual model, it is necessary to bind the task set and shortcut keys of the game tasks to be executed in advance, so as to establish a mapping relationship between the task set and the shortcut keys.
[0053] Specifically, such as Figure 1e As shown, Figure 1e This is a third schematic diagram of a graphical user interface provided in an embodiment of this application. A user performs a task execution operation on any candidate virtual model in the graphical user interface, triggering the computer device to display candidate game tasks and a batch task execution binding control 11 within the first display area 10 of the graphical user interface. The task execution operation can be a click operation by the user on any candidate virtual model. The candidate game task is a game task that can be executed on a candidate virtual model, for example... Figure 1eThis includes business tasks and agricultural tasks. In response to the user's selection of candidate game tasks, the system determines the selected target game task from the candidate game tasks; the target game task is the game task performed on the candidate virtual model.
[0054] If a user expects the target game task to be executed for a candidate virtual model to also be executed for other candidate virtual models, then by performing control operations (such as click operations) on the bound control 11 in batches for the task, the computer device is triggered to display the shortcut key bound control 21 in the second display area 20 of the graphical user interface.
[0055] Specifically, users can perform shortcut key control operations on the shortcut key binding control 21, and the computer device determines the entered shortcut key. For example... Figure 1e In the game, if the user inputs the shortcut keys "CTRL" and "X", then "CTRL" + "X" will be bound to the preset task set consisting of the target game task selected by the user.
[0056] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0057] (1) In response to the bound shortcut key control operation, determine the target bound shortcut key entered;
[0058] (2) The set of tasks that are bound to the shortcut key of the target is determined as the target task set.
[0059] Once a user selects a target virtual model, they can trigger the target virtual model to execute the game tasks corresponding to the task set bound to the shortcut key by inputting a shortcut key. Therefore, in response to the shortcut key binding control operation for the target virtual model, the target binding shortcut key input by the user is determined, and the task set pre-bound to the target binding shortcut key is determined as the target task set.
[0060] Specifically, such as Figure 1f As shown, Figure 1f This is a fourth schematic diagram of the graphical user interface provided in the embodiments of this application. The target virtual models are base A and base C. The target binding shortcut key entered by the user is "CTRL" + "X". Therefore, the set of tasks bound to "CTRL" + "X" is determined as the target task set.
[0061] In some embodiments, a pattern binding control is also displayed in the first display area. Following the step of determining the selected target game task from the candidate game tasks in response to a candidate game task selection operation for the candidate game task, the method further includes:
[0062] (1) In response to a control operation on the pattern binding control, a first pattern drawing area is generated within the graphical user interface;
[0063] (2) In response to a control operation on the first pattern drawing area, obtain the pattern drawn in the first pattern drawing area;
[0064] (3) Bind the drawn pattern to a preset task set consisting of the target game task.
[0065] Among them, such as Figure 1g As shown, Figure 1g This is a fifth schematic diagram of the graphical user interface provided in this application embodiment. Users can also establish a mapping relationship between patterns and task sets by binding patterns to task sets. Users generate a first pattern drawing area 30 within the graphical user interface by controlling the pattern binding control 22 (e.g., selecting the pattern binding control). Users draw patterns within the first pattern drawing area 30, causing the computer device to respond to control operations on the first pattern drawing area 30 and acquire the pattern drawn by the user in the first pattern drawing area 30. This binds the pattern to a preset task set consisting of a target game task.
[0066] For example, Figure 1g If a user draws a triangle pattern in the first pattern drawing area 30, the triangle pattern will be bound to the preset task set consisting of the target game task.
[0067] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0068] (1) In response to a control operation on a second pattern drawing area in a graphical user interface, obtain a target pattern drawn in the second pattern drawing area;
[0069] (2) The set of tasks bound to the target pattern is determined as the target task set.
[0070] Among them, such as Figure 1h As shown, Figure 1hThis is a sixth schematic diagram of a graphical user interface provided in an embodiment of this application. When a user performs batch operations on a target virtual model, the target pattern can be drawn in the second pattern drawing area 40 provided by the graphical user interface, for example... Figure 1h In the second pattern drawing area 40, a triangular pattern is drawn, and the task set that is bound to the target image in advance is determined as the target task set.
[0071] In some embodiments, the first display area also displays a quick grouping control, and after the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes:
[0072] In response to a control operation on the shortcut group control, the shortcut groups corresponding to the preset task set consisting of the target game tasks are stored in the shortcut group list.
[0073] Among them, such as Figure 1i As shown, Figure 1i This is a seventh schematic diagram of a graphical user interface provided in an embodiment of this application. Users can also store the preset task set by storing the shortcut groups corresponding to the preset task set consisting of the target tasks into a shortcut group list using the shortcut group control 23.
[0074] In some embodiments, the second display area of the graphical user interface also displays a quick group list, which displays quick groups corresponding to at least one preset task set.
[0075] Among them, such as Figure 1j As shown, Figure 1j This is an eighth schematic diagram of a graphical user interface provided in an embodiment of this application. The second display area of the graphical user interface also displays a quick group list 50, which displays quick groups corresponding to at least one preset task set. Examples include "Facility Expansion," "Team Building," and "Soldier Recruitment."
[0076] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0077] (1) In response to a first drag operation on the target virtual model, determine the end position of the first drag operation;
[0078] (2) Select the first target quick group at the end position from the multiple quick groups displayed in the quick group list;
[0079] (3) Determine the set of tasks corresponding to the first target quick group as the target task set.
[0080] Users can drag and drop the target virtual model to the first target quick group of the task set corresponding to the game task they wish to execute, which is displayed in the quick group list 50.
[0081] For example, Figure 1j In the process, if a user drags a target virtual model to the "Soldier Recruitment" shortcut group in the shortcut group list 50 by dragging their finger, the task set corresponding to the "Soldier Recruitment" shortcut group will be determined as the first target task set.
[0082] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0083] (1) In response to a second drag operation on a shortcut group in the shortcut group list, determine the second target shortcut group on which the second drag operation is applied;
[0084] (2) Determine whether the second drag operation drags the second target shortcut group to the associated response area of the target virtual model;
[0085] (3) If so, the task set corresponding to the second target shortcut group is determined as the target task set.
[0086] Among them, such as Figure 1k As shown, Figure 1k This is a ninth schematic diagram of a graphical user interface provided in an embodiment of this application.
[0087] When the user selects the target virtual model, or when the quick group list is displayed in the second display area, an associated response area related to the target virtual model can be generated next to or on the target virtual model. For example... Figure 1k The associated response area 60. Users can drag the second target shortcut group (i.e., the target shortcut group for the second drag operation) corresponding to the game task they wish to execute into the associated response area, thereby determining the task set corresponding to the second target shortcut group as the target task set.
[0088] In step 104, the target virtual model is controlled to execute game tasks in the target task set in batches.
[0089] In this process, after determining the set of target tasks to be executed by the desired target virtual model, each target virtual model can be controlled to execute game tasks in the target task set, thereby achieving the effect of batch execution of game tasks.
[0090] Specifically, the way to batch execute game tasks for multiple target virtual models can be as follows: execute game tasks simultaneously and synchronously. For example, if target virtual model A, target virtual model B, and target virtual model C are involved in the game task "soldier recruitment", then target virtual model A, target virtual model B, and target virtual model C can be controlled to execute "soldier recruitment" simultaneously and synchronously.
[0091] Another way to execute game tasks in batches for multiple target virtual models is to execute game tasks sequentially according to the task execution order of the target virtual models. For example, if there are target virtual models A and B, and the game task is "soldier recruitment", then target virtual model A is controlled to execute "soldier recruitment" first. After target virtual model A finishes executing the "soldier recruitment" task, target virtual model B is triggered to execute the "soldier recruitment" task.
[0092] In some implementations, the candidate virtual model is configured with multiple virtual characters belonging to the candidate virtual model, and the step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes:
[0093] The target virtual character of the target virtual model is controlled to execute game tasks in the target task set in batches in the corresponding scene area. The target virtual character is at least one of multiple virtual characters belonging to the target virtual model.
[0094] The candidate virtual model is configured with multiple virtual characters belonging to it. For example, virtual characters 1, 2, and 3 belonging to base A are configured. When controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model, the target virtual characters corresponding to the target virtual model can be controlled to batch execute the game tasks in the target task set in the corresponding scene area. For example, virtual character 2 from virtual characters 1, 2, and 3 corresponding to base A can be assigned to execute the game tasks in the target task set.
[0095] Specifically, which virtual character among the multiple virtual characters corresponding to the target virtual model is selected as the target virtual character can be determined based on the virtual character's ability value, prioritizing the virtual character with the highest ability value as the target virtual character.
[0096] For example, for virtual models serving as strongholds, each stronghold needs to be assigned a virtual object as an official or general serving at that stronghold. If the target task set includes tasks for assigning officials or generals, the assignment is made according to the virtual ability values of the officials or generals owned by the user.
[0097] In some implementations, the target virtual character is a virtual character whose task type matches the game task in the target task set, or a virtual character determined according to a binding instruction.
[0098] In addition, when assigning target virtual roles to target virtual models, target virtual roles can also be determined from multiple virtual roles corresponding to the target virtual model according to the task type of the game tasks in the target task set.
[0099] For example, if the game task is of the construction and design type, the virtual character whose ability type matches the construction and design task type, such as the designer, can be selected from the multiple virtual characters corresponding to the target virtual model as the target virtual character.
[0100] Specifically, when assigning target virtual characters to a target virtual model, the user can also use virtual characters that have been pre-defined and bound to the target virtual model as target virtual characters. When the user establishes the binding relationship, the binding instruction can be stored. This allows the user to execute game tasks in the target task set in batches when controlling the target virtual model to do so, based on the target virtual character bound to the target virtual model according to the stored binding instruction.
[0101] For example, if a user has pre-bound a binding relationship between a base B and its corresponding virtual character 4, as well as virtual character 4 in virtual character 5, then when controlling base B to execute game tasks in the target task set in batches, the binding relationship in the binding instruction can be used to control virtual character 4 to execute game tasks in the target task set in batches.
[0102] In some embodiments, after the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes:
[0103] Record the selection order of the candidate game task selection operation for each target game task;
[0104] The step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes:
[0105] For each target virtual model, the target game tasks in the target task set are executed in batches in the scene area corresponding to the target virtual model according to the selection order of the game tasks in the target task set.
[0106] Specifically, for preset task sets containing multiple game tasks, the selection order of each target game task is recorded during the candidate game task selection operation. In subsequent batch task execution, the target game tasks are executed sequentially according to the selection order.
[0107] For example, if a user selects "Business" and then "Agriculture" from the candidate game tasks through the candidate game task selection operation, then when executing the task set consisting of these game tasks, the "Business" game task must be executed first, followed by the "Agriculture" game task.
[0108] As described above, this embodiment of the application displays multiple candidate virtual models through a graphical user interface of a computer device; in response to a selection operation for the multiple candidate virtual models, at least one target virtual model is selected from the multiple candidate virtual models; in response to a task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the game tasks in the target task set are batch executed in the scene area corresponding to the target virtual model. Thus, by performing a unified task batch execution operation on multiple target virtual models, the target virtual models are controlled to batch execute the game tasks in the target task set, avoiding repetitive operations, saving operation time, and improving the smoothness of game gameplay.
[0109] To facilitate better implementation of the task batch execution method provided in this application, this application also provides an apparatus based on the above-described task batch execution method. The meanings of the terms used are the same as in the above-described task batch execution method, and specific implementation details can be found in the descriptions within the method embodiments.
[0110] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of a task batch execution device provided in an embodiment of this application. The task batch execution device may include a display module 301, a selection module 302, a determination module 303, and a control module 304, etc.
[0111] Display module 301 is used to display multiple candidate virtual models through the graphical user interface of a computer device;
[0112] The selection module 302 is configured to select at least one target virtual model from the plurality of candidate virtual models in response to a selection operation for the plurality of candidate virtual models.
[0113] The determining module 303 is used to determine a target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task;
[0114] The control module 304 is used to control the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model.
[0115] In some embodiments, the apparatus further includes:
[0116] The first response module is used to respond to a task execution operation for any candidate virtual model in the graphical user interface, and to display the candidate game task and the task batch execution binding control in the first display area of the graphical user interface.
[0117] The second response module is used to respond to the candidate game task selection operation for the candidate game task and determine the selected target game task from the candidate game tasks.
[0118] The third response module is used to respond to the control operation of batch execution of the bound control for the task and display the shortcut key binding control in the second display area of the graphical user interface;
[0119] The receiving module is used to receive shortcut key control operations for the shortcut key binding control and determine the input binding shortcut key;
[0120] The first binding module is used to bind the binding shortcut key to a preset task set consisting of the target game task.
[0121] In some embodiments, the determining module 303 includes:
[0122] The first determination submodule is used to determine the target shortcut key to be bound in response to the shortcut key binding control operation;
[0123] The second determining submodule is used to determine the set of tasks bound to the shortcut key of the target as the target task set.
[0124] In some embodiments, a pattern binding control is also displayed in the first display area, and the device further includes:
[0125] The fourth response module is used to generate a first pattern drawing area within the graphical user interface in response to a control operation on the pattern binding control.
[0126] The fifth response module is used to respond to a control operation on the first pattern drawing area and obtain the pattern drawn in the first pattern drawing area;
[0127] The second binding module is used to bind the drawn pattern to a preset task set consisting of the target game task.
[0128] In some embodiments, the determining module 303 includes:
[0129] The acquisition submodule is used to acquire the target pattern drawn in the second pattern drawing area in response to a control operation on the second pattern drawing area in the graphical user interface;
[0130] The third determining submodule is used to determine the set of tasks bound to the target pattern as the target task set.
[0131] In some embodiments, the apparatus further includes:
[0132] A recording module is used to record the selection order of the candidate game task selection operation for each target task;
[0133] The control module 304 includes:
[0134] The first control submodule is used to control the batch execution of target game tasks in the target task set in the scene area corresponding to each target virtual model, according to the selection order of game tasks in the target task set.
[0135] In some embodiments, the second display area of the graphical user interface also displays a quick group list, which displays quick groups corresponding to at least one preset task set.
[0136] In some embodiments, the determining module 303 includes:
[0137] The display submodule is used to display the quick group list in the third display area of the graphical user interface in response to the control operation of the quick group list. The quick group list displays quick groups corresponding to at least one preset task set.
[0138] The fourth determining submodule is used to determine the end position of the drag operation in response to the drag operation on the target virtual model.
[0139] The filtering submodule is used to filter out the target quick group at the end position from the multiple quick groups displayed in the quick group list;
[0140] The fifth determination submodule is used to determine the task set corresponding to the target shortcut group as the target task set.
[0141] In some embodiments, the determining module 303 includes:
[0142] The sixth determining submodule is used to determine the second target quick group affected by the second drag operation in response to a second drag operation on a quick group in the quick group list;
[0143] The seventh determining submodule is used to determine whether the second drag operation drags the second target shortcut group to the associated response area of the target virtual model;
[0144] The eighth determination submodule is used to determine the task set corresponding to the second target shortcut group as the target task set if the condition is met.
[0145] In some implementations, the candidate virtual model is configured with multiple virtual roles belonging to the candidate virtual model, and the control module 304 includes:
[0146] The second control submodule is used to control the target virtual character of the target virtual model to perform game tasks in the target task set in batches in the corresponding scene area. The target virtual character is at least one of multiple virtual characters belonging to the target virtual model.
[0147] In some real-time modes, the target virtual character is a virtual character whose task type matches the game task in the target task set, or a virtual character determined according to a binding instruction.
[0148] As described above, in this embodiment, the display module 301 displays multiple candidate virtual models through the graphical user interface of a computer device; the selection module 302, in response to a selection operation on the multiple candidate virtual models, selects at least one target virtual model from the multiple candidate virtual models; the determination module 303, in response to a task batch execution operation, determines a target task set corresponding to the task batch execution operation from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the control module 304 controls the batch execution of the game tasks in the target task set in the scene area corresponding to the target virtual model. Thus, by performing a unified task batch execution operation on multiple target virtual models, the target virtual models are controlled to batch execute the game tasks in the target task set, avoiding repetitive operations, saving operation time, and improving the smoothness of game gameplay.
[0149] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0150] Accordingly, this application also provides a computer device, which can be a terminal or a server. The terminal can be a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. The computer device 1000 includes a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will understand that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0151] The processor 401 is the control center of the computer device 1000. It connects various parts of the computer device 1000 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it performs various functions of the computer device 1000 and processes data, thereby monitoring the computer device 1000 as a whole.
[0152] In this embodiment, the processor 401 in the computer device 1000 loads the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 runs the applications stored in the memory 402 to achieve various functions:
[0153] Multiple candidate virtual models are displayed through a graphical user interface of a computer device; in response to a selection operation for the multiple candidate virtual models, at least one target virtual model is selected from the multiple candidate virtual models; in response to a task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the game tasks in the target task set are batch executed in the scene area corresponding to the target virtual model.
[0154] In some implementations, prior to the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, the method further includes:
[0155] In response to a task execution operation targeting any candidate virtual model in the graphical user interface, candidate game tasks and task batch execution binding controls are displayed in the first display area of the graphical user interface.
[0156] In response to the candidate game task selection operation for the candidate game task, the target game task is determined from the candidate game tasks;
[0157] In response to the control operation of batch execution of the bound controls for the task, the shortcut key binding controls are displayed in the second display area of the graphical user interface;
[0158] Receive shortcut key control operations for the shortcut key binding control, and determine the input binding shortcut key;
[0159] The shortcut key is bound to a preset task set consisting of the target game task.
[0160] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0161] In response to the bound shortcut key control operation, determine the target bound shortcut key;
[0162] The set of tasks that are bound to the shortcut key of the target is determined as the target task set.
[0163] In some embodiments, a pattern binding control is also displayed in the first display area, and after the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes:
[0164] In response to a control operation on the pattern binding control, a first pattern drawing area is generated within the graphical user interface;
[0165] In response to a control operation on the first pattern drawing area, the pattern drawn in the first pattern drawing area is obtained;
[0166] The drawn pattern is bound to a preset task set consisting of the target game task.
[0167] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0168] In response to a control operation on a second pattern drawing area in a graphical user interface, the target pattern drawn in the second pattern drawing area is obtained;
[0169] The set of tasks bound to the target pattern is defined as the target task set.
[0170] In some embodiments, after the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes:
[0171] Record the selection order of the candidate game task selection operation for each target game task;
[0172] The step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes:
[0173] For each target virtual model, the target game tasks in the target task set are executed in batches in the scene area corresponding to the target virtual model according to the selection order of the game tasks in the target task set.
[0174] In some embodiments, the second display area of the graphical user interface also displays a quick group list, which displays quick groups corresponding to at least one preset task set.
[0175] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0176] In response to a first drag operation on the target virtual model, determine the end position of the first drag operation;
[0177] Filter the first target quick group at the end position from the multiple quick groups displayed in the quick group list;
[0178] The set of tasks corresponding to the first target shortcut group is determined as the target task set.
[0179] In some implementations, the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes:
[0180] In response to a second drag operation on a shortcut group in the shortcut group list, determine the second target shortcut group on which the second drag operation is applied;
[0181] Determine whether the second drag operation drags the second target shortcut group to the associated response area of the target virtual model;
[0182] If so, the task set corresponding to the second target shortcut group is determined as the target task set.
[0183] In some implementations, the candidate virtual model is configured with multiple virtual characters belonging to the candidate virtual model, and the step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes:
[0184] The target virtual character of the target virtual model is controlled to execute game tasks in the target task set in batches in the corresponding scene area. The target virtual character is at least one of multiple virtual characters belonging to the target virtual model.
[0185] In some implementations, the target virtual character is a virtual character whose task type matches the game task in the target task set, or a virtual character determined according to a binding instruction.
[0186] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0187] Optional, such as Figure 3 As shown, the computer device 1000 also includes: a touch screen display 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen display 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407. Those skilled in the art will understand that... Figure 3 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0188] The touch display screen 403 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 403 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 401. It can also receive and execute commands from the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 403 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 403 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 403 can also be used as part of the input unit 406 to achieve input functions.
[0189] In this embodiment, a game application is executed by processor 401 to generate a graphical user interface (GUI) on touch display screen 403. The virtual scene on the GUI includes at least one skill control area, and the skill control area includes at least one skill control. The touch display screen 403 is used to present the GUI and receive operation commands generated by the user interacting with the GUI.
[0190] The radio frequency circuit 404 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other computer devices, and to transmit and receive signals with network devices or other computer devices.
[0191] Audio circuitry 405 can be used to provide an audio interface between a user and a computer device via a speaker and a microphone. Audio circuitry 405 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 405, converted back into audio data, and then processed by processor 401 before being transmitted via radio frequency circuitry 404 to, for example, another computer device, or output to memory 402 for further processing. Audio circuitry 405 may also include an earphone jack to facilitate communication between peripheral headphones and the computer device.
[0192] The input unit 406 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0193] Power supply 407 is used to supply power to various components of computer device 1000. Optionally, power supply 407 can be logically connected to processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 407 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0194] although Figure 3 As not shown in the diagram, the computer device 1000 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
[0195] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0196] As can be seen from the above, the computer device provided in this embodiment displays multiple candidate virtual models through a graphical user interface; in response to a selection operation for the multiple candidate virtual models, at least one target virtual model is selected from the multiple candidate virtual models; in response to a task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the game tasks in the target task set are batch executed in the scene area corresponding to the target virtual model. Thus, by performing a unified task batch execution operation on multiple target virtual models, the target virtual models are controlled to batch execute the game tasks in the target task set, avoiding repetitive operations, saving operation time, and improving the smoothness of game gameplay.
[0197] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0198] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute steps in any of the control methods provided in the embodiments of this application. For example, the computer program can execute the following steps:
[0199] Multiple candidate virtual models are displayed through a graphical user interface of a computer device; in response to a selection operation for the multiple candidate virtual models, at least one target virtual model is selected from the multiple candidate virtual models; in response to a task batch execution operation, a target task set corresponding to the task batch execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; the game tasks in the target task set are batch executed in the scene area corresponding to the target virtual model.
[0200] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0201] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0202] Since the computer program stored in the storage medium can execute the steps in any of the task batch execution methods provided in the embodiments of this application, the beneficial effects that any of the task batch execution methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0203] The above provides a detailed description of a task batch execution method, apparatus, storage medium, and computer device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for batch execution of tasks, characterized in that, include: Multiple candidate virtual models are displayed through the graphical user interface of a computer device; In response to the selection operation for the plurality of candidate virtual models, at least one target virtual model is selected from the plurality of candidate virtual models; In response to a batch task execution operation, a target task set corresponding to the batch task execution operation is determined from a preset task set, wherein the preset task set includes multiple game tasks pre-set for the target virtual model, and the target task set includes at least one game task; Control the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model; Before the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, the method further includes: In response to a task execution operation targeting any candidate virtual model in the graphical user interface, candidate game tasks and task batch execution binding controls are displayed in the first display area of the graphical user interface. In response to the candidate game task selection operation for the candidate game task, the target game task is determined from the candidate game tasks; The first display area also displays a pattern binding control. After the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes: In response to a control operation on the pattern binding control, a first pattern drawing area is generated within the graphical user interface; In response to a control operation on the first pattern drawing area, the pattern drawn in the first pattern drawing area is obtained; The drawn pattern is bound to a preset task set consisting of the target game tasks; The step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes: In response to a control operation on a second pattern drawing area in a graphical user interface, the target pattern drawn in the second pattern drawing area is obtained; The set of tasks bound to the target pattern is defined as the target task set.
2. The task batch execution method according to claim 1, characterized in that, Before the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, the method further includes: In response to the control operation of batch execution of the bound controls for the task, the shortcut key binding controls are displayed in the second display area of the graphical user interface; Receive shortcut key control operations for the shortcut key binding control, and determine the input binding shortcut key; The shortcut key is bound to a preset task set consisting of the target game task.
3. The task batch execution method according to claim 2, characterized in that, The step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes: In response to the bound shortcut key control operation, determine the target bound shortcut key; The set of tasks that are bound to the shortcut key of the target is determined as the target task set.
4. The task batch execution method according to claim 1, characterized in that, After the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the method further includes: Record the selection order of the candidate game task selection operation for each target game task; The step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes: For each target virtual model, the target game tasks in the target task set are executed in the corresponding scene area according to the selection order of the game tasks in the target task set.
5. The task batch execution method according to claim 1, characterized in that, The second display area of the graphical user interface also displays a quick group list, which contains quick groups corresponding to at least one preset task set.
6. The task batch execution method according to claim 5, characterized in that, The step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes: In response to a first drag operation on the target virtual model, determine the end position of the first drag operation; Filter the first target quick group at the end position from the multiple quick groups displayed in the quick group list; The set of tasks corresponding to the first target shortcut group is determined as the target task set.
7. The task batch execution method according to claim 5, characterized in that, The step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation includes: In response to a second drag operation on a shortcut group in the shortcut group list, determine the second target shortcut group on which the second drag operation is applied; Determine whether the second drag operation drags the second target shortcut group to the associated response area of the target virtual model; If so, the task set corresponding to the second target shortcut group is determined as the target task set.
8. The task batch execution method according to claim 1, characterized in that, The candidate virtual model is configured with multiple virtual characters belonging to the candidate virtual model, and the step of controlling the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model includes: The target virtual character of the target virtual model is controlled to execute game tasks in the target task set in batches in the corresponding scene area. The target virtual character is at least one of multiple virtual characters belonging to the target virtual model.
9. The task batch execution method according to claim 8, characterized in that, The target virtual character is a virtual character whose task type matches the game task in the target task set, or a virtual character determined according to the binding instruction.
10. A task batch execution device, characterized in that, include: The display module is used to display multiple candidate virtual models through the graphical user interface of a computer device; A selection module is configured to select at least one target virtual model from the plurality of candidate virtual models in response to a selection operation for the plurality of candidate virtual models. A determination module is used to determine a target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, wherein the preset task set includes multiple game tasks preset for the target virtual model, and the target task set includes at least one game task; The control module is used to control the batch execution of game tasks in the target task set in the scene area corresponding to the target virtual model; Before the step of determining the target task set corresponding to the task batch execution operation from a preset task set in response to the task batch execution operation, the device is further configured to: In response to a task execution operation targeting any candidate virtual model in the graphical user interface, candidate game tasks and task batch execution binding controls are displayed in the first display area of the graphical user interface. In response to the candidate game task selection operation for the candidate game task, the target game task is determined from the candidate game tasks; The first display area also displays a pattern binding control. After the step of determining the selected target game task from the candidate game tasks in response to the candidate game task selection operation for the candidate game task, the device is further configured to: In response to a control operation on the pattern binding control, a first pattern drawing area is generated within the graphical user interface; In response to a control operation on the first pattern drawing area, the pattern drawn in the first pattern drawing area is obtained; The drawn pattern is bound to a preset task set consisting of the target game tasks; The device is also used for: In response to a control operation on a second pattern drawing area in a graphical user interface, the target pattern drawn in the second pattern drawing area is obtained; The set of tasks bound to the target pattern is defined as the target task set.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps of the task batch execution method according to any one of claims 1 to 9.
12. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the task batch execution method as described in any one of claims 1 to 9.