CN116775502A - Game software debugging method - Google Patents

Game software debugging method Download PDF

Info

Publication number
CN116775502A
CN116775502A CN202311081455.6A CN202311081455A CN116775502A CN 116775502 A CN116775502 A CN 116775502A CN 202311081455 A CN202311081455 A CN 202311081455A CN 116775502 A CN116775502 A CN 116775502A
Authority
CN
China
Prior art keywords
user interface
interface
abnormal
debugging
hidden danger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311081455.6A
Other languages
Chinese (zh)
Other versions
CN116775502B (en
Inventor
胡轶婷
杨超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Datou Culture Technology Co ltd
Original Assignee
Shenzhen Salhu Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Salhu Network Technology Co ltd filed Critical Shenzhen Salhu Network Technology Co ltd
Priority to CN202311081455.6A priority Critical patent/CN116775502B/en
Publication of CN116775502A publication Critical patent/CN116775502A/en
Application granted granted Critical
Publication of CN116775502B publication Critical patent/CN116775502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application discloses a game software debugging method, which relates to the technical field of game software management and comprises the following steps: s100, collecting multiple items of information including interface performance information and interface element information during operation of a user interface in game software, and processing the interface performance information and the interface element information during operation of the user interface after the collection. According to the application, through monitoring the running state of the user interface in the game software, when the running state of the user interface possibly has abnormal hidden danger, relevant staff is timely prompted to timely check the abnormal hidden danger possibly occurring in the user interface, the abnormal hidden danger possibly occurring in the user interface is timely found, and when the user interface has the abnormal hidden danger, debugging staff is timely notified to debug the user interface, so that the efficient running of the user interface is ensured.

Description

Game software debugging method
Technical Field
The application relates to the technical field of game software management, in particular to a game software debugging method.
Background
In the game development process, errors and problems in the game are found and repaired by using different tools and technologies, so that normal running of the game is ensured, user experience is optimized, debugging is an indispensable link in game development, and a developer can be helped to find and solve potential bug, logic error, performance problem and the like.
The User Interface (UI) in game software plays a vital role in the game, is a bridge between the game and the player, and is a main way for the player to interact with the game, and through the UI, the player can click a button, input a text, select options, and the like to interact with the game, which directly affects the experience and pleasure of the game.
The prior art has the following defects:
however, when the user interface in the game software has abnormal hidden trouble, the game software cannot sense and feed back, the user interface in the game software has obvious abnormality and can be known only through feedback of a player, debugging personnel can debug the abnormality of the user interface in the game software, serious hysteresis exists in debugging, and high-efficiency operation of the user interface in the game software can be influenced;
when debugging personnel debugs the user interface in the game software, the debugging condition of the user interface cannot be evaluated, and the condition that the user interface runs for a period of time after the debugging and has abnormal hidden dangers easily occurs is caused, so that the user interface abnormal hidden dangers are not convenient to efficiently debug by the debugging personnel.
The above information disclosed in the background section is only for enhancement of understanding of the background of the disclosure and therefore it may include information that does not form the prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The application aims to provide a game software debugging method, which monitors the running state of a user interface in game software, and timely prompts related staff to timely check the possible abnormal hidden danger of the user interface when the running state of the user interface possibly has the abnormal hidden danger, timely discovers the possible abnormal hidden danger of the user interface, and informs debugging staff to timely debug the user interface when the user interface has the abnormal hidden danger, so that the efficient running of the user interface is ensured, and the problems in the background technology are solved.
In order to achieve the above object, the present application provides the following technical solutions: the game software debugging method comprises the following steps:
s100, acquiring multiple items of information including interface performance information and interface element information during operation of a user interface in game software, and processing the interface performance information and the interface element information during operation of the user interface after acquisition; s200, after the processed interface performance information and interface element information are obtained when the user interface runs, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index;
s300, comparing an evaluation index generated during operation of a user interface with a preset evaluation index reference threshold value to generate a high hidden danger risk signal or a low hidden danger risk signal, and sending out an early warning prompt for the high hidden danger risk signal and not sending out an early warning prompt for the low hidden danger risk signal;
s400, collecting evaluation indexes generated during operation of the user interface, establishing a data set with the collected evaluation indexes, comprehensively analyzing the evaluation indexes in the data set, and judging debugging conditions when potential abnormality hazards occur to the user interface.
Preferably, the interface performance information of the user interface during operation comprises an interface response abnormal hiding coefficient and an interface frame rate abnormal fluctuation coefficient, and after acquisition, the interface response abnormal hiding coefficient and the interface frame rate abnormal fluctuation coefficient are respectively calibrated asAnd->The interface element information comprises an interface element abnormal shift coefficient, and after acquisition, the interface element abnormal shift coefficient is calibrated to be +.>
Preferably, the logic for the interface response anomaly concealment coefficient acquisition is as follows:
s101, acquiring an optimal response time length range in the operation process of the user interface, and calibrating the optimal response time length range asThe method comprises the steps of carrying out a first treatment on the surface of the S102, getTaking a plurality of actual response time durations generated in the T time in the running process of the user interface, and marking the actual response time durations as +.>yA number representing the actual response time generated during operation of the user interface during time T,y=1、2、3、4、……、mmis a positive integer;
s103, the range of the optimal response time length is smaller than
Is recalibrated to the actual response time length of
kRepresenting less than an optimal response time range
Is added to the number of the actual response time period,k=1、2、3、4、……、nnis a positive integer;
s104, passing through the maximum value of the optimal response time rangeAnd the actual response time length->Calculating an interface response abnormal hiding coefficient, wherein the calculated expression is as follows: />
Preferably, the logic for obtaining the abnormal fluctuation coefficient of the interface frame rate is as follows:
s201, acquiring average frame rates of different time periods in the T time in the operation process of the user interface, and calibrating the average frame rates asxA number representing the average frame rate of different periods during the user interface operation during T time,x=1、2、3、4、……、ccis a positive integer; s202, calculating standard deviation of average frame rates of different time periods in T time in the operation process of the user interface, and calibrating the standard deviation asGThen:
wherein, the method comprises the steps of, wherein,for the average value of the average frame rates of different time periods in the T time in the running process of the user interface, the acquired calculation formula is as follows: />
S203, generating standard deviation in the running process of the user interface in the running process within the T timeGCalculating an interface frame rate abnormal fluctuation coefficient, wherein the calculated expression is as follows:
preferably, the logic for obtaining the abnormal shift coefficient of the interface element is as follows:
s301, acquiring an initial position of an interface element in a user interface, and recording the initial position of the interface element; s302, taking the central position of an interface element in a user interface as an origin of a coordinate system, and establishing a plane rectangular coordinate system;
s303, acquiring the central position of the interface element in the user interface at the last moment in the T time, and calibrating the central position as @,/>);
S304, calculating the lateral displacement, the longitudinal displacement and the total displacement of the interface element in the user interface in the time T, and calibrating the lateral displacement, the longitudinal displacement and the total displacement as respectively、/>And +.>Then/>,/>
S305, calculating an abnormal displacement index of the interface element in the user interface in the T time, and calibrating the abnormal position index as
Lateral displacement in T time by interface elements in a user interface
Longitudinal displacement
Total displacement of
Calculating an abnormality location index
The calculated expression is:x1、x2、x3 are respectively transverse displacement->Longitudinal displacement->Total displacement->The weight factors of the (a) are all larger than 0;
s306, calculating an interface element abnormal displacement coefficient through an abnormal displacement index of the interface element in the user interface within the time T, wherein the calculated expression is as follows:hrepresenting the number of interface elements in the user interface,h=1、2、3、4、……、jjis a positive integer.
Preferably, the interface response abnormality concealing coefficient is obtained
Abnormal fluctuation coefficient of interface frame rate
Abnormal shift coefficient of interface element
Then, a data analysis model is built to generate an evaluation index
The formula according to is:
in the method, in the process of the application,、/>、/>conceal coefficients for interface response anomalies>Interface frame rate abnormality fluctuation coefficient ∈>Interface element abnormal shift coefficient->Is a preset proportionality coefficient of>、/>、/>Are all greater than 0.
Preferably, the evaluation index generated during the operation of the user interface is compared with a preset 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, an early warning prompt is sent out to the high hidden danger risk signal, if the evaluation index is smaller than the evaluation index reference threshold, a low hidden danger risk signal is generated, and an early warning prompt is not sent out to the low hidden danger risk signal.
Preferably, the evaluation index generated by the user interface in operation is collected and the collection is carried outEstablishing a data set by a plurality of evaluation indexes of the set, and calibrating the output evaluation indexes asAnd calibrating the data set asUThen->pA number representing an evaluation index within the data set,p=1、2、3、4、……、ssis a positive integer;
calculating the average value and standard deviation of a plurality of evaluation indexes in a data set, and comparing the evaluation index average value and the evaluation index standard deviation with a preset evaluation index reference threshold value and a preset standard deviation reference threshold value respectively to generate the following conditions:
if the average value of the evaluation indexes is larger than or equal to the reference threshold value of the evaluation indexes, generating a signal of debugging failure of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting debugging failure of the abnormal hidden danger of the user interface of a debugger through the mobile terminal;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is larger than or equal to the reference threshold value of the standard deviation, generating a signal for unstable debugging of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting the debugging personnel of the unstable debugging of the abnormal hidden danger of the user interface through the mobile terminal;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is smaller than the reference threshold value of the standard deviation, generating a signal of successful debugging of the user interface abnormal hidden danger through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting debugging personnel of successful debugging of the abnormal hidden danger of the user interface through the mobile terminal.
In the technical scheme, the application has the technical effects and advantages that:
by monitoring the running state of the user interface in the game software, when the running state of the user interface possibly has abnormal hidden danger, the application prompts related staff to timely check the abnormal hidden danger possibly occurring in the user interface, timely find the abnormal hidden danger possibly occurring in the user interface, and when the user interface has the abnormal hidden danger, inform debugging staff to timely debug the user interface, thereby ensuring the efficient running of the user interface;
when the application is used for debugging the abnormal hidden danger of the user interface, the data set is established through the plurality of evaluation indexes generated during the operation of the user interface to comprehensively analyze, so that the situation that the abnormal hidden danger appears after the user interface is operated for a period of time after the abnormal hidden danger of the user interface is debugged is effectively prevented, the efficient debugging of the abnormal hidden danger of the user interface by a debugger is ensured, and the stable and efficient operation of the user interface is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings for those skilled in the art.
FIG. 1 is a flow chart of a method of debugging game software of the present application.
Description of the embodiments
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
The application provides a game software debugging method shown in figure 1, which comprises the following steps:
s100, acquiring multiple items of information including interface performance information and interface element information during operation of a user interface in game software, and processing the interface performance information and the interface element information during operation of the user interface after acquisition;
interface performance information at user interface runtime including interface response anomaly concealment coefficients and interfacesAfter the frame rate abnormal fluctuation coefficient is acquired, the interface response abnormal hiding coefficient and the interface frame rate abnormal fluctuation coefficient are respectively calibrated asAnd
user interface response delays in game software refer to the time interval between a player performing a certain operation (such as clicking a button, moving a character, entering text, etc.) until the player actually sees the corresponding change or feedback on the screen, and can seriously affect the player's game experience, possibly resulting in the following problems:
reduce game fun: the delay may cause the player to click a button or to immediately see a corresponding reaction after performing an operation, which may cause the player to feel uncomfortable, reducing the fun and attractiveness of the game; fluency decreases: the delay can cause the asynchronism between the game picture and the operation of the player, so that the whole game is not smooth, and the experience of the player is affected;
the operation is difficult: delays can make it difficult for the player's operations to be performed accurately, potentially resulting in misoperations and failures, which can be particularly acute for games requiring accurate operations;
experience is not realistic: real-time feedback in a game is a key to creating an immersive experience, and delays can break continuity between players and the game world, making the experience unreal;
increased frustration: when the player's operation does not react in time, the player may feel frustrated, increasing frustration during the game;
strategic limitations: in games that require fast decision making, such as real strategy games, delays can affect the player's decision making ability, thereby affecting game strategy; reducing participation: delays can make players unwilling to engage, reduce their engagement, and may result in early exits from the game;
user loss: the long-standing severe response delay may lead to player churn because players are not willing to continue to suffer from a poor gaming experience;
therefore, the response condition of the user interface in the game software is monitored, and the condition of delay of the response of the user interface can be found in time;
the logic for the acquisition of the interface response anomaly concealment coefficients is as follows:
s101, acquiring an optimal response time length range in the operation process of the user interface, and calibrating the optimal response time length range as
It should be noted that, by means of player testing, the number of players experience the response time of the game interface in actual operation, and the optimal response time range in the running process of the user interface is evaluated through feedback of subjective experience of the players, where the optimal response time range in the running process of the user interface is not specifically limited, and can be properly adjusted according to different types of games, and the specifically adjusted range is analyzed and set according to the game experience of the players;
s102, acquiring a plurality of actual response time durations generated in a T time in the operation process of the user interface, and calibrating the actual response time durations asyA number representing the actual response time generated during operation of the user interface during time T,y=1、2、3、4、……、mmis a positive integer;
it should be noted that, using special performance monitoring tools or software, such as Unity Profiler, visual Studio Profiler, etc., these tools can generally provide detailed game performance indicators, such as information about the response time of each operation;
s103, the range of the optimal response time length is smaller thanIs recalibrated to +.>kRepresenting less than the optimal response time range +.>Is added to the number of the actual response time period,k=1、2、3、4、……、nnis a positive integer;
s104, passing through the maximum value of the optimal response time range
And the actual response time
Calculating an interface response abnormal hiding coefficient, wherein the calculated expression is as follows:
the calculation expression of the interface response abnormal hidden coefficient shows that the larger the expression value of the interface response abnormal hidden coefficient generated in the T time in the operation process of the user interface is, the larger the probability of the occurrence of the abnormal hidden trouble of the user interface is, and the smaller the expression value of the interface response abnormal hidden coefficient generated in the T time in the operation process of the user interface is, the smaller the probability of the occurrence of the abnormal hidden trouble of the user interface is;
the Frame Rate (Frame Rate) in game software, generally expressed as FPS (Frames Per Second, frame number per second), refers to the number of screen updates in one second, in short, the Frame Rate is the number of times a display device (such as a display, a screen) refreshes an image per second, and in a game, the Frame Rate is an important performance index, and if the Frame Rate of a user interface in game software fluctuates greatly, there are many serious effects on the game experience of a player, including mainly the following aspects:
and (5) tearing a picture: frame rate fluctuation may cause tearing of the picture, i.e. two parts in the picture are updated asynchronously, resulting in a horizontal parting line, which may make the picture appear incoherent and affect the visual experience of the player;
picture blocking: the frame rate fluctuation can cause a discontinuous clamping phenomenon of the picture, and a player can feel that the picture is not smooth in the game process, so that the immersion of the game is influenced;
unstable operation: in the case of high frame rate fluctuations, the player's operation may become unstable, for example, clicking a button or performing an operation, and the response time may have an inconsistent experience due to the frame rate variation, affecting the player's accuracy and control feel;
illusion and dizziness: an unstable frame rate may cause visual illusions such as a frame jump or flicker, which may cause discomfort to some players and even dizziness;
game difficulty changes: frame rate fluctuations may cause variations in game speed, affect game difficulty, and if the physical simulation and logic of the game depends on the frame rate, frame rate fluctuations may affect various calculations and decisions within the game;
visual experience is reduced: the unstable frame rate can weaken the definition and fineness of the game picture, and reduce the visual experience and artistic expression of the game;
player losses: the long-standing problem of frame rate fluctuations may be unsatisfactory to players, degrading their gaming experience and even causing them to forego the game in advance;
therefore, the response condition of the user interface in the game software is monitored, and the condition of delay of the response of the user interface can be found in time;
the logic for acquiring the interface frame rate abnormal fluctuation coefficient is as follows:
s201, acquiring average frame rate (average frame rate in unit time) of different time periods (time in time period can be equal or unequal) in T time in the operation process of the user interface, and calibrating the average frame rate asxA number representing the average frame rate of different periods during the user interface operation during T time,x=1、2、3、4、……、ccis a positive integer;
it should be noted that, the game Engine and the development platform generally provide built-in debugging tools, which can monitor the frame rate information during running, and these tools generally record the historical data of the frame rate, so as to calculate the average frame rate of different periods, for example, the built-in performance analysis tool of the Unity Engine, the Unreal Engine provides the built-in performance analysis tool, the GameMaker Engine also provides the built-in performance analysis tool, etc.;
s202, calculating standard deviation of average frame rates of different time periods in T time in the operation process of the user interface, and calibrating the standard deviation as
G
Then:
wherein, the method comprises the steps of, wherein,for the average value of the average frame rates of different time periods in the T time in the running process of the user interface, the acquired calculation formula is as follows: />
In addition, standard deviation generated during operation in T time in operation process of user interfaceGThe larger the expression value of the user interface is, the larger the fluctuation of the average frame rate of the user interface in the T time is, the worse the stability is, otherwise, the smaller the fluctuation of the average frame rate of the user interface in the T time is, and the better the stability is;
s203, generating standard deviation in the running process of the user interface in the running process within the T timeGCalculating an interface frame rate abnormal fluctuation coefficient, wherein the calculated expression is as follows:the method comprises the steps of carrying out a first treatment on the surface of the The calculation expression of the interface frame rate abnormal fluctuation coefficient shows that the larger the expression value of the interface frame rate abnormal fluctuation coefficient generated in the T time in the operation process of the user interface is, the larger the probability of occurrence of abnormal hidden danger of the user interface is, the smaller the expression value of the interface frame rate abnormal fluctuation coefficient generated in the T time in the operation process of the user interface is, and the smaller the probability of occurrence of abnormal hidden danger of the user interface is;
the interface element information comprises an interface element abnormal displacement coefficient, and after acquisition, the interface element abnormal displacement coefficient is calibrated as
When a user interface element in the game software shifts during execution, some serious effects may be exerted on the game experience of the player, including but not limited to the following:
usability decreases: the offset of interface elements may make it difficult for a player to accurately click, select, or manipulate them, thereby reducing the usability of the game, and the player may illusion to click one element, but actually click another element nearby, which can confuse and frustrate the player;
the operation error increases: the offset interface elements may cause a player to make a false touch, such as a false point, a false scratch, etc., while performing an operation, which may cause the player to make a mistake in the game, affect his game progress, and may even cause unexpected failure; immersion experience declines: the immersion of a game is generally related to the consistency and stability of the interface, and when the interface elements are greatly shifted, the player may feel that the virtual world of the game is no longer stable, thereby reducing the immersion of the game, which may destroy the emotional connection between the player and the game world;
visual confusion: the offset of the interface elements may cause visual confusion, and when the elements are misplaced or overlapped, the interface may become illegible, affecting the player's understanding of the game environment and information;
the balance of the game is impaired: if the offset of the interface element affects certain mechanisms or interactions in the game, it may result in the balance of the game being affected, for example, if an important button or information is offset, it may make certain game content difficult to access or execute, thereby affecting the overall game balance;
user loss: when a player encounters frequent interface offset problems in a game, the player may feel dissatisfied and lose interest, which may result in player churn, affecting user retention and praise of the game;
therefore, the position condition of the interface element of the user interface in the game software is monitored, and the phenomenon that the user interface element is displaced can be timely found;
the logic for acquiring the abnormal shift coefficient of the interface element is as follows:
s301, acquiring an initial position of an interface element in a user interface, and recording the initial position of the interface element;
s302, taking the central position of an interface element in a user interface as an origin of a coordinate system, and establishing a plane rectangular coordinate system;
s303, acquiring the central position of the interface element in the user interface at the last moment in the T time, and calibrating the central position as @,/>);
It should be noted that, the layout system can help to locate the center position of the element in the user interface, common layout systems such as Flexbox and Grid can be stabilized to the center position of the element on different screen sizes and devices, the programming language and the API provided by the game engine can be used to access the position information of the interface element during running, and the position and size attribute of the element can be queried through codes to obtain real-time position information;
s304, calculating the lateral displacement, the longitudinal displacement and the total displacement of the interface element in the user interface in the time T, and calibrating the lateral displacement, the longitudinal displacement and the total displacement as respectively、/>And +.>Then->,/>
S305, calculating an abnormal displacement index of the interface element in the user interface in the T time, and calibrating the abnormal position index asLateral displacement of an interface element in a user interface within a time T>Longitudinal displacement->Total displacement ofCalculating abnormality location index ++>The calculated expression is: />x1、x2、x3 are respectively transverse displacement->Longitudinal displacement->Total displacement->The weight factors of the formula (I) are all larger than 0, wherein the weight factors are used for balancing the duty ratio of each item of data in the formula, so that the accuracy of a calculation result is promoted;
s306, calculating an interface element abnormal displacement coefficient through an abnormal displacement index of the interface element in the user interface within the time T, wherein the calculated expression is as follows:hrepresenting the number of interface elements in the user interface,h=1、2、3、4、……、jjis a positive integer;
the calculation expression of the abnormal displacement coefficient of the interface element shows that the larger the expression value of the abnormal displacement coefficient of the interface element generated in the T time in the operation process of the user interface is, the larger the probability of occurrence of abnormal hidden danger of the user interface is, the smaller the expression value of the abnormal displacement coefficient of the interface element generated in the T time in the operation process of the user interface is, and the smaller the probability of occurrence of abnormal hidden danger of the user interface is;
s200, after the processed interface performance information and interface element information are obtained when the user interface runs, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index;
obtaining the abnormal hiding coefficient of the interface response
Abnormal fluctuation coefficient of interface frame rate
Abnormal shift coefficient of interface element
Then, a data analysis model is built to generate an evaluation index
The formula according to is:
in the method, in the process of the application,、/>、/>conceal coefficients for interface response anomalies>Interface frame rate abnormality fluctuation coefficient ∈>Interface element abnormal shift coefficient->Is a preset proportionality coefficient of>、/>、/>Are all greater than 0;
the calculation formula shows that the larger the interface response abnormal hiding coefficient generated in the T time in the operation process of the user interface, the larger the interface frame rate abnormal fluctuation coefficient and the interface element abnormal shift coefficient are, namely the evaluation index generated in the T time in the operation process of the user interfaceThe larger the expression value of the interface element is, the larger the probability of occurrence of abnormal hidden danger of the user interface is, the smaller the interface response abnormal hidden coefficient generated in the T time in the operation process of the user interface is, the smaller the interface frame rate abnormal fluctuation coefficient is, the smaller the interface element abnormal shift coefficient is, namely the evaluation index generated in the T time in the operation process of the user interface is>The smaller the expression value of (2), the smaller the probability of showing that the user interface has abnormal hidden trouble;
s300, comparing an evaluation index generated during operation of a user interface with a preset evaluation index reference threshold value to generate a high hidden danger risk signal or a low hidden danger risk signal, and sending out an early warning prompt for the high hidden danger risk signal and not sending out an early warning prompt for the low hidden danger risk signal;
comparing an evaluation index generated during the operation of a user interface with a preset evaluation index reference threshold, if the evaluation index is larger than or equal to the evaluation index reference threshold, generating a high hidden danger signal, sending an early warning prompt to the high hidden danger signal, prompting related staff that the user interface in game software may have abnormal hidden danger, timely checking the abnormal hidden danger possibly occurring in the user interface, timely finding the abnormal hidden danger possibly occurring in the user interface, informing a debugger to timely debug the user interface when the abnormal hidden danger exists in the user interface, ensuring the efficient operation of the user interface, and if the evaluation index is smaller than the evaluation index reference threshold, generating a low hidden danger signal and not sending an early warning prompt to the low hidden danger risk signal;
by monitoring the running state of the user interface in the game software, when the running state of the user interface possibly has abnormal hidden danger, the application prompts related staff to timely check the abnormal hidden danger possibly occurring in the user interface, timely find the abnormal hidden danger possibly occurring in the user interface, and when the user interface has the abnormal hidden danger, inform debugging staff to timely debug the user interface, thereby ensuring the efficient running of the user interface;
s400, collecting evaluation indexes generated during operation of a user interface, establishing a data set with the collected evaluation indexes, comprehensively analyzing the evaluation indexes in the data set, and judging debugging conditions when potential abnormality hazards occur to the user interface;
collecting evaluation indexes generated during user interface operation, establishing a data set of the collected evaluation indexes, and calibrating the output evaluation indexes asAnd calibrating the data set asUThen->pA number representing an evaluation index within the data set,p=1、2、3、4、……、ssis a positive integer;
calculating the average value and standard deviation of a plurality of evaluation indexes in a data set, and comparing the evaluation index average value and the evaluation index standard deviation with a preset evaluation index reference threshold value and a preset standard deviation reference threshold value respectively to generate the following conditions:
if the average value of the evaluation indexes is larger than or equal to the reference threshold value of the evaluation indexes, generating a signal of debugging failure of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, prompting the debugging failure of the abnormal hidden danger of the user interface of a debugger through the mobile terminal, and continuing to debug;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is larger than or equal to the reference threshold value of the standard deviation, generating a signal for unstable debugging of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, prompting the debugger that the abnormal hidden danger of the user interface is unstable through the mobile terminal, and continuing to debug, wherein the situation that the user interface is good after being debugged is bad is indicated, and the stability is poor is indicated;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is smaller than the reference threshold value of the standard deviation, generating a signal of successful debugging of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, prompting the debugging of the abnormal hidden danger of the user interface of a debugger through the mobile terminal, and ensuring that the user interface keeps stable and efficient running in the state;
when the application is used for debugging the abnormal hidden danger of the user interface, the data set is established through the plurality of evaluation indexes generated during the operation of the user interface to comprehensively analyze, so that the situation that the abnormal hidden danger appears after the user interface is operated for a period of time after the abnormal hidden danger of the user interface is debugged is effectively prevented, the efficient debugging of the abnormal hidden danger of the user interface by a debugger is ensured, and the stable and efficient operation of the user interface is ensured.
The above formulas are all formulas with dimensions removed and numerical values calculated, the formulas are formulas with a large amount of data collected for software simulation to obtain the latest real situation, and preset parameters in the formulas are set by those skilled in the art according to the actual situation.
While certain exemplary embodiments of the present application have been described above by way of illustration only, it will be apparent to those of ordinary skill in the art that modifications may be made to the described embodiments in various different ways without departing from the spirit and scope of the application. Accordingly, the drawings and description are to be regarded as illustrative in nature and not as restrictive of the scope of the application, which is defined by the appended claims.
It is noted that relational terms such as first and second, and the like, if any, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein. In the several embodiments provided by the present application, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. The game software debugging method is characterized by comprising the following steps of:
s100, acquiring multiple items of information including interface performance information and interface element information during operation of a user interface in game software, and processing the interface performance information and the interface element information during operation of the user interface after acquisition;
s200, after the processed interface performance information and interface element information are obtained when the user interface runs, comprehensively analyzing the processed interface performance information and interface element information to generate an evaluation index;
s300, comparing an evaluation index generated during operation of a user interface with a preset evaluation index reference threshold value to generate a high hidden danger risk signal or a low hidden danger risk signal, and sending out an early warning prompt for the high hidden danger risk signal and not sending out an early warning prompt for the low hidden danger risk signal;
s400, collecting evaluation indexes generated during operation of the user interface, establishing a data set with the collected evaluation indexes, comprehensively analyzing the evaluation indexes in the data set, and judging debugging conditions when potential abnormality hazards occur to the user interface.
2. The game software debugging method of claim 1, wherein the interface performance information of the user interface during operation comprises an interface response abnormal hiding coefficient and an interface frame rate abnormal fluctuation coefficient, and after acquisition, the interface response abnormal hiding coefficient and the interface frame rate abnormal fluctuation coefficient are respectively calibrated asAnd->The interface element information comprises an interface element abnormal shift coefficient, and after acquisition, the interface element abnormal shift coefficient is calibrated to be +.>
3. The game software debugging method of claim 2, wherein the logic for obtaining the interface response anomaly concealment coefficients is as follows:
s101, acquiring an optimal response time length range in the operation process of the user interface, and calibrating the optimal response time length range as
S102, acquiring a plurality of actual response time durations generated in a T time in the operation process of the user interface, and calibrating the actual response time durations asyA number representing the actual response time generated during operation of the user interface during time T,y=1、2、3、4、……、mmis a positive integer;
s103, the range of the optimal response time length is smaller thanIs recalibrated to +.>kRepresenting less than the optimal response time range +.>Is added to the number of the actual response time period,k=1、2、3、4、……、nnis a positive integer;
s104, passing through the maximum value of the optimal response time rangeAnd the actual response time length->Calculating an interface response abnormal hiding coefficient, wherein the calculated expression is as follows: />
4. A game software debugging method according to claim 3, wherein the logic for obtaining the interface frame rate anomaly fluctuation coefficient is as follows:
s201, acquiring average frame rates of different time periods in the T time in the operation process of the user interface, and calibrating the average frame rates asxA number representing the average frame rate of different periods during the user interface operation during T time,x=1、2、3、4、……、ccis a positive integer;
s202, calculating standard deviation of average frame rates of different time periods in T time in the operation process of the user interface, and calibrating the standard deviation asGThen:
wherein->For the average value of the average frame rates of different time periods in the T time in the running process of the user interface, the acquired calculation formula is as follows: />
S203, generating standard deviation in the running process of the user interface in the running process within the T timeGCalculating an interface frame rate abnormal fluctuation coefficient, wherein the calculated expression is as follows:
5. the game software debugging method of claim 4, wherein the logic for obtaining the interface element abnormal shift coefficient is as follows:
s301, acquiring an initial position of an interface element in a user interface, and recording the initial position of the interface element;
s302, taking the central position of an interface element in a user interface as an origin of a coordinate system, and establishing a plane rectangular coordinate system;
s303, acquiring the central position of the interface element in the user interface at the last moment in the T time, and calibrating the central position as @,/>);
S304, calculating the lateral displacement, the longitudinal displacement and the total displacement of the interface element in the user interface in the time T, and calibrating the lateral displacement, the longitudinal displacement and the total displacement as respectively、/>And +.>Then->,/>
S305, calculating an abnormal displacement index of the interface element in the user interface in the T time, and calibrating the abnormal position index asLateral displacement of an interface element in a user interface within a time T>Longitudinal displacement->Total displacement->Calculating abnormality location index ++>The calculated expression is: />x1、x2、x3 are respectively transverse displacement->Longitudinal displacement->Total displacement->The weight factors of the (a) are all larger than 0;
s306, calculating an interface element abnormal displacement coefficient through an abnormal displacement index of the interface element in the user interface within the time T, wherein the calculated expression is as follows:hrepresenting the number of interface elements in the user interface,h=1、2、3、4、……、jjis a positive integer.
6. The game software debugging method of claim 5, wherein the interface response abnormal concealing coefficients are obtainedInterface frame rate abnormality fluctuation coefficient ∈>Interface element abnormality shift coefficient ++>Then, a data analysis model is built, and an evaluation index is generated>The formula according to is:
in (1) the->、/>、/>Conceal coefficients for interface response anomalies>Interface frame rate abnormality fluctuation coefficient ∈>Interface element abnormal shift coefficient->Is a preset proportionality coefficient of>、/>、/>Are all greater than 0.
7. The game software debugging method according to claim 6, wherein an evaluation index generated during operation of the user interface is compared with a preset evaluation index reference threshold, if the evaluation index is greater than or equal to the evaluation index reference threshold, a high risk signal is generated, and an early warning prompt is sent out to the high risk signal, and if the evaluation index is less than the evaluation index reference threshold, a low risk signal is generated, and no early warning prompt is sent out to the low risk signal.
8. The game software of claim 7The debugging method is characterized in that the evaluation indexes generated during the operation of the user interface are collected, a data set is established by the collected evaluation indexes, and the output evaluation indexes are calibrated asAnd calibrating the data set asUThen->pA number representing an evaluation index within the data set,p=1、2、3、4、……、ssis a positive integer;
calculating the average value and standard deviation of a plurality of evaluation indexes in a data set, and comparing the evaluation index average value and the evaluation index standard deviation with a preset evaluation index reference threshold value and a preset standard deviation reference threshold value respectively to generate the following conditions:
if the average value of the evaluation indexes is larger than or equal to the reference threshold value of the evaluation indexes, generating a signal of debugging failure of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting debugging failure of the abnormal hidden danger of the user interface of a debugger through the mobile terminal;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is larger than or equal to the reference threshold value of the standard deviation, generating a signal for unstable debugging of the abnormal hidden danger of the user interface through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting the debugging personnel of the unstable debugging of the abnormal hidden danger of the user interface through the mobile terminal;
if the average value of the evaluation indexes is smaller than the reference threshold value of the evaluation indexes and the standard deviation of the evaluation indexes is smaller than the reference threshold value of the standard deviation, generating a signal of successful debugging of the user interface abnormal hidden danger through the debugging analysis module, transmitting the signal to the mobile terminal, and prompting debugging personnel of successful debugging of the abnormal hidden danger of the user interface through the mobile terminal.
CN202311081455.6A 2023-08-25 2023-08-25 Game software debugging method Active CN116775502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311081455.6A CN116775502B (en) 2023-08-25 2023-08-25 Game software debugging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311081455.6A CN116775502B (en) 2023-08-25 2023-08-25 Game software debugging method

