Method for client to automatically run cloud game for cloud rendering

CN118987626AInactive Publication Date: 2024-11-22SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310566385.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology has problems such as high threshold, limited scope of application, and the inability to achieve fully automatic simulation operation in the automatic simulation operation of cloud client games, especially for ordinary users and large-scale scenario games.

Method used

Introduce a priori knowledge base and game feature analysis module, combine shell scripting language and virtual mouse and keyboard tools to write test scripts for automatic simulation, realizing efficient and easy-to-use automated testing of cloud games.

Benefits of technology

It reduces the difficulty of user learning and operation, improves the accuracy and flexibility of automatic simulation, adapts to various game scenarios, significantly saves time and resources, and realizes efficient game testing and optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118987626A_ABST
    Figure CN118987626A_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically running a cloud game by a client for cloud rendering. The method comprises the steps that for different cloud game types, information related to scene configuration and character roles is obtained to serve as priori knowledge, and the priori knowledge comprises scene configuration information, game strategies, game rules and winning rules; and based on the priori knowledge, compiling a test script and combining with a virtual mouse and a virtual keyboard, automatically simulating the cloud game, and then testing the cloud game effect on a target application platform by utilizing the test script for multiple times, setting an expected test effect when the test script is operated each time, and updating the test effect according to the user demand. And the expected effect required by the cloud game is obtained. According to the method, the cloud rendering-oriented client can automatically simulate the operation of the cloud game and control the game character in various game scenes, and the method can be used for detecting the load condition of the cloud equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and more specifically, to a method for automatically running a cloud game on a client oriented to cloud rendering. Background Art

[0002] In recent years, with the rapid development of the game industry and the increasing number of users, improving game user experience and satisfaction has become an important topic in the game market. For online games or mobile games, smooth game processes and perfect game scenes are key elements to ensure that users enjoy a pleasant game experience. Traditional testing methods usually involve letting game testers conduct trial play, experience different game copies and game upgrade processes to test the smoothness of the scene operation of the new game. However, this method has some disadvantages. First, it takes a lot of time and energy, and requires a large number of game testers to find game loopholes and problems. Secondly, due to the subjectivity and individual differences of testers, the test results may not be objective and accurate enough, and some potential problems may be missed. In order to solve these problems, new methods have been proposed. One of the methods is to use automated testing technology to perform automated simulation operation and testing of game scenes by writing test scripts and using simulators or virtual environments. This method can reduce the demand for human resources, improve testing efficiency, and can repeatedly perform tests to ensure the consistency and reliability of test results. At the same time, by using automated testing tools, various aspects of the game can be tested more comprehensively, including the smoothness of different scenes, the stability of the upgrade process, etc., thereby providing more accurate game quality evaluation and improvement suggestions. Adopting automated testing methods can also help game development companies discover and fix potential problems and vulnerabilities in games earlier, reducing the cost and risk of later repairs. Through automated testing, more game scenarios and operating conditions can be covered, including a large number of user behavior patterns and game interaction methods, thus providing more comprehensive game testing coverage.

[0003] In the prior art, the methods for simulating game operation mainly include game software hanging up, artificial intelligence games, game hardware plug-ins, Python scripts to control games and game mouse macros, etc. Game software hanging up refers to the use of computer technology to change some programs of online game software specifically for one or more online games, thereby creating cheating programs. For example, script software such as Key Wizard appears more frequently in the front-end simulation hanging up. Key Wizard is a software that simulates mouse and keyboard actions. By making scripts, Key Wizard can automatically perform a series of mouse and keyboard actions instead of manual operations. However, Key Wizard requires professional technicians to write scripts, which has a certain threshold for ordinary users, high learning costs, and users cannot master it in a short time. The combination of artificial intelligence and games such as the Go robot AlphaGo simulates and expands the theoretical methods, scientific technologies and application systems of human intelligence. AlphaGo mainly uses Monte Carlo tree search and convolutional neural network algorithms to perform image information recognition and chess search optimization on chess games, and calculates the optimal chess path through a large number of chess games and chess training. However, this type of artificial intelligence technology requires analysis of specific games and a lot of time to train game scenarios, and cannot meet the needs of testing hundreds of games in a short period of time.

[0004] Game hardware plug-ins use hardware device technology to simulate the game environment and drive the operation of game characters. For example, there is a physical button-driven King of Glory game program. The designer uses the camera to capture the hero and battle information on the mobile phone screen, and then converts this information into specific output signals by the control system to operate the heroes in the King of Glory game, so that the game can be played automatically. However, this is limited to touch-screen games. Users usually use laptops or desktops to log in to cloud client games. The overall idea of ​​Python script control of the game is to capture the main game picture, then divide it into small pictures, compare each small picture, compare the picture recognition, and store the numbers in the matrix to quickly complete the pairing, so that the game can be passed. This method is usually used in small games of the picture matching type, and cannot be used in large scene games that require huge matrix calculations. The main function of the mouse macro is to record some complex operations, and then give the key macro function through key settings. Macros are a series of system codes used to simplify operations during computer use. They are often used to speed up daily editing and formatting, combine multiple commands, and automate complex tasks. Game mouse macro settings refer to setting unique key replacement commands for high-end mice. In games, there are some specific and frequently used keyboard combinations that can be operated with game mice, and they are frequently used. Through mouse macro settings, they can be programmed and implemented with one key. For example, the game GTA5 uses mouse macros, which can play a powerful role in this game, especially when players are fighting, it can make tedious actions completed in an instant. So macros can help players complete it with one click and free their hands. However, mouse macros can only play an auxiliary role in client game simulation, and cannot achieve fully automatic simulation of games that do not require manual operation.

