A control method based on the state of hardware rendering off-line

By calculating and comparing the hardware status ratio with a preset threshold in real time, the problem of the rendering platform's hardware status being invisible is solved, enabling efficient selection of rendering jobs and reducing waiting time.

CN115409927BActive Publication Date: 2026-03-27SHENZHEN RENDERBUS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-30
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing technology cannot monitor the hardware status of the rendering platform in real time, making it impossible to select the best rendering machine and resulting in low rendering efficiency.

Method used

By calculating and comparing the hardware status ratio with a preset threshold in real time, the hardware status is displayed, and users can select the most suitable rendering machine based on the ratio, avoiding long waiting times.

Benefits of technology

It improves rendering efficiency, reduces waiting time, and increases the utilization rate of idle hardware configurations on the rendering platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115409927B_ABST
    Figure CN115409927B_ABST
Patent Text Reader

Abstract

The application discloses a control method of hardware state based on offline rendering, comprising the following steps: when a hardware configuration is selected, a system of a selected rendering platform shows hardware configuration information under a current software configuration; if the machine type of the selected rendering platform is a CPU machine and the system is controlled, a first ratio is calculated, the first ratio is compared with a first full threshold and a first busy threshold, and the hardware state is judged; if the machine type of the selected rendering platform is a GPU machine and the system is controlled, a second ratio is calculated, the second ratio is compared with a second full threshold and a second busy threshold, and the hardware state is judged. The user of the application can acquire the hardware state under the selected rendering platform, the machine type and the corresponding model in real time, judge whether there is an idle machine in the current rendering platform, directly select the most suitable hardware configuration to submit a rendering task, effectively improve the rendering efficiency and reduce the waiting time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of offline rendering technology, and in particular to a method for controlling the hardware status based on offline rendering. Background Technology

[0002] When submitting offline rendering jobs, users need to select appropriate hardware configurations based on their software settings to ensure the job is matched and submitted to the corresponding rendering machine. However, the hardware configurations within a rendering cluster are limited, and the machines in the cluster display different statuses depending on the rendering job, such as running, idle, or busy. If a user selects a hardware configuration that is currently running, subsequent job submissions may be unable to be uploaded, ultimately resulting in rendering failure and wasted time. Therefore, current technology does not display hardware status, making it impossible to choose a machine with a better hardware configuration when multiple hardware configurations are available, leading to low rendering efficiency.

[0003] Therefore, existing technologies have shortcomings and need to be improved. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a hardware status control method based on offline rendering. This solves the problem that the existing technology cannot realize real-time viewing of the hardware status of the rendering platform, which leads to the inability to select the best rendering machine according to the actual situation, resulting in low rendering efficiency.

[0005] The technical solution of the present invention is as follows: A hardware state control method based on offline rendering, comprising the following steps:

[0006] S1: The user logs into the offline rendering platform, selects the rendering platform and scene file, and selects the CG software configuration.

[0007] S2: When selecting hardware configuration, the system of the selected rendering platform displays the hardware configuration information under the current software configuration.

[0008] The hardware configuration information includes: the model of the CPU machine and the memory, or the model, number of cards, and memory of the GPU machine.

[0009] S3: If the machine type of the selected rendering platform is a CPU machine, the user selects the CPU machine model, and the system displays the corresponding hardware status of all memory under the CPU machine model selected by the user; and determines whether the current hardware status configuration system is manually controlled or system controlled.

[0010] S4: If the judgment result of step S3 is system control, then calculate in real time the value of (the number of CPU machines with idle memory in the current rendering platform whose hardware model is the CPU machine model selected by the user / the total number of CPU machines in the current rendering platform whose hardware model is the CPU machine model selected by the user) * 100%, record it as the first ratio, and compare the first ratio with the first full threshold and the first busy threshold set by the system, and display the hardware status according to the judgment result.

[0011] S5: If the selected rendering platform is a GPU machine, the user selects the GPU machine model and the number of GPU cards, and the system displays the corresponding hardware status for all memory under the selected GPU machine model and the number of GPU cards; and determines whether the current hardware status configuration system is manually controlled or system controlled.

[0012] S6: If the judgment result of step S5 is system control, then calculate in real time the value of (the number of GPU machines with idle memory in the current rendering platform whose hardware model and number of GPUs are the same as the GPU machine model and number of GPUs selected by the user / the total number of CPU machines in the current rendering platform whose hardware model and number of GPUs are the same as the GPU machine model and number of GPUs selected by the user) * 100%, and record it as the second ratio. Then compare the second ratio with the second full threshold and the second busy threshold set by the system, and display the hardware status according to the judgment result.