Publications (2)

Publication Number Publication Date
CN116775502A true CN116775502A (en) 2023-09-19
CN116775502B CN116775502B (en) 2024-09-17

Family

ID=87993505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311081455.6A Active CN116775502B (en) 2023-08-25 2023-08-25 Game software debugging method

Country Status (1)

Country Link
CN (1) CN116775502B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636237A (en) * 2015-01-19 2015-05-20 上海新炬网络信息技术有限公司 Monitoring method for Web application system service performance based on Java platform
CN105894152A (en) * 2014-11-19 2016-08-24 北京航天长峰科技工业集团有限公司 Safety-production dynamic early warning index evaluation system
US20170115978A1 (en) * 2015-10-26 2017-04-27 Microsoft Technology Licensing, Llc Monitored upgrades using health information
CN110457229A (en) * 2019-08-23 2019-11-15 腾讯科技(深圳)有限公司 Game performance monitoring method, device, electronic equipment and storage medium
CN112100065A (en) * 2020-09-08 2020-12-18 完美世界(重庆)互动科技有限公司 Game scene data processing method, device and equipment
CN113360397A (en) * 2021-06-28 2021-09-07 平安普惠企业管理有限公司 Regression testing method, device, equipment and storage medium of system function
CN114138765A (en) * 2021-12-07 2022-03-04 北京知道未来信息技术有限公司 Front-end page performance early warning method and device, server and storage medium
CN115656812A (en) * 2022-09-26 2023-01-31 山东钢铁集团日照有限公司 Motor real-time state multi-dimensional monitoring method and system
CN116225969A (en) * 2023-05-08 2023-06-06 欢喜时代(深圳)科技有限公司 Stability test method and system for game running system
CN116621044A (en) * 2023-07-21 2023-08-22 常州海图信息科技股份有限公司 Intelligent auxiliary driving system and method for monorail crane

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894152A (en) * 2014-11-19 2016-08-24 北京航天长峰科技工业集团有限公司 Safety-production dynamic early warning index evaluation system
CN104636237A (en) * 2015-01-19 2015-05-20 上海新炬网络信息技术有限公司 Monitoring method for Web application system service performance based on Java platform
US20170115978A1 (en) * 2015-10-26 2017-04-27 Microsoft Technology Licensing, Llc Monitored upgrades using health information
CN110457229A (en) * 2019-08-23 2019-11-15 腾讯科技(深圳)有限公司 Game performance monitoring method, device, electronic equipment and storage medium
CN112100065A (en) * 2020-09-08 2020-12-18 完美世界(重庆)互动科技有限公司 Game scene data processing method, device and equipment
CN113360397A (en) * 2021-06-28 2021-09-07 平安普惠企业管理有限公司 Regression testing method, device, equipment and storage medium of system function
CN114138765A (en) * 2021-12-07 2022-03-04 北京知道未来信息技术有限公司 Front-end page performance early warning method and device, server and storage medium
CN115656812A (en) * 2022-09-26 2023-01-31 山东钢铁集团日照有限公司 Motor real-time state multi-dimensional monitoring method and system
CN116225969A (en) * 2023-05-08 2023-06-06 欢喜时代(深圳)科技有限公司 Stability test method and system for game running system
CN116621044A (en) * 2023-07-21 2023-08-22 常州海图信息科技股份有限公司 Intelligent auxiliary driving system and method for monorail crane

