Method, device, equipment and storage medium for dynamically generating game levels

By combining the user's current level data and historical data, determining the influencing factors and weights of the level and updating standard levels, the problem of insufficient level generation and generalization ability in the existing technology is solved, and a richer and more flexible gaming experience is achieved.

CN118491106BActive Publication Date: 2024-11-15SHENZHEN SPARKVR VIRTUAL REALITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410640408.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-11-15
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

The existing game level generation method relies too much on the current user's game data, resulting in limited generalization ability of generated levels and cannot meet the players' diverse game needs.

Method used

By obtaining the user's current level data and game level, comparing it with historical game data, determining the influencing factors and weights of the level, and updating the standard level to generate target levels.

Benefits of technology

It improves the richness of the influencing factors of the level, ensures the challenging and flexible gameplay, meets the diverse game needs of users, and enhances the generalization ability of the level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118491106B_ABST
    Figure CN118491106B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for dynamically generating game levels, and relates to the field of game production technology. The method includes: obtaining the current level data of the user, and determining the game ability value in combination with the game level of the user; obtaining the historical game data corresponding to the game ability value, and comparing the historical game data with the current level data; determining the user's current level influencing factor and the corresponding influencing weight according to the comparison result; updating the standard level corresponding to the game level according to the current level influencing factor and the corresponding influencing weight, and generating the target game level. Since the historical game data of the user with the same game ability value is introduced in the present application for comparison with the user's current level data, the standard level is updated according to the current level influencing factor obtained from the comparison result, which improves the generalization ability of the generated target game level while ensuring the challenge of the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game production technology, and in particular to a method, device, equipment and storage medium for dynamically generating game levels. Background Art

[0002] In game design, in order to enhance the user's gaming experience, a large number of game levels with different contents are set. Considering that it takes a lot of time for planners to manually design each game level, different game levels can be dynamically generated according to certain algorithms and rules in the existing method.

[0003] However, existing methods of dynamically generating different game levels, such as those based on reinforcement learning, are mainly designed based on player failure behavior. When generating the next game level, they rely too much on the current user's game data, which results in limited generalization ability of the generated game levels and cannot meet the diverse gaming needs of players.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for dynamically generating game levels, aiming to solve the technical problem that the existing game level generation method is too dependent on the game data of the current user, resulting in limited generalization ability of the generated game levels and unable to meet the diverse gaming needs of players.

[0006] To achieve the above objectives, the present application proposes a method for dynamically generating game levels, the method comprising:

[0007] Obtaining the user's current level data, and determining the gaming ability value in combination with the user's gaming level;

[0008] Acquire historical game data corresponding to the game ability value, and compare the historical game data with the current level data;

[0009] Determine the current level influencing factors and corresponding influencing weights of the user according to the comparison results;

[0010] The standard level corresponding to the game level is updated according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0011] In one embodiment, the step of obtaining historical game data corresponding to the game ability value and comparing the historical game data with the current level data includes:

[0012] Generating a gaming ability curve of the user according to the current level data and the historical level data of the user;

[0013] In the player game database, query other users corresponding to the game ability value, and obtain the game ability curve of each of the other users;

[0014] Calculating the similarity between the gaming ability curve of the user and the gaming ability curves of each of the other users respectively, and determining the relevant users according to the similarity calculation results;

[0015] The historical game data of the relevant users are obtained, and each of the historical game data is compared with the current level data respectively.

[0016] In one embodiment, the step of determining the influencing factors of the user's current level and the corresponding influencing weights according to the comparison results includes:

[0017] Determining the current level influencing factors of the user according to the comparison result, wherein the current level influencing factors include: at least one of a character factor, a scene factor, an obstacle factor, and a prop factor;

[0018] Initialize the weights of the factors affecting the current level;

[0019] Sorting the influencing factors of the current level based on the frequency of occurrence;

[0020] The weights are updated according to the sorting results to determine the influence weights corresponding to the influencing factors of the current level.

[0021] In one embodiment, the step of determining the influencing factors of the user's current level according to the comparison result includes:

[0022] Determine the first point-losing progress point of the user among the progress points of the current level according to the comparison result;

[0023] Acquire the historical point loss progress point of the relevant user according to the historical game data, and determine it as the second point loss progress point;

[0024] Obtain game technical requirement information corresponding to the first point loss progress point and the second point loss progress point respectively, and extract the user's current level influencing factors according to the game technical requirement information.

[0025] In one embodiment, the step of updating the weights according to the sorting results and determining the influence weights corresponding to the influence factors of the current level includes:

[0026] Determine the influencing factor of the current level that is at the bottom of the ranking;

[0027] Determining whether the current level influencing factor located at the last position in the ranking exists in the game technical requirement information corresponding to the first point loss progress point;

[0028] If yes, the weight corresponding to the current level influencing factor at the last position in the ranking is lowered, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to the current level influencing factors;

[0029] If not, the weight corresponding to the current level influencing factor at the last position in the ranking is increased, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

