Rendering task processing method, device, equipment and medium

By obtaining the configuration information of the rendering node to generate rendering instructions, it solves the problem of inflexible rendering node calls in traditional rendering task processing, realizes efficient interaction between the rendering task management component and the rendering node, and simplifies maintenance and expansion.

CN115437810BActive Publication Date: 2024-10-15BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211129538.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-16
Publication Date
2024-10-15
Estimated Expiration
2042-09-16

Smart Images

  • Figure CN115437810B_ABST
    Figure CN115437810B_ABST
Patent Text Reader

Abstract

According to an embodiment of the present disclosure, a rendering task processing method, apparatus, device and medium are provided. The rendering task processing method includes, at a rendering task management component, obtaining configuration information of a rendering node for executing the rendering task based on the rendering task. The method further includes generating a rendering instruction for calling the rendering node based on the configuration information. The method also includes sending a rendering instruction to the rendering node so that the rendering node executes the rendering task. In this way, the rendering task management component can call the corresponding rendering node through the configuration information of the rendering node. When calling different rendering nodes, the rendering task management component only needs to modify the corresponding configuration information without making other additional changes, thereby simplifying the calling process of the rendering node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a rendering task processing method, apparatus, device, and computer-readable storage medium. Background Art

[0002] Image rendering is a very important part in the field of image processing. Through rendering technology, images can have a better visual experience. Therefore, rendering technology has been widely used in recent years. In order to provide more diverse rendering services, more and more rendering nodes (also known as "rendering engines") are used by rendering service providers. However, different rendering nodes usually have different interaction methods. In traditional rendering task processing solutions, different interaction interfaces need to be developed for different rendering nodes, resulting in a lack of flexibility in calling rendering nodes. Summary of the invention

[0003] In a first aspect of the present disclosure, a rendering task processing method is provided. The method includes, based on the rendering task, obtaining configuration information of a rendering node for executing the rendering task. The method also includes, based on the configuration information, generating a rendering instruction for calling the rendering node. The method further includes sending the rendering instruction to the rendering node so that the rendering node executes the rendering task.

[0004] In a second aspect of the present disclosure, a rendering task processing method is provided. The method includes receiving a rendering instruction, wherein the rendering instruction is generated by a rendering task management component based on configuration information of the rendering node. The method further includes executing the rendering task based on the rendering instruction.

[0005] In a third aspect of the present disclosure, a rendering task management component is provided. The rendering task management component includes a configuration information acquisition module configured to acquire configuration information of a rendering node for executing the rendering task based on the rendering task. The rendering task management component also includes a rendering instruction generation module configured to generate a rendering instruction for calling the rendering node based on the configuration information. The rendering task management component further includes a rendering instruction sending module configured to send the rendering instruction to the rendering node so that the rendering node executes the rendering task.

[0006] In a fourth aspect of the present disclosure, a rendering node is provided. The rendering node includes a rendering instruction receiving module configured to receive a rendering instruction, wherein the rendering instruction is generated by a rendering task management component based on configuration information of the rendering node. The rendering node further includes a rendering task execution module configured to execute the rendering task based on the rendering instruction.

[0007] In a fifth aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect or the second aspect.

[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and the computer program is executed by a processor to implement the method of the first aspect or the second aspect.

[0009] It should be understood that the contents described in the summary of the present invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be applied;

[0012] Figure 2 A flowchart showing a signaling flow of a rendering task processing according to some embodiments of the present disclosure;

[0013] Figure 3 A flowchart showing a rendering task processing according to some embodiments of the present disclosure;

[0014] Figure 4 A flowchart of another rendering task processing according to some embodiments of the present disclosure is shown;

[0015] Figure 5 A block diagram of a rendering task processing device at a rendering task management component according to some embodiments of the present disclosure is shown;

[0016] Figure 6 A block diagram showing another rendering task processing device at a rendering node according to some embodiments of the present disclosure; and

[0017] Figure 7 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0021] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0022] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0023] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0024] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0025] In this disclosure, the terms "rendering node" and "rendering engine" are equivalent to and interchangeable with each other.

[0026] As discussed in this disclosure, rendering technology has been widely used in recent years. In addition, with the popularization and widespread application of rendering technology, users have higher and higher requirements for rendering quality. In order to provide more abundant and diverse rendering services, more and more rendering nodes (also referred to as "rendering engines") developed by third parties have begun to be used by rendering service providers. Specifically, in addition to using self-developed rendering nodes, rendering service providers will enrich rendering services with rendering nodes developed by third parties. In recent years, cloud rendering technology has also been proposed and has attracted more and more attention. In the scenario of cloud rendering, rendering service providers have the opportunity to access and call more rendering nodes developed by third parties. Therefore, in the scenario of cloud rendering, the need for rendering service providers to call rendering nodes developed by third parties is also more frequent.

