Test method and device based on cloud rendering custom test frame, equipment and medium

By determining preset test targets and elements in cloud rendering, accurately constructing the test scene, and using preset test logic for cloud rendering test, the problem of improving the testing efficiency of custom test frames in cloud rendering is solved, and the effect of improving the efficiency of cloud rendering is achieved.

CN120075477APending Publication Date: 2025-05-30SHENZHEN RENDERBUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510082841.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

How to improve the testing efficiency of customized test frames in cloud rendering, thereby improving the rendering efficiency of cloud rendering.

Method used

By determining the preset test target, the test work will be more focused, and the preset test elements determined by the preset test targets can be accurately covered by all aspects related to the target, making the test scenario closer to the actual application scenario. Then, the custom test frame is cloud rendered by preset testing logic to generate a cloud rendering test report.

Benefits of technology

It improves the testing efficiency of customized test frames in cloud rendering, and thus improves the rendering efficiency of cloud rendering. The data and analysis results of various test indicators are displayed through clear test reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075477A_ABST
    Figure CN120075477A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image data processing, and discloses a test method and device based on a cloud rendering custom test frame, equipment and a medium, and the method comprises the steps: determining a target test scene according to a test target and a preset test element, and generating a custom test frame; and performing a cloud rendering test on the self-defined test frame through the test logic to generate a cloud rendering test report. According to the mode, the test target is determined, so that the test work is more focused, the preset test elements determined according to the test target cover various aspects related to the target, the test scene is closer to an actual application scene, the test of a large number of irrelevant scenes is avoided, and the test efficiency is improved. Through the cloud rendering test report generated after the cloud rendering test is performed on the custom test frame through the preset test logic, the data and the analysis result of each test index are displayed, the test efficiency of the custom test frame in cloud rendering is improved, and then the rendering efficiency of cloud rendering is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image data processing, and particularly to a test method, device, equipment and medium for custom test frames based on cloud rendering. Background Art

[0002] Cloud rendering refers to the process of using cloud computing technology for rendering calculations. Rendering calculations usually require a large amount of computing resources and storage space, and traditional rendering methods often struggle to meet these requirements. Cloud rendering technology significantly improves the rendering speed by decomposing rendering tasks into multiple subtasks and performing parallel calculations on multiple GPU (Graphics Processing Unit) devices.

[0003] The cloud rendering platform provides scalable computing and resource parameters. Users can flexibly adjust the resource usage according to project requirements. Users do not need to invest in expensive hardware and can pay on demand, achieving cost optimization.

[0004] Compared with traditional local rendering, it can achieve parallel processing of multiple servers through distributed computing, significantly shortening the rendering cycle, scheduling hundreds or thousands of servers to work simultaneously, geometrically increasing the rendering speed, accelerating the drawing time, reducing the time for users to wait for the rendering to complete, and improving the efficiency of the workflow.

[0005] In the cloud rendering business, the function of custom test frames is introduced. Custom test frames can screen out some frames for priority testing. The advantage of this is that it can save some resources and improve the rendering efficiency, thus better meeting the needs of users. Therefore, how to improve the test efficiency of custom test frames in cloud rendering and further improve the rendering efficiency of cloud rendering has become an urgent technical problem to be solved. Summary of the Invention

[0006] The present application provides a test method, device, equipment and medium for custom test frames based on cloud rendering, which improves the test efficiency of custom test frames in cloud rendering and further improves the rendering efficiency of cloud rendering.

[0007] In a first aspect, the present application provides a test method for custom test frames based on cloud rendering, the method comprising:

[0008] Determining a preset test target based on a preset cloud rendering test requirement, and determining at least one preset test element according to the preset test target;

[0009] Determining a target test scenario according to the preset test target and each preset test element, and generating a custom test frame according to the target test scenario;

[0010] Perform cloud rendering tests on the custom test frames through preset test logic to generate a cloud rendering test report.

[0011] In a second aspect, the present application also provides a test device based on a cloud rendering custom test frame. The device includes:

[0012] A preset test element determination module, configured to determine a preset test target based on preset cloud rendering test requirements, and determine at least one preset test element according to the preset test target;

[0013] A custom test frame generation module, configured to determine a target test scenario according to the preset test target and each of the preset test elements, and generate a custom test frame according to the target test scenario;

[0014] A cloud rendering test module, configured to perform cloud rendering tests on the custom test frames through preset test logic to generate a cloud rendering test report.