[0013] Furthermore, if the judgment result of step S3 is manual control, the current hardware configuration status is directly displayed.

[0014] Furthermore, the CG software configuration includes: CG software version and CG plugin version.

[0015] Furthermore, step S4 further includes:

[0016] S40: If the judgment result of step S3 is system control, then calculate in real time the value of (the number of CPU machines with idle memory in the current rendering platform whose hardware model is the CPU machine model selected by the user / the total number of CPU machines in the current rendering platform whose hardware model is the CPU machine model selected by the user) * 100%, and record it as the first ratio.

[0017] S41: Compare the first ratio with the first full threshold set by the system. If the first ratio is less than the first full threshold set by the system, the hardware status is displayed as full.

[0018] S42: If the first ratio is not less than the first full threshold set by the system, then determine whether the first ratio is less than the first busy threshold set by the system. If yes, the hardware status is displayed as busy; otherwise, the hardware status is displayed as normal.

[0019] Furthermore, if the judgment result of step S5 is manual control, the current hardware configuration status is directly displayed.

[0020] Furthermore, step S6 further includes:

[0021] S60: If the judgment result of step S5 is system control, then calculate in real time the value of (the number of GPU machines with idle memory in the current rendering platform whose hardware model and number of GPUs are the same as the GPU machine model and number of GPUs selected by the user / the total number of CPU machines in the current rendering platform whose hardware model and number of GPUs are the same as the GPU machine model and number of GPUs selected by the user) * 100%, and record it as the second ratio.

[0022] S61: Compare the second ratio with the second full threshold set by the system. If the second ratio is less than the second full threshold, the hardware status is displayed as full.

[0023] S62: If the second ratio is not less than the second full threshold, then determine whether the second ratio is less than the second busy threshold. If yes, the hardware status is displayed as busy; otherwise, the hardware status is displayed as normal.

[0024] By adopting the above scheme, the present invention provides a hardware status control method based on offline rendering, which has the following beneficial effects: Users can select a rendering platform and select a machine type according to the hardware configuration information of the rendering platform. Finally, a first ratio or a second ratio is calculated, and the current hardware status is determined and displayed based on the comparison result of the first ratio with the preset first full threshold and the first busy threshold, or the comparison result of the second ratio with the preset second full threshold and the second busy threshold. This allows users to obtain the hardware status of their selected rendering platform, machine type, and corresponding model in real time, determine whether there are idle machines in the current rendering platform, and directly select the most suitable hardware configuration to submit the rendering job. Moreover, when the rendering status of a certain rendering platform is full, another rendering platform can be selected for viewing and calculation. Therefore, the problem of long waiting time after submitting the rendering job can be avoided when there are no idle machines or only a few machines in the hardware configuration platform, thus improving rendering efficiency, reducing waiting time, and improving the utilization rate of the idle hardware configurations of the rendering platform. Attached Figure Description

[0025] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0026] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0027] Please refer to Figure 1 This invention provides a hardware state control method based on offline rendering, comprising the following steps:

[0028] S1: The user logs into the offline rendering platform, selects the rendering platform and scene file, clicks submit, proceeds to the next step, selects the CG software configuration, and clicks save upon completion. In this embodiment, the CG software configuration includes: CG software version and CG plugin version. The specific selection of the CG software configuration, etc., can be determined according to the rendering task submitted by the user.

[0029] S2: When selecting hardware configuration, the selected rendering platform displays the hardware configuration information under the current software configuration. Specifically, the hardware configuration information includes: the CPU machine model and memory, or the GPU machine model, number of cards, and memory.

[0030] S3: If the machine type of the selected rendering platform is a CPU machine, the user selects the CPU machine model, and the system displays the corresponding hardware status of all memory under the CPU machine model selected by the user; and determines whether the current hardware status configuration system is manually controlled or system controlled.

[0031] S4: If the judgment result of step S3 is system control, then the value of (the number of CPU machines with idle memory among the CPU machine models selected by the user in the current rendering platform / the total number of CPU machines with the CPU machine model selected by the user in the current rendering platform) * 100% is calculated in real time and recorded as the first ratio. This first ratio is then compared with the first full threshold and the first busy threshold set by the system, and the hardware status is displayed according to the judgment result. It should be noted that the hardware status is typically: full state, busy state, or normal state. In this embodiment, the first full threshold is 5%, and the first busy threshold is 20%, but these can be specifically set according to actual needs.

[0032] S5: If the selected rendering platform is a GPU machine, the user selects the GPU machine model and the number of GPU cards, and the system displays the corresponding hardware status for all memory under the selected GPU machine model and the number of GPU cards; and determines whether the current hardware status configuration system is manually controlled or system controlled.