[0027] In a traditional rendering task processing scheme, a rendering task management component (such as a rendering main program) calls a rendering node to execute a corresponding rendering task. However, since different rendering nodes usually have different interaction modes, the collaborative interaction modes of the rendering task management component and different rendering nodes are also different. As an example, rendering nodes A, B, and C can be called by a rendering service provider and have respective calling interfaces A0, B0, and C0. When it is necessary to call rendering node A, the rendering task management component needs to include code A1 for calling interface A0. Correspondingly, when it is necessary to call rendering node B / C, the rendering task management component needs to include code B1 / C1 for calling interface B0 / C0, respectively. It can be seen that in a traditional rendering task processing scheme, whenever a called rendering node changes, the rendering task management component needs to be modified to include the code for calling the corresponding rendering node, which is not conducive to the expansion and maintenance of the rendering service.

[0028] Therefore, a flexible and efficient rendering task processing solution is needed to simplify the interaction between the rendering task management component and multiple different rendering nodes.

[0029] According to various embodiments of the present disclosure, a rendering task processing solution is provided. According to the solution of the present disclosure, each rendering node has its own configuration information, and the rendering task management component no longer calls each rendering node by modifying the internal code, but generates rendering instructions through the configuration information of the rendering node to implement the call of the corresponding rendering node. In this way, when the called rendering node changes, the rendering task management component does not need to make additional modifications, and only needs to change the configuration information of the corresponding node, which greatly simplifies the interaction between the rendering task management component and the rendering node component.

[0030] Example Environment

[0031] Figure 11 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Environment 100 relates to a rendering task processing environment. In some embodiments, environment 100 is a cloud rendering environment. Figure 1 As shown, the environment 100 includes a rendering task management component 110 and L rendering nodes 120 - 1 , 120 - 2 , . . . 120 -L (where L is an integer greater than 1). For ease of discussion, the rendering nodes 120 - 1 , 120 - 2 , . . . 120 -L may be collectively or individually referred to as rendering nodes 120 .

[0032] In the present disclosure, the rendering task management component 110 refers to any appropriate device / equipment / module / unit for managing / controlling the execution of rendering tasks. In a specific embodiment, the rendering task management component 110 is implemented as a rendering main program. In other implementations, the rendering task management component 110 can be implemented as an application terminal including a graphical interface. In other implementations, the rendering task management component 110 can also be implemented in other forms. The various embodiments of the present disclosure are not limited in terms of the specific implementation of the rendering task management component 110.

[0033] In some embodiments, the rendering task management component 110 is responsible for controlling the entire processing flow of the rendering task, that is, maintaining and controlling each step / operation of the rendering task, such as image encoding and decoding, artificial intelligence AI algorithm, controlling the rendering node 120 to perform a specific rendering task, etc.

[0034] In some embodiments, the rendering node 120 receives the call of the rendering task management component 110 and performs a specific rendering task. In a specific embodiment, the rendering node 120 receives AI processing results, data to be rendered, rendering instructions, etc. to perform a specific rendering task. In some embodiments, the rendering instructions can indicate any operation performed by the rendering task, including but not limited to starting a renderer, loading rendering data, controlling a camera, controlling rendering frame time, etc.

[0035] In some embodiments, the rendering node 120 is a rendering node developed by the rendering service provider. Alternatively or additionally, in some embodiments, the rendering node 120 is a rendering node developed by a third party and can be called by the rendering service provider.

[0036] Further, in Figure 1 In the example environment 100 of FIG. 1 , the rendering task management component 110 and the rendering node 120 are shown as independent modules, but in an actual rendering task processing scenario, the rendering task management component 110 and the rendering node 120 may be located in separate physical entities or in the same physical entity. The embodiments of the present disclosure are not limited in this respect.

[0037] In some embodiments, the rendering task management component 110 and the rendering nodes 120 run in different processes independent of each other.

[0038] like Figure 1 As shown, the rendering task management component 110 includes a rendering control module 112 and a first dedicated module 124 (sometimes also referred to as a "client module"), wherein the rendering control module 112 is used to manage / control the rendering process, and the first dedicated module 124 is used to implement the call of the rendering node 120. In some embodiments, the rendering control module 112 and / or the first dedicated module 124 can be implemented as a computer plug-in.

[0039] like Figure 1 As shown, each rendering node 120 includes a respective second dedicated module 122 (sometimes also referred to as a "server module") and a renderer 124. The second dedicated module 122 is used to interact with the rendering task management component 110. Specifically, the second dedicated module 122 receives a rendering instruction from the rendering task management component 110 and sends it to the renderer 124. The renderer 124 is used to execute a specific rendering task. Figure 1 As shown, the rendering nodes 120-1, 120-2, and 120-L respectively include respective second dedicated modules 122-1, 122-2, and 122-L and renderers 124-1, 124-2, and 124-L.

