Game software debugging method

Through real-time monitoring and evaluation index generation of the game software user interface, abnormal hidden dangers can be discovered and repaired in a timely manner, which solves the problem of user interface debugging lag and ensures its efficient operation and stability.

CN116775502BActive Publication Date: 2024-09-17DATOU CULTURE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311081455.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2024-09-17
Estimated Expiration
2043-08-25

AI Technical Summary

Technical Problem

User interface anomalies and hidden dangers in game software cannot be detected and repaired in time, resulting in debugging lag and affecting the efficient operation of the user interface.

Method used

By collecting multiple information when the user interface is running, an evaluation index is generated, compared with the preset threshold, and early warning prompts and debugging notifications are issued to ensure timely troubleshooting and debugging.

Benefits of technology

It effectively prevents the user interface from appearing abnormal hidden dangers again after debugging, ensures its stable and efficient operation, and improves debugging efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116775502B
    Figure CN116775502B
Patent Text Reader

Abstract

The present invention discloses a game software debugging method, which relates to the field of game software management technology, and includes the following steps: S100, collecting multiple information when the user interface in the game software is running, including interface performance information and interface element information, and after the collection, processing the interface performance information and interface element information when the user interface is running. The present invention monitors the running state of the user interface in the game software, and when the running state of the user interface may have abnormal hidden dangers, timely prompts relevant staff to timely check the abnormal hidden dangers that may appear in the user interface, and timely discovers the abnormal hidden dangers that may exist in the user interface. When the user interface has abnormal hidden dangers, the debugging personnel are notified to debug the user interface in time to ensure the efficient operation of the user interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of game software management, and in particular to a game software debugging method. Background Art

[0002] Game software debugging refers to the process of discovering and fixing errors and problems in the game by using different tools and techniques during the game development process to ensure the normal operation of the game and optimize the user experience. Debugging is an indispensable part of game development and can help developers find and solve potential bugs, logical errors, performance issues, etc.

[0003] The User Interface (UI) in game software plays a vital role in the game. It is the bridge between the game and the players. The user interface is the main way for players to interact with the game. Through the UI, players can interact with the game by clicking buttons, entering text, selecting options, etc., which directly affects the game experience and fun.

[0004] The prior art has the following deficiencies:

[0005] However, when the user interface of the game software has abnormal hidden dangers, the game software cannot perceive and feedback. It is not until the user interface of the game software has obvious abnormalities that it can be known through the feedback of players. At this time, the debugger will debug the abnormalities of the user interface in the game software. There is a serious lag in debugging, which will affect the efficient operation of the user interface in the game software.

[0006] When debugging the user interface in the game software, the debugger cannot evaluate the debugging status of the user interface. It is easy for abnormal hidden dangers to appear again after running for a period of time after debugging, which makes it inconvenient for the debugger to debug the abnormal hidden dangers of the user interface efficiently.