[0005] In summary, the existing methods of simulating game operation have certain limitations for cloud client games. For example, the game software hang-up technology has a certain threshold for ordinary users and the learning cost is high. Artificial intelligence games require analysis of specific games and require a lot of time to train game scenes. Game hardware plug-ins are limited to touch-screen games, and users usually use laptops or desktops to log in to cloud client games. Python script control games cannot be applied to large-scale scene games that require huge matrix calculations. In addition, mouse macros can only play an auxiliary role in client game simulation, and it is impossible to achieve fully automatic simulation operation of games that do not require manual operation. Summary of the invention

[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a method for automatically running cloud games on a client for cloud rendering. The method comprises the following steps:

[0007] Step S1, for different cloud game types, obtain scene configuration and character role-related information as prior knowledge, wherein the prior knowledge includes scene configuration information, game strategy, game rules and winning rules.

[0008] In order to automatically simulate different types of cloud games, it is very important to obtain information related to scene configuration and character roles. This information is called prior knowledge, and prior knowledge includes, for example, scene configuration information, game strategies, game rules, and winning rules. Prior knowledge provides the basic framework and rules of the game, and provides guidance and constraints for automatic simulation. In order to establish a prior knowledge base, in one embodiment, the existing game-related information, such as scene configuration, character role settings, and game rules, is first integrated and analyzed. This information can come from existing game documents, developer design instructions, or evaluation reports from professional game analysts. By integrating and summarizing this information, a knowledge base containing prior knowledge is established. The prior knowledge base is a resource that is continuously updated and expanded. With the release of new games and the improvement of old games, new prior knowledge can be added to the library in a timely manner to maintain its accuracy and timeliness. For example, the update mechanism of the knowledge base includes incremental updates, regular reviews, feedback learning, and community collaboration. Through these update strategies, the prior knowledge base can be continuously enriched and improved so that it can adapt to the ever-changing game environment. By using the game characteristic analysis module, relevant prior knowledge can be extracted from the game and compared and matched with the prior knowledge base. Through these designs, the present invention can provide strong support for automatic simulation of cloud games. The existence of the prior knowledge base makes the simulation process more accurate and efficient, because it provides the basic rules and behavior patterns of the game, which can guide the automatic simulation.

[0009] Step S2, based on the prior knowledge, write a test script and combine it with a virtual mouse and a virtual keyboard to automatically simulate the cloud game, and then use the test script to test the cloud game effect multiple times on the target application platform, wherein each time the test script is run, an expected test effect is set, and the test effect is updated according to user needs to obtain the expected effect required for the cloud game.

[0010] Based on prior knowledge and prior knowledge base, scripts for simulating games can be generated. Through the script generation module, test scripts can be automatically written, and cloud games can be automatically simulated by combining tools such as virtual mouse and virtual keyboard. During the simulation process, the generated test script is run multiple times on the target application platform to test the effect of the cloud game. For example, each time the test script is run, an expected test effect is set, which can be defined according to user needs. By updating the test effect, the authenticity and accuracy of the simulation can be continuously improved to achieve the expected cloud game effect. The script generation module generates corresponding game operation sequences according to different game types and scenarios to achieve automatic simulation of cloud games. These test scripts contain specific game operations, such as mouse clicks, keyboard input, etc., to simulate the behavior of real players in the game. By combining virtual mouse and virtual keyboard, automatic operation of the game can be achieved, and then automatic simulation can be performed. By continuously updating and adjusting the test effect, it can be ensured that the simulation process meets the needs of the user to obtain the desired expected effect. Such an automatic simulation cloud game method can improve efficiency and reduce human resource investment, while being able to quickly evaluate and verify the performance and user experience of cloud games.

[0011] Compared with the prior art, the present invention focuses on improving the client automatic simulation method of cloud rendering games. Through innovative method steps and structural optimization, a series of improvements are achieved, making the automatic simulation process easier to use, more versatile and adaptable to various game scenarios. First, a priori knowledge base and a game feature analysis module are introduced, which enables the automatic simulation method to quickly adapt to different types of games. By collecting and analyzing key information of the game, such as game type, scene layout and character roles, the method can generate corresponding simulation scripts for various game scenarios. The establishment and update mechanism of the prior knowledge base ensures the accuracy and timeliness of the simulation process. Secondly, the present invention adopts a simple and easy-to-use shell script language, and combines the mouse and virtual keyboard tools to reduce the difficulty of user learning and operation. This design allows players of different skill levels to easily get started and enjoy the convenience brought by automatic simulation. The use of shell script language simplifies the script writing process and provides rich operating functions. In addition, the present invention also has an adaptive adjustment function, which can automatically adjust the activity time and range of game characters in shell scripts according to the needs of players. This innovative design makes the method more flexible in dealing with different game environments and player needs. Players can set the activity time and range of the game characters according to their preferences and needs to obtain a more personalized simulation experience.

[0012] In general, the present invention makes the client automatic simulation method of cloud rendering games more user-friendly, versatile and flexible by introducing a priori knowledge base, simplifying script writing and providing adaptive adjustment functions, thereby providing users with a convenient and efficient gaming experience.

[0013] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0015] Figure 1 is a flow chart of a method for automatically running a cloud game on a client for cloud rendering according to an embodiment of the present invention;

[0016] Figure 2 is a schematic diagram of a process of automatically running a cloud game on a client for cloud rendering according to an embodiment of the present invention;