[0030] In one embodiment, the step of updating the standard level corresponding to the game level according to the current level influencing factor and the corresponding influencing weight to generate the target game level includes:

[0031] Determine a corresponding standard level according to the game level, and obtain level difficulty design information of the standard level, wherein the level difficulty design information includes difficulty levels corresponding to various progress points of the standard level;

[0032] Adjusting the difficulty level corresponding to each progress point in the level difficulty design information according to the current level influencing factors and the corresponding influencing weights;

[0033] The standard level is updated according to the adjustment result to obtain the target game level.

[0034] In one embodiment, before the step of updating the standard level according to the adjustment result to obtain the target game level, the step further includes:

[0035] Upon receiving the user's preference selection instruction, displaying personalized configuration items of the standard level to the user, the personalized configuration items including a game map and background music;

[0036] Obtaining user preference information according to a selection instruction of the user based on the personalized configuration item feedback;

[0037] Accordingly, the step of updating the standard level according to the adjustment result to obtain the target game level includes:

[0038] The standard level is updated according to the adjustment result and the user preference information to obtain a target game level.

[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a device for dynamically generating game levels, the device comprising:

[0040] A user evaluation module, used to obtain the current level data of the user and determine the gaming ability value in combination with the gaming level of the user;

[0041] A factor extraction module, used to obtain historical game data corresponding to the game ability value, and compare the historical game data with the current level data; determine the user's current level influencing factors and corresponding influencing weights according to the comparison results;

[0042] The level generation module is used to update the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a dynamic generation device for game levels, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the dynamic generation method for game levels as described above.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for dynamically generating game levels as described above are implemented.

[0045] The present application provides a method for dynamically generating game levels, which obtains the current level data of the user and determines the game ability value in combination with the game level of the user; obtains the historical game data corresponding to the game ability value, and compares the historical game data with the current level data; determines the current level influencing factor of the user and the corresponding influencing weight according to the comparison result; updates the standard level corresponding to the game level according to the current level influencing factor and the corresponding influencing weight to generate the target game level. Since the historical game data corresponding to the game ability value of the user can be compared with the current level data of the user in the present application, and the current level influencing factor of the user can be determined according to the comparison result, compared with the existing level generation method based only on the current level data of the user, the richness of the level influencing factors is improved, and then the standard level is updated according to the current level influencing factor and the corresponding influencing weight, so as to realize the flexible generation of the level while ensuring the challenge of the game, which is conducive to enhancing the generalization ability of the generated target game level and meeting the diverse game needs of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 A flowchart diagram of a first embodiment of a method for dynamically generating game levels of the present application;

[0049] Figure 2 A flowchart diagram of a second embodiment of a method for dynamically generating game levels of the present application is provided;

[0050] Figure 3 A flowchart diagram of a third embodiment of a method for dynamically generating game levels of the present application;

[0051] Figure 4 This is a schematic diagram of the module structure of a device for dynamically generating game levels according to an embodiment of the present application;

[0052] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for dynamically generating game levels in an embodiment of the present application.

[0053] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0054] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0055] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0056] The main solution of the embodiment of the present application is: obtaining the user's current level data, and determining the game ability value in combination with the user's game level; obtaining historical game data corresponding to the game ability value, and comparing the historical game data with the current level data; determining the user's current level influencing factors and the corresponding influencing weights according to the comparison results; updating the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0057] In game design, a game usually has several different game levels to increase the playability of the game and allow users to get more deeply involved in the game. The traditional way of designing game levels is for technicians to manually design each level one by one, so it takes a lot of time to generate a game level, and the level design perspective is based on the perspective of technicians, which is difficult to meet the personalized needs of players. Based on this, the existing method proposes the dynamic generation of game levels, which can dynamically generate different game levels according to certain algorithms and rules. However, taking the level design method based on reinforcement learning as an example, it is mainly designed based on the user's failure behavior in the current level. When generating the next game level, it relies too much on the user's current data, resulting in poor generalization ability of the generated game level, which cannot meet the user's diverse game experience needs.

[0058] The present application provides a method for dynamically generating game levels, which obtains the current level data of the user and determines the game ability value in combination with the game level of the user; obtains the historical game data corresponding to the game ability value, and compares the historical game data with the current level data; determines the current level influencing factor of the user and the corresponding influencing weight according to the comparison result; updates the standard level corresponding to the game level according to the current level influencing factor and the corresponding influencing weight to generate the target game level. Since the historical game data corresponding to the game ability value of the user can be compared with the current level data of the user in the present application, and the current level influencing factor of the user can be determined according to the comparison result, compared with the existing level generation method based only on the current level data of the user, the richness of the level influencing factors is improved, and then the standard level is updated according to the current level influencing factor and the corresponding influencing weight, so as to realize the flexible generation of the level while ensuring the challenge of the game, which is conducive to enhancing the generalization ability of the generated target game level and meeting the diverse game needs of users.