[0015] In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor; the memory is used to store a computer program; the processor is configured to execute the computer program and, when executing the computer program, implement the test method based on a cloud rendering custom test frame as described above.

[0016] In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to implement the test method based on a cloud rendering custom test frame as described above.

[0017] The present application discloses a test method, device, equipment, and medium based on a cloud rendering custom test frame. The test method based on a cloud rendering custom test frame includes determining a preset test target based on preset cloud rendering test requirements, and determining at least one preset test element according to the preset test target; determining a target test scenario according to the preset test target and each of the preset test elements, and generating a custom test frame according to the target test scenario; performing cloud rendering tests on the custom test frames through preset test logic to generate a cloud rendering test report. By the above method, the present application makes the test work more focused by determining the preset test target, accurately covers all aspects related to the target based on the preset test elements determined according to the preset test target, makes the test scenario closer to the actual application scenario, avoids testing a large number of irrelevant scenarios, and the cloud rendering test report generated after performing cloud rendering tests on the custom test frames through preset test logic clearly shows the data and analysis results of various test indicators, improving the test efficiency of custom test frames in cloud rendering, and thus improving the rendering efficiency of cloud rendering. Description of the Drawings

[0018] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can also be obtained based on these drawings.

[0019] Figure 1 It is a schematic flowchart of a test method for customizing test frames based on cloud rendering provided by an embodiment of the present application;

[0020] Figure 2 It is a schematic block diagram of a test device for customizing test frames based on cloud rendering provided by an embodiment of the present application;

[0021] Figure 3 It is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.

[0023] The flowchart shown in the accompanying drawings is only an example illustration, and does not necessarily include all contents and operations / steps, nor does it necessarily execute in the described order. For example, some operations / steps can also be decomposed, combined, or partially merged. Therefore, the actual execution order may change according to the actual situation.

[0024] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0025] It should also be understood that the term " / and" as used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0026] Embodiments of the present application provide a test method, apparatus, device, and medium for customizing test frames based on cloud rendering. Among them, the test method for customizing test frames based on cloud rendering can be applied to a server. By determining a preset test target, the test work becomes more focused. Based on the preset test elements determined according to the preset test target, all aspects related to the target are accurately covered, making the test scenario closer to the actual application scenario, avoiding the testing of a large number of irrelevant scenarios. The cloud rendering test report generated after cloud rendering testing the custom test frame through the preset test logic clearly displays the data and analysis results of various test indicators, improving the test efficiency of the custom test frame in cloud rendering, and thus improving the rendering efficiency of cloud rendering. Among them, the server can be an independent server or a server cluster.

[0027] The following will describe in detail some embodiments of the present application with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0028] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of a test method for customizing test frames based on cloud rendering provided by an embodiment of the present application. The test method for customizing test frames based on cloud rendering can be applied to a server and is used to make the test work more focused by determining a preset test target. Based on the preset test elements determined according to the preset test target, all aspects related to the target are accurately covered, making the test scenario closer to the actual application scenario, avoiding the testing of a large number of irrelevant scenarios. The cloud rendering test report generated after cloud rendering testing the custom test frame through the preset test logic clearly displays the data and analysis results of various test indicators, improving the test efficiency of the custom test frame in cloud rendering, and thus improving the rendering efficiency of cloud rendering.

[0029] As Figure 1 shown, the test method for customizing test frames based on cloud rendering specifically includes steps S10 to S30.

[0030] Step S10: Determine a preset test target based on a preset cloud rendering test requirement, and determine at least one preset test element according to the preset test target;

[0031] Carefully read project documents, user requirements, business scenario descriptions, etc., to understand the specific scenarios of cloud rendering applications, such as 3D animation production, game rendering, virtual reality experience, etc., as well as users' expectations and requirements for rendering speed, quality, stability, etc. Based on the analysis results, determine the dimensions covered by the test objectives, which commonly include rendering performance (such as rendering time, frame rate), rendering quality (such as image resolution, texture details, lighting effects), resource utilization (such as CPU, GPU, memory, network bandwidth usage), compatibility (compatibility with different operating systems, browsers, hardware devices), etc.

[0032] The test objectives of each dimension are further refined into specific quantifiable and measurable indicators. For example, in the dimension of rendering performance, it can be set that in a specific complex scene, the rendering time does not exceed X seconds, and the average frame rate is not less than Y FPS; in the dimension of rendering quality, the image resolution must reach Z pixels, and the clarity of texture details must meet certain standards.