[0017] Figure 3 is a schematic diagram of a 3D chess game according to one embodiment of the present invention;

[0018] Figure 4 is a schematic diagram of a scene of the space shooting game AstroMenace according to an embodiment of the present invention;

[0019] Figure 5 is a schematic diagram of a test script of the space shooting game AstroMenace according to an embodiment of the present invention;

[0020] Figure 6 is a schematic diagram of a test script of the shooting game AssaultCube according to an embodiment of the present invention;

[0021] Figure 7 1 is a schematic diagram of a scene of the shooting game AssaultCube according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0023] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0024] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0025] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0026] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0027] The present invention proposes an innovative method for automatically simulating cloud games on a client side for cloud rendering, and focuses on improving the method steps and structure. By analyzing the characteristics of game types, scene layouts, characters, etc., information that is crucial to game script writing is obtained and used as prior knowledge. For the improvement of the method steps, for each game, the script program is first initialized using prior knowledge. This means that by introducing a priori knowledge base, the basic characteristics of the game can be quickly understood and prepared for the subsequent simulation process. Then, the script is written and tested according to the characteristics of the game, and the cloud game is run on the target application platform for simulation testing. In order to obtain the desired expected effect, an expected test effect is set each time the game script is run. This means that during the automatic simulation process, the user can continuously update the test effect according to their own needs to gradually optimize the accuracy and authenticity of the simulation. For structural improvements, the present invention introduces a priori knowledge base, which stores information such as typical scene layouts, character settings, game rules, etc. of various game types. Through the establishment and continuous updating of the prior knowledge base, various game scenes can be accurately analyzed and adapted to improve the accuracy and efficiency of the automatic simulation process. In addition, a game feature analysis module is designed to extract key information from the prior knowledge base and generate corresponding simulation scripts. In summary, the present invention has made important improvements in the automatic simulation of cloud games for cloud rendering clients. By utilizing prior knowledge, optimizing method steps and improving the structure, it is possible to more accurately analyze and adapt to various game scenarios, and improve the accuracy and efficiency of the automatic simulation process.

[0028] Specifically, combined Figure 1 and 2 As shown, the provided method for automatically running cloud games on a client for cloud rendering includes the following steps:

[0029] Step S110, for different cloud game types, obtain scene configuration and character-related information as prior knowledge.

[0030] This step S110 is responsible for selecting the game scene type and analyzing the game configuration. For example, in order to analyze the game scene and game characters, three different types of game programs were selected for research, including OpenGL 3D chess, space shooting game AstroMenace, and CS Counter-Strike first-person shooter AssaultCube. These games represent different game types and characteristics. By analyzing these games, important information about the game scene and game characters can be obtained and used as prior knowledge for subsequent stages. In the game analysis process, in addition to studying the scene layout and character setting of the game, it is also necessary to understand the most basic rules and game strategies of each game. These basic rules and strategies are closely related to the design of the script program and are essential for writing accurate automatic simulation scripts. By deeply studying the type and characteristics of each game, including the analysis of game rules, strategies, and winning rules, key information related to script program design can be obtained.

[0031] Specifically, through detailed analysis of OpenGL 3D chess, space shooter AstroMenace, and CS Counter-Strike first-person shooter AssaultCube, including research on game scenes, characters, rules, and strategies, we can establish prior knowledge for these games. This prior knowledge will become an important basis for the subsequent automatic simulation of cloud games, and will be used to generate corresponding simulation scripts and test them. By analyzing different game types, we can obtain detailed information about game scenes and game characters and convert them into prior knowledge, providing important support for the subsequent automatic simulation process. At the same time, the study of game rules and strategies can also provide key guidance to ensure the accuracy and adaptability of script programs. Such an analysis and research process will lay a solid foundation for the implementation of automatic simulation of cloud games.

[0032] In one embodiment, the prior knowledge includes scene configuration information, game strategies, game rules, and winning rules. Cloud game types include, but are not limited to, chess games or shooting games in which two players play against each other. For example, for chess games, the game strategy is to know how to move each type of chess piece, and the winning rules are the conditions for winning the game. For another example, for shooting games, the game rules reflect the relationship between the mouse operation type and the action type for the target object, or the action type corresponding to the keyboard operation type.

[0033] Step S120, writing a test script based on the prior knowledge and game characteristics.

[0034] This step S120 is responsible for writing a script program according to the game type and game scene configuration. After completing the game program analysis stage, the prior knowledge of game rules and game strategies is mastered. Further, analysis can be performed based on the obtained scene configuration information.

[0035] For example, according to the prior knowledge of the game scene configuration, the following functions and controls are added in the script writing process. First, script loop statements, game character action delay statements, virtual mouse xdotool simulation and virtual keyboard florence virtual keyboard simulation are added to the script program. The introduction of these functions enhances the authenticity and diversity of automatic simulation. For another example, for shooting games, considering that the game operation needs to control the middle pulley of the game mouse, the corresponding mouse middle pulley control and switching script program are included in the script program. For example, in the CS counter-terrorist shooting game AssaultCube, pistols, Gatling rifles and hand knives are set according to priority, and jump operations are added to help players avoid enemy attacks. Through the above improvements and controls, the automatic simulation method of the present invention can write a script program with various functions according to prior knowledge and game scene configuration to realize the automatic simulation operation of the game. These improvements and controls make the automatic simulation more accurate and real, and can adapt to different types of game environments and operation requirements.