[0040] In some embodiments, the second dedicated module 122 interacts with the renderer 124 to perform a specific rendering task. In some embodiments, the second dedicated module 122 converts the received rendering instruction into a rendering task execution instruction that drives the renderer 124 to perform the corresponding rendering task. In some embodiments, the rendering task execution instruction implements the behavior control of the renderer 124, such as the initialization of the renderer 124, the rendering resolution, the rendering frame rate, the loading of rendering data (rendering effects and / or levels), the control of the camera, the control of the rendering frame time, etc.

[0041] In some embodiments, the renderer 124 provides a corresponding interface to the second dedicated module 122 , and the second dedicated module 122 can interact with the rendering task execution instruction through the corresponding interface to implement the call and behavior control of the renderer 124 .

[0042] Alternatively, in some embodiments, the renderer 124 includes a first module and a second module for implementing a rendering function, wherein the first module is used to implement the creation, operation, and destruction of the renderer 124. Further, in some embodiments, the first module also receives a rendering task execution instruction from the second dedicated module 124, and calls the second module to implement a specific rendering function.

[0043] In some embodiments, the renderer 124 and / or the second dedicated module 122 may be implemented as a computer plug-in.

[0044] In some embodiments, the rendering task management component 110 communicates with the second dedicated modules 122 of different rendering nodes 120 through the first dedicated module 114. In other words, the first dedicated module 114 is universal with respect to different rendering nodes 120. Figure 1 In a specific implementation, although each rendering node 120 is connected to only one rendering task management component 110, the rendering node 120 can also be called by other rendering task management components. In other words, the second dedicated module 122 of the rendering node 120 is also universal with respect to different rendering task management components 110.

[0045] In some embodiments, the task management component 110 is connected to the second dedicated module 122 of the rendering node 120 through the first dedicated module 114 to implement the interaction of rendering instructions and rendering data (including data to be rendered and rendering results) between the task management component 110 and the rendering node 120 .

[0046] In some embodiments, the first dedicated module 114 establishes a connection with the second dedicated module 122 for subsequent communication. Additionally, in some embodiments, the first dedicated module 114 requests to start the renderer 124 of the rendering node 120, such as the first dedicated module 114 sending a rendering instruction to the second dedicated module 122 requesting to start the renderer 124. Alternatively, in some embodiments, in response to the establishment of the connection between the first dedicated module 114 and the second dedicated module 122, the second dedicated module 122 automatically triggers the startup process of the renderer 124.

[0047] In some embodiments, the first dedicated module 114 sends a rendering instruction to the second dedicated module 122, and the rendering instruction includes at least one control parameter for controlling the execution of the rendering task. Additionally, the first dedicated module 114 may also receive a response message to the rendering instruction sent by the second dedicated module 122. Alternatively or additionally, in some embodiments, the first dedicated module 114 sends data to be rendered to the second dedicated module 122 and receives a rendering result from the second dedicated module 122.

[0048] In some embodiments, the second dedicated module 122 receives a connection request from the first dedicated module 114 to establish a connection with the first dedicated module 114. In some embodiments, the second dedicated module 122 starts and waits for access from the first dedicated module 114 (such as listening for a connection request from the first dedicated module 114). Additionally, in some embodiments, in response to the establishment of a connection with the first dedicated module 114 or receiving a rendering instruction from the first dedicated module 114 to start the renderer 124, the second dedicated module 122 starts the renderer 124. Alternatively or additionally, in some embodiments, the second dedicated module 122 receives a rendering instruction from the first dedicated module 114 and passes it to the renderer 124, the rendering instruction including at least one control parameter for controlling the execution of the rendering task. In some embodiments, the second dedicated module 122 receives the data to be rendered sent by the first dedicated module 114 and sends it to the renderer 124. Accordingly, the second dedicated module 122 receives the rendering result from the renderer 124 and sends the rendering result to the first dedicated module 114.

[0049] In the present disclosure, the communication between the first dedicated module 114 and the second dedicated module 122 can be any appropriate communication mode. One example of a communication mode is wired communication. Another example of a communication mode is wireless communication. In short, any appropriate communication mode can be used between the first dedicated module 114 and the second dedicated module 122 to achieve cross-device communication.

[0050] Alternatively, the task management component 110 and the rendering node 120 may be located on the same physical device / container, and the first dedicated module 114 and the second dedicated module 122 may use any appropriate inter-process communication to achieve communication with each other. In some embodiments, the first dedicated module 114 and the second dedicated module 122 communicate with the rendering node 120 in a shared memory manner about the data to be rendered, the rendering result, the auxiliary data required to perform the rendering task (such as image processing algorithm data, rendering special effect data, etc.), and / or other data, so as to speed up the data transmission speed.

