Image rendering task scheduling method and device based on edge-cloud collaboration

By introducing edge-side rendering nodes into the cloud rendering server, the rendering load is calculated based on the material and operation complexity of the target frame image, and task scheduling is performed based on the task load and processing capabilities of the rendering module, which solves the problem of excessive load on the cloud rendering server. , achieving efficient processing of rendering tasks and improving user experience.

CN118245232BActive Publication Date: 2024-09-20VIRTAI TECH BEIJING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410666974.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-20
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

The load of the cloud rendering server increases sharply in high concurrent access scenarios, resulting in increased rendering delays and making it difficult to provide a good user experience.

Method used

The edge-side rendering node is introduced, the rendering load is calculated by obtaining the material complexity and operation complexity of the target frame image, and the rendering task is scheduled according to the task load value and processing capacity value of the rendering module, and the appropriate rendering module is selected for rendering processing.

Benefits of technology

It reduces the cloud rendering load, shortens the completion time of rendering tasks, improves user experience, and improves the overall task processing efficiency of the rendering system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245232B
    Figure CN118245232B
Patent Text Reader

Abstract

The disclosed embodiments provide an image rendering task scheduling method, device, electronic device and storage medium based on edge-cloud collaboration. The method includes: obtaining the material complexity and operation complexity of the target frame image; calculating the rendering load of the target frame image according to the material complexity and operation complexity; obtaining the task load value and processing capacity value of each rendering module; calculating the estimated rendering time of each rendering module; and scheduling the rendering task of the target frame image to the target rendering module for rendering processing according to the estimated rendering time. This method can be used to estimate the rendering load based on the material complexity and operation complexity of the target frame image. Based on the task load value and processing capacity value of each rendering module, the time required for rendering processing is estimated. Based on the estimated rendering time, the rendering task is scheduled to a suitable target rendering module for rendering processing, which greatly improves the overall task processing efficiency of the rendering system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an image rendering task scheduling method, device, electronic device and storage medium based on edge-cloud collaboration. Background Art

[0002] Image rendering technology is the process of converting three-dimensional light energy transfer processing into a two-dimensional image. By using image rendering technology, three-dimensional images can be clearly presented on the display device to meet the image display needs of various scenarios, such as VR, games, industrial modeling, CG video production, etc.

[0003] In recent years, with the rapid development of cloud rendering technology, cloud rendering servers need to handle high-concurrency access scenarios. Thousands of users initiate rendering tasks at the same time, causing the load of cloud rendering servers to increase sharply and resource utilization to be basically saturated, resulting in a sharp increase in rendering delays and difficulty in providing a good user experience.

[0004] In order to alleviate the high load of hotspot access in a short period of time on the cloud rendering server, edge rendering nodes are usually introduced to share the pressure of image rendering. The cloud will forward the rendering tasks that are received but cannot be completed in time to the edge for rendering. Using the hardware resources on the edge to complete the corresponding rendering operations can not only reduce the cloud rendering load, but also shorten the completion time of the rendering tasks and improve the user experience. Summary of the invention

[0005] The embodiments of the present disclosure provide an image rendering task scheduling method, device, electronic device and storage medium based on edge-cloud collaboration.

[0006] According to a first aspect of an embodiment of the present disclosure, a method for scheduling image rendering tasks based on edge-cloud collaboration is provided, comprising: obtaining the material complexity of a target frame image; the material complexity at least includes: a primitive scale; , Texture Scale and image size ; Obtain the operation complexity of the target frame image ; According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows: ;in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor; obtain the task load value of each rendering module and processing power values ; According to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time ; Estimated time based on the rendering , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.

[0007] In some exemplary embodiments of the present disclosure, the obtaining of the material complexity of the target frame image further includes: obtaining the number of vertices and primitive types of the target frame image; and calculating the primitive scale of the target frame image according to the number of vertices and primitive types. ; The texture scale The image size of the target frame image Positive correlation; the complexity of the operation of obtaining the target frame image , further comprising: obtaining a preset rendering processing step of the target frame image; determining the operation complexity of the target frame image according to the preset rendering processing step; .

[0008] In some exemplary embodiments of the present disclosure, the method further includes: obtaining the number of times the target frame image is drawn ; According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows: ;in, is the complexity of the i-th drawing operation, is the scale of the primitive drawn for the i-th time, The texture scale for the i-th drawing.

[0009] In some exemplary embodiments of the present disclosure, the task load value of each rendering module is obtained. and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , further comprising: obtaining a first task load value of each first rendering module and the first processing capability value ; According to the rendering load of the target frame image , the first task load value and the first processing capability value , calculate the first rendering estimate time , the corresponding formula is as follows: ;in, is the first task load value of the i-th first rendering module, is the first processing capability value of the i-th first rendering module, Estimated time for the first rendering of the i-th first rendering module.

[0010] In some exemplary embodiments of the present disclosure, the task load value of each rendering module is obtained. and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , further comprising: obtaining a second task load value of each second rendering module , the second processing capacity value and bandwidth ; According to the rendering load of the target frame image , the second task load value , the second processing capacity value and bandwidth , calculate the second rendering estimated time , the corresponding formula is as follows: ;in, is the second task load value of the i-th second rendering module, is the second processing capability value of the i-th second rendering module, is the bandwidth of the i-th second rendering module, The estimated time for the second rendering of the i-th second rendering module.

