Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for invoking customized hardware by virtual machine

A virtual machine and hardware technology, applied in the field of communication, can solve problems such as delay, inability to directly access data, occupying mobile terminal hardware processing resources, etc., to achieve the effect of improving speed and reducing occupation

Active Publication Date: 2021-12-31
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Since the virtualization software of the virtual machine cannot directly access the data generated by the customized hardware, but accesses the data generated by the customized hardware by copying the data in the back-end graphics cache to the front-end graphics cache, the virtualization software of the virtual machine There will be a certain delay in accessing the data generated by customized hardware; moreover, the above copying method will occupy a large amount of hardware processing resources of the mobile terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for invoking customized hardware by virtual machine
  • Method and device for invoking customized hardware by virtual machine
  • Method and device for invoking customized hardware by virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to introduce the embodiment of the present application more clearly, it is necessary to first introduce the application scenarios involved in the embodiment of the present application.

[0040] See figure 1 as shown, figure 1 What is shown is a schematic diagram of the framework of the mobile terminal provided by the embodiment of the present application. exist figure 1 In the illustrated embodiment, the mobile terminal 100 is installed with a virtual machine 101, and the mobile terminal 100 is provided with a camera 104. Assuming that the camera 104 is customized hardware, the virtual machine 101 cannot directly access the image data generated by the camera 104. Wherein, virtual machine 101 is installed with virtual camera software 102 .

[0041] exist figure 1 In the illustrated embodiment, first, when the user uses the virtual camera software 102 in the virtual machine 101, if the user inputs a camera command to the virtual camera software 102, then the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application relates to a method and device for a virtual machine to invoke customized hardware. The method includes: obtaining a trigger instruction generated by the virtualization software of the virtual machine and a creation instruction for applying for a cache of the target capacity; Applying for a front-end cache of the target capacity; applying for a back-end cache of the target capacity in the mobile terminal according to the creation instruction; determining that the address of the front-end cache is the address of the back-end cache; calling the customized hardware to execute the trigger instruction to generate the target data; Store the target data in the backend cache. The solution provided by the embodiment of the present application can enable the virtual machine virtualization software to access the target data in the back-end cache through the address of the front-end cache, and the virtualization software of the virtual machine can directly access the data generated by the customized hardware, thereby improving the virtual machine's performance. The virtual software accesses the data speed of the customized hardware, and reduces the occupation of hardware processing resources of the mobile terminal.

Description

technical field [0001] The embodiments of the present application relate to the technical field of communication, and more specifically, to a method and an apparatus for invoking customized hardware by a virtual machine. Background technique [0002] Currently, the Android system is a popular operating system for mobile terminals, and the Android system can run on devices such as smart phones or tablet computers. The Android system includes the underlying Linux kernel and the upper-level system software package. In order to protect their own interests, many hardware manufacturers use self-made system software packages to support customized hardware that is not open source. Customized hardware includes hardware such as display screens, image processors, cameras, and video codecs. Since the information of the customized hardware is in a confidential state, the virtual machine running under the Android system cannot obtain the information of the customized hardware, so that th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45541G06F9/45558
Inventor 陶宇虹
Owner HUAWEI TECH CO LTD