[0059] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer and a mobile phone. It can also be other electronic devices that can implement the dynamic generation method of the game level of this application, such as a game server, etc. This embodiment is not limited to this. The game server (hereinafter referred to as "server") is taken as an example to illustrate this embodiment and the following embodiments.

[0060] Based on this, the embodiment of the present application provides a method for dynamically generating game levels, referring to Figure 1 , Figure 1 The flowchart of the first embodiment of the method for dynamically generating game levels of the present application is provided. The method for dynamically generating game levels includes steps S10 to S40:

[0061] Step S10: obtaining the current level data of the user, and determining the gaming ability value in combination with the gaming level of the user.

[0062] It should be noted that the current level data is the game data of the user in the current level, including the user's operation information in the current level, clearance time, level score, and loss information at each level progress point in the current level.

[0063] It should be understood that in game design, the game level is usually comprehensively assessed based on the experience and achievements gained by the user in the game, which is greatly affected by the user's game time. Therefore, the game level cannot fully reflect the user's actual game level. In order to determine the user's real-time game level, the user's current level data can be combined with the user's game level to obtain a quantified game ability value.

[0064] It should be understood that the method of determining the gaming ability value based on the current level data and game level can adopt an algorithm, such as the weighted average method, to perform weighted average calculation on each data item in the current level data, and adjust it in combination with the game level; or a neural network model can be used to train the user's gaming behavior data and game level data at the current level, and establish a model to predict the user's gaming ability value.

[0065] Step S20: Acquire historical game data corresponding to the game ability value, and compare the historical game data with the current level data.

[0066] It should be noted that the server can store historical game data of users with different game ability values, and can query the historical game data of other users with the same game ability value as the user, and determine the influencing factors of other users of the same game level in the process of passing game levels through data comparison.

[0067] Furthermore, in order to obtain historical game data of other users whose game level is closer to that of the user, step S20 includes steps S201 to S204:

[0068] Step S201: Generate a gaming ability curve of the user according to the current level data and the historical level data of the user.

[0069] It should be noted that in game design, different game levels may correspond to different game levels, and users complete game levels in a game level to gain experience and achievements, thereby upgrading the game level. Therefore, based on the user's game level and the user's level data at different game levels (current level data and historical level data), a user's game ability curve can be generated, and the game ability curve can reflect the changing trend of the user's game level.

[0070] Step S202: In the player game database, query other users corresponding to the game ability value, and obtain the game ability curve of each of the other users.

[0071] It should be understood that the player game database can be located in the server or in other cloud servers. The player game database stores game data of each game user, and can distinguish different game users according to game ability values. Therefore, other users with corresponding game ability values ​​can be queried first, and the game ability curves of other users can be obtained.

[0072] It should also be noted that an upper and lower fluctuation range may be set based on the game ability value of the above user, and other users within the fluctuation range of the game ability value may be queried to increase the number of other users obtained by the query.

[0073] Step S203: respectively calculating the similarity between the gaming ability curve of the user and the gaming ability curves of each of the other users, and determining the relevant users according to the similarity calculation results.

[0074] It should be understood that in order to determine other users whose gaming level is closer to that of the user, similarity calculation can be performed based on the gaming ability curve among other users with corresponding gaming ability values ​​queried, for example, by using Euclidean distance, cosine similarity or Pearson correlation coefficient to compare the similarity of trend curves.

[0075] It should be noted that the game ability curves of the user and other users can be represented in the same xy axis coordinate system, where the x axis represents the game level and the y axis represents the game ability value at the game level. Assuming that the game ability curve P of the user is represented by the data point set [(x1, y1), (x2, y2), ..., (xn, yn)], and the game ability curve Q of any other user is represented by the data point set [(x'1, y'1), (x'2, y'2), ..., (x'n, y'n)], it can be seen that x1 is the same as x'1, x2 is the same as x'2... and xn is the same as x'n, that is, the two game ability curves have corresponding y values ​​at the same x value. Therefore, the Euclidean distance method can be used to directly compare the y value difference of the two curves at each x coordinate.

[0076] Specifically, when calculating the similarity between the two curves P and Q, we can first calculate the square of the y value of P and Q at each identical x coordinate; then add the squares of the y values ​​of all corresponding points to get the total sum of squares; finally, take the square root of the total sum of squares to get the Euclidean distance between P and Q. The similarity calculation formula is:

[0077]

[0078] Where D is the Euclidean distance between the two curves. The smaller D is, the more similar the two curves are. yi is the y value of curve P at the i-th x-coordinate, y'i is the y value of curve Q at the i-th x-coordinate, and n is the number of x-coordinates.

[0079] It should be noted that a similarity threshold may be set to screen other users according to the similarity calculation result, and other users whose calculation results are greater than the similarity threshold are selected as related users.

[0080] Step S204: Acquire the historical game data of the relevant users, and compare each of the historical game data with the current level data.

