A game compatibility testing platform that supports multiple platforms and multiple devices

By providing a game compatibility testing platform that supports multi-platform and multi-device, combining diversity recognition, configuration of virtual and physical testing environments, and systematic test case generation, the problem of insufficient comprehensiveness and accuracy of test results in the prior art is solved, and the effect of improving the comprehensiveness, accuracy and efficiency of tests is achieved.

CN119292951BActive Publication Date: 2025-02-28SHENZHEN DREAM WORKSHOP TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411797570.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-02-28
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

The existing technology lacks compatibility analysis capabilities for multi-platform and multi-device, resulting in insufficient comprehensive and accurate game compatibility test results.

Method used

It provides a game compatibility testing platform that supports multiple platforms and multiple devices, including distributed diversity identification modules, software and hardware environment analysis modules, effectiveness analysis modules, test environment construction modules, test case configuration modules and compatibility testing modules. Through diversity identification, configuration of virtual and physical test environments, and systematic test case generation, it efficiently identifies and analyzes compatibility issues in different hardware and software environments.

Benefits of technology

It improves the comprehensiveness and accuracy of the test, while ensuring the testing efficiency, and can efficiently identify and analyze compatibility issues in different hardware and software environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present application provides a game compatibility testing platform supporting multiple platforms and multiple devices, and relates to the field of compatibility testing technology, including: a distribution diversity identification module for generating diversity identification results; a software and hardware environment analysis module for generating a preset test software and hardware set; a validity analysis module for obtaining a first software and hardware set and a second software and hardware set; a test environment construction module for generating an integrated virtual environment and configuring a physical test environment; a test case configuration module for generating multiple groups of test cases; a compatibility testing module for obtaining compatibility testing results, which can efficiently identify and analyze compatibility issues under different hardware and software environments by combining diversity identification, configuration of virtual and physical test environments, and systematic test case generation, thereby achieving the technical effect of improving the comprehensiveness and accuracy of the test while ensuring the test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of compatibility testing, and in particular to a game compatibility testing platform supporting multiple platforms and multiple devices. Background Art

[0002] With the rapid development of game technology, the complexity and diversity of games are increasing, which makes game compatibility testing particularly important, because different game platforms and hardware configurations may cause various problems when the game is running, such as performance degradation, missing functions and poor user experience. In order to ensure that the game can run smoothly on multiple devices and operating systems, the development team needs to conduct compatibility testing.

[0003] Traditional game compatibility testing mainly relies on manual testing or testing through building virtual platforms. However, due to the diversity of game devices and platforms, manual testing is often difficult to test multiple devices and is costly. In virtual testing, some devices cannot fully simulate the performance of physical hardware in a virtual environment, which can also lead to inaccurate test results.

[0004] In summary, existing testing tools usually lack the ability to perform compatibility analysis on multiple platforms and multiple devices, resulting in incomplete and inaccurate test results. Summary of the invention

[0005] The purpose of this application is to provide a game compatibility testing platform that supports multiple platforms and multiple devices, so as to solve the technical problem in the prior art that the test results are not comprehensive and accurate due to the lack of compatibility analysis capabilities for multiple platforms and multiple devices.

