CN110443876A - 3D rendering rendering method and device - Google Patents
3D rendering rendering method and device Download PDFInfo
- Publication number
- CN110443876A CN110443876A CN201910704576.9A CN201910704576A CN110443876A CN 110443876 A CN110443876 A CN 110443876A CN 201910704576 A CN201910704576 A CN 201910704576A CN 110443876 A CN110443876 A CN 110443876A
- Authority
- CN
- China
- Prior art keywords
- rendering
- application software
- dynamic link
- file
- link library
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009877 rendering Methods 0.000 title claims abstract description 132
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000001514 detection method Methods 0.000 claims description 16
- 238000007689 inspection Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides a kind of 3D rendering rendering method and device, applied to virtual machine, be provided in advance in the virtual machine for executing the default 3D dynamic link library and include the white list with the application software for executing 3D rendering rendering permission by the default 3D dynamic link library that 3D rendering renders;The described method includes: detecting the starting situation of application software on the virtual machine;When having detected application software initiated, detects and whether recorded the application software in the white list;If detecting, record has the application software in the white list, controls the dynamic link library file that the application software loads in the default 3D dynamic link library and carries out 3D rendering rendering.In this way, can realize 3D rendering rendering on a virtual machine in the video card for not depending on host.
Description
Technical field
This application involves computer data processing technology fields, in particular to a kind of 3D rendering rendering method and dress
It sets.
Background technique
With the development of internet technology, virtual desktop (Desktop Virtualization) technology application increasingly
Extensively.It can be by operating system and application software configuration host (e.g., server or number beyond the clouds in virtual desktop technology
According to center) virtual machine in, interactive desktop is virtualized, user can remotely be controlled by client and virtual desktop,
Make user when accessing virtual desktop as the desktop of access native operating sys-tern.
Common host does not configure special image processor (Graphics Processing Unit, abbreviation
GPU), but using the virtual video card of central processing unit (Central Processing Unit, CPU) virtualization, driven by QXL
It is dynamic that the order of operating system figure engine is converted to QXL order, QXL order is sent to client after optimized processing and is carried out
Decoding display.But 3D characteristic is not supported in QXL driving, is only capable of completing 2D rendering in this way, is unable to satisfy some needs
The user demand of 3D software is used in virtual desktop environment.
Summary of the invention
The application provides a kind of 3D rendering rendering method and device, and 3D rendering rendering is realized in virtual desktop scene.
In a first aspect, the application provides a kind of 3D rendering rendering method, it is applied to virtual machine, is pre-configured in the virtual machine
There are the default 3D dynamic link library and white list for executing 3D rendering rendering, is recorded described in use in need in the white list
Default 3D dynamic link library carries out the application software of 3D rendering rendering;The described method includes:
Detect the starting situation of application software on the virtual machine;
When having detected application software initiated, detects and whether recorded the application software in the white list;
If detecting, record has the application software in the white list, and it is dynamic to control the application software load default 3D
Dynamic link library file in state chained library carries out 3D rendering rendering.
Optionally, in the above-mentioned methods, if described detect that record has the application software in the white list, answers this
The dynamic link library file in the default 3D dynamic link library, which is loaded, with software realizes 3D rendering rendering, comprising:
If detecting, record has the application software in the white list, executes under catalogue where program in the application software
A symbolic link file is created, the symbolic link file is directed toward the default 3D dynamic link library, makes the application software root
The dynamic link library file in the default 3D dynamic link library is loaded according to the symbolic link file.
Optionally, in the above-mentioned methods, the symbolic link file is hidden file.
Optionally, in the above-mentioned methods, the virtual machine also prestores a redirection dynamic link file;If the detection
Into the white list, record has the application software, then the application software is made to load the dynamic in the default 3D dynamic link library
It links library file and realizes 3D rendering rendering, comprising:
If detecting, record has the application software in the white list, executes the redirection dynamic link file, will
The dynamic link library file load path of the application software is redirected to the default 3D dynamic link library, makes the application software
The dynamic link library file loaded in the default 3D dynamic link library carries out 3D rendering rendering.
Optionally, in the above-mentioned methods, the virtual machine be also configured with to application software initiated relevant register list item,
Record has the store path for redirecting dynamic link file in the register list item;If described detect the white list
The step of middle record has the application software, executes the redirection dynamic link file, comprising:
If detecting, record has the application software in the white list, according to the storage recorded in the register list item
Path executes the redirection dynamic link file.
Second aspect, the application provide a kind of 3D rendering rendering device, are applied to virtual machine, are pre-configured in the virtual machine
There are the default 3D dynamic link library and white list for executing 3D rendering rendering, is recorded described in use in need in the white list
Default 3D dynamic link library carries out the application software of 3D rendering rendering;Described device includes:
First detection module, for detecting the starting situation of application software on the virtual machine;
Whether the second detection module has recorded for when having detected application software initiated, detecting in the white list
The application software;
Rendering module controls the application software and adds if record has the application software in the white list for detecting
The dynamic link library file carried in the default 3D dynamic link library carries out 3D rendering rendering.
Optionally, in above-mentioned apparatus, the rendering module, which is used for the record in detecting the white list, the application
When software, a symbolic link file is created in the case where the application software executes catalogue where program, the symbolic link file is directed toward
The default 3D dynamic link library makes the application software load the default 3D dynamic link according to the symbolic link file
Dynamic link library file in library.
Optionally, in above-mentioned apparatus, the symbolic link file is hidden file.
Optionally, in above-mentioned apparatus, the virtual machine also prestores a redirection dynamic link file;The rendering mould
Block is used to record in detecting the white list when having the application software, the redirection dynamic link file is executed, by institute
The dynamic link library file load path for stating application software is redirected to the default 3D dynamic link library, adds the application software
The dynamic link library file carried in the default 3D dynamic link library carries out 3D rendering rendering.
Optionally, in above-mentioned apparatus, the virtual machine be also configured with to application software initiated relevant register list item,
Record has the store path for redirecting dynamic link file in the register list item;The rendering module is detecting
When stating in white list record has the application software, the redirection is executed according to the store path recorded in the register list item
Dynamic link file.
In terms of existing technologies, the application at least has the advantages that
A kind of 3D rendering rendering method provided by the present application and device, by being pre-configured in virtual machine for carrying out 3D
The default 3D dynamic link library and white list of image rendering, detect white list in record it is application software initiated when, control is answered
The dynamic link library file in default 3D dynamic link library, which is loaded, with software carries out 3D rendering rendering.In this way, can not depend on
In the case that host has true video card, 3D rendering rendering is realized on a virtual machine.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram of virtual desktop framework;
Fig. 2 is the flow diagram of 3D rendering rendering method provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of host provided by the embodiments of the present application;
Fig. 4 is the functional block diagram of 3D rendering rendering device provided by the embodiments of the present application.
Icon: 100- host;110-3D image rendering device;111- first detection module;The second detection module of 112-;
113- rendering module;120- machine readable storage medium;130- processor;200- user terminal;300- virtual machine;400- client
End.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common
Technical staff's every other embodiment obtained without making creative work belongs to the model of the application protection
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Fig. 1 is please referred to, the realization framework of virtual desktop shown in FIG. 1 includes host 100 and can be logical with host 100
The user terminal 200 of letter.Host 100 can be the autonomous device with data-handling capacity, or by multiple equipment
The server cluster of composition or data center.User terminal 200 can be to be able to achieve human-computer interaction and the electricity with communication capacity
Sub- equipment, such as smart phone, PC (Personal Computer, PC), tablet computer, personal digital assistant
It is (Personal Digital Assistant, PDA), mobile internet surfing equipment (Mobile Internet Device, MID), thin
Terminal (Thin Client) etc..
Host 100 can provide virtual desktop serve for user terminal 200, for example, can be configured on host 100
One or more virtual machines (Virtual Machine, abbreviation VM) 300 run operating system or application software by virtual machine 300
To provide virtual desktop.User can be by configuring the client (Client) 400 on user terminal 200 and virtual machine 300
Connection is established, remote control is carried out to virtual desktop, makes user when accessing virtual desktop as access native operating sys-tern mentions
The desktop of confession is the same.
Referring to figure 2., Fig. 2 is a kind of 3D rendering rendering applied on virtual machine 300 shown in Fig. 1 provided in this embodiment
The flow diagram of method in the present embodiment can be configured with default 3D dynamic link library on virtual machine 300, the default 3D
May include in dynamic link library for carry out multiple dynamic link libraries of 3D rendering rendering (Dynamic Link Library,
DLL) file loads these dynamic link library files, can make the processing mode of CPU simulation 3D accelerator card (Direct3D, D3D)
Carry out 3D rendering rendering.Each step of this method is described in detail below.
Step S110 detects the starting situation of application software on virtual machine 300.
In the present embodiment, program can be detected on virtual machine 300 configured with white list, which detects program can be with
Software on real-time detection virtual machine 300 starts situation.
Step S120 is detected when having detected application software initiated and whether has been recorded this in the white list using soft
Part.
In the present embodiment, it is also configured with a white list on virtual machine 300, is recorded in the white list in need using preparatory
The default 3D dynamic link library of configuration carries out the application software of 3D rendering rendering.White list detects program and is detecting using soft
When part starts, can detect whether the application software is to record application software in institute's white list.
Step S130, if detecting, record has the application software in the white list, controls application software load institute
The dynamic link library file stated in default 3D dynamic link library carries out 3D rendering rendering.
In the present embodiment, if detecting, the application software being currently up has record in white list, controls the application
Software loads the dynamic link library file in default 3D dynamic link library, so that the application software be made to use these dynamic links
Library file executes 3D rendering rendering.
Optionally, in one example, virtual machine 300 can record in detecting white list the application being currently up
When software, a symbolic link is created under catalogue where executing program (file of such as file extent entitled " .exe ") in the application software
File is connect, which is directed toward the default 3D dynamic link library.
For symbolic link file, operating system, can be automatic when carrying out read or write to symbolic link file
Ground is converted to the operation carried out to the symbolic link file to operate to source file pointed by the symbolic link file.
Therefore in the present embodiment, the symbol for presetting 3D dynamic link library is directed toward in creation under catalogue where the execution program in application software
After threaded file, the application software in the process of implementation, after formerly traversing the dynamic link library file under itself store path,
The dynamic link library file in default 3D dynamic link library can be loaded according to symbolic link file, to realize that 3D rendering renders.
Further, in the present embodiment, which can be configured as hiding file for file attribute,
In this way, the symbolic link file can be prevented by user misoperation.
Optionally, in another example, since the dynamic link library load path of some application software is can not to change
, application software possibly can not be controlled by way of symbolic link file loads default 3D dynamic link library, therefore at another
In example, virtual machine 300 can also prestore a redirection dynamic link file, and the redirection dynamic link file is virtual
After machine load, thus it is possible to vary the load path of application software dynamic link library.
In step s 130, if detecting, record has the application software being currently up in white list, and it is dynamic to execute redirection
The dynamic link library file load path of application software is redirected to default 3D dynamic link library, answers this by state threaded file
The dynamic link library file in the default 3D dynamic link library, which is loaded, with software carries out 3D rendering rendering.In this way, in this implementation
In example, hook (Hook) function is realized by loading redirection dynamic link file when application software initiated, changes application
The dynamic link library file load path of software.
Further, in the present embodiment, can also have in the register list of virtual machine 300 to it is application software initiated related
Register list item, record has the store path for redirecting dynamic link file in the register list item.In step s 130, if
It detects that record has the application software in white list, is then reset according to the store path execution recorded in the register list item
To dynamic link file, so that the dynamic link library file load path of application software is redirected to default 3D dynamic link
Library.
Scheme provided in this embodiment is understood for convenience of skilled person, explains the present embodiment below by an example
The scheme of offer.
1. the application software for carrying out 3D rendering rendering will be needed to be added in white list, which can be configured at void
The register list of quasi- machine 300, position of the white list in register list are as follows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\symlink\
AppDefaults,
Wherein, title and file extension (i.e. " .exe ") that application software executes program are recorded in white list.
Include 2. be pre-configured with default 3D dynamic link library in virtual machine 300, in the default 3D dynamic link library by
Compiled out under wine and Mesa environment for carrying out the dynamic link library file of 3D figure rendering, as d3d8.dll,
d3d9.dll、d3d10.dll、d3d10_1、d3d10core.dll、d3d11.dll、ddraw.dll、dxgi.dll、
The files such as opengl32.dll.In the present embodiment, it also needs to move default 3D dynamic link library for certain application software
State links the modification configuration that library file carries out adaptability.
Then register list is written into default 3D dynamic link library list, writing position is as follows:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\symlink\
3DSettings,
And the default 3D dynamic link library that 32 and 64 are respectively written into Dll32Path and Dll64Path is deposited
Store up path.
3. installing the driving Symlink.sys program of white list detection program, which can remember in detecting white list
Record it is application software initiated when, create symbolic link file under path where executing program in the application software, the Symbolic Links
File and above-mentioned register list HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet services
Symlink 3D Settings it is associated, that is, create the symbolic link file for being directed toward default 3D dynamic link library.
Application software in the process of implementation, can execute after traversing the dynamic link library file under itself store path
The symbolic link file, and then according to the digit of application software (32 or 64), it loads associated with symbolic link file
Register list HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet services symlink 3D
3D dynamic link library in the Dll32Path or Dll64Path store paths recorded of Settings.
Operating system is put into according to operating system digit respectively 4. dynamic link file DllRedirect.dll will be redirected
The catalogue of file C: Windows System32 and C: Windows under SysWOW64.In register list HKEY_LOCAL_
MACHINE SOFTWARE Microsoft Windows NT CurrentVersion Windows AppInit_DLLs key
In value addition redirect dynamic link file path, as C: windows system32 DllRedirect.dll.And handle
LeadAppInit values are configured to 1.
It should be noted that the application software relatively simple for dynamic link library file demand, may only need to pass through
One in execution step 3 or step 4 loads the default dynamic link library to realize;And for dynamic link library file demand
The partial dynamic link library file of complex application software, its possible demand needs to add by way of symbolic link file
It carries, partial dynamic link library file needs to load by the way of redirecting using path, alternatively, realizing in execution above-mentioned steps 3
Load the default dynamic link library it is failed when, then execute above-mentioned steps 4 to realize the load default dynamic link library, because
This needs above-mentioned steps 3 and step 4 to realize the load default dynamic link library jointly.
System is restarted with the above-mentioned register list of application with postponing, which can be directed to and be recorded in white name
Application software in list realizes hook function, according to the digit (32 or 64) of application software, by the dynamic chain of application software
Connect library file load path be redirected to register list HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet
Services symlink 3D Settings the Dll32Path or Dll64Path paths recorded, to make the application
Software loads default 3D dynamic link library, to cope with the problem of dynamic link library load path of application software can not be changed.
Referring to figure 3., Fig. 3 is a kind of hardware structural diagram of host 100 provided in this embodiment.The host
100 may include processor 130 and machine readable storage medium 120.Processor 130 and machine readable storage medium 120 can be via
System bus communication.Also, machine readable storage medium 120 is stored with machine-executable instruction, by reading and executing machine
Machine-executable instruction corresponding with virtual machine 300 and 3D rendering Rendering logic in readable storage medium storing program for executing 120, processor 130 can
Above-described 3D rendering rendering method is realized in execution on virtual machine 300.
Machine readable storage medium 120 referred to herein can be any electronics, magnetism, optics or other physical stores
Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium 120 can be with
It is: RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, deposits
Store up driver (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) or similar storage
Medium or their combination.
Referring to figure 4., the present embodiment also provides a kind of 3D rendering rendering device 110, and 3D rendering rendering device 110 includes extremely
A few functional module that can be stored in a software form in machine readable storage medium 120.It functionally divides, 3D rendering wash with watercolours
Contaminating device 110 may include first detection module 111, the second detection module 112 and rendering module 113.
First detection module 111, for detecting the starting situation of application software on the virtual machine 300.
In the present embodiment, the first detection module 111 can be used for executing step S110 shown in Fig. 2, about described
The specific descriptions of one detection module 111 can join the description to the step S110.
Whether the second detection module 112, record for when having detected application software initiated, detecting in the white list
There is the application software.
In the present embodiment, second detection module 112 can be used for executing step S120 shown in Fig. 2, about described
The specific descriptions of two detection modules 112 can join the description to the step S120.
Rendering module 113 controls the application software if record has the application software in the white list for detecting
The dynamic link library file loaded in the default 3D dynamic link library carries out 3D rendering rendering.
In the present embodiment, the rendering module 113 can be used for executing step S130 shown in Fig. 2, about the rendering mould
The specific descriptions of block 113 can join the description to the step S130.
Optionally, in the present embodiment, the rendering module 113, which is used for the record in detecting the white list, has this to answer
When with software, a symbolic link file is created in the case where the application software executes catalogue where program, the symbolic link file refers to
To the default 3D dynamic link library, the application software is made to load the default 3D dynamic chain according to the symbolic link file
Connect the dynamic link library file in library.
Optionally, in the present embodiment, the symbolic link file is hidden file.
Optionally, in the present embodiment, the virtual machine 300 also prestores a redirection dynamic link file;The wash with watercolours
Dye module 113 is used to record in detecting the white list when having the application software, executes the redirection dynamic link text
The dynamic link library file load path of the application software is redirected to the default 3D dynamic link library, answers this by part
The dynamic link library file in the default 3D dynamic link library, which is loaded, with software carries out 3D rendering rendering.
Optionally, in the present embodiment, the virtual machine 300 is also configured with and application software initiated relevant register list
, record has the store path for redirecting dynamic link file in the register list item;The rendering module 113 is being examined
When measuring in the white list record has the application software, executed according to the store path recorded in the register list item described in
Redirect dynamic link file.
In conclusion a kind of 3D rendering rendering method provided by the present application and device, by being pre-configured in virtual machine
For carrying out the default 3D dynamic link library and white list of 3D rendering rendering, recorded in detection white list application software initiated
When, the dynamic link library file that control application software loads in default 3D dynamic link library carries out 3D rendering rendering.In this way, can be with
When not depending on host with true video card, 3D rendering rendering is realized on a virtual machine.
The above, the only various embodiments of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (10)
1. a kind of 3D rendering rendering method, which is characterized in that be applied to virtual machine, be provided in advance in the virtual machine for executing
The default 3D dynamic link library and white list of 3D rendering rendering record in the white list in need using the default 3D dynamic
The application software of chained library progress 3D rendering rendering;The described method includes:
Detect the starting situation of application software on the virtual machine;
When having detected application software initiated, detects and whether recorded the application software in the white list;
If detecting, record has the application software in the white list, controls the application software and loads the default 3D dynamic chain
The dynamic link library file connect in library carries out 3D rendering rendering.
2. the method according to claim 1, wherein if described detect that record has the application in the white list
Software then controls the dynamic link library file that the application software loads in the default 3D dynamic link library and carries out 3D rendering wash with watercolours
Dye, comprising:
If detecting, record has the application software in the white list, creates in the case where the application software executes catalogue where program
One symbolic link file, the symbolic link file are directed toward the default 3D dynamic link library, make the application software according to institute
It states symbolic link file and loads dynamic link library file in the default 3D dynamic link library.
3. according to the method described in claim 2, it is characterized in that, the symbolic link file is hidden file.
4. the method according to claim 1, wherein the virtual machine also prestores a redirection dynamic link text
Part;If described detect that record has the application software in the white list, make the application software load default 3D dynamic
Dynamic link library file in chained library realizes 3D rendering rendering, comprising:
If detecting, record has the application software in the white list, executes the redirection dynamic link file, will be described
The dynamic link library file load path of application software is redirected to the default 3D dynamic link library, loads the application software
Dynamic link library file in the default 3D dynamic link library carries out 3D rendering rendering.
5. according to the method described in claim 4, it is characterized in that, the virtual machine be also configured with to it is application software initiated related
Register list item, record has the store path for redirecting dynamic link file in the register list item;If the inspection
Measure the step of record has the application software, executes the redirection dynamic link file in the white list, comprising:
If detecting, record has the application software in the white list, according to the store path recorded in the register list item
Execute the redirection dynamic link file.
6. a kind of 3D rendering rendering device, which is characterized in that be applied to virtual machine, be provided in advance in the virtual machine for executing
The default 3D dynamic link library and white list of 3D rendering rendering record in the white list in need using the default 3D dynamic
The application software of chained library progress 3D rendering rendering;Described device includes:
First detection module, for detecting the starting situation of application software on the virtual machine;
Whether the second detection module has recorded this and has answered for detecting when having detected application software initiated in the white list
Use software;
Rendering module controls application software load institute if record has the application software in the white list for detecting
The dynamic link library file stated in default 3D dynamic link library carries out 3D rendering rendering.
7. device according to claim 6, which is characterized in that the rendering module is used in detecting the white list
When record has the application software, a symbolic link file, the symbol are created in the case where the application software executes catalogue where program
Threaded file is directed toward the default 3D dynamic link library, loads the application software according to the symbolic link file described pre-
If the dynamic link library file in 3D dynamic link library.
8. device according to claim 7, which is characterized in that the symbolic link file is hidden file.
9. device according to claim 6, which is characterized in that the virtual machine also prestores a redirection dynamic link text
Part;The rendering module is used to record in detecting the white list when having the application software, executes the redirection dynamic
The dynamic link library file load path of the application software is redirected to the default 3D dynamic link library by threaded file,
So that the application software is loaded the dynamic link library file in the default 3D dynamic link library and carries out 3D rendering rendering.
10. device according to claim 9, which is characterized in that the virtual machine is also configured with and application software initiated phase
The register list item of pass, record has the store path for redirecting dynamic link file in the register list item;The wash with watercolours
Dye module is recorded in detecting the white list when having the application software, according to the storage road recorded in the register list item
Diameter executes the redirection dynamic link file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910704576.9A CN110443876A (en) | 2019-07-31 | 2019-07-31 | 3D rendering rendering method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910704576.9A CN110443876A (en) | 2019-07-31 | 2019-07-31 | 3D rendering rendering method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110443876A true CN110443876A (en) | 2019-11-12 |
Family
ID=68432630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910704576.9A Pending CN110443876A (en) | 2019-07-31 | 2019-07-31 | 3D rendering rendering method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110443876A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114708370A (en) * | 2022-03-29 | 2022-07-05 | 北京麟卓信息科技有限公司 | Method for detecting graphics rendering mode of Linux platform |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1143334A2 (en) * | 2000-04-06 | 2001-10-10 | Microsoft Corporation | Theme aware graphical user interface |
CN101965553A (en) * | 2008-01-04 | 2011-02-02 | 密刻爱你有限公司 | Virtual application program system, storing device, method for executing virtual application program and method for protecting virtual environment |
US20120075316A1 (en) * | 2010-09-27 | 2012-03-29 | Samsung Electronics Co., Ltd. | Method and apparatus for compiling and executing an application using virtualization in a heterogeneous system |
CN102725736A (en) * | 2011-12-31 | 2012-10-10 | 华为技术有限公司 | Picture display method and system based on virtualization technology |
WO2013075514A1 (en) * | 2011-11-22 | 2013-05-30 | 华为技术有限公司 | Installation method and installation device for application software |
CN103270492A (en) * | 2010-12-15 | 2013-08-28 | 国际商业机器公司 | Hardware accelerated graphics for network enabled applications |
CN104200162A (en) * | 2014-03-17 | 2014-12-10 | 中华电信股份有限公司 | Computer program product for information security monitoring and defense and method thereof |
US20150116310A1 (en) * | 2013-10-28 | 2015-04-30 | Vmware, Inc. | Method and system to virtualize graphic processing services |
US20160162272A1 (en) * | 2013-08-15 | 2016-06-09 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for loading a rendering engine |
CN105871811A (en) * | 2015-02-09 | 2016-08-17 | 华为技术有限公司 | Method for controlling rights of application and controller |
CN106161396A (en) * | 2015-04-20 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of virtual machine network that realizes accesses the method and device controlled |
CN106293880A (en) * | 2016-08-10 | 2017-01-04 | 北京奇虎科技有限公司 | Windows system is run the method and device of Android application program |
CN106406977A (en) * | 2016-08-26 | 2017-02-15 | 山东乾云启创信息科技股份有限公司 | Virtualization implementation system and method of GPU (Graphics Processing Unit) |
CN108351810A (en) * | 2015-11-11 | 2018-07-31 | 亚马逊科技公司 | Extension for virtualizing graphics processing |
CN108509251A (en) * | 2018-03-19 | 2018-09-07 | 沈阳微可信科技有限公司 | A kind of safety virtualization system suitable for credible performing environment |
CN109448089A (en) * | 2018-10-22 | 2019-03-08 | 美宅科技(北京)有限公司 | A kind of rendering method and device |
CN110046027A (en) * | 2019-04-23 | 2019-07-23 | 山东超越数控电子股份有限公司 | A kind of virtual platform implementation method and virtual platform |
-
2019
- 2019-07-31 CN CN201910704576.9A patent/CN110443876A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1143334A2 (en) * | 2000-04-06 | 2001-10-10 | Microsoft Corporation | Theme aware graphical user interface |
CN101965553A (en) * | 2008-01-04 | 2011-02-02 | 密刻爱你有限公司 | Virtual application program system, storing device, method for executing virtual application program and method for protecting virtual environment |
US20120075316A1 (en) * | 2010-09-27 | 2012-03-29 | Samsung Electronics Co., Ltd. | Method and apparatus for compiling and executing an application using virtualization in a heterogeneous system |
CN103270492A (en) * | 2010-12-15 | 2013-08-28 | 国际商业机器公司 | Hardware accelerated graphics for network enabled applications |
WO2013075514A1 (en) * | 2011-11-22 | 2013-05-30 | 华为技术有限公司 | Installation method and installation device for application software |
CN102725736A (en) * | 2011-12-31 | 2012-10-10 | 华为技术有限公司 | Picture display method and system based on virtualization technology |
US20160162272A1 (en) * | 2013-08-15 | 2016-06-09 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for loading a rendering engine |
US20150116310A1 (en) * | 2013-10-28 | 2015-04-30 | Vmware, Inc. | Method and system to virtualize graphic processing services |
CN104200162A (en) * | 2014-03-17 | 2014-12-10 | 中华电信股份有限公司 | Computer program product for information security monitoring and defense and method thereof |
CN105871811A (en) * | 2015-02-09 | 2016-08-17 | 华为技术有限公司 | Method for controlling rights of application and controller |
CN106161396A (en) * | 2015-04-20 | 2016-11-23 | 阿里巴巴集团控股有限公司 | A kind of virtual machine network that realizes accesses the method and device controlled |
CN108351810A (en) * | 2015-11-11 | 2018-07-31 | 亚马逊科技公司 | Extension for virtualizing graphics processing |
CN106293880A (en) * | 2016-08-10 | 2017-01-04 | 北京奇虎科技有限公司 | Windows system is run the method and device of Android application program |
CN106406977A (en) * | 2016-08-26 | 2017-02-15 | 山东乾云启创信息科技股份有限公司 | Virtualization implementation system and method of GPU (Graphics Processing Unit) |
CN108509251A (en) * | 2018-03-19 | 2018-09-07 | 沈阳微可信科技有限公司 | A kind of safety virtualization system suitable for credible performing environment |
CN109448089A (en) * | 2018-10-22 | 2019-03-08 | 美宅科技(北京)有限公司 | A kind of rendering method and device |
CN110046027A (en) * | 2019-04-23 | 2019-07-23 | 山东超越数控电子股份有限公司 | A kind of virtual platform implementation method and virtual platform |
Non-Patent Citations (3)
Title |
---|
SHU XIAOLING: "Research on rendering of 3D virtual campus of cloud computing", 《2014 IEEE WORKSHOP ON ELECTRONICS, COMPUTER AND APPLICATIONS》 * |
何家俊 等: "Kernel虚拟机的3D图形加速方法", 《计算机工程》 * |
朴钦浩 等: "基于虚拟化云计算的3D图形渲染系统架构与性能研究", 《长春师范大学学报》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114708370A (en) * | 2022-03-29 | 2022-07-05 | 北京麟卓信息科技有限公司 | Method for detecting graphics rendering mode of Linux platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8527679B2 (en) | Apparatus and method for adaptation of input/output interface in virtualization environment | |
CA2796433C (en) | Cross-platform application framework | |
RU2490695C2 (en) | Dividing operating modes for application changes | |
CN104598257B (en) | The method and apparatus of remote application operation | |
US10055184B1 (en) | Systems and methods for providing card-based interfaces for enumerable datasets | |
CN101650660B (en) | Booting a computer system from central storage | |
US20090241110A1 (en) | Virtual environment system and method for operating the same | |
US20130057572A1 (en) | Multiple Display Device Taskbars | |
JP2013505515A (en) | Calculation system using visual clipboard | |
WO2017107415A1 (en) | Application loading method and device | |
CN111381914B (en) | Method and system for realizing 3D (three-dimensional) capability of cloud desktop virtual machine | |
US10423471B2 (en) | Virtualizing integrated calls to provide access to resources in a virtual namespace | |
US20100228889A1 (en) | Information processing apparatus and storage device control method | |
CN109542272A (en) | Touch screen scanning method and device, electronic equipment and computer readable storage medium | |
CN102207876B (en) | Streaming client system base images | |
WO2017045272A1 (en) | Virtual machine migration method and device | |
Lee et al. | A-mash: providing single-app illusion for multi-app use through user-centric UI mashup | |
CN110443876A (en) | 3D rendering rendering method and device | |
WO2015026756A1 (en) | Application implemented context switching | |
US20130031264A1 (en) | Hardware Bus Redirection Switching | |
WO2022068370A1 (en) | Terminal-use minus-2 screen interface display method, apparatus, terminal, and medium | |
CN114026540B (en) | System and method for supporting and negotiating multiple API versions across multiple products | |
CN112905275B (en) | Display method and display device for multiple operating systems | |
US11243751B1 (en) | Proxy compilation for execution in a foreign architecture controlled by execution within a native architecture | |
US10394722B1 (en) | Managing alt-mode interfaces of a USB Type-C device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |
|
RJ01 | Rejection of invention patent application after publication |