[0081] It should be understood that, among the related users whose gaming level is closer to that of the user, historical gaming data of the related users may be obtained. The historical gaming data may be level data generated by the related users during their most recent game level clearance process.

[0082] In a specific implementation, by comparing the historical game data of each relevant user with the user's current level data, various influencing factors that affect the clearance time and level score of other users at the same game level as the user during the level-breaking process can be obtained.

[0083] Step S30: determining the user's current level influencing factors and corresponding influencing weights according to the comparison results.

[0084] It can be understood that the influencing factors of the user in the process of breaking through the level can be determined by the user's current level data, and the influencing factors of each related user in the process of breaking through the level can be determined by the historical game data of the related users. By comparing the influencing factors of the user with the influencing factors of the related users, the influencing factors that appear more frequently in the process of breaking through the level for each game user (user and related users) of the game level can be determined, and determined as the influencing factors of the current level.

[0085] It should be understood that the influence weight corresponding to each current level influencing factor can be determined based on the ratio of the occurrence frequency of each current level influencing factor to the occurrence frequency of the total current level influencing factors, or it can be performed based on human experience and historical data analysis to set the influence weight corresponding to each current level influencing factor respectively.

[0086] It should be noted that since the current level influencing factors are determined by the game data of each game user, compared with the existing method of relying on the current user's game data for level design, the game data of related users with the same gaming level can be introduced as a reference factor for subsequent level design, which is beneficial to improving the generalization ability of the generated game levels and facilitating the flexible generation of game levels.

[0087] Step S40: updating the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0088] It should be understood that in game design, in order to balance the game progress and ensure that the overall difficulty curve of the game is reasonable, standard levels corresponding to each game level can be pre-set. The generation of game levels can be based on the standard levels corresponding to different game levels, and adjustments can be made on the basis of the standard levels to ensure that the overall difficulty curve of the game is reasonable, and avoid the deviation of the difficulty curve caused by the excessive reliance on user data in the generation of game levels.

[0089] In a specific implementation, the standard level corresponding to the user's game level can be adjusted according to the current level influencing factors and the corresponding influencing weights, such as adjusting the overall level difficulty, prop reward distribution, and obstacle distribution, etc., and finally generating the target game level, that is, the next game level that the user is going to pass.

[0090] In this embodiment, the historical game data corresponding to the user's game ability value can be compared with the user's current level data, and the user's current level influencing factors can be determined based on the comparison results. Compared with the existing level generation method based only on the user's current level data, the richness of level influencing factors is improved, and then the standard level is updated according to the current level influencing factors and the corresponding influence weights, which ensures the challenge of the game while achieving flexible level generation, which is conducive to enhancing the generalization ability of the generated target game level and meeting the diverse game needs of users.

[0091] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , Figure 2The flowchart of the second embodiment of the method for dynamically generating game levels of the present application is provided, step S30, and further includes steps S301 to S304:

[0092] Step S301: determining the influencing factors of the user's current level according to the comparison result.

[0093] It should be noted that the current level influencing factors may include at least one of: a character factor, a scene factor, an obstacle factor, and a prop factor.

[0094] It should be understood that, taking the game levels of a parkour game as an example, the character factor may be whether there is an attribute bonus for the character selected by the user in the game level, for example, a character A comes with a 10% speed increase; the scene factor may be the composition order of the various positions on the runway in the game scene, such as curves, straights, and high jumps; the obstacle factor may be the type of obstacles and their locations in the game scene; the prop factor may be the type of props provided in the game scene and the distribution location of the props.

[0095] It should be understood that, in order to further illustrate the process of determining the influencing factors of the current level based on the comparison results of the historical game data and the current level data, step S301 further includes steps S3031 to S3033:

[0096] Step S3031: determining the first point-losing progress point of the user among the progress points of the current level according to the comparison result.

[0097] It should be understood that each game level can be divided into several progress points. Taking the game level of a parkour game as an example, the various progress points obtained by the division can be of the following types: straight lines, curves, jumping points, continuous action positions, and acceleration zones.

[0098] It can be understood that first, the progress points at which the user loses points in various progress points of the current level can be obtained, and then the progress points at which the user loses points can be screened according to the comparison results, and the progress point that does not often appear in the relevant users but at which the user loses points is determined as the first progress point at which the user loses points.

[0099] Step S3032: Obtain the historical point loss progress points of the relevant user according to the historical game data, and determine them as the second point loss progress points.

[0100] It should be noted that, according to historical game data, the progress points at which each relevant user loses points in each progress point of the corresponding game level when the user is at the game ability value can be obtained and used as the second progress point for losing points.

[0101] Step S3033: Obtaining the game technical requirement information corresponding to the first point loss progress point and the second point loss progress point respectively, and extracting the user's current level influencing factors according to the game technical requirement information.