[0006] In view of the above problems, the present application provides a game compatibility testing platform supporting multiple platforms and multiple devices, including: a distribution diversity identification module, used to perform distribution diversity analysis of platforms and devices for the game to be tested, and generate diversity identification results; a software and hardware environment analysis module, used to traverse a predetermined compatible negative example database based on the diversity identification results to perform compatibility software and hardware environment analysis, and generate a preset test software and hardware set; an effectiveness analysis module, used to call a historical test database, perform effectiveness analysis of a virtual environment test on the preset test software and hardware set, and obtain a first software and hardware set whose effectiveness index is greater than or equal to a preset effective index and a second software and hardware set whose effectiveness index is less than the preset effective index; a test environment construction module, used to perform virtual machine construction on the first software and hardware set, generate an integrated virtual environment, and configure a physical test environment for the second software and hardware set; a test case configuration module, used to receive the basic operation information of the game to be tested, perform test case configuration, and generate multiple groups of test cases, wherein any group of test cases has a test constraint mark including an operation function and a network online function; a compatibility testing module, used to perform compatibility testing on the multiple groups of test cases in the integrated virtual environment and the physical test environment, and record multiple groups of test results, which together with the test constraint mark constitute the compatibility test result of the game to be tested.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0008] A distribution diversity identification module is used to perform distribution diversity analysis of platforms and devices for the game to be tested and generate diversity identification results; a software and hardware environment analysis module is used to traverse a predetermined compatible negative example database to perform compatibility software and hardware environment analysis based on the diversity identification results, and generate a preset test software and hardware set; an effectiveness analysis module is used to call a historical test database, perform effectiveness analysis of virtual environment testing on the preset test software and hardware set, and obtain a first software and hardware set whose effectiveness index is greater than or equal to the preset effectiveness index and a second software and hardware set whose effectiveness index is less than the preset effectiveness index; a test environment construction module is used to perform virtual machine construction on the first software and hardware set to generate an integrated virtual environment, and configure a physical test environment for the second software and hardware set; a test case configuration module is used to receive the basic operation information of the game to be tested, configure test cases, and generate multiple groups of test cases, wherein any group of test cases has a test constraint mark including an operation function and a network online function; a compatibility test module is used to perform compatibility testing on the multiple groups of test cases in the integrated virtual environment and the physical test environment, and record multiple groups of test results, which together with the test constraint marks constitute the compatibility test results of the game to be tested. By combining diversity identification, configuration of virtual and physical test environments, and systematic test case generation, it is possible to efficiently identify and analyze compatibility issues in different hardware and software environments, thereby achieving the technical effect of improving the comprehensiveness and accuracy of testing while ensuring test efficiency.

[0009] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0011] Figure 1 A schematic diagram of the structure of a game compatibility testing platform supporting multiple platforms and multiple devices is provided for this application;

[0012] Figure 2A flowchart of the effectiveness analysis of virtual environment testing in a game compatibility testing platform that supports multiple platforms and multiple devices is provided for this application.

[0013] Description of reference numerals:

[0014] Distribution diversity identification module 11, software and hardware environment analysis module 12, effectiveness analysis module 13, test environment construction module 14, test case configuration module 15, compatibility test module 16. DETAILED DESCRIPTION

[0015] This application solves the technical problem in the prior art that the test results are not comprehensive and accurate due to the lack of compatibility analysis capabilities for multiple platforms and multiple devices by providing a game compatibility testing platform that supports multiple platforms and multiple devices. By combining diversity identification, configuration of virtual and physical test environments, and systematic test case generation, it is possible to efficiently identify and analyze compatibility issues in different hardware and software environments, thereby achieving the technical effect of improving the comprehensiveness and accuracy of the test while ensuring test efficiency.

[0016] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0017] Please refer to the attached Figure 1 , this application provides a game compatibility testing platform that supports multiple platforms and multiple devices, including:

[0018] The distribution diversity identification module 11 is used to perform distribution diversity analysis on platforms and devices for the game to be tested and generate diversity identification results.

[0019] Specifically, distribution diversity analysis refers to analyzing the distribution characteristics of the game to be tested on different platforms and devices, such as the platforms and devices used by different users, such as PC, game consoles, mobile devices, etc. For each platform, record its different models and configuration parameters (such as CPU type, memory, graphics card, etc.) to obtain diversity recognition results. The diversity recognition results are the devices and platforms that users may use. The diversity recognition results can lay the foundation for the compatibility testing and optimization of the game, ensuring that the game can obtain a good user experience on more devices.

[0020] The software and hardware environment analysis module 12 is used to traverse a predetermined compatible negative example database to perform compatibility software and hardware environment analysis based on the diversity identification result, and generate a preset test software and hardware set.

[0021] Specifically, after the diversity recognition results, the predetermined compatible negative example database is traversed to perform compatible software and hardware environment analysis. The predetermined compatible negative example database contains software and hardware with compatibility issues encountered in the past when running similar games in a specific software and hardware environment. By comparing the devices in the diversity recognition results with these negative example data, it is possible to identify which software and hardware combinations may have compatibility risks and extract relevant information from them. For example, suppose the diversity recognition results show that a certain RPG game to be tested has frequent crash problems when using a certain graphics card and processor combination (such as Inteli3 and GTX750). If such software and hardware are included in the diversity recognition results, a preset test software and hardware set is generated. The preset test software and hardware set includes hardware and software combinations identified as incompatible in the negative examples, thereby providing a reference for subsequent compatibility testing and ensuring that the test covers all environmental configurations that may cause problems.