[0011] In some exemplary embodiments of the present disclosure, the second task load value of each second rendering module is obtained. , the second processing capacity value and bandwidth , further comprising: obtaining a first task load value of each first rendering module ; According to the first task load value of each first rendering module , calculate the average first task load value of each first rendering module ; In response to the average first task load value Satisfy the preset conditions and obtain the second task load value of each second rendering module , the second processing capacity value and bandwidth .

[0012] In some exemplary embodiments of the present disclosure, the estimated time according to the rendering , dispatching the rendering task of the target frame image to the target rendering module for rendering processing, and also comprising: comparing the rendering estimated time of each rendering module ; The estimated rendering time The smallest rendering module is determined as the target rendering module; and the rendering task of the target frame image is dispatched to the target rendering module for rendering processing.

[0013] In some exemplary embodiments of the present disclosure, the method further includes: in response to dispatching the rendering task of the target frame image to the target rendering module, according to the rendering load of the target frame image , the task load value of the target rendering module to update.

[0014] In some exemplary embodiments of the present disclosure, the method further includes: obtaining the rendering task execution time of each of the target frame images; and calculating the rendering load of each of the target frame images based on the rendering load of each of the target frame images. and the rendering task execution time, and perform data statistics; according to the data statistics, the material complexity coefficient is calculated by linear regression method , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted.

[0015] According to a second aspect of an embodiment of the present disclosure, an image rendering task scheduling device based on edge-cloud collaboration is provided, comprising: a material complexity acquisition module configured to acquire the material complexity of a target frame image; the material complexity at least includes: a primitive scale , Texture Scale and image size ; An operation complexity acquisition module configured to acquire the operation complexity of the target frame image ; A rendering load calculation module is configured to calculate the rendering load according to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows: ;in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor; a rendering module acquisition module is configured to obtain the task load value of each rendering module and processing power values ; A rendering estimated time calculation module configured to calculate the rendering load of the target frame image according to the , Task load value and processing power values , calculate the estimated rendering time ; A task scheduling module is configured to estimate the rendering time according to the , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.

[0016] According to the third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: one or more processors; a storage device configured to store one or more programs, so that when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the image rendering task scheduling methods based on edge-cloud collaboration.

[0017] According to the fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the image rendering task scheduling methods based on edge-cloud collaboration.

[0018] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program / signaling, characterized in that when the computer program / signaling is executed by a processor, the image rendering task scheduling method based on edge-cloud collaboration as described in the above embodiment is implemented.

[0019] The image rendering task scheduling method based on edge-cloud collaboration provided by the embodiment of the present disclosure calculates the rendering load of the target frame image by obtaining the material complexity and operation complexity of the target frame image; and calculates the rendering estimated time according to the rendering load of the target frame image and the task load value and processing capacity value of each rendering module. According to the rendering estimated time, the rendering task of the target frame image is scheduled to the target rendering module for rendering processing. This method can estimate the rendering load of the target frame image based on the material complexity and operation complexity of the target frame image. At the same time, based on the task load value and processing capacity value of each rendering module, the time required for rendering processing is estimated. Based on the rendering estimated time, the rendering task of the target frame image is selected to be scheduled to the appropriate target rendering module for rendering processing, so that the rendering task is effectively processed, which greatly improves the overall task processing efficiency of the rendering system.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0022] Figure 1 A schematic diagram of a cloud-edge coordinated image rendering system architecture to which an embodiment of the present disclosure can be applied is shown.

[0023] Figure 2 It is a flowchart of an image rendering task scheduling method based on edge-cloud collaboration according to an exemplary embodiment.

[0024] Figure 3 The process of calculating the estimated rendering time according to an example is shown Figure 1 .

[0025] Figure 4 The process of calculating the estimated rendering time according to an example is shown Figure 2 .

[0026] Figure 5 The present invention is a flowchart of a process of triggering the acquisition of parameters of a second rendering module according to an example.

[0027] Figure 6 The present invention is a flowchart of a method for scheduling rendering tasks of a target frame image according to an example.

[0028] Figure 7 The present invention is a flowchart of a coefficient regression adjustment method in rendering task scheduling according to an example.

[0029] Figure 8 It is a block diagram of an image rendering task scheduling device based on edge-cloud collaboration according to an exemplary embodiment.

[0030] Fig. 9 It is a schematic diagram showing the structure of an electronic device suitable for implementing the exemplary embodiments of the present disclosure according to an exemplary embodiment. DETAILED DESCRIPTION

[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0032] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0033] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in at least one hardware module or integrated circuit, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0034] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0035] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of at least one element / component / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0036] Figure 1 A schematic diagram of a cloud-edge coordinated image rendering system architecture to which an embodiment of the present disclosure can be applied is shown.

[0037] like Figure 1 As shown in FIG. 1 , the system architecture is a distributed architecture based on cloud computing technology, which consists of multiple physical servers, each of which is equipped with at least one GPU (graphics processing unit) hardware. These physical servers are connected to each other through the network and work together to complete the image rendering task.

[0038] The client plays the role of the user interface in the cloud image rendering system. It allows users to upload images to be rendered, submit image rendering tasks, and set corresponding rendering parameters. Once the rendering is completed, the client will also receive and display the rendering results from the cloud, realizing the whole process interaction from demand proposal to result delivery.

[0039] In the cloud rendering environment, there are three core modules: management module, cloud rendering module and edge rendering module. The management module is the core of the entire system. Its main responsibility is to receive the user's rendering request from the client and parse it to understand its specific needs. Then, based on these needs, the management module will assign the rendering task to the appropriate GPU node for processing. The advantage of this is that the computing power of each GPU node can be fully utilized to improve the overall rendering efficiency.