[0102] It should be understood that in game design, the above-mentioned various types of progress points usually correspond to some specific game technical requirements information, and users need to deal with non-progress points according to the game technical requirements and operating tips, otherwise they will lose points. The game technical requirements information may include, for example: steering technical requirements in curves, obstacle avoidance operations in straight roads, whether to use the skill bonus provided by props at jump points, and whether the passing speed at each progress point is affected by the character attribute bonus, etc.

[0103] It should be noted that after obtaining the game technical requirement information, we can first determine the proportion of subjective influencing factors and objective influencing factors in the game technical requirements. For example, the steering technical requirements in curves and the avoidance operations of obstacles in straight roads correspond to subjective influencing factors; whether to use the skill bonus provided by props at the jumping point and whether the passing speed at each progress point is affected by the character attribute bonus correspond to objective influencing factors.

[0104] It should also be noted that the different game technical requirement information corresponding to the first score loss progress point and the second score loss progress point can be counted, and analyzed in combination with the current level data / historical game data of the user / related users to determine the influencing factors that cause each game user to lose points during the level-breaking process, and use them as the current level influencing factors for adjusting subsequent standard levels.

[0105] In a specific implementation, if the user loses points at a progress point of a curve type, the game technical requirement information corresponding to each curve in the current level is obtained, and the game technical requirement information includes the turning technical requirements in the curve, and under the turning technical requirements, the user's insufficient operating level (subjective influencing factors) can be compensated by picking up props for assisting turning or selecting game characters with different attributes (objective influencing factors). Therefore, it is possible to further determine the proportion of the objective influencing factors and subjective influencing factors in the turning requirements that affect the user's loss of points at the progress point where the points are lost. If the objective influencing factors are higher than the subjective influencing factors, it can be determined that the current level influencing factors are, for example, character elements and prop elements, otherwise it can be determined that the current level influencing factors are scene factors.

[0106] Furthermore, considering that the number of current level influencing factors extracted from the game technical requirement information based on each point-loss progress point is large and there are duplicates, the extracted current level influencing factors can be screened and merged. Specifically, the current level influencing factors extracted from the game technical requirement information corresponding to each first progress point can be retained as the first influencing factors, the current level influencing factors extracted from the game technical requirement information corresponding to each second progress point can be preliminarily integrated and the current level influencing factors with an occurrence frequency less than a threshold number can be screened out to obtain the second influencing factors, and the first influencing factors and the second influencing factors can be further integrated to finally obtain the user's current level influencing factors.

[0107] Step S302: Initializing the weights of the influencing factors of the current level.

[0108] It should be noted that the initial values ​​of the weights of the influencing factors of the current level may be the same average value.

[0109] Step S303: sorting the influencing factors of the current level based on the frequency of occurrence.

[0110] It should be noted that the occurrence frequency of each current level influencing factor in each point of loss progress is counted, and each current level influencing factor can be sorted from large to small based on the occurrence frequency.

[0111] Step S304: updating the weights according to the sorting results, and determining the influence weights corresponding to the influence factors of the current level.

[0112] It should be understood that in order to implement personalized adjustment based on the user when the standard level is subsequently updated by the current level influencing factors, step S304 further includes steps S3041 to S3044.

[0113] Step S3041: Determine the influencing factor of the current level that is at the bottom of the ranking.

[0114] Step S3042: Determine whether the current level influencing factor at the last position in the ranking exists in the game technical requirement information corresponding to the first point loss progress point.

[0115] It should be understood that by determining whether the current level influencing factor at the last position in the ranking is an influencing factor causing the user to lose points, it is possible to determine whether the current level influencing factor is more likely to cause the user to lose points among game players of the same game level.

[0116] Step S3043: If so, the weight corresponding to the current level influencing factor at the last position in the ranking is lowered, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

[0117] It should be understood that if yes, it means that the current level influencing factor at the bottom of the ranking has a greater impact on the user among all game players of the same game level. Therefore, in order to improve the user's game enthusiasm, the weight value corresponding to the current level influencing factor can be appropriately reduced, and the weight values ​​of other current level influencing factors can be adaptively updated at the same time to determine the influence weights corresponding to each of the current level influencing factors.

[0118] Step S3044: If not, the weight corresponding to the current level influencing factor at the last position in the ranking is increased, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

[0119] It should be understood that if not, it means that the current level influencing factor at the bottom of the ranking has a relatively small impact on the user among all game players of the same game level. Therefore, in order to improve the game satisfaction of the user, the weight value corresponding to the current level influencing factor can be appropriately increased, and the weight values ​​of other current level influencing factors can be adaptively updated at the same time to determine the influence weights corresponding to each of the current level influencing factors.

[0120] It can be understood that by judging whether the current level influencing factor at the last position in the ranking exists in the game technical requirement information corresponding to the first score loss progress point, it is possible to clarify which current level influencing factors are more likely to affect users at the same game level, and then lower the weights of the current level influencing factors that are likely to affect users to ensure the user's gaming enthusiasm, and increase the weights of the current level influencing factors that are not likely to affect users to ensure the user's gaming satisfaction.