[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention

[0008] The purpose of the present invention is to provide a game software debugging method. The present invention monitors the running status of the user interface in the game software. When the running status of the user interface may have abnormal hidden dangers, the present invention promptly prompts relevant staff to promptly check the abnormal hidden dangers that may appear in the user interface, and promptly discovers the abnormal hidden dangers that may exist in the user interface. When the user interface has abnormal hidden dangers, the present invention notifies the debugging personnel to debug the user interface in time to ensure the efficient operation of the user interface, so as to solve the problems in the above-mentioned background technology.

[0009] In order to achieve the above object, the present invention provides the following technical solution: a game software debugging method, comprising the following steps:

[0010] S100, collecting multiple pieces of information when the user interface in the game software is running, including interface performance information and interface element information, and after the collection, processing the interface performance information and interface element information when the user interface is running;

[0011] S200, after obtaining the processed interface performance information and interface element information when the user interface is running, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index;

[0012] S300, comparing the evaluation index generated when the user interface is running with a preset evaluation index reference threshold, generating a high hidden danger risk signal or a low hidden danger risk signal, and issuing a warning prompt for the high hidden danger risk signal, and not issuing a warning prompt for the low hidden danger risk signal;

[0013] S400, collecting evaluation indexes generated when the user interface is running, establishing a data set from the collected evaluation indexes, and comprehensively analyzing the evaluation indexes in the data set to determine the debugging status when abnormal hidden dangers occur in the user interface.

[0014] Preferably, the interface performance information during the operation of the user interface includes an interface response anomaly concealment coefficient and an interface frame rate anomaly fluctuation coefficient. After collection, the interface response anomaly concealment coefficient and the interface frame rate anomaly fluctuation coefficient are calibrated as and The interface element information includes the abnormal displacement coefficient of the interface element. After collection, the abnormal displacement coefficient of the interface element is calibrated as .

[0015] Preferably, the logic for obtaining the interface response abnormal concealment coefficient is as follows:

[0016] S101, obtaining the optimal response time range during the operation of the user interface, and marking the optimal response time range as ;

[0017] S102: Obtain several actual response times generated during the operation of the user interface within T time, and mark the actual response time as , y The number indicating the actual response time generated during the operation of the user interface within T time. y =1, 2, 3, 4, ..., m , m is a positive integer;

[0018] S103, will be less than the optimal response time range The actual response time is recalibrated to , k Indicates that it is less than the optimal response time range The actual response time. k =1, 2, 3, 4, ..., n , n is a positive integer;

[0019] S104, the maximum value of the optimal response time range and actual response time Calculate the interface response anomaly concealment coefficient, the calculation expression is: .

[0020] Preferably, the logic for obtaining the interface frame rate abnormal fluctuation coefficient is as follows:

[0021] S201, obtaining the average frame rate of different time periods during the operation of the user interface within T time, and calibrating the average frame rate as , x Indicates the number of the average frame rate in different periods of time T during the operation of the user interface. x =1, 2, 3, 4, ..., c , c is a positive integer;

[0022] S202, calculate the standard deviation of the average frame rate in different time periods during the operation of the user interface, and calibrate the standard deviation as G ,but:

[0023] ,in, is the average of the average frame rates in different time periods during the operation of the user interface, and the calculation formula is: ;

[0024] S203: Standard deviation generated during operation in the user interface during the T time G Calculate the abnormal fluctuation coefficient of the interface frame rate. The calculation expression is: .

[0025] Preferably, the logic for obtaining the abnormal shift coefficient of the interface element is as follows:

[0026] S301, obtaining the initial position of an interface element in a user interface, and recording the initial position of the interface element;

[0027] S302, establishing a plane rectangular coordinate system with the center position of the interface element in the user interface as the origin of the coordinate system;

[0028] S303, obtaining the center position of the interface element in the user interface at the last moment within T time, and marking the center position as ( , );

[0029] S304, calculating the lateral displacement, longitudinal displacement and total displacement of the interface elements in the user interface within T time, and calibrating the lateral displacement, longitudinal displacement and total displacement respectively as , as well as ,but , , ;

[0030] S305, calculating the abnormal displacement index of the interface elements in the user interface within T time, and calibrating the abnormal position index as , through the lateral displacement of the interface elements in the user interface within T time , longitudinal displacement and the total displacement Calculate the abnormal location index , the calculation expression is: , x 1. x 2. x 3 are the lateral displacements , longitudinal displacement and the total displacement The weight factor of , all values ​​are greater than 0;

[0031] S306. Calculate the abnormal displacement coefficient of the interface element in the user interface by using the abnormal displacement index of the interface element in the T time. The calculation expression is: , h Indicates the number of the interface element in the user interface. h =1, 2, 3, 4, ..., j , j Is a positive integer.

[0032] Preferably, the interface response anomaly concealment coefficient is obtained , Interface frame rate abnormal fluctuation coefficient And the abnormal displacement coefficient of interface elements After that, a data analysis model is established to generate an evaluation index , based on the formula:

[0033]

[0034] In the formula, , , is the interface response anomaly concealment coefficient , Interface frame rate abnormal fluctuation coefficient Abnormal displacement coefficient of interface elements The preset scaling factor of , , Both are greater than 0.

[0035] Preferably, the evaluation index generated when the user interface is running is compared with a pre-set evaluation index reference threshold. If the evaluation index is greater than or equal to the evaluation index reference threshold, a high hidden danger risk signal is generated and an early warning is issued for the high hidden danger risk signal. If the evaluation index is less than the evaluation index reference threshold, a low hidden danger risk signal is generated and no early warning is issued for the low hidden danger risk signal.

[0036] Preferably, the evaluation indexes generated when the user interface is running are collected, and a data set is established for the collected evaluation indexes, and the output evaluation index is calibrated as , and label the data set as U ,but , p represents the number of the evaluation index within the data set, p =1, 2, 3, 4, ..., s , s is a positive integer;

[0037] Calculate the average value and standard deviation of several evaluation indexes in the data set, and compare the average value and standard deviation of the evaluation index with the pre-set evaluation index reference threshold and the pre-set standard deviation reference threshold, respectively, to generate the following situation:

[0038] If the average value of the evaluation index is greater than or equal to the reference threshold value of the evaluation index, a signal indicating that the debugging of the abnormal hidden danger of the user interface has failed is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, so that the debugging personnel are prompted through the mobile terminal that the debugging of the abnormal hidden danger of the user interface has failed;

[0039] If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is greater than or equal to the reference threshold of the standard deviation, a signal indicating abnormal hidden dangers and unstable debugging of the user interface is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, so as to prompt the debugging personnel through the mobile terminal that the abnormal hidden dangers and unstable debugging of the user interface are detected;

[0040] If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is less than the reference threshold of the standard deviation, a signal indicating successful debugging of the abnormal hidden danger of the user interface is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, prompting the debugging personnel through the mobile terminal that the abnormal hidden danger of the user interface has been successfully debugged.

[0041] In the above technical solution, the technical effects and advantages provided by the present invention are:

[0042] The present invention monitors the running state of the user interface in the game software. When the running state of the user interface may have abnormal hidden dangers, the relevant staff is promptly prompted to timely check the abnormal hidden dangers that may appear in the user interface, and the abnormal hidden dangers that may exist in the user interface are discovered in time. When the user interface has abnormal hidden dangers, the debugging personnel are notified to debug the user interface in time, so as to ensure the efficient operation of the user interface.

[0043] When debugging the hidden dangers of abnormalities existing in the user interface, the present invention establishes a data set for comprehensive analysis through a number of evaluation indexes generated when the user interface is running, thereby effectively preventing the situation where the hidden dangers of abnormalities existing in the user interface appear again after the user interface has run for a period of time after the abnormalities existing in the user interface are debugged, ensuring that the debugging personnel can efficiently debug the hidden dangers of abnormalities existing in the user interface and ensuring that the user interface runs stably and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0045] Figure 1 The present invention is a flowchart of the method for debugging game software. DETAILED DESCRIPTION

