Method and device for executing tasks in game, electronic equipment and storage medium

文档序号:76839 发布日期:2021-10-08 浏览:60次 中文

阅读说明:本技术 游戏中的任务执行方法、装置、电子设备及存储介质 (Method and device for executing tasks in game, electronic equipment and storage medium ) 是由 胡佳胜 胡志鹏 程龙 刘勇成 袁思思 于 2021-07-06 设计创作,主要内容包括:本申请提供一种游戏中的任务执行方法、装置、电子设备及存储介质,涉及游戏技术领域。该方法包括:响应于游戏玩家输入的任务操作指令,获取任务数据,任务数据包括游戏中待执行的目标任务下的目标子任务的信息;根据任务数据、以及预设的游戏任务列表,确定目标任务的执行流程,目标任务的执行流程用于指示目标任务的子任务之间的执行顺序,游戏任务列表用于记录游戏中需执行的任务的信息;响应于游戏玩家输入的目标任务触发指令,根据目标任务的执行流程,执行目标任务。本方案中,通过目标任务下的目标子任务的信息确定目标任务的执行流程,可简化游戏任务的执行复杂度,提高了游戏任务的执行效率。(The application provides a task execution method and device in a game, electronic equipment and a storage medium, and relates to the technical field of games. The method comprises the following steps: responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game; determining an execution flow of a target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in a game; and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task. According to the scheme, the execution flow of the target task is determined through the information of the target subtask under the target task, the execution complexity of the game task can be simplified, and the execution efficiency of the game task is improved.)

1. A method of task execution in a game, comprising:

responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game;

determining an execution flow of the target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in the game;

and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task.

2. The method of claim 1, wherein said retrieving mission data in response to mission operations entered by a game player comprises:

responding to target information of a target subtask in the target tasks input by the game player, and generating a task operation instruction containing the target information, wherein the target information comprises picture and/or text information;

identifying the target information, and acquiring the task data according to the target information, wherein the task data comprises: the task name of the target subtask or the task coordinate of the target subtask.

3. The method of claim 1, wherein said retrieving mission data in response to mission operations entered by a game player comprises:

responding to the confirmation operation of the game player for the target text in the acquired target game session text, and generating a task operation instruction;

responding to the task operation instruction, and acquiring the task data;

wherein the target game session text is used for representing session text generated by the game player and other game players for a target task, and the target text comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task, wherein the task data comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task.

4. The method of claim 2, wherein the information of the task comprises: the execution sequence of each task and the task name of each task;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task name of the target subtask with the task name of each task recorded in the game task list;

and if the matching is successful, determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

5. The method according to claim 4, wherein the determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs comprises:

and determining the execution flow of the target task according to the target subtask corresponding to the matched task name, the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

6. The method of claim 2, wherein the information of the task comprises: the execution sequence of each task, the task coordinate of each task and the corresponding relation between the task coordinate and the task name;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

verifying the task coordinates of the target subtask according to the task coordinates of each task recorded in the game task list;

and if the verification is passed, determining the execution flow of the target task according to the task coordinate of the target subtask, the corresponding relation between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

7. The method according to claim 6, wherein the determining the execution flow of the target task according to the task coordinates of the target subtask, the corresponding relationship between the task coordinates and the task names recorded in the game task list, the execution sequence of each task recorded in the game task list, and the task interval to which each task belongs comprises:

determining a target subtask according to the task coordinate of the target subtask and the corresponding relation between the task coordinate and the task name recorded in the game task list;

and determining the execution flow of the target task according to the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

8. The method of claim 3, wherein the information for the task comprises: task names of the tasks;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task name of each subtask with the task name of each task recorded in the game task list in sequence;

and if the matching is successful, determining the execution flow of the target task according to the matching sequence of the task names of the subtasks.

9. The method of claim 3, wherein the information for the task comprises: the corresponding relation among the task rewards of all tasks, the task rewards and the task names;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task rewards of the subtasks with the task rewards of the tasks recorded in the game task list in sequence;

and if the matching is successful, determining the execution flow of the target task according to the task rewards of the subtasks and the corresponding relation between the task rewards and the task names recorded in the game task list.

10. The method according to any one of claims 1 to 9, wherein the method further comprises, before executing the goal task according to the execution flow of the goal task in response to a goal task trigger instruction input by the game player, the method further comprising:

and displaying the identification of the target task and an execution list of the target task in the game interaction interface according to the execution flow of the target task, wherein the execution list comprises at least one subtask which is arranged in sequence under the target task.