[0022] The validity analysis module 13 is used to call the historical test database, perform validity analysis on the virtual environment test for the preset test hardware and software set, and obtain a first hardware and software set whose validity index is greater than or equal to the preset validity index and a second hardware and software set whose validity index is less than the preset validity index.

[0023] Specifically, the effectiveness index is a measure of the simulation of the software and hardware combination in a virtual environment. That is, the virtual machine may not be able to fully simulate the performance of physical hardware, and thus cannot accurately reflect the performance of the game on a real device, especially in graphics-intensive games. For example, the virtual machine may not support certain hardware features, such as the acceleration function of a specific graphics card, which may cause certain compatibility issues to not be discovered in the virtual environment. Therefore, it is necessary to analyze the simulation performance of the virtual machine on the software and hardware in the preset test software and hardware set, so as to obtain a first software and hardware set with a effectiveness index greater than or equal to the preset effectiveness index and a second software and hardware set less than the preset effectiveness index, so as to facilitate the subsequent coordination of virtual testing and actual testing and improve testing efficiency.

[0024] The test environment construction module 14 is used to construct a virtual machine for the first set of software and hardware to generate an integrated virtual environment, and configure a physical test environment for the second set of software and hardware.

[0025] Specifically, during the test process, a virtual machine will be built for the first set of software and hardware to generate an integrated virtual environment that can simulate the operating status of the actual hardware, thereby providing a safe and controllable test platform for compatibility testing. When building the virtual machine, all components in the first set of software and hardware, such as processors, memory, graphics cards, etc., will be configured into the virtual machine to ensure that its hardware specifications are consistent with the actual environment. Assuming that the first set of software and hardware includes a PC equipped with a Ryzen5 processor, 16GB of memory and a GTX1660 graphics card, these configurations will be replicated in the virtual machine. At the same time, a physical test environment will be configured for the second set of software and hardware. The construction of the physical test environment requires actual connection to these hardware and ensuring that all drivers and operating systems are correctly installed. As a result, compatibility testing can be efficiently performed in a virtual environment, while actual testing can be performed in a physical environment for devices that do not perform well in virtual testing. This dual testing strategy can improve the comprehensiveness and accuracy of the test while ensuring efficiency.

[0026] The test case configuration module 15 is used to receive the basic operation information of the game to be tested to perform test case configuration and generate multiple groups of test cases, wherein any group of test cases has test constraint marks including operation functions and network online functions.

[0027] Specifically, the basic operation information usually includes the core mechanism, control method and network requirements of the game. Based on this information, the test cases are configured to create a series of test case sets that can fully cover the game functions. For example, assuming that the game to be tested is a multiplayer online role-playing game (MMORPG), the basic operation information may include character movement, attack, defense, chat system and team formation functions. Multiple groups of test cases are designed based on these functions to ensure that each function can operate normally in different environments. Each group of test cases will not only cover operational functions, such as the character's movement speed, attack damage calculation, etc. For example, test case 1: the character's movement response time under different network delays; test case 2: test the character's attack function under stable network conditions, including attack speed and damage calculation; test case 3: test the character's state recovery and reconnection function when the network is disconnected to ensure that the player can continue the game after disconnection. Through the configuration of this series of test cases, various functions of the game can be fully covered in subsequent compatibility tests, and targeted tests can be conducted on possible problems.

[0028] The compatibility testing module 16 is used to perform compatibility testing on the multiple groups of test cases in the integrated virtual environment and the physical test environment, and record multiple groups of test results, which together with the test constraint marks constitute the compatibility test results of the game to be tested.

[0029] Specifically, when conducting compatibility testing, the built integrated virtual environment and the configured physical test environment are used to systematically test the generated multiple test cases, with the aim of verifying the performance of the game under test in different hardware and network environments and ensuring that it functions properly. During the test, the frame rate, latency, data synchronization and other indicators in the virtual environment are recorded. At the same time, the physical test environment will also run the same test cases. For each group of test cases, the corresponding compatibility test results will be generated according to the test constraint tags. For example, assuming that the first group of test cases is marked as operation function: mobile, network online function: multiplayer collaboration, the recorded test results will include virtual environment test results and physical environment test results. This process will be repeated until all generated test cases are tested. Finally, all multiple groups of test results will be summarized into a comprehensive compatibility test result, which not only shows the performance data in different environments, but also combines the test constraint tags with the actual results, so that the development team can clearly understand the performance of each function in different environments, and then identify potential compatibility issues or performance bottlenecks.