[0033] For each refined test target, determine the test elements directly related to it. For example, if the test target is to evaluate the rendering speed under different model complexities, then the test element types can include 3D models of different complexities, such as simple geometric models, medium-complexity architectural models, and high-complexity biological character models. After determining the test element type, further select or generate specific test element instances. For 3D models, you can select representative models from the model library, or customize and create some special models according to test requirements; for texture maps, you can choose maps of different resolutions and different material types for testing; for rendering parameters, such as light intensity, shadow quality, reflection effects, etc., set different parameter combinations as test elements.

[0034] The determined preset test elements should be recorded in detail, including the element name, type, source, and feature description (such as the number of vertices and faces of the model, the resolution and format of the texture, etc.), so that they can be accurately called and managed in subsequent testing processes.

[0035] Step S20, determining a target test scenario according to the preset test target and each of the preset test elements, and generating a custom test frame according to the target test scenario;

[0036] Specifically, based on the preset test objectives and the preset test elements that have been determined, a rough framework of one or more target test scenarios is conceived. For example, if the test objective is to examine the performance of cloud rendering in a multiplayer online game scenario, and the test elements include different types of 3D character models, game scene maps, dynamic light and shadow effects, etc., then the target test scenario framework can be a scene that includes multiple characters interacting in a complex game map with real-time light and shadow changes.

[0037] Based on the test scenario framework, further refine the layout, actions, interactions, and other details of various elements in the scenario. Determine the initial positions, movement paths, and action sequences of the characters, the placement positions and states of the objects in the scenario, the change rules of the light and shadow effects, etc., so that the test scenario is as close as possible to the real scenario in actual applications and can fully trigger and reflect the various performance indicators of cloud rendering.

[0038] Using professional rendering software or the test tools provided by the cloud rendering platform, generate a series of custom test frames according to the refined target test scenario. These test frames contain the rendered images of the scenario at different time points and from different perspectives, as well as corresponding rendering parameters, resource occupancy data, etc., providing specific test samples for subsequent cloud rendering tests.

[0039] Step S30: Perform cloud rendering tests on the custom test frames through a preset test logic, and generate a cloud rendering test report.

[0040] In one embodiment, before performing cloud rendering tests, a reasonable preset test logic needs to be set, clarifying the execution process, test steps, data collection methods, test termination conditions, etc. For example, the test process can be to first perform independent tests on individual test elements and then perform comprehensive tests on combined test elements; the test steps include initializing the test environment, loading the test scenario, starting the rendering process, collecting data, stopping the rendering, etc.; the data collection method can be real-time collection during the rendering process or unified collection after the rendering ends; the test termination condition can be reaching a predetermined test duration, test frame number, or automatically terminating when the rendering performance indicators exceed the preset threshold range.

[0041] According to the preset test logic, input the generated custom test frames into the cloud rendering system for rendering tests. During the test process, closely monitor the running state of the cloud rendering system to ensure the smooth progress of the test, and collect various data generated during the rendering process in real time, such as rendering time, frame rate, image quality score, real-time occupancy rates of CPU / GPU / memory / network bandwidth, etc.

[0042] After the test is completed, organize, analyze, and process the large amount of collected data. Use data analysis methods, such as calculating the average value, maximum value, minimum value, drawing data charts, performing correlation analysis, etc., to evaluate the performance of cloud rendering in each test target dimension and determine whether it meets the preset performance indicator requirements. According to the analysis results, write a detailed cloud rendering test report, and the report content should include the test purpose, test environment, test method, test results (intuitively presented in the form of data and charts), problem analysis, optimization suggestions, etc., providing a strong basis for the optimization and improvement of the cloud rendering system.

[0043] This embodiment discloses a test method, apparatus, device, and medium for customizing test frames based on cloud rendering. The test method for customizing test frames based on cloud rendering includes determining a preset test target based on preset cloud rendering test requirements, and determining at least one preset test element according to the preset test target; determining a target test scenario according to the preset test target and each preset test element, and generating a custom test frame according to the target test scenario; performing cloud rendering test on the custom test frame through a preset test logic, and generating a cloud rendering test report. By the above method, the present application makes the test work more focused by determining the preset test target. The preset test elements determined according to the preset test target accurately cover all aspects related to the target, making the test scenario closer to the actual application scenario, avoiding the test of a large number of irrelevant scenarios. The cloud rendering test report generated after performing cloud rendering test on the custom test frame through the preset test logic clearly shows the data and analysis results of various test indicators, improving the test efficiency of custom test frames in cloud rendering, and thus improving the rendering efficiency of cloud rendering.