[0051] In the present disclosure, the communication between the first dedicated module 114 and the second dedicated module 122 can use any appropriate communication protocol. An example of a communication protocol is a transmission control protocol TCP, such as Unix Domain Socket. Another example of a communication protocol is a user datagram protocol UDP. In short, the embodiments of the present disclosure are not limited in terms of specific communication protocol types.

[0052] In some embodiments, the first dedicated module 114 and the second dedicated module 122 may transmit rendering instructions through a specific message protocol. An example of a message protocol is protocol buffers. Another example of a message protocol is JavaScript Object Notation (JSON). It should be understood that the above examples of message protocols are only for illustrative purposes. In other embodiments, the message protocol may be any other existing or future defined message protocol. The various embodiments of the present disclosure are not limited in this respect.

[0053] In some embodiments, each rendering node 120 may have its own configuration information, which may be defined by a message protocol. Additionally, in some embodiments, the configuration information may be defined as a configuration file, and the rendering task management component 110 and / or the rendering node 120 may maintain the configuration file and communicate (such as encoding and decoding of rendering instructions, etc.) based on the rules defined in the configuration file.

[0054] In some embodiments, the configuration information may define a startup configuration parameter. An example of a startup configuration parameter is the type of the rendering node 120. Another example of a startup configuration parameter is a storage path (i.e., an executable file path) of the rendering node 120. Yet another example of a startup configuration parameter is at least one control parameter for controlling the execution of the rendering task, including but not limited to a rendering frequency, a rendering image size, a rendering driver, and the like.

[0055] In this way, even if the same or different rendering nodes 120 / renderers 124 have different startup configurations (such as command line parameters, environment variables, etc.) and / or different business scenarios, the rendering task management component 110 and / or the rendering node 120 only needs to modify the corresponding configuration file without any other additional modifications.

[0056] Further, in some embodiments, the first dedicated module 114 and the second dedicated module 122 are responsible for encoding / decoding the content of the message protocol. The message protocol can define various interactive messages to implement the interaction of rendering instructions. In some embodiments, the interactive message can be defined by one or more of the following parameters: message identifier, type of message parameter (such as integer type, character type, etc.), priority of the message, etc.

[0057] In a specific embodiment, the message protocol can set the rendering resolution message, including the width and length parameters of the resolution. In another specific embodiment, the message protocol can set the rendering frame rate, wherein the rendering frame rate refers to the number of frames rendered per second. In another specific embodiment, the message protocol can set camera parameters, including but not limited to camera position, rotation, field of view (Field of View, FOV). In other specific embodiments, the message protocol can set loading effects / levels (such as, loading paths of rendering effect packages and / or levels), playing camera animations (such as, camera animation identifiers), loading / unloading 3D resources (such as, loading / unloading resource paths), binding input and output images (such as, identifiers of input and / or output shared memory) and other required rendering control parameters (such as, three-dimensional object movement and rotation control, rendering quality control, display or hiding of specific rendering effects, etc.).

[0058] Additionally, in some embodiments, when a new rendering requirement operation needs to be added, the message protocol can define a new message corresponding to the rendering requirement. In this way, by customizing the message corresponding to the corresponding rendering instruction through the message protocol, support for diverse rendering requirements can be achieved.

[0059] In some embodiments, the rendering task is related to a virtual live broadcast or a virtual meeting.

[0060] Just for ease of understanding, in some embodiments, users can run applications such as virtual live broadcasts or virtual meetings on their client devices. In these specific application scenarios, users can deploy at least one image acquisition device, such as a camera, at their client devices to collect the user's audio, video and image data. Further, in these specific application scenarios, in addition to the main screen display, there will be other virtual screens to display additional video streams or image information. In addition, users may also have requirements such as virtual or rendered backgrounds. For example, the user expects to change the background to a specific scene, such as a specific conference room, the starry sky, etc.

[0061] In this case, the user usually needs to render one or more of the following data: audio and video image data captured by the image acquisition device, image data or algorithm data used for rendering operations, transparent channel data, and other custom types of data.

[0062] In some embodiments, the user sends a rendering request related to a rendering task to the cloud. The rendering task management component 110 calls a corresponding rendering node 120 based on the rendering task to execute the corresponding rendering task.

[0063] It should be understood that the above-mentioned specific scenario is only used for a specific application scenario of the rendering task processing environment, and it should not be understood as a limitation on the application scenario of the present disclosure. In other words, in other embodiments, the rendering task may be associated with other application scenarios. The embodiments of the present disclosure are not limited in this respect.