[0040] The cloud rendering module is deployed on the cloud side to perform image rendering operations. They receive specific rendering tasks from the management module and use their own GPU resources to perform image processing. When the rendering is completed, the rendering module returns the result to the management module, which then passes it back to the client.

[0041] The edge-side rendering module is the part deployed on the edge side to perform image rendering operations. As a supplement to the cloud-side rendering module, when the cloud-side rendering module is under high load, it shares part of the image rendering tasks and alleviates the rendering burden of the cloud-side rendering module. Like the cloud-side rendering module, the edge-side rendering module also receives specific rendering tasks from the management module and uses its own GPU resources to perform image processing. When the rendering is completed, the edge-side rendering module directly passes the results back to the client. The edge-side rendering module is usually located near the business end of the edge node and consists of a small number of physical servers. It is also equipped with some GPU hardware, but the scale of physical servers and GPUs is much smaller than that of the cloud-side rendering module.

[0042] Users only need to build the rendering task in advance on the local side, and then submit the rendering task to the cloud, and the final time-consuming image rendering operation is performed by the cloud rendering module or the edge rendering module. Through this cloud-edge coordinated image rendering system, the hardware resources on the edge side are used to complete the corresponding rendering operation, which can not only reduce the cloud rendering load, but also shorten the completion time of the rendering task and improve the user experience.

[0043] Below, each step of the method in the exemplary embodiment of the present disclosure will be described in more detail with reference to the accompanying drawings and embodiments.

[0044] Figure 2 It is a flowchart of an image rendering task scheduling method based on edge-cloud collaboration according to an exemplary embodiment. Figure 2The method provided in the embodiment can be carried out by the above Figure 1 The management module in the embodiment is executed, but the present disclosure does not limit this. Figure 2 As shown, the image rendering task scheduling based on edge-cloud collaboration includes:

[0045] In step S210, the material complexity of the target frame image is obtained; the material complexity at least includes: the size of the primitive , Texture Scale and image size .

[0046] In the disclosed embodiment, Figure 1 The client shown receives the image to be rendered uploaded by the user and submits the image rendering task. The client splits the image rendering task according to the frame granularity and distributes it according to the image rendering task per frame. Among them, the image corresponding to each frame image rendering task is the target frame image. It should be pointed out that according to different actual task splitting requirements, the image to be rendered can also be split according to other granularities, which should also be within the scope of protection of the present invention.

[0047] According to the target frame image, the material complexity of the target frame image is obtained. The material complexity is used to represent the diversity and detail richness of the elements in the target frame image. The material complexity can be used to measure the difficulty of image processing or rendering of the target frame image itself. The material complexity at least includes: the size of the primitives , Texture Scale and image size . Among them, primitive scale refers to the number of basic graphic elements that make up the image. These elements can be points, lines, surfaces, etc. The more primitives there are, the more complex the image structure is. Texture scale refers to the visual characteristics of the surface structure in the image, including the type, detail level and distribution of the texture. A high texture scale means that the image has more diverse or finer surface textures and patterns. Image size refers to the file size of the image, usually in MB.

[0048] In an exemplary embodiment, the primitive size It can be obtained by the following method:

[0049] Get the number of vertices and primitive types of the target frame image;

[0050] According to the number of vertices and primitive type, calculate the primitive scale of the target frame image .

[0051] Images are usually composed of several points, lines, faces and other primitives. The primitives in these images are constructed by several vertices. According to the number of vertices and primitive types included in the image, the primitive scale of the image can be calculated. For example, the image includes 30,000 vertices, and the corresponding primitive type is triangle, that is, the image is constructed by triangle primitives, including 30,000 vertices in total. Since a triangle primitive includes three vertices. Therefore, it can be calculated that the primitive scale of the image is 10,000 triangle primitives.

[0052] In an exemplary embodiment, the texture scale It is usually positively correlated with the image size, that is, the texture scale can be calculated based on the image size and the preset texture coefficient. For example, the size of the target frame image is 1MB, and the texture coefficient is 1. Therefore, the texture scale of the target frame image is 1024.

[0053] In an exemplary embodiment, the image size Generally, the size of the image can be obtained directly.

[0054] In step S220, the operation complexity of the target frame image is obtained. .

[0055] In the disclosed embodiment, the same image rendering task may include multiple rendering steps such as depth test, template test, and blend test. Among them, the depth test determines the visibility of the pixel; the template test controls the pixel drawing based on specific conditions, and the blend test processes the pixel color superposition to achieve transparent or semi-transparent effects. Since different image rendering tasks perform different rendering processing operations on the image, it is necessary to further obtain the operation complexity corresponding to the target frame image. . You can do this by following these steps:

[0056] Obtain preset rendering processing steps for the target frame image.

[0057] According to the preset rendering processing steps, the operation complexity of the target frame image is determined .

[0058] The operation complexity is used to indicate the complexity of the rendering operation required for the image rendering task. By obtaining the image rendering task corresponding to the target frame image, the operation complexity of the task can be quantified to obtain the operation complexity .

[0059] In step S230, according to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows:

[0060]

[0061] in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor.

[0062] In the embodiment of the present disclosure, according to the material complexity and operation complexity of the target frame image obtained in the aforementioned steps S210 and S220, , calculate the rendering load of the target frame image The rendering load is used to comprehensively measure the processing load of the image rendering task on the rendering module based on the material complexity and operation complexity. It can be calculated by the following formula:

[0063]

[0064] in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale coefficient. The above coefficients are pre-set coefficients used to adjust the scale of the primitives. , Texture Scale and operational complexity , when calculating the rendering load The weight coefficient in .

[0065] In an exemplary embodiment, the above-mentioned coefficients are not fixed values, but can be dynamically adjusted according to different rendering task requirements and the current load conditions of each rendering module.

[0066] In an exemplary embodiment, the target frame image 1 includes 30,000 vertices, and the corresponding primitive type is a triangle. According to the above method, the primitive scale of the target frame image 1 is calculated to be 10,000 triangle primitives. The size of the target frame image 1 is 1MB, and the texture coefficient is 1. According to the above method, the texture scale of the target frame image 1 is calculated to be 1024. The operation complexity of the target frame image 1 is determined according to the rendering task of the target frame image 1. is 1. Assume that the material complexity coefficient , operation complexity coefficient , the primitive scale factor , texture scale factor . According to the above-obtained parameters, the rendering load of the target frame image 1 is calculated It is 8268.

[0067]

[0068] The rendering load , which means that when the rendering task of the target frame image is assigned to a rendering module, the increased processing pressure on the rendering module.

[0069] In an exemplary embodiment, during the image rendering task processing, multiple rounds of drawing are usually used for rendering processing. First, basic rendering is performed, and then advanced effects such as shadows, reflections, gloss, etc. are applied in each subsequent round. Each round may involve operations such as depth testing, template testing, and blending to ensure that details are accurately superimposed. In this way, layers are superimposed and the final image is gradually constructed through multiple loop iterations. For this image rendering method, the aforementioned method for calculating the rendering load of the target frame image can also include the following steps.

[0070] Get the number of times the target frame image is drawn ;

[0071] According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows:

[0072]

[0073] in, is the complexity of the i-th drawing operation, is the scale of the primitive drawn for the i-th time, The texture scale for the i-th drawing.

[0074] In this exemplary embodiment, the number of times the target frame image is drawn is obtained. And for each drawing, the corresponding operation complexity, primitive scale, and texture scale are obtained respectively. Then, referring to the aforementioned formula for calculating the rendering load of the target frame image, each drawing is calculated and summed to obtain the rendering load of the target frame image. By calculating the rendering load of the target frame image in this way, the rendering load of each drawing can be more accurately measured, and the rendering load of the overall rendering task of the target frame image can be estimated more accurately.

[0075] In step S240, the task load value of each rendering module is obtained. and processing power values .

[0076] In the disclosed embodiment, Figure 1 The management module shown monitors the task load value and processing capacity value of each rendering module in the cloud image rendering system in real time. Figure 1The cloud rendering module and edge rendering module shown in . The task load value is used to represent the sum of the rendering load values ​​of the image rendering tasks that have been assigned to the rendering module and have not yet been processed. The processing capacity value is used to represent the image rendering processing capacity of each rendering module based on its hardware capacity.

[0077] According to the disclosed embodiment, each image rendering task needs to go through the aforementioned steps S210-S230 to calculate the rendering load corresponding to the target frame image. When the corresponding image rendering task is assigned to a certain rendering module, or when the rendering module completes a certain image rendering task, the task load value of the rendering module needs to be updated. The management module monitors the task load value of each rendering module in real time to provide reasonable task scheduling for each rendering module.

[0078] In an exemplary embodiment, each rendering module needs to report its hardware capabilities (such as CPU, GPU, memory and other parameters) when initially registering in the management module. The management module converts the hardware capabilities registered by each rendering module into its corresponding rendering task processing capability value. .

[0079] For example, the cloud image rendering system currently has rendering module 1, rendering module 2, and rendering module 3. The management module monitors that the current task load values ​​of rendering module 1, rendering module 2, and rendering module 3 are 5000, 10000, and 15000 respectively. The processing capacity values ​​of rendering module 1, rendering module 2, and rendering module 3 are 500, 300, and 100 respectively.

[0080] In step S250, according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time .

[0081] As mentioned above, the rendering load of the target frame image Indicates the rendering load value required to process the target frame image; the task load value Indicates the sum of the rendering load values ​​of the image rendering tasks that have been assigned to each rendering module and have not yet been processed; the processing capacity value Indicates the image rendering processing capability of each rendering module.

[0082] In the embodiment of the present disclosure, the rendering load of the target frame image calculated in the aforementioned step S230 is Add each rendering module separately, and calculate the corresponding rendering estimated time based on the task load value of the rendering module after adding it and the processing capacity value of the rendering module The estimated rendering time refers to the estimated rendering time required for the rendering task of the target frame image to be assigned to the rendering module.

[0083] In step S260, the rendering estimated time , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.

[0084] In the embodiment of the present disclosure, according to the estimated rendering time of each rendering module calculated in the aforementioned step S250, the estimated rendering time required for the target frame image to be assigned to the rendering module can be known. By comparing the estimated rendering time of each rendering module, the rendering task of the target frame image is selected and dispatched to an appropriate target rendering module for rendering processing.

[0085] In an exemplary embodiment, after the management module dispatches the rendering task of the target frame image to the target rendering module, it further schedules the rendering task of the target frame image according to the rendering load of the target frame image. , the task load value of the target rendering module The task load value of the target rendering module is updated, and other image rendering tasks can be scheduled based on the updated task load value.