[0046] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art.

[0047] The present invention provides Figure 1 The game software debugging method shown includes the following steps:

[0048] S100, collecting multiple pieces of information when the user interface in the game software is running, including interface performance information and interface element information, and after the collection, processing the interface performance information and interface element information when the user interface is running;

[0049] The interface performance information during the user interface runtime includes the interface response anomaly concealment coefficient and the interface frame rate anomaly fluctuation coefficient. After collection, the interface response anomaly concealment coefficient and the interface frame rate anomaly fluctuation coefficient are calibrated as and ;

[0050] User interface response delay in gaming software refers to the time interval between when a player performs an action (such as clicking a button, moving a character, inputting text, etc.) and actually sees the corresponding change or feedback on the screen. User interface response delay in gaming software can seriously affect the player's gaming experience and may cause the following problems:

[0051] Reduced game fun: Delays will cause players to not see the corresponding response immediately after clicking a button or performing an action, which will make players feel uncomfortable and reduce the fun and appeal of the game;

[0052] Reduced fluency: Latency will cause the game screen and player operations to be out of sync, making the overall game feel unsmooth and affecting the player's experience;

[0053] Difficulty in operation: Delays can make it difficult for players to perform operations accurately, which may lead to misoperations and failures, which is particularly serious for games that require precise operations;

[0054] Unreal experience: Real-time feedback in the game is the key to creating an immersive experience. Delays will destroy the connection between the player and the game world, making the experience no longer real.

[0055] Increased frustration: When players’ operations are not responded to in a timely manner, they may feel frustrated, which increases the frustration during the game;

[0056] Limited strategic play: In games that require quick decision-making, such as real-time strategy games, latency affects players’ decision-making ability, thus affecting the strategic play of the game;