[0030] Furthermore, the distribution diversity identification module 11 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0031] The game type of the game to be tested is obtained; historical user search of games of the same type is performed with the game type as a constraint to generate user search results; and diversity distribution search of game platforms and devices is performed based on the user search results to generate the diversity identification results.

[0032] Specifically, before conducting compatibility testing of the game to be tested, it is first necessary to obtain the game type of the game to be tested, such as role-playing games (RPG), shooting games (FPS), simulation games, etc. This information provides a basis for subsequent retrieval and analysis. Next, with the game type as a constraint, historical user retrieval of games of the same type is carried out, aiming to explore past user feedback and experience on similar games, so as to better understand the preferences and needs of the target user group, and generate user retrieval results by analyzing historical data, including the system and host used by the user. According to the user retrieval results, the diversity distribution retrieval of game platforms and devices is then carried out, that is, the usage of different game platforms (such as PC, host, mobile device) and devices in the historical user data is analyzed, and statistics are counted which platforms and devices are used by users in the same type of games to generate diversity identification results. For example, suppose that it is found through user retrieval results that RPG players use PC, host platform, GTX1060 graphics card, etc. This facilitates the subsequent compatibility testing of multiple devices and platforms, and facilitates the improvement of the device coverage level of compatibility testing.

[0033] Furthermore, the software and hardware environment analysis module 12 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0034] Extract the first platform from the diversity identification result, and retrieve the first historical compatibility negative example data corresponding to the first platform; extract compatible negative example hardware and compatible negative example software from the first historical compatibility negative example data; add the compatible negative example hardware and the compatible negative example software into the preset test hardware and software set.

[0035] Specifically, in the process of compatibility testing, any platform or device in the diversity recognition results is first extracted and recorded as the first platform. Next, the first historical compatibility negative data related to the first platform will be retrieved. These data record the problems encountered when running games on the platform in the past, such as crashes, performance degradation, or graphic errors. If multiple compatibility negative examples related to the platform are found in the first historical compatibility negative data, for example, a game frequently crashes when using a combination of an Intel i3 processor and a GTX 750 graphics card, incompatible hardware (such as Intel i3 and GTX 750) and incompatible software, i.e., compatible negative hardware and compatible negative software, will be extracted from these negative data, and added to the preset test hardware and software set. Finally, the preset test hardware and software set will include these compatible negative hardware and software so that they can be focused on in subsequent tests to improve the efficiency and pertinence of compatibility testing.

[0036] Further, as attached Figure 2 As shown, the validity analysis module 13 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0037] Extract the first software and hardware from the preset test software and hardware set; perform virtual modeling on the first software and hardware to generate a first software and hardware virtual machine; use multiple groups of identical running samples to perform consistency testing on the running data of the first software and hardware virtual machine and the first software and hardware to generate a first validity index; determine whether the first validity index is greater than or equal to the preset validity index; if so, add the first software and hardware to the first software and hardware set; if not, add the first software and hardware to the second software and hardware set.

[0038] Specifically, the process of analyzing the effectiveness of the virtual environment test for the preset test software and hardware set is as follows: first, any software or hardware in the preset test software and hardware set needs to be extracted and recorded as the first software and hardware, and virtual modeling is performed on the first software and hardware to generate a corresponding first software and hardware virtual machine, which can simulate the performance and behavior of the actual hardware. Building a virtual machine is a common technical means used by those skilled in the art, such as selecting an existing virtualization platform, such as VMware, VirtualBox, Hyper-V or KVM, installing the selected virtualization software on a physical host, starting the virtualization software and selecting the option of creating a new virtual machine, selecting the configuration type of the virtual machine, allocating hardware resources, such as allocating CPU cores, memory (RAM), hard disk space and other resources to the virtual machine, and specifying the operating system version to be installed, setting the network connection method of the virtual machine, and obtaining the first software and hardware virtual machine. At the same time, the hardware settings of the virtual machine such as the hard disk and graphics card can be adjusted according to the actual situation. For example, the virtual video memory can be increased to support higher graphics performance.