11. The method of claim 10, wherein the executing the target mission according to the execution flow of the target mission in response to a target mission triggering instruction input by the game player comprises:

generating a target task trigger instruction in response to a confirmation operation input by the game player for the identification of the target task;

and responding to the target task triggering instruction, and executing the target task according to the execution flow of the target task.

12. The method of claim 10, wherein the executing the target mission according to the execution flow of the target mission in response to a target mission triggering instruction input by the game player comprises:

and responding to the confirmation operation of the game player for each subtask in the execution list of the target task, and sequentially executing each subtask under the target task.

13. A task execution device in a game, comprising: the device comprises an acquisition module, a determination module and an execution module;

the acquisition module is used for responding to a task operation instruction input by a game player and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game;

the determining module is used for determining an execution flow of the target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in the game;

the execution module is used for responding to a target task triggering instruction input by the game player and executing the target task according to the execution flow of the target task.

14. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the program instructions to perform the steps of the method according to any one of claims 1 to 12 when executed.

15. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 12.

Technical Field

The present application relates to the field of game technologies, and in particular, to a method and an apparatus for executing a task in a game, an electronic device, and a storage medium.

Background

At present, in most games, players can obtain game rewards by executing some set game tasks, and further accumulation of experience, gold coins and the like is achieved.

In the prior art, for a complete game task, a player can only inquire the execution flow of a subtask included in the complete game task each time, and after the currently inquired subtask is executed, the player can inquire the execution flow of the next subtask again and execute the next subtask until the complete game task is executed.

However, the above method requires the player to perform the inquiry many times, and the operation takes time, resulting in low efficiency of executing the game task.

Disclosure of Invention

The present application aims to provide a method, an apparatus, an electronic device and a storage medium for executing a task in a game, so as to solve the problem of low efficiency in executing a game task in the prior art.

In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:

in a first aspect, an embodiment of the present application provides a task execution method in a game, including:

responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game;

determining an execution flow of the target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks under the target task, and the game task list is used for recording information of tasks to be executed in the game;

and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task.

Optionally, the obtaining task data in response to a task operation instruction input by a game player includes:

responding to target information of a target subtask in the target tasks input by the game player, and generating a task operation instruction containing the target information, wherein the target information comprises picture and/or text information;

identifying the target information, and acquiring the task data according to the target information, wherein the task data comprises: the task name of the target subtask or the task coordinate of the target subtask.

Optionally, the obtaining task data in response to a task operation instruction input by a game player includes:

responding to the confirmation operation of the game player for the target text in the acquired target game session text, and generating a task operation instruction;

responding to the task operation instruction, and acquiring the task data;

wherein the target game session text is used for representing session text generated by the game player and other game players for a target task, and the target text comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task, wherein the task data comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task.

Optionally, the information of the task includes: the execution sequence of each task and the task name of each task;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task name of the target subtask with the task name of each task recorded in the game task list;

and if the matching is successful, determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining, according to the matched task name, the execution sequence of each task recorded in the game task list, and the task interval to which each task belongs, an execution flow of the target task includes:

and determining the execution flow of the target task according to the target subtask corresponding to the matched task name, the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Optionally, the information of the task includes: the execution sequence of each task, the task coordinate of each task and the corresponding relation between the task coordinate and the task name;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

verifying the task coordinates of the target subtask according to the task coordinates of each task recorded in the game task list;

and if the verification is passed, determining the execution flow of the target task according to the task coordinate of the target subtask, the corresponding relation between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining, according to the task coordinate of the target subtask, the correspondence between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list, and the task interval to which each task belongs, an execution flow of the target task includes:

determining a target subtask according to the task coordinate of the target subtask and the corresponding relation between the task coordinate and the task name recorded in the game task list;

and determining the execution flow of the target task according to the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Optionally, the information of the task includes: task names of the tasks;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task name of each subtask with the task name of each task recorded in the game task list in sequence;

and if the matching is successful, determining the execution flow of the target task according to the matching sequence of the task names of the subtasks.

Optionally, the information of the task includes: the corresponding relation among the task rewards of all tasks, the task rewards and the task names;

the step of determining the execution flow of the target task according to the task data and a preset game task list comprises the following steps:

matching the task rewards of the subtasks with the task rewards of the tasks recorded in the game task list in sequence;

and if the matching is successful, determining the execution flow of the target task according to the task rewards of the subtasks and the corresponding relation between the task rewards and the task names recorded in the game task list.