[0064] According to various embodiments of the present disclosure, unified collaboration between the rendering task management component 110 and the rendering nodes 120 is achieved, the maintenance cost when adding new rendering nodes 120 is reduced, and the collaboration efficiency and deployment flexibility of the rendering task management component 110 and the rendering nodes 120 are improved.

[0065] It should be understood that Figure 1 Only an example rendering task processing environment is shown. The specific implementation environment may be different according to actual application needs. Specifically, Figure 1 The number and connection relationship of the rendering task management component 110, rendering node 120, rendering control module 112, first dedicated module 124, second dedicated module 122 and renderer 124 shown in the figure are only for the purpose of explanation and illustration. In other embodiments, the number and connection relationship of the rendering task management component 110, rendering node 120, rendering control module 112, first dedicated module 124, second dedicated module 122 and renderer 124 can be changed. Further, in other embodiments, the rendering task processing environment can also include other nodes / modules / devices. The scope of the present disclosure is not limited in this respect.

[0066] Example Process

[0067] Figure 2 FIG. 2 is a schematic block diagram of a signaling flow 200 for processing a rendering task according to some embodiments of the present disclosure. Figure 1 The signaling flow 200 involves the rendering task management component 110 and the rendering node 120-1.

[0068] It should be understood that although the signaling flow 200 is a reference Figure 1 The environment 100 of the present disclosure is discussed in detail, but as has been discussed in the present disclosure, the environment 100 is only an example environment of the present disclosure, and therefore the environment 100 should not be understood as limiting the implementation environment of the signaling flow 200. Further, although specific operations in the signaling flow 200 occur between specific network elements / modules, in other embodiments, the corresponding operations may also be implemented by other network elements / modules. The embodiments of the present disclosure are not limited in this respect.

[0069] In some embodiments, the first dedicated module 112 obtains (215) configuration information of the rendering node 120-1 for executing the rendering task based on the rendering task. Additionally, in some embodiments, obtaining the configuration information of the rendering node 120-1 may be triggered in response to receiving the rendering task. Figure 2 As shown, the rendering control module 112 of the rendering task management component 110 receives (205) the rendering task, and interacts (210) with the first dedicated module 114 on information related to the rendering task, so that the first dedicated module 114 can specifically call the rendering node 120-1. It should be understood that the present disclosure is not limited in terms of the source of the rendering task.

[0070] In some embodiments, the first dedicated module 112 generates (220) a rendering instruction for calling the rendering node 120-1 based on the acquired configuration information. Next, the first dedicated module 112 sends (225) the generated rendering instruction to the rendering node 120-1, so that the rendering node 120-1 performs the rendering task.

[0071] In some embodiments, the rendering instruction indicates the type of the rendering node 120-1. Alternatively or additionally, the rendering instruction indicates the storage path of the rendering node 120-1. Alternatively or additionally, the rendering instruction indicates at least one control parameter for controlling the execution of the rendering task, including but not limited to rendering resolution, rendering frame rate, loading of rendering data (rendering effects and / or levels), control of cameras, control of rendering frame time, etc.

[0072] Additionally, in some embodiments, the first dedicated module 112 receives a rendering response to the rendering instruction from the second dedicated module 122 - 1 of the rendering node 120 - 1 .

[0073] In some embodiments, rendering instructions and / or rendering responses are regulated by a predefined message protocol.

[0074] Additionally, in some embodiments, the rendering task management component 110 sends the to-be-rendered data to the second dedicated module 122 - 1 of the rendering node 120 - 1 via its first dedicated module 114 , and receives the corresponding rendering result from the second dedicated module 122 - 1 .

[0075] Additionally, in some embodiments, the first dedicated module 114 and the second dedicated module 122 - 1 communicate with each other based on an inter-process communication method.

[0076] In some embodiments, the rendering task management component 110 and the rendering node 120-1 are located in the same physical device / container. At this time, the rendering task management component 110 and the rendering node 120-1 can communicate in a shared memory manner, such as exchanging data to be rendered, rendering results, auxiliary data required to perform rendering tasks (such as image processing algorithm data, rendering special effects data, etc.) and / or other data. In this way, the data transmission speed is accelerated.

[0077] When the rendering node 120 - 1 receives the rendering instruction via its second dedicated module 122 - 1 , it will call the corresponding renderer 124 - 1 to perform ( 230 ) a specific rendering task.

[0078] In some embodiments, the second dedicated module 122 - 1 receives a message including a rendering instruction encoded based on a predefined message protocol, and decodes ( 235 ) the received message to obtain a corresponding rendering instruction.

[0079] In some embodiments, the second dedicated module 122 - 1 converts ( 240 ) the acquired rendering instruction into a rendering task execution instruction that drives the renderer 124 - 1 to perform the rendering task, and provides ( 245 ) the rendering task execution instruction to the renderer 124 - 1 .

