A method for synchronizing multi-frame rendering information on one machine based on munu scheduler

By recording and synchronizing the frame information of the rendering node machine to text storage in a one-machine multi-frame rendering mode, the problem of users being unable to accurately monitor and pay is solved, and independent monitoring and payment of each frame is realized, which improves operation convenience and data statistics accuracy.

CN114022600BActive Publication Date: 2025-04-08SHENZHEN RENDERBUS TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111302238.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2025-04-08
Estimated Expiration
2041-11-04

AI Technical Summary

Technical Problem

In the prior art, in a multi-frame rendering mode of one machine, the user cannot accurately display the status of each frame, and cannot start, re-release, stop, deduct fees and other operations on each frame within multiple frames, resulting in inconvenient monitoring of rendering progress and cost.

Method used

By mounting all rendering node machines in the same text storage, recording and synchronizing the rendering information of each frame, including frame rendering start time, end time, duration and preview pictures, the database is updated in real time, and independent monitoring and payment for each frame are achieved.

Benefits of technology

It realizes accurate monitoring and independent payment for single-frame rendering, improves operational convenience, and realizes accurate data statistics during the rendering process by quickly synchronizing data information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114022600B_ABST
    Figure CN114022600B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for synchronizing rendering information of multiple frames on a machine based on a munu scheduler, comprising the following steps: after the single-frame rendering on the rendering node machine is completed, the rendering script on the rendering node machine records the rendering information of the single frame into the frame information text, and saves it into the text storage; after the single-frame rendering is completed, the Web server obtains the frame information text corresponding to the single frame from the text storage in real time, and sends the frame information text and frame status information of the single frame to a database, and the database merges and records the frame information text and frame status information to form a frame text; the munu scheduler obtains the rendering status information of the rendering node machine in real time, and sends it to the Web server, and the Web server sends the rendering status information to the database. The present invention can realize the rapid synchronization of data information generated during the rendering process, and realize the accurate statistics of data information during the rendering process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud rendering, and in particular to a one-machine multi-frame rendering information synchronization method based on a munu scheduler. Background Art

[0002] The munu scheduler's rendering mode of one machine with multiple frames is the same as that of one machine with one frame. As a scheduling frame, all frame states contained in one scheduling are updated synchronously, including waiting, starting, failing, giving up, timeout, etc. When operating a frame, the scheduling frame is operated, including starting, re-raising, stopping, etc. The deduction and rendering time are accumulated and recorded in one scheduling frame.

[0003] Due to the limitations of the munu scheduler's frame monitoring method, in the one-machine-multiple-frame rendering mode, the user end can only treat the one-machine-multiple-frames as a whole and display them as a single frame. It is impossible to accurately update the status of each frame, and it is impossible to operate the frames at a finer granularity. The deduction and rendering time of each frame can only be accumulated together. The user cannot monitor the rendering progress of each frame in the one-machine-multiple-frames mode, and cannot start, restart, stop, and other operations on it. In addition, when counting the rendering information of the rendering task status at a certain stage, it is impossible to obtain accurate statistical information.

[0004] Therefore, the prior art has defects and needs to be improved. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for synchronizing multi-frame rendering information of one machine based on the munu scheduler, so as to solve the problem that in the prior art, when in multi-frame rendering mode of one machine, the status of the frame cannot be accurately displayed, and the user cannot start, restart, stop, deduct fees, etc. for each frame in the multiple frames.

[0006] The technical solution of the present invention is as follows: a method for synchronizing multi-frame rendering information of a machine based on a munu scheduler, comprising the following steps:

[0007] S1: All rendering nodes are mounted on the same text storage.

[0008] S2: After the single-frame rendering on the rendering node machine is completed, the rendering script on the rendering node machine records the rendering information of the single frame into the frame information text and saves it into the text storage.

[0009] The rendering information includes: frame rendering start time, frame rendering end time, frame rendering duration, and a preview image generated by rendering.

[0010] S3: After the single frame rendering is completed, the Web server obtains the frame information text corresponding to the single frame from the text storage in real time, and sends the frame information text and frame status information of the single frame to the database, which merges and records the frame information text and frame status information to form a frame text.

[0011] The frame status information includes: frame rendering status and rendering node machine IP.

[0012] S4: the munu scheduler obtains the rendering status information of the rendering node machine in real time, and sends it to the Web server, and the Web server sends the rendering status information to the database.

[0013] The rendering status information includes: the rendering start time of each rendering node machine, the rendering end time of each rendering node machine, and the rendering end status of each rendering node machine.