[0044] Based on Figure 1 In the embodiment shown, in this embodiment, step S10 includes:

[0045] Matching the preset cloud rendering test requirements with each historical test requirement in the historical test database;

[0046] Specifically, record the current preset cloud rendering test requirements completely and accurately, including various aspects such as the test business scenario, the expected rendering effect, performance index requirements, special function requirements, etc., to ensure that the requirement description is clear and specific for subsequent matching work. Extract key information from the recorded preset test requirements, such as rendering type (such as 3D animation, game, VR (Virtual Reality), etc.), scene complexity (simple, medium, complex), performance indicators (rendering time, frame rate, resolution, etc.), special technical requirements (such as real-time ray tracing, AI (Artificial Intelligence) rendering acceleration, etc.). These key information will be used as the main basis for matching with historical test requirements.

[0047] Determine the historical test target in each historical test requirement that matches the preset cloud rendering test requirement as the preset test target.

[0048] Specifically, obtain the storage structure and field meanings of the historical test database, and clarify which fields correspond to the key information of the preset test requirements. For example, the historical test database contains fields such as "test scenario", "rendering type", "performance requirement", "special technology application", etc. According to the key information of the preset test requirements, formulate corresponding database query conditions. For example, if the preset test requirement is a high-frame-rate rendering test for a 3D game scenario, the query conditions can be "rendering type = 3D game" and "performance requirement = high frame rate".

[0049] Use the formulated query conditions to query in the historical test database and retrieve the historical test records that match the preset test requirements. The query results contain multiple historical test requirements, and each record contains detailed information such as the corresponding historical test objectives, test elements, test scenarios, etc. Conduct a preliminary screening of the retrieved historical test records, eliminate those records with a low matching degree to the preset test requirements, and retain the historical test requirements with a high matching degree and strong relevance. Compare and analyze each of the retained historical test requirements that match the preset test requirements with the preset test requirements one by one, focusing on the consistency of the test objectives. For example, compare whether the rendering performance index requirements of both parties are the same or similar, whether the special function requirements are consistent, and whether the complexity and characteristics of the test scenarios are similar.

[0050] According to the results of the comparison and analysis, determine the historical test objective in the historical test requirements that highly match the preset test requirements as the current preset test objective. If there are multiple highly matching historical test requirements, their test objectives can be comprehensively considered, and the common part can be taken as the preset test objective, or according to the focus of the current test requirements, select the most suitable historical test objective as a reference.

[0051] Furthermore, in this embodiment, step S10 further includes:

[0052] According to the preset test objective, determine the target function, target characteristics, and / or target compatibility of the preset test objective;

[0053] Respectively, according to the target function, the target characteristics, and / or the target compatibility, determine each of the preset test elements;

[0054] Among them, the preset test elements include function test elements corresponding to the target function, characteristic test elements corresponding to the target characteristics, and / or compatibility test elements corresponding to the target compatibility.

[0055] Specifically, according to the determined preset test objectives, identify the requirements in aspects such as functions, features, and compatibility. For example, the preset test objective may be "Under high load, ensure the functional integrity of the cloud rendering platform, the high-quality presentation of rendering features, and the compatibility with mainstream hardware devices."

[0056] Summarize the determined functional test elements, feature test elements, and compatibility test elements to form a complete list of preset test elements. Clearly mark the category (function, feature, compatibility) to which each preset test element belongs in the list, as well as relevant detailed information such as element name, type, source, application scenario description, etc., for quick search and use during subsequent test scenario construction and test execution processes.

[0057] In a specific embodiment, step S20 includes:

[0058] Determine the functional test scenario according to the functional test elements and the preset test objectives;

[0059] Determine the feature test scenario according to the feature test elements and the preset test objectives;

[0060] Determine the compatibility test scenario according to the compatibility test elements and the preset test objectives.

[0061] Specifically, divide the preset test objectives into three dimensions: clear target functions, target features, and target compatibility. For the above example, the target function is "the functional integrity of the cloud rendering platform", the target feature is "the high-quality presentation of rendering features", and the target compatibility is "the compatibility with mainstream hardware devices".