Also Published As

Publication number Publication date
CN116775502B (en) 2024-09-17

Similar Documents

Publication Publication Date Title
US10621068B2 (en) Software code debugger for quick detection of error root causes
CN104679649B (en) A kind of software fluency method of testing and test device
CN102667730B (en) Design time debugging
US8756578B2 (en) Impact indication of thread-specific events in a non-stop debugging environment
US9535821B1 (en) Displaying violated coding rules in source code
US20070079288A1 (en) System and method for capturing filtered execution history of executable program code
US8769497B2 (en) System and method for use in indicating execution of application code
CN106055983A (en) Anti-debugging method of android application based on IDA communication
US20060253840A1 (en) Program verification and visualization using a dynamic abstracted conceptual model
US20130007718A1 (en) Software Debugging With Execution Match Determinations
EP3547110B1 (en) Code correction
AU2005239681A1 (en) Modelling of programmable devices
KR101423030B1 (en) Method of analysis application object which computer-executable, server performing the same and storage media storing the same
Xu et al. A pilot study of an inspection framework for automated usability guideline reviews of mobile health applications
CN116775502B (en) Game software debugging method
KR20190122983A (en) Method and apparatus for detecting abnormal events
US20190129781A1 (en) Event investigation assist method and event investigation assist device
JP6995146B2 (en) Performance analysis of adaptive applications
US10802852B1 (en) Method for interactive embedded software debugging through the control of simulation tracing components
EP2410429A1 (en) System and method for use in indicating execution of application code
CN110989895B (en) Control display state detection method and device
US9291672B2 (en) Debug system, apparatus and method thereof for providing graphical pin interface
Nicolaescu et al. The aramis workbench for monitoring, analysis and visualization of architectures based on run-time interactions
US11372743B2 (en) Computer devices and computer implemented methods
CN118079365A (en) Network game service management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240726

Address after: A1-802, Building A, Kexing Science Park, No. 15 Keyuan Road, Science Park Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province 518000

Applicant after: Shenzhen Datou Culture Technology Co.,Ltd.

Country or region after: China

Address before: 518000 10g, avionics engineering research and development building, No. 7 Langshan Road, North District, Science Park, Xili street, Nanshan District, Shenzhen, Guangdong Province

Applicant before: Shenzhen salhu Network Technology Co.,Ltd.

Country or region before: China

GR01 Patent grant