[0057] Reduced engagement: Latency can make players feel less engaged, reducing their engagement and potentially leading to early exits from the game.

[0058] User churn: Long-term severe response delays may lead to player churn, as players are unwilling to continue to endure a poor gaming experience;

[0059] Therefore, monitoring the response of the user interface in the game software can timely detect the delay in the response of the user interface;

[0060] The logic for obtaining the interface response abnormal concealment coefficient is as follows:

[0061] S101, obtaining the optimal response time range during the operation of the user interface, and marking the optimal response time range as ;

[0062] It should be noted that, through the player test method, a large number of players can feel the response time of the game interface in actual operation, and the optimal response time range of the user interface operation process is evaluated through the subjective experience feedback of the players. The optimal response time range of the user interface operation process is not specifically limited here, and can be appropriately adjusted according to different types of games. The specific adjusted range is analyzed and set according to the game experience of the players;

[0063] S102: Obtain several actual response times generated during the operation of the user interface within T time, and mark the actual response time as , y The number indicating the actual response time generated during the operation of the user interface within T time. y =1, 2, 3, 4, ..., m , m is a positive integer;

[0064] It should be noted that using specialized performance monitoring tools or software, such as Unity Profiler, VisualStudio Profiler, etc., these tools can usually provide detailed game performance indicators, such as the response time of each operation;

[0065] S103, will be less than the optimal response time range The actual response time is recalibrated to , k Indicates that it is less than the optimal response time range The actual response time. k =1, 2, 3, 4, ..., n , n is a positive integer;

[0066] S104, the maximum value of the optimal response time range and actual response time Calculate the interface response anomaly concealment coefficient, the calculation expression is: ;

[0067] It can be seen from the calculation expression of the interface response anomaly concealment coefficient that the larger the performance value of the interface response anomaly concealment coefficient generated within T time during the operation of the user interface, the greater the probability of abnormal hidden dangers in the user interface, and the smaller the performance value of the interface response anomaly concealment coefficient generated within T time during the operation of the user interface, the smaller the probability of abnormal hidden dangers in the user interface;

[0068] The frame rate in game software is usually expressed as FPS (Frames Per Second), which refers to the number of times the picture is updated in one second. In simple terms, the frame rate is the number of times the display device (such as a monitor or screen) refreshes the image per second. In games, the frame rate is an important performance indicator. If the frame rate of the user interface in the game software fluctuates greatly, it will have many serious impacts on the player's gaming experience, mainly including the following aspects:

[0069] Screen tearing: FPS fluctuations may cause screen tearing, that is, two parts of the screen are not updated synchronously, resulting in a horizontal dividing line, which makes the screen appear incoherent and affects the player's visual experience;

[0070] Screen freeze: Frame rate fluctuations can cause incoherent freezes in the screen. Players will feel that the screen is not smooth during the game, affecting the immersion of the game;

[0071] Unstable operation: In the case of high frame rate fluctuations, the player's operation may become unstable. For example, when clicking a button or performing an operation, the response time may be inconsistent due to frame rate changes, affecting the player's accuracy and sense of control.

[0072] Illusions and dizziness: Unstable frame rates may cause visual illusions, such as screen jumps or flickering, which may cause discomfort or even dizziness to some players;

[0073] Game difficulty changes: Frame rate fluctuations may cause changes in game speed and affect the difficulty of the game. If the physical simulation and logic of the game depend on the frame rate, then frame rate fluctuations may affect various calculations and judgments within the game;

[0074] Reduced visual experience: Unstable frame rate will weaken the clarity and fineness of the game screen, reducing the visual experience and artistic expression of the game;

[0075] Player churn: Long-standing frame rate fluctuations may make players dissatisfied, reduce their gaming experience, and even cause them to abandon the game early;

[0076] Therefore, monitoring the response of the user interface in the game software can timely detect the delay in the response of the user interface;

[0077] The logic for obtaining the interface frame rate abnormal fluctuation coefficient is as follows:

[0078] S201, obtaining the average frame rate (average frame rate per unit time) of different time periods (time periods can be equal or unequal) during the operation of the user interface within the time T, and calibrating the average frame rate as , xIndicates the number of the average frame rate in different periods of time T during the operation of the user interface. x =1, 2, 3, 4, ..., c , c is a positive integer;

