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

A method and background server for obtaining the IP address of a host machine based on virtualbox

An IP address and host technology, applied in transmission systems, electrical components, etc., can solve the problem of unable to dynamically obtain the host IP address, restart the host repeatedly, etc.

Active Publication Date: 2022-07-05
GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the deficiencies in the prior art, one of the purposes of the present invention is to provide a method for obtaining the IP address of the host machine based on VirtualBox, which can solve the problem that the IP address of the host machine cannot be obtained dynamically, causing the user to repeatedly restart the host machine question
[0005] One of the purposes of the present invention is to provide two background servers based on VirtualBox to obtain the IP address of the host machine, which can solve the problem that the IP address of the host machine cannot be obtained dynamically, causing the user to repeatedly restart the host machine

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
  • A method and background server for obtaining the IP address of a host machine based on virtualbox

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] like figure 1 As shown, a method for obtaining the IP address of a host machine based on VirtualBox includes the following steps:

[0037] S1: Install the subsystem to the host through VirtualBox;

[0038] In this embodiment, the operating system of the host is Windows 2008, VirtualBox is installed in the host in advance, and then the Debian9 release LINUX subsystem is installed in the VirtualBox, and the network connection of the host is set to NAT mode.

[0039] S2: Set the shared folder as automatic mount and fixed allocation in VirtualBox, and store the shared directory and share name in the host;

[0040] Specifically, set up folder sharing in VirtualBox, set it to automatic mounting and fixed allocation, and store the shared directory and share name in the host machine, assuming that the shared directory is d:\soft\share, and the share name is share.

[0041] S3: Add a BAT script to the host, obtain the IP configuration information of the host through the BAT sc...

Embodiment 2

[0060] A backend server for obtaining the IP address of a host machine based on VirtualBox, including a storage and a processor;

[0061] a memory for storing program instructions;

[0062] The processor is configured to run the program instructions to execute the method for obtaining the IP address of the host computer based on the VirtualBox described in the first embodiment.

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 discloses a method and a background server for obtaining an IP address of a host machine based on VirtualBox. The method includes the following steps: S1: install a subsystem into a host machine through VirtualBox; S2: set a shared folder in the VirtualBox to be automatic Mount and fixed allocation, and store the shared directory and shared name in the host; S3: Add a BAT script to the host, obtain the IP configuration information of the host through the BAT script, and start the subsystem in VirtualBox; S4: Drive the subsystem to analyze the IP configuration information, obtain the IP address of the host, and update the IP configuration information of the subsystem. In the present invention, the IP address of the host is obtained through the BAT script, and then shared to the subsystem for analysis, so that the subsystem obtains the IP address of the host.

Description

technical field [0001] The invention relates to the technical field of data sharing, in particular to a method and a background server for obtaining an IP address of a host machine based on VirtualBox. Background technique [0002] VirtualBox is an open source virtual machine software developed by Innotek in Germany and produced by Sun Microsystems. It is written in Qt and officially changed its name to Oracle VM VirtualBox after Sun Microsystems was acquired by Oracle. At present, based on rich features and friendly performance, VirtualBox claims to be the strongest free virtual machine software. In fact, VirtualBox can virtualize systems including Windows (from Windows 3.1 to Windows 10, Windows Server 2012, all Windows systems support ), Mac OS X, Linux, OpenBSD, Solaris, IBM OS2 and even Android and other operating systems, users can install and run these operating systems on VirtualBox. [0003] Therefore, VirtualBox does bring convenience to the deployment of LINUX in...

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): H04L61/5007H04L67/30
CPCH04L67/30G06F9/45558G06F2009/45583G06F2009/45595G06F8/61
Inventor 姚传军连亨凯明德
Owner GUANGZHOU BAOLUN ELECTRONICS CO LTD