[0039] Once the virtual machine is created, multiple sets of identical running samples are used to perform consistency tests on the first software and hardware virtual machine and the real first software and hardware. These running samples can be standard test scenarios for games, which are designed to simulate the operations of real users. During the test, the performance data of both are recorded, such as frame rate, response time, and resource usage, so as to generate a first effectiveness index. Assuming that the test results show that the first effectiveness index of the first software and hardware virtual machine is 95%, and the preset effectiveness index is 90%, then determine whether this index is greater than or equal to the preset effectiveness index. If the first effectiveness index is greater than or equal to the preset effectiveness index, the software and hardware combination is added to the first software and hardware set, and it is considered to have good compatibility. On the contrary, if the first effectiveness index is lower than the preset effectiveness index, for example, the test result is only 65%, the software and hardware combination will be added to the second software and hardware set to indicate that there is a problem with the effectiveness of the virtual test, so as to facilitate subsequent virtual and actual joint testing of different devices and improve test efficiency.

[0040] Furthermore, the validity analysis module 13 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0041] Input multiple groups of identical running samples into the first software and hardware virtual machine and the first software and hardware for testing, and generate multiple groups of virtual-actual test result combinations; perform virtual and actual consistency calculations on the multiple groups of virtual-actual test result combinations, and then perform centralized value analysis to generate the first effectiveness index.

[0042] Specifically, multiple sets of identical running samples are input into the first software and hardware virtual machine and the real first software and hardware for testing. The running samples are usually preset standard test scenarios, which are intended to simulate the typical operations of users in the game. The purpose of this process is to obtain the performance of the two under the same conditions, thereby generating multiple sets of virtual-actual test result combinations. For example, assume that five sets of identical running samples are used to test on the virtual machine and the actual hardware, respectively, and record the following data: virtual machine test results: sample 1 (frame rate 60FPS), sample 2 (frame rate 58FPS), sample 3 (frame rate 62FPS), sample 4 (frame rate 59FPS), sample 5 (frame rate 61FPS). Actual hardware test results: sample 1 (frame rate 59FPS), sample 2 (frame rate 57FPS), sample 3 (frame rate 61FPS), sample 4 (frame rate 58FPS), sample 5 (frame rate 60FPS). Next, the consistency calculation of multiple sets of virtual-actual test result combinations is performed to evaluate the performance difference between the virtual machine and the actual hardware. This process involves calculating the deviation of each set of test results and generating a consistency index. For example, if the frame rate deviation of each group of samples is within 1FPS, it can be considered that the two have good consistency in performance. After completing the consistency calculation, the results will be analyzed for centralized values ​​to obtain the first effectiveness index, which represents the consistency of the performance of the virtual machine and the actual hardware, facilitating virtual and actual collaborative testing and improving test efficiency.

[0043] Furthermore, the validity analysis module 13 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0044] The consistency of the virtual test results and the actual test results in the multiple groups of virtual-actual test result combinations is identified to generate multiple consistency indicators; the distribution dispersion is identified for the multiple consistency indicators, and if the distribution dispersion is less than the preset dispersion, the mean of the multiple consistency indicators is calculated to generate the first validity indicator; if the distribution dispersion is greater than or equal to the preset dispersion, the validity is assigned with the constraint of being less than the preset validity indicator to generate the first validity indicator.

[0045] Specifically, when analyzing multiple sets of virtual-actual test result combinations, it is first necessary to identify the consistency of the virtual test results and the actual test results, that is, to compare the performance of the same set of running samples on the virtual machine and the actual hardware, such as frame rate, loading time, etc., and generate multiple consistency indicators by calculating the deviation between each set of test results to evaluate the performance consistency between the virtual environment and the actual environment. Next, the distribution dispersion of multiple consistency indicators will be identified, and the standard deviation and variance of the consistency indicators will be calculated. If the distribution dispersion is less than the preset dispersion threshold (for example, 0.05), it indicates that the results are consistent. In this case, the mean of multiple consistency indicators is calculated to obtain the first validity indicator. For example, if the three consistency indicators are 0.95, 0.94, and 0.96, respectively, the first validity indicator obtained after the mean calculation is 0.95.

