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

Hypervisor-based driver transplantation method and system, medium and equipment

A technology of operating system and operation sequence, applied in the direction of program code adaptation, software maintenance/management, etc., can solve the problems of manpower consumption and achieve the effect of saving manpower

Pending Publication Date: 2022-01-07
EAST CHINA INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the process of localization of the operating system, driver transplantation is very critical and labor-intensive

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
  • Hypervisor-based driver transplantation method and system, medium and equipment
  • Hypervisor-based driver transplantation method and system, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] According to a hypervisor-based driver transplantation method provided by the present invention, it includes: the previous driver transplantation technology is very complicated and time-consuming. Using Hypervisor technology to capture and record the operation sequence, driver transplantation can be realized without changing the reference operating system, saving manpower. If the Hypervisor is not used, it is difficult to directly capture the operation sequence. It is necessary to change the reference operating system to capture the operation sequence, which is very complicated.

[0045] Specifically, the use of the Hypervisor technology to capture the operation sequence is adopted, such as figure 1 Shown:

[0046] Step S1: Define functional scenarios;

[0047] Step S2: run the virtual machine driving the normal working operating system A in the Hypervisor;

[0048] Step S3: According to the defined functional scenario, the driver of the operating system A uses the H...

Embodiment 2

[0064] Embodiment 2 is a preferred example of embodiment 1

[0065] Transplant the Linux driver to reworks, such as figure 2 shown.

[0066] Step 1: Define the operation scenario as sending data to the serial port in Linux and sending external data to Linux;

[0067] Step 2: Run the Linux virtual machine whose driver can work normally in the Hypervisor;

[0068] Step 3: Operate the serial port of Linux to read and write. Read the status register, record the return value of the status register, until a certain bit of the register changes, and its operation also changes, that is, its next instruction is not to read the status register, but to send data A number is written in the register. Use the hypervisor to capture this operation sequence and record it in the format of Table 1;

[0069] Table 1

[0070] timestamp Operation instruction bit width access address offset read and write values

[0071] Step 4: Analyze this ope...

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 invention provides a Hypervisor-based driver transplantation method and system, a medium and equipment. The method comprises the steps: S1, defining a function scene; S2, running a virtual machine for driving the operating system A to work normally in the Hypervisor; S3, according to the defined function scene, enabling the driver of the operating system A to capture an operation sequence of the driver on the register by utilizing Hypervisor; S4, analyzing the obtained operation sequence to obtain an operation scene irrelevant to the operating system A; and S5, according to the defined function production channel, realizing an operation scene irrelevant to the operating system A through an operating system B.

Description

technical field [0001] The invention relates to the technical field of localized operating systems, in particular to a hypervisor-based driver transplantation method and system. Background technique [0002] In the process of localization of the operating system, driver transplantation is very critical and labor-intensive. On the basis of virtualization technology, we propose a hypervisor-based driver migration method, which fills the gap in this direction. Using the Hypervisor to capture the operation sequence, the driver can be transplanted without changing the reference operating system, which improves the efficiency. [0003] Patent document CN111079159B (application number: 201911219500.3) discloses an encrypted communication method and system for a Hypervisor multi-domain architecture, wherein the Hypervisor multi-domain architecture includes a privileged domain and a common domain, and the privileged domain has direct access to the underlying hardware and the file sy...

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
IPC IPC(8): G06F8/76
CPCG06F8/76
Inventor 包晟临江南
Owner EAST CHINA INST OF COMPUTING TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More