Optionally, before the target mission is executed according to an execution flow of the target mission in response to a target mission trigger instruction input by the game player, the method further includes:

and displaying the identification of the target task and an execution list of the target task in the game interaction interface according to the execution flow of the target task, wherein the execution list comprises at least one subtask which is arranged in sequence under the target task.

Optionally, the executing the target task according to the execution flow of the target task in response to a target task triggering instruction input by the game player includes:

generating a target task trigger instruction in response to a confirmation operation input by the game player for the identification of the target task;

and responding to the target task triggering instruction, and executing the target task according to the execution flow of the target task.

Optionally, the executing the target task according to the execution flow of the target task in response to a target task triggering instruction input by the game player includes:

and responding to the confirmation operation of the game player for each subtask in the execution list of the target task, and sequentially executing each subtask under the target task.

In a second aspect, an embodiment of the present application further provides a task execution device in a game, including: the device comprises an acquisition module, a determination module and an execution module;

the acquisition module is used for responding to a task operation instruction input by a game player and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game;

the determining module is used for determining an execution flow of the target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in the game;

the execution module is used for responding to a target task triggering instruction input by the game player and executing the target task according to the execution flow of the target task.

Optionally, the obtaining module is specifically configured to generate a task operation instruction including target information in response to target information of a target subtask in the target task input by the game player, where the target information includes picture and/or text information;

identifying the target information, and acquiring the task data according to the target information, wherein the task data comprises: the task name of the target subtask or the task coordinate of the target subtask.

Optionally, the obtaining module is specifically configured to generate a task operation instruction in response to a confirmation operation of the game player on a target text in the obtained target game session text;

responding to the task operation instruction, and acquiring the task data;

wherein the target game session text is used for representing session text generated by the game player and other game players for a target task, and the target text comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task, wherein the task data comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task.

Optionally, the information of the task includes: the execution sequence of each task and the task name of each task;

the determining module is specifically configured to match task names of the target subtasks with task names of each task recorded in the game task list; and if the matching is successful, determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining module is specifically configured to determine an execution flow of the target task according to a target subtask corresponding to the matched task name, an execution sequence of the target subtask and other subtasks, and a task interval to which the target subtask belongs.

Optionally, the information of the task includes: the execution sequence of each task, the task coordinate of each task and the corresponding relation between the task coordinate and the task name;

the determining module is specifically configured to verify the task coordinates of the target subtask according to the task coordinates of each task recorded in the game task list; and if the verification is passed, determining the execution flow of the target task according to the task coordinate of the target subtask, the corresponding relation between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining module is specifically configured to determine the target subtask according to the task coordinate of the target subtask and a correspondence between the task coordinate and the task name recorded in the game task list; and determining the execution flow of the target task according to the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Optionally, the information of the task includes: task names of the tasks;

the determining module is specifically configured to match task names of the subtasks with task names of the tasks recorded in the game task list in sequence; and if the matching is successful, determining the execution flow of the target task according to the matching sequence of the task names of the subtasks.

Optionally, the information of the task includes: the corresponding relation among the task rewards of all tasks, the task rewards and the task names;

the determining module is specifically configured to match task rewards of the subtasks with task rewards of the tasks recorded in the game task list in sequence; and if the matching is successful, determining the execution flow of the target task according to the task rewards of the subtasks and the corresponding relation between the task rewards and the task names recorded in the game task list.

Optionally, the apparatus further comprises: a display module;

the display module is used for displaying the identification of the target task and an execution list of the target task in the game interaction interface according to the execution flow of the target task, wherein the execution list comprises at least one subtask which is arranged in sequence under the target task.

Optionally, the executing module is specifically configured to generate a target task triggering instruction in response to a confirmation operation input by the game player for the identifier of the target task;

and responding to the target task triggering instruction, and executing the target task according to the execution flow of the target task.

Optionally, the executing module is specifically configured to sequentially execute each subtask under the target task in response to a confirmation operation of the game player for each subtask in the execution list of the target task.

In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operated, the processor executing the machine-readable instructions to perform the steps of the method as provided in the first aspect when executed.

In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the method as provided in the first aspect.

The beneficial effect of this application is:

the application provides a task execution method and device in a game, an electronic device and a storage medium, wherein the method comprises the following steps: responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game; determining an execution flow of a target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in a game; and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task. In the scheme, the information of the target subtask under the target task to be executed can be acquired according to the task operation instruction of the game player, so that the execution flow of the target task is determined according to the information of the target subtask and a preset game task list. The execution flow of the target task is determined through the information of the target subtask under the target task, so that the query times of the execution flow of the subtask of the target task can be greatly reduced, the execution complexity of the game task is simplified, and the execution efficiency of the game task is improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

FIG. 1 is a first flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 2 is a second flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 3 is a schematic view of a game interface provided in an embodiment of the present application;

FIG. 4 is a schematic view of another game interaction interface provided by an embodiment of the present application;

FIG. 5 is a third flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 6 is a fourth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 7 is a fifth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 8 is a sixth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 9 is a seventh flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure;

FIG. 10 is a schematic view of another game interface provided by an embodiment of the present application;

FIG. 11 is a schematic diagram of a task performing device in a game according to an embodiment of the present disclosure;

fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.

In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.

FIG. 1 is a first flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; the execution subject of the method can be terminal equipment or a server. As shown in fig. 1, the method may include:

s101, responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in the game.

It should be noted that the method of the present application can be applied to most games, for example: a role-playing game in which a game player can obtain a game award or the like by performing a set game task.

Alternatively, the game player may input the task operation instruction in the form of voice or text, and the server of the game system may acquire the task data in response to the input of the game player.

Generally, a game may include a plurality of target tasks, each of which may be composed of at least one subtask, and the target tasks are executed after the subtasks under the target tasks are completed in sequence.

Optionally, the obtained task data may be information of a target subtask under a target task to be executed, where the target subtask may be any one subtask under the target task.

S102, determining an execution flow of a target task according to task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence of subtasks under the target task, and the game task list is used for recording information of tasks to be executed in a game.

The preset game task list can be configured in advance by game developers and stored in the server, different games have corresponding game task lists, and the game task list can record information of all tasks required to be executed in the games.

Based on the acquired task data and the preset game task list, an execution flow of a target task to which the target subtask belongs, that is, an execution sequence of each subtask included in the target task, may be determined, and the execution flow of the target task may be used to guide a game player to execute the target task.

And S103, responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task.

Optionally, after the execution flow of the target task is determined, the target task may be executed in response to a trigger instruction of the game player for the target task, where the target task may be executed according to the determined execution flow of the target task.

To sum up, the task execution method in the game provided by the embodiment includes: responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game; determining an execution flow of a target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in a game; and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task. In the scheme, the information of the target subtask under the target task to be executed can be acquired according to the task operation instruction of the game player, so that the execution flow of the target task is determined according to the information of the target subtask and a preset game task list. The execution flow of the target task is determined through the information of the target subtask under the target task, so that the query times of the execution flow of the subtask of the target task can be greatly reduced, the execution complexity of the game task is simplified, and the execution efficiency of the game task is improved.

FIG. 2 is a second flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; fig. 3 is a schematic view of a game interaction interface provided in an embodiment of the present application. Alternatively, in step S101, the obtaining of the mission data in response to the mission operation instruction input by the game player may include:

s201, responding to target information of target subtasks in target tasks input by a game player, and generating a task operation instruction containing the target information, wherein the target information comprises picture and/or character information.

In one implementation, as shown in a in fig. 3, a search entry may be provided in the game interface, and the game player may query for the target information of the target subtask through the search entry provided in the game interface.

In another implementation, the game player may also query through a web page separate from the gaming system to obtain the target information for the target subtask.

Optionally, as shown in a in fig. 3, a target information box may be further provided in the game interface, the game player may paste the target information acquired by the query from the web page into the target information box of the game interface, and in response to an input operation of the game player on the acquired target information of the target subtask, a task operation instruction including the target information may be generated, where the input operation may be a paste operation.

Alternatively, the game player may directly input the acquired object information of the object subtask as input information into the object information frame of the game interface.

When the target information in the input target information frame is a picture, the picture may include information such as an execution flow of the target subtask, a task name of the target subtask, and the like, similar to an information introduction obtained when an information query is performed in hundreds of degrees.

S202, identifying target information, and acquiring task data according to the target information, wherein the task data comprises: the task name of the target subtask or the task coordinates of the target subtask.

In some embodiments, a similar image recognition method may be used to recognize the acquired target information of the target subtask and acquire task data therefrom, where in this embodiment, the acquired task data may include: the task name of the target subtask, or the task coordinates of the target subtask.