[0046] On the contrary, if the distribution dispersion is greater than or equal to the preset dispersion, it means that the test result fluctuates greatly, that is, the simulation result of the virtual machine fluctuates greatly, and the first validity index will be assigned according to the set rules. The set rule means that the assigned value is less than the predetermined validity index. Because the simulation result of the virtual machine fluctuates greatly, it means that it is not suitable for virtual compatibility testing, which can easily lead to inaccurate test results. Therefore, a value less than the preset validity index is directly assigned, and the corresponding first software and hardware is added to the second software and hardware set. For example, assuming that the distribution dispersion of the consistency index is found to be 0.06, which exceeds the preset dispersion, a constraint less than the preset validity index (for example, 0.90) will be used for assignment, thereby setting the first validity index to 0.6. Through this series of steps, the consistency between the virtual and actual environments can be clearly evaluated, providing support for further compatibility testing, facilitating virtual and actual testing, improving test efficiency, and maintaining test accuracy.

[0047] Furthermore, the test case configuration module 15 in the game compatibility testing platform supporting multiple platforms and multiple devices is also used for:

[0048] According to the basic operation information, multiple operation functions are obtained and multiple operation use cases are configured; for the multiple operation use cases, the network online functions are configured hierarchically to generate the multiple groups of test cases, and the test constraint marks are generated with the multiple operation functions and the hierarchical configuration results.

[0049] The hierarchical configuration of the network online function refers to multi-user collaborative configuration under multiple groups of identical network conditions.

[0050] Specifically, in the process of configuring the test case, firstly, according to the received basic operation information, multiple operation functions are extracted. These functions may include character movement, item use, skill casting, etc. Next, multiple operation cases will be configured for each operation function to ensure that various interaction methods in the game are covered. For example, character movement may be divided into three operation cases: fast movement, slow movement, and jump movement. Subsequently, for multiple operation cases, the network online function will be configured hierarchically. The key to this process is to simulate the collaborative interaction of multiple users under the same network conditions. It is assumed that the network online function is divided into three levels: low latency, high latency, and disconnection and reconnection. Under low latency conditions, multiple users will be tested for simultaneous character movement and attack operations; under high latency, the stability of data synchronization will be verified; and under disconnection and reconnection conditions, the user's ability to recover after disconnection will be tested. Through these hierarchical configurations, multiple groups of test cases will be generated. For example, the first group of test cases may include fast character movement and low network latency; the second group may include slow character movement and high network latency; and the third group may include jump character movement and network disconnection and reconnection. Each set of test cases will be accompanied by test constraint tags to clarify its test objectives and conditions. These combinations will provide a comprehensive basis for subsequent compatibility testing. Through this detailed hierarchical configuration, the performance of the game in a multi-user environment can be deeply tested, providing data support for identifying potential compatibility issues.

[0051] In summary, the game compatibility testing platform supporting multiple platforms and multiple devices provided by this application has the following technical effects:

[0052] A distribution diversity identification module is used to perform distribution diversity analysis of platforms and devices for the game to be tested and generate diversity identification results; a software and hardware environment analysis module is used to traverse a predetermined compatible negative example database to perform compatibility software and hardware environment analysis based on the diversity identification results, and generate a preset test software and hardware set; an effectiveness analysis module is used to call a historical test database, perform effectiveness analysis of virtual environment testing on the preset test software and hardware set, and obtain a first software and hardware set whose effectiveness index is greater than or equal to the preset effectiveness index and a second software and hardware set whose effectiveness index is less than the preset effectiveness index; a test environment construction module is used to perform virtual machine construction on the first software and hardware set to generate an integrated virtual environment, and configure a physical test environment for the second software and hardware set; a test case configuration module is used to receive the basic operation information of the game to be tested, configure test cases, and generate multiple groups of test cases, wherein any group of test cases has a test constraint mark including an operation function and a network online function; a compatibility test module is used to perform compatibility testing on the multiple groups of test cases in the integrated virtual environment and the physical test environment, and record multiple groups of test results, which together with the test constraint marks constitute the compatibility test results of the game to be tested. By combining diversity identification, configuration of virtual and physical test environments, and systematic test case generation, it is possible to efficiently identify and analyze compatibility issues in different hardware and software environments, thereby achieving the technical effect of improving the comprehensiveness and accuracy of testing while ensuring test efficiency.