[0033] S6: If the judgment result of step S5 is system control, then the value of (the number of GPU machines with idle memory among the GPU machines with the hardware model and number of GPUs selected by the user in the current rendering platform / the total number of CPU machines with the hardware model and number of GPUs selected by the user in the current rendering platform) * 100% is calculated in real time and recorded as the second ratio. This second ratio is then compared with the second full threshold and the second busy threshold set by the system, and the hardware status is displayed according to the judgment result. The hardware status is typically: full, busy, or normal. In this embodiment, the second full threshold is 5%, and the second busy threshold is 20%, but these can be set according to actual needs.

[0034] Therefore, after making the above judgment, the user can select the hardware configuration and submit the rendering job according to the judgment result of step S4 or S6. The rendering job enters the rendering queue. When the selected CPU machine or GPU machine starts the rendering job, its status is updated from idle to running. Therefore, the system will also update the current hardware status in real time.

[0035] This invention provides a hardware status control method based on offline rendering. When submitting a rendering job, the user can select a rendering platform. After selecting a rendering platform, the user can view the hardware configuration information within that platform in real time. After obtaining the hardware configuration information, the user selects a machine type. If the selected machine type is a CPU machine, the user selects a CPU machine model that matches the user's rendering requirements. Simultaneously, the user views the hardware status corresponding to all memory locations under the selected CPU machine model. If the system control is enabled, a first ratio is calculated. The current hardware status is determined by comparing the first ratio with preset first full thresholds and first busy thresholds. Similarly, when the selected machine type is a GPU machine... Similar operations are performed, and the current hardware status is determined and displayed based on the comparison between the second ratio and the preset second full threshold and second busy threshold. Therefore, users can obtain the hardware status of their selected rendering platform, machine type, and corresponding model in real time, determine whether there are idle machines in the current rendering platform, and directly select the most suitable hardware configuration to submit the rendering job. When the rendering status of a certain rendering platform is full, another rendering platform can be selected for viewing. Therefore, the problem of long waiting time after submitting the rendering job can be avoided when there are no idle machines or only a few machines in the hardware configuration platform, thus improving rendering efficiency, reducing waiting time, and improving the utilization rate of idle machines in the rendering platform.

[0036] Specifically, in this embodiment, if the judgment result of step S3 is manual control, the current hardware configuration status is directly displayed. Similarly, if the judgment result of step S5 is manual control, the current hardware configuration status is also directly displayed. In both cases, the hardware configuration status will be directly displayed, including full, busy, and normal states, allowing the user to make a selection based on the result.

[0037] Specifically, in this embodiment, step S4 further includes:

[0038] S40: If the judgment result of step S3 is system control, then calculate in real time the value of (the number of CPU machines with idle memory in the current rendering platform whose hardware model is the CPU machine model selected by the user / the total number of CPU machines in the current rendering platform whose hardware model is the CPU machine model selected by the user) * 100%, and record it as the first ratio.

[0039] S41: Compare the first ratio with the first full threshold set by the system. If the first ratio is less than the first full threshold set by the system, the hardware status is displayed as full.

[0040] S42: If the first ratio is not less than the first full threshold set by the system, then determine whether the first ratio is less than the first busy threshold set by the system. If yes, the hardware status is displayed as busy; otherwise, the hardware status is displayed as normal. If the result of step S41 is that the first ratio is less than the first full threshold, then the determination in step S42 is unnecessary. Therefore, after steps S40 to S42, the hardware status of the selected rendering platform, GPU machine, and GPU machine model can be directly determined, and the hardware status result can be directly displayed.

[0041] Step S6 further includes: S60: If the judgment result of step S5 is system control, then calculate in real time the value of (the number of GPU machines with idle memory in the current rendering platform whose hardware model and number of GPU cards are the same as the GPU machine model and number of GPU cards selected by the user / the total number of CPU machines in the current rendering platform whose hardware model and number of GPU cards are the same as the GPU machine model and number of GPU cards selected by the user) * 100%, and record it as the second ratio.

[0042] S61: Compare the second ratio with the second full threshold set by the system. If the second ratio is less than the second full threshold, the hardware status is displayed as full.

[0043] S62: If the second ratio is not less than the second full threshold, then determine whether the second ratio is less than the second busy threshold. If yes, the hardware status is displayed as busy; otherwise, the hardware status is displayed as normal.