Illustratively, after target information of a target subtask is input in a target information box shown as a in fig. 3, a game interactive interface may jump to an interface shown as b in fig. 3 correspondingly, so as to show the acquired task data of the target subtask to the user.

The task coordinates of the target subtask may be generated by counting data of game players who have historically completed the target subtask, or may be uploaded to a web page by game players who have historically completed the target subtask.

Alternatively, in step S101, the obtaining of the mission data in response to the mission operation instruction input by the game player may include: responding to the confirmation operation of the game player for the target text in the acquired target game session text, and generating a task operation instruction; responding to a task operation instruction, and acquiring task data; the target game session text is used for representing session texts generated by the game player and other game players aiming at the target tasks, and the target text comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task, and the task data comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task.

Fig. 4 is a schematic view of another game interaction interface provided in an embodiment of the present application, and as shown in fig. 4, a chat interface in the game interface is provided, in other embodiments, a game player may initiate a query to other players who have completed the target task by means of chat within the game, and the player may input chat information through an information input field of the chat interface, for example: "ask other players what the execution flow is when the target mission was executed before", other players give corresponding answers, so that the target game session text is generated in the chat interface.

Optionally, based on the target game session text, task data may be obtained in response to a confirmation operation of a game player for a target text in the target game session text, where the target text may include: the other game player tells the game player the mission name of the subtask of the target mission or the mission award for the subtask. The confirmation operation can be click operation, press operation and the like to trigger the selection of the target text, and based on the confirmation operation, the task name of each subtask under the target task and the task reward of each subtask can be sequentially acquired. For example, as shown in fig. 4, other players may tell the game player to execute the a subtask, then execute the B subtask, and finally execute the C subtask, and may obtain the task data of the a subtask in response to a click operation of the game player on executing the a subtask first.

FIG. 5 is a third flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; optionally, the information of the task in step S102 may include: the execution sequence of each task and the task name of each task; in step S102, determining an execution flow of the target task according to the task data and the preset game task list, which may include:

s301, matching the task name of the target subtask with the task name of each task recorded in the game task list.

Optionally, a task name of each task and an execution sequence of each task may be recorded in the preset game task list, the task name may be used to represent what a specific task is, and the execution sequence of each task may be used to instruct a game player to execute the tasks according to the execution sequence. For example, for a target task consisting of ten subtasks, the game task list may record the execution order of the ten subtasks under the target task, for example: the task a is executed first, then the task b is executed, then the task c is executed, and the like.

In an implementation manner, after the task data is obtained based on the manner of steps S201 to S202, when the obtained task data is the task name of the target subtask, the task name of the target subtask may be first matched with the task names of the tasks recorded in the game task list to determine whether the target subtask is accurate and to determine specific information of the target subtask.

And S302, if the matching is successful, determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, when the matching is successful, that is, when the task name of the target subtask exists in the game task list, the execution flow of the target task may be determined according to the matched task name, the execution sequence of each task, and the task interval to which each task belongs.

The task section to which each task belongs is determined when the game task list is generated, the related information of each task can be recorded in the game task list in a section (such as a game chapter, a section and the like), each subtask belonging to the same target task can be recorded in the same section, or the related information of a plurality of target tasks belonging to the same chapter can be recorded in one section. According to the task interval to which each task belongs, all subtasks contained under the target task can be quickly determined according to any target subtask under the target task.

Optionally, in step S302, determining an execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list, and the task interval to which each task belongs, may include: and determining the execution flow of the target task according to the target subtask corresponding to the matched task name, the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Optionally, when the task name of the target subtask matches a task name in the game task list, the target subtask may be determined according to the matched task name, so that all subtasks included in the target task to which the target subtask belongs may be determined based on the task interval to which the target subtask belongs, and further, the execution order of all subtasks under the target task may be determined based on the execution order of the target subtask and other subtasks, so as to determine the execution flow of the target task.

FIG. 6 is a fourth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; optionally, the information of the task in step S102 may include: the execution sequence of each task, the task coordinate of each task and the corresponding relation between the task coordinate and the task name.

In step S102, determining an execution flow of the target task according to the task data and the preset game task list, which may include:

s401, verifying the task coordinates of the target subtask according to the task coordinates of each task recorded in the game task list.

In some cases, after the task data is acquired based on the manner of steps S201 to S202, when the acquired task data is the task coordinates of the target subtask, the task coordinates of the target subtask may be verified first according to the task coordinates of each task recorded in the game task list to determine the accuracy of the task coordinates of the target subtask.