[0036] Specifically, mouse operation types include: double-clicking the right mouse button to perform a specific action or trigger a function; sliding the middle mouse wheel to switch between different types of objects or scrolling; controlling the coordinate position of the mouse to accurately locate or indicate the target in the game. Keyboard operation types include: controlling the movement direction of the character in the game by pressing the up, down, left, and right arrow keys on the keyboard; and performing a jump action or triggering a specific function by pressing the space bar.

[0037] In order to test the correctness and effect of these types of operations, a test script was created. The test script contains script comments to explain the role and function of each part of the script. The script language uses the sleep command so that a suitable time delay can be simulated when executing the script. The virtual mouse and virtual keyboard are used to simulate mouse and keyboard operations, and a time delay for entering the game is added to the test script to ensure that the game environment is ready. In addition, the middle pulley of the virtual mouse is used to control the switching between different types of objects, and the jump function is also added to the script. By writing such a test script, the mouse and keyboard operations in shooting games can be tested and verified to ensure that the relationship between game rules and operations is correct and smooth, and provide a good gaming experience.

[0038] In addition, the test script can further include adjusting the time and range of the game character's activities. This means that the speed of time passing or the size of the activity range in the game can be set to simulate different game scenes and situations. The test script can also manipulate the game character according to the player's own needs. This means that the behavior, ability or attributes of the game character can be adjusted according to the player's input or settings to meet the player's expectations and game experience.

[0039] Through the functions designed above, the test script can provide a more flexible and personalized game testing experience. Players can adjust the time, scope and behavior of the game characters according to their preferences and requirements, so as to create a game scene that meets their needs. Such a test script can be used to verify the playability, balance and adaptability of the game to ensure that the performance of the game in different situations matches the needs of players.

[0040] Step S130, testing the cloud game performance on the target application platform using the written test script.

[0041] It should be understood that the method of the present invention is not only applicable to applications on the cloud server side, but can also be used on various operating system platforms, such as Linux, Windows, and Mac OS X. No matter which operating system the user uses, the automated game tuning function brought by the present invention can be enjoyed. In particular, the method of the present invention also supports automated game tuning in the Android system. Through the remote control function, the user can use the provided automatic simulation method on the Android device to achieve automated tuning operations on the game. This enables Android system users to conveniently use the method of the present invention to optimize game performance and perform automated testing. Therefore, whether on the cloud server side or on various operating system platforms and Android systems, the method of the present invention can provide reliable and efficient automated game tuning functions, bringing better gaming experience to users.

[0042] Specifically, step S130 is responsible for testing the game script program on the cloud server. For example, after completing the game script writing in the previous stage, the goal of this stage is to set the expected time, expected state and interactive scene for the game script to control the automatic operation of the game character. By setting these expected test effects, the cloud game can be automatically simulated and tested. Before starting the automatic simulation test, the time of the simulation test is first recorded as T1, and the game character scene running state is recorded as S1. Subsequently, according to the expected test effect set in the previous stage, the next update test is performed. By analyzing the results of the simulation test, it can be evaluated whether the actual running game scene and character state meet the set expectations. According to the evaluation results, it can be determined whether further update tests are needed to improve the accuracy and authenticity of the simulation. The purpose of this stage is to verify the effectiveness of the game script through automatic simulation test, and to guide the subsequent update test process according to the setting of the expected test effect. Through continuous testing and evaluation, the simulation results can be gradually optimized to achieve the expected effect required for the cloud game.

[0043] Specifically, using test scripts on the target application platform to verify the cloud gaming effect through multiple rounds of testing includes: setting the expected test effect of the test script, which includes the expected time for controlling the automatic operation of the game character, the expected state of the game character operation, and the expected scene of interaction between the game characters; when setting the test script, the expected test effect can be included to evaluate the performance of the game character and the function of the game system. These expected test effects include:

[0044] Control the expected time for the game character to run automatically: The test script can set the duration of the game character in automatic running mode. This can be used to test the movement, behavior and reaction ability of the game character in different time periods to evaluate its performance and stability during long-term gaming.

[0045] Expected state of game character operation: Test scripts can set the behavior and performance of game characters in different states. For example, you can test the actions, animations, and interactive reactions of game characters in normal state, injured state, happy state, or other special states. This helps to evaluate the visualization and playability of game characters in different situations.

[0046] Expected scenarios for interactions between game characters: Test scripts can simulate interaction scenarios between game characters, such as cooperation, confrontation, interaction, etc. This can be used to evaluate the collaboration ability, reaction speed, and interaction effect between game characters. Test scripts can set specific interaction scenarios to verify the functionality and balance of the teamwork or battle system in the game.

[0047] By setting these expected test effects, the test script can simulate real game scenarios and player experiences to evaluate the performance of game characters and the functionality of game systems. This helps to discover potential problems, improve gameplay, and provide a better user experience.

[0048] Furthermore, the cloud server automatically simulates the game according to the test script and records the time of the simulated test and the running status of the game character scene. This means that the test script will be run on the cloud server and simulate the running process of the game. During the test, the server will record the time of the simulated test and the running status of the game character scene. Through the automatic simulated test, the performance and stability of the game in different situations can be evaluated. The server controls the behavior, interaction and movement of the game character according to the pre-set test script to simulate the operation of the real player. During the test, the server records the start time and end time of each test to calculate the time of the simulated test. At the same time, the server also records the running status of the game character scene. This includes the position, action, state change of the game character and the interaction with other game elements. By recording the running status of the game character scene, the visualization effect, interaction design and response performance of the game system can be analyzed. By performing automatic simulated test on the cloud server and recording relevant data, a comprehensive evaluation of game performance and user experience can be achieved. This testing method can help developers identify potential problems, improve the design and function of the game, and provide users with a better gaming experience.