[0086] For example, the rendering load of the aforementioned target frame image 1 is 8268. The current task load values ​​of rendering module 1, rendering module 2, and rendering module 3 are 5000, 10000, and 15000, respectively. Assume that the management module dispatches the rendering task of the target frame image 1 to rendering module 1 for processing. In response to dispatching the rendering task of the target frame image 1 to rendering module 1, the task load value of rendering module 1 is updated to 13268.

[0087] The image rendering task scheduling method based on edge-cloud collaboration provided by the embodiment of the present disclosure calculates the rendering load of the target frame image by obtaining the material complexity and operation complexity of the target frame image; and calculates the rendering estimated time according to the rendering load of the target frame image and the task load value and processing capacity value of each rendering module. According to the rendering estimated time, the rendering task of the target frame image is scheduled to the target rendering module for rendering processing. This method can estimate the rendering load of the target frame image based on the material complexity and operation complexity of the target frame image. At the same time, based on the task load value and processing capacity value of each rendering module, the time required for rendering processing is estimated. Based on the rendering estimated time, the rendering task of the target frame image is selected to be scheduled to the appropriate target rendering module for rendering processing, so that the rendering task is effectively processed, which greatly improves the overall task processing efficiency of the rendering system.

[0088] Figure 3The process of calculating the estimated rendering time according to an example is shown Figure 1 .like Figure 3 As shown, the task load value of each rendering module is obtained in the aforementioned step S250 and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , the following steps may also be included.

[0089] In step S310, the first task load value of each first rendering module is obtained. and the first processing capability value .

[0090] In the embodiment of the present disclosure, the first task load value corresponding to each first rendering module is obtained. and the first processing capability value .

[0091] In an exemplary embodiment, the first rendering module is a cloud rendering module.

[0092] In step S320, according to the rendering load of the target frame image , the first task load value and the first processing capability value , calculate the first rendering estimate time , the corresponding formula is as follows:

[0093]

[0094] in, is the first task load value of the i-th first rendering module, is the first processing capability value of the i-th first rendering module, Estimated time for the first rendering of the i-th first rendering module.

[0095] In the embodiment of the present disclosure, the rendering load of the target frame image is Add the first task load value corresponding to each first rendering module respectively The sum of the rendering load and the task load value represents the amount of rendering load accumulated by the first rendering module after the rendering task of the target frame image is assigned to the first rendering module. , calculate the first rendering estimated time corresponding to the first rendering module .

[0096] For example, the rendering load of the target frame image is 8268; the current task load values ​​of rendering module 1, rendering module 2, and rendering module 3 are 5000, 10000, and 15000 respectively; the processing capacity values ​​of rendering module 1, rendering module 2, and rendering module 3 are 500, 300, and 100 respectively. Through calculation, it can be obtained that the rendering estimated time corresponding to rendering module 1, rendering module 2, and rendering module 3 is 26.5S, 60.9S, and 232.7S respectively.

[0097] Figure 4 The process of calculating the estimated rendering time according to an example is shown Figure 2 .like Figure 4 As shown, the task load value of each rendering module is obtained in the aforementioned step S250 and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , the following steps may also be included.

[0098] In step S410, the second task load value of each second rendering module is obtained. , the second processing capacity value and bandwidth .

[0099] In the embodiment of the present disclosure, in addition to obtaining the second task load value corresponding to each second rendering module and the second processing capability value In addition, the bandwidth corresponding to each second rendering module is further obtained. .

[0100] In an exemplary embodiment, the second rendering module is an edge-side rendering module. Since the edge-side rendering module is usually located at the service end of the edge node, in addition to the rendering processing capability of the rendering module itself, the data transmission time between the management module and the edge-side rendering module also needs to be considered. Therefore, on the basis of obtaining the similar parameters of the aforementioned first rendering module, the bandwidth corresponding to each second rendering module is further obtained. .

[0101] In step S420, according to the rendering load of the target frame image , the second task load value , the second processing capacity value and bandwidth , calculate the second rendering estimated time , the corresponding formula is as follows:

[0102]

[0103] in, is the second task load value of the i-th second rendering module, is the second processing capability value of the i-th second rendering module, is the bandwidth of the i-th second rendering module, The estimated time for the second rendering of the i-th second rendering module.

[0104] In the embodiment of the present disclosure, similar to the aforementioned step S320, the rendering load of the target frame image is Add the second task load value corresponding to each second rendering module respectively , and further based on the second processing capability value , calculate the rendering processing time corresponding to the second rendering module. However, considering the data transmission time between the management module and the edge side rendering module, it is further based on the image size. and bandwidth , calculate the data transmission time of the target frame image. The rendering processing time and the data transmission time are combined to finally obtain the second rendering estimated time corresponding to the second rendering module. The estimated time for the second rendering is , represents the actual rendering processing time estimated when the rendering task of the target frame image is assigned to the second rendering module.

[0105] For example, the rendering load of the target frame image is 8268; the image size is 1MB. The current task load values ​​of rendering module 4, rendering module 5, and rendering module 6 are 0, 2000, and 5000 respectively; the processing capacity values ​​of rendering module 4, rendering module 5, and rendering module 6 are 500, 200, and 50 respectively; the bandwidths of rendering module 4, rendering module 5, and rendering module 6 are 0.5MB / s, 0.5MB / s, and 1MB / s respectively. Through calculation, it can be obtained that the rendering estimated time corresponding to rendering module 4, rendering module 5, and rendering module 6 is 18.5S, 53.3S, and 266.4S respectively.