[0044] In summary, this invention provides a hardware status control method based on offline rendering, which has the following beneficial effects: Users can select a rendering platform and choose a machine type according to the hardware configuration information of the rendering platform. Finally, a first ratio or a second ratio is calculated, and the current hardware status is determined and displayed based on the comparison between the first ratio and preset first full threshold and first busy threshold, or the comparison between the second ratio and preset second full threshold and second busy threshold. This allows users to obtain the hardware status of their selected rendering platform, machine type, and corresponding model in real time, determine whether there are idle machines in the current rendering platform, and directly select the most suitable hardware configuration to submit a rendering job. Furthermore, when the rendering status of a certain rendering platform is full, another rendering platform can be selected for viewing and calculation. Therefore, it can avoid the problem of long waiting times after submitting a rendering job when there are no idle machines or only a few machines in the hardware configuration platform, improve rendering efficiency, reduce waiting time, and at the same time improve the utilization rate of idle machines in the rendering platform.

[0045] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A control method based on the state of hardware for offline rendering, characterized in that, The method comprises the following steps: S1: a user logs in an offline rendering platform, selects a rendering platform and a scene file, and selects a CG software configuration; S2: when a hardware configuration is selected, a system of the selected rendering platform displays hardware configuration information under the current software configuration; The hardware configuration information comprises a model of a CPU machine and a memory or a model, a number of cards, and a memory of a GPU machine; S3: if the machine type of the selected rendering platform is a CPU machine, the user selects a CPU machine model, all memories under the selected CPU machine model are displayed, and a current hardware state is displayed; and it is judged whether the current hardware state configuration system is manually controlled or system controlled; S4: if the result of step S3 is system controlled, a value of (a number of idle CPU machines in CPU machines with the selected CPU machine model in the current rendering platform / total number of CPU machines with the selected CPU machine model in the current rendering platform)*100% is calculated in real time, recorded as a first ratio, the first ratio is compared with a first full threshold and a first busy threshold set by the system, and a hardware state is displayed according to the result; S5: if the machine type of the selected rendering platform is a GPU machine, the user selects a GPU machine model and a number of GPU cards, all memories under the selected GPU machine model and the number of GPU cards are displayed, and a current hardware state is displayed; and it is judged whether the current hardware state configuration system is manually controlled or system controlled; S6: if the result of step S5 is system controlled, a value of (a number of idle GPU machines in GPU machines with the selected GPU machine model and the number of GPU cards in the current rendering platform / total number of GPU machines with the selected GPU machine model and the number of GPU cards in the current rendering platform)*100% is calculated in real time, recorded as a second ratio, the second ratio is compared with a second full threshold and a second busy threshold set by the system, and a hardware state is displayed according to the result.

2. The control method of hardware state based on offline rendering according to claim 1, wherein, If the result of step S3 is manual control, the current hardware configuration state is directly displayed.

3. The control method of hardware state based on offline rendering according to claim 1, wherein, The CG software configuration comprises a CG software version and a CG plug-in version.

4. The control method of hardware state based on offline rendering according to claim 1, wherein, The step S4 further comprises: S40: if the result of step S3 is system controlled, a value of (a number of idle CPU machines in CPU machines with the selected CPU machine model in the current rendering platform / total number of CPU machines with the selected CPU machine model in the current rendering platform)*100% is calculated in real time, recorded as a first ratio; S41: the first ratio is compared with the first full threshold set by the system, if the first ratio is less than the first full threshold set by the system, the hardware state is displayed as full; S42: if the first ratio is not less than the first full threshold set by the system, it is judged whether the first ratio is less than the first busy threshold set by the system, if yes, the hardware state is displayed as busy, if no, the hardware state is displayed as normal.

5. The method of claim 1, wherein, If the result of the step S5 is manual control, the current hardware configuration state is directly displayed.

6. The control method of hardware state based on offline rendering according to claim 1, wherein, The step S6 further comprises: S60: If the result of the step S5 is system control, a value of (the number of the GPU machines with free memory in the GPU machines with the hardware model and the GPU card number selected by the user / the total number of the GPU machines with the hardware model and the GPU card number selected by the user)*100% is calculated in real time, and is recorded as a second ratio value; S61: The second ratio value is compared with a second burst threshold set by the system, if the second ratio value is less than the second burst threshold, the hardware state is displayed as burst; S62: If the second ratio value is not less than the second burst threshold, it is judged whether the second ratio value is less than a second busy threshold, if yes, the hardware state is displayed as busy, if not, the hardware state is displayed as normal.

Citation Information

Patent Citations

  • Stereotelevision signal editing method based on cluster rendering

    CN105262960A

  • Multi-lens editing method based on cluster rendering

    CN105262961A