[0121] This embodiment determines the user's current level influencing factors based on the comparison results, wherein the current level influencing factors include: at least one of the character factors, scene factors, obstacle factors and prop factors; initializes the weights of each current level influencing factor; sorts each current level influencing factor based on the frequency of occurrence; updates the weights according to the sorting results, and determines the corresponding influence weights of each current level influencing factor. Not only the user's current level data is taken into account, but also the historical game data of other related users with the same game level as the user is introduced to obtain richer current level influencing factors, and the corresponding influence weights of each current level influencing factor are determined according to the sorting results, which can realize the personalized adjustment of users when the standard level is updated later, and at the same time prevent the situation where the generated game level is too simple or too difficult due to excessive personalization, further improving the generalization ability of the server to generate game levels.

[0122] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 3 , Figure 3 The flowchart of the third embodiment of the method for dynamically generating game levels of the present application is provided, step S40, specifically including steps S401 to S403:

[0123] Step S401: determining a corresponding standard level according to the game level, and obtaining level difficulty design information of the standard level, wherein the level difficulty design information includes difficulty levels corresponding to various progress points of the standard level.

[0124] It should be noted that the standard level can also be divided into several progress points. The level difficulty design information can also include the game technical requirements corresponding to each progress point. Through the composition of different game technical requirements items, the difficulty level corresponding to each progress point and the difficulty level of the entire standard level can be determined.

[0125] Step S402: adjusting the difficulty level corresponding to each progress point in the level difficulty design information according to the current level influencing factors and the corresponding influencing weights.

[0126] It should be understood that since the difficulty level corresponding to each progress point is determined by different game technical requirements according to preset weight values, the influencing factors and corresponding standard weight values ​​corresponding to each game technical requirement item can be obtained.

[0127] In a specific implementation, the current level influencing factors and the corresponding influencing weights can be compared with the influencing factors corresponding to the above-mentioned various game technical requirements and the corresponding standard weight values. First, it is determined whether the above-mentioned current level influencing factors are included in the influencing factors corresponding to the above-mentioned various game technical requirements. Then, the standard weight values ​​are adaptively adjusted according to the influencing weights corresponding to the current level influencing factors.

[0128] Step S403: updating the standard level according to the adjustment result to obtain the target game level.

[0129] It should be noted that after adjusting the difficulty level corresponding to each progress point in the standard level one by one, the standard level with updated difficulty can be obtained, that is, the target game level is determined.

[0130] Furthermore, considering that the above-mentioned step of adjusting the difficulty level corresponding to each progress point in the level difficulty design information according to the current level influencing factors and the corresponding influencing weights is a level adjustment based on game operation, and in order to further enhance the user's gaming experience, preference configuration items unrelated to game operation can be provided to the user. Therefore, before step S403, it is also possible to: upon receiving the user's preference selection instruction, display the personalized configuration items of the standard level to the user, the personalized configuration items including the game map and background music; and obtain the user preference information according to the selection instruction of the user based on the personalized configuration item feedback.

[0131] It should be noted that when the user has personalized needs, he can actively choose to trigger the preference selection instruction to obtain the personalized configuration items provided by the server. The personalized configuration items can provide different game level maps and background music of the game levels. The user can choose to keep the game map and background music of the current level in the personalized configuration items and apply them to other subsequent game levels, that is, update the standard level according to the adjustment result and the user preference information to obtain the target game level.

[0132] In this embodiment, the corresponding standard level is determined according to the game level, and the level difficulty design information of the standard level is obtained; the difficulty level corresponding to each progress point in the level difficulty design information is adjusted according to the current level influencing factor and the corresponding influencing weight; in addition, when receiving the user's preference selection instruction, the personalized configuration items of the standard level are displayed to the user, and the personalized configuration items include game maps and background music; the user preference information is obtained according to the selection instruction of the user based on the personalized configuration item feedback, and then the standard level is updated according to the adjustment result and the user preference information to obtain the target game level. It can enhance the game interaction, enrich the diversity of the generated game levels, and help to further increase the user's game satisfaction.

[0133] The present application also provides a device for dynamically generating game levels. Figure 4 , Figure 4 This is a schematic diagram of the module structure of a device for dynamically generating game levels according to an embodiment of the present application, wherein the device comprises:

[0134] The user evaluation module 401 is used to obtain the current level data of the user and determine the gaming ability value in combination with the gaming level of the user;

[0135] The factor extraction module 402 is used to obtain the historical game data corresponding to the game ability value, and compare the historical game data with the current level data; determine the user's current level influencing factors and corresponding influencing weights according to the comparison results;

[0136] The level generation module 403 is used to update the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0137] Furthermore, the factor extraction module 402 is also used to generate a game ability curve of the user based on the current level data combined with the historical level data of the user; query other users corresponding to the game ability value in the player game database, and obtain the game ability curve of each of the other users; calculate the similarity between the game ability curve of the user and the game ability curve of each of the other users, and determine the relevant users based on the similarity calculation results; obtain the historical game data of the relevant users, and compare each of the historical game data with the current level data.