[0049] Next, according to the expected test effect, the results of the simulated run test can be evaluated and judged to determine the next update test. The evaluation process can include quantitative and qualitative analysis of the test results, as well as comparison with the expected test effect. First, the time of the simulated run test can be evaluated. If the test time is consistent with or close to the expected test effect, it means that the game has completed the relevant tasks or reached the target state within the expected time range. If the test time obviously exceeds or does not meet expectations, it may be necessary to further analyze the reasons and consider whether adjustments or optimizations are needed. Secondly, the running status of the game character scene can be evaluated. Compare the actual status of the game character recorded during the simulated run test with the set expected status to determine whether the expected interactive scene, action or state has been achieved. If the behavior, position or interaction of the game character with other elements does not meet expectations, it may be necessary to further analyze the problem and decide whether an update test is needed. Comprehensively evaluating the time of the simulated run test and the running status of the game character scene can make a judgment on whether to update the current version of the game. If the test results meet expectations and there are no obvious problems or improvement needs, it can be considered that the current version is relatively stable and other types of testing or release may be continued. If there are problems with the test results or they do not meet expectations, further adjustments, repairs or optimizations may be required, and update tests may be conducted to verify the improvement effect. Through continuous update tests, the performance, stability and user experience of the game can be gradually improved to ensure that the quality and functions of the game meet expectations and provide players with a better gaming experience.

[0050] After exiting the test execution, the optimal game scenes and character operation simulations that meet the expected test effects set can be collected. These optimal game scenes and character operation simulations are the results that achieve the expected effects and perform best during the test process. There are many ways to collect these optimal game scenes and character operation simulations. For example, one way is to analyze the data and logs recorded during the simulation operation test to screen out excellent scenes and operation simulations that meet the expected test effects. These data and logs may include information such as the behavior trajectory of the game characters, the interaction with other elements, and the status of the game scenes. By analyzing these data, the optimal scenes and simulation operation results that achieve the expected test effects can be identified. Another way is to collect the optimal game scenes and character operation simulations that meet the expected test effects based on the feedback and evaluation of testers or users. Testers or users can select and provide the game scenes and character operation simulations that they think are the best based on their experience and perception. These feedback and evaluations can be collected and organized through questionnaires, user feedback platforms, test reports, etc.

[0051] Step S140, obtaining optimal configuration information that meets the expected effect.

[0052] By using prior knowledge, the present invention realizes initialization optimization in the automatic simulation process of the cloud game client, and estimates the initial expected running time by using prior knowledge. The application of this innovative method improves the efficiency and effect of the entire automatic simulation process. In the initialization stage, prior knowledge is used to evaluate the expected running time of the game, which helps the system to quickly determine the initial configuration of the task. During the operation of the cloud game, the present invention can update the expected running time in real time. Through the dynamic adjustment mechanism, the system can dynamically adjust the maximum allowed time of the task according to the actual situation, avoiding long-running tasks. This dynamically adjusted optimization strategy significantly shortens the time to find the optimal configuration of the task and improves the overall performance. In addition, the present invention also helps to improve the efficiency of task scheduling and resource utilization. By updating the expected running time in real time and limiting the maximum allowed time of the task, the system can find a suitable task configuration in a shorter time, thereby more efficiently utilizing hardware resources and computing power. This optimization strategy helps to improve the task processing capability and overall performance of the system. The present invention improves the efficiency and effect in the automatic simulation process of the cloud game client through initialization optimization and dynamic adjustment mechanism. This method can help the system find the optimal configuration of the task faster and improve the efficiency of task scheduling and resource utilization, thereby improving the performance and user experience of cloud games.

[0053] Specifically, step S140 is responsible for judging the result of the game script program being tested in the cloud server. After each test is performed, it is judged whether the expected test effect is achieved according to the expected test effect of the game scene and character running simulation set in the previous stage. This judgment process is to ensure the accuracy of the game simulation and meet expectations. If the effect of the game scene and character running simulation reaches the expected test effect, the system will exit the test task, indicating that the expected game scene and character behavior have been successfully simulated. However, if the test result does not meet expectations, that is, the game simulation effect does not reach the set expected test effect, the system will make appropriate adjustments, adjust the relevant parameters or logic of the script test program, so as to better simulate the game scene and character behavior, and continue to perform the test. Through such a judgment and adjustment mechanism, the present invention can improve the accuracy and effect of the game simulation. Continuously judge the test results and adjust them as needed to ensure that the game script program can better simulate the expected game scene and character behavior to meet the needs and expectations of users. This iterative testing and adjustment process ensures the quality of cloud games and the improvement of user experience. By performing multiple tests, the optimal game scene and the expected test effect of the character running simulation can be collected. For example, after exiting the test execution, if the test results of the game scene and character operation simulation set in the previous stage meet the expected test results, the test configuration corresponding to the test is the optimal test configuration.

[0054] In summary, the present invention obtains game scene configuration information by analyzing the game program, writes a script program according to prior knowledge and sets the expected test effect, continuously updates the test effect by running the cloud test program, and writes different script programs according to different game load requirements to obtain the expected effect of the user.