S402, if the verification is passed, determining the execution flow of the target task according to the task coordinate of the target subtask, the corresponding relation between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, when the verification passes, it may be determined that the task coordinate of the target subtask is accurate, and then the target task execution flow may be determined according to the task coordinate of the target subtask, a correspondence between the task coordinate and the task name, an execution sequence of each task, and a task interval to which each task belongs.

FIG. 7 is a fifth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; optionally, in step S402, determining an execution flow of the target task according to the task coordinates of the target subtask, the corresponding relationship between the task coordinates and the task names recorded in the game task list, the execution sequence of each task recorded in the game task list, and the task interval to which each task belongs, where the execution flow may include:

s501, determining the target subtask according to the task coordinate of the target subtask and the corresponding relation between the task coordinate and the task name recorded in the game task list.

Generally, the task name and the task coordinate correspond to each other, different tasks correspond to different task coordinates, the task coordinates may refer to game space coordinates in a game scene, and different tasks may be completed in a scene indicated by the corresponding task coordinates.

In some embodiments, the target subtask may be determined by determining the task name of the target subtask according to the task coordinate of the target subtask and the corresponding relationship between the task coordinate and the task name.

S502, determining the execution flow of the target task according to the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Similar to the execution of the above steps, the execution flow of the target task may be determined according to the execution sequence of the determined target subtask and other subtasks, and the task interval to which the target subtask belongs.

FIG. 8 is a sixth flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; optionally, the information of the task in step S102 may include: task names of the tasks.

In step S102, determining an execution flow of the target task according to the task data and the preset game task list, which may include:

s601, matching the task name of each subtask with the task name of each task recorded in the game task list in sequence.

In some embodiments, after the task data is obtained based on the confirmation operation of the response game player for the target text in the target game session text, when the task data includes task names of subtasks under the target task, for example: the other game players reply to the game player with the text: the task A is done first, then the task B is done, then the task C is done, and finally the task D is done.

The game player may respond to the text in turn: and clicking operation of the task A, the task B, the task C and the task D to obtain the task name of each subtask.

Alternatively, the task names of the subtasks acquired in sequence may be matched with the task names of the tasks in the game task list in the sequence of the sequential response. For example: the method comprises the steps of responding to confirmation operation of a task A, obtaining the name of the task A, matching the name of the task A with the names of all tasks, obtaining the name of a task B, matching the name of the task B with the names of all tasks, and executing the tasks in sequence.

And S602, if the matching is successful, determining the execution flow of the target task according to the matching sequence of the task names of the subtasks.

Optionally, if each subtask is successfully matched, the execution flow of the target task may be determined according to the matching sequence of the task names of each subtask, for example: firstly, matching the task A, and after the matching is successful, taking the task A as a first executed subtask in the target task; and matching the task B, and after the matching is successful, taking the task B as a second executed subtask in the target task, and sequentially determining the execution flow of the target task.

FIG. 9 is a seventh flowchart illustrating a task execution method in a game according to an embodiment of the present disclosure; optionally, the information of the task in step S102 may include: the corresponding relation among the task rewards of all the tasks, the task rewards and the task names.

In step S102, determining an execution flow of the target task according to the task data and the preset game task list, which may include:

s701, matching the task rewards of the subtasks with the task rewards of the tasks recorded in the game task list in sequence.

Similar to the execution process of the above steps S601-S602, the difference is that in this embodiment, the acquired task data is a task reward for each subtask under the target task. Typically, game players will have a more impressive impression of mission rewards within the game, and other game players may include mission rewards in a dialog with the game player, such as: the target game session text acquired by the game player comprises: the method comprises the steps of obtaining a task reward A, obtaining a task reward B, obtaining a task reward C, obtaining a task reward D and the like.

The game player may respond to the text in turn: and clicking the task reward A, the task reward B, the task reward C and the task reward D to obtain the task reward of each subtask.

Alternatively, the task awards of the subtasks acquired in sequence may be matched with the task awards of the tasks in the game task list in the sequence of responses. For example: the method comprises the steps of responding to confirmation operation of a task reward A, obtaining the task reward A, matching the task reward A with each task reward, obtaining a task reward B, matching the task reward B with each task name, and executing in sequence.

S702, if the matching is successful, determining the execution flow of the target task according to the task rewards of the subtasks and the corresponding relation between the task rewards and the task names recorded in the game task list.

