Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Exception handling method, apparatus and system in virtual operating environment

An exception handling and operating environment technology, applied in program control devices, electrical digital data processing, software simulation/interpretation/simulation, etc., can solve the problems of poor GuestOS robustness, and achieve the effect of enhancing robustness and improving security

Active Publication Date: 2017-12-08
KYLAND TECH CO LTD +1
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides an exception handling method, device and system in a virtualized operating environment to solve the problem of poor robustness of the Guest OS running in a virtualized environment in the prior art

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
  • Exception handling method, apparatus and system in virtual operating environment
  • Exception handling method, apparatus and system in virtual operating environment
  • Exception handling method, apparatus and system in virtual operating environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Such as figure 1 As shown, the flow chart of the exception handling method in the virtualized running environment provided by the embodiment of the present application includes the following steps:

[0059] S101: Monitor anomalies generated by the guest operating system Guest OS running on the virtual machine.

[0060] Among them, the exceptions generated by the Guest OS include exceptions caused by software design errors in the Guest OS, and also include exceptions caused by operations such as tampering of kernel codes in the virtual machine running the Guest OS by illegal programs.

[0061] S102: If it is determined according to the obtained exception context information that the exception is caused by the guest OS's operation beyond the limit of the kernel code with limited operation authority in the virtual machine, reject the guest OS's operation of the kernel code beyond the limit.

[0062] Optionally, after the exception is detected, the context information of t...

Embodiment 2

[0073] Such as figure 2 As shown, it is a schematic diagram of the exception handling system 200 under the virtualized operating environment provided by the embodiment of the present application, including: hardware, a virtual machine manager 201, at least one first virtual machine 202, and a system for processing the at least one first virtual machine A second virtual machine 203 for security protection of a virtual machine, wherein:

[0074] The virtual machine manager 201 is configured to, for each first virtual machine 202, monitor the exception generated by the guest operating system Guest OS running on the first virtual machine, obtain the abnormal context information, and then send the abnormal context information to the second virtual machine;

[0075] The second virtual machine 203 is used to receive the abnormal context information sent by the virtual machine manager; if according to the abnormal context information, it is determined that the exception is caused by...

Embodiment 3

[0081] Such as image 3 As shown, it is a schematic diagram of the exception handling system 300 under the virtualized operating environment provided by the embodiment of the present application, wherein the VMM virtualizes the underlying hardware to form multiple VMs, and the VMM includes a core health management module and inter-domain communication management Module, the core health management module is responsible for collecting abnormal context information at the first time and has the ability to handle specific exceptions (abnormalities generated by the health management subsystem). The inter-domain communication management module is responsible for communication between multiple VMs; multiple VMs One of them is a health monitoring virtual machine, and the other is a guest system virtual machine. The health monitoring virtual machine runs a health management subsystem, the guest system virtual machine runs a Guest OS, and the Guest OS includes an exception handling module...

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 present application relates to the technical field of industrial Internet operating systems, and particularly, to an exception handling method, apparatus and system in a virtual operating environment, which are used for solving the problem that Guest OS that is operated in a virtual environment has poor robustness. The exception handling method in a virtual operating environment provided in the embodiment of the present invention comprises: monitoring an exception that is generated by Guest OS operated on a virtual machine; and if it is determined according to acquired context information of the exception that the exception is generated due to an out-of-limit operation performed by Guest OS on a kernel code whose operation permission is limited in the virtual machine, rejecting the out-of-limit operation performed on the kernel code by Guest OS, wherein, for a key kernel code in the virtual machine, the operation permission of Guest OS for the kernel code can be extended, that is, one more layer of security is added to the kernel code in the virtual machine, and protection for the kernel code can effectively improve security of the operating environment of the virtual machine, which thus can enhance robustness of Guest OS operated in the virtual machine.

Description

technical field [0001] The present application relates to the technical field of industrial Internet operating systems, and in particular to an exception handling method, device and system in a virtualized operating environment. Background technique [0002] Virtualization technology abstracts the hardware resources of a physical machine, such as servers and memory, for users to use. Its core is to first build a virtual machine manager (Virtual Machine Monitor, VMM) on the physical machine, and then create multiple A virtual machine (Virtual Machine, VM), so that originally only one guest operating system (Guest Operating System, Guest OS) can be run on a physical machine. After virtualization, it can run in parallel in multiple VMs, so it can maximize the utilization of The hardware resources of the physical machine. [0003] In the prior art, the VMM monitors the running process of the Guest OS, and delivers the detected exceptions generated during the running of the Gues...

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): G06F9/455
CPCG06F9/45533G06F9/45558G06F2009/45587G06F2009/45591
Inventor 邱学强张朝鹏
Owner KYLAND TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products