[0014] S5: If a single frame that has been rendered needs to be re-rendered, the Web server sends a message to the munu scheduler that the single frame needs to be re-rendered. The munu scheduler sends the message to an idle rendering node machine. The rendering script of the idle rendering node machine adds the single frame to the rendering task, and the Web server updates the status of the single frame to waiting for rendering.

[0015] Furthermore, the frame rendering state is rendered or not rendered.

[0016] Furthermore, the text storage is used to store frame information text.

[0017] Furthermore, the rendering end status of each rendering node machine is: rendering success or rendering failure.

[0018] By adopting the above scheme, the present invention provides a method for synchronizing multi-frame rendering information of one machine based on munu scheduler, which has the following beneficial effects:

[0019] 1. After the single-frame rendering is completed, the user can view the frame rendering start time, frame rendering end time, frame rendering duration and other information, and can start, stop, restart and other operations to realize the monitoring of single-frame rendering. If the rendering result of the single frame meets the user's requirements, the user can pay (deduct) for the single-frame rendering, which improves the convenience of operation;

[0020] 2. It can realize the rapid synchronization of data information generated during the rendering process and realize the accurate statistics of data information during the rendering process;

[0021] 3. Compared with the existing technology, the one-machine multi-frame rendering mode can realize the separate display and separate payment of the frame information text and frame status information of a single frame, while compared with the one-machine one-frame rendering mode, there is no need to repeatedly load the scene file during the rendering process, which effectively shortens the rendering time and realizes the combination of the one-machine multi-frame rendering mode and the one-machine one-frame rendering mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION

[0023] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] Please refer to Figure 1 The present invention provides a method for synchronizing multi-frame rendering information of a machine based on a munu scheduler, comprising the following steps:

[0025] S1: All rendering node machines are mounted on the same text storage; the text storage is used to store frame information text; after a single frame on all rendering node machines is rendered, the frame information text used to record rendering information is stored in the text storage.

[0026] S2: After the single-frame rendering on the rendering node machine is completed, the rendering script on the rendering node machine records the rendering information of the single frame into the frame information text and saves it into the text storage. Specifically, in this embodiment, the rendering information includes: frame rendering start time, frame rendering end time, frame rendering duration, and preview image generated by rendering. After the rendering of each single frame on each rendering node machine is completed, the rendering information generated by it will be stored in its corresponding frame information text in real time.

[0027] S3: After the single frame rendering is completed, the Web server obtains the frame information text corresponding to the single frame from the text storage in real time, and sends the frame information text and frame status information of the single frame to the database, and the database merges and records the frame information text and frame status information to form a frame text. After the rendering of each single frame on each rendering node machine is completed, the Web server will obtain the frame information text of the single frame from the text storage in real time, and send the frame status information and frame information text related to the single frame to the database, so that after the single frame is rendered, the database can obtain the relevant information of its completed rendering.

[0028] Specifically, the frame status information includes: frame rendering status, rendering node machine IP; the frame rendering status is rendered or not rendered. It should be noted that generally when the frame status information is sent to the database, the single frame has been rendered, so the frame rendering status is generally rendered.

[0029] S4: munu scheduler obtains the rendering status information of the rendering node machine in real time and sends it to the Web server, which sends the rendering status information to the database. munu scheduler sends the rendering status information of the corresponding rendering node machine to the Web server only after all rendering tasks on the rendering node machine are completed (including rendering failures, if a single frame rendering fails, the rendering task on this rendering node machine ends).

[0030] Specifically, in this embodiment, the rendering status information includes: the rendering start time of each rendering node machine, the rendering end time of each rendering node machine, and the rendering end state of each rendering node machine; the rendering end state of each rendering node machine is: rendering success or rendering failure. When a rendering node machine is rendering, an error occurs in one of the single frames during rendering, resulting in rendering failure. At this time, the munu scheduler will record the rendering failure of the rendering node machine and feedback the result (including the IP address of the rendering node machine and the number of single frames on the rendering node machine that failed to render) to the Web server. The Web server changes the status of the single frame that failed to render on the rendering node machine and the single frames waiting to be rendered thereafter to rendering failure, and sends the relevant information of the rendering failure to the database.

