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

Method and apparatus for accessing virtual machine

A virtual machine and access request technology, applied in the computer field, can solve the problems of physical machine system risks, remote permissions of those who cannot debug, and abnormal shutdown of virtual machines.

Active Publication Date: 2015-12-23
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This brings about the following problems: 1. The physical machine where the virtual machine is located is often a server, which cannot give remote permissions to the debugger; 2. Multiple people remotely access the physical machine, which is not easy to restrict the user's operation, which will cause damage to the physical machine system. Risk; 3. The virtual machine runs in the background on the physical machine. If you open the virtual machine (such as VMware virtual machine) through a window, because it is a visual window operation, it will increase the system load and cause the virtual machine to shut down abnormally.

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 apparatus for accessing virtual machine
  • Method and apparatus for accessing virtual machine
  • Method and apparatus for accessing virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] Such as figure 1 As shown, an embodiment of the present invention provides a method for accessing a virtual machine, which includes:

[0024] Step 110, receiving an access request sent from the outside to the first port of the physical machine running the virtual machine. In this embodiment, the physical machine is usually a server that can run multiple virtual machines; in this embodiment, there are no restrictions on 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 present invention provides a method and apparatus for accessing a virtual machine. The method comprises: receiving an access request sent from external to a first port of a physical machine running the virtual machine; and according to a preset mapping relationship between a second port of the virtual machine and a first port, forwarding the access request to the first port of the virtual machine to allow the external to access the virtual machine. According to the method and the apparatus, the mapping relationship between the port of the virtual machine and the port of the physical machine is preset. Therefore, when there is remote access to the port of the physical machine, the remote access can be forwarded directly to the port of the virtual machine according to the mapping relationship. Direct access to the virtual machine by the external is implemented without the need for accessing the physical machine first. The physical machine is then performed to access the virtual machine running on the physical machine.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for accessing a virtual machine. Background technique [0002] At work, if a physical computer of a different system is configured for each employee, the cost is very high, so many organizations often use virtual machines running on physical computers as the working environment for employees. [0003] The network setting of the virtual machine usually adopts the NAT (NetworkAddressTranslation, network address translation) method. The virtual machine network card on the physical machine assigns a C-class IP address to each virtual machine, which does not occupy the real IP inside the organization. The virtual machine can serve through NAT. Connect to other machines within the organization, other machines cannot access the virtual machine, one-way connection. [0004] In the current common software development and testing environment, multiple virtual...

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 Applications(China)
IPC IPC(8): G06F9/455H04L29/08
Inventor 李珂张杰
Owner BEIJING QIHOO 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