[0138] Furthermore, the factor extraction module 402 is also used to determine the current level influencing factors of the user according to the comparison results, wherein the current level influencing factors include: at least one of: character factors, scene factors, obstacle factors and prop factors; initialize the weight of each current level influencing factor; sort each current level influencing factor based on the frequency of occurrence; update the weight according to the sorting result, and determine the influence weight corresponding to each current level influencing factor.

[0139] Furthermore, the factor extraction module 402 is also used to determine the first score loss progress point of the user among the various progress points of the current level according to the comparison result; obtain the historical score loss progress point of the relevant user according to the historical game data, and determine it as the second score loss progress point; obtain the game technical requirement information corresponding to the first score loss progress point and the second score loss progress point, and extract the current level influencing factors of the user according to the game technical requirement information.

[0140] Furthermore, the factor extraction module 402 is also used to determine the current level influencing factor at the last position in the ranking; determine whether the current level influencing factor at the last position in the ranking exists in the game technical requirement information corresponding to the first score loss progress point; if so, the weight corresponding to the current level influencing factor at the last position in the ranking is lowered, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors; if not, the weight corresponding to the current level influencing factor at the last position in the ranking is increased, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

[0141] Furthermore, the level generation module 403 is also used to determine the corresponding standard level according to the game level, and obtain the level difficulty design information of the standard level, the level difficulty design information including the difficulty level corresponding to each progress point of the standard level; adjust the difficulty level corresponding to each progress point in the level difficulty design information according to the current level influencing factor and the corresponding influencing weight; update the standard level according to the adjustment result to obtain the target game level.

[0142] Furthermore, the level generation module 403 is also used to display personalized configuration items of the standard level to the user when receiving the user's preference selection instruction, the personalized configuration items including the game map and background music; obtain user preference information according to the selection instruction of the user based on the personalized configuration item feedback; update the standard level according to the adjustment result and the user preference information to obtain the target game level.

[0143] The dynamic generation device of the game level provided by the present application adopts the dynamic generation method of the game level in the above embodiment, which can solve the technical problem of dynamic generation of the game level. Compared with the prior art, the beneficial effects of the dynamic generation device of the game level provided by the present application are the same as the beneficial effects of the dynamic generation method of the game level provided by the above embodiment, and other technical features in the dynamic generation device of the game level are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0144] The present application provides a device for dynamically generating game levels, the device for dynamically generating game levels comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for dynamically generating game levels in the above-mentioned embodiment 1.

[0145] Reference below Figure 5 , Figure 5 The device structure diagram of the hardware operating environment involved in the method for dynamically generating game levels in the embodiment of the present application. The device for dynamically generating game levels in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5The dynamic generation device of the game level shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0146] like Figure 5 As shown, the dynamic generation device of the game level may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the dynamic generation device of the game level are also stored in the RAM 1004. The processing device 1001, the ROM 1002 and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the dynamic generation device of the game level to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a dynamic generation device of the game level with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0147] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0148] The dynamic generation device of the game level provided by the present application adopts the dynamic generation method of the game level in the above embodiment, which can solve the technical problem of dynamic generation of the game level. Compared with the prior art, the beneficial effects of the dynamic generation device of the game level provided by the present application are the same as the beneficial effects of the dynamic generation method of the game level provided by the above embodiment, and other technical features in the dynamic generation device of the game level are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0149] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0150] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0151] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the method for dynamically generating game levels in the above-mentioned embodiment.

[0152] The computer-readable storage medium may be included in the dynamic generation device of the game level; or may exist independently without being assembled into the dynamic generation device of the game level.

[0153] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the dynamic generation device of the game level, the dynamic generation device of the game level: obtains the current level data of the user, and determines the game ability value in combination with the game level of the user; obtains the historical game data corresponding to the game ability value, and compares the historical game data with the current level data; determines the current level influencing factors and the corresponding influencing weights of the user according to the comparison results; and updates the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights to generate a target game level.

[0154] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0156] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0157] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for dynamically generating game levels, and can solve the technical problem of dynamically generating game levels. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the method for dynamically generating game levels provided in the above-mentioned embodiment, and will not be elaborated here.