[0079] It should be noted that game engines and development platforms usually provide built-in debugging tools that can monitor frame rate information at runtime. These tools usually record historical frame rate data to calculate the average frame rate at different time periods, such as the built-in performance analysis tool of the Unity engine, the built-in performance analysis tool of the Unreal Engine, and the built-in performance analysis tool of the GameMaker engine.

[0080] S202, calculate the standard deviation of the average frame rate in different time periods during the operation of the user interface, and calibrate the standard deviation as G ,but:

[0081] ,in, is the average of the average frame rates in different time periods during the operation of the user interface, and the calculation formula is: ;

[0082] It should be noted that the standard deviation generated during the operation of the user interface within the T time G The larger the performance value is, the greater the fluctuation of the average frame rate of the user interface within the T time is, and the worse the stability is. Conversely, the smaller the fluctuation of the average frame rate of the user interface within the T time is, the better the stability is.

[0083] S203: Standard deviation generated during operation in the user interface during the T time G Calculate the abnormal fluctuation coefficient of the interface frame rate. The calculation expression is: ;

[0084] It can be seen from the calculation expression of the interface frame rate abnormal fluctuation coefficient that the larger the performance value of the interface frame rate abnormal fluctuation coefficient generated within T time during the operation of the user interface, the greater the probability of abnormal hidden dangers in the user interface, and the smaller the performance value of the interface frame rate abnormal fluctuation coefficient generated within T time during the operation of the user interface, the smaller the probability of abnormal hidden dangers in the user interface;

[0085] The interface element information includes the abnormal displacement coefficient of the interface element. After collection, the abnormal displacement coefficient of the interface element is calibrated as ;

[0086] When user interface elements in a game software shift during operation, it may have some serious impacts on the player's gaming experience, including but not limited to the following:

[0087] Reduced usability: The offset of interface elements may make it difficult for players to accurately click, select, or operate them, thereby reducing the usability of the game. Players may mistakenly click on an element, but actually click on another nearby element, which will confuse and frustrate players;

[0088] Increased operational errors: Offset interface elements may cause players to make inadvertent touches when performing operations, such as misclicks and misswipes, which may cause players to make mistakes in the game, affect their game progress, and may even lead to unexpected failures;

[0089] Reduced immersion: The immersion of a game is usually related to the consistency and stability of the interface. When interface elements shift significantly, players may feel that the virtual world of the game is no longer stable, which reduces the immersion of the game, which may destroy the emotional connection between players and the game world.

[0090] Visual confusion: The offset of interface elements may cause visual confusion. When elements are misplaced or overlapped, the interface may become illegible, affecting the player's understanding of the game environment and information;

[0091] Game balance is affected: If the offset of interface elements affects certain mechanisms or interactions in the game, it may cause the balance of the game to be affected. For example, if an important button or information is offset, it may make certain game content difficult to access or execute, thus affecting the overall game balance;

[0092] User churn: When players encounter frequent interface drift issues in the game, they may feel dissatisfied and lose interest, which may lead to player churn and affect the user retention rate and reputation of the game;

[0093] Therefore, by monitoring the position of the interface elements of the user interface in the game software, the phenomenon of displacement of the interface elements of the user interface can be discovered in time;

[0094] The logic for obtaining the abnormal shift coefficient of interface elements is as follows:

[0095] S301, obtaining the initial position of an interface element in a user interface, and recording the initial position of the interface element;

[0096] S302, establishing a plane rectangular coordinate system with the center position of the interface element in the user interface as the origin of the coordinate system;

[0097] S303, obtaining the center position of the interface element in the user interface at the last moment within T time, and marking the center position as ( , );

[0098] It should be noted that the use of layout systems can help locate the center of elements in the user interface. Common layout systems such as Flexbox and Grid can stabilize the center of elements on different screen sizes and devices. Using the API provided by programming languages ​​and game engines, the position information of interface elements can be accessed at runtime. The position and size attributes of elements can be queried through code to obtain real-time position information.

[0099] S304, calculating the lateral displacement, longitudinal displacement and total displacement of the interface elements in the user interface within T time, and calibrating the lateral displacement, longitudinal displacement and total displacement respectively as , as well as ,but , , ;

