A kind of cloud rendering systemTechnical field
The present invention relates to cloud to render field, particularly a kind of cloud rendering system.
Background technology
The pattern that 3D is rendered online is similar with the cloud computing of routine, i.e., is placed on 3D programs in long-range server and renders,User terminal accesses resource by Web softwares or client end AP P by high-speed Internet access, and operational order is from user terminalSend, server rendering task according to corresponding to performing instruction, and rendering result picture is then sent back in user terminal in real timeShown.3D Renderings have been widely used the industries such as medical treatment, game, video display.
However, the server cluster for being equipped with a large amount of GPU resources is mainly integrated into by the current technologies such as farm that renderFor set of system, cloud is externally provided and renders service.System handles the render request that each user submits, institute according to operating typeThere are users to share rendering resources, this mode causes system can not isolate tenant and quickly generates the wash with watercolours based on some tenantOperating environment is contaminated, all tenant's sharing service platforms, causes to be lined up or seize rendering resources.
The content of the invention
The goal of the invention of the present invention is the upper deficiency for overcoming prior art, there is provided one kind takes between can realizing different tenantsBusiness isolation, avoid being lined up or seize the cloud rendering system of rendering resources.
To achieve these goals, the technical solution adopted by the present invention is:
A kind of cloud rendering system, including infrastructure management platform, for managing cloud rendering contexts;The infrastructure management is put downPlatform also includes GPU resource management module, communication module, memory module, basic resource management module;
The GPU resource management module is used to virtualize physics GPU resource, and virtual resource is divided into multiple logic units,For the logic unit corresponding to the corresponding tenant access of tenant's operation management platform;The communication module is used to isolate notWith the network connection of tenant;The memory module renders material for storage, is accessed for tenant.
Further, the cloud rendering system also includes tenant's operation management platform, the cloud is rendered for tenant isSystem environment is managed;Tenant's operation management platform also include tenant environment initialization module, tenant environment management module,User management module, cloud resource management module;
Further, it is described enter Mobile state adjustment include, when rendering task is reduced, reduction in real time renders the virtual machine number that usesAmount, when rendering task increase, increase in real time renders the virtual machine quantity used.
Further, tenant's operation management platform also includes traffic scheduling module, for when the cloud rendering systemWhen receiving the render request of user, rendering resources are distributed to the user.
Further, the rendering resources include rendering the virtual machine used and render service routine.
Further, tenant's operation management platform also includes masterplate management module, for storing cloud rendering contexts mouldPlate, the keeper of the tenant cloud rendering contexts according to corresponding to the cloud rendering contexts template establishment.
Further, tenant's operation management platform also includes interface module, will be described outer for receiving external programPortion's Program transformation is the program that cloud rendering system can perform.
Further, the external program includes at least one rendering engine program.
By adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1st, the present invention is isolated the network connection of different tenants by using communication module so that each tenant's independenceRendering in cloud for oneself works, the privately owned O&M and business for rendering cloud environment failure and not interfering with other tenants of single tenant,Made with this mutually isolated between each tenant, solve the problems, such as to interfere or preempting resources.
2nd, the present invention can render service environment by importing template when tenant creates rendering contexts come rapid deployment,Avoid and manually dispose time loss caused by maloperation, while also save human cost;This for problem repetition,Defect etc. is repaired all to be very beneficial.
3rd, the present invention realizes the support to a variety of rendering engines, Zu Huke from bottom offer by using interface moduleTo realize that 3D renders service routine with the rendering engine for being accustomed to selecting arbitrarily to like is programmed according to business demand.System is to 3D wash with watercoloursContaminate service routine and programmable A PI is provided, the program is considered as plug-in unit, user can be by calling system API, based on specific transactionsTo realize that 3D renders service routine, multiple application fields are fitted to so as to unitized.
Brief description of the drawings
It is the infrastructure management console module block diagram of the present invention shown in Fig. 1.
It is tenant's operation management platform module frame chart of the present invention shown in Fig. 2.
It is the cloud rendering system Organization Chart of the present invention shown in Fig. 3.
It is that tenant in the embodiment of the present invention creates and privately owned renders cloud environment flow chart shown in Fig. 4.
It is that tenant in the embodiment of the present invention renders service arrangement flow chart shown in Fig. 5.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, notFor limiting the present invention.
It is the infrastructure management console module block diagram of the present invention shown in Fig. 1, including infrastructure management platform, for managingManage cloud rendering contexts;The infrastructure management platform also includes GPU resource management module, communication module, memory module, basisResource management module;
The GPU resource management module is used to virtualize physics GPU resource, and virtual resource is divided into multiple logic units,For the logic unit corresponding to the corresponding tenant access of tenant's operation management platform;The communication module is used to isolate notWith the network connection of tenant;The memory module renders material for storage, is accessed for tenant.
Infrastructure management platform belongs to the underlying services platform of the cloud rendering system of the present invention, and net is provided for upper platformThe infrastructure services such as network, GPU resource, storage.The communication module of the present invention is used to provide Internet resources for each tenant, and it will be by that will takeThe physical network virtualization being engaged in device cluster so that belong between all virtual machines of same tenant, virtual network device and interconnectIntercommunication, while isolated the network of different tenants in network level, avoid network of the network data between different tenants from settingStandby middle propagation, has ensured the data safety of each tenant's private privileges, while it also avoid being likely to occur between each tenant dryDisturb, preempting resources the problems such as, improve the performance of cloud rendering system.
If multiple tenants ask to create infrastructure service in the same time, infrastructure management platform of the invention was creatingThe equipment of different tenants is isolated by network virtualization in journey so that after the completion of establishment, different tenants independently gathers aroundThere are the rendering contexts of oneself.
In a detailed embodiment, referring to Fig. 2, the cloud rendering system also includes tenant's operation management platform, usesThe cloud rendering system environment is managed in tenant;Tenant's operation management platform also includes tenant environment initialization mouldBlock, tenant environment management module, user management module, cloud resource management module;
The tenant environment initialization module is used for according to predetermined template, and cloud rendering contexts are created for tenant;Tenant's ringBorder management platform is used to be managed the cloud rendering contexts for the keeper of tenant;The user management module is used for rentingThe user at family is managed;The cloud resource management module is used for when being rendered, according to current rendering resources utilization powerRendering resources are entered with Mobile state adjustment.
The tenant environment initialization module is used for according to predetermined template, and cloud rendering contexts are created for tenant;The rentEnvironmental management platform in family is used to be managed the cloud rendering contexts for the keeper of tenant;The user management module is used forThe user of tenant is managed;The cloud resource management module is used for when being rendered, and is utilized according to current rendering resourcesSituation enters Mobile state adjustment to rendering resources.
The upper platform of Facilities Management Platform based on tenant's operation management platform, tenant environment initialization module is according to pre-Fixed template automation batch deployment tenant's basic environment, during deployment, implements to call in infrastructure management platformService Source carries out building for tenant environment.
It is described enter Mobile state adjustment include, when rendering task is reduced, reduction in real time renders the virtual machine quantity that uses, whenDuring rendering task increase, increase in real time renders the virtual machine quantity used.
Due to tenant enter to rack render when, it is continually changing that it, which renders demand, therefore when rendering demand difference, itsUtilization rate to rendering resources is also continually changing, it is therefore desirable to dynamically rendering resources is distributed to tenant, demand is less, wash with watercoloursWhen dye requires relatively low, the quantity for rendering the virtual machine used is rationally reduced, is reduced on the basis of not influenceing system and rendering performanceThe wasting of resources, and when demand is more, rendering requirements are higher, rationally increase renders the quantity of the virtual machine used, improves systemRender performance.
Tenant's operation management platform also includes traffic scheduling module, for receiving user when the cloud rendering systemRender request when, to the user distribute rendering resources.
Specifically, traffic scheduling module, which is responsible for specifically rendering user demand, is converted into request to basic resource, willIt is assigned to corresponding to the request of user in specific service routine, realizes the scheduling to rendering business.
The rendering resources include rendering the virtual machine used and render service routine.
Tenant's operation management platform also includes masterplate management module, for storing cloud rendering contexts template, the rentThe keeper at family cloud rendering contexts according to corresponding to the cloud rendering contexts template establishment.
The present invention supports using template render the initial configuration of business, it is therefore desirable to template is managed,The configuration template that conventional business model is previously stored with masterplate management module is carried out directly using progress service deployment for user;For some to rendering the user required, it can custom-configure according to the business demand of itself and save as template, supplyIt is subsequently used, meanwhile, template management module of the invention is supported to import and export function to template, facilitates user to carry outOperation.
Tenant's operation management platform also includes interface module, and for receiving external program, the external program is turnedIt is changed to the executable program of cloud rendering system.
The external program includes at least one rendering engine program.
The interface module of the present invention can be used as and receive outside
Field is rendered in cloud, in order to be fitted to each application field by rendering capability is unitized, it is necessary to systematic tenant's baseCarry out personalized customization in its business.In order to which the individual business of tenant is run in system, then the interface module is needed to beThe individual business provides adaption function, that is, cloud is rendered by the business procedure plug-in unit, by providing a series of programmable systemsUnite API(Application Programming Interface, application programming interface)To make the plug-in unit perfect suitableIt is fitted on cloud rendering system.
In a detailed embodiment, the program is encoded by tenant developer, is provided by calling systemAPI, original rendering program is fitted to and renders cloud, so as to the business of meet demand.
User can customize the rendering engine of use, support the 3D of plug-in type to render service journey by calling system APISequence, each professional domain is generalized to so as to render.The cloud rendering system of the present invention is provided to a variety of rendering engines from bottomSupport;System renders service routine for outside 3D and provides programmable A PI, and by the view plug-ins, so as to reach system wash with watercoloursThe generalization of dye ability, tenant can realize 3D wash with watercolours according to the rendering engine that business demand and programming custom selection are arbitrarily likedContaminate service routine;Cloud is rendered tenant is privately owned simultaneously, and system of the invention also provides deployment to a variety of rendering engines, adaptationAnd compatibility is safeguarded.
Embodiment 1:
Present embodiment illustrates the Organization Chart of present system, specifically, as shown in Figure 3:
In IaaS(Infrastructure as a Service infrastructure services)Aspect mainly includes with lower module:
GPU resource management:Mainly the physics GPU resource on server is virtualized by the way of virtual machine, so as to be divided intoMultiple logical services units are supplied to the PaaS on upper strata to access.
Network service:Business is rendered for figure, and express network is provided.Its realization principle is by the thing in server clusterNetwork virtualization is managed, ensures and is interconnected between all virtual machines for belonging to unified tenant, virtual network device;Meanwhile isolateNetwork service between different tenants, ensure the data safety of tenant's private privileges.
Object stores:Render service routine online for 3D and the storage container for rendering material resource is provided;It is online in order to meetThe low time delay rendered, object storage must are fulfilled for high I/O access efficiencies, and the network low latency of access tenant environment.
Infrastructure resources pond management platform:Demand of the PaaS level services for rendering resources is converted into voidThe concrete operations of plan machine, while be virtual machine configuration network service and object storage etc.;In addition, it is also provided pair for upper strata PaaSThe api interface of IaaS aspects.
In PaaS(Platform-as-a-Service platforms service)Aspect mainly includes with lower module:
Tenant environment management module:Belong to system-level module, provide export-oriented operation platform API to create, delete tenant's privateThere are cloud rendering contexts.Built-in function mainly includes:Maintain the mapping relations of tenant and cloud environment infrastructure inventory;According to moneySource inventory automation batch deployment tenant's basic environment(Basic service module is only included, is not related to deployment 3D and renders virtual machine).It realizes that master is the API by calling IaaS layer infrastructure resources pond management platform.
The privately owned operation management platform of tenant:Belong to the privately owned module rendered inside cloud of tenant, mainly to the system pipes of tenantReason person provides management one the long-range privately owned management for rendering cloud, deployment, the platform of O&M.On the platform, the keeper of tenantIt can be uploaded customized 3D rendering programs according to specific business come layout business configuration template, refer to from the angle of system administrationFixed each Service Component boot sequence;The resource service condition rendered in cloud, institute can be monitored in real time from the angle of system O&MThere are the information such as online user's situation.
User management:Safeguard the information of terminal user of tenant, including the operation such as the establishment of user, cancellation, certification.
Cloud resource management:The real-time end-user access amount of tenant is rendered into service for 3D to change the demand of resourceFor the privately owned management rendered in cloud to life cycle of tenant;Including when requirements for access is low, less figure renders virtually in real timeMachine quantity, when requirements for access increases suddenly, elasticity increase figure renders virtual machine quantity.In addition, for some tenant for totalityResource will also be limited using maximum quantity by tenant environment management module.
Traffic scheduling:It is responsible for asking the user of client, is assigned on some specific 3D service routine and realizes oneService to one;On the other hand demand will specifically be rendered by, which being responsible for, is converted into specific resource request to cloud resource management module.
Communication link management:Message is managed between each functional module reliable communication support is provided;In operation layer,Service is rendered for client and 3D provide be based on various protocols(TCP, UDP and Websocket)Network communication mode.
Configuration template management:The module provides the management to configuration template, and inside modules maintain conventional business modelConfiguration template, user can be directly using these keys of template one deployment business;For particular service, user can custom-configureFlow is simultaneously saved as template;All templates are supported to import and export.
API is managed:Version management and maintenance that 3D renders the API that cloud externally provides are provided.
Rendering engine management:Cloud is rendered tenant is privately owned, there is provided deployment, adaptation to a variety of rendering engines and simultaneousCapacitive is safeguarded.
3D rendering programs:The program is encoded by tenant developer, the API provided by calling system, will be originalRendering program, which is fitted to, renders cloud, so as to the business of meet demand.
Operation platform is used to provide the service such as tenant's information management, workform management, fee administration, is that whole 3D is rendered onlineThe external common platform of cloud.
For above-mentioned framework, its service arrangement flow chart is present embodiments provided, specifically, Fig. 4 show tenant's establishmentPrivately owned to render cloud environment flow chart, specifically, 3D rendering systems provide the support to multi-tenant, tenant can pass through operation platformCreate the privately owned of oneself and render cloud environment;After establishment, tenant possesses the service operation environment of oneself, and resource is only between each tenantAccount for, be mutually isolated, not interfereing with each other.
As shown in figure 4, after tenant #1 is registered and supplemented with money on operation platform,(1)Can creates on operation platformIt is privately owned to render cloud environment,(2)Because the operation is time-consuming too long, operation platform can return to carrying for " taking orders " after receiving the orderShow,(3)And to create, tenant is privately owned to render cloud in the api interface of Background scheduling tenant environment management module.(4)Tenant environment pipeReason module can firstly generate the infrastructure resources inventory of the tenant, finish it is basic write database operation after, according to resourceInventory detail is converted into the API request orderly to IaaS layers by dependence,(5)And it is issued to the management of infrastructure resources pondizationPlatform.(6)IaaS layers can call calculating, network, memory module to create these basic resources respectively(7)And returning result, shouldBasic resource mainly includes the operations such as the privately owned operation management platform of the tenant, virtual network device, connection Internet.Work as rentAfter family Environment Management module receives success message,(8)The URL of the newly-generated privately owned operation management platform of tenant and operation are tiedFruit returns to operation platform in the lump;(9)Operation platform updates the data storehouse, shows URL and returns to the privately owned cloud resource that renders of user canWith.
In addition, the privately owned flow for rendering cloud environment of another tenant #2 establishments is also basically identical with tenant #1;UnlikeIn infrastructure resources pond management platform side, its operate be it is newly-built a set of with the completely isolated infrastructure of tenant before, itsIsolated using the communication module of invention in network side.
Also need to carry out the preparation for rendering material etc. before rendering service deployment and completing, be one tool of the present invention shown in Fig. 5Tenant in body embodiment renders Service Source and prepares flow chart.
Specifically, tenant by oneself render service deployment to will must render before privately owned rendering contexts material database,3D rendering programs and information of terminal user based on business transformation are uploaded in cloud by operation management platform.Tenant firstSystem manager signs in the privately owned operation management platform of tenant by the URL clicked in operation platform, then(1)Initiate to upload wash with watercoloursContaminate the operation of material;(2)These operations can be converted into the order of object storage by the privately owned operation management platform of tenant;(3)It is rightAs storing the path defined according to tenant, material preservation will be rendered(4)And return;(5)Tenant finally views operating result.WithPreservation renders material difference,(6)-(11)The 3D rendering programs and user data information of tenant is all saved in the privately owned fortune of tenant temporarilyTie up management platform.
Afterwards, tenant disposes to rendering service, specifically, referring to Fig. 5, tenant passes through its privately owned operation management platformTemplate Manager can be carried out and enable template,
(1), tenant keeper create or import first on its privately owned operation management platform and be adapted to its specific transactions and match somebody with somebodyPut template;
(2), above-mentioned establishment or import operation be sent to template management module;
(3)Template content corresponding to template management module preservation;
(4)Template management module returns to calling layer result;
(5)User obtains operating successful result by operation management platform;
(6)After template is adapted to successfully, user starts the template by operation management platform;
(7)The order that template enables is likewise transmitted to configuration template management module and handled;
(8)Template Information carries out template parsing after being read out by template management module from database, and all configurations are convertedFor the deployment operation to specific a certain functional module;
(9)Because deployment process is longer, operation platform sends " taking orders " to user first.
In follow-up concrete configuration step(10)-(21)In, dependence that template management module goes out according to mould information analysisEach role module is disposed one by one, such as disposes rendering engine, deployment user data, deployment rendering program, deployment traffic scheduling clothesBusiness, deployment cloud resource management service, deployable communication link and communication network;
Complete enough, to pass through step in deployment(22)-(23)Return and complete order, disposed when all modules and complete deployment rear pattern plate pipeReason module, which returns to state and updated, arrives operation management platform, and renewal status command is issued user by operation management platform again, untilUser views the task status after renewal.
In the application of the present invention, the present invention uses GPU vitualization technology, by polylith(1+N)GPU operational capabilityRecycling, the real-time 3 D romance request submitted according to client carry out 3D at rendering server end and rendered on demand, and by real-time 3DRendering result is sent to client screen in a manner of video flowing, and the keyboard to client, mouse, game console equipment are carried outOperation mapping, makes the 3D rendering objects of server end can be with the operational requirements of real-time response client, so as to reach as in clientThe effect for locally rendering, operating.
Also having the following advantages that in the application using the present invention program in addition:
1st, GPU operational capabilities recycling, elasticity distribution, is large-scale 3D softwares on demand(CAE instruments, game)The basic bar of SAASizationPart;
2nd, client GPU resource is not consumed, can run large-scale 3D applications in any client;
3rd, cross-platform ability is strong, and lower deployment cost is low, and existing GPU vitualization technology only supports NVIDIA professional video card price to hold highIt is expensive, and DirectX 3D and Windows7 virtual machines are only supported, the present invention also supports NVIDIA's using GPU virtual technologiesCommon game, windows and Linux virtual machines are supported, while support OpenGL, DirectX 3D to bring flexibly across flatPlatform ability;
4th, client need not download any 3D models can and directly be directly displayed in browser or APP, manipulate 3D contents.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present inventionAll any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.