Game configuration adjustment method, device, equipment and storage medium
By monitoring game performance data, analyzing lag averages, and dynamically adjusting game configuration parameters, it solves the problem of gamers' equipment default configuration not adapting to performance changes and improves the gaming experience.
Patent Information
- Application Number
- CN202010938669.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-09-08
AI Technical Summary
The default configuration of game player equipment in the prior art does not adapt to changes in game performance, resulting in a decline in game experience.
Obtain game performance data through monitoring, analyze historical and current lag averages, determine whether to update game configuration parameters, and optimize or reduce configurations to adapt to device performance.
Ensure that the game configuration parameters of each terminal device are suitable for its performance, improve the gaming experience, and solve the game lag problem caused by mismatched default configurations.
Smart Images

Figure CN111973994B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of game configuration, and in particular to a method, device, equipment and storage medium for adjusting game configuration. Background Art
[0002] With the rapid development of Internet technology, games have become more and more common in people's lives and have become the main way for people to relax and entertain themselves. The corresponding configuration of the device is one of the important factors that affect the game effect: on the one hand, the better the configuration, the better the performance of the game; on the other hand, if the performance of the game player's device is not high enough, a higher configuration may cause the game to freeze, which will reduce the game player's gaming experience; so before or during the game, the configuration of the current game needs to be updated or set according to the game player's device.
[0003] In the prior art, game player devices are generally layered according to the models of the game player devices, and then different default configurations are corresponding to devices at different levels, thereby completing the setting of game configurations for different game player devices.
[0004] However, with this setting method, as the game is constantly updated, the requirements for device performance will change. However, since the game configuration in the prior art is configured by default according to the different levels corresponding to the player's device, there may be some situations where the default configuration is not applicable to some game player devices, thereby affecting the game experience of the gamer. Summary of the invention
[0005] The purpose of this application is to provide a method, device, equipment and storage medium for adjusting game configuration in view of the deficiencies in the above-mentioned prior art, so as to solve the problem that the game player's equipment is not suitable for the default configuration in the prior art, affecting the game player's gaming experience.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for adjusting game configuration, the method comprising:
[0008] For the target game, monitor and obtain the game performance data of the preset duration;
[0009] Based on the game performance data, analyze and determine whether to update the configuration parameters of the target game.
[0010] Optionally, the game performance data includes: jamming data;
[0011] The analyzing and determining whether to update the configuration parameters of the target game according to the game performance data includes:
[0012] According to the jamming data, calculate and obtain the historical jamming average value and the current jamming average value;
[0013] Based on the historical average jamming value and the current average jamming value, analyze and determine whether to update the configuration parameters of the target game.
[0014] Optionally, analyzing and determining whether to update the configuration parameters of the target game according to the historical average jamming value and the current average jamming value includes:
[0015] Determine a first threshold and a second threshold according to the historical jamming average value;
[0016] If the current average jamming value is less than the first threshold, determining to optimize the configuration parameters of the target game;
[0017] If the current average jamming value is greater than the second threshold, it is determined to reduce the configuration parameters of the target game.
[0018] Optionally, the jamming data includes: the game duration of a single game and the number of jamming occurrences; and the step of calculating and obtaining the historical jamming average value and the current jamming average value according to the jamming data includes:
[0019] According to the formula Determine the current average jamming value X, where i represents the game session identifier, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log identifier, ranging from 1 to C i , C i Indicates the presence of C i A jam log, k represents the ratio of the actual running time of a single frame to the standard single frame time, and the value range of k is 1-30; T is the game time of the corresponding jam log;
[0020] The historical jamming average value is determined according to the jamming data corresponding to all terminals running the target game within a preset historical duration.
[0021] Optionally, after analyzing and determining whether to update the configuration parameters of the target game according to the game performance data, the method further includes:
[0022] If it is determined to update the configuration parameters of the target game, the content to be updated is displayed;
[0023] In response to the confirmation operation, the configuration parameters of the target game are updated.
[0024] Optionally, before monitoring and acquiring game performance data of a preset duration for a target game, the method further includes:
[0025] Determine whether the user corresponding to the current terminal in the target game is a new user;
[0026] If yes, then according to the device model corresponding to the current terminal, obtain the configuration parameters of the target game corresponding to the device model.
[0027] Optionally, after determining whether the user corresponding to the current terminal in the target game is a newly added user, the method further includes:
[0028] If not, analyzing and determining whether to update the configuration parameters of the target game according to the game performance data includes:
[0029] Determine whether the number of game sessions of the target game at the current terminal is greater than or equal to a preset number of sessions;
[0030] If it is greater than or equal to the preset number of games, then an analysis is performed to determine whether to update the configuration parameters of the target game based on the game performance data.
[0031] Optionally, determining the first threshold and the second threshold according to the historical jamming average value includes:
[0032] Calculate and obtain the first threshold value according to the historical jamming average value of the preset duration and the first preset ratio;
[0033] The second threshold is obtained by calculation based on the historical jamming average value of the preset duration and a second preset ratio.
[0034] In a second aspect, another embodiment of the present application provides a device for adjusting game configuration, the device comprising: a monitoring module and a determination module, wherein:
[0035] The monitoring module is used to monitor and obtain game performance data of a preset time period for a target game;
[0036] The determination module is used to analyze and determine whether to update the configuration parameters of the target game based on the game performance data.
[0037] Optionally, the game performance data includes: jamming data; the device further includes: a calculation module, configured to calculate and obtain a historical jamming average value and a current jamming average value according to the jamming data;
[0038] The determination module is used to analyze and determine whether to update the configuration parameters of the target game based on the historical average jamming value and the current average jamming value.
[0039] Optionally, the determination module is used to determine a first threshold and a second threshold based on the historical average lag value; if the current average lag value is less than the first threshold, determine to optimize the configuration parameters of the target game; if the current average lag value is greater than the second threshold, determine to reduce the configuration parameters of the target game.
[0040] Optionally, the jamming data includes: the game duration of a single game, the number of jamming occurrences; the determination module is used to determine the number of jamming occurrences according to the formula Determine the current average jamming value X, where i represents the game session identifier, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log identifier, ranging from 1 to C i , C i Indicates the presence of C i A jam log is generated, kk represents the ratio of the actual running time of a single frame to the standard single frame time, and the value range of k is 1-30; T is the game time of the corresponding jam log; and the historical jam average value is determined according to the jam data corresponding to all terminals running the target game within a preset historical time.
[0041] Optionally, the device further comprises: a display module and an update module, wherein:
[0042] The display module is used to display the content to be updated if it is determined to update the configuration parameters of the target game;
[0043] The update module is used to update the configuration parameters of the target game in response to a confirmation operation.
[0044] Optionally, the apparatus further includes: a judgment module, configured to judge whether the user corresponding to the current terminal in the target game is a newly added user; if so, obtaining configuration parameters of the target game corresponding to the device model according to the device model corresponding to the current terminal.
[0045] Optionally, the determination module is specifically configured to, if not, analyze and determine whether to update the configuration parameters of the target game according to the game performance data, including:
[0046] The determination module is specifically used to determine whether the number of game sessions of the target game at the current terminal is greater than or equal to a preset number of sessions;
[0047] The determination module is specifically used to analyze and determine whether to update the configuration parameters of the target game based on the game performance data if the number of games is greater than or equal to the preset number of games.
[0048] Optionally, the calculation module is specifically used to calculate the first threshold value based on the historical average jamming value of a preset duration and a first preset ratio; and calculate the second threshold value based on the historical average jamming value of a preset duration and a second preset ratio.
[0049] In the third aspect, another embodiment of the present application provides a game configuration adjustment device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, when the game configuration adjustment device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0050] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0051] The beneficial effect of the present application is: by adopting the game configuration adjustment method provided by the present application, the game performance data of a preset period is obtained by monitoring the target game, and the obtained game performance data is analyzed to determine whether to update the configuration parameters of the target game. The method provided by the present application, since each terminal device installed with the target game will determine whether the configuration parameters of the target game need to be updated based on the analysis of the game performance data of the past preset period, each terminal device can make corresponding adjustments to the configuration parameters of the target game installed thereon according to the game performance data of the corresponding game player, thereby solving the problem in the prior art that after the configuration parameters are uniformly initially configured, as the game is continuously updated, the terminal devices of some game players are no longer applicable to the default configuration parameters, thereby affecting the gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A flowchart of a method for adjusting game configuration provided in one embodiment of the present application;
[0054] Figure 2 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application;
[0055] Figure 3A flowchart of a method for adjusting game configuration provided by another embodiment of the present application;
[0056] Figure 4 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application;
[0057] Figure 5 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application;
[0058] Figure 6 A schematic diagram of the structure of a device for adjusting game configuration provided in one embodiment of the present application;
[0059] Figure 7 A schematic diagram of the structure of a device for adjusting game configuration provided by another embodiment of the present application;
[0060] Figure 8 A schematic diagram of the structure of a game configuration adjustment device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0062] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0063] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0064] It is worth noting that before the present application was filed, the prior art usually directly configured the same initial configuration parameters for all terminal devices when the terminal device first downloaded or logged into the target game; or directly configured the same initial configuration parameters for all terminal devices of the same type when the game player first downloaded or logged into the target game according to different models of terminal devices. However, such a configuration method, on the one hand, is difficult to set the best default configuration parameters for each device one by one due to the large number of terminal devices, and is often done by marking. For example, the terminal devices can be layered according to the models of CPU and GPU, and then different default configurations are corresponding to devices at different levels. The division method is artificial, and there may be improper division that causes the initial timing parameters to be inappropriate; or with the continuous update of the game, the performance requirements for the terminal device may change, for example, after the new gameplay is updated, the game performance requirements become higher, or after the engine is upgraded, the performance is optimized and the requirements for the terminal device become lower; or even for the same terminal device, as its years of use increase, for example, due to the aging of the terminal device, too many installed applications leading to insufficient memory, etc., although the terminal device itself has a high configuration, the performance declines, etc., resulting in the terminal devices of some game players no longer being suitable for the default configuration parameters, thereby causing problems affecting the gaming experience.
[0065] The following is an explanation of a method for adjusting a game configuration provided in an embodiment of the present application in combination with a number of specific application examples. Figure 1 A flowchart of a method for adjusting game configuration provided by an embodiment of the present application is shown as follows: Figure 1 As shown, the method includes:
[0066] S101: For a target game, monitor and obtain game performance data of a preset duration.
[0067] Optionally, the target game is a target game installed on a terminal device of the game player. The terminal device may be, for example, a PDA, a mobile phone, a tablet computer, a computer, or any other terminal device that can install and run the target game. This application does not impose any restrictions here.
[0068] S102: Analyze and determine whether to update configuration parameters of the target game based on the game performance data.
[0069] Among them, due to the differences between different terminal devices, terminal devices of different models, or even two terminal devices of the same model, may have differences in performance, or even large differences. In order to ensure the gaming experience of each game player, the method provided in the present application adopts a method of monitoring the game performance data of the target game on each terminal device, so that the subsequent adjustment of the configuration parameters can be targeted at each terminal device, so that each terminal device can make targeted adjustments to the configuration parameters of the target game according to the current game performance data, so that the performance of the target game can be optimized when used on each different terminal device, thereby ensuring the gaming experience of each game player.
[0070] Optionally, the configuration parameters of the target game represent different performance effects of the target game. When the performance effect of the target game is better, the performance overhead is often greater, and the requirements for the terminal device are higher; when the performance effect of the game is worse, the performance overhead is smaller, and the requirements for the terminal device are lower. This application aims to determine the configuration parameters of the target game by analyzing the performance data of the target game, so that the target game can achieve a better game performance effect under the condition that the terminal device can bear it.
[0071] In one embodiment of the present application, the configuration parameters of the target game may include, for example: aspect ratio, resolution, shadow effect, anti-aliasing, vertical synchronization, etc. The smoothness of the target game can be adjusted by adjusting the configuration parameters of the target game, thereby avoiding inappropriate configuration parameters of the target game, which may cause game players to experience game freezes during the game. The specific configuration parameters may include content that can be flexibly adjusted according to user needs, and the present application does not impose any restrictions on this.
[0072] The game configuration adjustment method provided in the present application is adopted to obtain game performance data of a preset duration by monitoring the target game, and analyze the obtained game performance data to determine whether to update the configuration parameters of the target game. The method provided by the present application, since each terminal device installed with the target game will determine whether the configuration parameters of the target game need to be updated based on the analysis of the game performance data of the past preset duration, each terminal device can make targeted adjustments to the configuration parameters of the target game installed thereon according to the game performance data of the corresponding game player, thereby giving the game player the best gaming experience. This solves the problem in the prior art that after the configuration parameters are uniformly initially configured, as the game is continuously updated, the performance requirements for the terminal devices may change, resulting in the situation that the terminal devices of some game players are no longer suitable for the default configuration parameters, thereby affecting the gaming experience.
[0073] Optionally, based on the above embodiment, the embodiment of the present application may further provide a method for adjusting game configuration. The following is an example of the implementation process of determining whether to update the configuration parameters of the target game in the above method in conjunction with the accompanying drawings. Figure 2 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application is shown. In this embodiment, the game performance data may include: jamming data; taking jamming data as an example, Figure 2 As shown, S102 may include:
[0074] S103: Calculate and obtain the historical average jamming value and the current average jamming value according to the jamming data.
[0075] S104: Analyze and determine whether to update the configuration parameters of the target game based on the historical average jamming value and the current average jamming value.
[0076] Optionally, in order to ensure the accuracy of the analysis results, it is necessary to analyze and determine based on certain sample data according to the historical average jamming value and the current average jamming value. The historical average jamming value may refer to the average jamming parameter in a period of time before the current time, and the current average jamming value refers to the average jamming parameter obtained during the current analysis to determine whether to update the configuration parameters.
[0077] It should be noted that, in some possible embodiments, game performance data may also include: network data, such as packet loss rate, etc., that is, based on the historical average packet loss rate and the current average packet loss rate, it can be analyzed to determine whether the configuration parameters of the target game need to be updated. The specific content included in the game performance data can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0078] Optionally, based on the above embodiment, the embodiment of the present application may further provide a method for adjusting game configuration. The following is an example of the implementation process of updating the configuration parameters of the target game in the above method in conjunction with the accompanying drawings. Figure 3 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application is shown as follows: Figure 3 As shown, S104 may include:
[0079] S105: Determine a first threshold and a second threshold according to the historical average jamming value.
[0080] Optionally, in one embodiment of the present application, the jamming data includes: the game duration of a single game, the number of jamming occurrences; according to the formula Determine the current average jamming value X, where i represents the game session ID, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log ID, ranging from 1 to C i , C i Indicates the presence of Ci A jam log, k represents the ratio of the actual running time of a single frame to the standard single frame time, that is, the single frame running time of a certain frame uses several standard single frame times. If k is larger, the corresponding frame is more jammed, otherwise, the smaller k is, the corresponding frame is smoother. The value range of k is 1-30; T is the game time of the corresponding jam log.
[0081] Furthermore, the algorithm can be used to obtain the average jamming value corresponding to all terminals running the target game within a preset historical duration, and then the historical jamming value can be determined based on the average jamming value corresponding to all terminals within the preset historical duration.
[0082] Optionally, the value range of k can be flexibly adjusted according to user needs. For example, in another embodiment of the present application, the value range of k can be 3-30. When k is less than 3, it means that the ratio of the actual running time of a single frame of the current frame to the standard single frame time is within 3, that is, within 100ms. For the game players corresponding to the terminal, under the current circumstances, the perception of stuttering is not obvious, which can be approximated as no stuttering. Therefore, there is no need to count k less than 3. However, the specific value range of k is not limited to that given in the above embodiments, and different stuttering standards can be determined according to different game projects. The present application does not impose any restrictions on this.
[0083] If the current average jamming value is less than the first threshold, S106a may be executed.
[0084] S106a: Determine the configuration parameters of the optimization target game.
[0085] Among them, the current average lag value is less than the first threshold, which means that the terminal device currently performs very well when using the target game. Then, you can try to improve the configuration parameters of the target game to make the game experience better for the game players.
[0086] For example, in one embodiment of the present application, the first threshold value can be calculated based on the historical average value of the preset duration and the first preset ratio.
[0087] In one embodiment of the present application, the historical average jamming value includes the historical average jamming value corresponding to the same model as the current terminal type, and the historical average jamming value corresponding to all models, wherein the first threshold value may be determined, for example, by taking the 5th quantile value of the historical average jamming value corresponding to the same model as the current terminal device as A according to the distribution of the historical average jamming value, indicating that under the current configuration, 5% of the players of the same model currently have jamming values lower than A, and then taking the 5th quantile value of the historical average jamming value corresponding to all models as B, indicating that under the current configuration, 5% of the players of all models currently have jamming values lower than B, and determining the maximum value between A and B as the first threshold.
[0088] If the current average jamming value is greater than the second threshold, execute S106b.
[0089] S106b: Determine to reduce the configuration parameters of the target game.
[0090] Optionally, in an embodiment of the present application, a specific configuration adjustment method and an optional configuration combination are determined according to different projects, and the configuration adjustment methods and optional configuration combinations corresponding to different projects are not necessarily the same. The method for determining specific configuration parameters may, for example, be: determining the configuration parameter adjustment method and the optional configuration parameter combination according to a preset configuration parameter mapping table. For example, if the current high image quality + medium resolution configuration parameters need to be lowered, the configuration parameters will become medium image quality + medium resolution; if the current high image quality + medium resolution configuration parameters need to be increased, the configuration parameters will become high image quality + high resolution. The adjustment method and adjustment rules of the specific configuration parameters can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0091] For example, in one embodiment of the present application, the second threshold value can be calculated based on the historical average value of the preset duration and the second preset ratio.
[0092] Since the current average lag value is greater than the second threshold, it means that the terminal device currently performs poorly when using the target game and there may be an abnormality. You can try to lower the configuration parameters of the target game to give gamers a better gaming experience.
[0093] In one embodiment of the present application, the second threshold may be determined, for example, by taking the 95th percentile value of the historical average lag value corresponding to the same model as the current terminal device and recording it as C, indicating that under the current configuration, 95% of the players of the same model have lag values lower than C; then taking the 95th percentile value of the historical average lag value corresponding to all models and recording it as D, indicating that under the current configuration, 95% of the players of all models have lag values lower than D; and determining the minimum value between C and D as the second threshold.
[0094] Optionally, in one embodiment of the present application, in order to prevent the terminal device from repeatedly changing the configuration parameters of the target game and affecting the normal game play of the game players, the situation of the terminal device changing the configuration parameters can be recorded. If the configuration parameters have been updated, for example, the configuration parameters of the target game have been increased or decreased, the configuration parameter update process will not be triggered again; but when, for example, the game is significantly updated, or the system version is upgraded, or the game player actively triggers the update of the configuration parameters, the determination and update of the configuration parameters can be re-triggered, and the configuration parameters can be updated again according to the performance of the target game, so that the configuration parameters of the target game are adjusted to appropriate parameters to ensure the game experience of the game players. The triggering method of the configuration parameter update operation of the specific target game can be flexibly adjusted according to user needs and is not limited to the above-mentioned embodiment.
[0095] Optionally, based on the above embodiment, the embodiment of the present application may also provide a method for adjusting game configuration. The implementation process of the above method is further illustrated below in conjunction with the accompanying drawings. Figure 4 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application is shown as follows: Figure 4 As shown, after S102, the method further includes:
[0096] If it is determined to update the configuration parameters of the target game, execute S107.
[0097] S107: Display the content to be updated.
[0098] Among them, since the update of the configuration parameters of the target game is performed during the game process of the game player corresponding to the terminal, in order to avoid the problem that the game player may not be used to it due to the direct update of the configuration parameters of the target game, it is necessary to remind the game player in advance that the configuration parameters of the current target game need to be updated before the configuration parameters of the target game are updated, and the configuration parameters of the target game will be updated only after the game player confirms the update; if the game player confirms that the update is not needed at present, there is no need to update the configuration parameters of the target game.
[0099] S108: In response to the confirmation operation, update the configuration parameters of the target game.
[0100] For example, in some possible embodiments, the content to be updated can be displayed in the form of a pop-up window or a push message on the target game interface of the game player's corresponding terminal device. For example, it can be used to display the configuration parameters of the target game that currently need to be reduced or optimized, and display the specific update content (such as the corresponding parameter values before the update, and the corresponding parameter values after the update); and selection buttons can be provided on the display interface, such as buttons such as "Confirm Update" and "Do Not Update Yet" for the game player to choose. According to the game player's selection operation, it can be determined whether the game player currently needs to update the configuration parameters of the target game according to the current content to be updated. It should be understood that the specific form of displaying the content to be updated and the specific content to be updated can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0101] If the user confirms that the update is correct according to the update content displayed on the display interface, the "Confirm Update" control can be triggered, and the terminal device will be updated. Otherwise, the user can trigger the "Do not update yet" control to exit the update.
[0102] Optionally, based on the above embodiment, a threshold can be set for updating configuration parameters, and the monitoring threshold can be set to a preset game duration or preset game sessions, such as game battle sessions or game mission sessions, etc. Only when the game duration or game sessions of the game player meet the preset requirements, the historical average jamming value and the current average jamming value will be obtained for subsequent analysis, thereby avoiding the situation where insufficient game sample data or short-term fluctuations in the performance of the game player's terminal device cause large errors in subsequent analysis, resulting in false alarms or mishandling. The following is an example of the implementation process of updating the configuration parameters of the target game in the above method in conjunction with the accompanying drawings. Figure 5 A flowchart of a method for adjusting game configuration provided by another embodiment of the present application is shown as follows: Figure 5 As shown, before S102, the method may include:
[0103] S109: Determine whether the user corresponding to the current terminal in the target game is a new user.
[0104] If yes, execute S110.
[0105] S110: According to the device model corresponding to the current terminal, obtain configuration parameters of the target game corresponding to the device model.
[0106] Among them, obtaining the configuration parameters of the target game corresponding to the device model is determined based on the global performance data analysis. The method of determining based on the global performance data analysis can be, for example: by recording the performance data of all game players (for example, it can be the expected lag value, that is, the expected number of frames that will lag in one minute on average when a device is running a game, and the specific calculation method is not repeated here), a performance curve is obtained, and based on the analysis of the performance curve, it is determined whether to update the configuration parameters of the target game.
[0107] Optionally, the analysis of global performance data can be, for example, for terminal devices corresponding to all game players, or it can be an analysis of global performance data corresponding only to the current terminal model. The specific object of global performance data analysis can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0108] In one embodiment of the present application, the determination method may be, for example: under normal circumstances, the global performance curve will remain stable and fluctuate around a certain mean value. In order to determine whether the performance is abnormal, the average value of the global performance data of the previous month may be taken as the benchmark value, and then the size relationship between the global performance data of each day and the benchmark value may be compared to determine whether there is a large mask data abnormality. In one embodiment of the present application, if the global performance data of each day is higher than the benchmark value for 7 consecutive days, it is considered that the current performance may be abnormal. At this time, the alarm trigger device of the platform may be used to summarize and organize all the global performance data and send it to the corresponding game person in charge to remind the game person in charge to confirm whether the current performance is really abnormal. If there is an abnormality, the product performance may be optimized, or ABTest may be triggered (for the same target game, two configuration parameter schemes are designed: scheme A and scheme B, and the two configuration parameter schemes are randomly placed in the target game, so that game players with the same or similar components (such as game players of the same device type) can randomly experience one of the two schemes, and according to the observation results, it is determined which configuration parameter scheme has better performance effect when the game is used), and converge to the best configuration combination again; if there is no abnormality, the global performance data continues to be observed.
[0109] If not, S102 may include:
[0110] S111: Determine whether the number of game sessions of the target game at the current terminal is greater than or equal to a preset number of sessions.
[0111] In one embodiment of the present application, the preset sessions may be, for example, three battle sessions. It should be understood that the session content and the number of sessions of the specific preset sessions may be flexibly adjusted according to user needs. Different session contents may be determined according to different game types, or different numbers of sessions may be adjusted. The specific settings may be flexibly adjusted according to user needs and are not limited to those in the above embodiments.
[0112] If it is greater than or equal to the preset session number, execute S102.
[0113] This automated and continuous monitoring method can ensure that the configurations of different devices within the game remain optimal, avoiding configuration mismatches caused by long-term operation that affect the gaming experience of gamers.
[0114] By adopting the game configuration adjustment method provided by the present application, on the one hand, the configuration parameters of all terminal devices can be updated according to the global performance data, so as to avoid the configuration mismatch caused by long-term operation and ensure that the performance configuration of the terminal devices is always kept at the optimal level; on the other hand, by analyzing the performance data of each terminal device, the performance that the terminal device should have is judged, and based on this, the game performance data of the target game is monitored during the use of the target game. If it is found that the gap between the game performance data and the performance that the terminal device should have is too large, the configuration parameters of the target game are updated in a targeted manner, thereby solving the problem of how to deal with different performances of the same terminal device, ensuring the gaming experience of each game player, and helping the target game to maximize user retention.
[0115] The following is an explanation of the game configuration adjustment device provided by the present application in conjunction with the accompanying drawings. The game configuration adjustment device can perform the above Figure 1-Figure 5 The specific implementation and beneficial effects of the adjustment method of any game configuration are as mentioned above and will not be repeated below.
[0116] Figure 6 A schematic diagram of the structure of a device for adjusting game configuration provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device includes: a monitoring module 201 and a determination module 202, wherein:
[0117] The monitoring module 201 is used to monitor and obtain game performance data of a preset duration for a target game.
[0118] The determination module 202 is used to analyze and determine whether to update the configuration parameters of the target game according to the game performance data.
[0119] Figure 7 A schematic diagram of a structure of a device for adjusting game configuration provided in an embodiment of the present application, wherein the game performance data includes: freeze data; Figure 7As shown, the device also includes: a calculation module 203, which is used to calculate and obtain the historical jamming average value and the current jamming average value based on the jamming data.
[0120] The determination module 202 is used to analyze and determine whether to update the configuration parameters of the target game based on the historical average jamming value and the current average jamming value.
[0121] Optionally, determination module 202 is used to determine a first threshold and a second threshold based on the historical average lag value; if the current average lag value is less than the first threshold, determine to optimize the configuration parameters of the target game; if the current average lag value is greater than the second threshold, determine to reduce the configuration parameters of the target game.
[0122] Optionally, the jamming data includes: the game duration of a single game, the number of jamming occurrences; the determination module is used to determine the number of jamming occurrences according to the formula Determine the current average jamming value X, where i represents the game session ID, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log ID, ranging from 1 to C i , C i Indicates the presence of C i A jam log is generated, k represents the ratio of the actual running time of a single frame to the standard single frame time, and the value range of k is 1-30; T is the game time of the corresponding jam log; and the historical jam average value is determined according to the jam data corresponding to all terminals running the target game within a preset historical time.
[0123] like Figure 7 As shown, the device further includes: a display module 204 and an update module 205, wherein:
[0124] The display module 204 is used to display the content to be updated if it is determined that the configuration parameters of the target game are to be updated.
[0125] The updating module 205 is used to update the configuration parameters of the target game in response to the confirmation operation.
[0126] like Figure 7 As shown, the apparatus further includes: a judgment module 206, which is used to judge whether the user corresponding to the current terminal in the target game is a new user; if so, obtaining the configuration parameters of the target game corresponding to the device model according to the device model corresponding to the current terminal.
[0127] Optionally, the determination module 202 is specifically configured to, if not, analyze and determine whether to update the configuration parameters of the target game according to the game performance data, including:
[0128] The judgment module 206 is specifically used to judge whether the number of game sessions of the target game at the current terminal is greater than or equal to the preset number of sessions;
[0129] The determination module 202 is specifically used to analyze and determine whether to update the configuration parameters of the target game according to the game performance data if the number of games is greater than or equal to the preset number of games.
[0130] Optionally, the calculation module 203 is specifically used to calculate and obtain a first threshold value based on an average historical jamming value of a preset duration and a first preset ratio; and to calculate and obtain a second threshold value based on an average historical jamming value of a preset duration and a second preset ratio.
[0131] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0132] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0133] Figure 8 This is a structural diagram of a game configuration adjustment device provided in one embodiment of the present application. The game configuration adjustment device can be integrated into a terminal device or a chip of the terminal device.
[0134] like Figure 8 As shown, the game configuration adjustment device includes: a processor 501, a storage medium 502 and a bus 503.
[0135] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 502 to execute the above Figure 1-Figure 5 The corresponding method embodiment has similar specific implementation methods and technical effects, which will not be described here.
[0136] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0137] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0140] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A method for adjusting game configuration, characterized in that: The method comprises: For a target game, monitor and obtain game performance data of a preset duration; the game performance data includes: freeze data; Analyze and determine whether to update the configuration parameters of the target game according to the game performance data; wherein the configuration parameters of the target game include at least one of the following: aspect ratio, resolution, shadow effect, anti-aliasing, and vertical synchronization; The analyzing and determining whether to update the configuration parameters of the target game according to the game performance data includes: According to the jamming data, a historical jamming average value and a current jamming average value are calculated and obtained; the historical jamming average value is an average jamming parameter in a period of time before the current time, and the current jamming average value is an average jamming parameter obtained during the current analysis to determine whether to update the configuration parameters; Analyze and determine whether to update the configuration parameters of the target game according to the historical average jamming value and the current average jamming value; The jamming data includes: the game duration of a single game and the number of jamming occurrences; the historical jamming average value and the current jamming average value are calculated based on the jamming data, including: According to the formula Determine the current average jamming value X, where i represents the game session identifier, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log identifier, ranging from 1 to C i , C i Indicates the presence of C i A jam log, k represents the ratio of the actual running time of a single frame to the standard single frame time, and the value range of k is 1-30; T is the game time of the corresponding jam log; The historical jamming average value is determined according to the jamming data corresponding to all terminals running the target game within a preset historical duration.
2. The method according to claim 1, characterized in that The analyzing and determining whether to update the configuration parameters of the target game according to the historical average jamming value and the current average jamming value includes: Determine a first threshold and a second threshold according to the historical jamming average value; If the current average jamming value is less than the first threshold, determining to optimize the configuration parameters of the target game; If the current average jamming value is greater than the second threshold, it is determined to reduce the configuration parameters of the target game.
3. The method according to claim 1, characterized in that After analyzing and determining whether to update the configuration parameters of the target game according to the game performance data, the method further includes: If it is determined to update the configuration parameters of the target game, the content to be updated is displayed; In response to the confirmation operation, the configuration parameters of the target game are updated.
4. The method according to claim 1, characterized in that Before monitoring and acquiring the game performance data of a preset time for the target game, the method further includes: Determine whether the user corresponding to the current terminal in the target game is a new user; If yes, then according to the device model corresponding to the current terminal, the configuration parameters of the target game corresponding to the device model are obtained.
5. The method according to claim 4, characterized in that After determining whether the user corresponding to the current terminal in the target game is a newly added user, the method further includes: If not, analyzing and determining whether to update the configuration parameters of the target game according to the game performance data includes: Determine whether the number of game sessions of the target game at the current terminal is greater than or equal to a preset number of sessions; If it is greater than or equal to the preset number of games, then it is determined whether to update the configuration parameters of the target game based on the game performance data.
6. The method according to claim 2, characterized in that The determining the first threshold and the second threshold according to the historical jamming average value includes: Calculate and obtain the first threshold value according to the historical jamming average value of the preset duration and the first preset ratio; The second threshold is obtained by calculation based on the historical jamming average value of the preset duration and a second preset ratio.
7. A device for adjusting game configuration, characterized in that: The device comprises: a monitoring module and a determination module, wherein: The monitoring module is used to monitor and obtain game performance data of a preset time period for a target game; The determination module is used to analyze and determine whether to update the configuration parameters of the target game according to the game performance data; wherein the configuration parameters of the target game include at least one of the following: aspect ratio, resolution, shadow effect, anti-aliasing, and vertical synchronization; The game performance data includes: jamming data; the device also includes: a calculation module, which is used to calculate and obtain a historical jamming average value and a current jamming average value according to the jamming data; the historical jamming average value is an average jamming parameter in a period of time before the current time, and the current jamming average value is an average jamming parameter obtained in the current analysis process of determining whether to update the configuration parameters; The determination module is used to analyze and determine whether to update the configuration parameters of the target game according to the historical average jamming value and the current average jamming value; The jamming data includes: the game duration of a single game and the number of jamming occurrences; the determination module is used to determine the number of jamming occurrences according to the formula Determine the current average jamming value X, where i represents the game session identifier, ranging from 1 to N, where N is the total number of game sessions; j represents the jamming log identifier, ranging from 1 to C i , C i Indicates the presence of C i A jam log is generated, kk represents the ratio of the actual running time of a single frame to the standard single frame time, and the value range of k is 1-30; T is the game time of the corresponding jam log; and the historical jam average value is determined according to the jam data corresponding to all terminals running the target game within a preset historical time.
8. A device for adjusting game configuration, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the game configuration adjustment device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1-6 above.
9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is executed.