[0100] S305, calculating the abnormal displacement index of the interface elements in the user interface within T time, and calibrating the abnormal position index as , through the lateral displacement of the interface elements in the user interface within T time , longitudinal displacement and the total displacement Calculate the abnormal location index , the calculation expression is: , x 1. x 2. x 3 are the lateral displacements , longitudinal displacement and the total displacement The weight factor of is greater than 0. The weight factor is used to balance the proportion of each data in the formula, thereby improving the accuracy of the calculation results;

[0101] S306. Calculate the abnormal displacement coefficient of the interface element in the user interface by using the abnormal displacement index of the interface element in the T time. The calculation expression is: , h Indicates the number of the interface element in the user interface. h =1, 2, 3, 4, ..., j , j is a positive integer;

[0102] It can be seen from the calculation expression of the abnormal shift coefficient of the interface element that the larger the performance value of the abnormal shift coefficient of the interface element generated within T time during the operation of the user interface, the greater the probability of abnormal hidden dangers in the user interface, and the smaller the performance value of the abnormal shift coefficient of the interface element generated within T time during the operation of the user interface, the smaller the probability of abnormal hidden dangers in the user interface;

[0103] S200, after obtaining the processed interface performance information and interface element information when the user interface is running, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index;

[0104] Get the interface response abnormal concealment coefficient , Interface frame rate abnormal fluctuation coefficient And the abnormal displacement coefficient of interface elements After that, a data analysis model is established to generate an evaluation index , based on the formula:

[0105] , where , , is the interface response anomaly concealment coefficient , Interface frame rate abnormal fluctuation coefficient Abnormal displacement coefficient of interface elements The preset scaling factor of , , All are greater than 0;

[0106] It can be seen from the calculation formula that the larger the interface response abnormality concealment coefficient generated within T time during the operation of the user interface, the larger the interface frame rate abnormal fluctuation coefficient, and the larger the interface element abnormal displacement coefficient, that is, the evaluation index generated within T time during the operation of the user interface The larger the performance value, the greater the probability of abnormal hidden dangers in the user interface, the smaller the interface response abnormal concealment coefficient generated within T time during the operation of the user interface, the smaller the interface frame rate abnormal fluctuation coefficient, and the smaller the interface element abnormal displacement coefficient, that is, the evaluation index generated within T time during the operation of the user interface The smaller the performance value, the smaller the probability of abnormal hidden dangers in the user interface;

[0107] S300, comparing the evaluation index generated when the user interface is running with a preset evaluation index reference threshold, generating a high hidden danger risk signal or a low hidden danger risk signal, and issuing a warning prompt for the high hidden danger risk signal, and not issuing a warning prompt for the low hidden danger risk signal;

[0108] The evaluation index generated when the user interface is running is compared with the pre-set evaluation index reference threshold. If the evaluation index is greater than or equal to the evaluation index reference threshold, a high hidden danger risk signal is generated, and an early warning prompt is issued for the high hidden danger risk signal, prompting relevant staff that the user interface in the game software may have abnormal hidden dangers, and it is necessary to promptly check the abnormal hidden dangers that may appear in the user interface in a timely manner, and promptly discover the abnormal hidden dangers that may exist in the user interface. When the user interface has abnormal hidden dangers, notify the debugging personnel to debug the user interface in a timely manner to ensure the efficient operation of the user interface. If the evaluation index is less than the evaluation index reference threshold, a low hidden danger risk signal is generated, and no early warning prompt is issued for the low hidden danger risk signal;

[0109] The present invention monitors the running state of the user interface in the game software. When the running state of the user interface may have abnormal hidden dangers, the relevant staff is promptly prompted to timely check the abnormal hidden dangers that may appear in the user interface, and the abnormal hidden dangers that may exist in the user interface are discovered in time. When the user interface has abnormal hidden dangers, the debugging personnel are notified to debug the user interface in time, so as to ensure the efficient operation of the user interface.

[0110] S400, collecting evaluation indexes generated when the user interface is running, establishing a data set with the collected evaluation indexes, and comprehensively analyzing the evaluation indexes in the data set to determine the debugging status when abnormal hidden dangers occur in the user interface;