[0106] The image rendering task scheduling method based on edge-cloud collaboration provided by the disclosed embodiment provides different rendering estimated time calculation methods according to the respective characteristics of the cloud-side rendering module and the edge-side rendering module. For the edge-side rendering module, in addition to considering the rendering processing capability of the rendering module itself, the data transmission time between the management module and the edge-side rendering module is also considered, so as to more accurately calculate the rendering estimated time of the edge-side rendering module. Through the above-mentioned differentiated rendering estimated time calculation method, the rendering estimated time calculated by the cloud-side rendering module and the edge-side rendering module is more comparable, providing a basis for more reasonable rendering task scheduling.

[0107] Figure 5 FIG. 1 is a flowchart of a process for triggering and obtaining parameters of a second rendering module according to an example. Figure 5 As shown, in the aforementioned step S410, the second task load value of each second rendering module is obtained. , the second processing capacity value and bandwidth , the following steps may also be included.

[0108] In step S510, the first task load value of each first rendering module is obtained. .

[0109] In step S520, according to the first task load value of each first rendering module , calculate the average first task load value of each first rendering module .

[0110] In step S530, in response to the average first task load value Satisfy the preset conditions and obtain the second task load value of each second rendering module , the second processing capacity value and bandwidth .

[0111] As mentioned earlier, they serve as a supplement to the cloud rendering module. When the cloud rendering module is under high load, they share part of the image rendering tasks and alleviate the rendering burden of the cloud rendering module.

[0112] In the disclosed embodiment, the overall load of the cloud rendering module is evaluated first, and then based on the evaluation result, it is determined whether to trigger the acquisition of relevant parameters of the edge rendering module. Specifically, the first task load value of each first rendering module is obtained. . According to the first task load value of each first rendering module , calculate the average first task load value of each first rendering module When the average first task load value When the preset conditions are met, the second rendering module is triggered to obtain the second task load value. , the second processing capacity value and bandwidth The preset condition can set the trigger condition according to actual needs, such as setting the trigger threshold.

[0113] Figure 6 FIG. 1 is a flowchart of a method for scheduling rendering tasks of a target frame image according to an example. Figure 6 As shown, in the aforementioned step S260, the rendering estimated time , dispatching the rendering task of the target frame image to the target rendering module for rendering processing, may also include the following steps.

[0114] In step S610, the estimated rendering time of each rendering module is compared. .

[0115] In the embodiment of the present disclosure, the estimated rendering time of each rendering module obtained by the management module through the aforementioned method is A direct comparison is performed, and the rendering task of the target frame image is scheduled based on the estimated rendering time of each rendering module. The estimated rendering time may be the first estimated rendering time of the first rendering module calculated by the method shown in 4, or the second estimated rendering time of the second rendering module calculated by the method shown in 5.

[0116] In step S620, the rendering estimated time The smallest rendering module is determined as the target rendering module.

[0117] In the embodiment of the present disclosure, based on the comparison of the estimated rendering time of each rendering module in the aforementioned step S610, the rendering module with the smallest estimated rendering time is determined as the target rendering module. In this way, the load pressure of each rendering module can be balanced according to the task load value of each rendering module, and the rendering task of the target frame image can be processed as quickly as possible.

[0118] For example, the rendering estimated times corresponding to the aforementioned rendering modules 1, 2, 3, 4, 5, and 6 are 26.5S, 60.9S, 232.7S, 18.5S, 53.3S, and 266.4S, respectively. Among them, the rendering estimated time of rendering module 4 is the shortest, so the rendering module 4 can be selected as the target rendering module.

[0119] In step S630, the rendering task of the target frame image is dispatched to the target rendering module for rendering processing.

[0120] In the embodiment of the present disclosure, according to the target rendering module determined in the aforementioned step S620, the rendering task of the target frame image is dispatched to the target rendering module for rendering processing.

[0121] The image rendering task scheduling method based on edge-cloud collaboration provided by the disclosed embodiment selects the rendering module with the smallest estimated rendering time as the target rendering module. In this way, the load pressure of each rendering module can be balanced according to the task load value of each rendering module, and the rendering task of the target frame image can be processed as quickly as possible, so that the rendering task of the target frame image is scheduled to the appropriate target rendering module for rendering processing, which greatly improves the overall task processing efficiency of the rendering system.

[0122] Figure 7 FIG. 1 is a flowchart of a coefficient regression adjustment method in rendering task scheduling according to an example. Figure 7 As shown, the image rendering task scheduling method based on edge-cloud collaboration may also include the following steps.

[0123] In step S710, the rendering task execution time of each of the target frame images is obtained.

[0124] In the embodiment of the present disclosure, as mentioned above, the material complexity coefficient can be adjusted according to different rendering task requirements and the current load conditions of each rendering module. , operation complexity coefficient , the primitive scale factor , texture scale factor Dynamically adjust the rendering load of the target frame image , so that the calculation result of the rendering load can effectively balance the load of each rendering module. Based on this, the present disclosure is further designed with a feedback mechanism, which dynamically adjusts the above coefficients by recording the rendering load of each frame image and the execution time of the actual rendering task.

[0125] In the embodiment of the present disclosure, in response to the completion of the rendering task of the target frame image, the rendering task execution time of each target frame image is obtained. The rendering task execution time is used to indicate the actual task execution time of the rendering task of the target frame image in the assigned rendering module.

[0126] In step S720, based on the rendering load of each of the target frame images And the execution time of the rendering task, and perform data statistics.