Optionally, if each subtask is successfully matched, the execution flow of the target task may be determined according to the matching sequence of the task rewards of each subtask, for example: firstly, matching the task reward A, and after the matching is successful, determining the task name corresponding to the task reward A according to the corresponding relation between the task reward and the task name, so as to determine the subtask corresponding to the task reward A, and taking the subtask corresponding to the task reward A as the first executed subtask in the target task; and matching the task reward B, determining the task name corresponding to the task reward B according to the corresponding relation between the task reward and the task name after the matching is successful, thereby determining the subtask corresponding to the task reward B, taking the subtask corresponding to the task reward B as a second executed subtask in the target task, and sequentially determining the execution flow of the target task.

FIG. 10 is a schematic diagram of another game interaction interface provided in the embodiments of the present application. Optionally, in step S103, in response to a target task triggering instruction input by the game player, before executing the target task according to the execution flow of the target task, the method of the present application may further include: and displaying the identification of the target task and an execution list of the target task in the game interaction interface according to the execution flow of the target task, wherein the execution list comprises at least one subtask which is arranged in sequence under the target task.

In some embodiments, after the execution flow of the target task is determined, an execution list of the target task may be further generated and displayed on the game interaction interface, as shown in fig. 10, on one hand, an identifier of the target task may be displayed, on the other hand, an execution list of the target task may be further displayed, and the sub tasks under the target task may be sequentially arranged and displayed in the execution list. The target tasks are displayed to the game player in the form of the execution list, so that the game player can conveniently trigger the execution of the target tasks and clearly master all subtasks under the target tasks.

Optionally, in step S103, in response to a target task triggering instruction input by the game player, executing the target task according to the execution flow of the target task, which may include: generating a target task trigger instruction in response to a confirmation operation input by a game player for the identification of the target task; and responding to the target task triggering instruction, and executing the target task according to the execution flow of the target task.

In an implementation manner, a game player may directly click an identifier of a target task, and in response to a click operation of the game player on the identifier of the target task, the game player may trigger an execution flow according to the target task to execute the target task, that is, trigger the execution of each subtask in sequence according to an execution sequence of each subtask under the target task to complete the target task.

Optionally, in step S103, in response to a target task triggering instruction input by the game player, executing the target task according to the execution flow of the target task, which may include: and responding to the confirmation operation of the game player for each subtask in the execution list of the target task, and sequentially executing each subtask under the target task.

In another implementation manner, the game player may also sequentially click the subtasks in the execution list of the target task, when the first subtask is clicked, the first subtask may be triggered to be executed, and after the execution is completed, the second subtask may be clicked, and the second subtask may be triggered to be executed. In response to the clicking operation of the game player on each subtask in sequence, each subtask under the target task can be executed in sequence, so that the target task is completed.

The method can rapidly guide the game player to execute the complete target task and improve the execution efficiency of the game task.

To sum up, the task execution method in the game provided by the embodiment includes: responding to a task operation instruction input by a game player, and acquiring task data, wherein the task data comprises information of target subtasks under target tasks to be executed in a game; determining an execution flow of a target task according to the task data and a preset game task list, wherein the execution flow of the target task is used for indicating an execution sequence among subtasks of the target task, and the game task list is used for recording information of tasks to be executed in a game; and responding to a target task triggering instruction input by the game player, and executing the target task according to the execution flow of the target task. In the scheme, the information of the target subtask under the target task to be executed can be acquired according to the task operation instruction of the game player, so that the execution flow of the target task is determined according to the information of the target subtask and a preset game task list. The execution flow of the target task is determined through the information of the target subtask under the target task, so that the query times of the execution flow of the subtask of the target task can be greatly reduced, the execution complexity of the game task is simplified, and the execution efficiency of the game task is improved.

The following describes a device, an electronic device, a storage medium, and the like for executing the task execution method in the game provided by the present application, and specific implementation processes and technical effects thereof are referred to above, and are not described again below.

Fig. 11 is a schematic diagram of a task execution device in a game according to an embodiment of the present application, where functions implemented by the task execution device in the game correspond to steps executed by the foregoing method. The apparatus may be understood as the terminal device, the server, or the processor of the server, or may be understood as a component that is independent of the server or the processor and implements the functions of the present application under the control of the server, as shown in fig. 9, the apparatus may include: an obtaining module 910, a determining module 920, and an executing module 930;

an obtaining module 910, configured to obtain task data in response to a task operation instruction input by a game player, where the task data includes information of a target subtask under a target task to be executed in a game;