[0111] The evaluation indexes generated when the user interface is running are collected, and a data set is established for the collected evaluation indexes. The output evaluation index is calibrated as , and label the data set as U ,but , p represents the number of the evaluation index within the data set, p =1, 2, 3, 4, ..., s , s is a positive integer;

[0112] Calculate the average value and standard deviation of several evaluation indexes in the data set, and compare the average value and standard deviation of the evaluation index with the pre-set evaluation index reference threshold and the pre-set standard deviation reference threshold, respectively, to generate the following situation:

[0113] If the average value of the evaluation index is greater than or equal to the reference threshold of the evaluation index, a signal indicating that the debugging of the abnormal hidden danger of the user interface has failed is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, so that the debugging personnel are prompted through the mobile terminal that the debugging of the abnormal hidden danger of the user interface has failed and that debugging needs to be continued;

[0114] If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is greater than or equal to the reference threshold of the standard deviation, a signal indicating that the user interface is abnormal and hidden dangers and that debugging is unstable is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, and the debugging personnel are prompted through the mobile terminal that the debugging of the abnormal hidden danger of the user interface is unstable and that debugging needs to be continued. Unstable debugging means that the user interface after debugging is sometimes good and sometimes bad, and has poor stability;

[0115] If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is less than the reference threshold of the standard deviation, a signal indicating that the abnormal hidden danger of the user interface has been successfully debugged is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, and the debugging personnel are prompted through the mobile terminal that the abnormal hidden danger of the user interface has been successfully debugged, so as to ensure that the user interface maintains this state and runs stably and efficiently;

[0116] When debugging the hidden dangers of abnormalities existing in the user interface, the present invention establishes a data set for comprehensive analysis through a number of evaluation indexes generated when the user interface is running, thereby effectively preventing the situation where the hidden dangers of abnormalities existing in the user interface appear again after the user interface has run for a period of time after the abnormalities existing in the user interface are debugged, ensuring that the debugging personnel can efficiently debug the hidden dangers of abnormalities existing in the user interface and ensuring that the user interface runs stably and efficiently.

[0117] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0118] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

[0119] It should be noted that, in this article, if there are relational terms such as first and second, etc., they are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0120] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0121] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0123] In the several embodiments provided in the present application, it should be understood that the disclosed systems 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.

[0124] 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.

[0125] 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.

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

Claims