[0055] In order to verify the effect of the present invention, a series of experimental verifications were carried out. First, the 100 collected cloud games were experimentally compared, and the manual performance test was compared with the automated test using shell game scripts. The experimental process is as follows: First, a manual performance test was performed for each game. Each game was familiarized one by one, and performance tests were performed. The whole process took 100 hours to ensure a comprehensive understanding and evaluation of the performance of each game. Next, the 100 games were tested using the automated testing method proposed in the present invention. First, each game was familiarized with the scene and characters for 10 minutes to understand the basic situation of the game. Then, 10 minutes were used to program and iterate the game script. By writing a script program and testing it, the operation of the game can be automatically simulated, and customized game simulation tests can be performed according to user needs. During the experiment, 3D chess, space shooting game AstroMenace, and Counter-Strike shooting game AssaultCube were selected as demonstration examples of automated simulation operation of cloud games. Through the testing of these games, the effectiveness and feasibility of the automated simulation method proposed in the present invention are demonstrated. Through experimental verification, the automated testing method of the present invention has achieved significant results and achievements in the process of simulating cloud games. Compared with manual performance testing, the method of the present invention can significantly save time and energy, and realize automated simulation testing of multiple cloud games, so that users can perform game simulation testing at any time according to their own needs. This verification result further proves the innovation and application value of the present invention in the field of cloud games.

[0056] Figure 3 A 3D chess game written in OpenGL is demonstrated. Before conducting automated testing, first use 10 minutes to familiarize yourself with the game board, chess pieces, and game strategies. The chessboard is an 8*8 grid chessboard with yellow and black patterns. The chess pieces include 16 black and 16 white pieces, including 8 pawns, 1 king, 1 queen, 2 knights, 2 elephants, and 2 rooks. The game strategy requires understanding the basic moves of each type of chess piece and knowing the king's ultimate strategy, that is, the king is being attacked and cannot escape, and other chess pieces cannot help. Next, a shell script was written within 10 minutes to automatically control the progress of the game. The script written includes script comments, sleep pauses in the script language, and virtual mouse xdotool simulation. The experimental results are as follows: Figure 3As shown. In the experiment, the white chess piece goes first, and the xdotool virtual mouse is used to place the white chess piece at the specified screen coordinate position. At the same time, "pawn loaded" will be displayed in the script comment on the right side of the screen, recording the execution process and number of executions of the white chess piece. The sleep pause in the script language determines the appropriate pause time based on the analysis of the game scene and role to wait for the other party to make a move. Users can conduct game tests according to their own testing needs, and implement more complex chess game strategies through continuous updating and iterative testing. Finally, the optimal configuration for fully automatic testing of cloud server performance can be achieved. Figure 3 The application example of the present invention in 3D chess game is demonstrated, and the feasibility and effectiveness of the automated testing method of the present invention in cloud games are verified. By writing scripts and using automated testing technology, the game can be accurately controlled and comprehensive testing and optimization of server performance can be achieved.

[0057] Figure 4 and Figure 5 The space shooting game AstroMenace was demonstrated. Before starting the automated test, I first used 10 minutes to familiarize myself with the game's strategy. AstroMenace is a shooting game with a full 3D interface visual feature. In the game operation, double-clicking the left mouse button fires bullets, double-clicking the right mouse button drops bombs, and the player's controlled aircraft moves according to the mouse coordinates. Next, a shell script suitable for AstroMenace was written in 10 minutes. The script includes script comments, sleep pauses in the script language, and virtual mouse xdotool simulation. Because AstroMenace has rich game scenes and fast-paced shooting actions, more left and right double-click actions of the mouse are added to the script, and multiple for loops are used to ensure that the game spacecraft has strong combat capabilities and can avoid the attacks of spacecraft in time according to the game scenes. Through the writing and automated testing of these scripts, the simulation operation of the AstroMenace shooting game on the cloud server can be realized. The virtual mouse operation and delay settings in the script program enable the game spacecraft to automatically shoot, drop bombs, and avoid enemy attacks. This automated testing method can effectively improve the combat effectiveness and survivability of game spacecraft, while ensuring that the actual execution effects of game scenarios and strategies meet expectations. Figure 4 and Figure 5 The application example of the present invention in the space shooting game AstroMenace is shown. By being familiar with the game strategy and writing scripts, the present invention realizes the automatic simulation operation of cloud games, provides users with a convenient testing method, and improves the operation ability and adaptability of the game spacecraft.

[0058] Figure 6 and Figure 7 AssaultCube, a cross-platform first-person shooter game similar to CS Counter-Strike, was demonstrated. Before starting the automated test, I first spent 10 minutes to familiarize myself with the game's strategy. AssaultCube is a shooting game that supports multiplayer games and has rich game maps and scenes. In the game operation, double-click the left mouse button to fire bullets, double-click the right mouse button to cast mines, and slide the middle mouse wheel to switch between hand knives, short guns, and long guns. Players preview the field of view by controlling the mouse coordinates, move the position by using the up (w), down (s), left (a), and right (d) keys on the keyboard, and jump by using the space bar. Next, a shell script suitable for AssaultCube was written within 10 minutes. The script includes script comments, sleep pauses in the script language, virtual mouse xdotool, and virtual keyboard florence. In the experiment, the script added a time delay for entering the game, controlled the switching of hand knives, short guns, and Gatling rifles by using the middle pulley of the virtual mouse, and added a jump operation to avoid enemy attacks.

[0059] By writing and automatically testing these scripts, we can simulate the running of the AssaultCube shooting game on the cloud server. The virtual mouse and virtual keyboard operations in the script program, as well as the appropriate pause time, enable game players to automatically shoot, switch weapons, and dodge enemy attacks. This automated testing method can effectively improve the player's operating ability and reaction speed, and ensure that the actual execution effect of the game strategy is consistent with expectations. Figure 6 and Figure 7 The application example of the present invention in AssaultCube, a shooting game similar to CS Counter-Strike, is demonstrated. Through familiarity with game strategies and script writing, the present invention realizes the automated simulation operation of cloud games, provides users with a convenient testing method, and improves the player's operating ability and ability to deal with enemies.