[0062] For the target function, carefully sort out the various functions included in the cloud rendering platform, such as model import, material editing, lighting setting, rendering start and stop, result output, etc. According to the sorted function points, select functional test elements that can fully test these functions. For example, to test the model import function, 3D model files of different formats (such as.obj,.fbx,.max, etc.), different sizes, and complexities can be selected as functional test elements; to test the lighting setting function, different combinations of lighting types (such as point light, spotlight, ambient light, etc.) and lighting parameters (such as color, intensity, attenuation, etc.) can be set as functional test elements.

[0063] Identify the key points regarding the rendering quality, effects, etc. of the target features, such as image resolution, texture details, lighting effects, animation smoothness, etc. Based on the key features, select or create feature test elements that can reflect these features. For example, to test the image resolution feature, prepare rendering scenes with different resolution requirements, including high definition (such as 1920×1080), ultra high definition (such as 3840×2160), etc.; to test the lighting effects feature, construct scenes with complex lighting interactions, such as transparent objects under multiple light sources, large scenes with shadow mapping, etc., and set different lighting parameters as feature test elements.

[0064] According to the target compatibility, list the objects for which compatibility needs to be tested, such as different operating systems (Windows, Linux, macOS, etc.), browsers (Chrome, Firefox, Safari, etc.), hardware devices (different models of GPUs, CPUs, etc.). For each compatibility object, construct the corresponding compatibility test elements. For example, for operating system compatibility testing, set up a test environment containing different operating system versions, and run the same cloud rendering task in these environments to observe the rendering results and performance; for hardware device compatibility testing, select representative different models of GPUs and CPUs for testing, use a unified test scene and parameters, and record the resource occupancy during the rendering process and the final rendering effect.

[0065] In a specific embodiment, step S20 includes:

[0066] Obtain a blank frame, and determine a preset image rendering model according to the target test scene;

[0067] Parse the target test scene through the preset image rendering model to determine at least one scene material in the target test scene;

[0068] Add each of the scene materials to the blank frame to generate the custom test frame.

[0069] Specifically, select a suitable blank frame template from the available frame template library according to the characteristics and requirements of the target test scene. For example, if the target test scene is a 3D game scene, select a blank frame template that supports 3D rendering; if it is a 2D animation scene, select a blank frame template suitable for 2D drawing.

[0070] Initialize the selected blank frame, including setting the frame size (such as resolution), background color, default rendering parameters (such as rendering quality, anti-aliasing level, etc.). These parameters should be determined according to the specific requirements of the target test scenario and the compatibility of the preset image rendering model to ensure that the generated custom test frame can meet the needs of subsequent cloud rendering tests.

[0071] Determine the target test scenario and clarify its requirements for image rendering, such as rendering style (realistic, cartoon, etc.), rendering technology (rasterization, ray tracing, etc.), special effect requirements (such as motion blur, depth of field effect, etc.). According to the requirements of the target test scenario, search for a matching model in the existing preset image rendering model library. The preset image rendering model library contains various types of rendering models, and each model has specific rendering algorithms, parameter settings, and effect characteristics. Select a preset image rendering model that can best meet the requirements of the target test scenario. Exemplarily, for a game scenario that requires high-quality realistic rendering, select a physically based rendering model that can provide realistic material performance and lighting effects.

[0072] Load the relevant data of the target test scenario into the preset image rendering model. This data may include the geometric information of the scene (such as the vertex and patch data of the model), material information (such as texture maps, material properties), lighting information (such as light source position, color, intensity), etc. Use the parsing function of the preset image rendering model to parse the target test scenario and identify various materials in the scene. Scene materials include 3D models, 2D images, animation clips, special effect elements, etc. For example, in a game scenario containing buildings, character models, and natural environments, parse out building models, character models, tree models, sky background images, dynamic water flow special effects, etc. as scene materials.

[0073] According to the design intention and visual effect requirements of the target test scenario, plan the layout positions of each scene material on the blank frame. Determine parameters such as the coordinate position, size ratio, and rotation angle of each scene material in the frame to ensure the reasonable placement of scene materials on the blank frame and form a complete and coordinated test scene picture.

[0074] Add the identified scene materials to the blank frame one by one according to the planned layout. During the addition process, some necessary processing needs to be performed on the scene materials, such as adjusting the scaling ratio of the model to fit the frame size, cropping or splicing the image materials to meet the scene requirements, setting the playback timeline of the animation clip, etc., to ensure that the scene materials can be correctly integrated into the blank frame.

[0075] Based on Figure 1 the embodiments shown, in this embodiment, step S30 includes:

[0076] Determine the preset test script that matches the test target according to the test target;