[0053] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0054] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A game compatibility testing platform supporting multiple platforms and multiple devices, characterized in that: include: The distribution diversity identification module is used to analyze the distribution diversity of platforms and devices for the game to be tested and generate diversity identification results; A software and hardware environment analysis module, configured to traverse a predetermined compatible negative example database to perform compatibility software and hardware environment analysis based on the diversity identification result, and generate a preset test software and hardware set; The validity analysis module is used to call the historical test database, perform validity analysis on the virtual environment test for the preset test software and hardware set, and obtain a first software and hardware set whose validity index is greater than or equal to the preset validity index and a second software and hardware set whose validity index is less than the preset validity index; A test environment construction module, used to construct a virtual machine for the first set of software and hardware, generate an integrated virtual environment, and configure a physical test environment for the second set of software and hardware; A test case configuration module, used to receive the basic operation information of the game to be tested to configure the test case and generate multiple groups of test cases, wherein any group of test cases has a test constraint mark including an operation function and a network online function; A compatibility testing module, used to perform compatibility testing on the multiple groups of test cases in the integrated virtual environment and the physical test environment, and record multiple groups of test results, which together with the test constraint marks constitute the compatibility test results of the game to be tested; Wherein, the distribution diversity identification module is also used for: Obtaining the game type of the game to be tested; Perform historical user search for games of the same type based on the game type as a constraint to generate user search results; Performing a diversity distribution search of game platforms and devices according to the user search results to generate the diversity identification results; Wherein, the software and hardware environment analysis module is also used for: Extracting a first platform from the diversity identification result, and retrieving first historical compatibility negative example data corresponding to the first platform; Extracting compatible negative hardware and compatible negative software from the first historical compatibility negative example data; The compatible negative example hardware and the compatible negative example software are added into the preset test hardware and software set.

2. A game compatibility testing platform supporting multiple platforms and multiple devices as claimed in claim 1, characterized in that: The effectiveness analysis module is also used for: Extracting the first software and hardware from the preset test software and hardware set; Performing virtual modeling on the first software and hardware to generate a first software and hardware virtual machine; Performing a consistency test on the operation data of the first software and hardware virtual machine and the first software and hardware using a plurality of groups of identical operation samples to generate a first validity indicator; Determining whether the first validity indicator is greater than or equal to the preset validity indicator; If yes, add the first software and hardware into the first software and hardware set; If not, the first software and hardware is added to the second software and hardware set.

3. A game compatibility testing platform supporting multiple platforms and multiple devices as claimed in claim 2, characterized in that: The effectiveness analysis module is also used for: Inputting multiple groups of identical running samples into the first software and hardware virtual machine and the first software and hardware for testing respectively, and generating multiple groups of virtual-actual test result combinations; The consistency between virtual and actual is calculated for each of the plurality of virtual-actual test result combinations, and then a concentrated value analysis is performed to generate the first effectiveness index.

4. A game compatibility testing platform supporting multiple platforms and multiple devices as claimed in claim 3, characterized in that: The effectiveness analysis module is also used for: Performing consistency identification on the virtual test results and the actual test results in the multiple groups of virtual-actual test result combinations to generate multiple consistency indicators; Identify the distribution dispersion of the multiple consistency indicators, and if the distribution dispersion is less than a preset dispersion, calculate the mean of the multiple consistency indicators to generate the first effectiveness indicator; If the distribution dispersion is greater than or equal to a preset dispersion, effectiveness is assigned with a constraint of being less than the preset effectiveness index to generate the first effectiveness index.

5. A game compatibility testing platform supporting multiple platforms and multiple devices as claimed in claim 1, characterized in that: The test case configuration module is also used to: Acquire multiple operation functions according to the basic operation information, and configure multiple operation use cases; For the multiple operation cases, the network online functions are hierarchically configured to generate the multiple groups of test cases, and the test constraint marks are generated based on the multiple operation functions and the hierarchical configuration results.

6. A game compatibility testing platform supporting multiple platforms and multiple devices as claimed in claim 5, characterized in that: The hierarchical configuration of the network online function refers to multi-user collaborative configuration under multiple groups of identical network conditions.

Citation Information

Patent Citations

  • Compatibility test method and apparatus, computer device and medium

    CN109446069A

  • Compatibility-based configuration of hardware with virtualization software

    US20150186172A1