Interaction application task configuration method and device, computer device and storage medium
By defining the target interactive application scenario and the distribution of interactive objects in interactive application tasks, the problem of low task configuration efficiency is solved, and efficient task configuration is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-03-04
- Publication Date
- 2026-05-19
AI Technical Summary
Traditional interactive application task configuration involves a large number of tasks and requires consideration of overall difficulty, types and quantities of interactive objects, resulting in low configuration efficiency.
By identifying the target interactive application scenario, and based on the number of operable objects and the task difficulty level, the distribution of interactive objects is dynamically configured to optimize the task success or failure conditions and improve task configuration efficiency.
Dynamic task configuration based on task difficulty level and the number of operable objects has been implemented, improving task configuration efficiency.
Smart Images

Figure CN116726503B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an interactive application task configuration method, apparatus, computer device, and storage medium. Background Technology
[0002] With the development of computer technology, interactive applications have become an increasingly common form of entertainment. Common interactive applications include task-based applications, such as level-based games. Task-based interactive applications consist of multiple tasks, requiring a large number of tasks for players to experience, thus placing high demands on the number of tasks. For example, common task-based interactive applications include strategy games, which are turn-based, role-playing strategy games where players move characters on a grid-based map to engage in combat. Because these games resemble playing chess, they are called turn-based strategy games.
[0003] In traditional technologies, when configuring tasks in interactive applications, the tasks in task-based interactive applications are all designed and implemented in advance by the developers.
[0004] However, traditional methods suffer from low task configuration efficiency because task-based interactive applications require a large number of tasks, and the overall difficulty of the tasks, the types of interactive objects, the number of interactive objects, and the combination of interactive objects must be considered when configuring interactive application tasks. Summary of the Invention
[0005] Therefore, it is necessary to provide an interactive application task configuration method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve task configuration efficiency in response to the above-mentioned technical problems.
[0006] Firstly, this application provides a method for configuring interactive application tasks. The method includes:
[0007] Identify target interactive application scenarios that match the task difficulty level of the target interactive application task;
[0008] Based on the number of operable objects participating in the target interactive application task, the initial position of each operable object in the target interactive application scenario is determined.
[0009] Based on the initial position of each operable object and the interaction object parameters that match the task difficulty level, determine the distribution of interaction objects in the target interactive application scenario.
[0010] Based on the task's success or failure conditions, the initial positions of operable objects, and the distribution of interactive objects, which are consistent with the task's difficulty level and adapted to the target interactive application scenario, the task configuration result of the target interactive application task is determined.
[0011] Secondly, this application also provides an interactive application task configuration device. The device includes:
[0012] The scenario determination module is used to determine the target interactive application scenario that matches the task difficulty level of the target interactive application task;
[0013] The location determination module is used to determine the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task.
[0014] The interactive object distribution module is used to determine the distribution of interactive objects in the target interactive application scenario according to the initial position of each operable object and the interactive object parameters that match the task difficulty level.
[0015] The processing module is used to determine the task configuration result of the target interactive application task based on the task's success or failure conditions, the initial position of operable objects, and the distribution of interactive objects, which are consistent with the task difficulty level and adapted to the target interactive application scenario.
[0016] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0017] Identify target interactive application scenarios that match the task difficulty level of the target interactive application task;
[0018] Based on the number of operable objects participating in the target interactive application task, the initial position of each operable object in the target interactive application scenario is determined.
[0019] Based on the initial position of each operable object and the interaction object parameters that match the task difficulty level, determine the distribution of interaction objects in the target interactive application scenario.
[0020] Based on the task's success or failure conditions, the initial positions of operable objects, and the distribution of interactive objects, which are consistent with the task's difficulty level and adapted to the target interactive application scenario, the task configuration result of the target interactive application task is determined.
[0021] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0022] Identify target interactive application scenarios that match the task difficulty level of the target interactive application task;
[0023] Based on the number of operable objects participating in the target interactive application task, the initial position of each operable object in the target interactive application scenario is determined.
[0024] Based on the initial position of each operable object and the interaction object parameters that match the task difficulty level, determine the distribution of interaction objects in the target interactive application scenario.
[0025] Based on the task's success or failure conditions, the initial positions of operable objects, and the distribution of interactive objects, which are consistent with the task's difficulty level and adapted to the target interactive application scenario, the task configuration result of the target interactive application task is determined.
[0026] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0027] Identify target interactive application scenarios that match the task difficulty level of the target interactive application task;
[0028] Based on the number of operable objects participating in the target interactive application task, the initial position of each operable object in the target interactive application scenario is determined.
[0029] Based on the initial position of each operable object and the interaction object parameters that match the task difficulty level, determine the distribution of interaction objects in the target interactive application scenario.
[0030] Based on the task's success or failure conditions, the initial positions of operable objects, and the distribution of interactive objects, which are consistent with the task's difficulty level and adapted to the target interactive application scenario, the task configuration result of the target interactive application task is determined.
[0031] The aforementioned interactive application task configuration method, apparatus, computer equipment, storage medium, and computer program product, by determining a target interactive application scenario that matches the task difficulty level of the target interactive application task, and based on the number of operable objects participating in the target interactive application task, determine the initial position of each operable object in the target interactive application scenario, can determine the distribution of interactive objects in the target interactive application scenario according to the initial position of each operable object and the interactive object parameters that match the task difficulty level, and further can determine the task configuration result of the target interactive application task based on the task success / loss conditions that match the task difficulty level and are adapted to the target interactive application scenario, the initial positions of the operable objects, and the distribution of interactive objects. The entire process can dynamically configure the task based on the task difficulty level of the target interactive application task and the number of operable objects participating in the target interactive application task, thereby improving task configuration efficiency. Attached Figure Description
[0032] Figure 1 This is an application environment diagram of an interactive application task configuration method in one embodiment;
[0033] Figure 2 This is a schematic diagram of a target interactive application task in one embodiment;
[0034] Figure 3 This is a schematic diagram of the target interactive application task in another embodiment;
[0035] Figure 4 This is a flowchart illustrating an interactive application task configuration method in one embodiment;
[0036] Figure 5 This is a flowchart illustrating the process of selecting the success conditions for a task in one embodiment.
[0037] Figure 6 This is a schematic diagram illustrating the win / loss conditions for a task in one embodiment;
[0038] Figure 7 This is a schematic diagram illustrating the task victory / defeat conditions in another embodiment;
[0039] Figure 8 This is a flowchart illustrating the process of determining the initial position of each operable object in a target interactive application scenario in one embodiment.
[0040] Figure 9 This is a flowchart illustrating the process of determining the location of each initial region in one embodiment.
[0041] Figure 10 This is a flowchart illustrating the process of determining the location of interactive objects in each round within the difficulty level of each interactive object in one embodiment.
[0042] Figure 11 This is a flowchart illustrating the process of determining the distribution of interactive objects in a target interactive application scenario in one embodiment.
[0043] Figure 12 This is a schematic diagram of interactive application task events in one embodiment;
[0044] Figure 13 This is a schematic diagram of interactive application task events in another embodiment;
[0045] Figure 14 This is a flowchart illustrating the process of filtering target task events in one embodiment;
[0046] Figure 15 This is a flowchart illustrating the interactive application task configuration method in another embodiment;
[0047] Figure 16This is a flowchart illustrating the interactive application task configuration method in yet another embodiment;
[0048] Figure 17 This is a structural block diagram of an interactive application task configuration device in one embodiment;
[0049] Figure 18 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0051] The interactive application task configuration method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed in the cloud or on other servers. Server 104 determines a target interactive application scenario that matches the task difficulty level of the target interactive application task. Based on the number of operable objects participating in the target interactive application task, it determines the initial position of each operable object in the target interactive application scenario. According to the initial position of each operable object and the interactive object parameters matching the task difficulty level, it determines the distribution of interactive objects in the target interactive application scenario. Based on the task success / failure conditions that match the task difficulty level and are suitable for the target interactive application scenario, the initial positions of the operable objects, and the distribution of interactive objects, it determines the task configuration result of the target interactive application task and pushes the target interactive application task to terminal 102 according to the task configuration result. Terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, portable wearable devices, and aircraft, etc. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers, or it can be a node on a blockchain.
[0052] For example, a diagram illustrating the target interactive application task can be as follows: Figure 2 As shown in the figure, and further illustrated by an example, a schematic diagram of the target interactive application task can be as follows: Figure 3 As shown, it should be noted that the schematic diagram of the target interactive application task here only marks the initial position of the operable objects and the distribution of interactive objects.
[0053] In one embodiment, such as Figure 4 As shown, an interactive application task configuration method is provided, which is applied to... Figure 1 Taking server 104 as an example, the following steps are included:
[0054] Step 402: Determine the target interactive application scenario that matches the task difficulty level of the target interactive application task.
[0055] The target interactive application task refers to the interactive application task to be configured. For example, an interactive application could specifically be a game, and a task could specifically be a level within the game; therefore, the target interactive application task refers to the game level to be configured. The task difficulty level is used to characterize the difficulty of the interactive application task and can be preset as needed. An interactive application scenario can generally be understood as recreating available elements such as buildings, trees, sky, and roads in the interactive application according to the project requirements. For example, an interactive application scenario could be a desert. Another example is a mountainous area. Yet another example is an outdoor environment. The target interactive application scenario refers to the configured interactive application scenario of the target interactive application task.
[0056] Specifically, when configuring interactive application tasks, the server determines the target interactive application task to be configured and its difficulty level, and then determines a matching target interactive application scenario based on the difficulty level. Further, when determining the matching target interactive application scenario based on the difficulty level, the server first identifies candidate interactive application scenarios that can participate in the target interactive application task configuration, and then randomly selects an interactive application scenario from these candidate scenarios as the target interactive application scenario. The server pre-configures the interactive application scenarios and determines the candidate interactive application scenarios that can participate in the target interactive application task configuration.
[0057] Step 404: Based on the number of operable objects participating in the target interactive application task, determine the initial position of each operable object in the target interactive application scenario.
[0058] In this context, an operable object refers to an object within the target interactive application task that can be manipulated by the user's terminal. For example, an operable object could specifically refer to a player character participating in the target interactive application task. The initial location refers to the place where the operable object first appears in the target interactive application scenario. For example, the initial location could specifically refer to the spawn area of the operable object within the target interactive application scenario.
[0059] Specifically, the server determines the number of operable objects participating in the target interactive application task. Based on this number, it determines the initial number of regions in the target interactive application scenario—that is, how many regions need to be selected as the initial locations of the operable objects. After determining the number of initial regions, the server, based on the initial region number and the number of operable objects, determines the number of operable objects to be allocated to each initial region in the target interactive application task—that is, determining the number of region objects corresponding to each initial region. Then, it determines the region location corresponding to each initial region. Based on the number of region objects and the region location, it determines the initial position of each operable object in the target interactive application scenario. The number of operable objects participating in the target interactive application task can be set as needed.
[0060] Step 406: Determine the distribution of interactive objects in the target interactive application scenario based on the initial position of each operable object and the interactive object parameters that match the task difficulty level.
[0061] The interaction object parameters matching the task difficulty level include the interaction object difficulty level and the number of times the interaction object appears, corresponding to that difficulty level. The interaction object difficulty level characterizes the ease or difficulty of processing the interaction object, while the number of times the interaction object appears refers to the number of times the interaction object appears. For example, an interaction object can specifically refer to a character that appears as an operable opponent in the target interactive application task. For instance, when the interactive application task is a game level, the interaction object can specifically refer to a non-game character appearing in the target interactive application task, such as a monster. In this case, the interaction object parameters include the monster's difficulty level and the number of times the monster appears. The interaction object distribution within the target interactive application scene refers to the initial position of the interaction object within the target interactive application scene.
[0062] Specifically, the server obtains candidate interaction object parameters, filters them to select those matching the task difficulty level, and determines the interaction object difficulty level and the number of times each interaction object at each difficulty level appears. After determining the interaction object difficulty level and the number of times it appears, the server needs to determine the interaction object appearance area matching the difficulty level based on the initial position of each operable object. Then, based on the number of times and the appearance area, the server determines the interaction object appearance position in each round of each difficulty level. Based on the interaction object appearance positions in each round, the server determines the interaction object distribution within the target interactive application scenario.
[0063] Here, candidate interaction object parameters refer to the pre-defined correspondence between task difficulty, interaction object difficulty level, and the number of times the interaction object appears. Different task difficulties correspond to different interaction object difficulty levels and interaction object appearance rounds. Therefore, when determining the interaction object parameters that match the task difficulty level, the server needs to filter out the interaction object parameters that match the task difficulty level from the candidate interaction object parameters. Furthermore, if at least two combinations of interaction object difficulty levels and interaction object appearance rounds that match the task difficulty level can be selected from the candidate interaction object parameters, the server can randomly select one of the at least two combinations as the interaction object parameter that matches the task difficulty level.
[0064] For example, when the interaction object is a monster in the game (i.e., a non-game character), the specific parameters of the candidate interaction object can be shown in Table 1. In this table, different task difficulty levels correspond to different monster difficulty levels and the number of monster appearance rounds. 2-3, 0-1, etc. represent the range of monster appearance rounds, and 0 means that the monster does not appear under the task difficulty.
[0065] Table 1
[0066] Mission Difficulty Level Monster Difficulty Level 1 Monster Difficulty Level 2 Monster difficulty level 3 Quest Level 1 2-3 0-1 0 Quest Level 2 2-3 1-2 0 Quest Level 3 1-2 1-3 0-1 Quest Level 4 1-2 2-3 1-2
[0067] Step 408: Based on the task win / loss conditions that meet the task difficulty level and are compatible with the target interactive application scenario, the initial position of the operable objects, and the distribution of interactive objects, determine the task configuration result of the target interactive application task.
[0068] The task victory / defeat conditions include victory conditions and failure conditions. A victory condition is the condition for achieving victory in the target interactive application task, while a failure condition is the condition for failing to achieve victory. For example, a specific victory condition could be defeating all interactive objects. Another example is defeating a specific interactive object. Yet another example is a specific character in the target interactive application task reaching a specific location. The task configuration result refers to the configuration result of the target interactive application task, including the configuration parameters, namely the victory / defeat conditions, the initial positions of operable objects, and the distribution of interactive objects.
[0069] Specifically, the server first needs to determine the interactive application task conditions that match the target interactive application task, that is, the interactive application task conditions that can be used in the target interactive application task. Then, from the interactive application task conditions, it selects the task victory conditions and task failure conditions that meet the task difficulty level and are suitable for the target interactive application scenario. Finally, based on the task victory and defeat conditions that meet the task difficulty level and are suitable for the target interactive application scenario, the initial position of the operable objects, and the distribution of interactive objects, the task configuration result of the target interactive application task is obtained.
[0070] The aforementioned interactive application task configuration method determines a target interactive application scenario that matches the task difficulty level of the target interactive application task. Based on the number of operable objects participating in the target interactive application task, it determines the initial position of each operable object in the target interactive application scenario. According to the initial position of each operable object and the interactive object parameters that match the task difficulty level, it determines the distribution of interactive objects in the target interactive application scenario. Then, based on the task win / loss conditions that match the task difficulty level and are suitable for the target interactive application scenario, the initial positions of operable objects, and the distribution of interactive objects, it determines the task configuration result of the target interactive application task. The entire process can dynamically configure tasks based on the task difficulty level of the target interactive application task and the number of operable objects participating in the target interactive application task, thereby improving task configuration efficiency.
[0071] In one embodiment, the task success / failure conditions include task success conditions and task failure conditions, and the interactive application task configuration method further includes:
[0072] Determine the interactive application task conditions that match the target interactive application task;
[0073] From the interactive application task conditions, select the task success conditions and task failure conditions that meet the task difficulty level and are suitable for the target interactive application scenario.
[0074] Among them, the success conditions and failure conditions of the mission are mutually exclusive.
[0075] Interactive application task conditions refer to the pre-set win / loss determination conditions in interactive application tasks, used to determine the outcome of the task. When pre-setting interactive application task conditions, parameters such as condition type, win / loss application, mutual exclusion pairing, scene tags, special settings, task difficulty limits, and matching difficulty correction need to be configured. Condition type describes the conditions for determining win / loss; for example, it can include defeating all interactive objects, defeating a specific interactive object, or a specific object in the target interactive application task reaching a specific position. Win / loss application restricts the application scenario of the interactive application task condition, i.e., whether it can be used as a task victory condition or a task failure condition. Mutually exclusive pairing refers to the pre-configured interactive application task conditions that are mutually exclusive with this interactive application task condition; that is, when this interactive application task condition is used as a task victory condition, which types of interactive application task conditions cannot be used as task failure conditions.
[0076] For example, when the task victory condition is to defeat all interactive objects, the mutually exclusive task failure condition can be failing to defeat all interactive objects. Scene tags are used to label the interactive application scenarios that match the task conditions, thus limiting the interactive application scenarios that match the task conditions. For example, scene tags could specifically be desert scenes, seaside scenes, etc.
[0077] Special settings refer to additional mechanisms generated in the interactive application task configuration based on the condition type. For example, when the condition type is "defeat a specified interactive object," the special setting could be to select a target from the interactive objects appearing in the target interactive application task as the condition judgment object. Similarly, when the condition type is "a specified object in the target interactive application task reaches a specified location," the special setting could be to select a target from the interactive objects in the target interactive application task as the condition judgment object, and simultaneously select a specified area as the arrival location. Task difficulty restrictions limit the level of task difficulty at which interactive application task conditions can be used. It should be noted that the correspondence between interactive application task conditions and task difficulty levels can be many-to-many. Matching difficulty correction refers to adjusting the maximum number of rounds in an interactive application task based on the preset base number of rounds, under the task difficulty level. For example, the correction method could be to reduce the task difficulty level of high-difficulty tasks and increase the task difficulty level of low-difficulty tasks.
[0078] Specifically, the server determines the interactive application task conditions that match the target interactive application task, i.e., the selectable win / loss determination conditions. Then, from the interactive application task conditions, it first filters out candidate interactive application task conditions that meet the task difficulty level. Then, based on the win / loss application, it randomly selects a win condition from the candidate interactive application task conditions that can be applied to the task victory. It then judges whether the randomly selected win condition is suitable for the target interactive application scenario. If the randomly selected win condition is suitable for the target interactive application scenario, it determines the selected win condition as the task victory condition.
[0079] Specifically, after selecting the task victory condition, the server will randomly select a failure condition from the candidate interactive application task conditions that can be applied to the task failure based on the victory and defeat application. It will determine whether the randomly selected failure condition is compatible with the target interactive application scenario and mutually exclusive with the task victory condition. If the randomly selected failure condition is compatible with the target interactive application scenario and mutually exclusive with the task victory condition, the selected failure condition will be determined as the task failure condition.
[0080] In this embodiment, by first determining the interactive application task conditions that match the target interactive application task, it is possible to filter out the task success conditions and task failure conditions that meet the task difficulty level and are suitable for the target interactive application scenario from the interactive application task conditions.
[0081] In one embodiment, selecting task victory conditions from interactive application task conditions that meet the task difficulty level and are suitable for the target interactive application scenario includes:
[0082] Filter out candidate interactive application task conditions that meet the task difficulty level from the interactive application task conditions;
[0083] When a victory condition randomly selected from candidate interactive application task conditions is suitable for the target interactive application scenario, the selected victory condition is determined as the task victory condition.
[0084] When a failure condition randomly selected from candidate interactive application task conditions is compatible with the target interactive application scenario and mutually exclusive with the task success condition, the selected failure condition is determined as the task failure condition.
[0085] Specifically, the server filters candidate interactive application task conditions from the interactive application task conditions based on the task difficulty level. Then, based on the win / loss application, it randomly selects a victory condition from the candidate interactive application task conditions that can be applied to the task victory. It then determines whether the randomly selected victory condition is suitable for the target interactive application scenario, i.e., whether it meets the scenario requirements. If the randomly selected victory condition is suitable for the target interactive application scenario, it is determined as the task victory condition. After selecting the task victory condition, the server randomly selects a failure condition from the candidate interactive application task conditions that can be applied to the task failure, based on the win / loss application. It then determines whether the randomly selected failure condition is suitable for the target interactive application scenario and mutually exclusive with the task victory condition, i.e., it meets the victory condition restrictions. If the randomly selected failure condition is suitable for the target interactive application scenario and mutually exclusive with the task victory condition, it is determined as the task failure condition. For example, a flowchart illustrating the process of filtering task victory conditions from interactive application task conditions that meet the task difficulty level and are suitable for the target interactive application scenario can be shown below. Figure 5 As shown in the image. To further illustrate, the specific conditions for winning or losing the task are as follows: Figure 6 and Figure 7 As shown, in Figure 6 In this game, the victory condition is to defeat all enemies (i.e., interactive objects), and the defeat condition is that all of your side (i.e., the playable objects) are defeated. Figure 7 In this game, the victory condition is that any character (i.e., a playable or interactive object) reaches the destination / defeats all enemies (i.e., interactive objects), and the defeat condition is that all of our characters (i.e., playable objects) are defeated.
[0086] In this embodiment, by filtering out candidate interactive application task conditions that meet the difficulty level of the interactive application task from the interactive application task conditions, it is possible to select task victory conditions that are compatible with the target interactive application scenario, as well as task failure conditions that are compatible with the target interactive application scenario and mutually exclusive with the task victory conditions.
[0087] In one embodiment, determining the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task includes:
[0088] The number of initial areas in the target interactive application scenario is determined based on the number of operable objects participating in the target interactive application task.
[0089] Based on the number of initial regions and the number of operable objects, determine the number of region objects corresponding to each initial region.
[0090] Based on the initial number of regions and the region division parameters that match the target interactive application scenario, determine the region location corresponding to each initial region;
[0091] Based on the number of objects in the region and the location of the region, determine the initial position of each operable object in the target interactive application scenario.
[0092] The initial number of regions refers to the number of regions where operable objects first appear. The number of region objects corresponding to each initial region refers to the number of operable objects appearing within that initial region. Region division parameters are parameters used to categorize different locations within the target interactive application scenario. For example, region division parameters can be location parameters, i.e., whether the divided location is an edge region or a center region. Alternatively, region division parameters can be movement parameters, i.e., whether the divided location is a movable region of an interactive object or an operable object. For instance, different locations within the target interactive application scenario can refer to grid tiles within the target interactive application scenario, which can be divided into multiple grid tiles. The region position corresponding to each initial region refers to the initial position of that initial region within the target interactive application scenario.
[0093] Specifically, the server first determines the number of initial regions in the target interactive application scenario based on the number of operable objects participating in the target interactive application task. Then, based on the number of initial regions and the number of operable objects, it determines the number of operable objects that need to be allocated to each initial region at the start of the target interactive application task—that is, the number of region objects corresponding to each initial region. Next, based on the number of initial regions and the region division parameters matching the target interactive application scenario, it determines the region position corresponding to each initial region. Finally, based on the number of region objects and their regions, it determines the initial position of each operable object in the target interactive application scenario. For example, a flowchart illustrating the process of determining the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task can be shown as follows: Figure 8 As shown, the birth area is the initial area, the role is the operable object, and the specific birth position is the initial position of each operable object in the target interactive application scenario.
[0094] Specifically, when determining the initial number of regions in the target interactive application scenario based on the number of operable objects participating in the target interactive application task, the server first determines the maximum number of initial regions based on the number of operable objects participating in the target interactive application task. Then, it randomly selects a region number value from the preset minimum initial region number and the maximum initial region number as the initial region number. The preset minimum initial region number can be set as needed; for example, the preset minimum initial region number can be 1. The calculation formula for the maximum initial region number can also be set as needed; for example, the calculation formula for the maximum initial region number can be N. max = int(m / 2), where m is the number of operable objects participating in the target interactive application task.
[0095] Specifically, when determining the number of objects in each initial region based on the number of initial regions and the number of operable objects, the server first allocates one operable object to each initial region to ensure that each initial region has operable objects. Then, it randomly allocates the remaining operable objects to initial regions in turn. The number of random objects in the initial region to which the objects are randomly allocated increases by 1. After the random allocation is completed, the difference between the number of random objects in the initial region with the most random objects and the number of random objects in the initial region with the fewest random objects is calculated. If the difference in the number of random objects is greater than a pre-set threshold for the difference in the number of objects, some operable objects in the initial region with the most random objects are transferred to the initial region with the fewest random objects. The formula for calculating the number of operable objects transferred can be num = num(max) - num(min) - n, where num(max) is the maximum number of random objects, num(min) is the minimum number of random objects, and n is the threshold for the difference in the number of objects minus 1.
[0096] Specifically, when determining the location of each initial region based on the initial number of regions and the region division parameters matching the target interactive application scenario, if the initial number of regions is 1, the server will randomly select any location in the target interactive application scenario as the location corresponding to the initial region. If the initial number of regions is at least two, the server will select the location corresponding to the initial region from the locations belonging to the edge regions in the target interactive application scenario according to the region division parameters matching the target interactive application scenario.
[0097] Furthermore, when selecting the region location corresponding to the initial region from the locations belonging to the edge regions in the target interactive application scenario, the server first randomly selects a location from all locations belonging to the edge regions as the region location corresponding to an initial region. Then, based on this region location corresponding to an initial region, it determines the region locations corresponding to other initial regions. For other initial regions, the server needs to determine the distance between the selected candidate locations and other determined region locations, ensuring that the distance is not less than a preset first distance threshold. The preset first distance threshold can be set as needed; for example, the formula for determining the preset first distance threshold could be: D = 3 * dis, where dis is the baseline movement force of the operable object within the target interactive application task.
[0098] For example, a flowchart illustrating how to determine the location of each initial region based on the initial number of regions and region division parameters matching the target interactive application scenario can be shown as follows: Figure 9 As shown, the initial region is the birth region, the region location is the birth location, and the determined location is the determined region location. If there is only one birth region, the server will randomly select either an edge region or a central region as the birth location corresponding to the birth region, i.e., randomly select any location in the target interactive application scenario as the birth location corresponding to the birth region. If there are at least two birth regions, the server will first randomly select one location from all locations belonging to the edge region as the region location corresponding to one initial region, i.e., select one location as the first birth location, and then continue to randomly select locations as birth locations corresponding to other birth regions. During the random selection process, the server will determine whether the interval between the randomly selected candidate locations and other determined locations meets the requirements, i.e., whether the interval distance is not less than a preset first distance threshold. If there are still birth regions with undetermined birth locations, the server will continue to randomly select candidate locations until the birth location corresponding to each birth region is determined.
[0099] Specifically, when determining the initial position of each operable object in the target interactive application scenario based on the number and location of the regional objects, if the number of regional objects is 1, then the regional location corresponding to that initial region is taken as the initial position of the operable object in the target interactive application scenario. If the number of regional objects is at least two, then after determining the regional location corresponding to that initial region as the initial position of an operable object in the target interactive application scenario, a location is randomly selected from the grid range of 1 to dis-1 based on the number of regional objects as the initial position of the operable object in the target interactive application scenario, until the number of selected locations matches the number of regional objects, thus obtaining the initial position of each operable object in the target interactive application scenario, where dis is the baseline movement force of the operable object within the target interactive application task.
[0100] In this embodiment, the number of initial regions in the target interactive application scenario is determined based on the number of operable objects participating in the target interactive application task. Based on the number of initial regions and the number of operable objects, the number of region objects corresponding to each initial region can be determined. Then, based on the number of initial regions and the region division parameters that match the target interactive application scenario, the region position corresponding to each initial region can be determined. Using the number of region objects and the region position, the initial position of each operable object in the target interactive application scenario can be determined.
[0101] In one embodiment, determining the distribution of interactive objects in the target interactive application scenario, based on the initial position of each operable object and the interactive object parameters matching the task difficulty level, includes:
[0102] Based on the interaction object parameters that match the task difficulty level, determine the interaction object difficulty level and the number of times the interaction object that matches the interaction object difficulty level appears.
[0103] Based on the initial position of each operable object, determine the area where interactive objects appear that match the difficulty level of the interactive objects;
[0104] Based on the round in which the interactive object appears and the area where the interactive object appears, determine the location of the interactive object in each round within the difficulty level of each interactive object;
[0105] Based on the candidate interactive objects that match the target interactive application scenario and the location of the interactive objects in each round, the distribution of interactive objects in the target interactive application scenario is determined.
[0106] Specifically, the server determines the difficulty level of each interactive object and the number of times it appears, based on the parameters of the interactive objects that match the task's difficulty level. After determining the difficulty level and the number of times each interactive object appears, the server needs to determine the appearance area of each interactive object, based on the initial position of each operable object. After determining the appearance area, starting with the lowest difficulty level, the server determines the appearance position of each interactive object in each round within each difficulty level, based on the number of appearances and the appearance area. Finally, based on the candidate interactive objects that fit the target interactive application scenario and the appearance positions of each interactive object in each round, the server determines the distribution of interactive objects within the target interactive application scenario.
[0107] Specifically, when determining the area where interactive objects appear that matches the difficulty level of each operable object based on its initial position, the server uses pre-defined rules for selecting this area. These rules specify the required distance between the initial position of each interactive object and its difficulty level. For example, when there are three difficulty levels, the rules might be: Level 1 interactive objects should be 1 to 2 times *dis* from their initial position; Level 2 interactive objects should be 1 to 4 times *dis*; and Level 3 interactive objects should be at least 2 times *dis*. Here, *dis* represents the baseline movement force of the operable object within the target interactive application task.
[0108] Starting with the lowest difficulty level of interactive objects, the server determines the appearance position of interactive objects in each round within each difficulty level based on the rounds and appearance areas of the interactive objects. For the lowest difficulty level, the server randomly selects one position from the corresponding appearance area of interactive objects. It then checks if there are at least two rounds of interactive objects at the lowest difficulty level. If not, the appearance position of the interactive objects at the lowest difficulty level is obtained, and the server checks if there are interactive objects for the next difficulty level to further determine the distribution of interactive objects for the next difficulty level in the target interactive application scenario. If so, another position is randomly selected from the corresponding appearance area of interactive objects at the lowest difficulty level as a candidate appearance position. If the distance between the candidate appearance position and the determined appearance position meets a preset second distance threshold, the candidate appearance position is determined as the interactive object appearance area. This process continues until an interactive object appearance area matching the number of rounds is obtained, thus obtaining the appearance position of interactive objects in each round of interactive objects at the lowest difficulty level. The process then continues to determine the appearance position of interactive objects in each round of interactive objects at the next difficulty level. The preset second distance threshold can be set as needed. This embodiment does not make specific limitations here. Specifically, the preset second distance threshold can be 2dis. The method for determining the location of the interactive object in each round of the next difficulty level is similar to that of the lowest difficulty level, and will not be described here.
[0109] For example, a flowchart illustrating the process of determining the location of interactive objects in each round within the difficulty level of each interactive object can be shown as follows: Figure 10As shown, the interactive object is a monster appearing in the game (i.e., a non-game character). The server first filters the spawnable areas at each level, that is, determines the areas where interactive objects appear that match the difficulty level of the interactive object. From the areas where interactive objects appear that match level 1 (i.e., the lowest difficulty level), the first monster spawn point is randomly selected. Then it is determined whether there are multiple level 1 areas (i.e., whether there are at least two rounds of interactive objects). If not, it continues to determine whether there are monsters of the next difficulty level. If not, the monster spawn point is determined (i.e., the location where the interactive object appears in each round of interactive objects at each difficulty level). If multiple Level 1 areas exist, continue to randomly select a spawn point (i.e., continue to randomly select one location from the interaction object appearance area that matches the lowest difficulty level as a candidate appearance location). Determine whether the distance between the selected spawn point and the determined spawn point is sufficient (i.e., determine whether the distance between the candidate appearance location and the determined interaction object appearance location meets the preset second distance threshold). If yes, determine the spawn point (i.e. determine the candidate appearance location as the interaction object appearance area). If not, continue to randomly select a spawn point until an interaction object appearance area matching the number of rounds is obtained. Obtain the interaction object appearance location for each round of interaction objects in the lowest difficulty level, and continue to determine the interaction object appearance location for each round of interaction objects in the next difficulty level.
[0110] In this embodiment, the difficulty level and the number of times the interactive object appears are determined based on the interactive object parameters that match the task difficulty level. The appearance area of the interactive object matching the difficulty level is determined according to the initial position of each operable object. Based on the number of times the interactive object appears and the appearance area, the role of the interactive object in each round of each interactive object difficulty level can be determined. Then, based on the candidate interactive objects that conform to the target interactive application scenario and the appearance position of the interactive objects in each round, the distribution of interactive objects in the target interactive application scenario is determined.
[0111] In one embodiment, determining the distribution of interactive objects in the target interactive application scenario based on candidate interactive objects that conform to the target interactive application scenario and the appearance position of interactive objects in each round includes:
[0112] Based on the difficulty level of the interaction object matched with the interaction object in each round, determine the number of each type of interaction object matched with the interaction object in each round.
[0113] Based on the number of each type of interactive object in each round and the location where the interactive objects appear in each round, determine the target birth area corresponding to each interactive object in each round;
[0114] Based on the number of each type of interactive object in each round, select the target interactive object that matches the number of interactive objects in each round from the candidate interactive objects that meet the target interactive application scenario;
[0115] Based on the target birth region and target interaction object corresponding to each interaction object, determine the distribution of interaction objects in the target interaction application scenario.
[0116] Among them, the candidate interactive objects that match the target interactive application scenario refer to interactive objects that are suitable for the target interactive application scenario and whose difficulty level is matched. Different types of interactive objects refer to interactive objects with varying degrees of difficulty in defeating them.
[0117] Specifically, based on the difficulty level of the interactive objects matched in each round, the server can determine the number of each type of interactive object that matches each round. It should be noted that the number of each type of interactive object matched for different difficulty levels is not entirely the same. After determining the number of each type of interactive object, the server will randomly select a corresponding number of locations within a preset distance range, centered on the location where the interactive objects appear in each round, as the target birth area for each interactive object in that round. Then, based on the number of each type of interactive object in each round, the server will randomly select target interactive objects matching the number of interactive objects in each round from the candidate interactive objects that conform to the target interactive application scenario. This establishes a one-to-one correspondence between the target birth area for each interactive object and the target interactive objects, determining the distribution of interactive objects in the target interactive application scenario.
[0118] For example, when the interaction object is a monster in the game (i.e. a non-game character), the relationship between the number of each type of interaction object matched with different difficulty levels of the interaction object can be shown in Table 2. Here, it is assumed that each type of interaction object includes level 1 monsters (normal), level 2 monsters (elite), and level 3 monsters (BOSS (powerful non-game character)). As the level increases, the difficulty of defeating the character increases accordingly. The number range of 2-3 represents the range of the number of monsters.
[0119] Table 2
[0120] Monster Difficulty Level ordinary Elite Boss Level 1 2-3 0-1 0 Level 2 2-3 1-2 0 Level 3 1-2 1-3 0-1
[0121] The preset distance range can be set as needed; for example, it can be dis-1. When randomly selecting target interactive objects from the candidate interactive objects that match the number of interactive objects in each round, a selection without replacement can be used to ensure that interactive objects are not repeated as much as possible. If all candidate interactive objects that match the target interactive application scenario have been selected once, random selection is performed again from the entire range without replacement until the number of selected objects matches the number of interactive objects in each round. When establishing the target birth area corresponding to each interactive object and the one-to-one correspondence between target interactive objects, for each target interactive object determined, an empty position (i.e., a position where no target interactive object has been placed yet) can be randomly selected in the target birth area to place the target interactive object. When the random selection is completed, the correspondence is also established.
[0122] For example, a flowchart illustrating the process of determining the distribution of interactive objects in a target interactive application scenario can be shown as follows: Figure 11 As shown, the interactive objects are monsters appearing in the game (i.e., non-game characters). For each round, the server first determines the number of monsters in this wave that match the monsters of this round (i.e., the number of interactive objects of each type). Centered on the location where the interactive objects that match the monsters of this round appear, the server determines the specific spawn location (i.e., the target spawn area) of each monster in this round. Then, the server randomly selects target interactive objects that match the number of interactive objects in each round from the candidate interactive objects that meet the target interactive application scenario, based on the number of interactive objects of each type in each round, and establishes a one-to-one correspondence between the target spawn area and the target interactive object. The server then determines whether there are any undetermined waves (i.e., whether there is a next round), until the distribution of monsters in the target interactive application scenario for all rounds is determined.
[0123] Furthermore, if there are special settings in the task's victory or defeat conditions, the server can also assign special roles to the interactive objects based on these settings. For example, when the special setting is to select a target from among the interactive objects appearing in the target interactive application task as the condition judgment object, the server can mark any target interactive object as the target. It should be noted that in this case, interactive objects with higher difficulty levels can be prioritized as targets. Another example is when the special setting is to defeat a specified number of targets in the target interactive application task, the server can select the corresponding number of target interactive objects in the target interactive application scenario as targets. Yet another example is when the special setting is to select a target from among the interactive objects in the target interactive application task as the condition judgment object, and simultaneously select a specified area as the arrival location, the server can randomly select a target interactive object in the target interactive application scenario as the target, and generate an arrival point at least 4 seconds away from the target.
[0124] In this embodiment, by determining the number of each type of interactive object that matches the difficulty level of the interactive object in each round, the target birth area corresponding to each interactive object in each round can be determined using the number of each type of interactive object and the appearance location of the interactive objects in each round. Then, based on the number of each type of interactive object, target interactive objects matching the number of interactive objects in each round can be selected from the candidate interactive objects that meet the target interactive application scenario. Using the target birth area corresponding to each interactive object and the target interactive object, the distribution of interactive objects in the target interactive application scenario can be determined.
[0125] In one embodiment, the interactive application task configuration method further includes:
[0126] Determine the interactive application task events that match the task difficulty level, as well as the number and intensity conditions of events that meet the task difficulty level;
[0127] Filter target task events from interactive application task events that meet the conditions of event quantity, event intensity, and event constraints;
[0128] Based on the task's success or failure conditions, the initial positions of operable objects, and the distribution of interactive objects, which are consistent with the task's difficulty level and adapted to the target interactive application scenario, the task configuration results for the target interactive application task are determined as follows:
[0129] Based on the task's success or failure conditions that match the task difficulty level and are compatible with the target interactive application scenario, the initial positions of operable objects, the distribution of interactive objects, and the target task events, the task configuration result of the target interactive application task is determined.
[0130] Interactive application task events refer to events that, upon entering an interactive application task, imbue specific characters within the target interactive application scenario with special abilities, triggering designated effects when certain conditions are met. These specific characters may be operable objects, interactive objects, or all or some characters. Interactive application task events are pre-set, primarily by configuring event parameters. These parameters can include: 1. Who can trigger the event within the interactive application task—is it an operable object or an interactive object, and are attributes such as gender specified? 2. What are the event triggering conditions, such as triggering upon the end of the Xth rendezvous, or triggering upon the defeat of the triggerer? 3. What is the event triggering effect, such as causing damage or increasing reinforcements? 4. The number of times the event can be triggered—how many times within the interactive application task. For example, an interactive application task event can be... Figure 12 and Figure 13As shown in the constraints, it applies to the enemy, and the variability of interactive application tasks can be further enhanced through interactive application task events.
[0131] The event quantity condition refers to the required number of events that must be met for the interactive application tasks occurring in the target interactive application task. For example, the event quantity condition could be a maximum event quantity of X, where X is a pre-set event quantity. The event intensity condition refers to the required event intensity of the interactive application tasks occurring in the target interactive application task, i.e., the total event intensity requirement. For example, the event intensity condition could be a total event intensity of Y, where Y is a pre-set total event intensity. Event intensity refers to the strength of the impact caused by a single event. Event constraint conditions refer to specific conditions that interactive objects in the target interactive application scenario must meet. For example, for the interactive application task event "Attack range +1 grid for shooting-type interactive objects," it is necessary to restrict the presence of shooting-type interactive objects in the target interactive application scenario.
[0132] Specifically, the server first determines the interactive application task events that match the task difficulty level. These are the selectable interactive application task events, along with the quantity and intensity conditions that meet the task difficulty level. When determining the quantity and intensity conditions of events matching the task difficulty level, the server can query a pre-set difficulty level-event quantity-event intensity relationship table. Using this table, the server determines the number and intensity of events matching the task difficulty level, and then, based on these matching events, determines the quantity and intensity conditions that meet the task difficulty level.
[0133] For example, the relationship table between difficulty level, number of events, and event intensity can be shown in Table 3. The numerical ranges such as 1-2, 2-3, and 3-5 represent the range of total event intensity. Under the task difficulty level, any value in the range of total event intensity can be randomly selected as the total event intensity.
[0134] Table 3
[0135] Mission Difficulty Level Event quantity limit Total intensity of events Quest Level 1 0 0 Quest Level 2 1 1-2 Quest Level 3 2 2-3 Quest Level 4 3 3-5
[0136] Specifically, after determining the event quantity and event intensity conditions, if the event quantity condition is 0, it means there are no target task events, and the interactive application task configuration ends. The task configuration result for the target interactive application task is then determined directly based on the task win / loss conditions, the initial positions of operable objects, and the distribution of interactive objects. If the event quantity condition is 1, then one interactive application task event whose intensity matches the event intensity condition and satisfies the event constraints is randomly selected as the target task event. If the event quantity condition is X (here, X>1), then first, one interactive application task event whose intensity is less than the total event intensity and satisfies the event constraints is randomly selected as the target task event. Then, based on the remaining event quantity, another interactive application task event with intensity less than or equal to the remaining event intensity and satisfying the event constraints is randomly selected as the target task event, until the remaining event quantity is 0, thus determining all target task events for the target interactive application task. Here, the remaining event quantity is the difference between the event quantity in the event quantity condition and the number of selected events, and the remaining event intensity is the difference between the total event intensity in the event intensity condition and the sum of the event intensities of the selected events.
[0137] For example, a flowchart illustrating the process of filtering target task events from interactive application task events that meet the conditions of event quantity, event intensity, and event constraints can be shown as follows: Figure 14 As shown, in the initial screening, the remaining quantity represents the number of task events, and the remaining intensity represents the total intensity of the events. After determining the number of task events and the total intensity (i.e., the event quantity condition and the event intensity condition), the server first checks if the remaining quantity of task events is 0. If the remaining quantity is 0, the screening of target task events ends. If the remaining quantity is not 0, it further checks if the remaining quantity is 1. If the remaining quantity is 1, it screens events with intensity equal to the remaining intensity. An event is randomly selected from the screened events, and if the randomly selected event meets the event constraint condition, it is determined as the target task event. If the randomly selected event does not meet the event constraint condition, the process returns to the step of randomly selecting an event until the randomly selected event meets the event constraint condition. At this point, the remaining quantity is 0, and the screening of target task events ends. If the remaining quantity is not 1, then select events with a strength less than the remaining strength. Randomly select an event from the selected events. If the randomly selected event meets the event constraint conditions, determine the randomly selected event as the target task event. If the randomly selected event does not meet the event constraint conditions, return to the step of continuing to randomly select events until the randomly selected event meets the event constraint conditions. Then determine the target task event. At this time, continue to judge the remaining quantity and enter the corresponding steps until the remaining quantity is 0, and end the selection of target task events.
[0138] Furthermore, after receiving the target task event, the server will determine the task configuration result of the target interactive application task based on the task's success or failure conditions that match the task difficulty level and are suitable for the target interactive application scenario, the initial position of the operable objects, the distribution of interactive objects, and the target task event.
[0139] In this embodiment, by determining interactive application task events that match the task difficulty level, as well as the number of events and the intensity of events that meet the task difficulty level, target task events that meet the number of events, intensity of events, and event restrictions can be selected from the interactive application task events. Then, based on the task win / loss conditions that meet the task difficulty level and are adapted to the target interactive application scenario, the initial position of operable objects, the distribution of interactive objects, and the target task events, the task configuration result of the target interactive application task can be determined.
[0140] In one embodiment, such as Figure 15 As shown, taking the interactive object as a monster, the interactive application as a game, and the interactive application task as a game level as an example, a flowchart is used to illustrate the interactive application task configuration method of this application. The interactive application task configuration method specifically includes the following steps:
[0141] When configuring a target game level, the user first sets the level difficulty. The server then determines a target game scene that matches the level's difficulty level, identifies the win / loss conditions for the level that match the difficulty level and the target game scene, determines the initial position (spawn point) of each playable object in the target game scene based on the number of playable objects participating in the target game level, determines the monsters' positions in the target game scene based on the initial positions of each playable object and the monster parameters that match the level's difficulty level, identifies the target level events that match the level's difficulty level, and determines the level configuration result for the target game level based on the win / loss conditions that match the level's difficulty level and the target game scene, the initial positions of the playable objects, and the target level events. Finally, the target game level is generated based on the level configuration result.
[0142] In one embodiment, such as Figure 16 As shown in the diagram, the interactive application task configuration method of this application is illustrated by a flowchart. The interactive application task configuration method specifically includes the following steps:
[0143] Step 1602: Determine the target interactive application scenario that matches the task difficulty level of the target interactive application task;
[0144] Step 1604: Determine the initial number of regions in the target interactive application scenario based on the number of operable objects participating in the target interactive application task;
[0145] Step 1606: Based on the number of initial regions and the number of operable objects, determine the number of region objects corresponding to each initial region.
[0146] Step 1608: Determine the location of each initial region based on the number of initial regions and the region division parameters that match the target interactive application scenario.
[0147] Step 1610: Determine the initial position of each operable object in the target interactive application scenario based on the number and location of the area objects.
[0148] Step 1612: Based on the interaction object parameters that match the task difficulty level, determine the interaction object difficulty level and the number of times the interaction object that matches the interaction object difficulty level appears.
[0149] Step 1614: Based on the initial position of each operable object, determine the area where interactive objects appear that match the difficulty level of the interactive objects;
[0150] Step 1616: Based on the round in which the interactive object appears and the area where the interactive object appears, determine the location of the interactive object in each round within the difficulty level of each interactive object;
[0151] Step 1618: Determine the number of each type of interactive object that matches the interactive object in each round, based on the difficulty level of the interactive object that matches the interactive object in each round.
[0152] Step 1620: Based on the number of each type of interactive object in each round of interactive objects and the location where the interactive objects appear in each round of interactive objects, determine the target birth area corresponding to each interactive object in each round of interactive objects;
[0153] Step 1622: Based on the number of each type of interactive object in each round of interaction, select the target interactive object that matches the number of interactive objects in each round from the candidate interactive objects that meet the target interactive application scenario;
[0154] Step 1624: Determine the distribution of interactive objects in the target interactive application scenario based on the target birth area and target interactive object corresponding to each interactive object;
[0155] Step 1626: Determine the interactive application task conditions that match the target interactive application task;
[0156] Step 1628: Select candidate interactive application task conditions that meet the task difficulty level from the interactive application task conditions.
[0157] Step 1630: When the winning condition randomly selected from the candidate interactive application task conditions matches the target interactive application scenario, the selected winning condition is determined as the task winning condition.
[0158] Step 1632: When a failure condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario and mutually exclusive with the task success condition, the selected failure condition is determined as the task failure condition.
[0159] Step 1634: Determine the interactive application task events that match the task difficulty level, as well as the number and intensity conditions of events that meet the task difficulty level.
[0160] Step 1636: Filter out target task events from interactive application task events that meet the conditions of event quantity, event intensity, and event constraints;
[0161] Step 1638: Based on the task win / loss conditions that meet the task difficulty level and are compatible with the target interactive application scenario, the initial position of operable objects, the distribution of interactive objects, and the target task events, determine the task configuration result of the target interactive application task.
[0162] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0163] Based on the same inventive concept, this application also provides an interactive application task configuration device for implementing the interactive application task configuration method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more embodiments of the interactive application task configuration device provided below can be found in the limitations of the interactive application task configuration method described above, and will not be repeated here.
[0164] In one embodiment, such as Figure 17 As shown, an interactive application task configuration device is provided, including: a scene determination module 1702, a location determination module 1704, an interactive object distribution module 1706, and a processing module 1708, wherein:
[0165] The scenario determination module 1702 is used to determine the target interactive application scenario that matches the task difficulty level of the target interactive application task.
[0166] The location determination module 1704 is used to determine the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task.
[0167] The interactive object distribution module 1706 is used to determine the distribution of interactive objects in the target interactive application scenario according to the initial position of each operable object and the interactive object parameters that match the task difficulty level.
[0168] The processing module 1708 is used to determine the task configuration result of the target interactive application task based on the task win / loss conditions that meet the task difficulty level and are adapted to the target interactive application scenario, the initial position of the operable objects, and the distribution of interactive objects.
[0169] The aforementioned interactive application task configuration device determines a target interactive application scenario that matches the task difficulty level of the target interactive application task. Based on the number of operable objects participating in the target interactive application task, it determines the initial position of each operable object in the target interactive application scenario. According to the initial position of each operable object and the interactive object parameters that match the task difficulty level, it determines the distribution of interactive objects in the target interactive application scenario. Furthermore, based on the task win / loss conditions that match the task difficulty level and are adapted to the target interactive application scenario, the initial positions of the operable objects, and the distribution of interactive objects, it determines the task configuration result of the target interactive application task. The entire process can dynamically configure tasks based on the task difficulty level of the target interactive application task and the number of operable objects participating in the target interactive application task, thereby improving task configuration efficiency.
[0170] In one embodiment, the task success or failure conditions include task success conditions and task failure conditions. The interactive application task configuration device further includes a condition determination module, which is used to determine the interactive application task conditions that match the target interactive application task. From the interactive application task conditions, task success conditions and task failure conditions that meet the task difficulty level and are suitable for the target interactive application scenario are selected respectively. The task success conditions and task failure conditions are mutually exclusive.
[0171] In one embodiment, the condition determination module is further configured to filter candidate interactive application task conditions that meet the task difficulty level from the interactive application task conditions. When a victory condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario, the selected victory condition is determined as the task victory condition. When a failure condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario and is mutually exclusive with the task victory condition, the selected failure condition is determined as the task failure condition.
[0172] In one embodiment, the location determination module is further configured to determine the number of initial regions in the target interactive application scenario based on the number of operable objects participating in the target interactive application task; determine the number of region objects corresponding to each initial region based on the number of initial regions and the number of operable objects; determine the region location corresponding to each initial region based on the number of initial regions and the region division parameters matching the target interactive application scenario; and determine the initial location of each operable object in the target interactive application scenario based on the number of region objects and the region location.
[0173] In one embodiment, the interaction object distribution module is further configured to determine the difficulty level of the interaction object and the number of times the interaction object appears that matches the difficulty level of the task based on the interaction object parameters; determine the appearance area of the interaction object that matches the difficulty level of the interaction object based on the initial position of each operable object; determine the appearance position of the interaction object in each round of the interaction object in each difficulty level based on the number of times the interaction object appears and the appearance area of the interaction object; and determine the distribution of the interaction object in the target interaction application scenario based on the candidate interaction objects that conform to the target interaction application scenario and the appearance position of the interaction object in each round of the interaction object.
[0174] In one embodiment, the interaction object distribution module is further configured to determine the number of each type of interaction object matching each round of interaction objects based on the difficulty level of the interaction objects matched in each round of interaction objects; determine the target birth area corresponding to each interaction object in each round of interaction objects based on the number of each type of interaction objects in each round of interaction objects and the location where the interaction objects appear in each round of interaction objects; select target interaction objects matching the number of interaction objects in each round of interaction objects from the candidate interaction objects that conform to the target interaction application scenario based on the number of each type of interaction objects in each round of interaction objects; and determine the interaction object distribution of interaction objects in the target interaction application scenario based on the target birth area corresponding to each interaction object and the target interaction object.
[0175] In one embodiment, the interactive application task configuration device further includes an event determination module, which is used to determine interactive application task events that match the task difficulty level, as well as the event quantity condition and event intensity condition that meet the task difficulty level, and to filter out target task events that meet the event quantity condition, event intensity condition and event restriction condition from the interactive application task events; the processing module is also used to determine the task configuration result of the target interactive application task based on the task win / loss conditions that meet the task difficulty level and are adapted to the target interactive application scenario, the initial position of the operable object, the distribution of interactive objects and the target task events.
[0176] Each module in the aforementioned interactive application task configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0177] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 18 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data such as interactive application scenarios, interactive object parameters, and task success / failure conditions. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an interactive application task configuration method.
[0178] Those skilled in the art will understand that Figure 18 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0179] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0180] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0181] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0182] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) are all data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0183] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0184] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0185] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for configuring tasks in an interactive application, characterized in that, The method includes: Identify target interactive application scenarios that match the task difficulty level of the target interactive application task; Based on the number of operable objects participating in the target interactive application task, the initial position of each operable object in the target interactive application scenario is determined. Based on the initial position of each operable object and the interaction object parameters that match the task difficulty level, determine the distribution of interaction objects in the target interactive application scenario; Based on the task success / failure conditions that match the task difficulty level and are compatible with the target interactive application scenario, the initial positions of the operable objects, and the distribution of the interactive objects, the task configuration result of the target interactive application task is determined; the task success / failure conditions include task victory conditions and task failure conditions. The method further includes: Determine the interactive application task conditions that match the target interactive application task; Candidate interactive application task conditions that meet the task difficulty level are selected from the interactive application task conditions. When a victory condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario, the selected victory condition is determined as the task victory condition. When a failure condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario and mutually exclusive with the task success condition, the selected failure condition is determined to be the task failure condition.
2. The method according to claim 1, characterized in that, Determining the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task includes: The number of initial areas in the target interactive application scenario is determined based on the number of operable objects participating in the target interactive application task. Based on the number of initial regions and the number of operable objects, determine the number of region objects corresponding to each initial region. Based on the number of initial regions and the region division parameters that match the target interactive application scenario, determine the region location corresponding to each initial region; Based on the number of objects in the region and the location of the region, the initial position of each operable object in the target interactive application scenario is determined.
3. The method according to claim 1, characterized in that, Determining the distribution of interactive objects in the target interactive application scenario based on the initial position of each operable object and the interactive object parameters matching the task difficulty level includes: Based on the interaction object parameters that match the task difficulty level, determine the interaction object difficulty level and the number of times the interaction object that matches the interaction object difficulty level appears. Based on the initial position of each operable object, determine the area where interactive objects appear that match the difficulty level of the interactive objects; Based on the round in which the interactive object appears and the area where the interactive object appears, determine the location of the interactive object in each round within the difficulty level of each interactive object; Based on the candidate interactive objects that conform to the target interactive application scenario and the appearance position of the interactive objects in each round, the distribution of interactive objects in the target interactive application scenario is determined.
4. The method according to claim 3, characterized in that, The step of determining the distribution of interactive objects in the target interactive application scenario based on the candidate interactive objects that conform to the target interactive application scenario and the appearance position of the interactive objects in each round includes: Based on the difficulty level of the interaction object matched with the interaction object in each round, determine the number of each type of interaction object matched with the interaction object in each round. Based on the number of each type of interactive object in each round of interaction and the location where the interactive objects appear in each round of interaction, the target birth area corresponding to each interactive object in each round of interaction is determined. Based on the number of each type of interactive object in each round of interaction, a target interactive object matching the number of interactive objects in each round is selected from the candidate interactive objects that conform to the target interactive application scenario. Based on the target birth region corresponding to each of the interactive objects and the target interactive object, the distribution of interactive objects in the target interactive application scenario is determined.
5. The method according to claim 1, characterized in that, The method further includes: Determine the interactive application task events that match the task difficulty level, as well as the number and intensity conditions of events that meet the task difficulty level; Filter out target task events from interactive application task events that meet the event quantity condition, the event intensity condition, and the event restriction condition; The task configuration result for determining the target interactive application task based on the task success / loss conditions that conform to the task difficulty level and are compatible with the target interactive application scenario, the initial position of the operable objects, and the distribution of the interactive objects includes: Based on the task win / loss conditions that meet the task difficulty level and are compatible with the target interactive application scenario, the initial position of the operable object, the distribution of the interactive object, and the target task event, the task configuration result of the target interactive application task is determined.
6. An interactive application task configuration device, characterized in that, The device includes: The scenario determination module is used to determine the target interactive application scenario that matches the task difficulty level of the target interactive application task; The location determination module is used to determine the initial position of each operable object in the target interactive application scenario based on the number of operable objects participating in the target interactive application task. The interactive object distribution module is used to determine the distribution of interactive objects in the target interactive application scenario according to the initial position of each operable object and the interactive object parameters that match the task difficulty level. The condition determination module is used to determine the interactive application task conditions that match the target interactive application task, filter out candidate interactive application task conditions that meet the task difficulty level from the interactive application task conditions, and determine the selected victory condition as the task victory condition when the victory condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario. When the failure condition randomly selected from the candidate interactive application task conditions is compatible with the target interactive application scenario and mutually exclusive with the task victory condition, the selected failure condition is determined as the task failure condition. The processing module is used to determine the task configuration result of the target interactive application task based on the task success and failure conditions that meet the task difficulty level and are adapted to the target interactive application scenario, the initial position of the operable object, and the distribution of the interactive object; the task success and failure conditions include task victory conditions and task failure conditions.
7. The apparatus according to claim 6, characterized in that, The location determination module is further configured to determine the number of initial regions in the target interactive application scenario based on the number of operable objects participating in the target interactive application task; determine the number of region objects corresponding to each initial region based on the number of initial regions and the number of operable objects; determine the region position corresponding to each initial region according to the number of initial regions and the region division parameters matching the target interactive application scenario; and determine the initial position of each operable object in the target interactive application scenario according to the number of region objects and the region position.
8. The apparatus according to claim 6, characterized in that, The interaction object distribution module is further configured to determine the difficulty level of the interaction object and the number of times the interaction object appears that matches the difficulty level of the task based on the interaction object parameters; determine the appearance area of the interaction object that matches the difficulty level of the interaction object based on the initial position of each operable object; determine the appearance position of the interaction object in each round of the interaction object in each difficulty level based on the number of times the interaction object appears and the appearance area of the interaction object; and determine the distribution of the interaction objects in the target interaction application scenario based on the candidate interaction objects that conform to the target interaction application scenario and the appearance position of the interaction objects in each round of the interaction object.
9. The apparatus according to claim 8, characterized in that, The interaction object distribution module is further configured to determine the number of each type of interaction object matching each round of interaction objects based on the difficulty level of the interaction objects matched in each round of interaction objects; determine the target birth area corresponding to each interaction object in each round of interaction objects based on the number of each type of interaction objects in each round of interaction objects and the appearance position of the interaction objects in each round of interaction objects; select target interaction objects matching the number of interaction objects in each round of interaction objects from the candidate interaction objects that conform to the target interaction application scenario based on the number of each type of interaction objects in each round of interaction objects; and determine the interaction object distribution of interaction objects in the target interaction application scenario based on the target birth area corresponding to each interaction object and the target interaction objects.
10. The apparatus according to claim 6, characterized in that, The device further includes an event determination module, which is used to determine interactive application task events that match the task difficulty level, as well as the event quantity condition and event intensity condition that meet the task difficulty level, and to filter out target task events that meet the event quantity condition, the event intensity condition and the event restriction condition from the interactive application task events. The processing module is further configured to determine the task configuration result of the target interactive application task based on the task win / loss conditions that conform to the task difficulty level and are compatible with the target interactive application scenario, the initial position of the operable object, the distribution of the interactive object, and the target task event.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.