[0060] According to the experimental results, the present invention realizes the rapid tuning of the automated simulation operation of cloud server games by combining shell script language, virtual mouse Xdotool and virtual keyboard florence. While greatly reducing the time and cost of cloud server-side game performance testing, it improves the efficiency of users' mastery of script test programs and meets users' expectations for game test effects. Compared with the prior art, the method of the present invention shows significant advantages in both the time cost of cloud game simulation and the expected test effect of the game. The experimental results show that under different program loads, the method of the present invention reduces the program running time by up to 4.51 times compared with the official default configuration, and the average optimization multiple reaches 3.99 times. This shows that the present invention has achieved significant optimization effects in cloud server game performance testing. The present invention realizes automatic simulation of cloud game operation by the client for cloud rendering, and can control game characters in various game scenes. Combined with the cloud automatic game simulation operation technology, the game operation can be simulated on thousands of cloud devices at the same time to detect the load of cloud devices. This provides strong support for the performance optimization and resource utilization of cloud games, and provides users with efficient and accurate game testing methods.

[0061] The present invention realizes automated simulation operation and rapid tuning for cloud server games by innovatively combining shell scripting language, virtual mouse Xdotool and virtual keyboard florence. This unique method greatly reduces the time and cost overhead of cloud server-side game performance testing, while improving the efficiency of users for script testing programs and meeting the game testing effects that users expect to achieve. Compared with the prior art, the present invention shows significant advantages in the time cost of cloud game simulation and the expected test effect of the final game. This significant performance improvement highlights the superiority of the present invention. At the same time, the present invention realizes automatic simulation of cloud game operation for cloud rendering clients, and can control game characters in various game scenes. Combined with cloud automatic game simulation operation technology, the present invention can simulate game operation on thousands of cloud devices at the same time to detect the load of cloud devices. This feature makes the present invention extremely practical in the field of cloud games, provides an effective solution for performance optimization and resource utilization of cloud server games, and provides users with efficient and accurate game testing methods.

[0062] In summary, compared with the prior art, the advantages of the present invention are mainly reflected in the following aspects:

[0063] 1) The present invention focuses on the cloud game client, and adopts easy-to-operate, simple-grammar shell scripts, so that it does not require the assistance of professionals, thereby lowering the learning threshold. Using shell scripts as a means of implementation allows users to quickly get started and write their own test programs without having to have in-depth programming knowledge. The method of the present invention does not need to consider the scale of cloud games and the time overhead of large-scale pre-training, which greatly saves resources. Compared with traditional testing methods, the shell script language used in the present invention is lightweight and efficient, and does not require cumbersome pre-training or complex configuration processes. This makes the testing process simpler and faster, and can be flexibly applied in cloud game environments of different scales. Therefore, the method of the present invention not only has the characteristics of simple operation, easy to learn and use, but also shows superiority in resource utilization, providing users with an efficient and low-cost cloud game testing solution.

[0064] 2) The present invention focuses on solving the problem of automatic simulation operation of cloud client games, and achieves this goal through two small software tools, namely the mouse simulation tool xdotool and the virtual keyboard tool florence virtual keyboard. Using these tools, the present invention can perform automated simulation tests on cloud games. During operation, the present invention realizes automatic simulation of cloud games by understanding the scenes and characteristics of cloud games in a short time, and utilizing the writing ability of shell scripting language. By writing scripts, the present invention can simulate various operations of users in cloud games, including mouse clicks, keyboard input, etc. By interacting with cloud games, the simulation game testing method of the present invention can simulate the behavior of real users and evaluate and test the performance of cloud games. Therefore, the simulation game testing method provided by the present invention realizes automatic simulation operation of cloud client games by using tools such as mouse simulation and virtual keyboard, and utilizing the writing ability of shell scripting language, and can interact with cloud games, providing an effective solution for the testing and evaluation of cloud games.

[0065] 3) The present invention proposes a general game script program configuration method, which is applicable to all cloud server game simulations. The method can be flexibly configured according to the expected simulation requirements to achieve personalized game simulation. Through the game script program configuration method of the present invention, the traditional manual testing process can be replaced to achieve large-scale automated game simulation. Compared with manual testing, this automated simulation method significantly improves the efficiency of testing and significantly reduces the cost of testing. The game simulation operation optimization scheme of the present invention further improves the performance of simulation testing. By optimizing the script program and related configurations during the game simulation operation process, a more efficient game simulation can be achieved to meet different simulation expectations. Therefore, the game script program configuration method of the present invention provides a general solution for all cloud server game simulations, which can be flexibly configured according to requirements. At the same time, by replacing manual testing on a large scale and reducing testing costs, as well as high-performance game simulation operation optimization, the present invention has important application value in the field of cloud server game simulation.

[0066] 4) The present invention realizes the overall optimization process from game scene configuration analysis to cloud game test update. By comprehensively considering the configuration and analysis of the game scene, as well as the update requirements of the cloud game test, the present invention can provide a full range of optimization solutions. In terms of game scene configuration analysis, the present invention adopts an intelligent method to determine the key configuration elements by understanding and analyzing the game scene in a short time. This configuration analysis method can quickly and accurately obtain the key information of the game, providing a basis for subsequent optimization. In terms of cloud game test update, the present invention provides flexible configuration options, allowing users to configure independently according to their own needs. Users can flexibly adjust the effect of optimization iteration according to test results and optimization goals to meet their specific needs. This flexibility enables the optimization effect to better adapt to the requirements of different users. Therefore, the present invention realizes the overall optimization from game scene configuration analysis to cloud game test update, and provides a highly flexible optimization scheme. Through this method, more efficient and personalized optimization effects can be achieved for different games and test requirements.

