Lag optimization method, lag optimization device, program product and electronic equipment
By monitoring the game screen in real time and determining the optimization setting parameters based on the cause of lag, players frequently encounter lags and improve optimization efficiency and gaming experience.
Patent Information
- Application Number
- CN202510286170.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-04-25
AI Technical Summary
Players frequently encounter lag problems during the game. The performance optimization options provided by the existing technology are scattered and it is difficult to determine their effectiveness, resulting in players having to repeatedly try different optimization settings, which is inefficient.
By monitoring the game screen in real time, when there is a stutter, determine the cause of the stutter, and determine the parameters to be optimized based on the reason, generate prompt information to be displayed in the graphical user interface, and optimize the settings parameters in response to player operations.
It solves the problem that players need to repeatedly try to optimize settings, improves optimization efficiency, simplifies the parameter setting process, and improves the player's gaming experience.
Smart Images

Figure CN119883434A_ABST
Abstract
Description
Background Art
[0002] As long-term mobile games continue to update their content, the performance requirements for players' terminal devices are gradually increasing, resulting in more and more players frequently encountering lag issues during the game, seriously affecting the gaming experience.
[0003] Currently, the solution provided by most games is to provide some performance optimization options in the game settings. However, these options are scattered and lack clear effect feedback, making it difficult for players to determine whether they are effective when adjusting them. As a result, players will repeatedly try different optimization settings, which is both time-consuming and inefficient, further increasing the negative experience of players. Summary of the invention
[0004] The present disclosure provides a lag optimization method to at least to some extent solve the problem in the related art that players need to repeatedly try different optimization settings when performing optimization, resulting in low optimization efficiency.
[0005] According to a first aspect of the present disclosure, a jamming optimization method is provided, the method comprising:
[0006] Monitor the game screen in real time, and when the game screen freezes, determine the cause of the freeze;
[0007] Determine, according to the cause of the jamming, a setting parameter to be optimized, generate first prompt information corresponding to the setting parameter to be optimized, and display the first prompt information in the graphical user interface;
[0008] In response to a first operation on the first prompt information, the setting parameters to be optimized are displayed, and in response to a second operation on the setting parameters to be optimized, game lag is optimized.
[0009] According to a second aspect of the present disclosure, a jamming optimization device is provided, the device comprising:
[0010] A freeze detection module is used to monitor the game screen in real time and determine the cause of the freeze when the game screen freezes;
[0011] A jam prompt module, used to determine the setting parameters to be optimized according to the jam cause, generate first prompt information corresponding to the setting parameters to be optimized, and display the first prompt information in a graphical user interface;
[0012] The parameter optimization module is used to respond to a first operation on the first prompt information to display the setting parameters to be optimized, and respond to a second operation on the setting parameters to be optimized to optimize the game freeze.
[0013] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method of the first aspect and possible implementations thereof are implemented.
[0014] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.
[0015] The disclosed embodiment provides a method for optimizing the jamming, which monitors the game screen in real time, and when the game screen jams, determines the cause of the jamming; determines the setting parameters to be optimized according to the cause of the jamming, generates a first prompt message corresponding to the setting parameters to be optimized, and displays the first prompt message in the graphical user interface; responds to a first operation on the first prompt message, displays the setting parameters to be optimized, and responds to a second operation on the setting parameters to be optimized to optimize the game jamming. On the one hand, when jamming occurs in the game screen, the cause of the jamming is determined, and the setting parameters to be optimized are determined according to the cause of the jamming, which solves the problem that players need to repeatedly try different optimization settings in the related art, and improves the optimization efficiency; on the other hand, after determining the setting parameters to be optimized, generates a first prompt message according to the setting parameters to be optimized, displays the first prompt message in the graphical user interface, responds to the player's first operation on the first prompt message, and centrally displays the setting parameters to be optimized, which solves the problem that the optimization options in the game settings in the related art are scattered, simplifies the parameter setting process, and improves the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart showing a jamming optimization method in this exemplary embodiment is shown;
[0017] Figure 2 A flowchart of a method for real-time monitoring of a game screen and determining the cause of a freeze when the game screen freezes is shown in this exemplary embodiment;
[0018] Figure 3 A schematic diagram showing a method of displaying first prompt information in a game screen in this exemplary embodiment;
[0019] Figure 4 A schematic diagram showing a method of displaying second prompt information in a setting interface in this exemplary embodiment is shown;
[0020] Figure 5 A flowchart showing a jamming optimization method in this exemplary embodiment is shown;
[0021] Figure 6 A flow chart of a method for displaying setting parameters to be optimized in this example implementation is shown;
[0022] Figure 7 A flowchart of a method for optimizing a jam after responding to a second operation on the setting parameter to be optimized in this example embodiment is shown;
[0023] Figure 8 A schematic diagram showing the structure of a jamming optimization device in this exemplary embodiment is shown;
[0024] Fig. 9 A schematic structural diagram of an electronic device in this exemplary embodiment is shown. DETAILED DESCRIPTION
[0025] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.
[0026] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.
[0027] As long-term mobile games continue to update their content, the performance requirements for players' terminal devices are gradually increasing, resulting in more and more players frequently encountering lag issues during the game, seriously affecting the players' gaming experience.
[0028] At present, the solution provided by most games is to provide some performance optimization options in the game settings, such as: information, special effects, image quality, etc. However, these performance optimization options are scattered, and the game settings include no less than settings that are not related to optimization. When players encounter lag in the game, even if some optimization settings in the game are set, the problem of lag may not be completely solved because players cannot distinguish which settings can effectively optimize game performance. As a result, players need to repeatedly try different optimization settings, which is both time-consuming and inefficient, further increasing the negative experience of players.
[0029] In view of the above problems, an exemplary embodiment of the present disclosure provides a method for optimizing lag. Figure 1 As shown, the jamming optimization method may include the following steps:
[0030] Step S110: monitor the game screen in real time, and when the game screen freezes, determine the cause of the freeze;
[0031] Step S120. Determine the setting parameter to be optimized according to the jamming cause, generate first prompt information corresponding to the setting parameter to be optimized, and display the first prompt information in the graphical user interface;
[0032] Step S130. In response to a first operation on the first prompt information, the setting parameters to be optimized are displayed, and in response to a second operation on the setting parameters to be optimized, game lag is optimized.
[0033] In the above-mentioned jamming optimization method, the game screen is monitored in real time, and when the game screen jams, the cause of the jam is determined; according to the jamming cause, the setting parameters to be optimized are determined, and a first prompt information corresponding to the setting parameters to be optimized is generated, and the first prompt information is displayed in the graphical user interface; in response to a first operation on the first prompt information, the setting parameters to be optimized are displayed, and in response to a second operation on the setting parameters to be optimized, the game jam is optimized. On the one hand, when jamming occurs in the game screen, the cause of the jam is determined, and the setting parameters to be optimized are determined according to the jamming cause, which solves the problem that players need to repeatedly try different optimization settings in the related art and improves the optimization efficiency; on the other hand, after determining the setting parameters to be optimized, a first prompt information is generated according to the setting parameters to be optimized, and the first prompt information is displayed in the graphical user interface, and in response to the player's first operation on the first prompt information, the setting parameters to be optimized are centrally displayed, which solves the problem that the optimization options in the game settings in the related art are scattered, simplifies the parameter setting process, and improves the player's gaming experience.
[0034] In an exemplary embodiment of the present disclosure, a graphical user interface is displayed by a terminal device, in which at least a game screen is displayed. The game screen may include a game scene, a game map, etc., which is not specifically limited in this exemplary embodiment.
[0035] Hereinafter, step S110 to step S130 will be further explained and illustrated.
[0036] In step S110, the game screen is monitored in real time, and when the game screen freezes, the cause of the freeze is determined.
[0037] In an exemplary embodiment, the frame rate of the game screen displayed on the player's terminal device can be monitored in real time during the game, and whether there is a freeze is determined based on the monitored frame rate. The real-time frame rate refers to the number of frames per second of the game screen. The more frames per second, the smoother the game screen will be. Figure 2 As shown, the real-time monitoring of the game screen and determining the cause of the freeze when the game screen freezes include:
[0038] Step S210: monitor the frame rate and / or hardware load data of the game screen in real time, and when the frame rate and / or the hardware load data reach a preset value, determine that the game screen is stuck;
[0039] Step S220: Analyze the terminal device parameters, game setting parameters and game scene parameters to obtain the cause of the game screen freeze.
[0040] In the following, step S210 and step S220 will be further explained and illustrated. Specifically, during the game, the game screen displayed on the player's terminal device can be monitored in real time, and when the real-time frame rate of the game screen reaches a preset value, it is determined that the game screen of the player is stuck, wherein the preset value may be a real-time frame rate less than 12, and the preset value is not specifically limited in this example embodiment.
[0041] During the game, the hardware load data of the player's terminal device can also be monitored. For example, the occupancy rate of the CPU and GPU of the terminal device can be monitored in real time. When the hardware load data of the terminal device reaches a preset value, it is determined that the player's game screen is stuck. The preset value can be that the occupancy rate of the CPU and GPU of the terminal device reaches 75%. In this example embodiment, the preset value is not specifically limited.
[0042] The frame rate of the game screen displayed by the terminal device and the hardware load data of the terminal device can also be monitored in real time. When the monitored frame rate of the game screen reaches a preset value and the hardware load data reaches a preset value, it is determined that the game screen is stuck.
[0043] When it is determined that the player's game screen is stuck, a stuck analysis can be performed based on the player's terminal device parameters, game setting parameters, and game scene parameters to obtain the cause of the player's stuck. Among them, the terminal device parameters can be the performance parameters of the player's terminal device, such as CPU, GPU, etc.; the game setting parameters can be the setting parameters of the various game settings of the player in the game, for example, the player sets the game image quality to the highest image quality, etc.; the game scene parameters can be the scene data of the game scene displayed on the current game screen. For example, when the player's current game scene is a new map scene, there are a large number of map models, textures, light and shadow data to be loaded in the new map scene; in this example embodiment, the terminal device parameters, game setting parameters, and game scene parameters are not specifically limited. The cause of the player's stuck can be at least one of the terminal device parameters, game setting parameters, and game scene parameters. In this example embodiment, the cause of the stuck is not specifically limited.
[0044] Exemplarily, when it is determined that the player's game screen is stuck, the CPU occupancy rate, GPU occupancy rate of the player's terminal device, shadow parameters, resolution parameters, skill special effect parameters, the number of players on the same screen, skill special effect parameters, jump information parameters, the game scene displayed in the current game screen, the number of players included in the currently displayed game scene, the game map corresponding to the current game scene, and the model included in the game scene are analyzed to obtain the specific cause of the stuck.
[0045] In an exemplary embodiment, after a player's terminal device freezes during a game, an analysis is performed based on terminal device parameters, game setting parameters, and game scene parameters, and the cause of the freeze is at least one of the following reasons, which may include: hardware performance reasons, game parameter reasons, and game scene reasons.
[0046] Specifically, hardware performance reasons may include: performance limitation reasons and frequency reduction reasons. Performance limitation reasons may include that the player's terminal device is a low-end or old device, resulting in insufficient CPU and GPU performance; frequency reduction reasons may include that the player's terminal device is overheated, resulting in CPU and GPU frequency reduction and performance degradation.
[0047] Game parameter reasons, that is, players set all game settings to the highest according to their own needs, causing game lag, including: image quality setting reasons, player number reasons, skill special effects reasons, and word skipping reasons. Image quality setting reasons include players setting the game's resolution, shadow quality, special effects instructions, etc. beyond the tolerance of the terminal device; player number reasons include too many players on the same screen, resulting in excessive rendering pressure; skill special effects reasons include players setting skill special effects to skill special effects with high particle density, resulting in excessive GPU load; word skipping reasons include: players setting the word skipping information to display the word skipping information of all players, and frequent word skipping information increases the rendering burden.
[0048] The game scene reason, that is, the game scene that the player is currently in causes the game screen to freeze, including the scene dominated by player density, the scene with resource loading peak, and the scene with special effects and concurrent types. The scene dominated by player density can be the main city scene in the game, where there are many players and the rendering pressure of virtual characters, fashions, mounts, etc. is high. The scene with resource loading peak can be the game scene corresponding to the new map in the game, where the loading volume of resources such as map models, textures, and movies is large. The scene with special effects and concurrent types can be the multiplayer battle scene in the game, or the dungeon Boss battle scene. In the multiplayer battle scene, the special effects and skills are dense and the jumping information is frequent; in the dungeon Boss battle scene, the Boss skill special effects are complex and there are many players on the same screen.
[0049] For example, when the player's CPU usage reaches 80%, the player sets the resolution beyond the tolerance of the player's terminal device, sets the skill special effects to high particle density skill special effects, and sets the skipping character information parameters to view the skipping character information of all players, the reasons for the player's game screen being stuck are hardware performance reasons, image quality setting reasons, skill special effects reasons, and skipping character information reasons.
[0050] Continue to refer Figure 1 In step S120, according to the cause of the jamming, the setting parameters to be optimized are determined, and first prompt information corresponding to the setting parameters to be optimized is generated, and the first prompt information is displayed in the graphical user interface.
[0051] In an exemplary embodiment, after determining the cause of the jamming, the setting parameter to be optimized can be determined in the game setting parameters according to the cause of the jamming, and the first prompt information corresponding to the setting parameter to be optimized is generated. Figure 3After the first prompt information is generated, the first prompt information 301 can be displayed in the game interface. The game setting parameters refer to the settings and variables used to control the game performance and behavior during the game operation. The game setting parameters may include: game interface parameters, control parameters, display parameters, image quality parameters, push parameters, etc. In this example embodiment, the game setting parameters are not specifically limited. The setting parameters to be optimized are the parameters in the game setting parameters that cause the terminal device screen to freeze.
[0052] After determining the parameters to be optimized, first prompt information may be generated and displayed in a graphical user interface; wherein the first prompt information may be a graphic mark or a text mark, and the display form of the first prompt information is not specifically limited in this exemplary embodiment. The first prompt information may be displayed in a preset position of the graphical user interface, and the preset position may be the upper right corner of the graphical user interface or the upper left corner of the graphical user interface, and this is not specifically limited in this exemplary embodiment.
[0053] In an exemplary embodiment, determining the setting parameters to be optimized according to the jamming cause includes:
[0054] According to the cause of the lag and the game scene included in the current game screen, the setting parameters to be optimized are determined in the game setting parameters.
[0055] Specifically, after determining the cause of the lag, the setting parameters to be optimized can be determined in the game setting parameters according to the cause of the lag of the player and the game scene included in the player's current game screen.
[0056] Exemplarily, when the cause of the freeze is hardware performance, the parameters to be optimized may include: image quality setting parameters, such as reducing resolution, reducing shadow quality, reducing special effects quality, etc.; reducing the number of players on the same screen; shielding other players' skill special effects, shielding some jump word information, etc. When the player's current game scene is a player density-dominated scene, that is, when in the main city scene, the parameters to be optimized may include reducing the number of players on the same screen and shielding other players' skill special effects. When the player's current game scene is a resource loading peak scene, that is, when in a new map scene or a complex map scene, the parameters to be optimized may include reducing image quality and turning off high-load special effects. When the player's current game scene is a special effect concurrent scene, that is, when in a multiplayer battle scene, the parameters to be optimized may include: shielding other players' skill special effects and reducing jump word information; when in a game copy or a Boss battle scene, the parameters to be optimized may include: weakening monsters and Boss skill special effects.
[0057] Continue to refer Figure 1In step S130, in response to a first operation on the first prompt information, the setting parameters to be optimized are displayed, and in response to a second operation on the setting parameters to be optimized, the game lag is optimized.
[0058] In an exemplary embodiment, after the first prompt information is displayed in the game screen, the player can perform a first operation on the first prompt information. After the player performs the first operation on the first prompt information, in response to the player's first operation on the first prompt information, the setting parameters to be optimized are centrally displayed in the graphical user interface. After the setting parameters to be optimized are displayed in the graphical user interface, the user can perform a second operation on the setting parameters to be optimized, and in response to the user's second operation, optimization is performed based on the second operation. Among them, the first operation on the first prompt information can be a click operation on the first prompt information, or a long press operation, and the first operation is not specifically limited in this exemplary embodiment. The second operation on the setting parameters to be optimized can be a selection operation on the setting parameters to be optimized, or a modification operation, and the second operation is not specifically limited in this exemplary embodiment.
[0059] Exemplarily, when it is determined that the cause of the player's lag is that the setting parameters such as special effect quality exceed the tolerance range of the player's terminal device, the setting parameters to be optimized are determined based on the lag cause and the game scene included in the current game screen, such as friendly player special effect shielding (only effective in outdoor scenes and copies) and other player skill special effect shielding (only effective in outdoor scenes and copies). A first prompt message is generated based on the setting parameters to be optimized, and in response to the player's click operation on the first prompt message, the setting parameters to be optimized are displayed. After the setting parameters to be optimized are displayed, the player can change the settings of the setting parameters to be optimized, and change the status of the parameter friendly player special effect shielding (only effective in outdoor scenes and copies) to on, and change the status of the parameter other player skill special effect shielding (only effective in outdoor scenes and copies) to on.
[0060] In an exemplary embodiment, after displaying the setting parameters to be optimized, the method further includes:
[0061] In response to a third operation on the setting parameter to be optimized, the first prompt information is not displayed within a preset time period.
[0062] Specifically, after the setting parameters to be optimized are displayed in the game interface, the user can choose to ignore the modification of the setting parameters to be optimized, that is, the player can choose to skip the setting of the current setting parameters to be optimized, respond to the player's third operation, ignore the setting of the current setting parameters to be optimized, and do not display the first prompt information in the game interface within the preset time period, wherein the third operation can be an ignoring operation on the setting parameters to be optimized, and the third operation is not specifically limited in the present example embodiment, and the preset time period can be 1 day or 3 days, and the preset time period is not specifically limited in the present example embodiment.
[0063] In an exemplary embodiment, after determining the setting parameters to be optimized, the method further includes:
[0064] Generate second prompt information corresponding to the setting parameter to be optimized, and display the second prompt information in the setting interface.
[0065] Specifically, after determining the setting parameters to be optimized, a second prompt information can be generated according to the setting parameters to be optimized, and the second prompt information can be displayed in the setting interface; wherein the second prompt information can be a graphic mark or a text mark, and the second prompt information is not specifically limited in this example embodiment. The second prompt information can be displayed in the upper left corner of the setting interface, or in the upper right corner of the setting interface, and this is not specifically limited in this example embodiment. Reference Figure 4 As shown, after the setting interface is opened, at least the game setting parameters and the second prompt information 401 are displayed in the graphical user interface of the terminal device.
[0066] In an exemplary embodiment, the setting interface includes a tab page corresponding to the setting parameter to be optimized. After the game setting parameter and the second prompt information are displayed in the graphical user interface, the setting parameter to be optimized can be displayed in response to the player's fourth operation on the second prompt information. Figure 5 As shown, the method also includes:
[0067] Step S510. In response to a fourth operation on the second prompt information, locate the tab page corresponding to the setting parameter to be optimized, generate an optimization mark corresponding to the setting parameter to be optimized, and prompt the setting parameter to be optimized based on the optimization;
[0068] Step S520: In response to the fifth operation on the parameters to be optimized, the game lag is optimized.
[0069] Below, step S510 and step S520 will be further explained and illustrated. Specifically, the setting interface includes multiple tabs, such as interface, control, display, image quality, chat, etc., and the tabs include multiple setting parameters. In this example embodiment, the tabs are not specifically limited. After obtaining the setting parameters to be optimized, the tabs corresponding to each setting parameter to be optimized included in the setting interface are determined. The player can perform a fourth operation on the second prompt information displayed in the setting interface. In response to the fourth operation of the player, the tab corresponding to the setting parameter to be optimized is located, and the setting parameter to be optimized in the tab is displayed. When the setting parameter to be optimized is displayed, an optimization mark corresponding to the setting parameter to be optimized can be generated, and the optimization mark is displayed to serve as a reminder. In this example embodiment, the optimization mark corresponding to the setting parameter to be optimized is not specifically limited. After the setting parameter to be optimized is prompted in the setting interface, the user can perform a fifth operation on the setting parameter to be optimized, and in response to the fifth operation, the jam is optimized. The fifth operation on the setting parameters to be optimized may be a selection operation or a modification operation, which is not specifically limited in this example embodiment.
[0070] In an exemplary embodiment, the method further comprises:
[0071] In response to a sixth operation on the second prompt information, a tab page corresponding to a setting parameter to be optimized next to the currently displayed setting parameter to be optimized is located, and a prompt is given for the setting parameter to be optimized next.
[0072] Specifically, the setting parameters to be optimized and their corresponding tabs can be stored in the form of a list. After the user performs the fifth operation on the second prompt information, when performing the sixth operation, the next setting parameter to be optimized of the currently displayed setting parameter to be optimized and the tab where the next setting parameter to be optimized is located are determined in the list, and in response to the user's sixth operation, the tab corresponding to the next setting parameter to be optimized is located, and the next setting parameter to be optimized is prompted. Among them, the sixth operation can be a click operation on the second prompt information, or a long press operation. In this example embodiment, the sixth operation is not specifically limited; when prompting the next setting parameter to be optimized, an optimization identifier corresponding to the next setting parameter to be optimized can be generated and displayed. In this example embodiment, the optimization identifier is not specifically limited.
[0073] It should be noted that after the player modifies or selects a setting parameter to be optimized, the setting parameter to be optimized can be deleted from the list.
[0074] In an exemplary embodiment, the method further comprises:
[0075] When the setting parameter to be optimized does not exist, the second prompt information is not displayed in the setting interface.
[0076] Specifically, when the list storing the setting parameters to be optimized is not empty, the second prompt information is displayed in the setting interface. When the list storing the setting parameters to be optimized is empty, the second prompt information is not displayed in the setting interface.
[0077] In an exemplary embodiment, after responding to the first operation on the first prompt information, the setting parameter to be optimized may be displayed in a graphical user interface. Figure 6 As shown, displaying the setting parameters to be optimized may include:
[0078] Step S610. Generate a pop-up window interface in a preset area of the graphical user interface, and display the setting parameters to be optimized in the pop-up window interface;
[0079] Step S620: Generate an optimization mark corresponding to the setting parameter to be optimized, and display the optimization mark.
[0080] In the following, step S610 and step S620 will be further explained and illustrated. Specifically, in response to the first operation, a pop-up window interface can be generated in a preset area of the graphical user interface, and the setting parameters to be optimized are centrally displayed in the pop-up window interface. After the setting parameters to be optimized are displayed in the pop-up window interface, an optimization mark corresponding to the setting parameters to be optimized can also be generated, and the optimization mark is displayed in the pop-up window interface, wherein the optimization mark can be displayed on the right side of the setting parameters to be optimized, or on the left side of the setting parameters to be optimized, which is not specifically limited in this example embodiment.
[0081] In an exemplary embodiment, after the setting parameter to be optimized is displayed in the pop-up window interface of the graphical user interface, the user can perform a second operation on the setting parameter to be optimized. In response to the second operation of the user, reference is made to Figure 7 As shown, after responding to the second operation on the setting parameter to be optimized, the method further includes:
[0082] Step S710. Generate a second operation instruction based on the second operation; wherein the second operation instruction includes a first setting parameter to be optimized that is operated among the setting parameters to be optimized;
[0083] Step S720: cancel display of the first setting parameter to be optimized and the optimization mark corresponding to the first setting parameter to be optimized in the pop-up window interface.
[0084] Specifically, the second operation of the player may be an operation on some of the setting parameters to be optimized, or an operation on all of the setting parameters to be optimized, which is not specifically limited in this example embodiment. In response to the second operation of the player, a second operation instruction is generated based on the second operation, and the second operation instruction includes the first setting parameter to be optimized that is operated by the player among the setting parameters to be optimized. The first setting parameter to be optimized may be some of the setting parameters to be optimized, or may be all of the setting parameters to be optimized, which is not specifically limited in this example embodiment. After the second operation instruction is generated, the first setting parameter to be optimized and the optimization mark corresponding to the first setting parameter to be optimized are canceled from the pop-up interface.
[0085] In an exemplary embodiment, after responding to a second operation of setting parameters to be optimized, the game freeze can be optimized based on the second operation. The game freeze optimization includes:
[0086] The current parameter value of the first setting parameter to be optimized is obtained, and based on running the current parameter value, the cause of the jamming corresponding to the first setting parameter to be optimized is eliminated to optimize the game jamming.
[0087] Specifically, the current parameter value of the first setting parameter to be optimized is obtained, that is, the value after the player sets the first setting parameter to be optimized is obtained. During the game, the current parameter value is run to eliminate the cause of lag corresponding to the first setting parameter to be optimized, and the game lag is optimized based on this.
[0088] Exemplarily, when the parameters to be optimized include resolution, reducing the number of players on the same screen, and reducing skipping information, the first parameter to be optimized operated by the player is to reduce the number of players on the same screen and reduce skipping information. Then, in response to the player's operation, processing is performed based on reducing the number of players on the same screen and reducing skipping information while the game is running, thereby eliminating the cause of the game parameters that cause the lag and optimizing the game lag.
[0089] The lag optimization method provided by the exemplary embodiment of the present disclosure has at least the following advantages: on the one hand, when lag occurs in the game screen, the cause of the lag is determined, and the setting parameters to be optimized are determined based on the cause of the lag, which solves the problem in the related art that players need to repeatedly try different optimization settings, thereby improving the efficiency of optimization; on the other hand, after the setting parameters to be optimized are determined, a first prompt message is generated based on the setting parameters to be optimized, the first prompt message is displayed in a graphical user interface, and in response to the player's first operation on the first prompt message, the setting parameters to be optimized are displayed in a centralized manner, which solves the problem in the related art that the optimization options in the game settings are scattered, simplifies the setting process, and improves the player's gaming experience; on the other hand, a second prompt message is added to the game setting interface, and the player can quickly locate the setting parameters to be optimized through the second prompt message, thereby reducing the complexity of operation.
[0090] The exemplary embodiment of the present disclosure also provides a jamming optimization device, referring to Figure 8 As shown, the Caton optimization device includes the following:
[0091] A freeze detection module 810 is used to monitor the game screen in real time and determine the cause of the freeze when the game screen freezes;
[0092] A jam prompt module 820, configured to determine a setting parameter to be optimized according to the jam cause, generate first prompt information corresponding to the setting parameter to be optimized, and display the first prompt information in a graphical user interface;
[0093] The parameter optimization module 830 is used to respond to a first operation on the first prompt information to display the setting parameters to be optimized, and respond to a second operation on the setting parameters to be optimized to optimize the game freeze.
[0094] In an exemplary embodiment, the jam detection module includes:
[0095] A detection module, used to monitor the frame rate and / or hardware load data of the game screen in real time, and determine that the game screen is stuck when the frame rate and / or the hardware load data reaches a preset value;
[0096] The freeze cause determination module is used to analyze the terminal device parameters, game setting parameters and game scene parameters to obtain the freeze cause of the game screen.
[0097] In an exemplary embodiment, the causes of the lag include: hardware performance reasons, game parameter reasons and game scene reasons; wherein the hardware performance reasons include performance limitation reasons and frequency reduction reasons; the game parameter reasons include image quality setting reasons, number of players reasons, skill special effects reasons and word skipping information reasons; the game scene reasons include being in a player density-dominated scene, being in a resource loading peak scene and being in a special effects concurrent scene.
[0098] In an exemplary embodiment, the jam prompt module includes:
[0099] The module for determining setting parameters to be optimized is used to determine setting parameters to be optimized in the game setting parameters according to the cause of the lag and the current game scene.
[0100] In an exemplary embodiment, the parameter optimization module includes:
[0101] The second prompt information generating module is used to generate second prompt information corresponding to the setting parameter to be optimized, and display the second prompt information in the setting interface.
[0102] In an exemplary embodiment, the setting interface includes a tab page corresponding to the setting parameter to be optimized, and the parameter optimization module includes:
[0103] a tab page positioning module, configured to respond to a fourth operation on the second prompt information, locate the tab page corresponding to the setting parameter to be optimized, generate an optimization identifier corresponding to the setting parameter to be optimized, and prompt the setting parameter to be optimized based on the optimization;
[0104] The fifth operation response module is used to respond to the fifth operation of the setting parameters to be optimized to optimize the game freeze.
[0105] In an exemplary embodiment, the parameter optimization module includes:
[0106] The sixth operation response module is used to respond to the sixth operation on the second prompt information, locate to the tab page corresponding to the next setting parameter to be optimized of the currently displayed setting parameter to be optimized, and prompt the next setting parameter to be optimized.
[0107] In an exemplary embodiment, the card parameter optimization module includes:
[0108] The second prompt information processing module is used for not displaying the second prompt information in the setting interface when the setting parameter to be optimized does not exist.
[0109] In an exemplary embodiment, the parameter optimization module includes:
[0110] A display module for setting parameters to be optimized, used to generate a pop-up window interface in a preset area of the graphical user interface, and display the setting parameters to be optimized in the pop-up window interface;
[0111] The optimization mark display module is used to generate an optimization mark corresponding to the setting parameter to be optimized and display the optimization mark.
[0112] In an exemplary embodiment, the parameter optimization module includes:
[0113] An operation instruction generating module, configured to generate a second operation instruction based on the second operation; wherein the second operation instruction includes a first setting parameter to be optimized that is operated among the setting parameters to be optimized;
[0114] The optimization mark canceling display module is used to cancel the display of the first setting parameter to be optimized and the optimization mark corresponding to the first setting parameter to be optimized in the pop-up window interface.
[0115] In an exemplary embodiment, the parameter optimization module includes:
[0116] The jamming optimization module is used to obtain the current parameter value of the first setting parameter to be optimized, and based on running the current parameter value, eliminate the jamming cause corresponding to the first setting parameter to be optimized to optimize the game jamming.
[0117] In an exemplary embodiment, the parameter optimization module includes:
[0118] The third operation response module is used to respond to a third operation on the setting parameter to be optimized and not display the first prompt information within a preset time period.
[0119] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0120] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0121] In addition, although the steps of the method of the present invention are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0122] In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
[0123] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0124] Refer to the following Fig. 9 An electronic device 900 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0125] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
[0126] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 1 Step S110 shown in: real-time monitoring of the game screen, and when the game screen freezes, determining the cause of the freeze; S120: determining the setting parameters to be optimized based on the cause of the freeze, and generating first prompt information corresponding to the setting parameters to be optimized, and displaying the first prompt information in the graphical user interface; S130: responding to a first operation on the first prompt information, displaying the setting parameters to be optimized, and responding to a second operation on the setting parameters to be optimized, optimizing the game freeze.
[0127] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .
[0128] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0129] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0130] The electronic device 900 may also communicate with one or more external devices 1000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. In addition, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks, independent redundant disk arrays) systems, tape drives, and data backup storage systems.
[0131] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present invention.
[0132] In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of this specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
[0133] The program product for implementing the above method according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0134] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0135] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0136] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
[0137] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0138] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0139] Other embodiments of the invention will readily occur to those skilled in the art after considering the specification and practicing the invention invented herein. This application is intended to cover any variations, uses or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art that are not invented by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.
Claims
1. A jamming optimization method, characterized in that: Displaying a graphical user interface by a terminal device, wherein at least a game screen is displayed in the graphical user interface, the method comprises: Monitor the game screen in real time, and when the game screen freezes, determine the cause of the freeze; Determine, according to the cause of the jamming, a setting parameter to be optimized, generate first prompt information corresponding to the setting parameter to be optimized, and display the first prompt information in the graphical user interface; In response to a first operation on the first prompt information, the setting parameters to be optimized are displayed, and in response to a second operation on the setting parameters to be optimized, game lag is optimized.
2. The method according to claim 1, characterized in that The real-time monitoring of the game screen and determining the cause of the freeze when the game screen freezes include: The frame rate and / or hardware load data of the game screen are monitored in real time, and when the frame rate and / or the hardware load data reach a preset value, it is determined that the game screen is stuck; The reasons for the freezing of the game screen are obtained by analyzing the terminal device parameters, game setting parameters and game scene parameters.
3. The method according to claim 2, characterized in that The reasons for the lag include: hardware performance reasons, game parameter reasons and game scene reasons; among them, the hardware performance reasons include performance limitation reasons and frequency reduction reasons; the game parameter reasons include image quality setting reasons, number of players reasons, skill special effects reasons and word skipping reasons; the game scene reasons include being in a player density-dominated scene, a resource loading peak scene and a special effects concurrent scene.
4. The method according to claim 2, characterized in that: Determining the setting parameters to be optimized according to the cause of the jamming includes: According to the cause of the lag and the game scene included in the current game screen, the setting parameters to be optimized are determined in the game setting parameters.
5. The method according to claim 1, characterized in that After determining the setting parameters to be optimized, the method further includes: Generate second prompt information corresponding to the setting parameter to be optimized, and display the second prompt information in the setting interface.
6. The method according to claim 5, characterized in that in, The setting interface includes a tab page corresponding to the setting parameter to be optimized; the method further includes: In response to a fourth operation on the second prompt information, locating to a tab page corresponding to the setting parameter to be optimized, generating an optimization mark corresponding to the setting parameter to be optimized, and prompting the setting parameter to be optimized based on the optimization; In response to a fifth operation on the parameters to be optimized, game lag is optimized.
7. The method according to claim 6, characterized in that The method further comprises: In response to a sixth operation on the second prompt information, a tab page corresponding to a setting parameter to be optimized next to the currently displayed setting parameter to be optimized is located, and a prompt is given for the setting parameter to be optimized next.
8. The method according to claim 6, characterized in that The method further comprises: When the setting parameter to be optimized does not exist, the second prompt information is not displayed in the setting interface.
9. The method according to claim 1, characterized in that: The displaying of the setting parameters to be optimized includes: Generating a pop-up window interface in a preset area of the graphical user interface, and displaying the setting parameters to be optimized in the pop-up window interface; An optimization mark corresponding to the setting parameter to be optimized is generated, and the optimization mark is displayed.
10. The method according to claim 9, characterized in that After responding to the second operation on the setting parameter to be optimized, the method further includes: Generate a second operation instruction based on the second operation; wherein the second operation instruction includes a first setting parameter to be optimized that is operated among the setting parameters to be optimized; The first setting parameter to be optimized and the optimization mark corresponding to the first setting parameter to be optimized are cancelled from being displayed in the pop-up window interface.
11. The method according to claim 10, characterized in that The optimization of game jams includes: The current parameter value of the first setting parameter to be optimized is obtained, and based on running the current parameter value, the cause of the jamming corresponding to the first setting parameter to be optimized is eliminated to optimize the game jamming.
12. The method according to claim 1, characterized in that After displaying the setting parameters to be optimized, the method further includes: In response to a third operation on the setting parameter to be optimized, the first prompt information is not displayed within a preset time period.
13. A jamming optimization device, characterized in that: The device comprises: A freeze detection module is used to monitor the game screen in real time and determine the cause of the freeze when the game screen freezes; A jam prompt module, used to determine the setting parameters to be optimized according to the jam cause, generate first prompt information corresponding to the setting parameters to be optimized, and display the first prompt information in a graphical user interface; The parameter optimization module is used to respond to a first operation on the first prompt information to display the setting parameters to be optimized, and respond to a second operation on the setting parameters to be optimized to optimize the game freeze.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
15. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 12 by executing the executable instructions.
Citation Information
Patent Citations
Method and device for automatically adjusting game parameters, mobile terminal and readable storage medium
CN109529343A
Prompting method and device for solving mobile phone game jamming and mobile terminal
CN111131611A
Terminal equipment control method and device, electronic equipment and storage medium
CN114082177A