[0127] In the embodiment of the present disclosure, by recording the rendering load of each target frame image The corresponding rendering task execution time is used to perform data statistics. The data statistics can use any existing data statistics and analysis methods, which are not limited here.

[0128] In step S730, according to the data statistics, the material complexity coefficient is calculated by linear regression method. , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted.

[0129] In the embodiment of the present disclosure, data analysis is performed on the data statistics of the preset statistical period, and then the material complexity coefficient is calculated. , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted.

[0130] In an exemplary embodiment, the data analysis uses a linear regression method to analyze the data collected in step S720. The linear regression method is a statistical analysis method that uses regression analysis in mathematical statistics to determine the quantitative relationship between two or more variables that are interdependent. It is used to establish a linear relationship model between a dependent variable and one or more independent variables, and to estimate the best fit line by minimizing the sum of squared errors, thereby predicting the value of a continuous target variable. In this embodiment, a linear relationship model is established between the rendering load of each target frame image and the rendering task execution time, and the above-mentioned material complexity coefficient is calculated based on the actual task execution time. , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted so that the relationship between the rendering load and the rendering task execution time tends to be linear.

[0131] The image rendering task scheduling method based on edge-cloud collaboration provided by the embodiment of the present disclosure performs data statistics by recording the image rendering load of each target frame and the corresponding rendering task execution time, and uses a linear regression method to analyze the statistical data. , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted so that the rendering load and the rendering task execution time tend to be in a linear relationship, thereby further optimizing the load balancing effect of the task scheduling method.

[0132] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0133] Figure 8 is a block diagram of an image rendering task scheduling device based on edge-cloud collaboration according to an exemplary embodiment. Figure 8 The device 800 may include: a material complexity acquisition module 810, an operation complexity acquisition module 820, a rendering load calculation module 830, a rendering module acquisition module 840, a rendering estimated time calculation module 850 and a task scheduling module 860.

[0134] The material complexity acquisition module 810 is configured to acquire the material complexity of the target frame image; the material complexity at least includes: the size of the primitive , Texture Scale and image size .

[0135] The operation complexity acquisition module 820 is configured to acquire the operation complexity of the target frame image. .

[0136] The rendering load calculation module 830 is configured to calculate the rendering load according to the material complexity and the operation complexity. , calculate the rendering load of the target frame image , the corresponding formula is as follows:

[0137]

[0138] in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor.

[0139] The rendering module acquisition module 840 is configured to obtain the task load value of each rendering module. and processing power values .

[0140] The rendering estimated time calculation module 850 is configured to calculate the rendering estimated time according to the rendering load of the target frame image. , Task load value and processing power values , calculate the estimated rendering time .

[0141] The task scheduling module 860 is configured to estimate the rendering time according to the , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.

[0142] In some exemplary embodiments of the present disclosure, the obtaining of the material complexity of the target frame image further includes: obtaining the number of vertices and primitive types of the target frame image; and calculating the primitive scale of the target frame image according to the number of vertices and primitive types. ; The texture scale The image size of the target frame image Positive correlation; the complexity of the operation of obtaining the target frame image , further comprising: obtaining a preset rendering processing step of the target frame image; determining the operation complexity of the target frame image according to the preset rendering processing step; .

[0143] In some exemplary embodiments of the present disclosure, the rendering load calculation module 830 is further configured to obtain the number of times the target frame image is drawn. ; According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows:

[0144]

[0145] in, is the complexity of the i-th drawing operation, is the scale of the primitive drawn for the i-th time, The texture scale for the i-th drawing.

[0146] In some exemplary embodiments of the present disclosure, the rendering estimated time calculation module 850 is further configured to obtain the first task load value of each first rendering module. and the first processing capability value ; According to the rendering load of the target frame image , the first task load value and the first processing capability value , calculate the first rendering estimate time , the corresponding formula is as follows:

[0147]

[0148] in, is the first task load value of the i-th first rendering module, is the first processing capability value of the i-th first rendering module, Estimated time for the first rendering of the i-th first rendering module.

[0149] In some exemplary embodiments of the present disclosure, the rendering estimated time calculation module 850 is further configured to obtain the second task load value of each second rendering module. , the second processing capacity value and bandwidth ; According to the rendering load of the target frame image , the second task load value , the second processing capacity value and bandwidth , calculate the second rendering estimated time , the corresponding formula is as follows:

[0150]

[0151] in, is the second task load value of the i-th second rendering module, is the second processing capability value of the i-th second rendering module, is the bandwidth of the i-th second rendering module, The estimated time for the second rendering of the i-th second rendering module.

[0152] In some exemplary embodiments of the present disclosure, the rendering estimated time calculation module 850 is further configured to obtain the first task load value of each first rendering module. ; According to the first task load value of each first rendering module , calculate the average first task load value of each first rendering module ; In response to the average first task load value Satisfy the preset conditions and obtain the second task load value of each second rendering module , the second processing capacity value and bandwidth .

[0153] In some exemplary embodiments of the present disclosure, the task scheduling module 860 is further configured to compare the estimated rendering time of each rendering module. ; The estimated rendering time The smallest rendering module is determined as the target rendering module; and the rendering task of the target frame image is dispatched to the target rendering module for rendering processing.

[0154] In some exemplary embodiments of the present disclosure, the task load value updating module is configured to dispatch the rendering task of the target frame image to the target rendering module according to the rendering load of the target frame image. , the task load value of the target rendering module to update.