[0080] In some embodiments, the second dedicated module 122-1 sends the to-be-rendered data received from the first dedicated module 114-1 to the renderer 124-1, and receives the rendering result from the renderer 124-1. Corresponding to the to-be-rendered data, the rendering result can also be sent (250) to the first dedicated module 114-1 via the second dedicated module 122-1.

[0081] In this way, the rendering task management component 110 and the rendering node 120 - 1 can interact with each other via the first dedicated module 114 - 1 and the second dedicated module 122 - 1 based on the configuration information of the rendering node 120 - 1 , thereby simplifying the calling process of the rendering node 120 - 1 .

[0082] In addition, it should be understood that the process 200 only shows the schematic interaction process between the rendering task management component 110 and the rendering node 120-1. In the actual rendering task processing scenario, the rendering task management component 110 can also interact with other rendering nodes (such as the rendering node 120-2) through the first dedicated module 114. Accordingly, the rendering node 120-1 can also be called by other first dedicated modules of other rendering task management components. For the purpose of brevity, similar processes will not be described again.

[0083] Example Method

[0084] Figure 3FIG. 3 is a flowchart showing a rendering task processing process 300 implemented according to some embodiments of the present disclosure. Figure 1 The process 300 may be implemented at the rendering task management component 110 .

[0085] In block 310 , the rendering task management component 110 obtains configuration information of the rendering node 120 for executing the rendering task based on the rendering task.

[0086] In block 320 , the rendering task management component 110 generates a rendering instruction for invoking the rendering node 120 based on the configuration information.

[0087] In block 330 , the rendering task management component 110 sends a rendering instruction to the rendering node 120 , so that the rendering node 120 executes the rendering task.

[0088] In some embodiments, the rendering instructions indicate the type of render node 120 .

[0089] Alternatively or additionally, in some embodiments, the rendering instruction indicates a storage path of the rendering node 120 .

[0090] Alternatively or additionally, in some embodiments, the rendering instruction indicates at least one control parameter for controlling the execution of the rendering task.

[0091] Alternatively or additionally, in some embodiments, process 300 further comprises communicating with rendering node 120 in a shared memory manner. In a specific embodiment, the communication involves data to be rendered. In another specific embodiment, the communication involves rendering results of the data to be rendered. In yet another specific embodiment, the communication involves auxiliary data required to perform the rendering task.

[0092] In some embodiments, the rendering task management component 110 generates rendering instructions and / or sends rendering instructions by calling an independent first dedicated module 114 .

[0093] In some embodiments, the rendering task management component 110 sends the to-be-rendered data to the rendering node 120 via the first dedicated module 114 , and receives the rendering result of the to-be-rendered data from the rendering node 120 .

[0094] In some embodiments, the first application specific module 114 is implemented as a computer plug-in.

[0095] In some embodiments, the rendering task is related to a virtual live broadcast or a virtual meeting.

[0096] Figure 4 FIG. 4 is a flowchart showing a rendering task processing process 400 implemented according to some embodiments of the present disclosure. Figure 1The process 400 may be implemented at a rendering node 120 .

[0097] In block 410 , the rendering node 120 receives a rendering instruction, where the rendering instruction is generated by the rendering task management component 110 based on configuration information of the rendering node 120 .

[0098] In block 420 , the rendering node 120 performs a rendering task based on the rendering instruction.

[0099] In some embodiments, the render node 120 determines from the rendering instruction the type of render node 120 to execute the rendering instruction.

[0100] Alternatively or additionally, in some embodiments, the rendering node 120 determines a storage path of the rendering node 120 from the rendering instruction to execute the rendering instruction.

[0101] Alternatively or additionally, in some embodiments, the rendering node 120 determines at least one control parameter for controlling the execution of the rendering task from the rendering instruction to execute the rendering instruction.

[0102] In some embodiments, the rendering node 120 communicates with the rendering task management component 110 in a shared memory manner. In a specific embodiment, the communication involves data to be rendered. In another specific embodiment, the communication involves rendering results of the data to be rendered. In yet another specific embodiment, the communication involves auxiliary data required to perform the rendering task.

[0103] In some embodiments, the rendering node 120 receives the rendering instruction by calling an independent second dedicated module 122 .

[0104] In some embodiments, the rendering node 120 receives the to-be-rendered data from the rendering task management component 110 via the second dedicated module 122 , and sends the rendering result of the to-be-rendered data to the rendering task management component 110 .

[0105] In some embodiments, the second dedicated module 122 converts the rendering instruction into a rendering task execution instruction for driving a renderer of the rendering node 120 to perform a rendering task; and provides the rendering task execution instruction to the renderer of the rendering node 120 .

[0106] In some embodiments, the second application specific module 122 is implemented as a computer plug-in.

[0107] In some embodiments, the rendering task is related to a virtual live broadcast or a virtual meeting.