[0077] Embed the custom test frame into the associated position of the preset test script to generate a target test script;

[0078] Run the target test script to perform cloud rendering tests on each of the preset test elements in the custom test frame and generate a cloud rendering test report.

[0079] In a specific embodiment, sort out the test target and clarify key information such as the test function points, performance indicators, and special requirements involved. For example, the test target may be "Verify whether the stability and rendering speed of the cloud rendering platform meet the expectations in a high-concurrency scenario."

[0080] In the existing preset test script library, search for a test script that matches the details of the sorted-out test target. The preset test script library contains test scripts with various different functions and scenarios. Each script is designed for a specific test target and has corresponding test procedures, operation steps, and data collection points.

[0081] Confirm that the preset test script is compatible with the current cloud rendering platform, custom test frame format, and test tools, etc., and can successfully execute the test task and accurately collect test data. If there are compatibility issues, necessary modifications and adjustments need to be made to the preset test script to make it suitable for the current test environment.

[0082] Analyze the structure and content of the selected preset test script to find the associated position for loading and processing test data (such as test frames). Embed the generated custom test frame into the associated position of the script according to the requirements of the preset test script, which involves modifying file paths, data formats, parameter settings, etc. in the script to ensure that the custom test frame can be correctly loaded and used. For example, if the preset test script performs tests by reading image files in a specified directory, the custom test frame needs to be saved to that directory and ensure that the file format and naming rules comply with the requirements of the script.

[0083] After embedding the custom test frame, integrate the preset test script as a whole, check whether the logic of the script is coherent, the syntax is correct, and whether all parts work in coordination. Ensure that the embedded custom test frame can seamlessly connect with the original test procedures, operation steps, and data collection points in the script to form a complete target test script.

[0084] Configure a test environment on the cloud rendering platform, including setting rendering parameters, allocating computing resources, connecting to the network, etc., to ensure that the test environment meets the requirements of the target test script and can support the smooth progress of cloud rendering tests. Start the target test script and let it run automatically in the configured test environment. The test script will perform cloud rendering tests on each preset test element in the custom test frame according to the preset process and steps, such as loading test elements in sequence, performing rendering operations, and collecting data during the rendering process (such as rendering time, frame rate, resource occupancy, etc.).

[0085] During the running of the test script, monitor the running status and test progress of the cloud rendering platform in real time, and observe whether there are any abnormal situations, such as rendering errors, script freezes, resource overlimits, etc. If there are any abnormalities, record them in time and perform corresponding processing to ensure the accuracy and integrity of the test results.

[0086] Based on Figure 1 the embodiments shown, in this embodiment, after step S30, it further includes:

[0087] Parse the cloud rendering test report to determine the test exception items;

[0088] Generate a cloud rendering optimization strategy according to the test exception items.

[0089] Specifically, the test report includes basic information of the test (such as test objectives, test environment, test time, etc.), test results of each preset test element (such as rendering speed, rendering quality score, peak resource occupancy, etc.), problem summary and analysis, optimization suggestions, etc. The format of the report should be clear and standardized, facilitating testers to consult and understand, and providing a strong basis for the subsequent optimization and improvement of the cloud rendering platform.

[0090] Please refer to Figure 2 , Figure 2 which is a schematic block diagram of a test device for cloud rendering custom test frames provided by an embodiment of the present application. The test device for cloud rendering custom test frames is used to execute the aforementioned test method for cloud rendering custom test frames. Among them, the test device for cloud rendering custom test frames can be configured in a server.

[0091] As Figure 2 shown, the test device 400 for cloud rendering custom test frames includes:

[0092] A preset test element determination module 410, configured to determine a preset test target based on preset cloud rendering test requirements, and determine at least one preset test element according to the preset test target;

[0093] The custom test frame generation module 420 is configured to determine a target test scenario according to the preset test target and each of the preset test elements, and generate a custom test frame according to the target test scenario;

[0094] The cloud rendering test module 430 is configured to perform a cloud rendering test on the custom test frame through a preset test logic, and generate a cloud rendering test report.

[0095] Furthermore, the preset test element determination module 410 includes:

[0096] The test requirement matching unit is configured to match the preset cloud rendering test requirements with each historical test requirement in the historical test database;

[0097] The preset test target determination unit is configured to determine the historical test targets in each of the historical test requirements that match the preset cloud rendering test requirements as the preset test target.

[0098] Furthermore, the preset test element determination module 410 includes:

[0099] The test target analysis unit is configured to determine the target function, target characteristics, and / or target compatibility of the preset test target according to the preset test target;

[0100] The preset test element determination unit is configured to determine each of the preset test elements respectively according to the target function, the target characteristics, and / or the target compatibility;

[0101] Wherein, the preset test elements include function test elements corresponding to the target function, characteristic test elements corresponding to the target characteristics, and / or compatibility test elements corresponding to the target compatibility.

[0102] Furthermore, the custom test frame generation module 420 includes:

[0103] The function test scenario determination unit is configured to determine the function test scenario according to the function test elements and the preset test target;

[0104] The characteristic test scenario determination unit is configured to determine the characteristic test scenario according to the characteristic test elements and the preset test target;

[0105] The compatibility test scenario determination unit is configured to determine the compatibility test scenario according to the compatibility test elements and the preset test target.

[0106] Furthermore, the custom test frame generation module 420 includes:

[0107] A preset image rendering model determination unit, configured to obtain a blank frame and determine a preset image rendering model according to the target test scenario;

[0108] A scene material determination unit, configured to parse the target test scenario through the preset image rendering model and determine at least one scene material in the target test scenario;

[0109] A custom test frame generation unit, configured to add each of the scene materials to the blank frame to generate the custom test frame.

[0110] Further, the cloud rendering test module 430 includes:

[0111] A preset test script determination unit, configured to determine a preset test script that matches the test target according to the test target;

[0112] A target test script generation unit, configured to embed the custom test frame into an associated position of the preset test script to generate a target test script;

[0113] A cloud rendering test report generation unit, configured to run the target test script, perform a cloud rendering test on each of the preset test elements in the custom test frame, and generate a cloud rendering test report.

[0114] Further, the test device 400 based on the cloud rendering custom test frame includes:

[0115] A test exception item determination module, configured to parse the cloud rendering test report and determine test exception items;

[0116] A cloud rendering optimization strategy generation module, configured to generate a cloud rendering optimization strategy according to the test exception items.

[0117] It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described device and each module can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.

[0118] The above device can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 3 shown.

[0119] Please refer to Figure 3 , Figure 3 which is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. The computer device can be a server.

[0120] Refer to Figure 3, the computer device includes a processor, a memory, and a network interface connected via a system bus. Among them, the memory may include a non-volatile storage medium and an internal memory.

[0121] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions that, when executed, enable the processor to execute any one of the test methods for customizing test frames based on cloud rendering.

[0122] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.

[0123] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, it enables the processor to execute any one of the test methods for customizing test frames based on cloud rendering.

[0124] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 3 the structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0125] It should be understood that the processor can be a Central Processing Unit (CPU), and the processor can also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0126] Among them, in one embodiment, the processor is used to run the computer program stored in the memory to implement the following steps:

[0127] Determine a preset test target based on the preset cloud rendering test requirements, and determine at least one preset test element according to the preset test target;

[0128] Determine a target test scenario according to the preset test target and each preset test element, and generate a custom test frame according to the target test scenario;

[0129] Perform cloud rendering tests on the custom test frame through preset test logic to generate a cloud rendering test report.

[0130] In one embodiment, determine a preset test target based on the preset cloud rendering test requirements for the purpose of:

[0131] Match the preset cloud rendering test requirements with each historical test requirement in the historical test database;

[0132] Determine the historical test targets in each of the historical test requirements that match the preset cloud rendering test requirements as the preset test target.

[0133] In one embodiment, according to the preset test target, determine at least one preset test element for the purpose of:

[0134] According to the preset test target, determine the target function, target characteristics, and / or target compatibility of the preset test target;

[0135] Respectively, according to the target function, the target characteristics, and / or the target compatibility, determine each of the preset test elements;

[0136] Wherein, the preset test elements include function test elements corresponding to the target function, characteristic test elements corresponding to the target characteristics, and / or compatibility test elements corresponding to the target compatibility.

[0137] In one embodiment, determine a target test scenario according to the preset test target and each of the preset test elements for the purpose of:

[0138] According to the function test element and the preset test target, determine the function test scenario;

[0139] According to the characteristic test element and the preset test target, determine the characteristic test scenario;

[0140] According to the compatibility test element and the preset test target, determine the compatibility test scenario.

[0141] In one embodiment, generate a custom test frame according to the target test scenario for the purpose of:

[0142] Obtain a blank frame, and determine a preset image rendering model according to the target test scenario;