[0067] 5) Compared with the existing Python script control game software automation test method, the present invention adopts a shell script language with simple syntax, and combines keyboard and mouse simulation software to design a method that is more in line with game automation simulation testing. By using the shell script language, the present invention lowers the learning threshold, so that users can easily get started without complex programming knowledge. The syntax of the shell script language is simple and easy to understand, and users can quickly write scripts to achieve automated simulation of games. At the same time, the present invention also introduces keyboard and mouse simulation software, such as xdotool and florence virtualkeyboard, to achieve simulated operation of the game. Through these tools, the user's keyboard and mouse input can be simulated to interact with the game. This method is more in line with the needs of game automation simulation testing and can accurately simulate the user's operating behavior in the game. On the cloud server side, the present invention realizes high-performance automatic operation simulation optimization of the shell game script program. By combining the resource advantages of the cloud server, the scope of application can be expanded, while improving the efficiency and accuracy of the test. In this way, the operation of multiple game instances can be simulated on the cloud server at the same time, and large-scale automated testing can be performed. Therefore, compared with the existing Python script control game software automated testing method, the present invention uses a simple grammatical shell script language and keyboard and mouse simulation software to design a method that is more in line with game automated simulation testing. High-performance automatic operation simulation optimization is achieved on the cloud server side, and the scope of application is expanded.

[0068] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0069] In short, the present invention has significant advantages in terms of cloud game automated simulation operation, performance optimization, cloud device load detection, etc., highlighting innovation, practicality and technical superiority. Therefore, the present invention has high practical value and is expected to bring major breakthroughs in the field of cloud games. We will strive to obtain authorization for this patent.

[0070] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0071] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0072] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, Python, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0073] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0074] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0075] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0076] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0077] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used in the present invention is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed in the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A method for automatically running a cloud game on a cloud rendering client, comprising the following steps: For different cloud game types, obtain scene configuration and character-related information as prior knowledge, including scene configuration information, game strategy, game rules, and winning rules; Based on the prior knowledge, a test script is written and combined with a virtual mouse and virtual keyboard to automatically simulate cloud games, and then the test script is used to test the cloud game effects multiple times on the target application platform. Each time the test script is run, an expected test effect is set, and the test effect is updated according to user needs to obtain the expected effect required for cloud games.

2. The method according to claim 1, characterized in that The cloud game types include chess games or shooting games of the two-party type.

3. The method according to claim 2, characterized in that For the two-player chess game, the game strategy is to know the moves of each type of chess piece, and the winning rules are the conditions for winning the game. The test script contains script comments, script language sleep pause commands and a virtual mouse, wherein the script comments are used to explain the role and function of each part of the script, the script language sleep pause command is used to set the pause time based on the analysis of the game scene and the character, and the virtual mouse is used to control one party to place the chess piece at the specified screen coordinate; and a time delay for entering the game is added to the test script, and the middle pulley of the virtual mouse is used to control the switching between different types of objects, and a jumping function is added to the test script.

4. The method according to claim 2, characterized in that For the shooting game, the game rules reflect the relationship between the mouse operation type and the action type for the target object and the action type corresponding to the keyboard operation type; The mouse operation types include: Double-click the right mouse button: Double-click the right mouse button to execute the set action or trigger the set function; Slide the middle mouse wheel: Slide the middle mouse wheel to switch or scroll between different types of objects; Control mouse coordinates: locate or indicate the target in the game by controlling the coordinate position of the mouse; The keyboard operation types include: The up, down, left, and right arrow keys on the keyboard: Control the direction of movement of the character in the game by pressing the up, down, left, and right arrow keys on the keyboard; Spacebar: Press the Spacebar to perform a jump action or trigger a set function.

5. The method according to claim 1, characterized in that The target application platform includes a cloud server or a platform based on Linux, Windows and Mac OS X operating systems.

6. The method according to claim 4, characterized in that The test script also includes adjusting the time and range of the game character's activities and manipulating the game character according to the player's own needs.

7. The method according to claim 1, characterized in that During the process of running the test script, the expected running time is updated and used as the maximum permitted time for the next running.

8. The method according to claim 1, characterized in that Using the test script to test the cloud gaming effect multiple times on the target application platform includes: Setting the expected test effect of the test script, the expected test effect includes the expected time for controlling the automatic operation of the game character, the expected state of the game character's operation, and the expected scene of interaction between the game characters. The expected time for the automatic operation of the game character is used to test the movement, behavior, and reaction ability of the game character in different time periods. The expected state of the game character's operation is used to test the action, animation, and interactive reaction of the game character in a normal state, an injured state, a happy state, or a set state. The expected scene of interaction between the game characters is used to evaluate the cooperation ability, reaction speed, and interaction effect between the game characters. Performing an automatic simulation run test on the game according to the test script on the cloud server, and recording the simulation run test time and the game character scene running status, wherein the game character scene running status includes the game character's position, action, state change, and interaction with set game elements; Determining the next update test based on the expected test results, including the time of the simulated test run and the difference between the actual state of the game character during the test run and the expected state; After exiting the test execution, the optimal game scene and expected test effects of the character operation simulation that meet the expected test effects are collected.

9. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

10. A computer device comprising a memory and a processor, wherein a computer program capable of being run on the processor is stored in the memory, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.