[0155] In some exemplary embodiments of the present disclosure, the coefficient adjustment module is configured to obtain the rendering task execution time of each of the target frame images; based on the rendering load of each of the target frame images, and the rendering task execution time, and perform data statistics; according to the data statistics, the material complexity coefficient is calculated by linear regression method , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted.

[0156] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0157] Refer to the following Fig. 9 hereinafter describes an electronic device 900 according to such an embodiment of the present disclosure. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0158] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.

[0159] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 2 The steps shown.

[0160] For example, electronic devices can achieve Figure 2 The steps shown.

[0161] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 921 and / or a cache memory unit 922 , and may further include a read-only memory unit (ROM) 923 .

[0162] The storage unit 920 may also include a program / utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0163] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0164] The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication may be performed through an input / output (I / O) interface 950. In addition, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 through a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0165] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0166] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of the device to complete the above method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0167] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, and when the computer program / instruction is executed by a processor, the method in the above embodiment is implemented.

[0168] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0169] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for scheduling image rendering tasks based on edge-cloud collaboration, characterized in that: include: Get the material complexity of the target frame image; The material complexity includes at least: primitive size , Texture Scale and image size ; The operation complexity of obtaining the target frame image ; According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows: ; in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor; Get the task load value of each rendering module and processing power values ; According to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time ; Estimated time based on the rendering , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.

2. The method according to claim 1, characterized in that The method of obtaining the material complexity of the target frame image further includes: obtaining the number of vertices and primitive types of the target frame image; and calculating the primitive scale of the target frame image according to the number of vertices and primitive types. ; The texture scale The image size of the target frame image Positive correlation; The complexity of the operation of obtaining the target frame image , further comprising: obtaining a preset rendering processing step of the target frame image; determining the operation complexity of the target frame image according to the preset rendering processing step; .

3. The method according to claim 1, characterized in that The method further comprises: Get the number of times the target frame image is drawn ; According to the complexity of the material and the complexity of the operation , calculate the rendering load of the target frame image , the corresponding formula is as follows: ; in, is the complexity of the i-th drawing operation, is the scale of the primitive drawn for the i-th time, The texture scale for the i-th drawing.

4. The method according to claim 1, characterized in that Obtaining the task load value of each rendering module and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , also includes: Get the first task load value of each first rendering module and the first processing capacity value ; According to the rendering load of the target frame image , the first task load value and the first processing capacity value , calculate the first rendering estimate time , the corresponding formula is as follows: ; in, is the first task load value of the i-th first rendering module, is the first processing capability value of the i-th first rendering module, Estimated time for the first rendering of the i-th first rendering module.

5. The method according to claim 1, characterized in that Obtaining the task load value of each rendering module and processing power values , according to the rendering load of the target frame image , Task load value and processing power values , calculate the estimated rendering time , also includes: Get the second task load value of each second rendering module , the second processing capacity value and bandwidth ; According to the rendering load of the target frame image , the second task load value , the second processing capacity value and bandwidth , calculate the second rendering estimated time , the corresponding formula is as follows: ; in, is the second task load value of the i-th second rendering module, is the second processing capability value of the i-th second rendering module, is the bandwidth of the i-th second rendering module, The estimated time for the second rendering of the i-th second rendering module.

6. The method according to claim 5, characterized in that The second task load value of each second rendering module is obtained , the second processing capacity value and bandwidth , also includes: Get the first task load value of each first rendering module ; According to the first task load value of each first rendering module , calculate the average first task load value of each first rendering module ; In response to the average first task load value Satisfy the preset conditions and obtain the second task load value of each second rendering module , the second processing capacity value and bandwidth .

7. The method according to claim 4 or 5, characterized in that: The estimated rendering time , dispatching the rendering task of the target frame image to the target rendering module for rendering processing, and also comprising: Comparing the estimated rendering time of each rendering module ; The estimated rendering time The smallest rendering module is determined as the target rendering module; The rendering task of the target frame image is dispatched to the target rendering module for rendering processing.

8. The method according to claim 1, characterized in that The method further comprises: In response to dispatching the rendering task of the target frame image to the target rendering module, according to the rendering load of the target frame image , the task load value of the target rendering module to update.

9. The method according to claim 1, characterized in that: The method further comprises: Obtaining the rendering task execution time of each of the target frame images; Based on the rendering load of each target frame image and the execution time of the rendering task, and perform data statistics; According to the data statistics, the material complexity coefficient is calculated by linear regression method. , Operational complexity coefficient , Element scale factor and texture scale factor At least one coefficient in is adjusted.

10. An image rendering task scheduling device based on edge-cloud collaboration, characterized in that: include: A material complexity acquisition module is configured to acquire the material complexity of the target frame image; The material complexity includes at least: primitive size , Texture Scale and image size ; An operation complexity acquisition module is configured to acquire the operation complexity of the target frame image. ; The rendering load calculation module is configured to calculate the rendering load according to the complexity of the material and the complexity of the operation. , calculate the rendering load of the target frame image , the corresponding formula is as follows: ; in, is the material complexity coefficient, is the operation complexity coefficient, is the primitive scale factor, is the texture scale factor; A rendering module acquisition module is configured to obtain the task load value of each rendering module. and processing power values ; The rendering estimated time calculation module is configured to calculate the rendering load of the target frame image according to the rendering load of the target frame image. , Task load value and processing power values , calculate the estimated rendering time ; A task scheduling module is configured to estimate the rendering time according to the , dispatching the rendering task of the target frame image to the target rendering module for rendering processing.