[0143] Parse the target test scenario through the preset image rendering model to determine at least one scene material in the target test scenario;

[0144] Add each of the scene materials to the blank frame to generate the custom test frame.

[0145] In one embodiment, the preset test logic includes a preset test script. The cloud rendering test is performed on the custom test frame through the preset test logic to generate a cloud rendering test report, which is used to implement:

[0146] Determine the preset test script that matches the test target according to the test target;

[0147] Embed the custom test frame into the associated position of the preset test script to generate a target test script;

[0148] Run the target test script to perform a cloud rendering test on each preset test element in the custom test frame and generate a cloud rendering test report.

[0149] In one embodiment, after the cloud rendering test is performed on the custom test frame through the preset test logic to generate a cloud rendering test report, it is used to implement:

[0150] Analyze the cloud rendering test report to determine the test exception items;

[0151] Generate a cloud rendering optimization strategy according to the test exception items.

[0152] An embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement any one of the test methods for cloud rendering custom test frames provided by the embodiments of the present application.

[0153] Among them, the computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.

[0154] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or replacements, and these modifications or replacements should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A test method based on cloud rendering custom test frame, characterized in that: include: Determine a preset test target based on a preset cloud rendering test requirement, and determine at least one preset test element according to the preset test target; Determine a target test scenario according to the preset test target and each of the preset test elements, and generate a custom test frame according to the target test scenario; The custom test frame is subjected to a cloud rendering test through a preset test logic to generate a cloud rendering test report.

2. The test method based on cloud rendering custom test frame according to claim 1, characterized in that: The determining of the preset test target based on the preset cloud rendering test requirement includes: Matching the preset cloud rendering test requirement with each historical test requirement in the historical test database; The historical test targets in each of the historical test requirements that match the preset cloud rendering test requirement are determined as the preset test targets.

3. The test method based on cloud rendering custom test frame according to claim 2, characterized in that: The step of determining at least one preset test element according to the preset test target includes: Determining, according to the preset test target, a target function, a target characteristic and / or a target compatibility of the preset test target; Determining each of the preset test elements according to the target function, the target characteristic and / or the target compatibility respectively; The preset test elements include function test elements corresponding to the target function, characteristic test elements corresponding to the target characteristic, and / or compatibility test elements corresponding to the target compatibility.

4. The test method based on cloud rendering custom test frame according to claim 3, characterized in that: The target test scenario includes a functional test scenario, a characteristic test scenario and / or a compatibility test scenario, and the determining of the target test scenario according to the preset test target and each of the preset test elements includes: Determining the functional test scenario according to the functional test elements and the preset test objectives; Determining the characteristic test scenario according to the characteristic test element and the preset test target; The compatibility test scenario is determined according to the compatibility test element and the preset test target.

5. The test method based on cloud rendering custom test frame according to claim 4, characterized in that: Generating a custom test frame according to the target test scenario includes: Acquire a blank frame, and determine a preset image rendering model according to the target test scene; Parsing the target test scene by using the preset image rendering model to determine at least one scene material in the target test scene; Each of the scene materials is added to the blank frame to generate the custom test frame.

6. The test method based on cloud rendering custom test frame according to claim 1, characterized in that: The preset test logic includes a preset test script, and the cloud rendering test is performed on the custom test frame by the preset test logic to generate a cloud rendering test report, including: According to the test target, determining the preset test script that matches the test target; Embed the custom test frame into the associated position of the preset test script to generate a target test script; Run the target test script, perform cloud rendering test on each of the preset test elements in the custom test frame and generate a cloud rendering test report.

7. The test method based on cloud rendering custom test frame according to any one of claims 1 to 6, characterized in that: After performing a cloud rendering test on the custom test frame by using a preset test logic and generating a cloud rendering test report, the method includes: Analyze the cloud rendering test report to determine test abnormalities; A cloud rendering optimization strategy is generated based on the test abnormal items.

8. A test device based on cloud rendering custom test frames, characterized in that: include: A preset test element determination module, used to determine a preset test target based on a preset cloud rendering test requirement, and determine at least one preset test element according to the preset test target; A custom test frame generation module, used to determine a target test scenario according to the preset test target and each of the preset test elements, and generate a custom test frame according to the target test scenario; The cloud rendering test module is used to perform a cloud rendering test on the custom test frame through a preset test logic and generate a cloud rendering test report.

9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the test method based on cloud rendering custom test frame as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the test method based on cloud rendering custom test frames as described in any one of claims 1 to 7.