1. A game software debugging method, characterized in that: The following steps are involved: S100, collecting multiple pieces of information when the user interface in the game software is running, including interface performance information and interface element information, and after the collection, processing the interface performance information and interface element information when the user interface is running; The interface performance information during the user interface runtime includes the interface response anomaly concealment coefficient and the interface frame rate anomaly fluctuation coefficient. After collection, the interface response anomaly concealment coefficient and the interface frame rate anomaly fluctuation coefficient are calibrated as and The interface element information includes the abnormal displacement coefficient of the interface element. After collection, the abnormal displacement coefficient of the interface element is calibrated as ; The logic for obtaining the interface response abnormal concealment coefficient is as follows: S101, obtaining the optimal response time range during the operation of the user interface, and marking the optimal response time range as ; S102: Obtain several actual response times generated during the operation of the user interface within T time, and mark the actual response time as , y The number indicating the actual response time generated during the operation of the user interface within the T time. y =1, 2, 3, 4, ..., m , m is a positive integer; S103, will be less than the optimal response time range The actual response time is recalibrated to , k Indicates that it is less than the optimal response time range The actual response time. k =1, 2, 3, 4, ..., n , n is a positive integer; S104, the maximum value of the optimal response time range and actual response time Calculate the interface response anomaly concealment coefficient, the calculation expression is: ; The logic for obtaining the interface frame rate abnormal fluctuation coefficient is as follows: S201, obtaining the average frame rate of different time periods during the operation of the user interface within T time, and calibrating the average frame rate as , x Indicates the number of the average frame rate in different periods of time T during the operation of the user interface. x =1, 2, 3, 4, ..., c , c is a positive integer; S202, calculate the standard deviation of the average frame rate in different time periods during the operation of the user interface, and calibrate the standard deviation as G ,but: ,in, is the average of the average frame rates in different time periods during the operation of the user interface, and the calculation formula is: ; S203: Standard deviation generated during operation in the user interface during the T time G Calculate the abnormal fluctuation coefficient of the interface frame rate. The calculation expression is: ; The logic for obtaining the abnormal shift coefficient of interface elements is as follows: S301, obtaining the initial position of an interface element in a user interface, and recording the initial position of the interface element; S302, establishing a plane rectangular coordinate system with the center position of the interface element in the user interface as the origin of the coordinate system; S303, obtaining the center position of the interface element in the user interface at the last moment within T time, and marking the center position as ( , ); S304, calculating the lateral displacement, longitudinal displacement and total displacement of the interface elements in the user interface within T time, and calibrating the lateral displacement, longitudinal displacement and total displacement respectively as , as well as ,but , , ; S305, calculating the abnormal displacement index of the interface elements in the user interface within T time, and calibrating the abnormal position index as , through the lateral displacement of the interface elements in the user interface within T time , longitudinal displacement and the total displacement Calculate the abnormal location index , the calculation expression is: , x 1. x 2. x 3 are the lateral displacements , longitudinal displacement and the total displacement The weight factor of , all values ​​are greater than 0; S306. Calculate the abnormal displacement coefficient of the interface element in the user interface by using the abnormal displacement index of the interface element in the T time. The calculation expression is: , h Indicates the number of the interface element in the user interface. h =1, 2, 3, 4, ..., j , j is a positive integer; S200, after obtaining the processed interface performance information and interface element information when the user interface is running, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index; Get the interface response abnormal concealment coefficient , Interface frame rate abnormal fluctuation coefficient And the abnormal displacement coefficient of interface elements After that, a data analysis model is established to generate an evaluation index , based on the formula: , where , , is the interface response anomaly concealment coefficient , Interface frame rate abnormal fluctuation coefficient Abnormal displacement coefficient of interface elements The preset scaling factor of , , All are greater than 0; S300, comparing the evaluation index generated when the user interface is running with a preset evaluation index reference threshold, generating a high hidden danger risk signal or a low hidden danger risk signal, and issuing a warning prompt for the high hidden danger risk signal, and not issuing a warning prompt for the low hidden danger risk signal; S400, collecting evaluation indexes generated when the user interface is running, establishing a data set with the collected evaluation indexes, and comprehensively analyzing the evaluation indexes in the data set to determine the debugging status when abnormal hidden dangers occur in the user interface.

2. The game software debugging method according to claim 1, characterized in that: The evaluation index generated when the user interface is running is compared with the pre-set evaluation index reference threshold. If the evaluation index is greater than or equal to the evaluation index reference threshold, a high hidden danger risk signal is generated and an early warning is issued for the high hidden danger risk signal. If the evaluation index is less than the evaluation index reference threshold, a low hidden danger risk signal is generated and no early warning is issued for the low hidden danger risk signal.

3. The game software debugging method according to claim 1, characterized in that: The evaluation indexes generated when the user interface is running are collected, and a data set is established for the collected evaluation indexes. The output evaluation index is calibrated as , and label the data set as U ,but , p represents the number of the evaluation index within the data set, p =1, 2, 3, 4, ..., s , s is a positive integer; Calculate the average value and standard deviation of several evaluation indexes in the data set, and compare the average value and standard deviation of the evaluation index with the pre-set evaluation index reference threshold and the pre-set standard deviation reference threshold, respectively, to generate the following situation: If the average value of the evaluation index is greater than or equal to the reference threshold value of the evaluation index, a signal indicating that the debugging of the abnormal hidden danger of the user interface has failed is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, so that the debugging personnel are prompted through the mobile terminal that the debugging of the abnormal hidden danger of the user interface has failed; If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is greater than or equal to the reference threshold of the standard deviation, a signal indicating abnormal hidden dangers and unstable debugging of the user interface is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, so as to prompt the debugging personnel through the mobile terminal that the abnormal hidden dangers and unstable debugging of the user interface are detected; If the average value of the evaluation index is less than the reference threshold of the evaluation index and the standard deviation of the evaluation index is less than the reference threshold of the standard deviation, a signal indicating successful debugging of the abnormal hidden danger of the user interface is generated through the debugging analysis module, and the signal is transmitted to the mobile terminal, prompting the debugging personnel through the mobile terminal that the abnormal hidden danger of the user interface has been successfully debugged.