a determining module 920, configured to determine an execution procedure of the target task according to the task data and a preset game task list, where the execution procedure of the target task is used to indicate an execution sequence between subtasks of the target task, and the game task list is used to record information of tasks to be executed in the game;

the executing module 930 is configured to, in response to a target task triggering instruction input by the game player, execute the target task according to an execution flow of the target task.

Optionally, the obtaining module 910 is specifically configured to generate a task operation instruction including target information in response to target information of a target subtask in a target task input by a game player, where the target information includes picture and/or text information;

identifying target information, and acquiring task data according to the target information, wherein the task data comprises: the task name of the target subtask or the task coordinates of the target subtask.

Optionally, the obtaining module 910 is specifically configured to generate a task operation instruction in response to a confirmation operation of the game player on the target text in the obtained target game session text; responding to a task operation instruction, and acquiring task data; the target game session text is used for representing session texts generated by the game player and other game players aiming at the target tasks, and the target text comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task, and the task data comprises: the task name of each subtask under the target task or the task reward of each subtask under the target task.

Optionally, the information of the task includes: the execution sequence of each task and the task name of each task;

a determining module 920, configured to specifically match the task name of the target subtask with the task name of each task recorded in the game task list; and if the matching is successful, determining the execution flow of the target task according to the matched task name, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining module 920 is specifically configured to determine an execution flow of the target task according to the target subtask corresponding to the matched task name, an execution sequence of the target subtask and other subtasks, and a task interval to which the target subtask belongs.

Optionally, the information of the task includes: the execution sequence of each task, the task coordinate of each task and the corresponding relation between the task coordinate and the task name;

a determining module 920, configured to verify task coordinates of the target subtask according to task coordinates of each task recorded in the game task list; and if the verification is passed, determining the execution flow of the target task according to the task coordinate of the target subtask, the corresponding relation between the task coordinate and the task name recorded in the game task list, the execution sequence of each task recorded in the game task list and the task interval to which each task belongs.

Optionally, the determining module 920 is specifically configured to determine the target subtask according to the task coordinate of the target subtask and a corresponding relationship between the task coordinate and the task name recorded in the game task list; and determining the execution flow of the target task according to the execution sequence of the target subtask and other subtasks and the task interval to which the target subtask belongs.

Optionally, the information of the task includes: task names of the tasks;

a determining module 920, configured to match task names of the subtasks with task names of the tasks recorded in the game task list in sequence; and if the matching is successful, determining the execution flow of the target task according to the matching sequence of the task names of the subtasks.

Optionally, the information of the task includes: the corresponding relation among the task rewards of all tasks, the task rewards and the task names;

a determining module 920, configured to match task rewards of the subtasks with task rewards of the tasks recorded in the game task list in sequence; and if the matching is successful, determining the execution flow of the target task according to the task rewards of the subtasks and the corresponding relation between the task rewards and the task names recorded in the game task list.

Optionally, the apparatus further comprises: a display module;

and the display module is used for displaying the identification of the target task and an execution list of the target task in the game interaction interface according to the execution flow of the target task, wherein the execution list comprises at least one subtask which is arranged in sequence under the target task.

Optionally, the executing module 930 is specifically configured to generate a target task triggering instruction in response to a confirmation operation that the game player inputs the identifier of the target task; and responding to the target task triggering instruction, and executing the target task according to the execution flow of the target task.

Optionally, the executing module 930 is specifically configured to, in response to a confirmation operation of the game player for each subtask in the execution list of the target task, sequentially execute each subtask under the target task.

The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.

These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

The modules may be connected or in communication with each other via a wired or wireless connection. The wired connection may include a metal cable, an optical cable, a hybrid cable, etc., or any combination thereof. The wireless connection may comprise a connection over a LAN, WAN, bluetooth, ZigBee, NFC, or the like, or any combination thereof. Two or more modules may be combined into a single module, and any one module may be divided into two or more units. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application.

It should be noted that the above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, the modules may be integrated together and implemented in the form of a System-on-a-chip (SOC).

Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device may be a computing device with a data processing function.

The apparatus may include: a processor 801 and a memory 802.

The memory 802 is used for storing programs, and the processor 801 calls the programs stored in the memory 802 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.

Wherein the memory 802 stores program code that, when executed by the processor 801, causes the processor 801 to perform various steps in methods according to various exemplary embodiments of the present application described in the "exemplary methods" section above in this description.

The Processor 801 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware components, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.

Memory 802, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 802 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.

Optionally, the present application also provides a program product, such as a computer readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.

In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种画面显示的方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类