[0031] The present invention discloses a method for synchronizing rendering information of multiple frames on a single machine based on a munu scheduler. The frame information texts of all rendering node machines involved in the rendering process are stored in real time through text storage. After each single frame is rendered, its rendering information is written into its frame information text. The Web server can obtain its frame information text after the single frame rendering is completed, and further send it to the database. At this time, the user can query the rendering progress on the client, obtain relevant information from the database through the Web server, and return it to the client. The user can view the information he wants to view, including the frame rendering start time, frame rendering end time, frame rendering duration, etc., and for a single frame, operations such as start, stop, and re-draw can be performed. If the rendering result of the single frame meets the user's requirements, the user can perform the payment (deduction) operation for the single frame rendering; the user can also view the current rendering progress. Compared with the existing technology, there is no need to wait for the completion of all single-frame rendering tasks on the same rendering node machine before viewing it, and the relevant information of each single frame can be viewed, and separate payment can be made, to realize the monitoring of single-frame rendering and improve the convenience of operation; the munu scheduler can obtain the rendering status information of each rendering node machine in real time, understand the rendering progress, and update the rendering status information of each rendering node machine to the database in real time through the Web server, to realize fast synchronization of information and accurate statistics of data during the rendering process; compared with the one-machine multi-frame rendering mode in the prior art, the present invention can realize the separate display of frame information text and frame status information of a single frame and separate payment, and compared with the one-machine one-frame rendering mode, there is no need to repeatedly load scene files during the rendering process, which effectively shortens the rendering time and realizes the combination of the one-machine multi-frame rendering mode and the one-machine one-frame rendering mode.

[0032] S5: If a single frame that has been rendered needs to be re-rendered, the Web server sends a message to the munu scheduler that the single frame needs to be re-rendered. The munu scheduler sends the message to the idle rendering node machine. The rendering script of the idle rendering node machine adds the single frame to the rendering task, and the Web server updates the status of the single frame to waiting for rendering. When the user views the preview image generated by the single-frame rendering and is not satisfied with the rendering effect, it needs to be re-rendered, that is, when the operation is repeated, its status must first be updated to waiting for rendering and added to the rendering task of the rendering node machine before re-rendering. After the rendering is completed, the subsequent operations can repeat steps S2 to S3.

[0033] In summary, the present invention provides a method for synchronizing multi-frame rendering information on a single machine based on a munu scheduler, which has the following beneficial effects:

[0034] 1. After the single-frame rendering is completed, the user can view the frame rendering start time, frame rendering end time, frame rendering duration and other information, and can start, stop, restart and other operations to realize the monitoring of single-frame rendering. If the rendering result of the single frame meets the user's requirements, the user can pay (deduct) for the single-frame rendering, which improves the convenience of operation;

[0035] 2. It can realize the rapid synchronization of data information generated during the rendering process and realize the accurate statistics of data information during the rendering process;

[0036] 3. Compared with the existing technology, the one-machine multi-frame rendering mode can realize the separate display and separate payment of the frame information text and frame status information of a single frame, while compared with the one-machine one-frame rendering mode, there is no need to repeatedly load the scene file during the rendering process, which effectively shortens the rendering time and realizes the combination of the one-machine multi-frame rendering mode and the one-machine one-frame rendering mode.

[0037] The above are only 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 in the protection scope of the present invention.

Claims

1. A method for synchronizing multi-frame rendering information on one machine based on munu scheduler, characterized in that: The following steps are involved: S1: Mount all rendering nodes on the same text storage; S2: After the single-frame rendering on the rendering node machine is completed, the rendering script on the rendering node machine records the rendering information of the single frame into the frame information text, and saves it into the text storage; The rendering information includes: frame rendering start time, frame rendering end time, frame rendering duration, and preview image generated by rendering; S3: After the single frame rendering is completed, the Web server obtains the frame information text corresponding to the single frame from the text storage in real time, and sends the frame information text and frame status information of the single frame to the database, and the database combines and records the frame information text and frame status information to form a frame text; The frame status information includes: frame rendering status, rendering node machine IP; S4: the munu scheduler obtains the rendering status information of the rendering node machine in real time and sends it to the Web server, and the Web server sends the rendering status information to the database; The rendering status information includes: the rendering start time of each rendering node machine, the rendering end time of each rendering node machine, and the rendering end status of each rendering node machine; S5: If a single frame that has been rendered needs to be re-rendered, the Web server sends a message to the munu scheduler that the single frame needs to be re-rendered. The munu scheduler sends the message to an idle rendering node machine. The rendering script of the idle rendering node machine adds the single frame to the rendering task, and the Web server updates the status of the single frame to waiting for rendering.

2. According to the method for synchronizing one-machine multi-frame rendering information based on munu scheduler according to claim 1, it is characterized in that: The frame rendering status is rendered or not rendered.

3. The method for synchronizing multi-frame rendering information on one machine based on munu scheduler according to claim 1, characterized in that: The text storage is used to store frame information text.

4. The method for synchronizing rendering information of multiple frames on one machine based on munu scheduler according to claim 1, characterized in that: The rendering end status of each rendering node machine is: rendering success or rendering failure.

Citation Information

Patent Citations

  • Distributed Rendering System

    KR1020160066228A