[0158] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for dynamically generating game levels, characterized in that: The method comprises: Obtaining the user's current level data, and determining the gaming ability value in combination with the user's gaming level; Acquire historical game data corresponding to the game ability value, and compare the historical game data with the current level data; Determine the current level influencing factors and corresponding influencing weights of the user according to the comparison results; The standard level corresponding to the game level is updated according to the current level influencing factors and the corresponding influencing weights to generate a target game level; The step of obtaining the historical game data corresponding to the game ability value and comparing the historical game data with the current level data includes: Generating a gaming ability curve of the user according to the current level data and the historical level data of the user; In the player game database, query other users corresponding to the game ability value, and obtain the game ability curve of each of the other users; Calculating the similarity between the gaming ability curve of the user and the gaming ability curves of each of the other users respectively, and determining the relevant users according to the similarity calculation results; Acquire historical game data of the relevant users, and compare each of the historical game data with the current level data; The step of determining the influencing factors of the user's current level and the corresponding influencing weights according to the comparison results includes: Determining the current level influencing factors of the user according to the comparison result, wherein the current level influencing factors include: at least one of a character factor, a scene factor, an obstacle factor, and a prop factor; Initialize the weights of the factors affecting the current level; Sorting the influencing factors of the current level based on the frequency of occurrence; The weights are updated according to the sorting results to determine the influence weights corresponding to the influencing factors of the current level; The step of determining the influencing factors of the user's current level according to the comparison result includes: Determine the first point-losing progress point of the user among the progress points of the current level according to the comparison result; Acquire the historical point loss progress point of the relevant user according to the historical game data, and determine it as the second point loss progress point; Obtaining game skill requirement information corresponding to the first point loss progress point and the second point loss progress point respectively, and extracting the current level influencing factors of the user according to the game skill requirement information; The step of updating the weights according to the sorting results to determine the influence weights corresponding to the influence factors of the current level includes: Determine the influencing factor of the current level that is at the bottom of the ranking; Determining whether the current level influencing factor located at the last position in the ranking exists in the game technical requirement information corresponding to the first point loss progress point; If yes, the weight corresponding to the current level influencing factor at the last position in the ranking is lowered, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to the current level influencing factors; If not, the weight corresponding to the current level influencing factor at the last position in the ranking is increased, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

2. The method according to claim 1, characterized in that The step of updating the standard level corresponding to the game level according to the current level influencing factor and the corresponding influencing weight to generate the target game level includes: Determine a corresponding standard level according to the game level, and obtain level difficulty design information of the standard level, wherein the level difficulty design information includes difficulty levels corresponding to various progress points of the standard level; Adjusting the difficulty level corresponding to each progress point in the level difficulty design information according to the current level influencing factor and the corresponding influencing weight; The standard level is updated according to the adjustment result to obtain the target game level.

3. The method according to claim 2, characterized in that Before the step of updating the standard level according to the adjustment result to obtain the target game level, the method further includes: Upon receiving the user's preference selection instruction, displaying personalized configuration items of the standard level to the user, the personalized configuration items including a game map and background music; Obtaining user preference information according to a selection instruction of the user based on the personalized configuration item feedback; Accordingly, the step of updating the standard level according to the adjustment result to obtain the target game level includes: The standard level is updated according to the adjustment result and the user preference information to obtain a target game level.

4. A device for dynamically generating game levels, characterized in that: The device comprises: A user evaluation module, used to obtain the current level data of the user and determine the gaming ability value in combination with the gaming level of the user; A factor extraction module, used to obtain historical game data corresponding to the game ability value, and compare the historical game data with the current level data; determine the user's current level influencing factors and corresponding influencing weights according to the comparison results; A level generation module, used to update the standard level corresponding to the game level according to the current level influencing factors and the corresponding influencing weights, and generate a target game level; The factor extraction module is further used to generate a game ability curve of the user according to the current level data combined with the historical level data of the user; query other users corresponding to the game ability value in the player game database, and obtain the game ability curve of each of the other users; calculate the similarity between the game ability curve of the user and the game ability curves of each of the other users, and determine the relevant users according to the similarity calculation results; obtain the historical game data of the relevant users, and compare each of the historical game data with the current level data respectively; The factor extraction module is further used to determine the current level influencing factors of the user according to the comparison result, wherein the current level influencing factors include: at least one of: character factors, scene factors, obstacle factors and prop factors; initialize the weight of each current level influencing factor; sort each current level influencing factor based on the frequency of occurrence; update the weight according to the sorting result, and determine the influence weight corresponding to each current level influencing factor; The factor extraction module is further used to determine the first point loss progress point of the user in each progress point of the current level according to the comparison result; obtain the historical point loss progress point of the relevant user according to the historical game data, and determine it as the second point loss progress point; obtain the game technical requirement information corresponding to the first point loss progress point and the second point loss progress point respectively, and extract the current level influencing factors of the user according to the game technical requirement information; The factor extraction module is further used to determine the current level influencing factor at the last position in the ranking; determine whether the current level influencing factor at the last position in the ranking exists in the game technical requirement information corresponding to the first score loss progress point; if so, the weight corresponding to the current level influencing factor at the last position in the ranking is lowered, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors; if not, the weight corresponding to the current level influencing factor at the last position in the ranking is increased, and the weights corresponding to other current level influencing factors are updated to determine the influence weights corresponding to each of the current level influencing factors.

5. A device for dynamically generating game levels, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for dynamically generating a game level according to any one of claims 1 to 3.

6. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for dynamically generating a game level according to any one of claims 1 to 3 are implemented.