[0108] Example devices and equipment

[0109] Figure 5A block diagram of a rendering task processing apparatus 500 according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in a rendering task management component 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0110] As shown in the figure, the apparatus 500 includes a configuration information acquisition module 510, which is configured to acquire configuration information of a rendering node for executing a rendering task based on a rendering task. The apparatus 500 also includes a rendering instruction generation module 520, which is configured to generate a rendering instruction for calling a rendering node based on the configuration information. The apparatus 500 further includes a rendering instruction sending module 530, which is configured to send a rendering instruction to a rendering node so that the rendering node executes a rendering task.

[0111] In some embodiments, the rendering instructions indicate the type of render node 120 .

[0112] Alternatively or additionally, in some embodiments, the rendering instruction indicates a storage path of the rendering node 120 .

[0113] Alternatively or additionally, in some embodiments, the rendering instruction indicates at least one control parameter for controlling the execution of the rendering task.

[0114] Alternatively or additionally, in some embodiments, the apparatus 500 further comprises a shared storage module configured to communicate with the rendering node 120 in a shared memory manner. In a specific embodiment, the communication involves data to be rendered. In another specific embodiment, the communication involves a rendering result of the data to be rendered. In yet another specific embodiment, the communication involves auxiliary data required to perform a rendering task.

[0115] In some embodiments, at least one of the rendering instruction generating module and the rendering task sending module is a dedicated module.

[0116] In some embodiments, the apparatus 500 sends the data to be rendered to the rendering node 120 via the first dedicated module 114 , and receives the rendering result of the data to be rendered from the rendering node 120 .

[0117] In some embodiments, the first application specific module 114 is implemented as a computer plug-in.

[0118] Figure 6 A block diagram of a rendering task processing apparatus 600 according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in a rendering node 120. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0119] As shown in the figure, the device 600 includes: a rendering instruction receiving module 610, which is configured to receive a rendering instruction, where the rendering instruction is generated by the rendering task management component based on the configuration information of the rendering node, and the device 600 also includes a rendering task execution module 620, which is configured to execute a rendering task based on the rendering instruction.

[0120] In some embodiments, the rendering task execution module 620 is further configured to determine the type of the rendering node 120 from the rendering instruction to execute the rendering instruction.

[0121] Alternatively or additionally, in some embodiments, the rendering task execution module 620 is further configured to: determine a storage path of the rendering node 120 from the rendering instruction to execute the rendering instruction.

[0122] Alternatively or additionally, in some embodiments, the rendering task execution module 620 is further configured to: determine at least one control parameter for controlling the execution of the rendering task from the rendering instruction to execute the rendering instruction.

[0123] In some embodiments, the device 600 communicates with the rendering task management component 110 in a shared memory manner. In a specific embodiment, the communication involves data to be rendered. In another specific embodiment, the communication involves the rendering result of the data to be rendered. In another specific embodiment, the communication involves auxiliary data required to perform the rendering task.

[0124] In some embodiments, the apparatus 600 receives the rendering instruction by calling an independent second dedicated module 122 .

[0125] In some embodiments, the apparatus 600 receives the data to be rendered from the rendering task management component 110 via the second dedicated module 122 , and sends the rendering result of the data to be rendered to the rendering task management component 110 .

[0126] In some embodiments, the second dedicated module 122 converts the rendering instruction into a rendering task execution instruction for driving a renderer of the rendering node 120 to execute a rendering task, and provides the rendering task execution instruction to the renderer of the rendering node 120 .

[0127] In some implementations, the rendering task is related to a virtual live broadcast or a virtual meeting.

[0128] In some embodiments, the second application specific module 122 is implemented as a computer plug-in.

[0129] Figure 7 1 shows a block diagram of a computing device / system 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 7The computing device / system 700 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 7 The computing device / system 700 shown may be used to implement Figure 1 The rendering task management component 11 or the rendering node 120 .

[0130] like Figure 7 As shown, computing device / system 700 is in the form of a general-purpose computing device. Components of computing device / system 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be an actual or virtual processor and is capable of performing various processes according to a program stored in memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to increase the parallel processing capabilities of computing device / system 700.

[0131] The computing device / system 700 typically includes a plurality of computer storage media. Such media may be any available media accessible to the computing device / system 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 730 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the computing device / system 700.

[0132] The computing device / system 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 7 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0133] The communication unit 740 enables communication with other computing devices via a communication medium. Additionally, the functions of the components of the computing device / system 700 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device / system 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0134] Input device 750 may be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 may be one or more output devices, such as a display, speaker, printer, etc. Computing device / system 700 may also communicate with one or more external devices (not shown) as needed, such as storage devices, display devices, etc., with one or more devices that allow a user to interact with computing device / system 700, or with any device that allows computing device / system 700 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.) through communication unit 740. Such communication may be performed via an input / output (I / O) interface (not shown).

[0135] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions or a computer program are stored, wherein the computer-executable instructions or the computer program are executed by a processor to implement the method described above.

[0136] According to an exemplary implementation of the present disclosure, a computer program product is also provided. The computer program product is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0137] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0138] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0139] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0140] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0141] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A rendering task processing method, include: Based on the rendering task, obtaining configuration information of a rendering node for executing the rendering task, the configuration information including startup configuration parameters for starting the rendering node; Based on the configuration information, generating a rendering instruction for calling the rendering node; as well as Sending the rendering instruction to the rendering node so that the rendering node performs the rendering task; wherein at least one of generating the rendering instruction and sending the rendering instruction is implemented by calling an independent first dedicated module; The rendering instruction is transmitted between the first dedicated module and the second dedicated module of the rendering node through a message protocol, and a message corresponding to the corresponding rendering instruction is customized through the message protocol.

2. The method according to claim 1, wherein the rendering instruction indicates at least one of the following: The type of the render node, the storage path of the rendering node, At least one control parameter for controlling the execution of the rendering task.

3. The method according to claim 1, further comprising: include: Communicating with the rendering node in a shared memory manner, the communication involving at least one of the following: Data to be rendered, The rendering result of the data to be rendered, Auxiliary data required to perform the rendering task.

4. The method according to claim 1, further comprising: include: Sending the data to be rendered to the rendering node via the first dedicated module; as well as A rendering result of the data to be rendered is received from the rendering node. The method of claim 1 , wherein the first application specific module is implemented as a computer plug-in. The method according to claim 1 , wherein the rendering task is related to a virtual live broadcast or a virtual meeting.

7. A rendering task processing method, include: receiving a rendering instruction, wherein the rendering instruction is generated by a rendering task management component based on configuration information of a rendering node, wherein the configuration information includes a startup configuration parameter for starting the rendering node; as well as Executing the rendering task based on the rendering instruction; Wherein receiving the rendering instruction is implemented by calling an independent second dedicated module; The rendering instruction is transmitted between the second dedicated module and the first dedicated module of the rendering task management component through a message protocol, and a message corresponding to the corresponding rendering instruction is customized through the message protocol.

8. The method according to claim 7, wherein the rendering task is performed based on the rendering instruction. include: Determining at least one of the following from the rendering instruction for the execution of the rendering instruction: The type of the render node, the storage path of the rendering node, At least one control parameter for controlling the execution of the rendering task.

9. The method according to claim 7, further comprising: include: Communicating with the rendering task management component in a shared memory manner, wherein the communication involves at least one of the following: Data to be rendered, The rendering result of the data to be rendered, Auxiliary data required to perform the rendering task.

10. The method according to claim 7, further comprising: include: Receiving data to be rendered from the rendering task management component via the second dedicated module; as well as Sending the rendering result of the data to be rendered to the rendering task management component.

11. The method according to claim 7, further comprising: include: The second dedicated module converts the rendering instruction into a rendering task execution instruction for driving a renderer of the rendering node to execute the rendering task; as well as The rendering task execution instruction is provided to the renderer of the rendering node.

12. The method of claim 7, wherein the second application specific module is implemented as a computer plug-in.

13. The method according to claim 7, wherein the rendering task is related to a virtual live broadcast or a virtual meeting.

14. A rendering task management component, include: A configuration information acquisition module is configured to acquire configuration information of a rendering node used to execute the rendering task based on the rendering task, wherein the configuration information includes startup configuration parameters used to start the rendering node; A rendering instruction generation module, configured to generate a rendering instruction for calling the rendering node based on the configuration information; as well as A rendering instruction sending module, configured to send the rendering instruction to the rendering node, so that the rendering node performs the rendering task; wherein at least one of the rendering instruction generating module and the rendering instruction sending module is a first dedicated module; The rendering instruction is transmitted between the first dedicated module and the second dedicated module of the rendering node through a message protocol, and a message corresponding to the corresponding rendering instruction is customized through the message protocol.

15. A rendering node, include: A rendering instruction receiving module, configured to receive a rendering instruction, wherein the rendering instruction is generated by a rendering task management component based on configuration information of the rendering node, wherein the configuration information includes a startup configuration parameter for starting the rendering node; as well as A rendering task execution module, configured to execute the rendering task based on the rendering instruction; wherein the rendering node receives the rendering instruction by calling an independent second dedicated module; The rendering instruction is transmitted between the second dedicated module and the first dedicated module of the rendering task management component through a message protocol, and a message corresponding to the corresponding rendering instruction is customized through the message protocol.

16. An electronic device, include: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 13 when executed by the at least one processing unit.

17. A computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method according to any one of claims 1 to 13.